HVECRAI0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program that generates the RA-I (Annual tax Statement) for a company's employees...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 HVECRAI0 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
PC00_M17_CRAI0 - RA-I form: Annual tax 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.
Selection Text: FORM = Format:
Selection Text: PX_LFORM = Form
Selection Text: PX_LFVAR = Form variant
Title: RA-I Form: Annual tax statement
Text Symbol: 002 = Report data
Text Symbol: 004 = (Must be issued for the same period or year)
Text Symbol: E02 = Error on adding element to error list
INCLUDE PCCLSVE0.
INCLUDE PMSELVE0. "YRAM1083412
No SAP DATABASE tables are accessed within this REPORT code!
HRVE_F4SEARCH_SAPSCRIPT CALL FUNCTION 'HRVE_F4SEARCH_SAPSCRIPT' EXPORTING IREPID = C_PROGRAM_NAME FIELDNAME = 'FORM' IMPORTING OFORM = FORM.
ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING ADDRESS_SELECTION = GD_ADDRESS_SELECTION IMPORTING ADDRESS_VALUE = ADDRESS_DATA EXCEPTIONS PARAMETER_ERROR = 1 ADDRESS_NOT_EXIST = 2 VERSION_NOT_EXIST = 3 INTERNAL_ERROR = 4 OTHERS = 5.
H99B_OPEN_LFORM_JOB CALL FUNCTION 'H99B_OPEN_LFORM_JOB' EXPORTING i_molga = hr99b_form_sel-molga i_fogroup = hr99b_form_sel-fogroup i_folname = hr99b_form_sel-folname i_fovariant = hr99b_form_sel-fovariant options = l_options EXCEPTIONS OTHERS = 99.
H99B_OUTPUT_LFORM CALL FUNCTION 'H99B_OUTPUT_LFORM' EXPORTING i_molga = hr99b_form_sel-molga i_fogroup = hr99b_form_sel-fogroup i_folname = hr99b_form_sel-folname i_fovariant = hr99b_form_sel-fovariant i_data_struc = l_pdf_structure EXCEPTIONS OTHERS = 99.
H99B_CLOSE_LFORM_JOB CALL FUNCTION 'H99B_CLOSE_LFORM_JOB' EXCEPTIONS OTHERS = 99.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
HVECRAI0 - RA-I Form: Annual tax statement HVECRAI0 - RA-I Form: Annual tax statement HVECPSR0 - Declaration file of profit obtained and distributed by the company HVECPSR0 - Declaration file of profit obtained and distributed by the company HVECPSH0 - Profit share calculation in payroll HVECPSH0 - Profit share calculation in payroll