GET_TEMPLATE SAP Method To get the Evaluation Template









Below is documentation, parameters and attributes of ABAP Method GET_TEMPLATE within SAP class /XLSO/CL_EVALUATION. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /XLSO/CL_EVALUATION into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

The following technical details of method GET_TEMPLATE can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method GET_TEMPLATE

.

NameTypeData TypeDescriptionDefault Value
IV_COURSE_IDImportingTYPE
HROBJID
Object ID
IV_COURSE_TYPEImportingTYPE
HROBJID
Object ID
IV_LEARNER_IDImportingTYPE
REALO
Extended Object ID
IV_OTYPEImportingTYPE
OTYPE
Object Type
ET_BODY_CELLSExportingTYPE
HAP_T_BODY_CELLS
Body - Cells
ET_BODY_CELL_NOTESExportingTYPE
HAP_T_BODY_CELL_NOTES
Body - Cell Notes
ET_BODY_CELL_VAL_VALUESExportingTYPE
HAP_T_BODY_CELL_VAL_VALUES
Body - Cell Value List (Values)
ET_BODY_ELEMENT_DESCRExportingTYPE
HAP_T_BODY_ELEMENT_DESCR
Body - Element Descriptions
ET_MESSAGESExportingTYPE
LSO_BAPIRET2_TAB
BAPIRET2 Table
IV_TEMP_MODEExportingTYPE
CHAR1
Single-Character Indicator
T_HEADER_APPRAISEEChangingTYPE
HAP_T_HEADER_APPRAISEE
Header - Appraisee
T_HEADER_APPRAISERChangingTYPE
HAP_T_HEADER_APPRAISER
Header - Appraiser



Exceptions of Method GET_TEMPLATE

This method does not have any exceptions

Example ABAP coding

This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.

DATA: lo_class TYPE REF TO /XLSO/CL_EVALUATION.
DATA: lv_ET_BODY_CELLS TYPE HAP_T_BODY_CELLS,
lv_ET_BODY_CELL_NOTES TYPE HAP_T_BODY_CELL_NOTES,
lv_ET_BODY_CELL_VAL_VALUES TYPE HAP_T_BODY_CELL_VAL_VALUES,
lv_ET_BODY_ELEMENT_DESCR TYPE HAP_T_BODY_ELEMENT_DESCR,
lv_ET_MESSAGES TYPE LSO_BAPIRET2_TAB,
lv_IV_COURSE_ID TYPE HROBJID,
lv_IV_COURSE_TYPE TYPE HROBJID,
lv_IV_LEARNER_ID TYPE REALO,
lv_IV_OTYPE TYPE OTYPE,
lv_IV_TEMP_MODE TYPE CHAR1,
lv_T_HEADER_APPRAISEE TYPE HAP_T_HEADER_APPRAISEE,
lv_T_HEADER_APPRAISER TYPE HAP_T_HEADER_APPRAISER,
lv_other TYPE c.

CALL METHOD lo_class=>GET_TEMPLATE(
EXPORTING
IV_COURSE_ID = lv_IV_COURSE_ID
IV_COURSE_TYPE = lv_IV_COURSE_TYPE
IV_LEARNER_ID = lv_IV_LEARNER_ID
IV_OTYPE = lv_IV_OTYPE
IMPORTING
ET_BODY_CELLS = lv_ET_BODY_CELLS
ET_BODY_CELL_NOTES = lv_ET_BODY_CELL_NOTES
ET_BODY_CELL_VAL_VALUES = lv_ET_BODY_CELL_VAL_VALUES
ET_BODY_ELEMENT_DESCR = lv_ET_BODY_ELEMENT_DESCR
ET_MESSAGES = lv_ET_MESSAGES
IV_TEMP_MODE = lv_IV_TEMP_MODE
CHANGING
T_HEADER_APPRAISEE = lv_T_HEADER_APPRAISEE
T_HEADER_APPRAISER = lv_T_HEADER_APPRAISER ).

Links to Related Class(s)

/XLSO/CL...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!