cancel
Showing results for 
Search instead for 
Did you mean: 

Trimming Time Stamp in File Name using IC

Former Member
0 Kudos

Hello,

scenario is File to File without mapping. We are using Integrated configuaration to achieve this.

Issue is on target side file name is being written as xyz.ddmmyyyy-ssssss

but we need to eliminate milliseconds and need target file name as xyz.ddmmyyyy only.

any inputs on how to achieve this please? I am struck here as we cant use UDF since we do not have mappings.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

RaghuVamseedhar
Active Contributor
0 Kudos

Hi,

Implement solution proposed in this [Link|http://wiki.sdn.sap.com/wiki/display/XI/Dynamicfilenameforpass-through+scenario].

Regards,

Raghu_Vamsee

Answers (3)

Answers (3)

Former Member
0 Kudos

I saw this link Raghu...My requirement is to pick up three files simultaneously and rename three files....can we achieve his with JAVA mapping? please advice .

anupam_ghosh2
Active Contributor
0 Kudos

Hi,

The java mapping code will execute as many times the scenario runs. Although if 3 files are being picked up simultaneously mapping would run for each one of the files. So you can use java mapping safely.

regards

Anupam

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

Aside from scripts, you can use an adapter module to fulfill your requirement:

http://wiki.sdn.sap.com/wiki/display/Snippets/DynamicfilenameinaFiletoFilepassthroughscenario

Hope this helps,

Mark

Former Member
0 Kudos

Hi,

Use a unix script and simple rename the file. Or you can use the unix script to trim of the milliseconds.

Regards

Krish