SAP RSDRO_ACTIVATE_ODS Function Module for 'Convert' Modified Entries into Active Entries (Commit/Rollback)









RSDRO_ACTIVATE_ODS is a standard rsdro activate ods SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for 'Convert' Modified Entries into Active Entries (Commit/Rollback) 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 rsdro activate ods FM, simply by entering the name RSDRO_ACTIVATE_ODS into the relevant SAP transaction such as SE37 or SE38.

Function Group: RSDRO
Program Name: SAPLRSDRO
Main Program: SAPLRSDRO
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RSDRO_ACTIVATE_ODS 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 'RSDRO_ACTIVATE_ODS'"'Convert' Modified Entries into Active Entries (Commit/Rollback)
EXPORTING
I_ODSOBJECT = "ODS Object
I_T_ACTREQ = "
* I_SERIALIZE = RS_C_FALSE "Boolean
* I_T_DATA = "
* I_CRT_ACTIVATION = ' ' "Boolean
* I_S_IP_CTRL = "Internal Control Structure for Daemon
* I_ACTIVATE_PROG = "ABAP Program: Current Main Program

IMPORTING
C_T_DBOPS = "DB Operations per Request

CHANGING
* C_T_MSG = "BW: Table with Messages (Application Log)

EXCEPTIONS
X_MESSAGE = 1
.



IMPORTING Parameters details for RSDRO_ACTIVATE_ODS

I_ODSOBJECT - ODS Object

Data type: RSDODSOBJECT
Optional: No
Call by Reference: Yes

I_T_ACTREQ -

Data type: RSDRO_T_ACTREQ
Optional: No
Call by Reference: Yes

I_SERIALIZE - Boolean

Data type: RS_BOOL
Default: RS_C_FALSE
Optional: Yes
Call by Reference: Yes

I_T_DATA -

Data type: ANY TABLE
Optional: Yes
Call by Reference: Yes

I_CRT_ACTIVATION - Boolean

Data type: RS_BOOL
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_S_IP_CTRL - Internal Control Structure for Daemon

Data type: RSCRT_S_IP_CTRL
Optional: Yes
Call by Reference: Yes

I_ACTIVATE_PROG - ABAP Program: Current Main Program

Data type: SYREPID
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for RSDRO_ACTIVATE_ODS

C_T_DBOPS - DB Operations per Request

Data type: RSDRO_T_DBOPS
Optional: No
Call by Reference: Yes

CHANGING Parameters details for RSDRO_ACTIVATE_ODS

C_T_MSG - BW: Table with Messages (Application Log)

Data type: RSDRO_T_MSG
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

X_MESSAGE - Cancel

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RSDRO_ACTIVATE_ODS 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_c_t_msg  TYPE RSDRO_T_MSG, "   
lv_c_t_dbops  TYPE RSDRO_T_DBOPS, "   
lv_x_message  TYPE RSDRO_T_DBOPS, "   
lv_i_odsobject  TYPE RSDODSOBJECT, "   
lv_i_t_actreq  TYPE RSDRO_T_ACTREQ, "   
lv_i_serialize  TYPE RS_BOOL, "   RS_C_FALSE
lv_i_t_data  TYPE ANY TABLE, "   
lv_i_crt_activation  TYPE RS_BOOL, "   SPACE
lv_i_s_ip_ctrl  TYPE RSCRT_S_IP_CTRL, "   
lv_i_activate_prog  TYPE SYREPID. "   

  CALL FUNCTION 'RSDRO_ACTIVATE_ODS'  "'Convert' Modified Entries into Active Entries (Commit/Rollback)
    EXPORTING
         I_ODSOBJECT = lv_i_odsobject
         I_T_ACTREQ = lv_i_t_actreq
         I_SERIALIZE = lv_i_serialize
         I_T_DATA = lv_i_t_data
         I_CRT_ACTIVATION = lv_i_crt_activation
         I_S_IP_CTRL = lv_i_s_ip_ctrl
         I_ACTIVATE_PROG = lv_i_activate_prog
    IMPORTING
         C_T_DBOPS = lv_c_t_dbops
    CHANGING
         C_T_MSG = lv_c_t_msg
    EXCEPTIONS
        X_MESSAGE = 1
. " RSDRO_ACTIVATE_ODS




ABAP code using 7.40 inline data declarations to call FM RSDRO_ACTIVATE_ODS

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.

 
 
 
 
 
DATA(ld_i_serialize) = RS_C_FALSE.
 
 
DATA(ld_i_crt_activation) = ' '.
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!