cancel
Showing results for 
Search instead for 
Did you mean: 

how to filter the idocs in message mapping side?

former_member270261
Participant
0 Kudos

Hello Experts,

how to  filter the idocs in message mapping side based on the condition.

is it UDf is required or will it be achive through the graphical mapping.

Thanks

Narendra

Accepted Solutions (0)

Answers (1)

Answers (1)

iaki_vila
Active Contributor
0 Kudos

Hi Narendran,

It depends about the condition complexity. You have standard functions that lets you to compare strings and to generate or not one target node. Check this link Standard Functions - Enterprise Services Repository - SAP Library

Regards.

former_member270261
Participant
0 Kudos

Hi,

i want to filter the below condition in mapping side

(Z8CQBATMAS03/IDOC/Z1Z8CQBATMAS/E1BP3060_VALUATION_CHAR/CHARACT = "Z8C_MATERIAL_3PL" AND

Z8CQBATMAS03/IDOC/Z1Z8CQBATMAS/E1BP3060_VALUATION_CHAR/VALUE_NEUTRAL = "Z8C03") OR

(Xpath./Z8CQBATMAS03/IDOC/Z1Z8CQBATMAS/PLANT = "U621") OR

(Xpath./Z8CQBATMAS03/IDOC/Z1Z8CQBATMAS/PLANT = "U615")

Thanks

Narendra

former_member186851
Active Contributor
0 Kudos

Hello Narendran,

You can try like below

CHARACT------------------------------

                                                         Equals                  

Z8C_MATERIAL_3PL-----------------

                                                                      ------------------And---------------------

VALUE_NEUTRAL--------------------

                                                         Equals                                                        OR------CreateIF---Idoc

Z8C03------------------------------------------

Plant ---------------------Fix values----------------------------------------------------------------

                                  U621

                                   U615