2024 Apr 11 3:03 PM - edited 2024 Apr 11 3:05 PM
Hi experts,
I want to greyed out the screen field in some of the standard TCODE, what is the best way or other ways to find the specific screen field with code screen-input = 1 , etc. and possible to enhance ?
what I always do is putting /H -> create breakpoint -> add LOOP AT SCREEN in ABAP commands -> check if implicit enhancement is possible so I can change it to screen-input = 0
2024 Apr 11 3:17 PM
Hi @AJeB
You can hide or grey out standard fields in standard screens without any coding with screen variants.
Screen variants are assigned to transaction variants. You can designate a transaction variant as a standard transaction variant so a transaction is always started with this variant thus applying the changes to field statuses - Starting Transaction Variants
Best regards
Dominik Tylczynski
2024 Apr 11 3:23 PM
thankyou for answering,
can it handle some condition like for sample
IF var1 = var2 -> greyed out the field
ELSE -> allow user to edit ?
2024 Apr 11 3:20 PM
2024 Apr 11 3:23 PM - edited 2024 Apr 11 3:25 PM
thankyou for answering and additional knowledge, I just have question about this SHD0
can it handle some condition like for sample
IF var1 = var2 -> greyed out the field
ELSE -> allow user to edit
?
because sometimes there are requirements that need to greyed out the screen field based on the value of other screen field
2024 Apr 11 3:33 PM
2024 Apr 11 3:57 PM
Hello -
To hide standard screen field , there must be some screen exit/Badi . You have to search and implement that .
Regards,
Subhamoy
2024 Apr 11 4:10 PM - edited 2024 Apr 11 4:24 PM
what if there are no available screen exit / badi for that specific tcode and I can only use implicit enhancement what is the other/better ways to find the code I need to edit? I think using a breakpoint in LOOP AT SCREEN is not good enough(not sure if this is the best way) or using the watchpoint then screen-name = [name of screen] ? I just want to know if there are debugging techniques I don't know yet to fasten my debugging for finding the screen i need to modify.
I also searched a while ago and found this EXIT_FIELD_MODIFICATION but this is for SD only , I can't find exit like this for other modules. so for SD I just need to modify the screen using this and no need to find it in debug