HUACFTM2 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 HUACFTM2 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
HRPAYUA2TM - Form 2-TM
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: YER = Whole year
Selection Text: YEAR_Z = Year of reporting
Selection Text: POL = I half of year
Selection Text: PA_BUKRS = Company (for header)
Selection Text: PATH_XML = Path to XML
Title: Form TM-2
Text Symbol: YER = Whole year
Text Symbol: POL = I half of year
Text Symbol: M12 = December
Text Symbol: M11 = November
Text Symbol: M10 = October
Text Symbol: M09 = September
Text Symbol: M08 = August
Text Symbol: M07 = July
Text Symbol: M06 = June
Text Symbol: M05 = May
Text Symbol: M04 = April
Text Symbol: M03 = March
Text Symbol: M02 = February
Text Symbol: M01 = January
Text Symbol: F06 = Other countries
Text Symbol: F05 = Countries of CIS
Text Symbol: F04 = Total
Text Symbol: F03 = Row name
Text Symbol: F02 = Row code
Text Symbol: F01 = Chapter
Text Symbol: 200 = Check people data: double click on person to see his/her data
Text Symbol: 100 = Check totals: double click on number to see a list of people
Text Symbol: 001 = Report period
INCLUDE PCTM2UA0.
No SAP DATABASE tables are accessed within this REPORT code!
TR_GET_IS_UNICODE_SYSTEM CALL FUNCTION 'TR_GET_IS_UNICODE_SYSTEM' IMPORTING ev_is_unicode_system = gv_unicode.
HR_ENTRY_DATE CALL FUNCTION 'HR_ENTRY_DATE' EXPORTING persnr = pernr-pernr endda = pn-endda IMPORTING entrydate = it_outtab-hiredate EXCEPTIONS entry_date_not_found = 1 pernr_not_assigned = 2 OTHERS = 3 .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.