cancel
Showing results for 
Search instead for 
Did you mean: 

FCC - what is wrong

Former Member
0 Kudos

Well i did it sometimes but this time i have no clue!

Scenario: IDoc2File

need a text-file. FCC looks like:

Recordset-Structure: ZeitRecordSet,ZeitDetailsStructure

ZeitDetailsStructure.endSeparator = 'nl'

ZeitDetailsStructure.fieldFixedLengths = 4,4,6,8,14,2,1

ZeitDetailsStructure.fieldNames = 'TAG','AUSWEISNR','SALDO','DUMMY01','DUMMY02','DUMMY03','DUMMY04'

ZeitDetailsStructure.fieldSeparator = 0

XML-Output looks like:

<?xml version="1.0" encoding="UTF-8"?>

<MTZEIT>

<ZeitRecordSet>

<ZeitDetailsStructure>

<AUSWEISNR>1775</AUSWEISNR>

<DUMMY01>** Y0000</DUMMY01>

<DUMMY02>00400FFFF00</DUMMY02>

<DUMMY04>.</DUMMY04>

</ZeitDetailsStructure>

<ZeitDetailsStructure>

<AUSWEISNR>1776</AUSWEISNR>

<DUMMY01>** Y0000</DUMMY01>

<DUMMY02>00400FFFF00</DUMMY02>

<DUMMY04>.</DUMMY04>

</ZeitDetailsStructure>

<ZeitDetailsStructure>

<AUSWEISNR>1777</AUSWEISNR>

<DUMMY01>** Y0000</DUMMY01>

<DUMMY02>00400FFFF00</DUMMY02>

<DUMMY04>.</DUMMY04>

</ZeitDetailsStructure>

</ZeitRecordSet>

</MTZEIT>

<b>Error: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter 'ZeitRecordSet.fieldFixedLengths' or 'ZeitRecordSet.fieldSeparator' is missing

</b>

What might be the problem because the needed fields are given!!!

thx in advance, Jens

Accepted Solutions (1)

Accepted Solutions (1)

udo_martens
Active Contributor
0 Kudos

Ähh, no,

ZeitDetailsStructure.fieldSeparator is given, not ZeitRecordSet.fieldSeparator

Regards,

Udo

Former Member
0 Kudos

Ähh, hast recht, peinlich

Another question: the order of the given fieldNames - do they have to be like the target or the source structure?!

Shabarish_Nair
Active Contributor
0 Kudos

fieldnames dont have relevance in FCC for the receiver file adapter

udo_martens
Active Contributor
0 Kudos

Hi Jens,

they correspond with the fieldnames of your outbound interface (source).

Regards,

Udo

Former Member
0 Kudos

Hi ,

If you are using FCC for receiver , use the target Structure field names ...incase both are not same in structure...

regds,

vasanth.

Answers (3)

Answers (3)

Former Member
0 Kudos

back again:

I am little confused because my output doesn't look like expected.

Instead of 'DUMMY01','AUSWEISNR','DUMMY02','TAG','DUMMY03','SALDO','DUMMY04'

i get

AUSWEISNR,DUMMY01 etc.

The sequence is mixed up and i have no clue why. Any idea?! does it have to be in alphabetical order?!

br Jens

justin_santhanam
Active Contributor
0 Kudos

Jens,

You want the output as 'DUMMY01','AUSWEISNR','DUMMY02','TAG','DUMMY03','SALDO','DUMMY04',

where the TAG and SALDO field in the payload, I can't see it in your payload.

Can u please place the exact inbound structure the expected output.

Best regards,

raj.

Former Member
0 Kudos

Hi Raj,

looks like:

<?xml version="1.0" encoding="UTF-8"?>

<MTZEIT>

<ZeitRecordSet>

<ZeitDetailsStructure>

<TAG>1106</TAG>

<AUSWEISNR>1775</AUSWEISNR>

<SALDO>+820</SALDO>

<DUMMY01>** Y0000</DUMMY01>

<DUMMY02>00400FFFF00</DUMMY02>

<DUMMY03>AB</DUMMY03>

<DUMMY04>.</DUMMY04>

</ZeitDetailsStructure>

</ZeitRecordSet>

</MTZEIT>

Funny thing i found out: first i had this structure in target data type, i changed it and thought the output-structure would change also. But it is still the same structure (old one). Is there a cache-refresh necessary or do i have to make a completly new target data type with my preferred structure?!

Again XI plays along with me

br, Jens

Former Member
0 Kudos

Hi, one question again:

I managed to configure everything the way it should be but XI only converts one entry - but i have to convert each segment of the incoming IDoc.

So what is wrong?!

Former Member
0 Kudos

my fault, thx 2 all

Shabarish_Nair
Active Contributor
0 Kudos

<i>

ZeitDetailsStructure.endSeparator = 'nl'

ZeitDetailsStructure.fieldFixedLengths = 4,4,6,8,14,2,1

ZeitDetailsStructure.fieldNames = 'TAG','AUSWEISNR','SALDO','DUMMY01','DUMMY02','DUMMY03','DUMMY04'

ZeitDetailsStructure.fieldSeparator = 0</i>

>>>

provide only fieldFixedLengths or fieldSeparator !!! only on of the two should be provided.

Also no need of providing fieldNames option.

Ref:

http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm