cancel
Showing results for 
Search instead for 
Did you mean: 

RFC - <IDOC_INBOUND_ASYNCHRONOUS>

Former Member
0 Kudos

In the RFC <IDOC_INBOUND_ASYNCHRONOUS> what will be the values of <MANDT/>,<DOCNUM/>,<SEGNUM/>,<PSGNUM/>,<HLEVEL/>

<IDOC_INBOUND_ASYNCHRONOUS>

<TABLES>

<IDOC_CONTROL_REC_40>

<item>

<TABNAM/>

<MANDT/>

<DOCNUM/>

<DOCREL/>

<STATUS/>

...........

<IDOC_DATA_REC_40>

<item>

<SEGNAM>E1BPIBDLVHDR</SEGNAM>

<MANDT/>

<DOCNUM/>

<SEGNUM/>

<PSGNUM/>

<HLEVEL/>

<SDATA>H000097944 48 Z005 09 HL41103666 ZEL</SDATA>

<item>

</IDOC_DATA_REC_40>

</TABLES>

</IDOC_INBOUND_ASYNCHRONOUS>

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Duwurus,

the easiest thing to do is having a look at an example IDoc in your target SAP system and see how the fields are filled.

I propose the following settings:

TABNAM - EDI_DC40

MANDT - client number of the target SAP system

DOCNUM a 16 digit long number. Use a number like 9000000000000001 which will not be created / used by SAP. Keep in mind that the DOCNUM holds the connection between the header and the item segments.

In most of the cases you can leave the fields <SEGNUM/>,<PSGNUM/>,<HLEVEL/> empty.

There are other fields to fill which depend on the settings in your SAP system, e.g.

RCVPRT - LS (receiving port)

SNDPRT - LS (sending port)

DIRECT - 2

IDOCTYP - your IDoc type

If you have the chance to look at an example IDoc, check the contents of the fields in the control record (IDOC_CONTROL_REC_40)

Michael