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

MP058340 SAP ABAP INCLUDE - Common sub-routines







MP058340 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 MP058340 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 MP058340. "Basic submit
SUBMIT MP058340 AND RETURN. "Return to original report after report execution complete
SUBMIT MP058340 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Common sub-routines


INCLUDES used within this REPORT MP058340

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:

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' IMPORTING SELECT_VALUE = TYPEX TABLES FIELDS = IHELP_FIELDS VALUETAB = HELPTAB EXCEPTIONS OTHERS = 1.

HR_IN_GET_ALGRP CALL FUNCTION 'HR_IN_GET_ALGRP' EXPORTING EMPNO = P0583-PERNR RFDATE = P0583-BEGDA IMPORTING RTALGRP = AL_GRP EXCEPTIONS ALGRP_NOT_FOUND = 1 OTHERS = 2.

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

HR_IN_GET_ALGRP_CONV * CALL FUNCTION 'HR_IN_GET_ALGRP_CONV' * EXPORTING * ALGRP = AL_GRP * EMPNO = PSPAR-PERNR * RFDATE = P0583-BEGDA * LGART = NEW_TARWT * IMPORTING * AMOUNT = NEW_ELAMT * EXCEPTIONS * ALGRP_NOT_FOUND = 1 * CALC_METHOD_NOT_FOUND = 2 * INVAL_CALC_FAILED = 3 * OTHERS = 4 * .

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

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

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

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



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 MP058340 or its description.