on 10-06-2014 4:20 AM
Hi All,
We are currently working in SAP PI 7.3. We have requirement in which we have to create 2 files in the same location with different extension.
We have ASMA being used in our file name creation, hence we will have time stamp in the file name. Since the data in each files are different we have two mapping involved in our scenario.
Since we have two mappings involved, the files are created in different timestamps. But we need the file names to be same. Kindly help us on this.
Regards
Suganya.
HI Suganya,
If you have the two mapping in the same operation mapping you can share a variable between them with dynamic configuration (Adarsh Dhingra'blog ). You can get the timestamp machine a to share the same value between the two mappings.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suganya,
There is no necessary to have the same structure. If you check the code you can notice that it is using a goblal variable to put and later to get the value. You can retrieve the time machine timestamp in one UDF and put it in this variable in the next mapping you can get this value independently of you XML structure.
Regards.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.