2005 Dec 20 7:40 PM
Hi all,
when i use call transaction sy-subrc = 1,001 when i use mode 'N' otherwise sy-subrc = 0.
call transaction 'PA30' USING ITAB MODE 'N'
UPDATE 'S'
MESSAGES INTO MESSTAB.
Error message is
' No batch input data for screen SAPMSSY3 0131'
the data is not updated.can any one say how to overcome this prb.
Please let me know which is the best way to handle Error in BDC.
Thanks
Senthil Bala
2005 Dec 20 7:56 PM
Hi all,
Thanks to all for their answers. I found the answer. When keep break point in call transaction statement sy-subrc = 1,001. but if u run through completely its working fine and sy-subrc = 0 ,
Thanks
Senthil Bala
2005 Dec 20 7:42 PM
check the screen <b>0131</b>, any data passed to that or not.
use all screen mode and try ...
vijay
2005 Dec 20 7:42 PM
2005 Dec 20 7:44 PM
This problem means that transaction is throwing a screen which you BDC is <b>NOT</b> expecting. Follow your steps carefully to find out which part of the transaction is not being handled by BDC.
In debugging you can also assign sy-batch = 'X' and sy-binpt = 'X' to mimic what goes on with MODE 'N'.
2005 Dec 20 7:44 PM
Data will not be updated(I mean not populated) in PA30 transactions you got a error. The error is coming because you are not populating the screen 0131 in program SAPMSSY3.
Do the recording again for the transaction and write the missing part of the BDC population.
2005 Dec 20 7:45 PM
Generally in debugging mode we get the sy-subrc as 1001. Please check whether any fields in the screen are not given value which may be mandatory
2005 Dec 20 7:45 PM
i think there is no data passed to the screen .
try to use all screen mode or error screen mode
and check it
vijay
2005 Dec 20 7:45 PM
Hi Senthil,
Your screen flow does not contain the screen SAPMSSY3 0131.
Run the call transaction in A or E mode to see the flow.
2005 Dec 20 7:48 PM
Its working whrn i provide mode 'E' or 'A'. and not workin for 'E'.
2005 Dec 20 7:56 PM
Hi all,
Thanks to all for their answers. I found the answer. When keep break point in call transaction statement sy-subrc = 1,001. but if u run through completely its working fine and sy-subrc = 0 ,
Thanks
Senthil Bala
2005 Dec 20 8:04 PM
2005 Dec 20 8:08 PM
Hi Snethil,
Actually Srinivasa Bhagavatam did mention about the 1001 return code in debug mode.. Doesn't he deserve points for that?
Regards,
Suresh Datti
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |