ABAP implements self-refresh and jump functions on the screen

Source: Internet
Author: User

ABAP development project, sometimes need to jump out of the screen automatically implement jump and refresh function, the implementation of the function needs to invoke the corresponding event execution in the screen PBO.

The key code is:

  SET titlebar 'Screen Automation Program'. IFG_contine_no is INITIAL. CREATE OBJECTGr_timer. CREATE OBJECTGr_app_timer. SET HANDLERGr_app_timer->handle_get_brgew forGr_timer. "0.5S Refresh one timeGr_timer->interval ='0.5'. Pager METHODGr_timer->run. "counter, refresh 6 times get weightG_count = G_count +1. IFG_count GE6. G_contine_no='X'. "Stop refreshing identityG_refresh_no ='X'. ENDIF. ENDIF. IFSy-ucomm <>'ENTER'. CREATE OBJECTGr_timer. CREATE OBJECTGr_app_timer. SET HANDLERGr_app_timer->handle_callback forGr_timer. Gr_timer->interval ='1'. Pager METHODGr_timer->run. ENDIF.

A full applet source code: Automatically refresh the screen applet

ABAP implements self-refresh and jump functions on the screen

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.