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

MP000847 SAP ABAP INCLUDE - Infotype 0008, Form Routines (K)







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


Text pool values


Title: Infotype 0008, Form Routines (K)


INCLUDES used within this REPORT MP000847

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_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING MOLGA = T001P-MOLGA TRFAR = P0008-TRFAR TRFGB = P0008-TRFGB TRFKZ = T503-TRFKZ BEGDA = P0008-BEGDA IMPORTING WAERS = T510F-WAERS EXCEPTIONS OTHERS = 1.

CONVERT_TO_LOCAL_CURRENCY * CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' "QNOK066398 * EXPORTING "QNOK066398 * DATE = Q0008-IBBEG "QNOK066398 * FOREIGN_AMOUNT = L_BETRG "QNOK066398 * FOREIGN_CURRENCY = P0008-WAERS "QNOK066398 * LOCAL_CURRENCY = P0008-ANCUR "QNOK066398 * IMPORTING "QNOK066398 * LOCAL_AMOUNT = TBINDBW-BETRG "QNOK066398 * EXCEPTIONS "QNOK066398 * NO_RATE_FOUND = 1 * OVERFLOW = 2 * NO_FACTORS_FOUND = 3 * NO_SPREAD_FOUND = 4 * OTHERS = 5. "QNOK066398

CONVERT_TO_LOCAL_CURRENCY ** CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' "QNOK066398 ** EXPORTING "QNOK066398 ** DATE = Q0008-IBBEG "QNOK066398 ** FOREIGN_AMOUNT = L_BETRG "QNOK066398 ** FOREIGN_CURRENCY = P0008-ANCUR "QNOK066398 ** LOCAL_CURRENCY = P0008-WAERS "QNOK066398 ** IMPORTING "QNOK066398 ** LOCAL_AMOUNT = TBINDBW-BETRG "QNOK066398 ** EXCEPTIONS "QNOK066398 ** NO_RATE_FOUND = 1 ** OVERFLOW = 2 ** NO_FACTORS_FOUND = 3 ** NO_SPREAD_FOUND = 4 ** OTHERS = 5. "QNOK066398

CONVERT_TO_LOCAL_CURRENCY * CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING * DATE = Q0008-IBBEG * FOREIGN_AMOUNT = Q0008-ANSAL * FOREIGN_CURRENCY = P0008-ANCUR * LOCAL_CURRENCY = P0008-WAERS * IMPORTING * LOCAL_AMOUNT = L_ANSAL * EXCEPTIONS * NO_RATE_FOUND = 1 * OVERFLOW = 2 * NO_FACTORS_FOUND = 3 * NO_SPREAD_FOUND = 4 * OTHERS = 5.

RP_PERIOD_SALARY_FROM_WAGETYPS CALL FUNCTION 'RP_PERIOD_SALARY_FROM_WAGETYPS' EXPORTING F_TCLAS = PSPAR-TCLAS "N0613059 F_PERNR = P0008-PERNR "N0357076 F_ANSAL = Q0008-ANSAL F_DATE = Q0008-IBBEG F_ANCUR = P0008-ANCUR F_WAERS = P0008-WAERS F_BUKRS = PSYST-BUKRS F_WERKS = PSYST-WERKS F_BTRTL = PSYST-BTRTL F_PERSG = PSYST-PERSG F_PERSK = PSYST-PERSK F_SUBTY = P0008-SUBTY F_TRFAR = P0008-TRFAR F_TRFGB = P0008-TRFGB F_DIVGV = P0008-DIVGV F_MOLGA = T001P-MOLGA IMPORTING * F_PERIOD_SALARY = L_PERIOD_SALARY "N0624460 F_PERIOD_SALARY = L_TEMPORARY_SALARY "N0624460 TABLES F_WAGETYPES = T_WAGETYPES EXCEPTIONS "K003634 CURRENCY_CONVERSION_ERROR = 1 "K003634 INTERNAL_ERROR = 2 "K003634 PERIOD_OVERFLOW = 3 "K003634 OTHERS = 4. "K003634

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_CALL_FROM_ITF = 'X' "SERN894037 IMPORTING F_ANSAL = L_ANSAL * f_is_indirect = TABLES F_TINDBW = T_TBINDBW 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

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = P_DATE FOREIGN_AMOUNT = P_FROM_AMOUNT FOREIGN_CURRENCY = P_FROM_CURRENCY LOCAL_CURRENCY = P_TO_CURRENCY * RATE = 0 * TYPE_OF_RATE = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = LOCAL_AMOUNT = P_TO_AMOUNT * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = EXCEPTIONS NO_RATE_FOUND = 1 OVERFLOW = 2 NO_FACTORS_FOUND = 3 NO_SPREAD_FOUND = 4 DERIVED_2_TIMES = 5 OTHERS = 6.



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