Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8990

Re: How to add a input field in selection screen on clicking a button

$
0
0

Hi Sonali,

 

Here is how to achieve it:

1. Add a field after the 5th one on the selection screen

2. In INITIALIZATION event hide it using:

     LOOP AT SCREEN.

             IF screen-name EQ 'P_FLD6'.

               screen-input = 0.            

             ENDIF.

             MODIFY SCREEN.

     ENDLOOP.          " LOOP AT SCREEN..

3. When the user clicks on the arrow button, within the AT SELECTION-SCREEN OUTPUT event, add if the sy-ucomm is that of arrow button then modify the screen to show the 6th field as:

     LOOP AT SCREEN.

             IF screen-name EQ 'P_FLD6'.

               screen-input = 1.            

             ENDIF.

             MODIFY SCREEN.

     ENDLOOP.          " LOOP AT SCREEN..



Let me know.


Viewing all articles
Browse latest Browse all 8990

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>