cancel
Showing results for 
Search instead for 
Did you mean: 

An issue about queues and context

Former Member
0 Kudos

Hi all

I have a value form one queue with some context and I want to add the same context to another queue

I have this starting point in the first queuecwith context after each number

30

30

10

10

20

20

10

10

10

10

90

90

10

10

And in the other queue

100

100

100

100

100

100

100

100

100

100

100

600

100

100

100

100

100

100

The color indicate the context change.

I want to give the same context of the first queue to the second queue because I am mapping one to one field into the target node.

The second queue is longer than the first one but that is ok as long as I can get the first value to right context of the first queue

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

As said by Rahul, use FarmatByExample node function to achieve the requirement.

Ref: http://saptechnical .com/Tutorials/XI/NodeFunctions/Page7.htm

Thanks,

Former Member
0 Kudos

HI again

Do I have to use the format by key insted of changing the context.

I have tried but I am getting this error

formatByExample: Queues do not have the same number of values] in class com.sap.aii.mappingtool.flib7.NodeFunctions method

It is quit a copmlex mapping , I do not think I can use format by key.

any idea how to change the context

Thanks

Former Member
0 Kudos

Thanks , problem solved with ABAP mapping

Closing

Edited by: Malu Mader on May 3, 2011 10:51 AM

RKothari
Contributor
0 Kudos

Try using node function FormatByExample in your mapping.