on 06-11-2013 5:24 PM
Hi Experts,
We are working on a requirement to place the same file from source to target without ESR part as no mapping involved. It's a file to file bypass scenario.
Issue that we have seen as below:
If we get filename say "ABC.txt" from sender system then we need to create filename as "ABC_Process.txt" at receiver.
But using dynamic configuration and ASMA parameters. we are getting resultant filename as ABC.txt_Process.txt
Need to know is there anyway to create required filename without mapping and no ESR objects.
i.e replacing ".txt" from sender filename with "_process.txt"
Here: "_process.txt" is a constant term used in receiver filename.
Regards
Deepak
Done it through Java mapping....
using below link for coding:
http://wiki.sdn.sap.com/wiki/display/XI/Dynamic+file+name+for+pass-through+scenario
S@p Technic@l : http://saptechnical.com/Tips/XI/ASMA/Index.htm
Used dummy Data types , message types and SI out and SI in to put Java mapping.
Regards
Deepak
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Deepak,
You have your answer in the below thread.
http://scn.sap.com/thread/3373138
Inside this you have http://scn.sap.com/thread/1609007 this is the solution I would recommend since it is simple and straight forward.
Hope it helps!
Ambrish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Deepak,
I suggest to get in touch with Basis team in your project who can modify the script suggested in http://scn.sap.com/thread/1609007 to suit your requirement.
Hope it helps!
Ambrish
Hi Deepak,
you can achieve this by using custom adapter module. Please let me if you want to go with this approach so that i can write code and publish the same.
Regards,
Loordh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Loordh,
Please share Custom Adapter Module and process to deploy the same.
I am looking if we can acheive this with OS command.
We are using Windows as OS.So need to know what OS command at receiver channel will work for my requirement.
I am not sure about OS Command syntax also.
Regards
Deepak
Hello,
Refer this:
IMO, creating a AM is a better option than OS commands...but choice is yours
Thanks
Amit Srivastava
User | Count |
---|---|
87 | |
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.