cancel
Showing results for 
Search instead for 
Did you mean: 

Reg:working without Keyfield in FCC node structures

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

> 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];