SAP BAPI_QUALIDIRECTORY_LIST Function Module for Structure of qualifications catalog
BAPI_QUALIDIRECTORY_LIST is a standard bapi qualidirectory 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 Structure of qualifications catalog 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 bapi qualidirectory list FM, simply by entering the name BAPI_QUALIDIRECTORY_LIST into the relevant SAP transaction such as SE37 or SE38.
Function Group: RHPE_QUALI_DIR_BAPI
Program Name: SAPLRHPE_QUALI_DIR_BAPI
Main Program:
Appliation area: H
Release date: 16-Jun-1999
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function BAPI_QUALIDIRECTORY_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 'BAPI_QUALIDIRECTORY_LIST'"Structure of qualifications catalog.
EXPORTING
PLVAR = "Plan version
* OTYPE = "Object type of a qualification type or qualification group
* OBJID = "Object ID of a qualification type or qualification group
* FROM_DATE = SY-DATUM "Start date
* TO_DATE = SY-DATUM "End date
* DEPTH = 0 "Technical depth
* VIEW_ID = "View of Qualifications Catalog
IMPORTING
RETURN = "Structure for Return Parameters (Code, Text)
TABLES
QUALIFICATIONDIRECTORY = "Qualifications catalog
IMPORTING Parameters details for BAPI_QUALIDIRECTORY_LIST
PLVAR - Plan version
Data type: BAPIQUALIFIC-PLVAROptional: No
Call by Reference: No ( called with pass by value option)
OTYPE - Object type of a qualification type or qualification group
Data type: BAPIQUALIFIC-OTYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
OBJID - Object ID of a qualification type or qualification group
Data type: BAPIPDOTYPE_Q_TAB-OBJ_IDOptional: Yes
Call by Reference: No ( called with pass by value option)
FROM_DATE - Start date
Data type: BAPIQUALIFIC-FROM_DATEDefault: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)
TO_DATE - End date
Data type: BAPIQUALIFIC-TO_DATEDefault: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)
DEPTH - Technical depth
Data type: BAPIQUALIDIR-DEPTHOptional: Yes
Call by Reference: No ( called with pass by value option)
VIEW_ID - View of Qualifications Catalog
Data type: QC_VIEW_IDOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for BAPI_QUALIDIRECTORY_LIST
RETURN - Structure for Return Parameters (Code, Text)
Data type: BAPIRETURN1Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for BAPI_QUALIDIRECTORY_LIST
QUALIFICATIONDIRECTORY - Qualifications catalog
Data type: BAPIQUALI_DIROptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for BAPI_QUALIDIRECTORY_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_plvar | TYPE BAPIQUALIFIC-PLVAR, " | |||
| lv_return | TYPE BAPIRETURN1, " | |||
| lt_qualificationdirectory | TYPE STANDARD TABLE OF BAPIQUALI_DIR, " | |||
| lv_otype | TYPE BAPIQUALIFIC-OTYPE, " | |||
| lv_objid | TYPE BAPIPDOTYPE_Q_TAB-OBJ_ID, " | |||
| lv_from_date | TYPE BAPIQUALIFIC-FROM_DATE, " SY-DATUM | |||
| lv_to_date | TYPE BAPIQUALIFIC-TO_DATE, " SY-DATUM | |||
| lv_depth | TYPE BAPIQUALIDIR-DEPTH, " 0 | |||
| lv_view_id | TYPE QC_VIEW_ID. " |
|   CALL FUNCTION 'BAPI_QUALIDIRECTORY_LIST' "Structure of qualifications catalog |
| EXPORTING | ||
| PLVAR | = lv_plvar | |
| OTYPE | = lv_otype | |
| OBJID | = lv_objid | |
| FROM_DATE | = lv_from_date | |
| TO_DATE | = lv_to_date | |
| DEPTH | = lv_depth | |
| VIEW_ID | = lv_view_id | |
| IMPORTING | ||
| RETURN | = lv_return | |
| TABLES | ||
| QUALIFICATIONDIRECTORY | = lt_qualificationdirectory | |
| . " BAPI_QUALIDIRECTORY_LIST | ||
ABAP code using 7.40 inline data declarations to call FM BAPI_QUALIDIRECTORY_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.| "SELECT single PLVAR FROM BAPIQUALIFIC INTO @DATA(ld_plvar). | ||||
| "SELECT single OTYPE FROM BAPIQUALIFIC INTO @DATA(ld_otype). | ||||
| "SELECT single OBJ_ID FROM BAPIPDOTYPE_Q_TAB INTO @DATA(ld_objid). | ||||
| "SELECT single FROM_DATE FROM BAPIQUALIFIC INTO @DATA(ld_from_date). | ||||
| DATA(ld_from_date) | = SY-DATUM. | |||
| "SELECT single TO_DATE FROM BAPIQUALIFIC INTO @DATA(ld_to_date). | ||||
| DATA(ld_to_date) | = SY-DATUM. | |||
| "SELECT single DEPTH FROM BAPIQUALIDIR INTO @DATA(ld_depth). | ||||
Search for further information about these or an SAP related objects