cancel
Showing results for 
Search instead for 
Did you mean: 

FCC at receiver side

Former Member
0 Kudos

Hi

I am doing FCC at receiver side. It is a fixed length, pipe separated FCC.

Last filed is 25 in length and is blank. When I download the output text file, last field with 25 blanks is not coming. (As it is blank).

Please provide me the solution so that last field gives 25 blanks.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Senhal,

Use the function Map with Default and give 25 spaces in it in order to achieve the desired requirement.

Regards

Ravi Anand

Former Member
0 Kudos

Hi Ravi

"Use the function Map with Default and give 25 spaces in it in order to achieve the desired requirement."

I have used that only.

But as this is the last field in the file it trims out all the blank spaces.

is there any option to seee all the blank spaces

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

are you sure that the field has the 25 blank spaces as result of mapping?

are you ussing fieldFixedLengths or fieldFixedLengths

could you provide the FCC parametes you configured in the Channel?

Former Member
0 Kudos

Hi,

Please conform first it is a fixed length or | seperated file.

It is a fixed length, pipe separated FCC.

By default all the blanks present in target XML will also come to file... it will not trim out.

So open in word pad or MS-Word, u will see the blanks.

Can u provide with the FCC u r using at receiver...

Babu

Former Member
0 Kudos

Hi Babu,

It is both fixed length and Pipe separated file.

When last filed of the text file comes blank.It trims all the blank spaces.

I need to have a text file and not word. even if I open the document in word, it does not show all the blanks.

former_member208856
Active Contributor
0 Kudos

take the help for Receiver FCC from the link :

http://help.sap.com/saphelp_rc10/helpdata/en/0b/9a50465ccf84479e39a6d50c90fb3f/frameset.htm

You can pass Constant 25 Spaces in Graphical mapping.

Give condition IF Source field is not Exists

OR Source field is BLANK.

Pass the value of Constant 25 SPACEs in Target Field.

Former Member
0 Kudos

Hi Sandeep,

I ahve tried ur logic. But it does not work.

It still does not give 25 balnk spaces in the output text file.

former_member208856
Active Contributor
0 Kudos

Check the target XML in SXMB_MONI also, what is the status of that field, it has Blank space for 25 character or not.

Make changes in Mapping accordingly.

Former Member
0 Kudos

I have made the changes in my mapping. In the Queue (Display Queue option), output iof that field shows 25 spaces.

But in MONI, it dos not show 25 spaces for that field. OS in the text file also 25 spaces does not come

former_member208856
Active Contributor
0 Kudos

Check the type of that field, it should be STRING type.

Former Member
0 Kudos

Hi Snehal,

Did u specify the lengths of each field in the Content Conversion Tab ? If u specify the length of this last field in the content conversion as 25 then you will get 25 blanks in your output flat file.

Regards,

Sarat

Former Member
0 Kudos

HI Sarat,

I have mentioned length 25 in FCC.

Former Member
0 Kudos

Hi Snehal,

Are you able to get the 25 blanks now ?

Regards,

Sarat

Former Member
0 Kudos

No.

I am not getting it.

But reason may be in downloading the file.

I am doing it from SXDA_TOOLS.

Former Member
0 Kudos

USe the function mapwithdefault and give 25 spaces and map it to target field.

chirag