Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Using change pointers for Process orders

Former Member
0 Likes
1,895

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.

3 REPLIES 3
Read only

Former Member
0 Likes
1,040

Hi,

Change pointer can be used, but I would have use a plaint BAdI (new BAdI WORKORDER_UPDATE).

Read only

0 Likes
1,040

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.

Read only

0 Likes
1,040

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