SAP Reports / Programs

RHSCORM2004_LSO SAP ABAP Report - SCORM Data Report







RHSCORM2004_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 program serves as an example program to illustrate how to use the LSO_CP_REPORT_SCORMDATA function module...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 RHSCORM2004_LSO into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

LSO_SCORM_REPORT - Report of SCORM Data


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 RHSCORM2004_LSO. "Basic submit
SUBMIT RHSCORM2004_LSO AND RETURN. "Return to original report after report execution complete
SUBMIT RHSCORM2004_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: ELEMENT = SCORM Data Elements
Selection Text: KURS = Course
Selection Text: KURST = Course Type
Selection Text: LU = Learning Net Version
Selection Text: LUTYPE = Learning Net
Selection Text: PCHOBJID = Object ID
Selection Text: PCHSEARK = Search Text
Title: SCORM Data Report
Text Symbol: 001 = SCORM Data Report
Text Symbol: EVE = Course
Text Symbol: LUT = Learning Net
Text Symbol: LUV = Learning Net Version
Text Symbol: REP = Participation Period
Text Symbol: T01 = Course Selection
Text Symbol: T02 = SCORM Data Element Selection
Text Symbol: TYP = Course Type


INCLUDES used within this REPORT RHSCORM2004_LSO

INCLUDE RHSCMDAT_LSO_SCORM.
INCLUDE RHXMACRO_SCORM.
INCLUDE RHXF4GET_LSO_SCORM.
INCLUDE RHREPVAL_SCORM.
INCLUDE FORMS_LSO_SCORM.


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' "#EC ARGCHECKED EXPORTING RESTRICTION = RESTRICT * DB = ' ' EXCEPTIONS TOO_LATE = 1 REPEATED = 2 NOT_DURING_SUBMIT = 3 DB_CALL_AFTER_REPORT_CALL = 4 SELOPT_WITHOUT_OPTIONS = 5 SELOPT_WITHOUT_SIGNS = 6 INVALID_SIGN = 7 REPORT_CALL_AFTER_DB_ERROR = 8 EMPTY_OPTION_LIST = 9 INVALID_KIND = 10 REPEATED_KIND_A = 11 OTHERS = 12.

LSO_TRAININGTYPE_GET_TFORM_C CALL FUNCTION 'LSO_TRAININGTYPE_GET_TFORM_C' EXPORTING plvar = lt_hrobject-plvar otype = lt_hrobject-otype objid = lt_hrobject-objid 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 = lt_hrobject-plvar otype = lt_hrobject-otype objid = lt_hrobject-objid IMPORTING trainingform = ls_tform EXCEPTIONS error_occured = 1 not_found = 2 no_trainingform_maintained = 3 OTHERS = 4.

LSO_TRAININGTYPE_GET_TRAININGS CALL FUNCTION 'LSO_TRAININGTYPE_GET_TRAININGS' EXPORTING plvar = ls_hrobject-plvar trt_otype = ls_hrobject-otype trt_id = ls_hrobject-objid begindate = pchbegda enddate = pchendda TABLES trainings = it_trainings EXCEPTIONS nothing_found = 1 OTHERS = 2.

RH_READ_INFTY_NNNN CALL FUNCTION 'RH_READ_INFTY_NNNN' EXPORTING infty = '5009' TABLES innnn = it_p5009 OBJECTS = trainings_list EXCEPTIONS nothing_found = 1 wrong_condition = 2 infotyp_not_supported = 3 wrong_parameters = 4 OTHERS = 5.

LSO_TUTYPE_GET_LU CALL FUNCTION 'LSO_TUTYPE_GET_LU' EXPORTING lutype = lutype IMPORTING return = return TABLES luinfo = it_lupub.



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