cancel
Showing results for 
Search instead for 
Did you mean: 

Mappping table entries to xml element

Former Member
0 Kudos

Hi all,

I have a RFC-XI-Mail scenario. The XI received a text table with TLINE structure (tdline, tdformat). I have the requeriment to map all the lines of tdline in one xml element.

Is there a graphical mapping function? If not, how to store the mapped value, in order to add the new entries to the exist entries, maybe using a java function.

Any ideas?

Best regards

Mathias

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

you can do it easily with a user defined function

create is as type queue and you will have all tdline values

from the whole idoc in your user function

then you just have to concat them and return as one parameter

quite easy jut remember about setting your user defined function as type <b>queue</b>

Regards,

michal

Former Member
0 Kudos

Hi Michal,

no experiences with type queue. Do you have an old example.

Mathias

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

check : Cache = Queue

on

http://help.sap.com/saphelp_nw04/helpdata/en/22/e127f28b572243b4324879c6bf05a0/content.htm

with this function you will get an array (all IDOC values from one tag)

so you just loop on the array and concat the values - pretty straight forward

Regards,

michal

Answers (0)