cancel
Showing results for 
Search instead for 
Did you mean: 

GetDateTime function sends which date time - sourcefile date time or any other??

Former Member
0 Kudos

Hi All,

We are doing one SFTP to File scenario where we are using Seeburger's SFTP adapter.

Now, we have a requirement to send source file date timestamp attached in filename. But there is no default way provided for the same.

So, we opt for using Adapter Module.

But I am not sure what Date/time is returned by GetDateTime function.

Can anybody help on this & provide solution on how we can get source file date time stamp using adapter module.

Thanks

Neha Verma

Accepted Solutions (0)

Answers (2)

Answers (2)

iaki_vila
Active Contributor
0 Kudos

Hi Neha,

You can add the timestamp from the PI system. You can do with a java function and the ASMA parameters, if you have an ESR development, check this thread http://scn.sap.com/thread/1923430

Regards.

iaki_vila
Active Contributor
0 Kudos

Hi Neha,

Have you tried to use the ASMA parameters and to determine the name of the file at mapping level?, this will be possible if you have ESR development, of course.

Regards.

Former Member
0 Kudos

Hi,

I am able to get filename but i need to add source file date time stamp into it. ANd I am not sure how to do that.

Where should i get source file timestamp from?

Thanks

Neha