Skip to Content
avatar image
Former Member

How to collect payload in pass through scenario.

Hi,

I have a pass through scenario where Sending side is IDOC whose payload I as am writing in a XML file using file receiver adapter.

Now I want to collect payload for full day and create one single file for the day.

Is this possible in pass through scenario.

Regards,

Sachi

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Dec 24, 2014 at 06:10 AM

    Hi,

    Please try write the receiver file in Append mode.

    Thanks,

    Sudhansu

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      One of option could be writing a script at the OS level to move the file to desired directory which gets triggered at specific point of day(in unix scheduling a cron job). But here you won't have control from PI.

      Cron - Wikipedia, the free encyclopedia

      You could have a look at other options like Availibility Time Planning if you can create a new dummy interface which picks up the file at end of the day and move to a specific folder.

      Thanks,

      Sudhansu

  • Dec 24, 2014 at 07:37 AM

    Hi Sachi,

    Please go through below links. It has given multiple options you can check which one is best suitable for you. In second link you can schedule daily job to collect IDoc generated in that particular day. So single message will be shown in PI and can be converted into file.

    XI/PI: Collecting IDocs - possible ways with pros and cons - 5 ways

    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30ea2fdf-f047-2a10-d3a2-955a634bde6b?overridelayout=t…

    Thanks

    Abhay

    Add comment
    10|10000 characters needed characters exceeded