cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with my Recordset-Structure

Former Member
0 Kudos

Hi,

i have a datatype in the following format:

-DT_RecType12

--RecType12

---RecType121 -


Typ: DT_RecType121

-


RecType121

---RecType122 -


Typ: DT_RecType122

-


RecType122

---RecType123 -


Typ: DT_RecType123

-


RecType123

---RecType124 -


Typ: DT_RecType124

-


RecType124

---RecType12_tmp -


Typ: DT_RecType12_tmp

-


RecType12_tmp

-


RecType125 -


Typ: DT_RecType125

-


RecType125

-


RecType126 -


Typ: DT_RecType126

-


RecType126

Now i have a Problem with my Recordset-Structure because in the datatype i have a datatype under a second datatype...(you see above)

My Recordset-Structure are the following:

RecType121,RecType122,RecType123,RecType124,<b>RecType12_tmp</b>,RecType125,RecType126

All recordtypes are looking like this (Name and Value):

RecType12x.addHeaderLine = 0

RecType12x.fieldFixedLengths = 10,15,3,10,12,1,60,60,60,60,60,149,0 (different Values for each RecType)

RecType12x.fixedLengthTooShortHandling = Cut

RecType12x.endSeparator = 'nl'

and so on....

But how must look the Name and Value for RecordType12_tmp because they have two RecTypes under it (RecType125 and RecType126)?

I got the Error-Message more fields then i have in the structure or so...

Thanks for help!

Message was edited by:

Christian Maier

Message was edited by:

Christian Maier

Message was edited by:

Christian Maier

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

christian,

are all RecType121,RecType122,RecType123,RecType124,RecType12_tmp,RecType125,RecType126

these are at same level or different level?

you get this error because of too many fielda are specified in ur adapter than in ur file input.

Former Member
0 Kudos

Hi,

I fyou have too much complexity then try to use javamapping, even if yu have more no of fields also you must have to use the Java mapping. see creating complex or nested data type is easy and doing mapping with graphical for more no of fields is easy ,but when you are dealing the content conversion it will be bit difficult.

Ok

Try the below links

/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter /people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file /people/harrison.holland5/blog/2006/12/20/xi-configuration-for-mdm-integration--sample-scenario /people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy /people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter

Regards

Chilla