cancel
Showing results for 
Search instead for 
Did you mean: 

checking if segment exists

Former Member
0 Kudos

Hello Experts,

I need a logic to produce like

<segment>

+<field>

I have to check for the following conditions.

If the segment exists, check if the field exists, and map if the field exists. If the segment do not exists, display constant . Same way if the segment exists and if the field doesnt exists, map constant

If the segment exists and field exists map field to the target field

Nikhil.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Nikhil,

you can do the same for all 73 fields.It won't effect the performance.You are going to use all functions Standarad Functions.As per your requirement you need to follow the logic for all fields.

Cheers

Veera

Former Member
0 Kudos

Thanks for the replies

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

segment --> exists --> if then else

In the 'else' part pass constant, in the 'then' part another if then else

name --> exists --> then name else constant

BR

Sameer

Former Member
0 Kudos

Its working when I check like

if segment exists, then.... if field exists

but I have to place 2 ifs for every fields (73 fields * 2 ifs) that I have in my scenario...

It will effect the processing time ..

so any thing that will help me out without using 2 ifs?

nikhil