SAP Reports / Programs

RHTHIST0_LSO SAP ABAP Report - Training History







RHTHIST0_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 creates a training history for an internal or external participant...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 RHTHIST0_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 RHTHIST0_LSO. "Basic submit
SUBMIT RHTHIST0_LSO AND RETURN. "Return to original report after report execution complete
SUBMIT RHTHIST0_LSO VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Training History
Text Symbol: 073 = Abbreviation Resource
Text Symbol: 072 = Object ID Resource
Text Symbol: 071 = Object Type Resource
Text Symbol: 070 = Res. Type
Text Symbol: 069 = Resource Type
Text Symbol: 068 = Resource Type
Text Symbol: 067 = Name Resource Type
Text Symbol: 066 = Abbreviation Resource Type
Text Symbol: 065 = Object ID Resource Type
Text Symbol: 064 = Object Type Resource Type
Text Symbol: 063 = Prereq.
Text Symbol: 062 = Prerequisite
Text Symbol: 061 = Prerequisite
Text Symbol: 060 = Name Prerequisite
Text Symbol: 059 = Abbreviation Prerequisite
Text Symbol: 058 = Object ID Prerequisite
Text Symbol: 057 = Object Type Prerequisite
Text Symbol: 056 = Qualif.
Text Symbol: 055 = Qualification
Text Symbol: 054 = Qualification
Text Symbol: 053 = Name Qualification
Text Symbol: 052 = Abbreviation Qualification
Text Symbol: 051 = Object ID Qualification
Text Symbol: 050 = Object Type Qualification
Text Symbol: TIM = Selection Period
Text Symbol: 096 = Learning Objects Completed
Text Symbol: 095 = Objectives Achieved
Text Symbol: 094 = Learning Objects
Text Symbol: 093 = Learning Objectives
Text Symbol: 092 = Minutes
Text Symbol: 091 = Org.Assgmt
Text Symbol: 090 = Org. Assignment
Text Symbol: 089 = Organizational Assignment
Text Symbol: 088 = Name Organizational Assignment
Text Symbol: 087 = Abbreviation Organizational Assignment
Text Symbol: 086 = Object ID Organizational Assignment
Text Symbol: 085 = Object Type Organizational Assignment





Text Symbol: 084 = Owner
Text Symbol: 083 = Course Owner
Text Symbol: 082 = Course Owner
Text Symbol: 081 = Name Course Owner
Text Symbol: 080 = Abbreviation Course Owner
Text Symbol: 079 = Object ID Course Owner
Text Symbol: 078 = Object Type Course Owner
Text Symbol: 077 = Resource
Text Symbol: 076 = Resource
Text Symbol: 075 = Resource
Text Symbol: 074 = Name Resource
Text Symbol: 024 = Abbreviation Course Location
Text Symbol: 023 = Object ID Course Location
Text Symbol: 022 = Object Type Course Location
Text Symbol: 021 = Course
Text Symbol: 020 = Course
Text Symbol: 019 = Course
Text Symbol: 018 = Name Course
Text Symbol: 017 = Abbreviation Course
Text Symbol: 016 = Object ID Course
Text Symbol: 015 = Object Type Course
Text Symbol: 014 = CourseType
Text Symbol: 013 = Course Type
Text Symbol: 012 = Course Type
Text Symbol: 011 = Name Course Type
Text Symbol: 010 = Abbreviation Course Type
Text Symbol: 009 = Object ID Course Type
Text Symbol: 008 = Object Type Course Type
Text Symbol: 007 = Crs. Group
Text Symbol: 006 = Course Group
Text Symbol: 005 = Course Group
Text Symbol: 004 = Name Course Group
Text Symbol: 003 = Abbreviation Course Group
Text Symbol: 002 = Object ID Course Group
Text Symbol: 001 = Object Type Course Group
Text Symbol: 025 = Name Course Location
Text Symbol: 049 = Instructor
Text Symbol: 048 = Instructor
Text Symbol: 047 = Instructor





Text Symbol: 046 = Name Trainer
Text Symbol: 045 = Abbreviation Trainer
Text Symbol: 044 = Object ID Trainer
Text Symbol: 043 = Object Type Trainer
Text Symbol: 042 = Participnt
Text Symbol: 041 = Participant
Text Symbol: 040 = Participant
Text Symbol: 039 = Name Participant
Text Symbol: 038 = Abbreviation Participant
Text Symbol: 037 = Object ID Participant
Text Symbol: 036 = Object Type Participant
Text Symbol: 035 = T.Provider
Text Symbol: 034 = Training Provider
Text Symbol: 033 = Training Provider
Text Symbol: 032 = Name Training Provider
Text Symbol: 031 = Abbreviation Training Provider
Text Symbol: 030 = Object ID Training Provider
Text Symbol: 029 = Object Type Training Provider
Text Symbol: 028 = Location
Text Symbol: 027 = Course Location
Text Symbol: 026 = Course Location


INCLUDES used within this REPORT RHTHIST0_LSO

