Skip to Content

How to notify file transfer completion

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Feb 05, 2013 at 09:37 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 05, 2013 at 10:08 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 05, 2013 at 10:30 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded