cancel
Showing results for 
Search instead for 
Did you mean: 

Removing time stamp From File name.

0 Kudos

Hi ,

I have a scenario where i need to remove the time stamp from the file name using some module bean  .

Sender channel is picking two files with following names (Adapter used SFTP PI 71.11)

ABC01092015.001.XML

ABC01092015.002.XML

Now i want to place both the files at 1 directory using a single receiver channel (File adapter )with following names

ABC001.XML

ABC002.XML

So what i am looking for is some module which can help me remove the time stamp(01092015.) from the file name and then by using ASMA i can place both the file at 1 directory .

Accepted Solutions (0)

Answers (1)

Answers (1)

pvishnuvardan_reddy
Active Contributor
0 Kudos

Hi Ankit,

I assume you don't have any ESR part, hence you are asking for module for the requirement.

Can you check the below links:

Dynamic file name for pass-through scenario - Process Integration - SCN Wiki

Dynamic file name in a File to File pass through scenario - Code Gallery - SCN Wiki

0 Kudos

Hi Vishnu ,

Thanks for your suggestion

Yes we are not using ESR part and hence i have to go with module processing  , and also in my case i cannot have custom module for my requirement what i need is some standard module which can  meet my requirement .

pvishnuvardan_reddy
Active Contributor
0 Kudos

Hi Ankit,

Can you check the below links if these can help you in this regard:

Adding DynamicConfigurationBean in the Module Processor - SAP NetWeaver Process Integration - SAP Li...