on 11-08-2010 2:25 PM
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>
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.