INCLUDE: RHREPTOP_LSO.
INCLUDE: RHREP_CE_LSO. "XEY -> CE/GE
INCLUDE: RHODAT00_LSO.
INCLUDE: RHRDAT00.
INCLUDE: RHRDAT10.
INCLUDE: RHRDAT20_LSO.
INCLUDE: RHAUTHTOP_LSO.
INCLUDE: RHALVINC_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_PART_TYPES_GET CALL FUNCTION 'RH_PART_TYPES_GET' TABLES patyp_tab = patyp_tab EXCEPTIONS OTHERS = 1.

RH_PART_TYPES_MULTI CALL FUNCTION 'RH_PART_TYPES_MULTI' TABLES multi_tab = multi_tab EXCEPTIONS OTHERS = 1.




RH_PART_TYPES_EXT CALL FUNCTION 'RH_PART_TYPES_EXT' TABLES expart_tab = expart_tab EXCEPTIONS OTHERS = 1.

RH_READ_INFTY_1001_EXT CALL FUNCTION 'RH_READ_INFTY_1001_EXT' EXPORTING authority = 'DISP' with_stru_auth = 'X' istat = pchistat extend = 'X' subty = $knowb begda = pchbegda endda = pchendda TABLES i1001 = i1001_ext OBJECTS = ext_objects_tab EXCEPTIONS nothing_found = 1 OTHERS = 3.

RH_STRU_AUTHORITY_CHECK CALL FUNCTION 'RH_STRU_AUTHORITY_CHECK' EXPORTING fcode = stru_authority plvar = i1001_ext-plvar otype = i1001_ext-sclas objid = i1001_ext-sobid with_base_ac = base_authority EXCEPTIONS no_stru_authority = 1 no_stru_authority_hyper = 2 no_stru_authority_at_all = 3 no_base_authority = 4 OTHERS = 5.

RH_READ_INFTY_1001 CALL FUNCTION 'RH_READ_INFTY_1001' EXPORTING authority = 'DISP' with_stru_auth = 'X' istat = pchistat extend = 'X' subty = $knowb begda = pchbegda endda = pchendda TABLES i1001 = i1001 OBJECTS = int_objects_tab EXCEPTIONS nothing_found = 1 OTHERS = 3.

RH_STRU_AUTHORITY_CHECK CALL FUNCTION 'RH_STRU_AUTHORITY_CHECK' EXPORTING fcode = stru_authority plvar = i1001-plvar otype = i1001-sclas objid = i1001-sobid with_base_ac = base_authority EXCEPTIONS no_stru_authority = 1 no_stru_authority_hyper = 2 no_stru_authority_at_all = 3 no_base_authority = 4 OTHERS = 5.

RH_TEXT_BUFFER_FILL CALL FUNCTION 'RH_TEXT_BUFFER_FILL' EXPORTING check_stru_auth = 'X' with_extint = 'X' TABLES OBJECTS = event_tab.

RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING plvar = event_tab-plvar otype = event_tab-otype objid = event_tab-objid istat = pc-istat begda = pc-begda endda = pc-endda langu = sy-langu ointerval = 'X' store = 'X' check_stru_auth = 'X' IMPORTING short = h_short stext = h_stext EXCEPTIONS not_found = 01.

RH_READ_INFTY_1001_EXT CALL FUNCTION 'RH_READ_INFTY_1001_EXT' EXPORTING authority = 'DISP' with_stru_auth = 'X' istat = pchistat extend = 'X' subty = $partb "B025 begda = pchbegda endda = pchendda TABLES i1001 = i1001_ext OBJECTS = ext_objects_tab EXCEPTIONS nothing_found = 1 OTHERS = 3.

RH_READ_INFTY_1001_EXT CALL FUNCTION 'RH_READ_INFTY_1001_EXT' EXPORTING authority = 'DISP' with_stru_auth = 'X' istat = pchistat extend = 'X' subty = $eparb "B614 begda = pchbegda endda = pchendda TABLES i1001 = lit_i1001_ext_b614 OBJECTS = ext_objects_tab EXCEPTIONS nothing_found = 1 OTHERS = 3.

RH_STRU_AUTHORITY_CHECK CALL FUNCTION 'RH_STRU_AUTHORITY_CHECK' EXPORTING fcode = stru_authority plvar = i1001_ext-plvar otype = i1001_ext-sclas objid = i1001_ext-sobid with_base_ac = base_authority EXCEPTIONS no_stru_authority = 1 no_stru_authority_hyper = 2 no_stru_authority_at_all = 3 no_base_authority = 4 OTHERS = 5.

RH_READ_INFTY_1001 CALL FUNCTION 'RH_READ_INFTY_1001' EXPORTING authority = 'DISP' with_stru_auth = 'X' istat = pchistat extend = 'X' subty = $partb begda = pchbegda endda = pchendda TABLES i1001 = i1001 OBJECTS = int_objects_tab EXCEPTIONS nothing_found = 1 OTHERS = 3.

