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
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.
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
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.