SAP Reports / Programs | Personnel Management | Personnel Administration | India(PA-PA-IN) SAP PA

MP058140 SAP ABAP INCLUDE - SET_VALUATION







MP058140 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter MP058140 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT MP058140. "Basic submit
SUBMIT MP058140 AND RETURN. "Return to original report after report execution complete
SUBMIT MP058140 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT MP058140

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

HR_IN_GET_ALGRP_WT CALL FUNCTION 'HR_IN_GET_ALGRP_WT' EXPORTING EMPNO = P0581-PERNR RFDATE = P0581-BEGDA WTYPE = ACC_TYPE IMPORTING LGART = ELGWT EXCEPTIONS ALGRP_NOT_FOUND = 1 LGART_NOT_FOUND = 2 OTHERS = 3.

HR_IN_GET_ALGRP_AMT CALL FUNCTION 'HR_IN_GET_ALGRP_AMT' EXPORTING EMPNO = P0581-PERNR RFDATE = P0581-BEGDA WTYPE = ACC_TYPE IMPORTING AMOUNT = ELGMT * LGART = ELGWT EXCEPTIONS ALGRP_NOT_FOUND = 1 LGART_NOT_FOUND = 2 CALC_METHOD_NOT_FOUND = 3 INVAL_CALC_FAILED = 4 OTHERS = 5.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING RETFIELD = 'HRACD' VALUE_ORG = 'S' TABLES VALUE_TAB = HRACD_TAB EXCEPTIONS PARAMETER_ERROR = 1 NO_VALUES_FOUND = 2 OTHERS = 3.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING RETFIELD = 'HRACT' VALUE_ORG = 'S' TABLES VALUE_TAB = CITY_TAB EXCEPTIONS PARAMETER_ERROR = 1 NO_VALUES_FOUND = 2 OTHERS = 3.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING PERNR = P0581-PERNR INFTY = '0008' BEGDA = P0581-BEGDA ENDDA = P0581-BEGDA TABLES INFTY_TAB = I0008 EXCEPTIONS INFTY_NOT_FOUND = 1 OTHERS = 2.

HR_IN_GET_ALGRP_AMT * CALL FUNCTION 'HR_IN_GET_ALGRP_AMT' * EXPORTING * EMPNO = PSAVE-PERNR * RFDATE = PSAVE-BEGDA * WTYPE = TAXCD * IMPORTING ** AMOUNT = ELGMT * LGART = OLD_ELGWT * EXCEPTIONS * ALGRP_NOT_FOUND = 1 * LGART_NOT_FOUND = 2 * CALC_METHOD_NOT_FOUND = 3 * INVAL_CALC_FAILED = 4 * OTHERS = 5.

HR_IN_GET_ALGRP_WT CALL FUNCTION 'HR_IN_GET_ALGRP_WT' EXPORTING EMPNO = PSAVE-PERNR RFDATE = PSAVE-BEGDA WTYPE = TAXCD IMPORTING * RTALGRP = LGART = OLD_ELGWT EXCEPTIONS ALGRP_NOT_FOUND = 1 LGART_NOT_FOUND = 2 OTHERS = 3 .

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING PERNR = P0581-PERNR INFTY = '0008' BEGDA = RP50D-DATE1 ENDDA = P0581-ENDDA TABLES INFTY_TAB = I0008 EXCEPTIONS INFTY_NOT_FOUND = 1 OTHERS = 2.

HR_IN_GET_ALGRP_WT CALL FUNCTION 'HR_IN_GET_ALGRP_WT' EXPORTING EMPNO = P0581-PERNR RFDATE = I0008-BEGDA WTYPE = NEW_TAXCD IMPORTING LGART = ELGWT EXCEPTIONS ALGRP_NOT_FOUND = 1 LGART_NOT_FOUND = 2 OTHERS = 3.

RP_NUMBER_OF_WAGETYPES_0008 CALL FUNCTION 'RP_NUMBER_OF_WAGETYPES_0008' IMPORTING wt_count = it8updates-rowno.

HR_IN_GET_ALGRP_WT CALL FUNCTION 'HR_IN_GET_ALGRP_WT' EXPORTING EMPNO = PSAVE-PERNR RFDATE = I0008-BEGDA WTYPE = OLD_TAXCD IMPORTING * RTALGRP = LGART = OLD_ELGWT EXCEPTIONS ALGRP_NOT_FOUND = 1 LGART_NOT_FOUND = 2 OTHERS = 3 .



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name MP058140 or its description.