SAP /UI5/UPDATE_CACHEBUSTER Function Module for Recalculate Cache Buster Information
/UI5/UPDATE_CACHEBUSTER is a standard /ui5/update cachebuster SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Recalculate Cache Buster Information processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for /ui5/update cachebuster FM, simply by entering the name /UI5/UPDATE_CACHEBUSTER into the relevant SAP transaction such as SE37 or SE38.
Function Group: /UI5/CACHE_BUSTER
Program Name: /UI5/SAPLCACHE_BUSTER
Main Program: /UI5/SAPLCACHE_BUSTER
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function /UI5/UPDATE_CACHEBUSTER pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION '/UI5/UPDATE_CACHEBUSTER'"Recalculate Cache Buster Information.
EXPORTING
IV_CACHE_LIFE_TIME = "Time span [in sec] this update stays valid
IV_DONT_UPDATE_IF_CACHE_VALID = "Do not update if cache is still valid
IV_UPDATE_AFTER_ANY_IMPORT = "Update in case a tranport has been imported
IV_UPDATE_INTERVAL = "Scheduling intervall [in secs] for the cachbuster update
IV_TIME_LAST_IMPORT = "Time of last import: Is calculated if not specified
IMPORTING Parameters details for /UI5/UPDATE_CACHEBUSTER
IV_CACHE_LIFE_TIME - Time span [in sec] this update stays valid
Data type: IOptional: No
Call by Reference: No ( called with pass by value option)
IV_DONT_UPDATE_IF_CACHE_VALID - Do not update if cache is still valid
Data type: BOOLEANOptional: No
Call by Reference: No ( called with pass by value option)
IV_UPDATE_AFTER_ANY_IMPORT - Update in case a tranport has been imported
Data type: BOOLEANOptional: No
Call by Reference: No ( called with pass by value option)
IV_UPDATE_INTERVAL - Scheduling intervall [in secs] for the cachbuster update
Data type: IOptional: No
Call by Reference: No ( called with pass by value option)
IV_TIME_LAST_IMPORT - Time of last import: Is calculated if not specified
Data type: TIMESTAMPOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for /UI5/UPDATE_CACHEBUSTER Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_iv_cache_life_time | TYPE I, " | |||
| lv_iv_dont_update_if_cache_valid | TYPE BOOLEAN, " | |||
| lv_iv_update_after_any_import | TYPE BOOLEAN, " | |||
| lv_iv_update_interval | TYPE I, " | |||
| lv_iv_time_last_import | TYPE TIMESTAMP. " |
|   CALL FUNCTION '/UI5/UPDATE_CACHEBUSTER' "Recalculate Cache Buster Information |
| EXPORTING | ||
| IV_CACHE_LIFE_TIME | = lv_iv_cache_life_time | |
| IV_DONT_UPDATE_IF_CACHE_VALID | = lv_iv_dont_update_if_cache_valid | |
| IV_UPDATE_AFTER_ANY_IMPORT | = lv_iv_update_after_any_import | |
| IV_UPDATE_INTERVAL | = lv_iv_update_interval | |
| IV_TIME_LAST_IMPORT | = lv_iv_time_last_import | |
| . " /UI5/UPDATE_CACHEBUSTER | ||
ABAP code using 7.40 inline data declarations to call FM /UI5/UPDATE_CACHEBUSTER
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.Search for further information about these or an SAP related objects