cancel
Showing results for 
Search instead for 
Did you mean: 

IW32 - Maintenance work order. Component Status

Former Member
0 Kudos
757

Hi,

In the transaction IW32, Components TAB - if a component is selected and the status(icon <i>) is selected; it takes you to a 'Display Status' screen.

1. I want to know how the system retrieves the current status of the component. Most probably there is a function module which returns the current status of the component.

2. If I 'RELEASE the order', and the component status is checked again, the status is updated to 'REL' Released. Can anyone tell me where and how it is updated. As far as i know, no database tables are updated in this operation.

Thanks and regrads,

Vishal

Accepted Solutions (1)

Accepted Solutions (1)

suresh_datti
Active Contributor
0 Kudos

Hi Vijay,

2. the status is updated via the function call

'CO_IH_STATUS_FM_SET'

JSTO is the table that gets updated

Suresh Datti

Answers (2)

Answers (2)

Former Member
0 Kudos

I can use the structure. Thanks for the valuable input.

But this structure gives the status of the order (header data) and not the component status.

I shall ask the client if he can do with this. But i think the client requires check at the component level.

Thanks and regards,

Vishal.

Former Member
0 Kudos

Thanks suresh.

But the function module 'CO_IH_STATUS_FM_SET' does not exist. I have found a user-exit 'EXIT_SAPLCOIH_009' which gets triggered on SAVE operation. I need to throw a warning message if the status of any of the components is 'REL' (released); Where do i retrieve the status from?? Because the order is not yet saved in the database.

-Vishal.

suresh_datti
Active Contributor
0 Kudos

Hi Vijay,

1. What version are you on?

2. Once in the user exit 'EXIT_SAPLCOIH_009' , pl see if the structure 'CAUFVD' should be available with the runtime data. PL see if you can use the fields 'FLG_FREI'

'FLG_TABG' 'FLG_PARENT' to determine the status of the component.

Good Luck,

Suresh Datti