HUACMODT is a standard Executable ABAP Report 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 HUACMODT 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.
Title: Моделирование зарплаты - шаблон
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
HR_PAYROLL call function 'HR_PAYROLL' exporting payroll_area = PNPXABKR payroll_period = PN-PABRP payroll_year = PN-PABRJ selection_variant = 'SAP&PM36' program_name = 'HUACALC0' log_mem_key = l_plgmemky TST_ON = 'X' * imp_buff = import_buffer * obj_iprel = obj_iprel tables employee_numbers = pernrs buffer = l_tab_buffer-tbuff[] buffer_directory = l_tab_buffer-buffer_dir[] delete_pclx = del_pclx_tab exceptions program_not_exist = 1 variant_not_exist = 2 others = 3.
HR_PL_GET_FORM_FROM_MEMORY CALL FUNCTION 'HR_PL_GET_FORM_FROM_MEMORY' EXPORTING mem_key = l_plgmemky imp_pernr = pernr-pernr.
HR_COPY_TBUFF_TO_BUFFER CALL FUNCTION 'HR_COPY_TBUFF_TO_BUFFER' EXPORTING * database_table = 'PCL2' clusterid = 'UA' TABLES buffer = l_tab_buffer-tbuff[] buffer_directory = l_tab_buffer-buffer_dir[] EXCEPTIONS OTHERS = 0.
CU_READ_RGDIR CALL FUNCTION 'CU_READ_RGDIR' EXPORTING persnr = pernr-pernr buffer = l_tab_buffer * no_authority_check = 'X' * IMPORTING * MOLGA = TABLES in_rgdir = nnrgdir EXCEPTIONS no_record_found = 1 OTHERS = 2 .
PYXX_READ_RGDIR_PAYRESULTS CALL FUNCTION 'PYXX_READ_RGDIR_PAYRESULTS' EXPORTING clusterid = 'UA' employeenumber = pernr-pernr TABLES rgdir = nnrgdir imported_periods = rtdet EXCEPTIONS import_error = 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.