cancel
Showing results for 
Search instead for 
Did you mean: 

filtering records in message mapping by field value

Former Member
0 Kudos

hi,

i have a source message:

record: 1..1

--row: 0..unbounded

-


type: 1..1

-


data: 1..1

i want to map to target message with the same structure only rows with type = x.

how do i do that in message mapping?

thanks

Tomer

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

i found my answer in:

http://help.sap.com/saphelp_nw70/helpdata/EN/e6/e6ae42e0fac911e10000000a1550b0/frameset.htm

the imporant thing is to right click on 'type' field and choose contex and set it to root.

thanks for your reply.

Tomer

Former Member
0 Kudos

if u mean that the target message shud be generated only when type = x use the below mapping.


type------------->
                    equalsS----->createif--->row(tgt root)
Constant[x]--->


Map 
type--->type
data--->data

SudhirT
Active Contributor
0 Kudos

You can try

If (if withoutelse)type text(equalS) X(Constant) then -


> Target field.

By trying this all other nodes will be suppressed. Try and let us know.

Thanks!