on 04-30-2009 11:00 AM
Hi all,
My Scenario is IDOC to File.
My Requirment is to produce the Sample Text File as
f1*f2*f3
f4*f5*f6
f7*f8*f9
f4*f5*f6
f7*f8*f9
f4*f5*f6
f7*f8*f9
Here Body1, Body2 Values are coming in alternative side.
Based on the Occurences of E1MARAM Segments, We should have as many as Body1 , Body2 Values repeated as an alternative node.
But I am getting the Output as
f1*f2*f3
f4*f5*f6
f4*f5*f6
f4*f5*f6
f7*f8*f9
f7*f8*f9
f7*f8*f9
Here Body1,Body2 Values are grouped together.
I Created the Datatype as
RecordSet
Header 1-1
f1,f2,f3
Body1 0-unbounded
f4,f5,f6
Body2 0-unbounded
f7,f8,f9
Is there Any Possible Solution to have Alternate Segments Body1,Body Values in text File.
Thanks
Gabriel
Hi Gabriel,
Change the Structure in data type as
RecordSet
Header 1-1
f1,f2,f3
Body 0-unbounded
Body1 0-1
f4,f5,f6
Body2 0-1
f7,f8,f9
so that you can get alternative values, as Body repeats as many times as your condition is true.
in FCC, provide the RecordSet Structure as Header,Body1,Body2
Thanks & Regards,
Pragathi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Yes, I think your problem will be solved if you make a little change in you target srtucture.
Header 1-1
f1,f2,f3
Body 0-Unbounded
Body1 1-1
f4,f5,f6
Body2 1-1
f7,f8,f9
Just have Body 1 and Body 2 under one header node and you can keep the occurance as 1-1 or 0-1 as per ur reqirment.
regards,
shweta.
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 | |
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.