SAP Reports / Programs | Training and Event Management | SAP Learning Solution | Training Management(PE-LSO-TM) SAP PE

RHCOMP00_LSO SAP ABAP Report - Training Costs







RHCOMP00_LSO 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 RHCOMP00_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 RHCOMP00_LSO. "Basic submit
SUBMIT RHCOMP00_LSO AND RETURN. "Return to original report after report execution complete
SUBMIT RHCOMP00_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: P_VARIA = Layout
Selection Text: IN_STOR = Cancellations
Selection Text: IN_BOOK = Bookings
Selection Text: INLOCCUR = Currency
Title: Training Costs
Text Symbol: TIL = -
Text Symbol: STO = Cancelation
Text Symbol: SPN = Period Selected
Text Symbol: NOB = No bookings exist
Text Symbol: NIX = No Bookings Exist
Text Symbol: NAM = Name
Text Symbol: KOS = Costs
Text Symbol: ICO = Operation
Text Symbol: FT4 = Formatting Options
Text Symbol: FT3 = Selection Options
Text Symbol: FT2 = SelectionPeriod
Text Symbol: FT1 = Object Data
Text Symbol: EVE = Course
Text Symbol: END = End
Text Symbol: BOO = Booking
Text Symbol: BEG = Start
Text Symbol: AUF = Expenses
Text Symbol: 001 = Booking or Cancellation


INCLUDES used within this REPORT RHCOMP00_LSO

INCLUDE RHREP_CE_LSO.
INCLUDE RHCOMPTOP00.


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:

PAK_GET_SHORTTEXT_DTEL CALL FUNCTION 'PAK_GET_SHORTTEXT_DTEL' EXPORTING i_elem_key = 'SLIS_VARI' I_LANGUAGE = SY-LANGU IMPORTING e_short_text = gv_layout.

LSO_GET_COMPENSATION CALL FUNCTION 'LSO_GET_COMPENSATION' EXPORTING begda = gd_begda endda = gd_endda local_curr = gd_loc_curr storno = gd_storno booking = gd_booking TABLES object = gd_object comp_tab = gd_comp sum_tab = gd_sum EXCEPTIONS object_empty = 1 nothing_found = 2 OTHERS = 3.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = gs_variant i_save = gc_save IMPORTING es_variant = ls_variant EXCEPTIONS not_found = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = gc_save CHANGING cs_variant = ls_variant.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid i_structure_name = gc_struct CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_event.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = gv_repid it_fieldcat = gt_fieldcat[] i_save = gc_save is_variant = gs_variant it_events = gt_event[] TABLES t_outtab = gt_outtab EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = lt_commentary_write.



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