on 05-17-2011 7:41 AM
Hello,
For one of our process maps (idoc INVOIC01), we have a case where we have a variable number of E1EDP05 segments, of which I need to use the first and the last.
Finding the first can easily be done with a counter, but what about the last one?
I'm looking for a function which can determine the number of E1EDP05 segments before the system starts running through them, so when my counter = the number of E1EDP05 segments I know I'm at the last one.
Any ideas?
Thanks,
Nicolas
Hi Nicholas,
You can use this:
count (E1EDP05 having context at root level ) to get the number of E1EDP05 segments in the Idoc.
Use this value as an input to the UDF which you are creating and process accordinly.
Regards,
Souvik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.