Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Idoc problem

0 Kudos

Hi

Am trying to use IDOC_INBOUND_ASYNCHRONOUS to create an inbound idoc ....but unfortunately after it gets executed it does not return the idoc number in control segment.Please suggest...is there any other function module to create inbound idoc.

2 REPLIES 2

former_member214131
Active Contributor
0 Kudos

Hello,

To process an Inbound IDoc which is existing in your system, the FM IDOC_INBOUND_ASYNCHRONOUS is used.

To create an IDoc you have to use 'MASTER_IDOC_DISTRIBUTE' and make the DIRECTION as INBOUND in Control rec. segment. (EDIDC-DIRECT = 2).

Please check the FM documentation which gives detailed description. Not sure whether you want to create an IDoc or process an existing Inbound IDoc in your system. Hope this helps.

Regards, Murugesh AS

Message was edited by: Murugesh Arcot

Former Member
0 Kudos

use MASTER_IDOC_DISTRIBUTE