BAPI_BASICPAY_CHANGE is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name BAPI_BASICPAY_CHANGE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
BPAY
Released Date:
29.08.1997
Processing type: Remote-Enabled
CALL FUNCTION 'BAPI_BASICPAY_CHANGE' "Change Basic Pay
EXPORTING
employeenumber = " bapip0008-pernr Personnel number
subtype = " bapip0008-subty Subtype
objectid = " bapip0008-objps Object identification
lockindicator = " bapip0008-sprps Lock indicator for HR master record
validitybegin = " bapip0008-begda Valid from date
validityend = " bapip0008-endda Valid To Date
recordnumber = " bapip0008-seqnr Number of Infotype Record
* payscaletype = " bapip0008-trfar Pay scale type
* payscalearea = " bapip0008-trfgb Pay Scale Area
* payscalegroup = " bapip0008-trfgr Pay Scale Group
* payscalelevel = " bapip0008-trfst Pay scale level
* nextincrease = " bapip0008-stvor Date of next increase
* localallowlevel = " bapip0008-orzst Cost of living allowance level
* partnership = " bapip0008-partn Partnership
* currency = " bapip0008-waers Currency Key
* comparisonpayscltype = " bapip0008-vglta Comparison pay scale type
* comparisonpaysclarea = " bapip0008-vglgb Comparison pay scale area
* comparisonpaysclgrp = " bapip0008-vglgr Comparison pay scale group
* comparisonpayscllvl = " bapip0008-vglst Comparison pay scale level
* compnextincrease = " bapip0008-vglsv Date of next increase
* capacityutillevel = " bapip0008-bsgrd Capacity Util. Level
* hoursworkedperperiod = " bapip0008-divgv Hours worked per payroll period
* annualsalary = " bapip0008-ansal Currency Amount of BAPI Interfaces
* casegroupcatalog = " bapip0008-falgk Case group catalog
* casegroup = " bapip0008-falgr Case group
* currencyannualsalary = " bapip0008-ancur Currency key for annual salary
* reason = " bapip0008-preas Reason for changing master data
* nocommit = " bapi_stand-no_commit COMMIT control at BAPI interface
IMPORTING
return = " bapireturn1 Structure for return code
* TABLES
* wagetypes = " bapip0008p Transfer structure
. " BAPI_BASICPAY_CHANGE
The ABAP code below is a full code listing to execute function module BAPI_BASICPAY_CHANGE including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_return | TYPE BAPIRETURN1 , |
| it_wagetypes | TYPE STANDARD TABLE OF BAPIP0008P,"TABLES PARAM |
| wa_wagetypes | LIKE LINE OF it_wagetypes . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_return | TYPE BAPIRETURN1 , |
| ld_employeenumber | TYPE BAPIP0008-PERNR , |
| it_wagetypes | TYPE STANDARD TABLE OF BAPIP0008P , |
| wa_wagetypes | LIKE LINE OF it_wagetypes, |
| ld_subtype | TYPE BAPIP0008-SUBTY , |
| ld_objectid | TYPE BAPIP0008-OBJPS , |
| ld_lockindicator | TYPE BAPIP0008-SPRPS , |
| ld_validitybegin | TYPE BAPIP0008-BEGDA , |
| ld_validityend | TYPE BAPIP0008-ENDDA , |
| ld_recordnumber | TYPE BAPIP0008-SEQNR , |
| ld_payscaletype | TYPE BAPIP0008-TRFAR , |
| ld_payscalearea | TYPE BAPIP0008-TRFGB , |
| ld_payscalegroup | TYPE BAPIP0008-TRFGR , |
| ld_payscalelevel | TYPE BAPIP0008-TRFST , |
| ld_nextincrease | TYPE BAPIP0008-STVOR , |
| ld_localallowlevel | TYPE BAPIP0008-ORZST , |
| ld_partnership | TYPE BAPIP0008-PARTN , |
| ld_currency | TYPE BAPIP0008-WAERS , |
| ld_comparisonpayscltype | TYPE BAPIP0008-VGLTA , |
| ld_comparisonpaysclarea | TYPE BAPIP0008-VGLGB , |
| ld_comparisonpaysclgrp | TYPE BAPIP0008-VGLGR , |
| ld_comparisonpayscllvl | TYPE BAPIP0008-VGLST , |
| ld_compnextincrease | TYPE BAPIP0008-VGLSV , |
| ld_capacityutillevel | TYPE BAPIP0008-BSGRD , |
| ld_hoursworkedperperiod | TYPE BAPIP0008-DIVGV , |
| ld_annualsalary | TYPE BAPIP0008-ANSAL , |
| ld_casegroupcatalog | TYPE BAPIP0008-FALGK , |
| ld_casegroup | TYPE BAPIP0008-FALGR , |
| ld_currencyannualsalary | TYPE BAPIP0008-ANCUR , |
| ld_reason | TYPE BAPIP0008-PREAS , |
| ld_nocommit | TYPE BAPI_STAND-NO_COMMIT . |
You can use this method to change a
HINTS
...See here for full SAP fm documentation
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name BAPI_BASICPAY_CHANGE or its description.
BAPI_BASICPAY_CHANGE - Change Basic Pay BAPI_BASICPAY_APPROVE - Unlock basic pay BAPI_BASICPAYEVALUATEWAGETYPES - Valuate person-specific wage types BAPI_BARCODE_SENDLIST - Function module for BAPI BARCODE.SendList BAPI_BANK_STATEMENT_GET - Bank Statement: Call Up Created Bank Statement BAPI_BANK_STATEMENT_EXEC - Bank Statement: Newly Create Bank Statement