‎2009 Mar 17 4:29 AM
Hello,
Is there any way to get list of all possible error messages in BAPI for BAPI_PO_CREATE1 and BAPI_SAG_CREATE?
I need to prepare check list of all possible error messages BAPI can return while creating PO and Schedulling agreement using BAPI.
Thanks in advance.
Madhura
‎2009 Mar 17 4:32 AM
‎2009 Mar 17 4:34 AM
Try checking the message class used inside BAPI_PO_Create and all the messages in ME21n .
Then you will need to go to this message class and find out al the messages.
But this can go for a long list from 'error for valid vendor numbers, materials , and all the fields etc
Mathews
‎2009 Mar 17 5:24 AM
Hi,
Use table BAPIRET2 to get the error messages, when you are using BAPI as RFC you will not get return parameters. You have to call it in synchronous task and wait till the BAPI returns and catch the errors.
Thanks,
Asit Purbey.
‎2009 Mar 19 4:28 PM
Thanks, I found out the solution by looking into message class for BAPI.