Skip to Content
0
Former Member
Oct 16, 2006 at 01:05 PM

not able to populate for call transaction

67 Views

could anyone help me in populating

the ebeln value in me38 transaction

please helpme

i coded like this:

DATA:gs_selfield TYPE slis_selfield,

ok_code LIKE sy-pfkey.

CASE r_ucomm.

WHEN '&IC1'.

gs_selfield = rs_selfield.

IF gs_selfield-fieldname = 'EBELN'.

MOVE 'EVRTN' TO rs_selfield-fieldname.

SET PARAMETER ID 'VRT' FIELD rs_selfield-value.

CALL TRANSACTION 'ME38' AND SKIP FIRST SCREEN.

ELSE.

IF gs_selfield-fieldname = 'MATNR'.

SET PARAMETER ID 'MAT' FIELD rs_selfield-value.

CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.

ENDIF.

ENDIF.

ENDCASE.