cancel
Showing results for 
Search instead for 
Did you mean: 

XML creation using multiple fields and mapping to single target element

Former Member
0 Kudos

Hi All,

I am working on scenario and currently struct in message mapping.I have 15 fields in source message,which needs to be convererted into one XML and mapped to single target field. Planning to use UDF. Can you please suggest any better approach or please share the BOK/UDF realted this scenario.

Thanks in advance

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member200962
Active Contributor
0 Kudos
I have 15 fields in source message,which needs to be convererted into one XML and mapped to 
single target field. Planning to use UDF.

message mapping alone cannot do this...either it has to be used in combination with XSLT / JAVA mapping (as in the above blog) or XSLT or JAVA mapping can do the conversion on a standalone basis.

Regards,

Abhishek.

Former Member
0 Kudos

Hi,

check the below links...

https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/read%252binput%252btext%252bfile%252bas%252ba%....

/people/michal.krawczyk2/blog/2005/11/01/xi-xml-node-into-a-string-with-graphical-mapping

Regards,

Swetha

prateek
Active Contributor
0 Kudos

See this

/people/michal.krawczyk2/blog/2005/11/01/xi-xml-node-into-a-string-with-graphical-mapping

Regards,

Prateek