SAP RSCC_RSADM_ACC Function Module for Access to ZRSADMINx Tables
RSCC_RSADM_ACC is a standard rscc rsadm acc SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Access to ZRSADMINx Tables 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 rscc rsadm acc FM, simply by entering the name RSCC_RSADM_ACC into the relevant SAP transaction such as SE37 or SE38.
Function Group: RSCC
Program Name: SAPLRSCC
Main Program: SAPLRSCC
Appliation area: B
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RSCC_RSADM_ACC 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 'RSCC_RSADM_ACC'"Access to ZRSADMINx Tables.
EXPORTING
FIELDNAME = "Field Name
ACTION = "Action to Be Performed: S / U / I
* I_BYPASSING_LOCAL_BUFFER = "Read from DB Again
CHANGING
* ADMINVALUE = "
EXCEPTIONS
INFO_LIMIT_REACHED = 1 FALSE_FIELD = 2 NO_UPD_RSADMINS = 3 NO_INCREMENT = 4 LIMIT_REACHED = 5 LOCK_FAIL = 6 FIELDINFO_FAIL = 7 FALSE_ACTION = 8
IMPORTING Parameters details for RSCC_RSADM_ACC
FIELDNAME - Field Name
Data type: FIELDNAMEOptional: No
Call by Reference: Yes
ACTION - Action to Be Performed: S / U / I
Data type: ACCESOptional: No
Call by Reference: Yes
I_BYPASSING_LOCAL_BUFFER - Read from DB Again
Data type: RS_BOOLOptional: Yes
Call by Reference: Yes
CHANGING Parameters details for RSCC_RSADM_ACC
ADMINVALUE -
Data type:Optional: Yes
Call by Reference: Yes
EXCEPTIONS details
INFO_LIMIT_REACHED - Notification That Upper Limit Has Now Been Reached for Incremented Field
Data type:Optional: No
Call by Reference: Yes
FALSE_FIELD - Field Name Does Not Exist in Any of the RSADMIN Tables
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_UPD_RSADMINS - Update to RSADMINS Not Permitted
Data type:Optional: No
Call by Reference: Yes
NO_INCREMENT - Incrementation Not Permitted
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
LIMIT_REACHED - Upper Limit Reached for Field to Be Incremented
Data type:Optional: No
Call by Reference: Yes
LOCK_FAIL - Error When Locking a Table
Data type:Optional: No
Call by Reference: Yes
FIELDINFO_FAIL - Error When Reading Field Information Table
Data type:Optional: No
Call by Reference: Yes
FALSE_ACTION - Action Transferred Is Not Defined
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for RSCC_RSADM_ACC 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_fieldname | TYPE FIELDNAME, " | |||
| lv_adminvalue | TYPE FIELDNAME, " | |||
| lv_info_limit_reached | TYPE FIELDNAME, " | |||
| lv_action | TYPE ACCES, " | |||
| lv_false_field | TYPE ACCES, " | |||
| lv_no_upd_rsadmins | TYPE ACCES, " | |||
| lv_i_bypassing_local_buffer | TYPE RS_BOOL, " | |||
| lv_no_increment | TYPE RS_BOOL, " | |||
| lv_limit_reached | TYPE RS_BOOL, " | |||
| lv_lock_fail | TYPE RS_BOOL, " | |||
| lv_fieldinfo_fail | TYPE RS_BOOL, " | |||
| lv_false_action | TYPE RS_BOOL. " |
|   CALL FUNCTION 'RSCC_RSADM_ACC' "Access to ZRSADMINx Tables |
| EXPORTING | ||
| FIELDNAME | = lv_fieldname | |
| ACTION | = lv_action | |
| I_BYPASSING_LOCAL_BUFFER | = lv_i_bypassing_local_buffer | |
| CHANGING | ||
| ADMINVALUE | = lv_adminvalue | |
| EXCEPTIONS | ||
| INFO_LIMIT_REACHED = 1 | ||
| FALSE_FIELD = 2 | ||
| NO_UPD_RSADMINS = 3 | ||
| NO_INCREMENT = 4 | ||
| LIMIT_REACHED = 5 | ||
| LOCK_FAIL = 6 | ||
| FIELDINFO_FAIL = 7 | ||
| FALSE_ACTION = 8 | ||
| . " RSCC_RSADM_ACC | ||
ABAP code using 7.40 inline data declarations to call FM RSCC_RSADM_ACC
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