on 04-10-2009 4:46 PM
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
Hi,
Try with SHDO transaction by creating screen variant for QA11 tcode
Regards
Bala Krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.