01-04-2011 2:22 AM
Hello,
I want to create a transaction variant for transaction MB52 through SDH0 so that I can hide field "Do not display values" and disable variant selection for users as well as layout selection.
Is it possible to do it through that transaction (SDH0)?
Does anyone know how could I disable those buttons (variant selection, Select layout, change layout)
Thanks in advance
Maria Valdes
01-04-2011 4:41 AM
Hi,
You can create a transaction variant , you have lots of information on SCN.
Please look at the wiki by Ashim Chowdhury. [link|http://wiki.sdn.sap.com/wiki/display/Snippets/Transaction%20Variant%20-%20A%20Step%20by%20Step%20Guide%20for%20Creation]
Regards,
Srini.
01-04-2011 4:31 AM
Hi Maria,
You cannot achieve that using SHD0 but you can do that by using Enhancement point. There is an enhancement point under AT SELECTION-SCREEN OUTPUT event, you can look at the following code in RM07MLBS :
at selection-screen output.
ENHANCEMENT-POINT RM07MLBS_04 SPOTS ES_RM07MLBS.
.
The checkbox which you are trying to disable is NOVALUES.Create the enhancement point and write the below code :
LOOP AT SCREEN.
IF SCREEN-NAME = 'NOVALUES'.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Thanks & Regards,
Faheem.
01-04-2011 4:41 AM
Hi,
You can create a transaction variant , you have lots of information on SCN.
Please look at the wiki by Ashim Chowdhury. [link|http://wiki.sdn.sap.com/wiki/display/Snippets/Transaction%20Variant%20-%20A%20Step%20by%20Step%20Guide%20for%20Creation]
Regards,
Srini.
01-04-2011 2:18 PM
Hey Srini,
I saw the link you recommended but that transaction doesn't allow me to record the screens so I'm not able to create a variant
Best regards
Maria Valdes