on 03-08-2012 4:32 PM
Hello Experts,
My scenario is read the SAP R/3>PI>Different FTP locations based on the plant code.
I need to read the IDOC and convert in to file, But based on 10 plant codes I need to create 10 different files and send 10 different files to 10 different FTP locations.
Pls suggest the solution to how to go about it? Is there any way to dynamically pass the FTP credentials to File adapter?
Thanks
Arun
Please check this link.
http://wiki.sdn.sap.com/wiki/display/NWTech/OneIDOCtoMultipleFilessendingtoMultiplefoldersoftheFTPusingsingleCommunicationChannel(SAPXI-PIProcess+Integration)
the last point will explain how to pass the multiple files to different folders.
Edited by: Naresh Nelapatla on Mar 8, 2012 5:48 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Depends on the requirement. In addition to different FTP server credentials, the directory structure for each server to handle might be different. So you need to use 10 different File channels. Design receiver determination based on the context object (PLANT field value) and decide the appropriate target file receiver. This is one way to implement.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if it is going to be different FTP servers, then the best way will be to use conditional routing and call multiple adapters.
Else if only you need to change the path and file names you can used dynamic configuration and ASMA parameters
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.