Skip to Content
-2

IDOC_INPUT_DESADV1

May 22, 2017 at 11:56 AM

129

avatar image

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

10 |10000 characters needed characters left 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...

0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Shanthi Kumar Juluru May 22, 2017 at 12:39 PM
0

Dear Senthil,

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

CALL CUSTOMER-FUNCTION '021'

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.

Share
10 |10000 characters needed characters left characters exceeded