cancel
Showing results for 
Search instead for 
Did you mean: 

File Adapter Not Working Proper

Former Member
0 Kudos

Hi XI Experts,

Here, we configured Idoc to File Scenario using File Adapter. We are getting errors in records while receiving the Text File.

The error we r getting in those record of the file where some data is missing. After which whole records get curropted. ForEx:

HeaderLine

Store ArticleCode ArtDescription MerCat Amount TaxCode

3022 130000000 Shirt FMCG 200 k5

3022 130000001 Short FMCG 150 k5

As above line items have allthe fields filled so uptill this text file we r getting is error free.

3022 130000003 shirt

3022 130000004 masalas fmcg 50 k1

As in above line item few of fields are missing and whole recordsafter this record get corrupted. And weget following corrupted data

3022 130000003 shirt 50 fmcg

3022 130000004 masalas fmcg 50 k1

Can something be done with FCC ????

As this is effecting the business Please reply ASAP.

Accepted Solutions (0)

Answers (2)

Answers (2)

prasanthi_chavala
Active Contributor
0 Kudos

Hi,

Also check ur mapping program.It is Idoc to file scenario rite...then see whether ur target structure is getting mapped from the idoc and check ur mapping once and see whether u r getting all the fields in the target xml.Check ur xml payload of ur file in RWB.

And that too no need of giving PA01.fieldNames in the content conversion parameters.

Directly u can give:

recordset structure name.addHeaderLine

recordset structure name.fieldSeparator

recordset structure name.endSeparator

Hope u got my point.

Regards,

Prasanthi.

Former Member
0 Kudos

WHAT WILLBE THE VALUES IN ALL THESE PARAMETERS

Former Member
0 Kudos

Hi,

Record Structure :Rootnode, Header,1,Detail,*,Footer,1

Header.addHeaderLine : 0

Header.fieldSeparator :,

Header.fieldNames : give the field names

Detail.addHeaderLine : 0

Detail.fieldSeparator :,

Detail.fieldNames : give the field names

Footer.addHeaderLine : 0

Footer.fieldSeparator :,

Footer.fieldNames : give the field names

Rootnode.endSeparator :'nl'

Try..

/people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter

Regards

Chilla

prasanthi_chavala
Active Contributor
0 Kudos

Hi Ranjan,

Check ur FCC parameters. check whether all the fields are present in FCC parameters or not.

can u post ur FCC parameters?

Regards,

Prasanthi.

Former Member
0 Kudos

Record Structure is PA

PA01.fieldNames PA01

PA01.fieldSeparator '0x09'

PA01.endSeparator '0x0D''0x0A'

Former Member
0 Kudos

Record Structure is PA01

PA01.fieldNames PA01

PA01.fieldSeparator '0x09'

PA01.endSeparator '0x0D''0x0A'

prasanthi_chavala
Active Contributor
0 Kudos

Hi Ranjan,

I think u shud add one more parameter before fieldnames.

ie..PA01.addHeaderLine .

Go through dis link:

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

Regards,

Prasanthi.