Skip to Content
avatar image
Former Member

problem on updating item data reason for rejection on BAPI_SALESORDER_CHANGE

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 30, 2015 at 11:18 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • 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

  • avatar image
    Former Member
    Oct 30, 2015 at 11:46 AM

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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 04, 2015 at 02:52 AM

    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

    Add comment
    10|10000 characters needed characters exceeded