SAP UJL_API_GET_REP_LIST Function Module for BPC: RFC for client to get report list by appset and application
UJL_API_GET_REP_LIST is a standard ujl api get rep list 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: RFC for client to get report list by appset and application 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 ujl api get rep list FM, simply by entering the name UJL_API_GET_REP_LIST into the relevant SAP transaction such as SE37 or SE38.
Function Group: UJL0
Program Name: SAPLUJL0
Main Program: SAPLUJL0
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function UJL_API_GET_REP_LIST 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 'UJL_API_GET_REP_LIST'"BPC: RFC for client to get report list by appset and application.
EXPORTING
IS_USER = "BPC: User Login Info
I_APPSET_ID = "BPC: AppSet ID
I_APP_ID = "BPC: Application ID
I_FILTER = "String that length is not fixed
IMPORTING
E_SUCCESS = "BPC: Generic indicator
TABLES
ET_XML_STR = "
ET_MESSAGE_LINES = "BPC: Messages
ET_LIVE_REP = "BPC: Live report table type
IMPORTING Parameters details for UJL_API_GET_REP_LIST
IS_USER - BPC: User Login Info
Data type: UJ0_S_USEROptional: No
Call by Reference: No ( called with pass by value option)
I_APPSET_ID - BPC: AppSet ID
Data type: UJ_APPSET_IDOptional: No
Call by Reference: No ( called with pass by value option)
I_APP_ID - BPC: Application ID
Data type: UJ_APPL_IDOptional: No
Call by Reference: No ( called with pass by value option)
I_FILTER - String that length is not fixed
Data type: UJ_STRINGOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for UJL_API_GET_REP_LIST
E_SUCCESS - BPC: Generic indicator
Data type: UJ_FLGOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for UJL_API_GET_REP_LIST
ET_XML_STR -
Data type: UJ0_T_LINEOptional: No
Call by Reference: Yes
ET_MESSAGE_LINES - BPC: Messages
Data type: UJ0_T_MESSAGEOptional: No
Call by Reference: Yes
ET_LIVE_REP - BPC: Live report table type
Data type: UJL_T_API_LIVEREPSOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for UJL_API_GET_REP_LIST 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_is_user | TYPE UJ0_S_USER, " | |||
| lv_e_success | TYPE UJ_FLG, " | |||
| lt_et_xml_str | TYPE STANDARD TABLE OF UJ0_T_LINE, " | |||
| lv_i_appset_id | TYPE UJ_APPSET_ID, " | |||
| lt_et_message_lines | TYPE STANDARD TABLE OF UJ0_T_MESSAGE, " | |||
| lv_i_app_id | TYPE UJ_APPL_ID, " | |||
| lt_et_live_rep | TYPE STANDARD TABLE OF UJL_T_API_LIVEREPS, " | |||
| lv_i_filter | TYPE UJ_STRING. " |
|   CALL FUNCTION 'UJL_API_GET_REP_LIST' "BPC: RFC for client to get report list by appset and application |
| EXPORTING | ||
| IS_USER | = lv_is_user | |
| I_APPSET_ID | = lv_i_appset_id | |
| I_APP_ID | = lv_i_app_id | |
| I_FILTER | = lv_i_filter | |
| IMPORTING | ||
| E_SUCCESS | = lv_e_success | |
| TABLES | ||
| ET_XML_STR | = lt_et_xml_str | |
| ET_MESSAGE_LINES | = lt_et_message_lines | |
| ET_LIVE_REP | = lt_et_live_rep | |
| . " UJL_API_GET_REP_LIST | ||
ABAP code using 7.40 inline data declarations to call FM UJL_API_GET_REP_LIST
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.Search for further information about these or an SAP related objects