SAP Reports / Programs | Payroll | Venezuela(PY-VE) SAP PY

MP004540_VE SAP ABAP INCLUDE - MP004540VE







MP004540_VE 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 MP004540_VE 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 MP004540_VE. "Basic submit
SUBMIT MP004540_VE AND RETURN. "Return to original report after report execution complete
SUBMIT MP004540_VE 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 MP004540_VE

INCLUDE PCCONVE0.
INCLUDE PCPSHVE2.


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:

HRVE_GET_CURRENCY call function 'HRVE_GET_CURRENCY' exporting iv_currency_determination_date = p0045-begda IMPORTING EV_CURRENCY = gv_currency EV_CURRENCY_RATE_DATE = gv_currency_rate_date ev_error_text = gv_error_text EXCEPTIONS ERROR = 1 OTHERS = 2 .

HRVE_GET_NATIONAL_TABLES * CALL FUNCTION 'HRVE_GET_NATIONAL_TABLES' * EXPORTING * PERNR = p0045-pernr * iv_target_currency = q0045-waer2 * iv_currency_rate_date = p0045-begda * TABLES * SEN_EVAL = SEN_EVAL * INT_EVAL = INT_EVAL * PAGO_INTERESES = pago_intereses * intencion_pago_intereses = intencion_pago_intereses * EXCEPTIONS * E_HRVE_READ_RGDIR_PAYRESULTS = 1 * OTHERS = 2 * .

HRVE_GET_NATIONAL_TABLES CALL FUNCTION 'HRVE_GET_NATIONAL_TABLES' EXPORTING PERNR = p0045-pernr iv_target_currency = gv_currency iv_currency_rate_date = gv_currency_rate_date TABLES SEN_EVAL = SEN_EVAL INT_EVAL = INT_EVAL PAGO_INTERESES = pago_intereses intencion_pago_intereses = intencion_pago_intereses EXCEPTIONS E_HRVE_READ_RGDIR_PAYRESULTS = 1 OTHERS = 2 .

HRVE_GET_EVAL_BALANCES CALL FUNCTION 'HRVE_GET_EVAL_BALANCES' IMPORTING BAL_SENIORITY_PLUS_INTEREST = balance TABLES INT_EVAL = int_eval SEN_EVAL = sen_eval.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = gv_currency_rate_date foreign_amount = tab0045-DARBT foreign_currency = tab0045-DBTCU local_currency = gv_currency IMPORTING local_amount = tab0045-DARBT EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 OTHERS = 5.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = gv_currency_rate_date foreign_amount = tab0045-ANRTE foreign_currency = tab0045-ANRCU local_currency = gv_currency IMPORTING local_amount = tab0045-ANRTE EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 OTHERS = 5.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = gv_currency_rate_date foreign_amount = tab0045-TILBT foreign_currency = tab0045-TILCU local_currency = gv_currency IMPORTING local_amount = tab0045-TILBT EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 OTHERS = 5.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = gv_currency_rate_date foreign_amount = tab0045-STFBI foreign_currency = tab0045-STFCU local_currency = gv_currency IMPORTING local_amount = tab0045-STFBI EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 OTHERS = 5.

HRVE_GET_PAYROLL_FREQUENCY call function 'HRVE_GET_PAYROLL_FREQUENCY' exporting begin = p0045-begda end = p0045-endda * abkrs = pern = p0045-pernr importing payroll_freq = pay_freq.

HR_CONVERT_CURRENCY_RESULT call function 'HR_CONVERT_CURRENCY_RESULT' exporting country_grouping = '17' conversion_date = gv_currency_rate_date foreign_currency = versc-waers local_currency = gv_currency * PERNR = * SEQNR = TABLES RESULT_TABLE = rt * CUMULATED_RESULT_TABLE = crt * SUBSEQUENT_TIME_TICKET_TABLE = * ARREARS_TABLE = * DEDUCTION_TABLE = * AVERAGE_TABLE = * CHANGING * P_BUFFER_T512W = EXCEPTIONS INVALID_WAGETYPE = 1 ERROR_CONVERSION = 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 MP004540_VE or its description.