cancel
Showing results for 
Search instead for 
Did you mean: 

SFTP source file name to be at Target Feild of Inbound IDOC

0 Kudos

Hi,

My scenario is SFTP to IDOC at SAP PO 7.5 Version

I want to get the exact file name which partner is placing at SFTP to a target field in Inbound IDOC.

Ex: SFTP has file ABCD30012020.csv then this name should pass to target field, file name varies at source SFTP.

Do we have any UDF, please share the code also any another solution.

Regards,

Mohit Dua

Accepted Solutions (0)

Answers (2)

Answers (2)

JayChan
Active Participant
0 Kudos

Hi,

Following link provide exact steps & API name you need

http://saptechnical.com/Tips/XI/ASMA/Index.htm

former_member190293
Active Contributor
0 Kudos

Hi!

Just like in case of using File/FTP adapter, you're able to save source file name to Dynamic Configuration using Adapter Specific Message Attributes section of SFTP Sender channel properties. Further you can access it using standard API provided by SAP (either using graphical message mapping or Java/XSLT mapping).

Regards, Evgeniy.