SAP RSDG_IOBJ_MULTI_ACTIVATE Function Module for Data Basis: Activates a Range of InfoObjects









RSDG_IOBJ_MULTI_ACTIVATE is a standard rsdg iobj multi activate SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Data Basis: Activates a Range of InfoObjects 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 rsdg iobj multi activate FM, simply by entering the name RSDG_IOBJ_MULTI_ACTIVATE into the relevant SAP transaction such as SE37 or SE38.

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



Function RSDG_IOBJ_MULTI_ACTIVATE 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 'RSDG_IOBJ_MULTI_ACTIVATE'"Data Basis: Activates a Range of InfoObjects
EXPORTING
I_T_IOBJNM = "InfoObjects to Be Activated
* I_OBJVERS = RS_C_OBJVERS-MODIFIED "Object Version to Be Activated (M,A)
* I_MANUAL = RS_C_TRUE "= ' ': After Import Mode
* I_WRITE_PROTOCOL = RS_C_TRUE "Write Log? (Indicator)
* I_SHOW_CHECK_PROTOCOL = RS_C_FALSE "= 'X': Display Check Log
* I_WITH_ENQUEUE = RS_C_FALSE "Obsolete

IMPORTING
E_T_MSG = "Messages
E_T_TABLNM_CNV = "Tables Requiring Conversion
E_SUBRC = "Return Code <> 0: Not All Objects Activated
E_T_IOBJNM_ERROR = "InfoObjects That Were Not Activated
E_CANCEL = "Activation was terminated
.



IMPORTING Parameters details for RSDG_IOBJ_MULTI_ACTIVATE

I_T_IOBJNM - InfoObjects to Be Activated

Data type: RSD_T_IOBJNM
Optional: No
Call by Reference: No ( called with pass by value option)

I_OBJVERS - Object Version to Be Activated (M,A)

Data type: RS_OBJVERS
Default: RS_C_OBJVERS-MODIFIED
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_MANUAL - = ' ': After Import Mode

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

I_WRITE_PROTOCOL - Write Log? (Indicator)

Data type: RS_BOOL
Default: RS_C_TRUE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SHOW_CHECK_PROTOCOL - = 'X': Display Check Log

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

I_WITH_ENQUEUE - Obsolete

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

EXPORTING Parameters details for RSDG_IOBJ_MULTI_ACTIVATE

E_T_MSG - Messages

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

E_T_TABLNM_CNV - Tables Requiring Conversion

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

E_SUBRC - Return Code <> 0: Not All Objects Activated

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

E_T_IOBJNM_ERROR - InfoObjects That Were Not Activated

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

E_CANCEL - Activation was terminated

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

Copy and paste ABAP code example for RSDG_IOBJ_MULTI_ACTIVATE 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_e_t_msg  TYPE RS_T_MSG, "   
lv_i_t_iobjnm  TYPE RSD_T_IOBJNM, "   
lv_i_objvers  TYPE RS_OBJVERS, "   RS_C_OBJVERS-MODIFIED
lv_e_t_tablnm_cnv  TYPE RSD_T_C30, "   
lv_e_subrc  TYPE SYSUBRC, "   
lv_i_manual  TYPE RS_BOOL, "   RS_C_TRUE
lv_e_t_iobjnm_error  TYPE RSD_T_IOBJNM, "   
lv_i_write_protocol  TYPE RS_BOOL, "   RS_C_TRUE
lv_e_cancel  TYPE RS_BOOL, "   
lv_i_show_check_protocol  TYPE RS_BOOL, "   RS_C_FALSE
lv_i_with_enqueue  TYPE RS_BOOL. "   RS_C_FALSE

  CALL FUNCTION 'RSDG_IOBJ_MULTI_ACTIVATE'  "Data Basis: Activates a Range of InfoObjects
    EXPORTING
         I_T_IOBJNM = lv_i_t_iobjnm
         I_OBJVERS = lv_i_objvers
         I_MANUAL = lv_i_manual
         I_WRITE_PROTOCOL = lv_i_write_protocol
         I_SHOW_CHECK_PROTOCOL = lv_i_show_check_protocol
         I_WITH_ENQUEUE = lv_i_with_enqueue
    IMPORTING
         E_T_MSG = lv_e_t_msg
         E_T_TABLNM_CNV = lv_e_t_tablnm_cnv
         E_SUBRC = lv_e_subrc
         E_T_IOBJNM_ERROR = lv_e_t_iobjnm_error
         E_CANCEL = lv_e_cancel
. " RSDG_IOBJ_MULTI_ACTIVATE




ABAP code using 7.40 inline data declarations to call FM RSDG_IOBJ_MULTI_ACTIVATE

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_objvers) = RS_C_OBJVERS-MODIFIED.
 
 
 
DATA(ld_i_manual) = RS_C_TRUE.
 
 
DATA(ld_i_write_protocol) = RS_C_TRUE.
 
 
DATA(ld_i_show_check_protocol) = RS_C_FALSE.
 
DATA(ld_i_with_enqueue) = RS_C_FALSE.
 


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!