cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI return message

former_member1326872
Participant
0 Kudos

Hi,

I am trying to use 'BAPI_INQUIRY_CREATEFROMDATA2' to create Inquiries. It is creating successfully. But if there any pricing errors like 'Pricing error: Mandatory condition SRP5 is missing', it is not giving this return message but instead giving generic return message saying 'The sales document is not yet complete: Edit data'.

If we use BDC to create the Inquiry, if the same problem happens, it does gives the specific return message ('Pricing error: Mandatory condition SRP5 is missing').

Is there a way to get this specific return message from the BAPI as well?

Thanks..

Swetha.

Accepted Solutions (0)

Answers (1)

Answers (1)

mandar_shete
Active Participant
0 Kudos

Hi Swetha ,

BAPI is a kind of direct table update and BDC is creation of data thro' screen validation. So SAP take cares of all the validation when you run the BDC, but in case of BAPI, you will always get these kinds of message which are hard to interpreter. Also there is no way to manipulate these messages.

Thanks,

Mandar