RSCR_CE_SYNCHRONIZE_ROLES is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name RSCR_CE_SYNCHRONIZE_ROLES into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
RSCR_CE
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'RSCR_CE_SYNCHRONIZE_ROLES' "Synchronize BW roles with corresponding CE groups
EXPORTING
i_masterlangu = SY-LANGU " sy-langu SAP R/3 System, Current Language
* i_languages = SPACE " char128 128 Characters
* i_force_publish = SPACE " flag General Indicator
* i_refresh_picklists = SPACE " flag General Indicator
IMPORTING
e_logfile = " sychar255 CHAR255 data element for SYST
e_subrc = " sysubrc Return Value, Return Value after ABAP Statements
e_lasterror = " sychar255 CHAR255 data element for SYST
TABLES
i_t_agr_ids = " rscr_agrid Business Document Service: File Content
EXCEPTIONS
SYSTEM_FAILURE = 1 "
COMMUNICATION_FAILURE = 2 "
. " RSCR_CE_SYNCHRONIZE_ROLES
The ABAP code below is a full code listing to execute function module RSCR_CE_SYNCHRONIZE_ROLES including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_e_logfile | TYPE SYCHAR255 , |
| ld_e_subrc | TYPE SYSUBRC , |
| ld_e_lasterror | TYPE SYCHAR255 , |
| it_i_t_agr_ids | TYPE STANDARD TABLE OF RSCR_AGRID,"TABLES PARAM |
| wa_i_t_agr_ids | LIKE LINE OF it_i_t_agr_ids . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_e_logfile | TYPE SYCHAR255 , |
| ld_i_masterlangu | TYPE SY-LANGU , |
| it_i_t_agr_ids | TYPE STANDARD TABLE OF RSCR_AGRID , |
| wa_i_t_agr_ids | LIKE LINE OF it_i_t_agr_ids, |
| ld_e_subrc | TYPE SYSUBRC , |
| ld_i_languages | TYPE CHAR128 , |
| ld_e_lasterror | TYPE SYCHAR255 , |
| ld_i_force_publish | TYPE FLAG , |
| ld_i_refresh_picklists | TYPE FLAG . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name RSCR_CE_SYNCHRONIZE_ROLES or its description.
RSCR_CE_SYNCHRONIZE_ROLES - Synchronize BW roles with corresponding CE groups RSCR_CE_SYNCHRONIZE_REPORT - Update a report binary while keeping instances RSCR_CE_PUBLISH_REPORT - Publishes a report into (many) role(s) RSCR_CE_GET_REPORT_VERSIONS - Returns the versions of the provided report ids (or -1) RSCR_CE_GET_CONNECTION_INFO - Return status of connection to Crystal Enterprise RSCR_CE_DELETE_REPORTS - Delete specified report from Crystal Enterprise