on 12-16-2015 2:16 PM
Hi Experts,
My requirement is through ABAP proxy PI will get File name and File path. Dynamically I have to place the file in that particular path.
I have used 2 UDF functions for dynamic file name and file path. Where as I can able to place the file in server but not in the path which I am getting from Proxy. It is creating the new directory in the Server by the name of " * " (because I have mentioned the * in File Parameters).
Here the receiver Adapter is SFTP including PGP encryption.
Please find below PI configuration settings and UDF code.
Mapping for Dynamic FileName:
UDF of Dynamic File Name:
Mapping of Dynamic File Path:
UDF of Dynamic File Path:
Please help be to resolve this. Need to Fix this issue ASAP.
Appreciated the quick Reply.
Hope I am clear with Requirement.
Thanks,
Gayathri.
Hi Gayathri,
It is very simple . Whenever you use ASMA with SFTP use namespace of File adapter that is -
In your UDF , change http://sap/com/xi/XI/System/SFTP to http://sap/com/xi/XI/System/File.
It will solve your problem. For reference on UDF code follow -
regards,
Vikas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Gayathri,
As Vikas Mentioned change the namespace from
http://sap/com/xi/XI/System/SFTP to http://sap/com/xi/XI/System/File.
If its not working still,let us know.
Hi,
Try to use the same namespace in Directory UDF which is being used in FileName UDF i.e http:/"+"/sap.com....
Regards,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.