on 12-22-2009 6:00 AM
Hi Experts,
I am working on a file to file scenario., where structure at sender side is as follows:
Recordset 0..unbounded
EmpName 0..1
Detail 0..1
ID 0..1
Address 0..1
Can somebosy pls help to write FCC for this?
-Tanaya.
Hi Tanya,
Try this:
Recordset Structure : Recordset,*
Recordset.fieldNames = EmpName, Detail, ID, Address
Recordset.fieldSeparator = ,
Recordset.endSeparator = 'nl'
Also check help.sap link
http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks sateesh for your inputs!!
But still it is not working...It seems, reading this structure inside FCC is not possible.
Is there any workaround for this?
-Tanaya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Source File example is,
abc
20
banglore
xyz
30
Chennai
Any help?
-Tanaya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suraj,
Still it is not working...
The blog which you have given, is also for 3 level structure.
How can we handle this situation?
-Tanaya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suraj,
Thanks for ypur reply!
But Empame and Detail are at the same level, and ID, Address are under Detail node.
Any help?
-Tanaya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tanya,
>>But Empame and Detail are at the same level, and ID, Address are under Detail node.
Sorry, but by your question it was not clear..
so your structure is like
MessageType
-Recordset 0..unbounded
--EmpName 0..1
--Detail 0..1
----ID 0..1
----Address 0..1
So the ID and Address are on the 4th level, FCC is possibel till three levels.. I will suggest you to check this blog http://www.riyaz.net/blog/xipi-file-content-conversion-for-complex-structures/ and try to create a workaround
Regards
Suraj
Hi Tanya,
Change your source structure to
MessageType
-Recordset 0..unbounded
--EmpName 0..1
--ID 0..1
--Address 0..1
and try this FCC parameters in communication channel
Recordset Structure : Recordset,*
Recordset.fieldNames = EmpName,ID, Address
Recordset.fieldSeparator = ,
Recordset.endSeparator = 'nl'
Regards
Suraj
User | Count |
---|---|
88 | |
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.