on 05-23-2008 6:52 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.