cancel
Showing results for 
Search instead for 
Did you mean: 

problem on updating item data reason for rejection on BAPI_SALESORDER_CHANGE

Former Member
0 Kudos

Hi Experts,

I am trying to create a report to update sales order item data reason for rejection  by using BAPI_SALESORDER_CHANGE  but i am testing this BAPI in se37 

i am passing  : Sales document no : XXXXXXX

                       Order_Header_inx  : U

                       Order_item_in       : item no : 010 ,

                                                      reason for rejection : 02

                        Order_item_inX       : item no : 010 ,

                                                       update  : U

                                                     reason for rejection : X

i got some Erroer   Messages :

S       V4                   233 ORDER_HEADER_IN has been processed successfully

E       V1                   366 Storage location 0004 in plant 0920 is not defined

E      V4                   248 Error in ITEM_IN 000010

W     V1                   555 The sales document is not yet complete: Edit data

E      V4                   219 Sales document 0060003706 was not changed

Request your suggestions to avoid this error.

Thanks

Santhi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Santhi,

You will have to resolve two errors & BAPI should work as per your expectations.

Storage location 0004 in plant 0920 is not defined  : Must be because of missing configuration.

The sales document is not yet complete: Edit data :  You will have to make sure that sales order is in complete status.


Thanks & Regards,

Tejas Asodekar

sbl
Active Contributor
0 Kudos

Hi

I agree with Rick this is not a workflow issue.

Your issue is a config issue as Tajs says Storage location is not defined for this plant.

However I think that the document is not complete because of this error (but I am not sure)

Please close this discussion open it either in an SD forum or ABAP (SD can help you resolve the functional issue)

Cheers

Stephane

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi All ,

Thank you  for your Replies , It helped alot ,It is functional Issue They Didnt maintain the storage location and plant  now it is working .

Thanks& Regards

Santhi

former_member185167
Active Contributor
0 Kudos

Is this a Workflow question? Because this is the Workflow forum!