cancel
Showing results for 
Search instead for 
Did you mean: 

Sender FCC help

sahithi_moparthi
Contributor
0 Kudos

Hi All,

 

          i'm working on file-IDOC scenario,Using FCC as a sender.My structure is very simple.Source structure have 10 fields.The structure is:

    Field1 -10

    Field2-1

    Filed3-10

    Field4-1

    Filed5-10

   ........

   Field10-1

   But in mapping i have to map filed2,filed5 to the target.

My question is how can i identify field2,field5??

can you please provide the parametrs for this??

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member190624
Active Contributor
0 Kudos

Hi Santhoshi,

If u r using parameter field.fieldSeparator then field.fieldFixedLengths is an optional parameter. http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm

Hope above link will help you.

Regards

Hari.

iaki_vila
Active Contributor
0 Kudos

Hi Santhoshi,

You can use the file content conversion and to denomine each file field with a name, for example the names that you are mentioning later the mapping will be very easy  to do.

I show you here an example with two fields, you can do the same with your ten fields, pay attention to fieldSeparator parameter, if you have another you should put the value correct or to use the parameter fieldFixedLengths if each field has always the same length:

Regards.

sahithi_moparthi
Contributor
0 Kudos

Hi,

Thanks for your reply.

  But they have not mentioned the field length for field 9.So how can i acheive by using fixed field lengths.

iaki_vila
Active Contributor
0 Kudos

Hi,

Have you tried with?:

field9.fieldSeparator = 'nl'

field9.endSeparator = 'nl'

'nl' is the represantion for null.

Regards.

zameerf
Contributor
0 Kudos

Hi Santhoshi,

This is very basic File Content Conversion in Sender File Adapter.

Please refer below SAP Help.

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

When you say

    Field1 -10

    Field2-1

    Filed3-10

    Field4-1

    Filed5-10

I guess you have mentioned the length of field above, so you have to go with NameA.fieldFixedLengths option as per SAP Help. So that all your fields will be constructed into proper xml and then you can simply map Field2 and Field5.

Try out and let us know if you encounter any specific issues

-Zameer