on 06-19-2008 12:24 PM
Hi All,
I am configuring an IDOC to File scenario.
Once all the IDOC data is dumped on a File, I need to calculate the number of Item records in this file and write this number at the end of the trailer record in the file.
Is theer a way to calculate the item data records(or say number of lines in the file) in the message mapping area. Or any other simple way to do it.
Appreciate your help on same.
Thanks
Shirin
hi,
Use the count function for ITEM node the assign this count value to the receiver field , keep the ITEM context to header!
Thanks,
Vijaya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
use count function from Statistic group
Item(set context to root)->count-->target field in trailer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.