RH_READ_INFTY_1001 CALL FUNCTION 'RH_READ_INFTY_1001' EXPORTING authority = 'DISP' with_stru_auth = 'X' istat = pchistat extend = 'X' subty = $eparb begda = pchbegda endda = pchendda TABLES i1001 = lit_i1001_b614 OBJECTS = int_objects_tab EXCEPTIONS nothing_found = 1 OTHERS = 3.

RH_STRU_AUTHORITY_CHECK CALL FUNCTION 'RH_STRU_AUTHORITY_CHECK' EXPORTING fcode = stru_authority plvar = i1001-plvar otype = i1001-sclas objid = i1001-sobid with_base_ac = base_authority EXCEPTIONS no_stru_authority = 1 no_stru_authority_hyper = 2 no_stru_authority_at_all = 3 no_base_authority = 4 OTHERS = 5.

RH_READ_INFTY_NNNN CALL FUNCTION 'RH_READ_INFTY_NNNN' EXPORTING * AUTHORITY = 'DISP' * WITH_STRU_AUTH = 'X' infty = '1031' * ISTAT = ' ' * EXTEND = 'X' * SUBTY = ' ' begda = pchbegda endda = pchendda * CONDITION = '00000' * INFTB = '1' * SORT = 'X' TABLES innnn = i1031 OBJECTS = event_tab EXCEPTIONS nothing_found = 1 wrong_condition = 2 OTHERS = 3.

RH_TEXT_BUFFER_FILL CALL FUNCTION 'RH_TEXT_BUFFER_FILL' EXPORTING check_stru_auth = 'X' with_extint = 'X' TABLES OBJECTS = event_tab.

RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING plvar = event_tab-plvar otype = event_tab-otype objid = event_tab-objid istat = pc-istat begda = pc-begda endda = pc-endda langu = sy-langu ointerval = 'X' store = 'X' check_stru_auth = 'X' IMPORTING obeg = h_begda oend = h_endda short = h_short stext = h_stext EXCEPTIONS not_found = 01.

LSO_GET_PRICE_DATA CALL FUNCTION 'LSO_GET_PRICE_DATA' EXPORTING with_price = 'X' TABLES kont_tab_in = kont_tab kont_tab_out = kostl_tab EXCEPTIONS nothing_found = 1 no_price_found = 2 OTHERS = 3.

RH_READ_EVENT_SCHEDULE CALL FUNCTION 'RH_READ_EVENT_SCHEDULE' TABLES eventlist = event_tab schedule_tab = schedule_tab EXCEPTIONS nothing_found = 1 OTHERS = 2.

LSO_GET_PARTICIPANTS * CALL FUNCTION 'LSO_GET_PARTICIPANTS' "XEY916204 * EXPORTING * begda = '19000101' * endda = '99991231' * TABLES * trainings = event_tab * participants = participants_tab * EXCEPTIONS * no_participant = 1 * no_event_found = 2 * wrong_condition = 3 * OTHERS = 4.

LSO_LA_GET_LEARNINFO_C CALL FUNCTION 'LSO_LA_GET_LEARNINFO_C' EXPORTING tpartdoc = l_tpartdocno IMPORTING tnumebos = v_tnumebos tnumelus = v_tnumelus ttimecrs = v_ttimecrs TABLES tpartdocs = it_tpartdocs.

RH_READ_INFTY_NNNN CALL FUNCTION 'RH_READ_INFTY_NNNN' EXPORTING plvar = partic_training_tab-plvar "XEY916204 otype = partic_training_tab-evtyp "XEY916204 objid = partic_training_tab-eveid "XEY916204 infty = '5009' TABLES innnn = lt_p5009 EXCEPTIONS OTHERS = 0.

LSO_TRAININGTYPE_GET_TFORM_C CALL FUNCTION 'LSO_TRAININGTYPE_GET_TFORM_C' EXPORTING plvar = partic_training_tab-plvar otype = partic_training_tab-evtyp objid = partic_training_tab-eveid IMPORTING trainingform = ls_tform EXCEPTIONS error_occured = 1 not_found = 2 no_trainingform_maintained = 3 OTHERS = 4.

LSO_TRAINING_GET_TFORM CALL FUNCTION 'LSO_TRAINING_GET_TFORM' EXPORTING plvar = partic_training_tab-plvar otype = partic_training_tab-evtyp objid = partic_training_tab-eveid IMPORTING trainingform = ls_tform EXCEPTIONS error_occured = 1 not_found = 2 no_trainingform_maintained = 3 OTHERS = 4.

RH_READ_INFTY_1001 CALL FUNCTION 'RH_READ_INFTY_1001' EXPORTING authority = ' ' with_stru_auth = ' ' * ISTAT = ' ' * EXTEND = 'X' subty = $speca begda = pchbegda endda = pchendda * CONDITION = '00000' * SORT = 'X' * WITH_EV = ' ' adata = ' ' * AUTH_SOBID = ' ' TABLES i1001 = local_1001 OBJECTS = event_tab EXCEPTIONS OTHERS = 0.



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