Search code examples
reportabapsap-selection-screens

Need to make parameter as Read-Only,


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?


Solution

  • Put your code in the at selection-screen output-event.