on 12-06-2012 3:07 PM
Hi Experts,
I have a scenario in which PI is only being used to pick and droop the files from ECC to PI file server.
The issue is:
There are multiple folders created in source and target side according to each bank.the folder srtucture is similar in ECC and PI except the directory name. ex: in ECC it is /dataload/D1E/110/interfaces/SWIFT/BANK_NAME1/outbound/ready and in PI its: /dataload/D1P/110/interfaces/SWIFT/BANK_NAME1/outbound/ready.
Also the file name will be dynamic.
PI needs to pick the files from each folder from ECC and place them in respective folders in PI file server.
I understand that the sending can be handled using "Advanced Selection of Source File" . Kindly suggest how to handle the receiving of files. can it be handeled using ASMA or variable substitution ?
Thanks,
Pankaj
Hi Pankaj,
If you are not performing any Mapping / Transformation of the source file to xml, you cannot use Variable Substitution. You can go for ASMA but again you can use the Sender File name to Receiver File Name, not Dynamic.
http://saptechnical.com/Tips/XI/ASMA/Index.htm
You can check the below blog of Java Mapping which can resolve your issue for Bypass interface.
http://wiki.sdn.sap.com/wiki/display/XI/Dynamic+file+name+for+pass-through+scenario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
U have to dynamically set ur receiver directories using java mapping or adapter module code.
Slightly adjust ur code, add if/elseif conditions and depending upon the source directory name set target directories.
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.
Hi.
You need to use ASMA , active the option on CC , source and target directories,
also is necessary create an UDF to get the source directory and point out the target directory.
You can check this page and use for UDF.
http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=95093307
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.