cancel
Showing results for 
Search instead for 
Did you mean: 

FCC in Receiver SFTP

0 Kudos

Hi,

Using one of the latest updates: SFTP -> SP04 Patch 36.

SFTP Receiver FCC is supported.

I'm working on this scenario with Idoc to File.

xml structure:

FCC:

The output is:
CC8898;56

The output should be:
CC8898;

Any pointers why this is not working as expected ?

Br, Martin

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

if you want only batch in output, then remove the quantity from your receiver message.

Or you can unmap the qty in message mapping.

0 Kudos

Yes, but way is not the MyRecord.fieldNames working as expected?
( I also need some data from this structure like <Filename> and <Directory> that should be mapped but not in output.)

I know that FCC in SFTP is kind of new, but they sure should have this kind of support.
Br, Martin

Former Member
0 Kudos

Where did you get this information on fieldnames parameter can be used in receiver side.

I am not sure if you are aware of fieldnames parameter. This parameter is used in sender side to convert flat file to xml file.

fieldnames is not applicable to use in receiver FCC.

https://help.sap.com/saphelp_nw73/helpdata/en/44/686e687f2a6d12e10000000a1553f6/content.htm

( I also need some data from this structure like <Filename> and <Directory> that should be mapped but not in output.)

This can be achieved via dynamic configuration or variable substituion.

https://wiki.scn.sap.com/wiki/display/XI/Dynamic+file+name+and+directory+in+Receiver+File+Adapter+-+...

0 Kudos

You are right, Thx !
/Martin

Answers (1)

Answers (1)

former_member190293
Active Contributor

Hi Martin!

This is the way FCC works in receiver adapter. It outputs all elements of recordset regardless to fieldNames parameter. So you have to remove unwanted elements from your message before its processing with FCC or MessageTransformBean.

Regards, Evgeniy.