cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_SALESORDER_CHANGE side affect of storage location deleting.

0 Kudos

Hi,

We are updating gross weight, net weight and Business transaction type for the sales orders by using BAPI_SALESORDER_CHANGE via program.

No doubt program it is working fine and code is correct in place.

We noticed that it is changing storage location form lets say '0002' to SPACE [empty] for the orders what we uploading from excel file.

When we update above said fields directly via VA02, storage location does not deleting, but BAPI causing the issue, deleting the storage location.

Please advise any causes for this?

Thanks,

Sreedhara

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member200027
Active Participant
0 Kudos

Hi Sreedhara,


I have simulated the same scenario in my system by executing BAPI_SALESORDER_CHANGE directly in SE37,

and storage location was not deleted. So, I assume that there is no error in standard coding of this BAPI.


You may also test the BAPI directly in SE37 to check whether the issue happens or not.

If it also happens, you may report an incident to SAP for further analysis.

If the issue does not happen, then it means that the deletion of storage location happened in your own program.

You need to review your program with your developers.


Best regards,

Crystal Lin


0 Kudos

Hi Lin,

Thanks for the reply, Checked with code and it is fine.

Yet to find the root cause of the issue.

thanks,

Sreedhara.