SAP Function SGPS_CALCULATE_BASIC_COMPONENT - Function to Calculate Basic Component.

Parameter Reference Type Length Default Optional Text
EDATE SYST-DATUM D 8
LGART T510-LGART C 4 Wage Type
MOLGA T510-MOLGA C 2 Country Grouping
TRFAR T510-TRFAR C 2 Pay scale Type
TRFGB T510-TRFGB C 2 Pay scale Area
TRFGR_HIGH T510-TRFGR C 8
TRFGR_LOW T510-TRFGR C 8
TRFKZ T510-TRFKZ C 1 Employee subgroup grouping for CAP

Parameter Reference Type Length Text
RETURN_CODE SYST-SUBRC I 4

Parameter Reference Length Optional Text
DATATAB_T510 T510 47 Internal table of structure t510

Functionality
The main objective of this function is to update the Basiccomponent which is entered by the user in the table t5pbsr6g.
Program Description
===================
Tables : T5PBSR6E - Grouping for Salary Code and Efficiency Bar
Fields : molga, scode,barid,endda,begda,scgrp.
Tables : T5PBSR6F - Monthly Salary Table
Fields : molga, scode,barid,endda,begda,slmin,slmax,incrm.
Tables : T5PBSR6E - Basic Component Information
Fields : molga, scode,barid,plvel,endda,begda,slbas.
* Retrieve the data from T5PBSR6E, T5PBSR6F,T5PBSR6G
* Move the corresponding elements to datatab_t510
* Append the table datatab_t510.