Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

First record is not an IDoc control record (check file)

Hi Experts,

I try to build an interface between a non SAP system and a SAP system via IDOC.

I created an .xml test file that I would like to upload now in system with program RSEINB00, but i have error

First record is not an IDoc control record (please check file).

What do I need to do? This is example file I uploaded

?xml version="1.0" encoding="UTF-8"?>

<EXCHANGE_RATE01>

<IDOC BEGIN="1">

<EDI_DC40 SEGMENT="1">

<TABNAM>EDI_DC40</TABNAM>

<IDOCTYP>EXCHANGE_RATE01</IDOCTYP>

<MESTYP>EXCHANGE_RATE</MESTYP>

<MESCOD>010</MESCOD>

<SNDPOR>XML_2_IDOC</SNDPOR>

<SNDPRT>LS</SNDPRT>

<SNDPRN>INCENTAGE</SNDPRN>

<RCVPOR>SAPQH3</RCVPOR>

<RCVPRT>LS</RCVPRT>

<RCVPRN>QH3CLNT100</RCVPRN>

<CREDAT>20110526</CREDAT>

<CRETIM>204404</CRETIM>

</EDI_DC40>

<E1ECXHANGE_RATE SEGMENT="1">

<LOG_SYSTEM>QH3CLNT100</LOG_SYSTEM>

<UPD_ALLOW>X</UPD_ALLOW>

<DEV_ALLOW>000</DEV_ALLOW>

<E1BP1093_0 SEGMENT="1">

<RATE_TYPE>RUFX</RATE_TYPE>

<FROM_CURR>USD</FROM_CURR>

<TO_CURRNCY>RUB</TO_CURRNCY>

<VALID_FROM>20120105</VALID_FROM>

<EXCH_RATE>5000</EXCH_RATE>

<FROM_FACTOR>100</FROM_FACTOR>

<TO_FACTOR>1</TO_FACTOR>

<EXCH_RATE_V>0.00000</EXCH_RATE_V>

<FROM_FACTOR_V>0</FROM_FACTOR_V>

<TO_FACTOR_V>0</TO_FACTOR_V>

</E1BP1093_0>

</E1ECXHANGE_RATE>

</ IDOC>

</EXCHANGE_RATE01>

kr,

Stef

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question