cancel
Showing results for 
Search instead for 
Did you mean: 

Disable/grey out delete button in CO02 and CO03

tejaswir_7
Explorer
0 Kudos
630

Hi all,

I have a requirement that is to disable delete button in production order for t-codes (CO02 and CO03) when status codes are I0045 and I0046 by getting production order details from status_read function module.

Where i need to write logic and which enhancement technique i need to perform can anyone please suggest.

attaching the requirement details and screen for further reference.

Accepted Solutions (0)

Answers (1)

Answers (1)

raymond_giuseppi
Active Contributor
0 Kudos

If you are unsuccesful with (FAQ) BAdI GOS_SRV_SELECT to disable delete option (but would disable edit also?) or GOS_SRV_REQUEST to intercept standard methods execution, you could look for an implicit enhancement in method SET_TOOLBAR of CL_GOS_ATTACHMENTS.