on 02-25-2008 9:29 AM
Hi Experts,
I am creating a Idoc to file scenario and at target structure have a file with structure as HEADER,DETAILS and TRAILER.
My complication is if we have 6-7 idocs being processed then only one header should be created and should have a field with identification no. for all of them/country and trailer should have a field with sum of a field present in DETAILS part.
Also is there any approch where we can calculate no. of particular segment in the idoc.
Thanks
AKHIL
Hi AKHIL,
a) use count/index in statistic (standard) functions.
b) If you need exactly one header line, set minOccurs = maxOccurs = 1
Regards Mario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please elaborate more on this along with the Source/target structures in question.
Regards.Jeet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
source structure is a IDOC FIDCC2 and target structure is Header-field a,Field b
Details-Field 1,Field 2,Field3 etc....
Trailer-Fielda,fieldb...
here a file has to be created out of target structure where header comes once , Details can come n no. of times(equal to no. of idocs processed ) and trailer comes once..
for eg field b in trailer should contain the sum of Field 2 for all details...
Hope it helps..
Akhil
Edited by: Akhil Rastogi on Feb 25, 2008 11:12 AM
User | Count |
---|---|
86 | |
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.