Hi All,
I am stuck with the counter problem...
For Each E1EDL20>VSTEL and E1EDL20>E1EDL24(1...N) the counter should be incremented and whenever new E1EDL20 then again the counter should start from 1
IDOC (DELVRY06)
For e.g
1.E1EDL20
VSTEL = 61
E1EDL24
E1EDL24
2.E1EDL20
VSTEL = 61
E1EDL24
E1EDL24
E1EDL24
3.E1EDL20
VSTEL = 68
E1EDL24
E1EDL24
4.E1EDL20
VSTEL = 61
E1EDL24
E1EDL24
E1EDL24
E1EDL24
Then target counter should be like this for each E1EDl20 -->VSTEL = 61 then only the counter should be incremented and for each context change the counter value should start from 0001.
Target Structure-->
1.
Contfield-->0001
Contfield-->0002
2.
Contfield-->0001
Contfield-->0002
Contfield-->0003
4
Contfield-->0001
Contfield-->0002
Contfield-->0003
I am using Value based UDF by passing VSTEL(equal to 61 then pass true) and E1EDL24 (exists pass true) and it doesnt work,,,
I think i should use context based... but how can use ResultList and return the above values..
Please hint me and help me...
Regards,
sridhar reddy