cancel
Showing results for 
Search instead for 
Did you mean: 

Need to remove last record in SFTP FCC.

Former Member
0 Kudos

Hi Folks,

I am doing FCC for SFTP through adapter module, in my message type i have two structures Record, File but i want to remove structure 'File" during runtime.

Please suggest how to proceed further.

Thanks,

Venu.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Venu,

Are you doing the FCC on the sender side or the receiver side? Can't you ignore the File structure in the mapping itself so that it doesn't get into the channel?

Regards

Charan

Former Member
0 Kudos

Hi I have added this structure in mapping and i need to suppress it at receiver side, as mine is a multi mapping so for dynamic file configuration i am using variable substitution method for which i have added this field in another structure, i need to be remove this from final output.

Thanks,

Venu.

Former Member
0 Kudos

Hi Venu,

You don't need an additional field(File, in your case) in the receiver structure to dynamically set the filename. You can instead use the Message Type Root node or even the Record node in your structure to set the filename.

Refer the section "Adapter-Specific Message Attributes and Dynamic Configuration" in the below link.

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

There are lot of examples other than the above link. Let me know if you require further inputs.

Regards

Charan