Need to make parameter as Read-Only,
-
02-06-2021 - |
Pergunta
In selection-screen, I have one parameter called 'Author' I have called the report using 'Submit' from other report and passed the value to 'Author'. Now I need to make the 'Author' parameter as Read-only. How can I do that?
I used the following code,
LOOP AT SCREEN.
IF SCREEN-NAME = 'author'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
EXIT.
ENDIF.
ENDLOOP.
But it is not working. Can any one help me in resolving this?
Solução
Put your code in the at selection-screen output
-event.
Outras dicas
Disclaimer: This answer does not answer exactly your question, but perhaps it is an easier solution for your need.
If you need only a parameter for SUBMIT
you may use
PARAMETERS AUTHOR NO-DISPLAY.
The parameter will not be visible on selection screen, but it can be used via SUBMIT
.
This is not a 'read-only' it is a 'don't show' parameter.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow