cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC segment filter

former_member188791
Participant
0 Kudos


Hi Group,

In IDOC I am getting multiple segments with type nad name field in it,I need to check if type field =4 in IDOC segment then I need to map correspodning Name field of that segment to target field can any body suggest how we can achieve this

Currently I am doing this but its checking only first segment,can any body suggest, how I can filter  segment for type =4

  type              --------

                           equalsS ------  if

  constant =4   ---------                                           ------> Name

                                                then

                                                 Name

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member186851
Active Contributor
0 Kudos

Hello Rajiv,

Check the context and use remove context or split by value before the condition and use equal condition.

former_member188791
Participant
0 Kudos

Solved by using UDF.

maheswarareddykonda
Active Contributor
0 Kudos

first you have to use remove context before equalS function and  remaining condition which explained in your query is same

also at before target field you just use Splitbyvalue(all values)