Skip to Content
0
Jan 08, 2008 at 07:00 AM

calling SE38 using BDC

64 Views

Hi,

I have used the following below code to call a transaction

but its not working can you please help me out and tell me

where am i doing wrong? I am trying to call transaction se38

with reportname as ZTEST and press DISPLAY button.

I was able to call se38.but the report ZTEST is not opening in DISPLAY mode.

CLEAR gt_bdcdata.

REFRESH gt_bdcdata.

gt_bdcdata-program = 'SAPMS38M'.

gt_bdcdata-dynpro = '0100' .

gt_bdcdata-dynbegin = 'X'.

APPEND gt_bdcdata.

CLEAR gt_bdcdata.

gt_bdcdata-fnam = 'RS38M-PROGRAMM'.

gt_bdcdata-fval = 'ZTEST'.

APPEND gt_bdcdata.

CLEAR gt_bdcdata.

gt_bdcdata-fnam = 'BDC_OKCODE'.

gt_bdcdata-fval = '=SHOP'.

APPEND gt_bdcdata.

CALL TRANSACTION 'SE38' USING gt_bdcdata

MODE 'E' MESSAGES INTO gt_messtab .

Thanks & Regards,

Santosh.