on 12-24-2014 5:57 AM
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
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.
Thanks
Abhay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please try write the receiver file in Append mode.
Thanks,
Sudhansu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use option 2 for the below link
More with the File Adapter - Process Integration - SCN Wiki
As per suggestion, you can do one thing..
1. Collect all the IDOCs in ECC at a time using back ground job and sent to PI.
Option2:
Create a file using the date field of IDOC and work out the mapping to create a message based on Date.. if date is differ then create a new file in the folder. Meanwhile store the files in separate folder with append mode. again create on more interface i.e. file to file to collect all the files in the temp folder and send in the single file to the target folder.... Here you can maintain ATP as a daily basis for sender communication channel.
Thanks,
Sreenivas
Hi Dubey,
My few cents..
You need to create ESR objects with 1:1 mapping / pass through for (Source to target) and pass the File name dynamically from MM. You can use the Standard Date Functions in Graphical mapping to get date in required format and pass it to Receiver using Dynamic Config (UDF) as shown in following blog:
Use the option: Adapter-Specific Message Attributes and Dynamic Configuration
In the Receiver File CC, check the options for ASMA and file mode = Append.
Regards,
Azhar
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
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
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.