Skip to Content
0
Former Member
May 22, 2009 at 04:28 PM

How to hide selection paramere when access via transaction code

28 Views

Hi All experts,

I am writing ABAP report which has two radio button on selection screen.

REPORT

UPDATE

Now I have created transaction code(ZITEMSOURCE) for the same program. But I would like to

hide or disable UPDATE radiobutton whenever user will use transaction code.

How can I do this?

  • Data Selection options

SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-h01.

SELECT-OPTIONS: s_matnr FOR eord-matnr, "Material

s_werk FOR eord-werk , "Plant

SELECTION-SCREEN END OF BLOCK b1.

***Report/update mode

SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-h05.

PARAMETERS: r_report RADIOBUTTON GROUP gp1 DEFAULT 'X',

r_update RADIOBUTTON GROUP gp1.

SELECTION-SCREEN END OF BLOCK b2.