cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a file with content conversion

Naama
Participant
0 Kudos

Hi all,

I have a scenario in XI which i create a file in it,

I want to create the file with the content conversion option but with no field separator.

I have an error message - "File adapter receiver channel is not initialized. Unable to proceed: null" if i don't use the fieldSeperator option.

I don't want to use this option, I want the file to be created without separators.

Thanks,

Naama

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hello Naama,

I hope ur talking abt Sender FCC.

See either ur input text file should contain fields separator or fields should hv fix length.

Otherwise how XI will separate the values & create XML from it?

I hope u understand.

Thanks,

Mahi

Naama
Participant
0 Kudos

I am talking about Reciever,

I want to create a flat text file (not XML) from the data i have,

and I dont want the fields to be seperated

Naama
Participant
0 Kudos

I have tried according to

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

to add seperator in its ASCII form, for example tab delimiter - ´0x09´

but still I have the string itself as the delimiter.

former_member181962
Active Contributor
0 Kudos

the link clearly states that:

"If you do not make any specification for NameA.fieldSeparator, the specification NameA.fieldFixedLengths is mandatory."

You cannot have a separator with 0 length.

But i still do not understand, how would the target system understand what values correspond to what fields?

Regards,

ravi

Naama
Participant
0 Kudos

according to the sap documnitation,

I can use ASCII charector as field seperator.

and it should work with '0x00'

Former Member
0 Kudos

Hi,

In that case you are expecting a single string with all field values. If this is what you are expecting then define a single field in target strucuture and concatenate the all source fields and map to this single target field. Hope this solves your problem.

thanks,

Vijay Kumar T.

Naama
Participant
0 Kudos

is there a way to put dynamic string in the fieldFixedLengths field

Former Member
0 Kudos

Hi,

As we are using single field in our target structure use fieldNames. No need of fixledFieldLength.

Hope you got what i am trying to say.

Thanks,

Vijay Kumar T.

Former Member
0 Kudos

Use fieldFixedLengths option.

This is mandatory wen fieldSeparator is not used.

Refer

Converting File Content in the Receiver Adapter

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

Converting File Content in a Sender Adapter

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

former_member556603
Active Contributor
0 Kudos

Hi Namma,

Go through very imp blogs:

File Content prameters for the Receiver Adapter

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

File Content prameters for the Sender Adapter

http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm

Refer

File Receiver with Content Conversion

Configuring the Receiver File/FTP Adapter

http://help.sap.com/saphelp_nw04/helpdata/en/95/bb623c6369f454e10000000a114084/frameset.htm

File content conversion sites:

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

Please see the below links for file content conversion..

- FCC

- FCC

File Content Conversion for Unequal Number of Columns

- FCC

Content Conversion (Pattern/Random content in input file)

- FCC

- FCC - MDM

Thanks,

Satya Kumar

former_member181962
Active Contributor
0 Kudos

Yoy have to go for Fixed length option in FCC, if you do not want any separators..

Regards,

Ravi

Naama
Participant
0 Kudos

but i dont want to use also the Fixed length option, one field can change

former_member181962
Active Contributor
0 Kudos

Then how would the receiving system understand what content is what field?

Naama
Participant
0 Kudos

can i transfer to the field seperator space (0 length)

maybe with it's ASCII character?