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

Re: SE51 Get data without pressing any key

$
0
0

Hi,

 

If you like trigger the ENTER KEY programatically you can achieve it by using the below code

 

    CALL METHOD cl_gui_cfw=>set_new_ok_code
      EXPORTING
        new_code = 'OK'.

 

Assign the Function Code 'OK' in the GUI STATUS for Tick Icon in the Standard toolbar.

 

We used this when dealing with Events in ALV and it triggered the PAI for somewhat similar requirement as above.

 

Regards,

Vasanth


Viewing all articles
Browse latest Browse all 8573

Trending Articles



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