cancel
Showing results for 
Search instead for 
Did you mean: 

Error using IDOC adapter

Former Member
0 Kudos

Hi All,

I'am trying to run the following scenario:

FILE --> XI --> IDOC (r/3).

Data is read and mapped towards an internal format. Then a mapping from the internal format to MATMAS_BAPI01 is done.

I disabled EDI_DC40 and did the needed mappings.

When I execute the scenario I get the following error.

-


<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Call Adapter

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">

<SAP:Category>XIAdapter</SAP:Category>

<SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_RUNTIME</SAP:Code>

<SAP:P1>MSGGUID CA9DC2E01F1211DA9EED000D56B9D8A6: Control record must start with tag EDI_DC40, not E1BPMATHEAD</SAP:P1>

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Error: MSGGUID CA9DC2E01F1211DA9EED000D56B9D8A6: Control record must start with tag EDI_DC40, not E1BPMATHEAD</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

-


I expected that the XI system would automaticly fill in the needed info in EDI_DC40.

Does anyone has an idea what is going wrong?

Kind regards

Message was edited by: Geert Wouters

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Geert,

Have you unchecked the Apply Control Record from Payload in the IDOC communication channel?

Thanx.

Rekha

Former Member
0 Kudos

Forgot to do so,

Is looking better now.

Thanks

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

hi,

most probably your idoc message

has a wrong format

when you import your new idoc to integration repository

does it have EDI_DC40 at the beggining?

BTW

try without disabling the edi_dc40

you cna also have a look at my weblog:

/people/michal.krawczyk2/blog/2005/09/01/xi-idoc-adapter--edidc40--demystified

Regards,

michal

Message was edited by: Michal Krawczyk