SAP Reports / Programs | Environment, Health and Safety | Industrial Hygiene and Safety(EHS-IHS) SAP EHS

REHS_TMQ SAP ABAP Report - Display 1000-Employee Quota







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


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


INCLUDES used within this REPORT REHS_TMQ

No INCLUDES are used within this REPORT code!


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:

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.



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