on 10-09-2013 5:38 PM
Hello All,
I have a scenario to change the file name ex: OPER_XXXXXX_TRACK.fld.YYDDMM, where XXXXX value changes dynamically.
the output of the file name should be OPER_XXXXXX_TRACK.fld i.e with out having the YYDDMM,
is this possible using (Adapter Specific Message Attributes = ASMA)
or do we need to build a custom adapter module?
This is a ftp Communication Channel and no ESR development.
George.
Hello,
No, it's not possible to change file name dynamically using ASMa attributes only.
So now, u have 3 options:
1) Java mapping
http://wiki.scn.sap.com/wiki/display/XI/Dynamic+file+name+for+pass-through+scenario
2) Adapter module
3) Script
Thanks
Amit Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thank you all for the suggestions, we solved it writing an adapter module
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Write UDF in message mapping and construct the File name based on your requirement , then enable ASMA attribute in channel.
this is the best way to define the file name dynamically.
Post here your file name requirement exactly.
Regards,
Manigandan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi George
The easy way would be create two dummy interfaces and create one opertaion mapping and message mapping in ESR.
Inside the mapping write a simple UDF to change the file name.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.