on 01-08-2016 8:35 AM
Hi Experts,
We have a requirement like below:
1. Scenario is a File to IDOC (3rd party FTP to SAP)
2.Order Files will be placed in the different folders, these folders are based on the GLN value.
Suppose if the GLN is "9999" then the files will be a placed in directory "/9999/ORDERS/" in the 3rd party FTP.
Every time a new file is created the path get differs
3. Requirement is every time ORDER file is created at 3rd party then the files will be placed in the respective GLN folder path and the PO system has to pick up the files from the directory dynamically.
Now, How to configure the file sender communication channel to get the above the requirement satisfied
Thanks in Advance, for your suggestions
Hello Sai,
You can use Advanced option and configure multiple source folders
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sai
It's almost impossible to achieve this in PI. Even adapter module will not work because the module will be called after the file gets picked up.
Please try to find out why client wants to place the files in separate GLN's and then provide the appropriate solution.
I don't think placing files in separate folders will add any extra value.
Thanks.
Indrajit
Hi Indrajit,
Thanks for suggestion, we have tried to explain our clients about the placing of files in common folder, ,but they want structured placement of files like suppose a ORDER file has been generated, then a background program runs which creates folder based on GLN number with the following structure
GLN Folder
|
|-ORDERS folder
|
|-INVOICE folder
|
|-ORDER Response folder
Now files of ORDERS type will be placed in ORDERS folder and INVOICE will be placed in invoice folder, so that everything can be in structured format.
Now PO has to pick up only the order files based on GLN number.
Thanks
Chaithanya
Hi Sai
At this moment I can only think about the below approach
1. When a ORDER file is generated, the background program should do one more activity, which is write the GLN folder name in any table or look up file.
2. Then in PI create a sender channel and place a dummy file in a static folder. Schedule the channel using ATP in run-time workbench. Then write a java map to read that table to find the GLN folder.
Then read the file inside that folder.
I know this would be hard to implement..but looks like there are no other way.
Thanks,
Indrajit
Hello Sai,
Refer the below links
Planning Availability Times - Process Integration Monitoring - SAP Library
Hi all,
Thanks for your suggestions we have finally convinced client to create common folder as of now, but in future same situation might be repeated.
Regards
Chaithanya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.