cancel
Showing results for 
Search instead for 
Did you mean: 

Make Parameter Read Only

Former Member
0 Kudos

Hi guys this is my code containing select-options and parameters.

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

SELECT-OPTIONS: bpartner FOR fkkop-gpart OBLIGATORY MATCHCODE OBJECT bupa,

caccount FOR fkkop-vkont.

PARAMETERS: inkaburo TYPE dfkkcoll-inkgp.

SELECT-OPTIONS: selopbel FOR fkkop-opbel MATCHCODE OBJECT fkdc.

SELECTION-SCREEN END OF BLOCK b1.

Here I want to make Parameter field "inkaburo" read only (or display only) so that user wont be able to modify it. Is it possible? I know its a stupid question. But please help me with this. Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

This is an ABAP question, not a SAPgui question, so it should be asked in the ABAP forum, rather than here.

Anyway, here is the answer.

In the INITIALIZATION event, include the code

LOOP AT SCREEN.

IF SCREEN-NAME = 'INKABURO'.

SCREEN-INPUT = '0'.

MODIFY SCREEN.

EXIT.

ENDIF.

ENDLOOP.

Former Member
0 Kudos

hey thanks... i guess it must be easiest question u ever answered ... but i didnt know that.

Answers (0)