SAP RHOM_SET_UPDATE_FLAGS_FOR_BUFF Function Module for Set Flags in PPRAR_EXEP Structure
RHOM_SET_UPDATE_FLAGS_FOR_BUFF is a standard rhom set update flags for buff SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Set Flags in PPRAR_EXEP Structure 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 rhom set update flags for buff FM, simply by entering the name RHOM_SET_UPDATE_FLAGS_FOR_BUFF into the relevant SAP transaction such as SE37 or SE38.
Function Group: RHOMBUFFER
Program Name: SAPLRHOMBUFFER
Main Program: SAPLRHOMBUFFER
Appliation area: H
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RHOM_SET_UPDATE_FLAGS_FOR_BUFF 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 'RHOM_SET_UPDATE_FLAGS_FOR_BUFF'"Set Flags in PPRAR_EXEP Structure.
EXPORTING
* UPDATE_SAPFH5AD = "
* CFLAG = "
* UPDATE_CFLAG = "
* SUPP750X = "
* UPDATE_SUPP750X = "
* SUPPSTRU = "Suppress Structural Authorization Check
* UPDATE_SUPPSTRU = "General Flag
* UPDATE_PPPAR_EXEP = "
* UPDATE_FROM_STRUC = "
IMPORTING Parameters details for RHOM_SET_UPDATE_FLAGS_FOR_BUFF
UPDATE_SAPFH5AD -
Data type: FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
CFLAG -
Data type: COOPE_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
UPDATE_CFLAG -
Data type: FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
SUPP750X -
Data type: SUP_750XOptional: Yes
Call by Reference: No ( called with pass by value option)
UPDATE_SUPP750X -
Data type: FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
SUPPSTRU - Suppress Structural Authorization Check
Data type: SUPP_STRUOptional: Yes
Call by Reference: No ( called with pass by value option)
UPDATE_SUPPSTRU - General Flag
Data type: FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
UPDATE_PPPAR_EXEP -
Data type: PPPAR_EXEPOptional: Yes
Call by Reference: No ( called with pass by value option)
UPDATE_FROM_STRUC -
Data type: FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RHOM_SET_UPDATE_FLAGS_FOR_BUFF 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_update_sapfh5ad | TYPE FLAG, " | |||
| lv_cflag | TYPE COOPE_FLAG, " | |||
| lv_update_cflag | TYPE FLAG, " | |||
| lv_supp750x | TYPE SUP_750X, " | |||
| lv_update_supp750x | TYPE FLAG, " | |||
| lv_suppstru | TYPE SUPP_STRU, " | |||
| lv_update_suppstru | TYPE FLAG, " | |||
| lv_update_pppar_exep | TYPE PPPAR_EXEP, " | |||
| lv_update_from_struc | TYPE FLAG. " |
|   CALL FUNCTION 'RHOM_SET_UPDATE_FLAGS_FOR_BUFF' "Set Flags in PPRAR_EXEP Structure |
| EXPORTING | ||
| UPDATE_SAPFH5AD | = lv_update_sapfh5ad | |
| CFLAG | = lv_cflag | |
| UPDATE_CFLAG | = lv_update_cflag | |
| SUPP750X | = lv_supp750x | |
| UPDATE_SUPP750X | = lv_update_supp750x | |
| SUPPSTRU | = lv_suppstru | |
| UPDATE_SUPPSTRU | = lv_update_suppstru | |
| UPDATE_PPPAR_EXEP | = lv_update_pppar_exep | |
| UPDATE_FROM_STRUC | = lv_update_from_struc | |
| . " RHOM_SET_UPDATE_FLAGS_FOR_BUFF | ||
ABAP code using 7.40 inline data declarations to call FM RHOM_SET_UPDATE_FLAGS_FOR_BUFF
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