cancel
Showing results for 
Search instead for 
Did you mean: 

File receiver communication channel

Former Member
0 Kudos

Hi All,

I am working on a IDOC to FILE scenario. In my target structure I have 10 fields. I need to transfer only 9 fields to my file.

I am using the 10th field to hold the file name, which is used in the variable substitution in the receiver file communication channel.

Kindly advice how to not to send 10th field.

I am using the following parameters in content conversion: (1) fieldSeparator, fieldFixedLengths

This is a multi mapping scenario, where a IDOC will generate 10 files (So I cant use dynamic configuration for file names).

Thanks & Regards,

Navneeth K.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Navneeth,

Please refer the below blog:

/people/sravya.talanki2/blog/2005/08/11/solution-to-the-problem-encountered-using-variable-substitution-with-xi-sp12

You have to use fixedLengthTooShortHandling parameter.

-Supriya.

Former Member
0 Kudos

Thanks Supriya.

I will implement the blog and post my observation soon.

Answers (2)

Answers (2)

former_member208856
Active Contributor
0 Kudos

When we are working on FCC scenario, we have to use Fixedlength OR fieldSeparator.

For fields separator, pass one fieldseparator at the end of line.

For fixedlength, pass the single space value in file & give length 1 in CC.

Former Member
0 Kudos

Just declare the fieldFixedLengths as 0 for that field in FCC.

Former Member
0 Kudos

I tried doing that. It gave error in RWB. Since say for example field content is"abc.txt", the error says field length > 0.

Former Member
0 Kudos

Lets say your field name is FIELD1, so add below parameters in your FCC..

FIELD1.fieldFixedLengths = 0

FIELD1.fixedLengthTooShortHandling = Cut