SAP UJN_API_ADSO_GETLIST Function Module for BPC: Get all the ADSO list









UJN_API_ADSO_GETLIST is a standard ujn api adso getlist SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for BPC: Get all the ADSO list 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 ujn api adso getlist FM, simply by entering the name UJN_API_ADSO_GETLIST into the relevant SAP transaction such as SE37 or SE38.

Function Group: UJN_API_BI
Program Name: SAPLUJN_API_BI
Main Program: SAPLUJN_API_BI
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function UJN_API_ADSO_GETLIST 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 'UJN_API_ADSO_GETLIST'"BPC: Get all the ADSO list
EXPORTING
* I_USE_SERVICE_USER = ABAP_TRUE "BPC: Generic indicator
* I_NO_AQ_DELETION = UJN_TN_C_BOOLALL-ALL "Bool filter with all
* I_PLANNING_MODE = UJN_TN_C_BOOLALL-ALL "Bool filter with all
* I_INVENTORY = UJN_TN_C_BOOLALL-ALL "Bool filter with all
* I_ADSONM = '*' "Datastore Object: Name
* I_OBJVERS = RS_C_OBJVERS-ACTIVE "Object version
* I_INFOAREA = "InfoArea
* I_ACTIVATE_DATA = UJN_TN_C_BOOLALL-ALL "Bool filter with all
* I_WRITE_CHANGELOG = UJN_TN_C_BOOLALL-ALL "Bool filter with all
* I_CUBEDELTAONLY = UJN_TN_C_BOOLALL-ALL "Bool filter with all
* I_DIRECT_UPDATE = UJN_TN_C_BOOLALL-ALL "Bool filter with all
* I_SNAPSHOT_SCENARIO = UJN_TN_C_BOOLALL-ALL "Bool filter with all

IMPORTING
E_T_ADSO = "BW Repository: List Format (ALV) for F4 Help
.



IMPORTING Parameters details for UJN_API_ADSO_GETLIST

I_USE_SERVICE_USER - BPC: Generic indicator

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

I_NO_AQ_DELETION - Bool filter with all

Data type: UJN_TN_BOOL_ALL
Default: UJN_TN_C_BOOLALL-ALL
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PLANNING_MODE - Bool filter with all

Data type: UJN_TN_BOOL_ALL
Default: UJN_TN_C_BOOLALL-ALL
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_INVENTORY - Bool filter with all

Data type: UJN_TN_BOOL_ALL
Default: UJN_TN_C_BOOLALL-ALL
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ADSONM - Datastore Object: Name

Data type: RSOADSONM
Default: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_OBJVERS - Object version

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

I_INFOAREA - InfoArea

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

I_ACTIVATE_DATA - Bool filter with all

Data type: UJN_TN_BOOL_ALL
Default: UJN_TN_C_BOOLALL-ALL
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_WRITE_CHANGELOG - Bool filter with all

Data type: UJN_TN_BOOL_ALL
Default: UJN_TN_C_BOOLALL-ALL
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CUBEDELTAONLY - Bool filter with all

Data type: UJN_TN_BOOL_ALL
Default: UJN_TN_C_BOOLALL-ALL
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DIRECT_UPDATE - Bool filter with all

Data type: UJN_TN_BOOL_ALL
Default: UJN_TN_C_BOOLALL-ALL
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SNAPSHOT_SCENARIO - Bool filter with all

Data type: UJN_TN_BOOL_ALL
Default: UJN_TN_C_BOOLALL-ALL
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for UJN_API_ADSO_GETLIST

E_T_ADSO - BW Repository: List Format (ALV) for F4 Help

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

Copy and paste ABAP code example for UJN_API_ADSO_GETLIST 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_adso  TYPE RSO_T_OBJECT_F4_LIST, "   
lv_i_use_service_user  TYPE UJ_FLG, "   ABAP_TRUE
lv_i_no_aq_deletion  TYPE UJN_TN_BOOL_ALL, "   UJN_TN_C_BOOLALL-ALL
lv_i_planning_mode  TYPE UJN_TN_BOOL_ALL, "   UJN_TN_C_BOOLALL-ALL
lv_i_inventory  TYPE UJN_TN_BOOL_ALL, "   UJN_TN_C_BOOLALL-ALL
lv_i_adsonm  TYPE RSOADSONM, "   '*'
lv_i_objvers  TYPE RSOBJVERS, "   RS_C_OBJVERS-ACTIVE
lv_i_infoarea  TYPE RSINFOAREA, "   
lv_i_activate_data  TYPE UJN_TN_BOOL_ALL, "   UJN_TN_C_BOOLALL-ALL
lv_i_write_changelog  TYPE UJN_TN_BOOL_ALL, "   UJN_TN_C_BOOLALL-ALL
lv_i_cubedeltaonly  TYPE UJN_TN_BOOL_ALL, "   UJN_TN_C_BOOLALL-ALL
lv_i_direct_update  TYPE UJN_TN_BOOL_ALL, "   UJN_TN_C_BOOLALL-ALL
lv_i_snapshot_scenario  TYPE UJN_TN_BOOL_ALL. "   UJN_TN_C_BOOLALL-ALL

  CALL FUNCTION 'UJN_API_ADSO_GETLIST'  "BPC: Get all the ADSO list
    EXPORTING
         I_USE_SERVICE_USER = lv_i_use_service_user
         I_NO_AQ_DELETION = lv_i_no_aq_deletion
         I_PLANNING_MODE = lv_i_planning_mode
         I_INVENTORY = lv_i_inventory
         I_ADSONM = lv_i_adsonm
         I_OBJVERS = lv_i_objvers
         I_INFOAREA = lv_i_infoarea
         I_ACTIVATE_DATA = lv_i_activate_data
         I_WRITE_CHANGELOG = lv_i_write_changelog
         I_CUBEDELTAONLY = lv_i_cubedeltaonly
         I_DIRECT_UPDATE = lv_i_direct_update
         I_SNAPSHOT_SCENARIO = lv_i_snapshot_scenario
    IMPORTING
         E_T_ADSO = lv_e_t_adso
. " UJN_API_ADSO_GETLIST




ABAP code using 7.40 inline data declarations to call FM UJN_API_ADSO_GETLIST

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_use_service_user) = ABAP_TRUE.
 
DATA(ld_i_no_aq_deletion) = UJN_TN_C_BOOLALL-ALL.
 
DATA(ld_i_planning_mode) = UJN_TN_C_BOOLALL-ALL.
 
DATA(ld_i_inventory) = UJN_TN_C_BOOLALL-ALL.
 
DATA(ld_i_adsonm) = '*'.
 
DATA(ld_i_objvers) = RS_C_OBJVERS-ACTIVE.
 
 
DATA(ld_i_activate_data) = UJN_TN_C_BOOLALL-ALL.
 
DATA(ld_i_write_changelog) = UJN_TN_C_BOOLALL-ALL.
 
DATA(ld_i_cubedeltaonly) = UJN_TN_C_BOOLALL-ALL.
 
DATA(ld_i_direct_update) = UJN_TN_C_BOOLALL-ALL.
 
DATA(ld_i_snapshot_scenario) = UJN_TN_C_BOOLALL-ALL.
 


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!