on 10-21-2014 7:16 AM
Hi All,
Scenario: IDoc to XML File
PI version :7.31
Processing Type: Local Processing
I have a requirement to create a file at target directory in a interval of a minute.
e.x: if ECC triggers 5 Idoc at the same time, PI has to create 5 XML file at the target directory in a interval of a minute for each file i.e process first file to target directory and wait for a minute to process second file and so on. file can be processed at any sequence.
Regards,
Mani
Make QOS as EOIO.
You could try using an OS script in the file sender channel to do `ls -l | tail -1` before a message is created.
use serialization using BPM to send files in sequence.
refer below links.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mani,
Regards
Varun
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.
Hi Uday,
The Requirement is , PI need to write only one file in the target directory at a time, if PI process 3 messages then 3 files should be created at target in 3 minutes with the interval of a minute per file.
according to your suggestion, If ECC triggers 5 IDoc then scenario one will create 5 files in the directory and second scenario will pick all these 5 files at one shot and write it at target directly at the same time.
(Requirement is to create a file at the directory in different interval)
Hello Mani ,
Instead of handling this at PI level . I guess you should handle this as ECC Idoc level witht he help of ABAP team.
They can enhance the logic for idoc creation to create idocs after an interval of one minute and send to PI for processing.
The ABAP statement which can help is ; WAIT UP TO 60 SECONDS.
Thanks
Gaurav
Hi Mani,
I don't think there is any standard option or config available in channel to achieve this. Btw what is the reason for processing the files exactly after 1 min?
If its not so critical, you can use the standard config options in the Receiver channel itself..like Add Counter / Add Time Stamp options inorder to differentiate the files.
Configuring the Receiver FTP Adapter - Advanced Adapter Engine - SAP Library
Also you can add Idoc numbers to the filename using Variable Substitution / ASMA configs, if required.
Regards,
Azhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.