SAP SAI_CACHE3_REFRESH Function Module for
SAI_CACHE3_REFRESH is a standard sai cache3 refresh SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 sai cache3 refresh FM, simply by entering the name SAI_CACHE3_REFRESH into the relevant SAP transaction such as SE37 or SE38.
Function Group: SAI_CACHE3
Program Name: SAPLSAI_CACHE3
Main Program: SAPLSAI_CACHE3
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function SAI_CACHE3_REFRESH 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 'SAI_CACHE3_REFRESH'".
EXPORTING
REFRESH_TYPE = "CHAR02 data element for SYST
BUSINESS_SYSTEM = "Logical System
IMPORTING
JAVA_ERRORS = "XI: Cache Refresh Jco Error
SRV_INBINDING = "
SRV_OUTBINDING = "
SRV_PARTY = "Party Identifier Table
SRV_CHANNEL = "Channel Table
DELETED_OBJECTS = "XI: Object Keys
BPROCESS = "
MPP_REL = "Table Type for Database Table SMPPREL
MPP_MAP = "Table Type for Database Table SMPPMAP
RDT_RELATION = "Receiver Determination Relationship Table
RDT_RULE = "Receiver Determination Rule Table
RDT_CONDSHORT = "Table of Routing Rules
RDT_NAME' ' = "Table of Namespaces of a Rule
IMPORTING Parameters details for SAI_CACHE3_REFRESH
REFRESH_TYPE - CHAR02 data element for SYST
Data type: SYCHAR02Optional: No
Call by Reference: No ( called with pass by value option)
BUSINESS_SYSTEM - Logical System
Data type: PRX_SYSTEMOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for SAI_CACHE3_REFRESH
JAVA_ERRORS - XI: Cache Refresh Jco Error
Data type: SAIERRORTABOptional: No
Call by Reference: No ( called with pass by value option)
SRV_INBINDING -
Data type: SSRV_BINDINGTOptional: No
Call by Reference: No ( called with pass by value option)
SRV_OUTBINDING -
Data type: SSRV_BINDINGTOptional: No
Call by Reference: No ( called with pass by value option)
SRV_PARTY - Party Identifier Table
Data type: SSRV_PARTYTOptional: No
Call by Reference: No ( called with pass by value option)
SRV_CHANNEL - Channel Table
Data type: SSRV_CHANNELTOptional: No
Call by Reference: No ( called with pass by value option)
DELETED_OBJECTS - XI: Object Keys
Data type: SAPXI_OBJECT_KEYTABOptional: No
Call by Reference: No ( called with pass by value option)
BPROCESS -
Data type: SWFDXIBPDEFTABOptional: No
Call by Reference: No ( called with pass by value option)
MPP_REL - Table Type for Database Table SMPPREL
Data type: MPP_SMPPREL3Optional: No
Call by Reference: No ( called with pass by value option)
MPP_MAP - Table Type for Database Table SMPPMAP
Data type: MPP_SMPPMAP3Optional: No
Call by Reference: No ( called with pass by value option)
RDT_RELATION - Receiver Determination Relationship Table
Data type: RDT_RELATIONOptional: No
Call by Reference: No ( called with pass by value option)
RDT_RULE - Receiver Determination Rule Table
Data type: RDT_RULEOptional: No
Call by Reference: No ( called with pass by value option)
RDT_CONDSHORT - Table of Routing Rules
Data type: RDT_CONDSHORTOptional: No
Call by Reference: No ( called with pass by value option)
RDT_NAMESPACE - Table of Namespaces of a Rule
Data type: RDT_NAMESPACEOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for SAI_CACHE3_REFRESH 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_java_errors | TYPE SAIERRORTAB, " | |||
| lv_refresh_type | TYPE SYCHAR02, " | |||
| lv_srv_inbinding | TYPE SSRV_BINDINGT, " | |||
| lv_srv_outbinding | TYPE SSRV_BINDINGT, " | |||
| lv_srv_party | TYPE SSRV_PARTYT, " | |||
| lv_srv_channel | TYPE SSRV_CHANNELT, " | |||
| lv_business_system | TYPE PRX_SYSTEM, " | |||
| lv_deleted_objects | TYPE SAPXI_OBJECT_KEYTAB, " | |||
| lv_bprocess | TYPE SWFDXIBPDEFTAB, " | |||
| lv_mpp_rel | TYPE MPP_SMPPREL3, " | |||
| lv_mpp_map | TYPE MPP_SMPPMAP3, " | |||
| lv_rdt_relation | TYPE RDT_RELATION, " | |||
| lv_rdt_rule | TYPE RDT_RULE, " | |||
| lv_rdt_condshort | TYPE RDT_CONDSHORT, " | |||
| lv_rdt_namespace | TYPE RDT_NAMESPACE. " |
|   CALL FUNCTION 'SAI_CACHE3_REFRESH' " |
| EXPORTING | ||
| REFRESH_TYPE | = lv_refresh_type | |
| BUSINESS_SYSTEM | = lv_business_system | |
| IMPORTING | ||
| JAVA_ERRORS | = lv_java_errors | |
| SRV_INBINDING | = lv_srv_inbinding | |
| SRV_OUTBINDING | = lv_srv_outbinding | |
| SRV_PARTY | = lv_srv_party | |
| SRV_CHANNEL | = lv_srv_channel | |
| DELETED_OBJECTS | = lv_deleted_objects | |
| BPROCESS | = lv_bprocess | |
| MPP_REL | = lv_mpp_rel | |
| MPP_MAP | = lv_mpp_map | |
| RDT_RELATION | = lv_rdt_relation | |
| RDT_RULE | = lv_rdt_rule | |
| RDT_CONDSHORT | = lv_rdt_condshort | |
| RDT_NAMESPACE | = lv_rdt_namespace | |
| . " SAI_CACHE3_REFRESH | ||
ABAP code using 7.40 inline data declarations to call FM SAI_CACHE3_REFRESH
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