TAC_TRAINING_RESULTS_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 displays a list of all course results for a specified
If you would like to execute this report or see the full code listing simply enter TAC_TRAINING_RESULTS_LSO 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: P_PLVAR = D Plan Version
Selection Text: P_OBJEC = D Object ID
Selection Text: ASSDATE = Storage Date
Title: Course Results Overview
Text Symbol: 014 = Update
Text Symbol: 012 = Cutoff
Text Symbol: 010 = Result Achieved in %
Text Symbol: 009 = Assessment
Text Symbol: 008 = Course ID
Text Symbol: 007 = Course Results Overview
Text Symbol: 006 = Course name
Text Symbol: 005 = Participant Name
Text Symbol: 004 = SelectionPeriod
Text Symbol: 001 = Course Type
INCLUDE : TACTOP.
INCLUDE : F4_VALUE_REQUEST.
INCLUDE : TAC_ALVINC.
INCLUDE : RHOINI00_LSO.
INCLUDE : RHRINI10.
INCLUDE : RHRINI20_LSO.
No SAP DATABASE tables are accessed within this REPORT code!
RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING plvar = it_tr_objects-plvar otype = it_tr_objects-otype objid = it_tr_objects-objid IMPORTING stext = v_tr_text EXCEPTIONS "hwy not_found = 1 "hwy OTHERS = 2. "hwy
RH_READ_INFTY_1001 CALL FUNCTION 'RH_READ_INFTY_1001' EXPORTING authority = 'DISP' subty = $specb "--B020 begda = beg_date endda = end_date TABLES i1001 = i1001 OBJECTS = it_tr_objects EXCEPTIONS nothing_found = 1 wrong_condition = 2 OTHERS = 3.
LSO_GET_PARTICIPANTS CALL FUNCTION 'LSO_GET_PARTICIPANTS' TABLES trainings = trainings_tab participants = participants_tab EXCEPTIONS no_participant = 1 no_event_found = 2 wrong_condition = 3 OTHERS = 4.
LSO_PARTICIPATION_GET_TRAINI_C * CALL FUNCTION 'LSO_PARTICIPATION_GET_TRAINI_C' * EXPORTING * plvar = participants_tab-plvar * attendee_id = participants_tab-parid * attendee_type = participants_tab-patyp * begindate = beg_date * enddate = end_date ** IMPORTING ** ERROR_OCCURED = * TABLES * bookinglist = it_bookinglist ** RETURN = * .
LSOTAC_LA_GET_ASSESSRESULTS CALL FUNCTION 'LSOTAC_LA_GET_ASSESSRESULTS' EXPORTING * ASSESSMENT = tpartdoc = tpartdoc beg_date = beg_date end_date = end_date IMPORTING error_occured = error_occured_itres TABLES ilsotaclrnassess = it_assess ilsotaclrnassres = it_assres ilsotaclrnitres = it_itres.
LSOTAC_PUB_GET_ASSESSSTRUCTURE CALL FUNCTION 'LSOTAC_PUB_GET_ASSESSSTRUCTURE' EXPORTING assessment = it_assess-assessment IMPORTING error_occured = error_occured_ass TABLES ilsotacassessment = it_assessment ilsotacasection = it_asection ilsotacasebo = it_asgroup ilsotacaseitem = it_aseitem ilsotacitem = it_item.
RH_READ_OBJECT * CALL FUNCTION 'RH_READ_OBJECT' * EXPORTING * plvar = participants_tab-plvar * otype = participants_tab-patyp * realo = participants_tab-parid * IMPORTING * short = par_short * EXCEPTIONS "hwy * not_found = 1 "hwy * OTHERS = 2. "hwy
LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'LSOTAC_RESULTS' CHANGING ct_fieldcat = gt_fieldcatalog.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.