cancel
Showing results for 
Search instead for 
Did you mean: 

QA11 Blocked stock field as uneditable

Former Member
0 Kudos

Hi,

Can any one tell me how to disable the blocked stock field ( In inspection lot tab of QA11 transaction )

for input based on PO item category ? Is there any user exit or Badi for that ?

Regards,

Krishnam Raju

Edited by: krishnam raju on Apr 10, 2009 5:50 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member585060
Active Contributor
0 Kudos

Hi,

Try with SHDO transaction by creating screen variant for QA11 tcode

Regards

Bala Krishna

Former Member
0 Kudos

Hi Bala,

But my requirement is to dynamically disable the blocked stock field for input based on PO item

category, It should allow to enter for some PO item categories only . How to achieve this with screen

variant ? Can we attach that screen variant to standard QA11 transaction ?

Regards,

Krishnam Raju

Edited by: krishnam raju on Apr 11, 2009 4:26 AM

Edited by: krishnam raju on Apr 11, 2009 4:27 AM

Former Member
0 Kudos

i guess, in ur case, user exit or badi is right solution. I guess, u know, How to find available user exit for a transaction......for search BADIs, follow below method,

This is the way to find BADI in transaction

1. Go to the TCode SE24 and enter CL_EXITHANDLER as object type.

2. In 'Display' mode, go to 'Methods' tab.

3. Double click the method 'Get Instance' to display it source code.

4. Set a breakpoint on 'CALL METHOD cl_exithandler=>get_class_name_by_interface'.

5. Then run your transaction.

6. The screen will stop at this method.

7. Check the value of parameter 'EXIT_NAME'. It will show you the BADI

for that transaction.

actually, the above piece is copied from other thread.

after finding a approapriate user-exit/badi, u can code like

if PO_item_category = item_category_make_disable_field

Loop at screen

if......screen = XXX

screen-input = '0'

modify screen

endif

endloop.

endif

these days i dont hv sap access, so, pls. just take my code snippet as an idea.

thanq

Edited by: SAP ABAPer on Apr 11, 2009 4:46 AM