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: 

Getting object list change at save in IW31

Former Member
0 Kudos

Hi,

I am not able to found an exit / enhancement to get the object list change in IW31.

I know that table RIWOL[] contain the information with field dbknz = 'D' or 'I' at save.

Did you know any exit or enhancement I can use ?

Thanks

4 REPLIES 4

NTeunckens
Active Contributor
0 Kudos

You could make use of the BADI "WORKORDER_UPDATE" (there's an "AT_SAVE" method).
Another option is making use of UserExit "EXIT_SAPLCOIH_009" ...

Try fetching "RIWOL"-data using "IWOL*"-FunctionModules ("IWOL_CALL_OBJECT_LIST" / "IWOL_GET_BUFFER") ...
Using BAPI "BAPI_ALM_ORDER_GET_DETAIL" will also provide the ObjectList in "ET_OLIST" ...

Hope this helps

Nic T.

raymond_giuseppi
Active Contributor
0 Kudos

At which step do you require this information, and for which purpose?

Did you look for BAdI like WORKORDER_UPDATE or IWO1_ORDER_BADI.
Or analyze the flow that call FM CO_ZV_ORDER_POST (in function group COZV prepare save) to FM CO_VB_WRITE_DOCUMENT (in function group COVB save) to find internal tables used by the change document writer.

Regards,
Raymond

Former Member
0 Kudos

Thanks to all of you.

In the BADI WORKORDER_UPDATE I call the FM 'IWOL_GET_OBJECT_LIST_ALL' to get the object list after modification.

It's OK, thanks !

0 Kudos

Could you please update your Post by Closing ...

If not this post still appears unanswered.