cancel
Showing results for 
Search instead for 
Did you mean: 

XSLT Mapping error

anilekar
Participant
0 Kudos

Hi All

I am working on PI 7.1 where I have customized standard XSLT mapping according to my requirement.

I have to add 2 fields in the standard data type ReplenishmentOrder_Notfication from SNC 7.0 SWCV.

In standard scenario once IDOC STPPOD.DELVRY03 is released from ECC the PI scenario send this to SNC Proxy ReplenishmentOrderNotification_In.

In my requirement I have to send XML file generated from IDOC to one of Application Folder. I have customized data type, message type, operation mapping, service interface by coping standard things.

So the changes I have done in standard XSLT mapping are just changin name of data type and not added any mapping for the two new fields I have added to the data type as its not require at the moment.

When I am running test I am getting follwoing error in Trace. Here please notice that its mentioning standard xslt mapping program name only though on the top you see customized names.

Please give your inputs to resolve the issue. Thanks.

Operation Mapping
 
StppodDelvry03_MT_ReceivedDeliveryNotification_01
Name
StppodDelvry03_MT_ReceivedDeliveryNotification_01
Namespace
<a href="http://sap.com/xi/SNC/Global" TARGET="test_blank">http://sap.com/xi/SNC/Global</a>
 
Runtime error
TransformerException occurred during XSLT mapping StppodDelvry03_ReceivedDeliveryNotification_01 (http://sap.com/xi/SNC/Global, 46c20a71-248e-11dc-c4be-dd500a115642, -1)
 
 
<Trace level="1" type="B">CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV</Trace> <Trace level="1" type="T">Interface Mapping <a href="http://sap.com/xi/SNC/Global" TARGET="test_blank">http://sap.com/xi/SNC/Global</a> StppodDelvry03_ReceivedDeliveryNotification_01 </Trace> <Trace level="1" type="T">TransfromerException during XSLT processing: Thrown: javax.xml.transform.TransformerException: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XML Declaration not allowed here.(, row:1, col:8)(, row=1, col=8) -&gt; com.sap.engine.lib.xml.parser.ParserException: XML Declaration not allowed here.(, row:1, col:8) at com.sap.engine.lib.jaxp.TransformerImpl.transform(TransformerImpl.java:251) at com.sap.aii.ib.server.mapping.execution.AbstractMappingTransformer.transform(AbstractMappingTransfor

Edited by: Amol on May 22, 2009 3:26 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Amol

for the error CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV

<Trace level="1" type="B">CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV</Trace> <Trace level="1" type="T">

just check this Thread issue is solved by restarting the service verifySenderAgreement

at thread

Thanks

Abhishek

former_member200962
Active Contributor
0 Kudos
XML Declaration not allowed here.(, row:1, col:8)

Check where the first character in your XSLT mapping and your Input XML message starts....check for the latter.....there should not be any space / blank line and the very first character should be "<"

Regards,

Abhishek.