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