cancel
Showing results for 
Search instead for 
Did you mean: 

SFTP File name in receiver channel through dynamic configuration

vijender_p
Active Participant
0 Kudos

Hi All ,

My scenario is IDOC to SFTP scenario and when am generating the file name through dynamic configuration but am facing issue in generating the exact file name .

That means I have to execute file name as XXX_DDMMYYYY.csv but it is replicating as

%File Name% as maintained at File pattern .

And I haven't used any Module configuration for these.

Can you please help out where exactly am doing wrong .


Regards,

Vijender

Accepted Solutions (1)

Accepted Solutions (1)

manoj_khavatkopp
Active Contributor
0 Kudos

Hi Vijendra,

In your SFTP channel change the namespace to : http://sap.com/xi/XI/System/File

It should be same as which you have used in UDF.

Br,

Manoj

vijender_p
Active Participant
0 Kudos

Thanks a lot ,

and what should I have to maintain at the File name Attribute and File Name :

I think we can use Dynamic File Name for that ?

Regards,

Vijender

manoj_khavatkopp
Active Contributor
0 Kudos

Just change the namespace in the reciver channel that's it .

Answers (2)

Answers (2)

Ryan-Crosby
Active Contributor
0 Kudos

Hi Vijender,

Replace %FileName% in your channel setup with passfilename and the DC should work as expected. You will also need to add /File to the end of the namespace designation in the SFTP channel because it does not include that by default.

Regards,

Ryan Crosby

former_member202642
Participant
0 Kudos

Hi Vijendra,

Change the namespace to: http://sap.com/xi/XI/System/File

Have you applied variable substitution?

If not then why are providing filename as "%FileName%"?

Regards,

Aamir

vijender_p
Active Participant
0 Kudos

Hi Aamir ,

Yes am not using any Variable substitution ,

So , Can you assist me what should I have to provide there .

Regards,

Vijender

former_member202642
Participant
0 Kudos

Hi Vijender,

You said you want to generate the file with naming convention as "XXX_DDMMYYYY.csv".

Can you please mention what is 'XXX'?

Regards,

Aamir