SAP Reports / Programs | Payroll(PY) SAP PY

PCMASSK0 SAP ABAP INCLUDE - Modules for AS LOOP Payroll Accounting (Fed.Rep.Germany)







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


Text pool values


Title: Modules for AS LOOP Payroll Accounting (Fed.Rep.Germany)

(Fed


INCLUDES used within this REPORT PCMASSK0

INCLUDE PCMASSK0_FUSKUPR.


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:

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' "X/07 EXPORTING "X/07 pernr = p0121-hpern "X/07 infty = '0000' "X/07 * begda = pn-begda "X/07 begda = lv_begda "X/10 endda = pn-endda "X/07 TABLES "X/07 infty_tab = p0000h "X/07 EXCEPTIONS "X/07 infty_not_found = 1 "X/07 others = 2. "X/07

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' "X/07 EXPORTING "X/07 pernr = p0121-hpern "X/07 infty = '0003' "X/07 * begda = pn-begda "X/07 begda = lv_begda "X/10 endda = pn-endda "X/07 TABLES "X/07 infty_tab = p0003h "X/07 EXCEPTIONS "X/07 infty_not_found = 1 "X/07 others = 2. "X/07

HR_CONVERT_CURRENCY_RESULT CALL FUNCTION 'HR_CONVERT_CURRENCY_RESULT' EXPORTING country_grouping = calcmolga conversion_date = aper-endda foreign_currency = oversc-waers local_currency = 'EUR' pernr = pernr-pernr * seqnr = l_seqnr TABLES result_table = alt_ort cumulated_result_table = alt_ocrt * arrears_table = oarrrs * deduction_table = oddntk * average_table = oaverage EXCEPTIONS invalid_wagetype = 1 error_conversion = 2 OTHERS = 3.

HR_CONVERT_CURRENCY_RESULT_SK CALL FUNCTION 'HR_CONVERT_CURRENCY_RESULT_SK' EXPORTING country_grouping = calcmolga conversion_date = aper-endda foreign_currency = oversc-waers local_currency = 'EUR' pernr = pernr-pernr * seqnr = l_seqnr TABLES result_table = ort cumulated_result_table = ocrt * arrears_table = oarrrs * deduction_table = oddntk * average_table = oaverage EXCEPTIONS invalid_wagetype = 1 error_conversion = 2 OTHERS = 3.

HR_CONVERT_CURRENCY_RESULT CALL FUNCTION 'HR_CONVERT_CURRENCY_RESULT' EXPORTING country_grouping = calcmolga conversion_date = aper-endda foreign_currency = 'EUR' local_currency = calc_currency pernr = pernr-pernr * seqnr = l_seqnr TABLES result_table = ort cumulated_result_table = ocrt * arrears_table = oarrrs * deduction_table = oddntk * average_table = oaverage EXCEPTIONS invalid_wagetype = 1 error_conversion = 2 OTHERS = 3.

HR_CONVERT_CURRENCY_RESULT_SK CALL FUNCTION 'HR_CONVERT_CURRENCY_RESULT_SK' EXPORTING country_grouping = calcmolga conversion_date = aper-endda foreign_currency = 'EUR' local_currency = calc_currency pernr = pernr-pernr * seqnr = l_seqnr TABLES result_table = ort cumulated_result_table = ocrt * arrears_table = oarrrs * deduction_table = oddntk * average_table = oaverage EXCEPTIONS invalid_wagetype = 1 error_conversion = 2 OTHERS = 3.

HR_CONVERT_CURRENCY_RESULT_SK call function 'HR_CONVERT_CURRENCY_RESULT_SK' exporting country_grouping = calcmolga conversion_date = aper-endda foreign_currency = oversc-waers local_currency = calc_currency pernr = pernr-pernr seqnr = l_seqnr tables result_table = ort cumulated_result_table = ocrt * cup = ocup * cuf = ocuf * bt = obt "maybe should be BT used! exceptions invalid_wagetype = 1 error_conversion = 2 others = 3.

CD_SELECT_VOID CALL FUNCTION 'CD_SELECT_VOID' EXPORTING VOID_INDICATOR = CD_C-VOID_FALSE TABLES IN_RGDIR = L_RGDIR1 OUT_RGDIR = L_RGDIR2.

CD_SELECT_SRTZA CALL FUNCTION 'CD_SELECT_SRTZA' EXPORTING RECORD_TYPE = CD_C-ACTUAL TABLES IN_RGDIR = L_RGDIR2 OUT_RGDIR = L_RGDIR1.

CD_SELECT_INPER CALL FUNCTION 'CD_SELECT_INPER' EXPORTING INPER_LOW = APER-IAPER INPER_HIGH = APER-IAPER TABLES IN_RGDIR = L_RGDIR1 OUT_RGDIR = L_RGDIR2.

CD_SELECT_FPPER CALL FUNCTION 'CD_SELECT_FPPER' EXPORTING FPPER_LOW = APER-PAPER FPPER_HIGH = APER-PAPER TABLES IN_RGDIR = L_RGDIR2 OUT_RGDIR = L_RGDIR1.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING PERNR = P0121-HPERN INFTY = '0015' BYPASS_BUFFER = 'X' TABLES INFTY_TAB = P0015[] EXCEPTIONS INFTY_NOT_FOUND = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING PERNR = PERNR-PERNR INFTY = '0011' BYPASS_BUFFER = 'X' TABLES INFTY_TAB = LT_P0011[] EXCEPTIONS INFTY_NOT_FOUND = 1 OTHERS = 2.

HR_SK_GET_PAYRESULTS CALL FUNCTION 'HR_SK_GET_PAYRESULTS' EXPORTING PERNR = pernr-pernr FROM_PERIOD = lv_from TO_PERIOD = lv_to RETRO = 'X' TABLES PAYRESULTS = lt_skres EXCEPTIONS NO_MONTH_RESULT = 1 WRONG_INTERVAL = 2 OTHERS = 3.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = '20090101' FOREIGN_AMOUNT = sk_recalc_ins-betrg FOREIGN_CURRENCY = sk_recalc_ins-waers LOCAL_CURRENCY = 'EUR' IMPORTING LOCAL_AMOUNT = lv_conv_amt EXCEPTIONS NO_RATE_FOUND = 1 OVERFLOW = 2 NO_FACTORS_FOUND = 3 NO_SPREAD_FOUND = 4 DERIVED_2_TIMES = 5 OTHERS = 6.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = '20090101' FOREIGN_AMOUNT = sk_recalc_ins-betrg FOREIGN_CURRENCY = sk_recalc_ins-waers LOCAL_CURRENCY = calc_currency IMPORTING LOCAL_AMOUNT = lv_conv_amt 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 PCMASSK0 or its description.