cancel
Showing results for 
Search instead for 
Did you mean: 

Add time Stamp format in File Adapter

Former Member
0 Kudos

Is it possible to change Add Time Stamp format ??

If so please let me know the procedure to chnage it..

It is scenario with no mapping so i cant go either Dynamic configuration or Variable substitotion.

Thanks & Regards,

Polas

Accepted Solutions (1)

Accepted Solutions (1)

Shabarish_Nair
Active Contributor
0 Kudos

as a standard way you cannot alter the timestamp format.

Only option is to go for a Dynamic configuration code.

Use a simple java mapping which will take the inputstream and pass it to the outputstream i.e literally no mapping rule is being done on the payload and in the mapping use dynamic configuration to put the timestamp as u want

ref: /people/shabarish.vijayakumar/blog/2009/03/26/dynamic-configuration-vs-variable-substitution--the-ultimate-battle-for-the-file-name

https://www.sdn.sap.com/irj/scn/wiki?path=/pages/viewpage.action&pageid=95093307

Answers (4)

Answers (4)

Former Member
0 Kudos

thnks

Former Member
0 Kudos

you can change the time stamp format by developing custom module.

use getter and setter methods of message property.

prateek
Active Contributor
0 Kudos

There is another way but you won't like it.

That is the use of adapter module to perform this change.

Regards,

Prateek

Former Member
0 Kudos

Hello ,

Can you please name the module you are speakin about.

Thanks,

Boopathi

Shabarish_Nair
Active Contributor
0 Kudos

he meant to write a custom module to do this

there is no standard SAP module available.

prateek
Active Contributor
0 Kudos

It is supposed to be a custom module and thats why I said you won't like it

This could help you with some module coding part

/people/sap.user72/blog/2005/07/15/copy-a-file-with-same-filename-using-xi

Regards,

Prateek

jyothi_anagani
Active Contributor
0 Kudos

Hi,

Add Time Stamp format is hard coded one. you can not change it.There is no possibility for that.

Try with Adapter specific parameters.

Refer this thread for more details.

Thanks.

Former Member
0 Kudos

Hi,

I think you need to assign it dynamically as you cannot change the format for Add TimeStamp

See the below links:

/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14

http://help.sap.com/saphelp_nw04/helpdata/en/43/03612cdecc6e76e10000000a422035/frameset.htm

http://help.sap.com/saphelp_nw70/helpdata/EN/e3/94007075cae04f930cc4c034e411e1/content.htm

Thanks,

Tiny