cancel
Showing results for 
Search instead for 
Did you mean: 

how to do segement sort based on one field

Former Member
0 Kudos

hai friends

in file to idoc secnario iam getting multiple MBEWM segements

in this segment BWTAR element value somtimes nathing.

means it may nat contain any value.

so i need to send first this segment ( means with segemnt is not having BWTAR value ) . and then next i neend to send remaining segments from xi

how can i do.

pls help me

with regards

srikanth vipparla

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

You can solve this problem by using sort function from Node function category.

http://help.sap.com/saphelp_nw2004s/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm

Yes you can do it by using UDF also.

just create one string array which detect only blank value store blank values 1st, then detect other values store these values after that.

use context UDF and send these values to your target field.

Regards,

Rohit.

Reward points if helpful.

Former Member
0 Kudos

can uhelpme on this

iam tying to do that iam not succeded

can u help me on this

with regards

srikanth vipparla

Former Member
0 Kudos

> in file to idoc secnario iam getting multiple MBEWM segements

> in this segment BWTAR element value somtimes nathing.

> means it may nat contain any value.

>

> so i need to send first this segment ( means with segemnt is not having BWTAR value ) . and then next i neend to send remaining segments from xi

Hi,

Have you tried like this..

BWTAR ---> Sort (Ascending) -


> Traget.

Regards,

Sarvesh

Former Member
0 Kudos

in xi system iam not having this sort and sort by key fields

so can u ls tel me the for this .

with regards

srikanth vipparla

Former Member
0 Kudos

Hi,

In graphical mapping under the Node function u will find Sort and Sort by key function.

Refer the below link:

http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/frameset.htm

Search on SDn stefan has given the sort and sortby key function with screensort.

chirag

Former Member
0 Kudos

no friend iam not finding that functions in xi system

for this ineed to any other settings in xi ?

iam using sp12

i think it available form sp13.

is there any chance to do with UDF

if it posible can any body help me pls.

with regards

srikanthvippalr

Former Member
0 Kudos

Srikant,

It is not any UDF....Just go through the Blog.....u can c it clearly..

Under any message Mapping -


> Functions(Bottom of screen)->Node Functions-> sort/Sort by key...

Regards,

Ashwin M

former_member556603
Active Contributor
0 Kudos

Srikanth,

Go through this blog..

/people/stefan.grube/blog/2005/12/29/new-functions-in-the-graphical-mapping-tool-xi-30-sp13

Thanks,

Satya