on 08-30-2010 8:37 AM
Hi All,
I have a scenerio of FCC to RFC , where i need to read a Text file and want to post it to R/3 through RFC
Recordset Structure : Header,1,Item,*,Trailer,1
Is it possible to read the file without Keyfield vale ?
Please give your valuable suggestions.
Thanks & Regards,
S.K.Karthikeyan.
Hi Kathikeyan,
Yes, it is possible to read a file without keyfieldvalue. Check below link:
http://help.sap.com/erp2005_ehp_04/helpdata/EN/0d/00453c91f37151e10000000a11402f/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the inputs folks....
According to our requirement, we have different no. of line items for each node viz. Header, Item and Trailer out of which Item occurs n number of times.
In this case, we have done the FCC using a keyField value itself.
Cheers,
Karthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> Recordset Structure : Header,1,Item,*,Trailer,1
>
> Is it possible to read the file without Keyfield vale ?
Simply you cannot read the file without Keyfield values. Read few lines from the link which is given in above post.
If you specified a variable number of substructures for xml.recordsetStructure (at least one substructure with a the number u2018*u2019 ), the substructures must be identified by the parser from their content. This means that a key field must be set with different constants for the different substructures.
In this case, you must specify a key field and the field name must occur in all substructures.
If a structure has a fixed number of substructures, this specification is ignored.
But you can read the file as it is just by creating a simple structure (as mentioned in the attached blog) and then you can split it inside the mapping by using an UDF. [Here is the perfect example.|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/2740] [original link is broken] [original link is broken] [original link is broken];
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.