‎2007 Jul 13 2:49 PM
hello guys,
I am uploading the data for AR open items. I am using the BAPI to upload the data.
If I get any errors after the data posting is completed.... How to handle those erros...
Can anyone guide me please..
SRI
‎2007 Jul 13 2:53 PM
Hi
First see and analyse the error.
for what reason that error has occured, then only we can analyse and correct it
without knowing the proper error it is not easy to say the correction..
<b>Reward points for useful Answers</b>
Regards
Anji
‎2007 Jul 13 2:53 PM
Hi
First see and analyse the error.
for what reason that error has occured, then only we can analyse and correct it
without knowing the proper error it is not easy to say the correction..
<b>Reward points for useful Answers</b>
Regards
Anji
‎2007 Jul 13 2:55 PM
All errors will be returned from the BAPI via the RETURN parameter. This parameter is a internal table with a structure which includes message type, number, id, and the message variables, so you will get all messages back. You can analyze them thru your coding looking for message type E, or a specific success message, then you can report to the user according.
Regards,
Rich Heilman
‎2007 Jul 13 2:56 PM
HI Sri,
If you are using the BAPI in your program, you can check the RETURN table of that BAPI for any errors. If the return table is not empty, then you can move that record to an internal table. At the end of the load, you will have all the error records in an internal table which can be later downloaded.
The bapi return table will also let you know, what the problem was. This way, you can correct the file and reload it again.
Regards,
Ravi