cancel
Showing results for 
Search instead for 
Did you mean: 

How to Ignore Last Record through FCC in SFTP Adapter in Sender CC

Former Member
0 Kudos

Hi Experts,

I have a file to file Interface.

File  (SFTP) ----> PI ------> File (SFTP)

I have source file

512345 | John | Steve | Engineering | | Chicago | USA

512456 | Jacob | Mathew  | Software | | Texas | USA

512788 | Steve | Joseph | Network | | Memphis | USA

T | 4

I want to ignore the last record (T | 4) through module bean(FCC) in SFTP adapter in sender communication channel.

Is there any parameter in module bean to ignore last record instead of ignoring in message mapping.


Note : There is no key for detail and trailer records in source file.


Please help me out.

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

ambrish_mishra
Active Contributor
0 Kudos

Hi Ram,

I don't think there is a standard module to do this.

the below thread might help you read the file though.

http://scn.sap.com/thread/3162033

You will need to ignore writing this record if you are doing message mapping.

Cheers,

Ambrish