Skip to Content
0
Former Member
Nov 03, 2011 at 02:50 PM

Error in Sender File content Conversion - how to ignore keyfieldName

749 Views

Dear Frndz,

I'm new to SAP PI. I want to post a flat file to ECC.

The Souce Structure is:

Record(1-unbounded)

|_Header(1.1)

field1

field2

field3

|_Detail(1.unbounded0

field4

field5

field6

Sample File:

first header - xx,yy,zz

Detail 1 - 1,b,c

Detail 2 - 2,e,f

second header - aa,bb,cc

Detail 1 - 1,g,d

I wrote the file content conversion as follows

Recordset name - Record

Recordset Structure - Header,1,Detail,*

Header.fieldNames field1,field2,field3

Header.feldseparator ,

Header.endseparator 'nl'

Detail.fieldNames field4,field5,field6

Detail.fieldseparator ,

Detail.endseparator 'nl'

Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Mandatory parameter 'xml.keyfieldName': no value found

It's asking me to give the input to keyfieldname. But I dont have such field in my record. Ther's no common field . no field is repeating like record type or doc_type as in other cases.

So, Coud you please guide me to proceed with this.

Thanks in advance.....