cancel
Showing results for 
Search instead for 
Did you mean: 

Inbound Idocs: Port informations get lost during transfer from XI

0 Kudos

Hello everyone,

I'm facing the following problem:

I'm receiving an inbound EDI message from an external system and map it into an idoc using XI.

After the mapping the Idoc is sent to my SAP system but unfortunately the port information in the control record gets lost.

If we have a look into the control record on XI side, everything looks fine. When the Idoc appears in the SAP, the port information is lost.

Any suggestions?

Thanks in advance.

Harry

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hey

did you check "Apply control record from payload" in receiver IDOC adapter?

if not,then please do that and test your scenario again.

You need to do proper message mapping for segment EDI_DC40 though.

Thanx

Aamir

Answers (1)

Answers (1)

0 Kudos

Hi Aamir,

we already did that, but the control record is still not correct.

Please find below the current control record at it (should) leave(s) the XI.

<EDI_DC40 SEGMENT="1">

<TABNAM>EDI_DC40</TABNAM>

<DIRECT>2</DIRECT>

<IDOCTYP>ORDERS05</IDOCTYP>

<MESTYP>ORDRSP</MESTYP>

<SNDPRT>LI</SNDPRT>

<SNDPFC>CR</SNDPFC>

<SNDPRN>205402</SNDPRN>

<RCVPOR>A000000014</RCVPOR>

<RCVPRT>KU</RCVPRT>

<RCVPFC />

<RCVPRN>200005</RCVPRN>

<CREDAT>080701</CREDAT>

<CRETIM>124730</CRETIM>

</EDI_DC40>

As you can see, the RCVPOR has a value, but in the ERP system, this field is empty.

If you have any further suggestions, please let me know.

Thanks in advance

Kind regards

Harald