‎2010 Oct 19 12:36 PM
Hi Experts,
We have a requirement where we need to send idocs when a process order is changed. Since process order data is a transactional data, can we still use change pointers?
We tried using the message type LOIPRO and it is giving an error saying that this message type cannot be sent with change pointers.
Can anyone guide me with the process and steps to get this done?
Thanks.
‎2010 Oct 19 12:52 PM
Hi,
Change pointer can be used, but I would have use a plaint BAdI (new BAdI WORKORDER_UPDATE).
‎2010 Oct 19 2:53 PM
Thanks. But could you tell me how can we use change pointers? I am getting an error saying LOIPRO message type doesnt go with change pointers.
Also, in the BADI which interface do i need to use as I need the data once the process order is completely saved or changed and not in between.
‎2010 Oct 19 3:17 PM
For change pointer, you would have to deligate the business object with t.code SWO1. To handle it, it would take too much time to explaint.
If you use the BAdI, and call function in this way : " CALL FUNCTION 'FUNCTION_NAME' IN BACKGROUND TASK AS SEPARATE UNIT EXPORTING ....." the function would executed only after commit (when you call the funtion, it holds in a queue for commit. In roll back, it get disapeared).
User method in_update from the BAdI.
Edited by: Lior Tabib on Oct 19, 2010 4:18 PM
Edited by: Lior Tabib on Oct 22, 2010 7:27 PM