SAP Reports / Programs | Payroll | Denmark(PY-DK) SAP PY

RPCGETM0 SAP ABAP INCLUDE - Data Retrieval for Payroll Accounting - Denmark







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


Text pool values


Title: Data Retrieval for Payroll Accounting - Denmark


INCLUDES used within this REPORT RPCGETM0

INCLUDE RPCDKSM0.


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:

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = sy-datum foreign_amount = p0072-frmax foreign_currency = p0072-frmaxw local_currency = calc_currency IMPORTING local_amount = mtax-frmax 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 = sy-datum foreign_amount = p0072-frdag foreign_currency = p0072-frdagw local_currency = calc_currency IMPORTING local_amount = mtax-frdag 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 = sy-datum foreign_amount = p0072-frnrm foreign_currency = p0072-frnrmw local_currency = calc_currency IMPORTING local_amount = mtax-frnrm 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 = sy-datum foreign_amount = p0073-btrag foreign_currency = p0073-btragw local_currency = calc_currency IMPORTING local_amount = mpens-btrag 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 = sy-datum foreign_amount = p0073-btrma foreign_currency = p0073-btrmaw local_currency = calc_currency IMPORTING local_amount = mpens-btrma 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 = sy-datum foreign_amount = p0074-shdkk foreign_currency = p0074-shcur local_currency = calc_currency IMPORTING local_amount = mvac-shdkk 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 = sy-datum foreign_amount = p0200-hvstl foreign_currency = p0200-hvstlw local_currency = calc_currency IMPORTING local_amount = mgar-hvstl 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 = sy-datum foreign_amount = p0200-abtbtr foreign_currency = p0200-abtbtrw local_currency = calc_currency IMPORTING local_amount = mgar-abtbtr EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 OTHERS = 5.

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = 'DKDD1' struc_content = pme02 IMPORTING back = delimit_date_0204 EXCEPTIONS dummy = 1 error_operation = 2 no_backvalue = 3 feature_not_generated = 4 invalid_sign_in_funid = 5 field_in_report_tab_in_pe03 = 6 OTHERS = 7.

HR_DK_DETERMINE_SYSTEM_PAYGR CALL FUNCTION 'HR_DK_DETERMINE_SYSTEM_PAYGR' EXPORTING empl = pernr-pernr date = dk_end "#EC DOM_EQUAL trfkz = t503-trfkz IMPORTING paygr = mfa-paygr.

HR_DK_DETERMINE_SYSTEM_PAYLV CALL FUNCTION 'HR_DK_DETERMINE_SYSTEM_PAYLV' EXPORTING empl = pernr-pernr date = dk_end "#EC DOM_EQUAL trfkz = t503-trfkz IMPORTING paylv = mfa-paylv.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = sy-datum foreign_amount = p0214-fee foreign_currency = p0214-feecu local_currency = calc_currency IMPORTING local_amount = rt-betrg EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 OTHERS = 5.

HR_DK_GET_LEAVE_ENTITLEMENT CALL FUNCTION 'HR_DK_GET_LEAVE_ENTITLEMENT' EXPORTING empl = pernr-pernr begda = t549q-begda endda = t549q-endda TABLES urlaubs_anspruch = mvent.



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