cancel
Showing results for 
Search instead for 
Did you mean: 

File to Idoc

Former Member
0 Kudos

Hey guys

i m doing File to Idoc scenario and getting the following error

Error:IDoc XML data record:In segment attribute occured instead of SEGMENT.

any idea where can i look for errors?

also how should i monitor IDoc adapter in RWB,

thanx

ahmad

Accepted Solutions (1)

Accepted Solutions (1)

STALANKI
Active Contributor
0 Kudos

Go to your Integration Directory, open your IDOC receiver channel and uncheck the field 'Apply Control Record Values from Payload'.

And also check the mandatory segments in your message mappings are created.

check this blog /people/ravikumar.allampallam/blog/2005/03/03/creating-purchase-order-idoc-through-xi

/people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi

very useful one's

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

hi,

check your mapping like shown in my weblog:

/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios

it must be something wrong with it

for all IDOC - XI scenarios you can also check:

<a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Former Member
0 Kudos

Hey i copied the payload from Moni and its working fine in my message mapping.

is there a way i can monitor my Idoc adapter or any other place to look for this errors?

thanx

ahmad

Former Member
0 Kudos

Hey

the error i m gettin in Moni is

<?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>IDoc XML data record: In segment attribute occurred instead of SEGMENT</SAP:P1>

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Error: IDoc XML data record: In segment attribute occurred instead of SEGMENT</SAP:Stack>

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

</SAP:Error>

thanx

ahmad

Former Member
0 Kudos

Hi,

try to upload the meta data again, and copy the payload to the message mapping and run the test,

Regards,

Sri..