Skip to Content
avatar image
Former Member


Hi All,

My requirement is presently our sap system is creating an inbound idoc using the FM IDOC_INPUT_DESADV1. The inbound idoc is created based on the data which is send from an external WMS (ware house management) system.

while creating the inbound idoc i need to control the quantity for a specific order type.

How to change the quantity before the idoc is created in SAP. Also please suggest any enhancement available for this

Add comment
10|10000 characters needed characters exceeded

  • Information about the IDoc user exits can be easily found in Google, kindly use it before posting on SCN.

    But why do you need to change the quantity? It seems like a very odd requirement...

  • Get RSS Feed

1 Answer

  • May 22, 2017 at 12:39 PM

    Dear Senthil,

    There are few customer functions available in FM: IDOC_INPUT_DESADV1. For example, check this.


    Just read the idoc data and modify the quantity of the line items based on order type. You should get order type field, Quantity fields from the idoc segments. This will help you to create the idoc with modified data.

    Add comment
    10|10000 characters needed characters exceeded