2010 Oct 26 3:40 AM
Hello,
How to hide field at item level only (User should not be able to edit this field) in userexit_field_modification, instead of hiding the complete column.
If I use
FORM USEREXIT_FIELD_MODIFICATION.
IF screen-name = 'RV45A-MABNR'. " Material
SCREEN-required = 0.
ENDIF.
ENDFORM
the complete material column will be greyed out. I want to grey out only for some items.
Thanks,
AP
2010 Oct 27 1:10 PM
Hi AP,
You havent given MODIFY SCREEN after screen-required = 0.
Please try it abd check.
FORM USEREXIT_FIELD_MODIFICATION.
IF screen-name = 'RV45A-MABNR'. " Material
SCREEN-required = 0.
MODIFY SCREEN.
ENDIF.
ENDFORM
Regards,
Pawan
2010 Oct 26 6:16 AM
Hi,
I think this is not possible in this userexit.
USEREXIT_FIELD_MODIFICATION is called from PBO module FELDAUSWAHL at PBO of several screens, but you can not change field attributes for specified items, but only for the whole screen.
Regards,
Klaus
2010 Oct 26 2:54 PM
2010 Oct 27 1:10 PM
Hi AP,
You havent given MODIFY SCREEN after screen-required = 0.
Please try it abd check.
FORM USEREXIT_FIELD_MODIFICATION.
IF screen-name = 'RV45A-MABNR'. " Material
SCREEN-required = 0.
MODIFY SCREEN.
ENDIF.
ENDFORM
Regards,
Pawan