cancel
Showing results for 
Search instead for 
Did you mean: 

Error in File To Fcc Scenario

Former Member
0 Kudos

Hi All,

i done File to Fcc scenario,

my scenario is successful, i got black and white flag in moni and in communicaion channel monitoring no error is displayed in trace.

but in my output file olny first field of a record is getting displayed.

my receiver file Fcc parameters are

DATA.fieldFixedLengths

4,2,10,10,10,10,10,10,10,10,10,10

DATA.fieldNames

FIELD1,FIELD2,FIELD3,FIELD4,FIELD5,FIELD6,FIELD7,FIELD8,FIELD9,FIELD10.FIELD11,FIELD12

DATA.endSeperator 'nl'

need your sugessitions regarding this,

regards,

Ramesh B.

Accepted Solutions (0)

Answers (6)

Answers (6)

ranjit_deshmukh
Active Participant
0 Kudos

Hi,

we are also facing the same problem

if i see the payload in the Message Display Tool

I can see all the fields are missing except the first field of the record

This is really weird, as eventhough I have put in the DATA.fixedLengthTooShortHandling=Error also

but I cant see any errors in the receiver adapter

and the file is created successfully but having only one field value, not all other field values.

need help regarding this.

Ranjit

Former Member
0 Kudos

Hi,

having done a lot of back ground work on this scenario i came to conclusion this is due fault with in server.

tell me your views regarding this.

Regards,

pradeep A.

Former Member
0 Kudos

Hi,

I know none of u have experience this problem,

As this is some thing strange but we are still Facing this problem.

Presently we are working on NW2007s, PI 7.0, SP12.

Respond to this Question As many as u can.

Thanks&regards,

Pradeep A.

nisarkhan_n
Active Contributor
0 Kudos

1. In the sxmb_moni step check the pipeline steps....in this steps check the message mapping step side pahyload,,,,here are you getting entire payload on the reciver side.

2. Test your inout payload in the messahe interfcace test tab,,,,check you are receving all the records here....your FCC looks fine(except that spelling mistake) but i guess the probelm could be with some occurence in the message mapping or the interface mapping.

Former Member
0 Kudos

Hi Nisar,

if there is some problem with message mapping or interface mapping moni has to throw an error, right?

and i follow your steps,i can see all my records in Interface Mapping.

Regards,

Pradeep A.

Former Member
0 Kudos

in receiver FCC , no need to write fieldNames.

also don't specify occurrences in recordset structure if you have used..

your recordset structure should look like = Data

Refer this for receiver FCC

/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion

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

Former Member
0 Kudos

Hi Mugdha,

if we do not specify field names how receiver adapter will recognize field names.

and for DATA sub structure occurences i mention is 0 to Unbounded.

previously all my scenarios work fine when i specified my stucture like this

RS

DATA 0...Unbounded

FIELD1

FIELD2

Regards,

Pradeep A.

Former Member
0 Kudos

receiver CC converts XML to flat.

so here it is not supposed to create XML structure..

so no need to mention fieldNames in content conversion parameter.

recordset structure which I meant is in content conversion parameters..

what have you mentioned in Recordset Structure?

You should write it as <b>DATA</b> only.

Please refer blog suggested in my previous post

Former Member
0 Kudos

Hi Kulkarni,

i mention as DATA as Recordset Structure.

previously i mention my complete hierarchy,

Regards,

Pradeep Amisagadda.

Former Member
0 Kudos

Pradeep,

Use this in you FCC:

Instead of endSeparator <b>'nl'</b> write this: '0x0D''0x0A'

Remove <b>'nl'</b> and put '0x0D''0x0A' for endSeparator and give a try once again.

So finaly use

<b>data.endSeparator '0x0D''0x0A'

data.fieldSeparator ,</b>

Regards,

Sarvesh

former_member1275317
Participant
0 Kudos

U need to give

DATA.fieldSeparator.....

Former Member
0 Kudos

thank u all,

actually its my spelling mistake,

Actually i mention as DATA.fieldSeparator in my Fcc parameters,

if i mention wrong in communication channel monitoring i have to get error,right?

Former Member
0 Kudos

HI,

What you have given in recordset strucutre.

Check the XML strucutre of file in moni.

thnx

Chirag

Former Member
0 Kudos

HI Chirag,

recordset structure DATA

i check xml structure in moni,i went to inbound message ,had a source code from it and tested in mapping its working fine.

i did not get error in any where,but unable to get output.

Former Member
0 Kudos

Sorry I was taking about the receiver XML structure whether you are getting multiple data in XML.

Thnx

Chirag

Former Member
0 Kudos

ok

in receiver communication channel,in message content i can see the pay load(ie multiple records)

but that pay load is not coming to my receiver system.

one more think i want to specify for your information that if i go for xml file in receiver side i got xml file with all the records i send from sender side.

santhosh_kumarv
Active Contributor
0 Kudos

Hi pradeepa,

In the receiver side it much more than enough to specify the FCC as specified in your case.

<b>data.endSeparator = 'nl'</b> and

<b>data.fieldSeparator = ,</b> .

<a href="/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion Receiver with Content Conversion</a> By Arpith Seth

Regards

San

Former Member
0 Kudos

Hi Santosh,

thank u for reply,

data.endSeparator = 'nl' i already mention

data.fieldSeparator = , hear i am not going for CSV file.so i think it is not necessary.

and previously i done File to Fcc scenario with this three FCC parameters

fieldNames

fieldLengths

endSeparator

with olny DATA as sub structure.

and its work fine.

Regards,

Pradeep A.

Former Member
0 Kudos

HI,

Your have a spell mistake in NameA.fieldSeparator.

Check your spell.

Thnx

Chirag