on 02-13-2008 6:20 AM
hai iam using MATMAS for file to idoc
in this file iam getting multiple storage locations
in the field LGORT.
LGORT field value is like this
aa,bb,cc,.........like that i will get n number of storage locations
i need to split this in to separate and create multiple segments based on storage locations.
how can i do this
my in put is like this
<seg>
<name>xyz</name>
<LGORT>aa,bb,cc</LGORT>
</seg>
required output is :
<<seg>
<name>xyz</name>
<LGORT>aa</LGORT>
</seg>
<seg>
<name>xyz</name>
<LGORT>bb</LGORT>
</seg>
<seg><name>xyz</name>
<LGORT>cc</LGORT>
</seg>
iam getting like this :
<seg><name>xyz</name>
<LGORT>aa</LGORT>
<LGORT>bb</LGORT>
<LGORT>cc</LGORT>
</seg>
can any body help me pls
Edited by: srikanth vipparla on Feb 13, 2008 7:36 AM
Hi Srikanth,
please use node function Splitbyvalue for your requirement.
i hope you know the importance of Splitbyvalue.
once you right click on that, you have conext change option..etc
if you find any difficulty, please let us know...
Regards
mahesh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Srikanth,
What you can do is map seg with LGORT using Use One as many.
And also apply Split By Value to LGORT when mapping it with its target counterpart.
See if this works.
Regards,
Lavita.
Do reward points if the information is useful.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use Node functions for your requirement
Node Functions
http://help.sap.com/saphelp_nw04s/helpdata/en/2c/2d8c4024d26e1de10000000a1550b0/frameset.htm
Regards
Seshagiri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.