on 02-05-2013 6:13 AM
Hi all,
I've a requirement where n Idocs are being sent from SAP ECC system.
These n Idocs have to be converted to .CSV files and have to be delivered to the target application.
After the n files are completely transferred, SAP PI should send a empty file to notify that the file transfer process is complete.
"n"- n is dependent on the no.of records in the SAP DB table.
How can we achieve this requirement in SAP PI.
Kindly provide your inputs and pointers to propose the best solution.
regards,
Younus
Hi Younus,
Do a multi mapping with two target messages first one is to send the CSV files and second one is for sending an empty file and use maintain order at runtime parameter in interface determination then always after all the CSV files processed the empty file will be sent to the target.
Regards,
Praveen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Younus,
you can do one more thing that if you are using NFS ,
just create a dummy file in some folder after placing a file in your destination folder, use Run OS command to create some dummy file.
then create one more scenario which execute just after placing the CSV file , which work as your ack.
you can use ATP(Availability time planing) for schedule the CC.
Regards
Gagan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Younus,
You can do it as many way.
1/ BPM : Make a BPM, which have a "timeout" for exit condition.
Pro : Timeout ensure you that empty file never created before la iDoc are processed
Cons : it's little sad to use BPM for creating an empty file
2/ Asked to SAP ECC to send to PI an empty or specifiq value iDoc, handle it in interface / receiver determination and send it to another interface, mapping and make you empty file
Pro : light and fast to implement
Cons : If you using a big iDoc, you may have your empty file create before last iDoc has finished to being processed
Regards,
Guislain
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.