Application Development 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: 

doc for CO_BT_CAUFV_UPD CO_BO_OPR_OF_ORDER_GET CO_BO_UPDATE_OPR_OF_ORDER

Former Member
0 Kudos

We are trying to use the functions mentioned above ( CO_BT_CAUFV_UPD CO_BO_OPR_OF_ORDER_GET CO_BO_UPDATE_OPR_OF_ORDER ) in a user-exit (SMOD IWO10009 with function EXIT_SAPLCOIH_009).

I have seen an example of how they are used, but we'd like to know more about these functions.

The example does its job (I suppose), but our requirements are slightly different.

It seems there is an entire family of them, probably well-designed, but I cannot find any documentation.

Can anybody give me any clues?

It looks like they're supposed to be called in the context of the user-exists of PM (PM-orders, maybe also PS-orders and CO-orders), which is why I am posting this in the "ABAP Development .. Enhancements and Modifications" forum.

Maybe they can be called outside of such a context, too?

4 REPLIES 4

Former Member
0 Kudos

Hi Peter,

I am facing the scenario, where i have to change the Order using IW32, and by using the plant, floc, and order type, I call the Z Function module. I have to change the N/w, Activity, Sched_Type, Start_Date and Finish_Date.

Can you suggest me where i have to write this piece of code, mean in which User Exit or anywhere other (Badi, etc... )

Regards,

Manju

0 Kudos

If you are looking for a user-exit that is called by IW32, this is one of them.

We're talking about SMOD IWO10009, which contains function module EXIT_SAPLCOIH_009 (not a Z function module). The code for this function module in written in ABAP-include ZXWOCU07 .

0 Kudos

[V2 of my reply]

If you are looking for a user-exit that is called by IW32, this is one of them.

We're talking about SMOD IWO10009, which contains function module EXIT_SAPLCOIH_009 (not a Z function module). The code for this function module in written in ABAP-include ZXWOCU07 .

Within user-exit ZXWOCU07 (function EXIT_SAPLCOIH_009, SMOD IWO10009), it is possible to update fields of the order header with function CO_BT_CAUFV_UPD.

You can also retrieve the operations with function CO_BO_OPR_OF_ORDER_GET and update them with function CO_BO_UPDATE_OPR_OF_ORDER.

0 Kudos

Thanks a lot peter.. that solved my problem.

I am sorry, i was not able 2 give points..... (truly)

There is one more issue...

How can we change the Status of an Order, using CO_BT_CAUFV_UPD in the same user-exit? Is it safe / alternative for changing status of an order while saving via IW32.

Regards,

manjunatha