I need a solution where I need to count the number of EDI_DC40 segments (The IDoc Count) in a package of IDoc's. The following is the scenario
1) We are receiving a package of IDoc's in receive step using the XI File Adapter. I was wondering if there is a way that I can count the number of IDoc's in the BPM using a container operation or some other Method. I appreciate any help.