on 11-16-2015 1:14 PM
Hi All,
Hope you are doing well.
we have imported idoc from ECC to PI and configured required configuration in 7.4.
we are getting below error while we are trying to post and IDOC from PI to ECC.
can you please guide us to resove this issue.
Transmitting the message to endpoint <local> using connection AFW failed, due to: com.sap.aii.af.idoc.exception.IDOCAdapterException: Error before sending due to idoc parsing error: (7) IDOC_ERROR_PARSE_FAILURE: Illegal value "Constant" for attribute BEGIN in <IDOC BEGIN="1"> tag within IDoc-XML for type <ORDERS05>:
state=READING_ATTRIBUTE_VALUE, charPosition=85, lineNumber=1, columnNumber=8
Thanks
Madhu T
Hi Madhu,
Check your message mapping for this scenario: for target IDoc message structure, attribute BEGIN (an attribute of an element IDOC) should have been assigned a constant value 1, not Constant. I assume the one who was configuring a message mapping, simply forgot to change a default value - since by default, when a standard mapping function Constant is added, it is added to the editor with the default value Constant, which should be changed to a required value when developing a mapping.
Regards,
Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Vadim,
i am attaching the mapping screen shot and i don't have access for the xpi inspector. and idoc channel is working fine that SAP provided mappings are working .
we have issue for only our migrated mappings ,
we are doing migration from 7.11 to SAP 7.4 after wards this issue happened.
can you please guide me for the correct solution.
Thanks
Madhu T
Could you please try out a couple of things as below:
1. Copy the source message xml and running it in the ESR Mapping test tool
2. With the same xml source message, try disabling the begin attribute in the mapping test tool to check whether the error is actually pointing to the begin node and note any other node
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.