Code: Alles auswählen.
clear: bdcdata.
refresh: bdcdata.
wa_bdcdata-program = '/SAPDMC/SAPMLSMW'.
wa_bdcdata-dynpro = '0100'.
wa_bdcdata-dynbegin = 'X'.
append wa_bdcdata to bdcdata.
clear wa_bdcdata.
wa_bdcdata-fnam = '/SAPDMC/LSSCREEN-PROJECT'.
wa_bdcdata-fval = 'ZA'.
append wa_bdcdata to bdcdata.
clear wa_bdcdata.
wa_bdcdata-fnam = '/SAPDMC/LSSCREEN-SUBPROJ'.
wa_bdcdata-fval = 'Migration'.
append wa_bdcdata to bdcdata.
clear wa_bdcdata.
wa_bdcdata-fnam = '/SAPDMC/LSSCREEN-OBJECT'.
wa_bdcdata-fval = 'FIRMA'.
append wa_bdcdata to bdcdata.
clear wa_bdcdata.
call transaction 'LSMW' using bdcdata mode 'A'.