SAP Reports / Programs

HUACFTM2 SAP ABAP Report - Form TM-2







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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

HRPAYUA2TM - Form 2-TM


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 HUACFTM2. "Basic submit
SUBMIT HUACFTM2 AND RETURN. "Return to original report after report execution complete
SUBMIT HUACFTM2 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: 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


INCLUDES used within this REPORT HUACFTM2

INCLUDE PCTM2UA0.


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:

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 .



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