on 02-03-2011 1:55 PM
Hi all,
I'm having a multiple IDOCs to 1 file scenario, and structure is like this:
source:
IDOC(1..unbounded)
target:
structure1(1..unbounded)
>field1(1..1)
IDOC is mapped directly to structure1.
for field, I need the number of total IDOC structure sent.
This means, if 3 IDOC are coming, then field1 need to have value "3".
I used the "count" function from the statistic functions, but when I got multiple IDOCs, I'm having a mapping error.
How can I count number of incoming IDOCs in a field inside each structure per IDOC?
Hi Chapa,
After "count" use "CopyValue" (index 0), it will work. FYI [Link1|http://help.sap.com/saphelp_nw04/helpdata/en/26/d22366565be0449d7b3cc26b1bab10/frameset.htm]
Regards,
Raghu_Vamsee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>How can I count number of incoming IDOCs in a field inside each structure per IDOC?
Use CopyValue() followed by your count()
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.