Skip to Content
avatar image
Former Member

Change quantity on Sales order with IDOC ORDCHG


I have been trying to get a sales order change through using the above idoc. The idoc is passed into SAP and processes correctly according to WE05, but when I check the sales order the quantity has not changed.

I ran it through WE19 and the quantity is not updated, So far I have the following fields set

E!EDK01 action 004 BSART to the order type (though why I can't imagine) and BELNR to the order number

E1EDK02 QUALF 002 (though I would have thought 018 but the idoc fails), BELNR and POSNR

E1EDP02 POSEX, ACTION 002 MENGE to new quantity and MATNR_LONG to material number (>18 chars)

E1EDP19 QUALF 002 KTEXT material description IDTNR_LONG to material number - Though why I need this I will never know but it doesn't seem to process the IDoc without it.

Any help would be appreciated, I've looked at the other threads and nothing seems to work. I don't know if I'm missing the point here and that the quantity is in the wrong place for change bit It surely cannot be that hard to change the quantity on a sales order.....

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 25, 2017 at 06:18 PM

    There are several questions on this on SCN but none is answered. I can only guess the OPs somehow managed to get this to work but forgot to share the solution. Most post point to the qualifier (which seems correct here) and POSEX value.

    We don't use this IDoc, so I can't really help. But there could be something custom in your system (need for KTEXT definitely looks suspicious) that is affecting this change. According to this post, your data seems OK.

    Add comment
    10|10000 characters needed characters exceeded