Basic form 4
Additions: See Incorrect transaction call. Effect Please consult Data Area and Modularization Unit Organization documentation as well. Example Effect Effect Effect Effect Effect Effect Example Notes Runtime errors: Related
1. ... AND SKIP FIRST SCREEN
2. ... USING itab
2a. ... OPTIONS FROM opt
2b. ... MODE mode
2c. ... UPDATE f
2d. ... MESSAGES INTO itab
CALL TRANSACTION 'SP01'.
If the transaction sends a message, it is placed in the fields SY-MSGID
, SY-MSGTY, SY-MSGNO, SY-MSGV1, ...,
SY-MSGV4.
1.
2. Next screen = 0
3.
CATT mode can have the following values:
' ' No CATT active
'N' CATT without single-screen control
'A' CATT with single-screen control
The components DEFSIZE , RACOMMIT, NOBINPT, and
NOBIEND always take the following values:
'X' Yes
' ' No
DISMODE
UPDMODE
CATTMODE
DEFSIZE
RACOMMIT
NOBINPT
NOBIEND
'A' Display the screens
'E' Only display if an error occurs
'N' Do not display
If you do not specify the MODE addition, the display mode is
'A'.
If you called a transaction in display mode E and a screen appears
because there is no more BDC data, the system automatically switches
to display mode A.
'A' (asynchronous update)
'S' (synchronous update)
'L' (local update)
If you do not specify the UPDATE addition, the default update mode
'A' is used.
DATA: BDCDATA TYPE TABLE OF BDCDATA.
DATA: ITAB TYPE TABLE OF BDCMSGCOLL.
DATA: PROGRAM LIKE SY-REPID,
WA_BDCDATA TYPE BDCDATA.
WA_BDCDATA-PROGRAM = 'SAPMS38M'.
WA_BDCDATA-DYNPRO = '0100'.
WA_BDCDATA-DYNBEGIN = 'X'.
APPEND WA_BDCDATA TO BDCDATA.
CLEAR WA_BDCDATA.
WA_BDCDATA-FNAM = 'RS38M-PROGRAMM'.
WA_BDCDATA-FVAL = PROGRAM.
APPEND WA_BDCDATA TO BDCDATA.
...
CALL TRANSACTION 'SE38' USING BDCDATA MODE 'N'
MESSAGES INTO ITAB.