cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_ SALESORDER_CHANGE in MY SAP ERP 2005- Issues

Former Member
0 Kudos

Hi Gurus,

We are trying to change a Sales order using the BAPI : BAPI_ SALESORDER_CHANGE in a Zprogram .

The program works fine in SAP 4.5B version. But in MY SAP ERP 2005,<b> we get error with the BAPI.</b>

<u>Scenario :</u> The BAPI is working when the Purchase Order number is not maintained in the Sales Order.

It throws the Error "purchase order number in document number already exist" when the Purchase order number is there in the Sales Oder.

We executed the BAPI from SE37 by passing the parameters in the program and we got the same error mentioned above. Could you please guide .

Thanks in Advance,

S.Roseline

Accepted Solutions (1)

Accepted Solutions (1)

nandakumar_v2
Explorer
0 Kudos

Hi Roseline - check the SO type config and verify the Check Purchase Oder no field - make it no check and do te transacti again usng the BAPI

- also verify of any user exits ahve been used to block

regards

nandu

Former Member
0 Kudos

Hi Nandu,

Thanks.. I would verify this and reply back immediately ..

-- Thanks & Regards,

Roseline .

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi RoseLine,

Please give the some other Purchase Order Number and Execute the BAPI.Because

what ever the Purchase order number and you are trying to give is already exist in the

system for which you are getting the error.

Hope your are giving the inputs to the system through the XML File.

Hope this clarifies your doubt and Please Reward If Really Helpful,

Thanks and Regards,

Sateesh.Kandula

Former Member
0 Kudos

Hi RoseLine,

Please give the some other Purchase Order Number,Because what ever the Purchase order

number and Execute the BAPI. you are trying to give is already exist in the system for

which you are getting the error.

Hope this clarifies your doubt and Please Reward If Really Helpful,

Thanks and Regards,

Sateesh.Kandula

Former Member
0 Kudos

Hi ,

Thanks for the Reply,

But had tried all this initially itself.. The issues is that , if the PO Field is blank then it works, otherwise it does not.

- Regards, Roseline .