SAP Reports / Programs | Payroll | Argentina(PY-AR) SAP PY

HARCAF02 SAP ABAP Report - Average difference for family allowances







HARCAF02 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report recalculates the value of the basis for calculating the average value for family allowance payments (Wage type /223 Cumulation for calculating family allowance)...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter HARCAF02 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 HARCAF02. "Basic submit
SUBMIT HARCAF02 AND RETURN. "Return to original report after report execution complete
SUBMIT HARCAF02 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: ANIOPROM = Average year
Selection Text: BI_FECHA = Payroll start date
Selection Text: LGART = Wage type to be deducted
Selection Text: SEMEPROM = Average half year
Selection Text: UPDATE = List/Generate
Selection Text: WAGETYPE = Wage type for new average
Title: Average difference for family allowances
Text Symbol: 001 = O-223
Text Symbol: 002 = O-Q23
Text Symbol: 003 = O-R23
Text Symbol: 004 = N-223
Text Symbol: 005 = ---------
Text Symbol: 006 = Bs for avge
Text Symbol: 007 = Int.avg.
Text Symbol: 008 = Calculated avg.
Text Symbol: 009 = Deduction
Text Symbol: 010 = Calculation of avg.
Text Symbol: E02 = Error on adding element to error list


INCLUDES used within this REPORT HARCAF02

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:

CD_SELECT_VOID CALL FUNCTION 'CD_SELECT_VOID' EXPORTING VOID_INDICATOR = CD_C-VOID_FALSE TABLES IN_RGDIR = RGDIR OUT_RGDIR = RGDIR_01 EXCEPTIONS OTHERS = 1.

CD_SELECT_DATE_RANGE CALL FUNCTION 'CD_SELECT_DATE_RANGE' EXPORTING FPPER_BEGDA = PN-BEGDA FPPER_ENDDA = PN-ENDDA TABLES IN_RGDIR = RGDIR_01 OUT_RGDIR = RGDIR_03 EXCEPTIONS OTHERS = 1.

HR_DISPLAY_BASIC_LIST CALL FUNCTION 'HR_DISPLAY_BASIC_LIST' EXPORTING LAY_OUT = 0 HEAD_LINE1 = TEXT-005 HEAD_LINE2 = TEXT-005 BASIC_LIST_TITLE = SY-TITLE FILE_NAME = MYREPORT FOOT_NOTE1 = TEXT-005 FOOT_NOTE2 = TEXT-005 FOOT_NOTE3 = TEXT-005 * dyn_pushbutton_text1 = 'Ejecutar proceso'(007) * dyn_pushbutton_text2 = 'Test/Visualizar log'(014) * dyn_pushbutton_text3 = 'Test/Sin log'(027) CURRENT_REPORT = MYREPORT LIST_LEVEL = '01' IMPORTING RETURN_CODE = RETURNCODE TABLES DATA_TAB = ITAB * select_tab = selected_payments FIELDNAME_TAB = FIELDNAME ERROR_TAB = ERROR EXCEPTIONS PRINT_PROBLEMS = 5 OTHERS = 1.



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