Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

XML problem

Hi,

i have a problem with my XML....

My functional owners want the fallowing XML...I mean

<?xml version="1.0" encoding="UTF-8" ?>

<OATMessage xmlns="http://xml.kc.apps.oatsystems.com/OAT-Messages.xsd" xmlns:mstns="xml.kc.apps.oatsystems.com/OAT-Messages.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xml.kc.apps.oatsystems.com/OAT-Messages.xsd C:\OAT-Axiom\OAT-Messages.xsd">

.....

</OATMessage>

how can i acheive this as receiver XML.....I even took the XSD..but still the same problem....

replied

>>I am facing difficult to add some userdefined functions,IF else conditions,etc in XSLT mapping

You can do your interface mapping in 2 steps.

First do a message mapping using graphical mapping of XI,use your UDF,IF-Else etc in this mapping.This will be a source to target mapping

The second mapping will be a XSLT mapping which will change XML in the desired format.This will be a target to target XSLT mapping.

Then in interface mapping specify the graphical mapping first and under it specify the XSLT mapping.

Have a look at the following blog to see how to use multiple message mappings in 1 interface mapping

Thanx

Aamir

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question