Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to create transaction variant for MB52 using SDH0?

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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.

3 REPLIES 3

Former Member
0 Kudos

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.

Former Member
0 Kudos

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.

0 Kudos

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