SAP Reports / Programs

RHRESO00_LSO SAP ABAP Report - Resource Reservation Statistics







RHRESO00_LSO is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report generates a list of resources, their reservations, and reservation times for courses...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 RHRESO00_LSO 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 RHRESO00_LSO. "Basic submit
SUBMIT RHRESO00_LSO AND RETURN. "Return to original report after report execution complete
SUBMIT RHRESO00_LSO 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: ORTID = Course location
Title: Resource Reservation Statistics
Text Symbol: TIM = Selection period
Text Symbol: ORT = Course location
Text Symbol: FT1 = Selection options
Text Symbol: 001 = Course


INCLUDES used within this REPORT RHRESO00_LSO

INCLUDE: RHREP_CE_LSO. "XEY -> CE/GE
INCLUDE: RHREPVAL.
INCLUDE: RHALVINC_LSO.
INCLUDE: RHREPTOP_LSO.
INCLUDE: RHODAT00_LSO.
INCLUDE: RHRDAT00.
INCLUDE: RHRDAT10.
INCLUDE: RHRDAT20_LSO.
INCLUDE: RHOINI00_LSO.
INCLUDE: RHRINI00.
INCLUDE: RHRINI10.
INCLUDE: RHRINI20_LSO.


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:

RH_READ_INFTY_1001_EXT CALL FUNCTION 'RH_READ_INFTY_1001_EXT' EXPORTING authority = 'DISP' with_stru_auth = 'X' subty = $asrel "'A003' TABLES i1001 = i1001_ext OBJECTS = resource EXCEPTIONS nothing_found = 1 wrong_condition = 2 OTHERS = 3.

RH_RESOURCES_FOR_RESTYS_READ CALL FUNCTION 'RH_RESOURCES_FOR_RESTYS_READ' EXPORTING istat = pchistat begda = pchbegda endda = pchendda TABLES r_tab = resourcetype r_g_tab = r_g_tab EXCEPTIONS r_tab_empty = 1 OTHERS = 2.

RH_TEXT_BUFFER_FILL_EXTERNAL CALL FUNCTION 'RH_TEXT_BUFFER_FILL_EXTERNAL' EXPORTING check_stru_auth = 'X' TABLES OBJECTS = resource.

RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING plvar = resource_info-plvar otype = resource_info-otype realo = resource_info-realo istat = ' ' begda = sy-datum endda = sy-datum langu = sy-langu IMPORTING obeg = resource_info-begda oend = resource_info-endda short = resource_info-short stext = resource_info-stext EXCEPTIONS not_found = 1 OTHERS = 2.

RH_GET_RESOURCE_OCCUPANCY CALL FUNCTION 'RH_GET_RESOURCE_OCCUPANCY' EXPORTING begda = pchbegda endda = pchendda istat = pchistat TABLES resource_tab = resource occupancy_tab = go_occupancy EXCEPTIONS no_object_found = 1 no_occupancy = 2 OTHERS = 3.

RH_CHECK_EVENTS_FOR_LOCATION CALL FUNCTION 'RH_CHECK_EVENTS_FOR_LOCATION'"Veranst. an Ort sammeln

RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING plvar = location-plvar otype = location-otype objid = location-objid begda = sy-datum endda = sy-datum langu = sy-langu IMPORTING short = location-short stext = location-stext EXCEPTIONS not_found = 1 OTHERS = 2.

RH_READ_INFTY_1001 CALL FUNCTION 'RH_READ_INFTY_1001' EXPORTING istat = pchistat subty = $speca "A020 begda = pchbegda endda = pchendda TABLES i1001 = i1001 OBJECTS = event EXCEPTIONS nothing_found = 01 wrong_condition = 02.

RH_TEXT_BUFFER_FILL CALL FUNCTION 'RH_TEXT_BUFFER_FILL' TABLES OBJECTS = eventtype.

RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING plvar = eventtypeinfo-plvar otype = eventtypeinfo-otype objid = eventtypeinfo-objid begda = sy-datum endda = sy-datum langu = sy-langu IMPORTING short = eventtypeinfo-short stext = eventtypeinfo-stext EXCEPTIONS not_found = 1 OTHERS = 2.

RH_READ_INFTY_NNNN CALL FUNCTION 'RH_READ_INFTY_NNNN' EXPORTING infty = '1031' begda = pchbegda endda = pchendda TABLES innnn = i1031 OBJECTS = event EXCEPTIONS nothing_found = 1 wrong_condition = 2 OTHERS = 3.

LSO_EVENT_DATA_READ CALL FUNCTION 'LSO_EVENT_DATA_READ' EXPORTING plvar = global_occupancy_tab-plvar eotyp = global_occupancy_tab-evtyp eveid = global_occupancy_tab-eveid IMPORTING event_data = ls_eventtype EXCEPTIONS no_type_assigned = 1 OTHERS = 2.

LSO_TRAININGTYPE_GET_TFORM_C CALL FUNCTION 'LSO_TRAININGTYPE_GET_TFORM_C' EXPORTING plvar = global_occupancy_tab-plvar objid = ls_eventtype-etyid getdefault = 'X' IMPORTING trainingform = ls_tform EXCEPTIONS error_occured = 1 not_found = 2 no_trainingform_maintained = 3 OTHERS = 4.



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