cancel
Showing results for 
Search instead for 
Did you mean: 

creating sales orders from Inbound idoc

Former Member
0 Kudos

Hi,

We will manually create consignment fill up sales order.

Customer will then send an idoc for the qty consumed by him. The inbound idoc should create a consignment issue sales order and then the delivery and invoice should automatically happen.

1) what all information should we get in idoc from customer. we are planning to use ORDERS idoc with FM idoc_input_orders to create the sales order. if we should use a Z FM, why would we use a Z FM. also is it possible to use BDC in the idoc FM ?

2) the consignment issue order type is ZCON. how will the idoc create a sales order with ZCON order type. do we need to get a order type segment in idoc.

3) We need idoc to create ZCON with ref to consigment fill up order type ZFUN . how to achieve this ?

4) we are planning to use a "immediate delivery " option in sales document type to create a delivery on saving zcon order. Is this correct ?

5) I would like to know how to automate the creation of PGI and billing as soon as delivery is created ?

regards

Pamela

Accepted Solutions (0)

Answers (1)

Answers (1)

mathieu_chenot
Explorer
0 Kudos

Hello Pamela

1 - you don't need to use a Z FM to integrate your IDOC. The function module idoc_input_orders uses alerady a batch input. In case you need to use extra fields not in the standard IDOC you can use user exits in this FM.

2- for the document type you can use segement E1EDK14 with qualifier 012

3- for the reference document you can not do it via the standard function. In that case you will have to create a Z FM

4- yes it should work. The delviery will be created directly

5- For GI and Invoice you will have to create jobs for VL06O and VL05N -> are you on a retail system ? you could use the POS interface which avoir sales order / delivery and creates directly a billing document.

Mathieu