Frage

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?

War es hilfreich?

Lösung

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

Andere Tipps

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top