ALERT

[FREE DEMO] Deploy Your Enterprise Cloud in Minutes

Refresh (in SAP)

Definition - What does Refresh (in SAP) mean?

As one of the most useful ABAP programming keywords, Refresh is used to clear the data contents from variables used in ABAP programs and SAP screens. Prior to SAP's Enterprise Central Component (ECC) version, statements containing Refresh were used to clear data from SAP interface screens and program variables related to data selections. In SAP's ECC version, the statements containing Refresh are considered obsolete, with the exception of initializing Control from the SAP screen. Customer developed programs are only supposed to use the keyword with respect to refreshing Control from a SAP screen.

Techopedia explains Refresh (in SAP)

Starting with SAP's ECC version, the keyword Refresh may be used only for the initialization of control attributes according to the description in the screen. The syntax for the same is as follows:

REFRESH CONTROL controlvariable FROM SCREEN screennumber

The above syntax is used for statements, which are mainly used in screen related interfaces - mostly in module pool programming. The execution of the Refresh statement usually takes five microseconds during runtime.

The earlier use of Refresh for refreshing and initializing other contents have been replaced by the following from the ECC version:

  • REFRESH SCREEN – SET USER command to be used
  • REFRESH - from SELECT OPTINS – Function module RS_REFRESH_FROM_SELECTOPTIONS to be used
  • REFRESH - FROM Database TABLE. SELECT statement to be used for same
  • REFRESH itab(internal table) – Keywords Free/Clear to be used
This definition was written in the context of SAP

Techopedia Deals

Connect with us

Techopedia on Linkedin
Techopedia on Linkedin
Tweat cdn.techopedia.com
"Techopedia" on Twitter


'@Techopedia'
Sign up for Techopedia's Free Newsletter!

Email Newsletter

Join thousands of others with our weekly newsletter

Resources
The 4th Era of IT Infrastructure: Superconverged Systems
The 4th Era of IT Infrastructure: Superconverged Systems:
Learn the benefits and limitations of the 3 generations of IT infrastructure – siloed, converged and hyperconverged – and discover how the 4th...
Approaches and Benefits of Network Virtualization
Approaches and Benefits of Network Virtualization:
Businesses today aspire to achieve a software-defined datacenter (SDDC) to enhance business agility and reduce operational complexity. However, the...
Free E-Book: Public Cloud Guide
Free E-Book: Public Cloud Guide:
This white paper is for leaders of Operations, Engineering, or Infrastructure teams who are creating or executing an IT roadmap.
Free Tool: Virtual Health Monitor
Free Tool: Virtual Health Monitor:
Virtual Health Monitor is a free virtualization monitoring and reporting tool for VMware, Hyper-V, RHEV, and XenServer environments.
Free 30 Day Trial – Turbonomic
Free 30 Day Trial – Turbonomic:
Turbonomic delivers an autonomic platform where virtual and cloud environments self-manage in real-time to assure application performance.