SAP RSS2_ODSACTIVATE_UNIQUE_POPUP Function Module for Uniqueness of the sets during activation
RSS2_ODSACTIVATE_UNIQUE_POPUP is a standard rss2 odsactivate unique popup SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Uniqueness of the sets during activation 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 rss2 odsactivate unique popup FM, simply by entering the name RSS2_ODSACTIVATE_UNIQUE_POPUP into the relevant SAP transaction such as SE37 or SE38.
Function Group: RSS2
Program Name: SAPLRSS2
Main Program: SAPLRSS2
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RSS2_ODSACTIVATE_UNIQUE_POPUP 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 'RSS2_ODSACTIVATE_UNIQUE_POPUP'"Uniqueness of the sets during activation.
EXPORTING
I_DSO = "InfoCube
I_S_UNIQUE = "Uniqueness Setting for DSO Activation
* I_NO_INIT = ' ' "Boolean
IMPORTING
E_S_UNIQUE = "Uniqueness Setting for DSO Activation
EXCEPTIONS
CANCELED_BY_USER = 1 DSO_NOT_EXIST = 2
IMPORTING Parameters details for RSS2_ODSACTIVATE_UNIQUE_POPUP
I_DSO - InfoCube
Data type: RSINFOCUBEOptional: No
Call by Reference: No ( called with pass by value option)
I_S_UNIQUE - Uniqueness Setting for DSO Activation
Data type: RSS2_DSO_UNIQUE_RECSOptional: No
Call by Reference: No ( called with pass by value option)
I_NO_INIT - Boolean
Data type: RS_BOOLDefault: SPACE
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for RSS2_ODSACTIVATE_UNIQUE_POPUP
E_S_UNIQUE - Uniqueness Setting for DSO Activation
Data type: RSS2_DSO_UNIQUE_RECSOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
CANCELED_BY_USER - Cancellation by User
Data type:Optional: No
Call by Reference: Yes
DSO_NOT_EXIST - DSO does not exist
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for RSS2_ODSACTIVATE_UNIQUE_POPUP 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_i_dso | TYPE RSINFOCUBE, " | |||
| lv_e_s_unique | TYPE RSS2_DSO_UNIQUE_RECS, " | |||
| lv_canceled_by_user | TYPE RSS2_DSO_UNIQUE_RECS, " | |||
| lv_i_s_unique | TYPE RSS2_DSO_UNIQUE_RECS, " | |||
| lv_dso_not_exist | TYPE RSS2_DSO_UNIQUE_RECS, " | |||
| lv_i_no_init | TYPE RS_BOOL. " SPACE |
|   CALL FUNCTION 'RSS2_ODSACTIVATE_UNIQUE_POPUP' "Uniqueness of the sets during activation |
| EXPORTING | ||
| I_DSO | = lv_i_dso | |
| I_S_UNIQUE | = lv_i_s_unique | |
| I_NO_INIT | = lv_i_no_init | |
| IMPORTING | ||
| E_S_UNIQUE | = lv_e_s_unique | |
| EXCEPTIONS | ||
| CANCELED_BY_USER = 1 | ||
| DSO_NOT_EXIST = 2 | ||
| . " RSS2_ODSACTIVATE_UNIQUE_POPUP | ||
ABAP code using 7.40 inline data declarations to call FM RSS2_ODSACTIVATE_UNIQUE_POPUP
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_no_init) | = ' '. | |||
Search for further information about these or an SAP related objects