cancel
Showing results for 
Search instead for 
Did you mean: 

ATTRIBUTE _ WRONG _ INTF error in idoc adapter

Former Member
0 Kudos

hai

iam creating file to idoc scenario in that

iam copying the CREMAS in to XSD file

and chenge the occurence of name1

filed.

and this xsd file iam using at reciving side interface

my reciver adapter is idoc adapter

sender adapter is file adapter

when i configure this

iam getting this error

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

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

<SAP:P1>CRMAS_IF</SAP:P1>

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Unable to interpret IDoc interface CRMAS_IF</SAP:Stack>

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

</SAP:Error>

so pls any body can help me

what is this error

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

The meta data maintained in XI will be not matching with the attributes of the fields.

Just delete the metadata of the idoc in IDX2,

try to trigger once again.

IF still there is problem then I think you need to change the occurance of that field in R/3 also and have to re-import it to XI or to delete the meta data.

Please refer below discussion may be it will help you

/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change

Thanks

Swarup

Edited by: Swarup Sawant on Feb 9, 2008 1:13 PM

Former Member
0 Kudos

hai

THANKS FOR UR HELP

NOW IAM GETTING THIS KID OF ERROR

WHAT IS THIS IAM NOT UNDER SANDING

During the application mapping com/sap/xi/tf/_cr_mp_03_ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: RuntimeException in Message-Mapping transformation

iam trying to vreate multi ple segments at reciver side for one field .at that time iam getting this error

i changed the occurs of that filed to unbouned .

is it need to change the idoc structure at r3 system also ?

can any body help me pls

<SAP:Category>Application</SAP:Category>

<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>

<SAP:P1>com/sap/xi/tf/_cr_mp_03_</SAP:P1>

<SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>

<SAP:P3>RuntimeException in Message-Mapping transformatio~</SAP:P3>

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>During the application mapping com/sap/xi/tf/_cr_mp_03_ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: RuntimeException in Message-Mapping transformatio~</SAP:Stack>

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

</SAP:Error>

turmoll
Active Contributor
0 Kudos

Hi,

In order to change IDoc type structure you need to perform these changes on R/3 side.

The change of occurrence in XI will not solve that ... you need to probably create your custom IDoc.

Remember also that you need to adjust process code as well on R/3 side in order to take into account new/changed fields in IDoc.

Regards,

Jakub

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Thanks,

Madhu

Former Member
0 Kudos

Hi,

I am new SAPXI. I am doing Non XML file to XML file SAPXI. I have the DTD for target so i am importing it without creating DT and MT and for source side i am creating DT and MT. I if run this my is picked up but it throws below error in the xsmi_moni

com.sap.aii.utilxi.misc.api.BaseRuntimeException

thrown during application mapping

com/sap/xi/tf/_MM_Flatfile_XML_: RuntimeException

in Message-Mapping transformatio~.

Please reply if anybody can solve it.

turmoll
Active Contributor
0 Kudos

hi,

One more hint: during modification of IDoc type on R/3 remember that you can not change occurrence of one filed, you need to change occurrence of one segment so maybe you need to introduce a new segment in you custom IDoc. I recommend you to rethink your approach one more time.

Regards,

Jakub

Former Member
0 Kudos

hai friends

now iam getting this kind of problem

in sxmb_mini status is showing succes full but in

outbound status is comming error in sxmb_moni

pls can any body help me

with regards

srikanth vipparla