Code: Alles auswählen.
DATA: lt_bdctab TYPE TABLE OF bdcdata.
APPEND VALUE #( program = 'SAPLSPO4' dynpro = '0300' dynbegin = 'X' ) TO lt_bdctab.
APPEND VALUE #( fnam = 'BDC_CURSOR' fval = 'SVALD-VALUE' ) TO lt_bdctab.
APPEND VALUE #( fnam = 'SVALD-VALUE' fval = '2102' ) TO lt_bdctab.
CALL TRANSACTION 'KGI2' USING lt_bdctab.