Skip to Content
0
Former Member
Feb 21, 2013 at 07:54 AM

Call transction su01

175 Views

hi:

i want to call transction su01 and skip the first screen from my prog.

code:

AT LINE-SELECTION .

CLEAR bdcdata_wa.

bdcdata_wa-program = sy-cprog.

bdcdata_wa-dynpro = '1000'.

bdcdata_wa-dynbegin = 'X'.

bdcdata_wa-fnam = 'BNAME'.

bdcdata_wa-fval = lv_bname.

APPEND bdcdata_wa TO bdcdata_tab.

opt-DISMODE = 'A'.

opt-DEFSIZE ='X'.


SET PARAMETER ID 'XUS' FIELD lv_bname .


CALL TRANSACTION 'SU01' USING bdcdata_tab

OPTIONS FROM opt

tanx.

.