Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get correct error message using FM BAPI_CUSTOMERQUOTATION_CHANGE

ashutosh_mishra4
Participant
0 Kudos
3,259

Hi Techie,

When i am changing the partner of Quote using VA22 getting the error message 'There is an order block for customer &1 (&2)' message ID -VPD,number 020.

And when trying to update partner using BAPI 'BAPI_CUSTOMERQUOTATION_CHANGE'. Then getting error message 'Function module SD_PARTNER_SINGLE_MODIFY with return code 3 completed', message ID 'VN',122.

Any suggestion how i can get the same error message that getting in VA22,i.e.'There is an order block for customer &1 (&2)' message ID -VPD,number 020.

Thank you in Advance!

Ashutosh K

2 REPLIES 2

caledoni1
Discoverer
0 Kudos
844

ashutosh.mishra4

I have same problem. Did you fix it?

ashutosh_mishra4
Participant
0 Kudos
844

Hi

Sorry for very late response. Actually we are calling the BAPI from Odata service so in return table we just changed the message text with meaning full text based on message id/number so that business user can understand it is a issue related to partner.

But i did not solve this issue from root. if you have please let me know.

Thank you

Ashutosh K