on 01-24-2012 6:36 AM
Hi experts,
I am working on a proxy to flat file (Append mode) scenario.
Data is coming from a BW system and the vloume is huge ( lakhs of records ) ....
My question is If I ask the ABAP guys to spilt the data into batches and send it to PI, Is there a possibility that while PI is writing the first batch of data into the flat file ....another batch of data comes from BW and PI parallely starts APPENDING those records as well in the flat file.....
My concern is because the flat file will be in append mode...Also can I have some suggestions on the design
Hi ,
Select EOIO processing and append mode in communictaion channel and go with yur approach
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi hema, Raj,
maybe I'm wrong (perhaps) , but for me there is neither EOIO option in a Sender Proxy CC (XI adapter), nor in a Receiver File adapter... So...
Here's a solution to chunk proxy messages to a file (a litle complex): [blog 19478|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/19478] [original link is broken] [original link is broken] [original link is broken];
Moreover, if you want to send proxy from Abap (BW) to PI, by specifying an EOIO mode, you can do it in Abap:
* create proxy client
CREATE OBJECT lo_clientProxy.
* specify queue id
lo_async_messaging ?= lo_clientProxy->get_protocol( if_wsprotocol=>async_messaging ).
lo_async_messaging->set_serialization_context('YourQueue').
TRY.
CALL METHOD lo_clientproxy->YourMethod
EXPORTING
output = YourOutput.
COMMIT WORK.
CATCH cx_ai_system_fault INTO lo_sys_exception.
* Error handling
ENDTRY.
Mickael
hi Hema,
yes you can use directly this blog "4224" if you have a PI 7.0, but use my code if you have a PI 7.1 or PI7.11, coz "asynch" method has not the same name...
note: the blog 19478 is to know and to give the target file to third-party only when this file is complete. with an Append mode, you never really know if the appending is finished or not. So that depends of your needs.
Mickael
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.