2023 Jun 19 5:10 PM
Hello All,
can anyone help me I need to grey out Short text field when the user enters material and press enter it will automatically become in disable mode and Short text comes up automatically.
i am giving screenshot of t-code me51n.
Please Help.
2023 Jun 19 5:30 PM
You can easily force the short text when material is not initial in a BAdI method such as ME_PROCESS_REQ_CUST->PROCESS_ITEM, there use GET_DATA and SET_DATA method on IM_ITEM.
To deactivate input, 'grey out' field, you could look at method ME_PROCESS_REQ_CUST->FIELDSELECTION_ITEM. But as you don't want to handle a customer field, you may be required to look at some implicit enhancement in FM MEREQBADI_FS_ITEM.
2023 Jun 19 5:30 PM
You can easily force the short text when material is not initial in a BAdI method such as ME_PROCESS_REQ_CUST->PROCESS_ITEM, there use GET_DATA and SET_DATA method on IM_ITEM.
To deactivate input, 'grey out' field, you could look at method ME_PROCESS_REQ_CUST->FIELDSELECTION_ITEM. But as you don't want to handle a customer field, you may be required to look at some implicit enhancement in FM MEREQBADI_FS_ITEM.
2023 Jun 20 2:34 PM
Thanks men ! your answer helped me, thanks a lot it solved my query closing thread issue resolved