Quantcast
Viewing all articles
Browse latest Browse all 10473

Re: Segment creation based on a condition

Hi Rituparna,

 

I assume you are looking for a UDF since E1EDL44 can occur more than once and is a child of E1EDL37(can occur more than once itself).

 

Here it is:

Parameters SMGKN, VELIN

Context for both fields should be E1EDL37

 

for (int i = 0; i < SMGKN.length; i++)

    if(SMGKN[i].equals("S"))

        for (int j = 0; j < VELIN.length; j++)

            if(VELIN[j].equals("2"))

                result.addValue("");       

 

Hope it helps!

Ambrish

 

 

       

 

 

 

 

Ambrish


Viewing all articles
Browse latest Browse all 10473

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>