on 07-25-2013 3:14 PM
I am using PI 7.3 . We have a file to file scenario (no transformation) where we get 3 types of files with different filenames (Customer.txt , Supplier.txt, Debits.txt) .
Both the sender and receiver system is the same .
Sender : We pick all 3 types of files from one folder in the source.
Receiver : We need to drop the files in their respective folders in the target based on the filename.
Is there any way of doing this without mapping ? I know the dynamic configuration approach, but wanted to know if there was some way without implementing a mapping?
Hi Dev,
I am not sure but you can try like follow:
first pick all the files from particular folder and use ASMA enabled
then in Receiver determination define condition on file name then create 3 Channel for that and root to particular folder
Regards
Gagan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Dev ,
If you are using same Message Mapping , then no need of the condition in Interface determination . Create 3 diffrent commnucation channel with diffrent target directory . It will work fine . if you are using separate mapping for 3 , then condition in interface determination can help you .
Regards
Ritu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dev,
Have u tried using the standard adapter module DynamicConfigurationBean? You can set ASMA without mapping with this standard module.
Check below link
http://help.sap.com/saphelp_nw04/helpdata/en/45/da2239feb22e98e10000000a155369/content.htm
Thanks,
Anand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dev,
You can use ASMA, the only flip side is you will have to define 3 receivers instead of 1 and route them to different directories through different channels (3 receiver agreements)....
With mapping , you have dynamic configuration and variable substitution which will work with one receiver.
Choice is yours.
Ambrish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
A very simple approach in these kind of by pass scenarios is develop adapter module/java mapping...
It would take 15 mins to do so and easy to handle kind of solution:
Adapter module :
Java mapping:
http://wiki.sdn.sap.com/wiki/display/XI/Dynamic+file+name+for+pass-through+scenario
Note- U have to edit the code mentioned above i.e.depending upon the file name set the target folder.
Thanks
Amit Srivastava
Hi Dev,
You can apply condition in Receiver Determination:
Sender File Channel --> ASMA --> FileName
Receiver Determination --> Condition Editor --> Select 'FileName' [context object].
But actually you don't need to create any ESR objects if you also mentioned as Context Object.
Regards,
Nabendu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
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.