RSB2_DM_STATUS_SET 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 RSB2_DM_STATUS_SET into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
RSB2
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'RSB2_DM_STATUS_SET' "Set Status of InfoCubes
EXPORTING
* datasource = " roosourcer Replicate Table for OLTP Sources in BW
* i_infocube = " rsinfocube InfoCube
rlogsys = " logsys Logical System
dmseverity = " char1 Single-Character Indicator
EXCEPTIONS
INFOCUBE_DOES_NOT_EXIST = 1 " InfoCube Does Not Exist
UNKNOWN_SEVERITY = 2 " Unknown severity
UNDEFINED_ERROR = 3 " Not Defined
. " RSB2_DM_STATUS_SET
The ABAP code below is a full code listing to execute function module RSB2_DM_STATUS_SET 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).
DATA(ld_datasource) = 'Check type of data required'.
DATA(ld_i_infocube) = 'Check type of data required'.
DATA(ld_rlogsys) = 'some text here'.
DATA(ld_dmseverity) = 'some text here'. . CALL FUNCTION 'RSB2_DM_STATUS_SET' EXPORTING * datasource = ld_datasource * i_infocube = ld_i_infocube rlogsys = ld_rlogsys dmseverity = ld_dmseverity EXCEPTIONS INFOCUBE_DOES_NOT_EXIST = 1 UNKNOWN_SEVERITY = 2 UNDEFINED_ERROR = 3 . " RSB2_DM_STATUS_SET
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 2. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 3. "Exception "Add code for exception here ENDIF.
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_datasource | TYPE ROOSOURCER , |
| ld_i_infocube | TYPE RSINFOCUBE , |
| ld_rlogsys | TYPE LOGSYS , |
| ld_dmseverity | TYPE CHAR1 . |
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 RSB2_DM_STATUS_SET or its description.
RSB2_DM_STATUS_SET - Set Status of InfoCubes RSB2_DM_STATUS_GET - Show the status of a data mart Delta Update RSB2_DETERMINE_DELTA_REQUESTS - Returns a list of new requests in an InfoCube RSB2_DELTA_INITIALIZE - Initialize the target specific delta management of an Infocube / ODS RSB2_DELTA_INACTIVATE - Invalidate the Datamart Delta Update RSB2_DELTA_FINISHED - After successfully Delta Extraction: Update the Delta Administration