SAP BAPI_QUALIPROF_CHANGE Function Module for Create, delete, and change qualifications profile









BAPI_QUALIPROF_CHANGE is a standard bapi qualiprof change SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Create, delete, and change qualifications profile 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 qualiprof change FM, simply by entering the name BAPI_QUALIPROF_CHANGE into the relevant SAP transaction such as SE37 or SE38.

Function Group: RHPE_QUALI_PROF_BAPI
Program Name: SAPLRHPE_QUALI_PROF_BAPI
Main Program:
Appliation area: H
Release date: 16-Jun-1999
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function BAPI_QUALIPROF_CHANGE 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_QUALIPROF_CHANGE'"Create, delete, and change qualifications profile
EXPORTING
PLVAR = "Plan version
OTYPE = "Type of person
SOBID = "Object ID of person type

IMPORTING
RETURN = "Structure for return code

TABLES
PROFILE_ADD = "Return qualifications profile ('Create' mode)
PROFILE_DELETE = "Return qualifications profile ('Delete' mode)
* ERR_PROFILE = "Error detected in ERROR_PROFILE
* CHANGE_PROFILE = "Return delimited qualifications (validity)
.



IMPORTING Parameters details for BAPI_QUALIPROF_CHANGE

PLVAR - Plan version

Data type: BAPIQUALIFIC-PLVAR
Optional: No
Call by Reference: No ( called with pass by value option)

OTYPE - Type of person

Data type: BAPIQUALIFIC-OTYPE
Optional: No
Call by Reference: No ( called with pass by value option)

SOBID - Object ID of person type

Data type: BAPIQUALIFIC-SOBID
Optional: No
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for BAPI_QUALIPROF_CHANGE

RETURN - Structure for return code

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

TABLES Parameters details for BAPI_QUALIPROF_CHANGE

PROFILE_ADD - Return qualifications profile ('Create' mode)

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

PROFILE_DELETE - Return qualifications profile ('Delete' mode)

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

ERR_PROFILE - Error detected in ERROR_PROFILE

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

CHANGE_PROFILE - Return delimited qualifications (validity)

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

Copy and paste ABAP code example for BAPI_QUALIPROF_CHANGE 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_profile_add  TYPE STANDARD TABLE OF BAPIQUALIFIC_TAB, "   
lv_otype  TYPE BAPIQUALIFIC-OTYPE, "   
lt_profile_delete  TYPE STANDARD TABLE OF BAPIQUALIFIC_TAB, "   
lv_sobid  TYPE BAPIQUALIFIC-SOBID, "   
lt_err_profile  TYPE STANDARD TABLE OF BAPIQUALIFIC_TAB, "   
lt_change_profile  TYPE STANDARD TABLE OF BAPIQUALIFIC_TAB. "   

  CALL FUNCTION 'BAPI_QUALIPROF_CHANGE'  "Create, delete, and change qualifications profile
    EXPORTING
         PLVAR = lv_plvar
         OTYPE = lv_otype
         SOBID = lv_sobid
    IMPORTING
         RETURN = lv_return
    TABLES
         PROFILE_ADD = lt_profile_add
         PROFILE_DELETE = lt_profile_delete
         ERR_PROFILE = lt_err_profile
         CHANGE_PROFILE = lt_change_profile
. " BAPI_QUALIPROF_CHANGE




ABAP code using 7.40 inline data declarations to call FM BAPI_QUALIPROF_CHANGE

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 SOBID FROM BAPIQUALIFIC INTO @DATA(ld_sobid).
 
 
 


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!