GET_INST_COURSES_FOR_CALENDER SAP Method Gets the courses for the instructor for calender view
Below is documentation, parameters and attributes of ABAP Method GET_INST_COURSES_FOR_CALENDER within SAP class /XLSO/CL_INSTRUCTOR. 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_INSTRUCTOR 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_INST_COURSES_FOR_CALENDER can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_INST_COURSES_FOR_CALENDER
.| Name | Type | Data Type | Description | Default Value |
| IV_BEGIN_DATE | Importing | TYPE BEGDA | Start Date | |
| IV_COURSE_TYPE | Importing | TYPE CHAR10 | Character Field Length = 10 | |
| IV_COURSE_TYPE_ID | Importing | TYPE HROBJID | Object ID | |
| IV_DELIVERY_MET | Importing | TYPE LSO_TFORM_C | Delivery Method | |
| IV_END_DATE | Importing | TYPE ENDDA | End Date | |
| IV_LANG | Importing | TYPE LAISO | Language according to ISO 639 | |
| IV_LOCATION | Importing | TYPE LOCID | Business Event Location | |
| ET_COURSE_DETAILS | Exporting | TYPE /XLSO/TT_INSTRUCTOR_COURSES | Course Type and Course Details for Instructor |
Exceptions of Method GET_INST_COURSES_FOR_CALENDER
This method does not have any exceptionsExample 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_INSTRUCTOR.
DATA: lv_ET_COURSE_DETAILS TYPE /XLSO/TT_INSTRUCTOR_COURSES,
lv_IV_BEGIN_DATE TYPE BEGDA,
lv_IV_COURSE_TYPE TYPE CHAR10,
lv_IV_COURSE_TYPE_ID TYPE HROBJID,
lv_IV_DELIVERY_MET TYPE LSO_TFORM_C,
lv_IV_END_DATE TYPE ENDDA,
lv_IV_LANG TYPE LAISO,
lv_IV_LOCATION TYPE LOCID,
lv_other TYPE c.
CALL METHOD lo_class=>GET_INST_COURSES_FOR_CALENDER(
EXPORTING
IV_BEGIN_DATE = lv_IV_BEGIN_DATE
IV_COURSE_TYPE = lv_IV_COURSE_TYPE
IV_COURSE_TYPE_ID = lv_IV_COURSE_TYPE_ID
IV_DELIVERY_MET = lv_IV_DELIVERY_MET
IV_END_DATE = lv_IV_END_DATE
IV_LANG = lv_IV_LANG
IV_LOCATION = lv_IV_LOCATION
IMPORTING
ET_COURSE_DETAILS = lv_ET_COURSE_DETAILS ).
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