Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

to get same timestamp for two different files

$
0
0

Hi Experts,

   I have a situation here. SAP PI is generating two files, one .txt and other .xml file. data fields are completely different in both the files.

 

I have written a udf to get the date and timestamp (yyyymmddHHmmss)  appended to the file name . for e.g Filename_timestamp.

 

Now both the files are getting generated with a difference of 1 sec.

 

My requirement is to get the same date and timestamp for both the files.

 

I assume, if we create a global variable in one mapping and then use the same in another mapping, then its possible.

 

please help me out here.

 

 

Regards

Veeru


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>