Doing a call transaction without using the set parameter id (BDC way)

Hi, one of the t-codes I will call transaction does not have a parameter id on the screen, we have to definitely call it somehow.

Screen this is the area they want to fill is the area in the red box, T-Code F-32

You can handle this process with a small BDC Code,

DATA: bdcdata LIKE bdcdata OCCURS 0 WITH HEADER LINE.

CLEAR bdcdata.
bdcdata-program  = 'SAPMF05A'.
bdcdata-dynpro   = '0131'.
bdcdata-dynbegin = 'X'.
APPEND bdcdata.

CLEAR bdcdata.
bdcdata-fnam = 'RF05A-AGKON'.
bdcdata-fval = '500072'.
APPEND bdcdata.

CLEAR bdcdata.
bdcdata-fnam = 'BDC_OKCODE'.
bdcdata-fval = '/00'.
APPEND bdcdata.

CALL TRANSACTION 'F-32' USING bdcdata MODE 'E'.

One Reply to “Doing a call transaction without using the set parameter id (BDC way)”

Leave a Reply

Your email address will not be published. Required fields are marked *