on 03-09-2010 2:55 PM
Hi All,
I am doing JDBC->IDOC scenario.
The requirement is,the fields from a table needs to be updated in SAP System.Once IDOC is generated successfully in SAP,then all the field values need to be deleted in the database.
Example:If there are 10 records ,then out of which only 6 records are processed successfully and IDOCs are generated,then only those values of 6 records should be deleted from the database and not the remaining 4 record values.
How to go about it?Is there any option available without using BPM?
Please advise.
Regards
B.Dheepa
Hi Dheepa,
Since doesnot support synchronous call the best thing would be to come up with Function module (let the idoc call from this fm) and let it create the idoc and let the fm sends the response back to pi and from there you update accordingly.
Regards,
---Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dheepa,
Following sdn-weblog may be useful for the case as you described,
Link: [PostingMultipleIdocs|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3417500%29ID1932444450DB21171106485548711300End?blog=/pub/wlg/2776]
Though I feel the suggestion by is much better, that avoids BPM's in your scenario.
Regards,
Nipun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
somethign similar was designed as below;
JDBC -> PI -> ABAP proxy
After processing of the records, trigger an outbound ABAP proxy which will have the details of the successful records that you can now delete in the JDBC (ABAP proxy -> PI -> JDBC)
these will be two independent aync processes and no need for BPM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.