cancel
Showing results for 
Search instead for 
Did you mean: 

error in attribute_idoc_metadata

former_member529475
Active Contributor
0 Kudos

hi all

i am doing the file to idoc scenario. designing and configuration is ok but i am getting the error in attribute_idoc_metadata

Can anyone solve it...

it is very urgent ...

i am getting the error code as

<?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_METADATA</SAP:Code>

<SAP:P1>Name or password is incorrect. Please re-enter</SAP:P1>

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Error: Name or password is incorrect. Please re-enter</SAP:Stack>

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

</SAP:Error>

thanks a lot

Accepted Solutions (0)

Answers (8)

Answers (8)

former_member529475
Active Contributor
0 Kudos

hi varun,

I mapped the segment attribute with the Constant "SEGMENT" still i am getting the error

error : IDOC XML data record: in segment attribute instead of SEGMENT

i am not able to rectify the problem

please help me

former_member529475
Active Contributor
0 Kudos

hi sunitha

i am using the message mapping.. the problem is not rectified.

former_member529475
Active Contributor
0 Kudos

hi varun

the error log 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_METADATA</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

still i am not able to rectify the problem.

Former Member
0 Kudos

Hi Vasu,

Goto transaction IDX1 and delete the record for your IDoc and create it again, I think it will solve the problem.

regards

Sunita

Former Member
0 Kudos

Hi Vasu,

Can u tell me which mapping are u suing??is it XSLT??

Former Member
0 Kudos

hi Vasudeva,

try mapping the segment attribute with a constant 'SEGMENT'

hope it works,

Regards,

Varun

former_member529475
Active Contributor
0 Kudos

hi shabarish

in my mapping i mapped idoc begin and segments to constant 1 still i am getting the same error.

is there any specific reason to map these fields to constant 1.

former_member529475
Active Contributor
0 Kudos

hi varun,

i said what u have told. now i am getting the error

error : IDOC XML data record. In segment attribute occured instead of SEGMENT.

i am using the idoc wpwbw01 .

any suggestions please

Shabarish_Nair
Active Contributor
0 Kudos

in your mapping check, in your IDOC if <b>Begin</b> , <b>segment</b> etc are mapped to a constant say '1'.

Also ref:

Former Member
0 Kudos

Hi Vasudeva,

Check the mapping of your segment attribute. In your IDoc every segment has this attribute and it is set as 'required'.

They are generally mapped to a constant. In your case I guess it will be 'SEGMENT'.

Also, If it does not solve your problem, kindly send me a detailed error log.

Regards,

Varun

former_member529475
Active Contributor
0 Kudos

hi varun

i checked the rfc destinations. still i am getting the same error

Former Member
0 Kudos

@Varun:

>>Also by any chance are you trying to configure XI adapter for sending IDocs?? In that case you need to configure IDoc receiver adapter.

..i thught in any case he needs to configure the receiver IDOC adapter..:) lol..

check if ur givin the user name and pswd correctly and it has the reqd authorizations..

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

in SM59, RfC destination, try a remote log on and test connection.

Regards,

Bhavesh

Former Member
0 Kudos

Hi Vasudeva,

Try to re-import your IDoc metadata and re-test the scenario.

The error-log says, you have entered the incorrect username or password.

Also by any chance are you trying to configure XI adapter for sending IDocs?? In that case you need to configure IDoc receiver adapter.

regards,

Varun

Shabarish_Nair
Active Contributor
0 Kudos

1. Check your RFC destinations (use test connection)

2. Check for IDOC metadata in IDX2 in XI.