Skip to Content
0
Feb 26, 2009 at 03:26 PM

Call Transaction - issue skipping first screen

800 Views

I have tried two ways to do a call transaction while skipping the first screen. They are as follows:

wa_bdcdata-program = 'SAPLCV100'.
wa_bdcdata-dynpro = '0400'.
wa_bdcdata-dynbegin = 'X'.
APPEND wa_bdcdata TO it_bdcdata.

CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'BDC_OKCODE'.
wa_bdcdata-fval = '=VRES'.       "Clears selection screen.
APPEND wa_bdcdata TO it_bdcdata.

CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'STDOKAR-LOW'.
wa_bdcdata-fval = 'XMT'.
APPEND wa_bdcdata TO it_bdcdata.

CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'BDC_OKCODE'.
wa_bdcdata-fval = '=SEL'.
APPEND wa_bdcdata TO it_bdcdata.

opt-dismode = 'E'.
*opt-defsize = 'X'.

CALL TRANSACTION 'CV04N' USING it_bdcdata OPTIONS FROM opt

SET PARAMETER ID 'CV2' FIELD 'XMT'.
CALL TRANSACTION 'CV04N' and SKIP FIRST SCREEN.

What happens is it sits on the first screen. The first attemp won't even allow me to execute the transaction; it just sits on the screen. The second try will allow you to execute the transaction but it won't skip the screen. It just sits on the selection screen until you hit F8.

Any ideas?

Davis