Skip to Content
0
Former Member
Dec 24, 2007 at 03:47 AM

Passing IDOC to BAPI

73 Views

Is there any way of passing an IDOC contents to a BAPI directly, rather than reading the data from the IDOC segments and populating the BAPI structures manually?

The IDOC is generated from a Purchase Order created in the same client and so cannot be looped back into the system as an Inbound document. Instead I am sending the outbound IDOC (generated from the PO) to an ABAP function module port which will create the Sales Order.

Useful suggestions will be rewarded.

Regds

Thiru