on 09-28-2015 11:10 AM
Hi,
I working on a OB(Payment Order) scenario ECC--PI--Third party(SFTP). The output file is been compressed and sent to the target. The output file has to be sent to different receivers/folders based on "BIC" Value".
Ex: If BIC value is "APJ" then it has to be placed in PO/APJ folder and if BIC Value is "EMU" the it has to be placed in PO/EU folder.
How can this be achieved and should we need a separate channel for differet SFTP folder.
Hi Vijayan,
In File receiver we can use variable substitution to find directory name based on content but i am not sure if this will work for SFTP.
refer the below reference for File
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you already have a mapping -- you can create a udf and assign the dynamic value for directory in the mapping..[ if seeburger sftp use the below code.]
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey dirValue = DynamicConfigurationKey.create( "http://seeburger.com/xi/SFTP", "dtSFTPBaseDir");
conf.put(dirValue, sInput); // where SInput is the dynamic value from Source BIC
return "";
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Refer below link.
http://scn.sap.com/docs/DOC-58827
The above document explain completely the Step by Step process in creating Dynamically target folder using JAVA mapping with SFTP adapter.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.