cancel
Showing results for 
Search instead for 
Did you mean: 

Customizing Time Stamp In Receiver File Adapter

Former Member
0 Kudos

Hi,

I am working in a XI to file adapter scenario.

The default time stamp in receiver file adapter is yyyyMMdd-HHmmss-SSS.

I want to time stamp as "ABC_MM_DD_YYYY_HH_MM_SS".

i searched SDN,but not getting an end to end approach.

Like...I developed a UDF ,but when I map it to receiver root node..I am getting error.

Please help.

Just request for a step by step procedure.

Also,ASMA is not v clear to me......

Plzzzzzzzzzzzz help!!

Regards.

Accepted Solutions (0)

Answers (2)

Answers (2)

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

hi,

Use variable substitution. but take in mindo you will have to modify your current structure.

http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm

/people/jin.shin/blog/2007/04/27/sap-netweaver-xi-variable-substitution-with-adapter-specific-message-attributes-via-dynamicconfigurationbean

former_member182004
Contributor
0 Kudos

Hi sriparna,

The timestamp used by the File Receiver Adapter is a default pattern, to achieve that you have to use a UDF in the middle of the MM and set the receiver file name with the ASMA, read this for further information:

________________

´´´´ Dynamic Configuration vs Variable Substitution - The Ultimate Battle for the File Name

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

It really helps,

regards,

Juan.

former_member182004
Contributor
0 Kudos

It's not necessary at all to use Variable Sustitution, because you have to modify your current structure.

Just use the Dynamic Config. feature, and you'' can modify your time stamp without modifying anyhing.

Regards,

Juan.