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

MP000840 SAP ABAP INCLUDE - Module Pool Infotype P0008 Form Routines for Common Part







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


Text pool values


Title: Module Pool Infotype P0008 Form Routines for Common Part


INCLUDES used within this REPORT MP000840

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:

RP_ANSAL_FROM_WAGETYPES CALL FUNCTION 'RP_ANSAL_FROM_WAGETYPES' EXPORTING F_TCLAS = PSPAR-TCLAS "N0613059 F_PERNR = P0008-PERNR "N0357076 F_BUKRS = PSYST-BUKRS F_WERKS = PSYST-WERKS F_BTRTL = PSYST-BTRTL F_PERSG = PSYST-PERSG F_PERSK = PSYST-PERSK F_TRFGB = P0008-TRFGB F_TRFAR = P0008-TRFAR F_DIVGV = P0008-DIVGV F_MOLGA = T001P-MOLGA F_DATE = Q0008-IBBEG F_SUBTY = P0008-SUBTY F_CURRENCY_WAGETYPES = P0008-WAERS F_CURRENCY_ANSAL = P0008-ANCUR * F_PERIODS_IN = F_CALL_FROM_ITF = 'X' "SERN894037 IMPORTING F_ANSAL = P_ANSAL F_IS_INDIRECT = P_INDIRECT * F_PERIODS_OUT = TABLES F_TINDBW = L_PTBINDBW EXCEPTIONS "K003634 FEATURE_ANSAL = 1 "K003634 INVALID_ZEINH = 2 "K003634 NO_ENTRY_IN_TABLE = 3 "K003634 CURRENCY_CONVERSION_ERROR = 4 "K003634 ANSAL2BIG = 5 "K003634 ANSAL_NEGATIVE = 6 "K003634 OTHERS = 7. "K003634

RP_ZEINH_GET CALL FUNCTION 'RP_ZEINH_GET' "QNOK024062 EXPORTING P_MOLGA = T001P-MOLGA P_TRFGB = P0008-TRFGB P_TRFAR = P0008-TRFAR P_TRFKZ = T503-TRFKZ P_DATE = P0008-BEGDA IMPORTING P_ZEINH = TMP_ZEINH EXCEPTIONS "K003634 NO_ENTRY_T549R = 1 "K003634 ILLEGAL_ZEINH = 2 "K003634 OTHERS = 3. "K003634

RP_ALLPERIODS_FROM_ANSAL CALL FUNCTION 'RP_ALLPERIODS_FROM_ANSAL' EXPORTING P_ANSAL = Q0008-ANSAL P_DIVGV = P0008-DIVGV P_ZEINH = TMP_ZEINH * p_bukrs = psyst-bukrs * p_werks = psyst-werks * p_btrtl = psyst-btrtl * p_persg = psyst-persg * p_persk = psyst-persk P_SUBTY = P0008-SUBTY P_MOLGA = T001P-MOLGA P_TCLAS = PSPAR-TCLAS "N0613059 P_PERNR = P0008-PERNR "N0357076 P_DATE = P0008-BEGDA "N0357076 IMPORTING P_MONTH = Q0008-MONTH P_SMTHY = Q0008-SMTHY P_BWKLY = Q0008-BWKLY P_WEKLY = Q0008-WEKLY P_HOURY = Q0008-HOURY EXCEPTIONS "K003634 FEATURE_ERROR = 1 "K003634 OTHERS = 2. "K003634

HR_SALARY_RANGE_FROM_P1005 CALL FUNCTION 'HR_SALARY_RANGE_FROM_P1005' EXPORTING P_MOLGA = T001P-MOLGA P_TRFAR = P0008-TRFAR P_TRFGB = P0008-TRFGB P_TRFGR = P0008-TRFGR P_TRFST = L_TRFST P_CPIND = P0008-CPIND P_INDDA = P0008-BEGDA P_ANCUR = L_WAERS P_ZEINH_OUT = L_ZEINH_OUT "annual/none P_HOURLY_OUT = L_HOURLY_OUT P_DIVGV = P0008-DIVGV P_BSGRD = P0008-BSGRD "K057585 P_PFREQ = Q0008-ZEINH * p_position = l_plans * p_job = psyst-stell p_pernr = p0008-pernr "N0330864 IMPORTING P_AMT_MIN = L_AMOUNT_MIN P_AMT_MAX = L_AMOUNT_MAX I_T710A = L_T710A P_P1005 = I1005 EXCEPTIONS COMP_DATA_NOT_FOUND = 1 CURRENCY_CONVERSION_FAILED = 2 TIMEUNIT_CONVERSION_FAILED = 3 OTHERS = 4.

RP_PERIOD_AMOUNTS_ADD CALL FUNCTION 'RP_PERIOD_AMOUNTS_ADD' EXPORTING P_BUKRS = PSYST-BUKRS "N0512340 P_PERSA = PSYST-WERKS "N0512340 P_BTRTL = PSYST-BTRTL "N0512340 P_PERSK = PSYST-PERSK "N0512340 P_PERSG = PSYST-PERSG "N0512340 P_MOLGA = T001P-MOLGA P_DATE = P0008-BEGDA P_SUBTY = P0008-SUBTY "N0512340 P_CURRENCY_IN = P0008-WAERS P_CURRENCY_OUT = L_WAERS * p_ansal_wagetype = 'CSAL' "Jahresgehaltslgart aus ANSAL "4.0C

HR_CHECK_CURRENCY_DELIMITED CALL FUNCTION 'HR_CHECK_CURRENCY_DELIMITED' EXPORTING * waers = p0008-waers WAERS = P_WAERS BEGDA = P0008-BEGDA ENDDA = P0008-ENDDA.

HR_GET_LGART_INFO CALL FUNCTION 'HR_GET_LGART_INFO' EXPORTING LGART = INFO_LGART MOLGA = T001P-MOLGA DATUM = Q0008-IBBEG .



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