REHS_TMQ is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report program determines the 1000-employee quota as an example...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 REHS_TMQ 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: I_AREA = Personnel area
Selection Text: I_COMP = All personnel areas cumulated
Selection Text: PAREA = Personnel subarea
Title: Display 1000-Employee Quota
Text Symbol: 001 = Period for calculation
Text Symbol: 002 = Interval
Text Symbol: 003 = To
Text Symbol: 004 = Year
Text Symbol: 005 = Quarter
Text Symbol: 006 = Month
Text Symbol: 007 = Area for calculation
Text Symbol: 008 = Personnel area
Text Symbol: 009 = Personnel subarea
Text Symbol: 010 = Type of calculation
Text Symbol: 011 = No. of employees
Text Symbol: 012 = No. of working hours (warning: long calculation time)
Text Symbol: 013 = 1000-employee quota
Text Symbol: 014 = Negative time recording
Text Symbol: 015 = From
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING restriction = l_restrict EXCEPTIONS too_late = 1 repeated = 2 selopt_without_options = 3 selopt_without_signs = 4 invalid_sign = 5 empty_option_list = 6 invalid_kind = 7 repeated_kind_a = 8 OTHERS = 9.
CBIH_LB16_SHLP_AREA CALL FUNCTION 'CBIH_LB16_SHLP_AREA' IMPORTING e_area = i_area.
CBIH_LB16_SHLP_PAREA CALL FUNCTION 'CBIH_LB16_SHLP_PAREA' EXPORTING i_area = i_area IMPORTING e_parea = parea-low.
RP_LAST_DAY_OF_MONTHS CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS' EXPORTING day_in = l_enddate IMPORTING last_day_of_month = l_enddate EXCEPTIONS day_in_no_date = 1 OTHERS = 2.
CBIH_LB14_IAL_TMQ CALL FUNCTION 'CBIH_LB14_IAL_TMQ' EXPORTING i_begindate = l_begindate i_enddate = l_enddate i_flg_company = i_comp i_flg_ftemployee = i_flg_f i_flg_neg_time = i_negtim TABLES i_area_tab = l_area_tab.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
REHS_TMQ - Display 1000-Employee Quota REHS_TMQ - Display 1000-Employee Quota REHS_SHOW_WA_VERSIONS - List Versions of Work Areas REHS_SHOW_WA_VERSIONS - List Versions of Work Areas REHS_SHOW_IALOG_VERSIONS - List Versions of Incident/Accident Log Entries REHS_SHOW_IALOG_VERSIONS - List Versions of Incident/Accident Log Entries