MP56TF50 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 MP56TF50 into the relevant SAP transactions such as SE38 or SE80
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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING * date = ptp02-datv1 "QKZK022501 date = h1_datum "QKZK022501 foreign_amount = dummy_famount foreign_currency = ptk08-waers * local_currency = ptp42-waers "YKYK000648 local_currency = ptk08-paycurr "YKYK000648 rate = 0 type_of_rate = t706d-kurst IMPORTING exchange_rate = ptk08-kursv foreign_factor = ptk08-ffact local_amount = dummy_tamount local_factor = ptk08-tfact EXCEPTIONS no_rate_found = 04 overflow = 08.
DYNP_GET_STEPL CALL FUNCTION 'DYNP_GET_STEPL' IMPORTING povstepl = cursor_line_h EXCEPTIONS stepl_not_found = 1 OTHERS = 2.
DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = program dynumb = number translate_to_upper = 'X' TABLES dynpfields = dynpfields EXCEPTIONS error_message = 1.
CONVERT_DATE_TO_INTERNAL CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL' EXPORTING date_external = dynpfields-fieldvalue IMPORTING date_internal = ptk08-datvs EXCEPTIONS error_message = 1.
F4_EXCHANGE_RATE CALL FUNCTION 'F4_EXCHANGE_RATE' EXPORTING type_of_rate = t706d-kurst date = ptk08-datvs foreign_currency = ptk08-waers local_currency = ptk08-paycurr fieldname = 'PTK08-KURSV' dyname = program dynumb = number display_only = show.
CONVERT_TO_FOREIGN_CURRENCY call function 'CONVERT_TO_FOREIGN_CURRENCY' exporting * date = ptp02-datv1 "WBGK054727 date = convert_date "WBGK054727 foreign_currency = vsch-waers local_amount = vsch-vorhw * local_currency = ptp42-waers "YKYK000648 local_currency = vsch-paycurr "YKYK000648 rate = vsch-kursv type_of_rate = t706d-kurst importing exchange_rate = vsch-kursv foreign_amount = vsch-vorsc exceptions
no_rate_found = 04 overflow = 08.
CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting * date = ptp02-datv1 "WBGK054727 date = convert_date "WBGK054727 foreign_amount = vsch-vorsc foreign_currency = vsch-waers * local_currency = ptp42-waers "YKYK000648 local_currency = vsch-paycurr "YKYK000648 rate = vsch-kursv type_of_rate = t706d-kurst importing exchange_rate = vsch-kursv foreign_factor = vsch-ffact local_amount = vsch-vorhw local_factor = vsch-tfact
exceptions no_rate_found = 04 overflow = 08.
CONVERT_TO_FOREIGN_CURRENCY call function 'CONVERT_TO_FOREIGN_CURRENCY' exporting * date = ptp02-datv1 "WBGK054727 date = convert_date "WBGK054727 foreign_currency = vsch-waers local_amount = vsch-vorhw * local_currency = ptp42-waers "YKYK000648 local_currency = vsch-paycurr "YKYK000648 rate = vsch-kursv type_of_rate = t706d-kurst importing
exchange_rate = vsch-kursv foreign_amount = vsch-vorsc exceptions no_rate_found = 04 overflow = 08.
CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting * date = ptp02-datv1 "WBGK054727 date = convert_date "WBGK054727 foreign_amount = vsch-vorsc foreign_currency = vsch-waers * local_currency = ptp42-waers "YKYK000648 local_currency = vsch-paycurr "YKYK000648 rate = vsch-kursv type_of_rate = t706d-kurst importing
exchange_rate = vsch-kursv foreign_factor = vsch-ffact local_amount = vsch-vorhw local_factor = vsch-tfact exceptions no_rate_found = 04 overflow = 08.
HRCA_ROUND_AMOUNT call function 'HRCA_ROUND_AMOUNT' exporting amount_in = amount_in company = t001_bukrs * currency = ptp42-waers "YKYK000648 currency = vsch-paycurr "YKYK000648 importing amount_out = amount_out
difference = difference exceptions others = 0.
ROUND_AMOUNT * CALL FUNCTION 'ROUND_AMOUNT' * EXPORTING AMOUNT_IN = AMOUNT_IN * COMPANY = T001_BUKRS * CURRENCY = ptp42-WAERS * IMPORTING AMOUNT_OUT = AMOUNT_OUT * DIFFERENCE = DIFFERENCE * NO_ROUNDING = NO_ROUNDING.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.