2008 Jul 10 6:59 AM
Hi,
Let me know why this issue is coming.
I'M doing a bdc using call transaction and want to catch the error messages and throw back as alvoutput.
my code is
PERFORM bdc_dynpro using 'X' 'SAPMV50A' '0101' '' ''.
PERFORM bdc_dynpro using 'X' 'SAPMV50A' '4004' '' ''.
PERFORM bdc_dynpro using '' '' '' 'LIKP-VBELN' wa_likp-vbeln.
PERFORM bdc_dynpro using '' '' '' 'BDC_OKCODE' 'WABU_T'.
CALL TRANSACTION 'VL02N'
USING itab_bdcdata
MODE lv_tmpmode
UPDATE 'S'
MESSAGES INTO itab_messages.
IF sy-subrc NE 0.
PERFORM messages.
ENDIF.
what the message that i'm getting in itab_messages is "
Start screen does not exist in batch input data".
please let me know why this error is coming.
--sudha
2008 Jul 10 9:09 AM
Hi,
no need to call the screen num 101.
4004 is the first screen number of the transaction code vl02n.
regards.
sriram.
2008 Jul 10 8:07 AM
Hi,
what is the need of calling screen '0101'. For vl02n the main screen is '4004'.
remove the below perform from the code and check it.
PERFORM bdc_dynpro using 'X' 'SAPMV50A' '0101' '' ''.
even if you get the error, run it in foreground then you will better understand the error.
2008 Jul 10 9:03 AM
Hi Sudha,
You have called a dummy screen first, the first screen in the VL02N transaction is 4004. Remove the first perform and check, then you will not have a problem.
Thanks,
Mahesh.
2008 Jul 10 9:09 AM
Hi,
no need to call the screen num 101.
4004 is the first screen number of the transaction code vl02n.
regards.
sriram.