SAP BAPI_BASICPAY_EVALUATEWAGETYPS Function Module for Create Basic Pay
BAPI_BASICPAY_EVALUATEWAGETYPS is a standard bapi basicpay evaluatewagetyps 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 Basic Pay 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 basicpay evaluatewagetyps FM, simply by entering the name BAPI_BASICPAY_EVALUATEWAGETYPS into the relevant SAP transaction such as SE37 or SE38.
Function Group: BPAY
Program Name: SAPLBPAY
Main Program: SAPLBPAY
Appliation area: P
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function BAPI_BASICPAY_EVALUATEWAGETYPS 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_BASICPAY_EVALUATEWAGETYPS'"Create Basic Pay.
EXPORTING
EMPLOYEENUMBER = "Personnel number
* LOCALALLOWLEVEL = "Cost of living allowance level
* PARTNERSHIP = "Partnership
* CURRENCY = "Currency Key
* COMPARISONPAYSCLTYPE = "Comparison pay scale type
* COMPARISONPAYSCLAREA = "Comparison pay scale area
* COMPARISONPAYSCLGRP = "Comparison pay scale group
* COMPARISONPAYSCLLVL = "Comparison pay scale level
* COMPNEXTINCREASE = "Date of next increase
* CAPACITYUTILLEVEL = "Capacity utilization level
* HOURSWORKEDPERPERIOD = "Hours worked per payroll period
SUBTYPE = "Subtype
* ANNUALSALARY = "Currency amount in BAPI interfaces
* CASEGROUPCATALOG = "Case group catalog
* CASEGROUP = "Case group
* CURRENCYANNUALSALARY = "Currency key for annual salary
* REASON = "Reason for changing master data
* NOCOMMIT = "COMMIT control at BAPI interface
VALIDITYBEGIN = "Valid from date
VALIDITYEND = "Valid to date
* PAYSCALETYPE = "Pay scale type
* PAYSCALEAREA = "Pay Scale Area
* PAYSCALEGROUP = "Pay Scale Group
* PAYSCALELEVEL = "Pay scale level
* NEXTINCREASE = "Date of next increase
IMPORTING
RETURN = "Structure for Return Code
EMPLOYEENUMBER = "Personnel number
SUBTYPE = "Subtype
OBJECTID = "Object identification
LOCKINDICATOR = "Lock indicator for HR master record
VALIDITYBEGIN = "Valid from date
VALIDITYEND = "Valid to date
RECORDNUMBER = "Number of Infotype Record
TABLES
* WAGETYPES = "Transfer structure
IMPORTING Parameters details for BAPI_BASICPAY_EVALUATEWAGETYPS
EMPLOYEENUMBER - Personnel number
Data type: BAPIP0008-PERNROptional: No
Call by Reference: No ( called with pass by value option)
LOCALALLOWLEVEL - Cost of living allowance level
Data type: BAPIP0008-ORZSTOptional: Yes
Call by Reference: No ( called with pass by value option)
PARTNERSHIP - Partnership
Data type: BAPIP0008-PARTNOptional: Yes
Call by Reference: No ( called with pass by value option)
CURRENCY - Currency Key
Data type: BAPIP0008-WAERSOptional: Yes
Call by Reference: No ( called with pass by value option)
COMPARISONPAYSCLTYPE - Comparison pay scale type
Data type: BAPIP0008-VGLTAOptional: Yes
Call by Reference: No ( called with pass by value option)
COMPARISONPAYSCLAREA - Comparison pay scale area
Data type: BAPIP0008-VGLGBOptional: Yes
Call by Reference: No ( called with pass by value option)
COMPARISONPAYSCLGRP - Comparison pay scale group
Data type: BAPIP0008-VGLGROptional: Yes
Call by Reference: No ( called with pass by value option)
COMPARISONPAYSCLLVL - Comparison pay scale level
Data type: BAPIP0008-VGLSTOptional: Yes
Call by Reference: No ( called with pass by value option)
COMPNEXTINCREASE - Date of next increase
Data type: BAPIP0008-VGLSVOptional: Yes
Call by Reference: No ( called with pass by value option)
CAPACITYUTILLEVEL - Capacity utilization level
Data type: BAPIP0008-BSGRDOptional: Yes
Call by Reference: No ( called with pass by value option)
HOURSWORKEDPERPERIOD - Hours worked per payroll period
Data type: BAPIP0008-DIVGVOptional: Yes
Call by Reference: No ( called with pass by value option)
SUBTYPE - Subtype
Data type: BAPIP0008-SUBTYOptional: No
Call by Reference: No ( called with pass by value option)
ANNUALSALARY - Currency amount in BAPI interfaces
Data type: BAPIP0008-ANSALOptional: Yes
Call by Reference: No ( called with pass by value option)
CASEGROUPCATALOG - Case group catalog
Data type: BAPIP0008-FALGKOptional: Yes
Call by Reference: No ( called with pass by value option)
CASEGROUP - Case group
Data type: BAPIP0008-FALGROptional: Yes
Call by Reference: No ( called with pass by value option)
CURRENCYANNUALSALARY - Currency key for annual salary
Data type: BAPIP0008-ANCUROptional: Yes
Call by Reference: No ( called with pass by value option)
REASON - Reason for changing master data
Data type: BAPIP0008-PREASOptional: Yes
Call by Reference: No ( called with pass by value option)
NOCOMMIT - COMMIT control at BAPI interface
Data type: BAPI_STAND-NO_COMMITOptional: Yes
Call by Reference: No ( called with pass by value option)
VALIDITYBEGIN - Valid from date
Data type: BAPIP0008-BEGDAOptional: No
Call by Reference: No ( called with pass by value option)
VALIDITYEND - Valid to date
Data type: BAPIP0008-ENDDAOptional: No
Call by Reference: No ( called with pass by value option)
PAYSCALETYPE - Pay scale type
Data type: BAPIP0008-TRFAROptional: Yes
Call by Reference: No ( called with pass by value option)
PAYSCALEAREA - Pay Scale Area
Data type: BAPIP0008-TRFGBOptional: Yes
Call by Reference: No ( called with pass by value option)
PAYSCALEGROUP - Pay Scale Group
Data type: BAPIP0008-TRFGROptional: Yes
Call by Reference: No ( called with pass by value option)
PAYSCALELEVEL - Pay scale level
Data type: BAPIP0008-TRFSTOptional: Yes
Call by Reference: No ( called with pass by value option)
NEXTINCREASE - Date of next increase
Data type: BAPIP0008-STVOROptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for BAPI_BASICPAY_EVALUATEWAGETYPS
RETURN - Structure for Return Code
Data type: BAPIRETURN1Optional: No
Call by Reference: No ( called with pass by value option)
EMPLOYEENUMBER - Personnel number
Data type: BAPIP0008-PERNROptional: No
Call by Reference: No ( called with pass by value option)
SUBTYPE - Subtype
Data type: BAPIP0008-SUBTYOptional: No
Call by Reference: No ( called with pass by value option)
OBJECTID - Object identification
Data type: BAPIP0008-OBJPSOptional: No
Call by Reference: No ( called with pass by value option)
LOCKINDICATOR - Lock indicator for HR master record
Data type: BAPIP0008-SPRPSOptional: No
Call by Reference: No ( called with pass by value option)
VALIDITYBEGIN - Valid from date
Data type: BAPIP0008-BEGDAOptional: No
Call by Reference: No ( called with pass by value option)
VALIDITYEND - Valid to date
Data type: BAPIP0008-ENDDAOptional: No
Call by Reference: No ( called with pass by value option)
RECORDNUMBER - Number of Infotype Record
Data type: BAPIP0008-SEQNROptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for BAPI_BASICPAY_EVALUATEWAGETYPS
WAGETYPES - Transfer structure
Data type: BAPIP0008POptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for BAPI_BASICPAY_EVALUATEWAGETYPS 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_return | TYPE BAPIRETURN1, " | |||
| lt_wagetypes | TYPE STANDARD TABLE OF BAPIP0008P, " | |||
| lv_employeenumber | TYPE BAPIP0008-PERNR, " | |||
| lv_localallowlevel | TYPE BAPIP0008-ORZST, " | |||
| lv_partnership | TYPE BAPIP0008-PARTN, " | |||
| lv_currency | TYPE BAPIP0008-WAERS, " | |||
| lv_comparisonpayscltype | TYPE BAPIP0008-VGLTA, " | |||
| lv_comparisonpaysclarea | TYPE BAPIP0008-VGLGB, " | |||
| lv_comparisonpaysclgrp | TYPE BAPIP0008-VGLGR, " | |||
| lv_comparisonpayscllvl | TYPE BAPIP0008-VGLST, " | |||
| lv_compnextincrease | TYPE BAPIP0008-VGLSV, " | |||
| lv_capacityutillevel | TYPE BAPIP0008-BSGRD, " | |||
| lv_hoursworkedperperiod | TYPE BAPIP0008-DIVGV, " | |||
| lv_subtype | TYPE BAPIP0008-SUBTY, " | |||
| lv_employeenumber | TYPE BAPIP0008-PERNR, " | |||
| lv_annualsalary | TYPE BAPIP0008-ANSAL, " | |||
| lv_casegroupcatalog | TYPE BAPIP0008-FALGK, " | |||
| lv_casegroup | TYPE BAPIP0008-FALGR, " | |||
| lv_currencyannualsalary | TYPE BAPIP0008-ANCUR, " | |||
| lv_reason | TYPE BAPIP0008-PREAS, " | |||
| lv_nocommit | TYPE BAPI_STAND-NO_COMMIT, " | |||
| lv_subtype | TYPE BAPIP0008-SUBTY, " | |||
| lv_validitybegin | TYPE BAPIP0008-BEGDA, " | |||
| lv_objectid | TYPE BAPIP0008-OBJPS, " | |||
| lv_validityend | TYPE BAPIP0008-ENDDA, " | |||
| lv_payscaletype | TYPE BAPIP0008-TRFAR, " | |||
| lv_lockindicator | TYPE BAPIP0008-SPRPS, " | |||
| lv_payscalearea | TYPE BAPIP0008-TRFGB, " | |||
| lv_validitybegin | TYPE BAPIP0008-BEGDA, " | |||
| lv_validityend | TYPE BAPIP0008-ENDDA, " | |||
| lv_payscalegroup | TYPE BAPIP0008-TRFGR, " | |||
| lv_recordnumber | TYPE BAPIP0008-SEQNR, " | |||
| lv_payscalelevel | TYPE BAPIP0008-TRFST, " | |||
| lv_nextincrease | TYPE BAPIP0008-STVOR. " |
|   CALL FUNCTION 'BAPI_BASICPAY_EVALUATEWAGETYPS' "Create Basic Pay |
| EXPORTING | ||
| EMPLOYEENUMBER | = lv_employeenumber | |
| LOCALALLOWLEVEL | = lv_localallowlevel | |
| PARTNERSHIP | = lv_partnership | |
| CURRENCY | = lv_currency | |
| COMPARISONPAYSCLTYPE | = lv_comparisonpayscltype | |
| COMPARISONPAYSCLAREA | = lv_comparisonpaysclarea | |
| COMPARISONPAYSCLGRP | = lv_comparisonpaysclgrp | |
| COMPARISONPAYSCLLVL | = lv_comparisonpayscllvl | |
| COMPNEXTINCREASE | = lv_compnextincrease | |
| CAPACITYUTILLEVEL | = lv_capacityutillevel | |
| HOURSWORKEDPERPERIOD | = lv_hoursworkedperperiod | |
| SUBTYPE | = lv_subtype | |
| ANNUALSALARY | = lv_annualsalary | |
| CASEGROUPCATALOG | = lv_casegroupcatalog | |
| CASEGROUP | = lv_casegroup | |
| CURRENCYANNUALSALARY | = lv_currencyannualsalary | |
| REASON | = lv_reason | |
| NOCOMMIT | = lv_nocommit | |
| VALIDITYBEGIN | = lv_validitybegin | |
| VALIDITYEND | = lv_validityend | |
| PAYSCALETYPE | = lv_payscaletype | |
| PAYSCALEAREA | = lv_payscalearea | |
| PAYSCALEGROUP | = lv_payscalegroup | |
| PAYSCALELEVEL | = lv_payscalelevel | |
| NEXTINCREASE | = lv_nextincrease | |
| IMPORTING | ||
| RETURN | = lv_return | |
| EMPLOYEENUMBER | = lv_employeenumber | |
| SUBTYPE | = lv_subtype | |
| OBJECTID | = lv_objectid | |
| LOCKINDICATOR | = lv_lockindicator | |
| VALIDITYBEGIN | = lv_validitybegin | |
| VALIDITYEND | = lv_validityend | |
| RECORDNUMBER | = lv_recordnumber | |
| TABLES | ||
| WAGETYPES | = lt_wagetypes | |
| . " BAPI_BASICPAY_EVALUATEWAGETYPS | ||
ABAP code using 7.40 inline data declarations to call FM BAPI_BASICPAY_EVALUATEWAGETYPS
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 PERNR FROM BAPIP0008 INTO @DATA(ld_employeenumber). | ||||
| "SELECT single ORZST FROM BAPIP0008 INTO @DATA(ld_localallowlevel). | ||||
| "SELECT single PARTN FROM BAPIP0008 INTO @DATA(ld_partnership). | ||||
| "SELECT single WAERS FROM BAPIP0008 INTO @DATA(ld_currency). | ||||
| "SELECT single VGLTA FROM BAPIP0008 INTO @DATA(ld_comparisonpayscltype). | ||||
| "SELECT single VGLGB FROM BAPIP0008 INTO @DATA(ld_comparisonpaysclarea). | ||||
| "SELECT single VGLGR FROM BAPIP0008 INTO @DATA(ld_comparisonpaysclgrp). | ||||
| "SELECT single VGLST FROM BAPIP0008 INTO @DATA(ld_comparisonpayscllvl). | ||||
| "SELECT single VGLSV FROM BAPIP0008 INTO @DATA(ld_compnextincrease). | ||||
| "SELECT single BSGRD FROM BAPIP0008 INTO @DATA(ld_capacityutillevel). | ||||
| "SELECT single DIVGV FROM BAPIP0008 INTO @DATA(ld_hoursworkedperperiod). | ||||
| "SELECT single SUBTY FROM BAPIP0008 INTO @DATA(ld_subtype). | ||||
| "SELECT single PERNR FROM BAPIP0008 INTO @DATA(ld_employeenumber). | ||||
| "SELECT single ANSAL FROM BAPIP0008 INTO @DATA(ld_annualsalary). | ||||
| "SELECT single FALGK FROM BAPIP0008 INTO @DATA(ld_casegroupcatalog). | ||||
| "SELECT single FALGR FROM BAPIP0008 INTO @DATA(ld_casegroup). | ||||
| "SELECT single ANCUR FROM BAPIP0008 INTO @DATA(ld_currencyannualsalary). | ||||
| "SELECT single PREAS FROM BAPIP0008 INTO @DATA(ld_reason). | ||||
| "SELECT single NO_COMMIT FROM BAPI_STAND INTO @DATA(ld_nocommit). | ||||
| "SELECT single SUBTY FROM BAPIP0008 INTO @DATA(ld_subtype). | ||||
| "SELECT single BEGDA FROM BAPIP0008 INTO @DATA(ld_validitybegin). | ||||
| "SELECT single OBJPS FROM BAPIP0008 INTO @DATA(ld_objectid). | ||||
| "SELECT single ENDDA FROM BAPIP0008 INTO @DATA(ld_validityend). | ||||
| "SELECT single TRFAR FROM BAPIP0008 INTO @DATA(ld_payscaletype). | ||||
| "SELECT single SPRPS FROM BAPIP0008 INTO @DATA(ld_lockindicator). | ||||
| "SELECT single TRFGB FROM BAPIP0008 INTO @DATA(ld_payscalearea). | ||||
| "SELECT single BEGDA FROM BAPIP0008 INTO @DATA(ld_validitybegin). | ||||
| "SELECT single ENDDA FROM BAPIP0008 INTO @DATA(ld_validityend). | ||||
| "SELECT single TRFGR FROM BAPIP0008 INTO @DATA(ld_payscalegroup). | ||||
| "SELECT single SEQNR FROM BAPIP0008 INTO @DATA(ld_recordnumber). | ||||
| "SELECT single TRFST FROM BAPIP0008 INTO @DATA(ld_payscalelevel). | ||||
| "SELECT single STVOR FROM BAPIP0008 INTO @DATA(ld_nextincrease). | ||||
Search for further information about these or an SAP related objects