SAP /SCTM/CL_BAPI_LEG OO Class - Leg: Processing of BAPI Data
/SCTM/CL_BAPI_LEG is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class /SCTM/CL_BAPI_LEG including details of:
- Interface class implementations
- Inheritance details
- Methods defined within class ( including link to full details )
- Attributes ( including initial values )
- Class Events
Inheritance
This OO class has a superclass assigned to it, which means it will inherit its objects and methods. The superclass for /SCTM/CL_BAPI_LEG is /SCTM/CL_BAPIMethod list of /SCTM/CL_BAPI_LEG SAP class
A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD.
Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...
| Method Name | Description | Visability |
| ADD_CAL_TO_KEY_TABLE | Add Calendar to a key table | Private |
| CALL METHOD /sctm/cl_bapi_leg=>ADD_CAL_TO_KEY_TABLE...more details | ||
| ADD_LEG_TO_KEY_TABLE | Add Leg to a key table for data selection | Private |
| CALL METHOD /sctm/cl_bapi_leg=>ADD_LEG_TO_KEY_TABLE...more details | ||
| CHECK_LEG_REFERENCE | Check if reference to leg is okay | Private |
| CALL METHOD /sctm/cl_bapi_leg=>CHECK_LEG_REFERENCE...more details | ||
| CHECK_MODIFY_DATA | Check input data and transfer into internal format | Protected |
| CALL METHOD /sctm/cl_bapi_leg=>CHECK_MODIFY_DATA...more details | ||
| CHECK_RETURN_CODES | Modify Leg Header | Private |
| CALL METHOD /sctm/cl_bapi_leg=>CHECK_RETURN_CODES...more details | ||
| CLEAR_SP_MESSAGES | Clear messages of the service provider | Protected |
| CALL METHOD /sctm/cl_bapi_leg=>CLEAR_SP_MESSAGES...more details | ||
|
| ||
| CONSTRUCTOR | Constructor | Public |
| CALL METHOD /sctm/cl_bapi_leg=>CONSTRUCTOR...more details | ||
| GET_EXTERNAL_LEG | Determine External ID of Leg | Private |
| CALL METHOD /sctm/cl_bapi_leg=>GET_EXTERNAL_LEG...more details | ||
| GET_EXTERNAL_LEG_ID | Determine External ID of Leg | Private |
| CALL METHOD /sctm/cl_bapi_leg=>GET_EXTERNAL_LEG_ID...more details | ||
| GET_INTERNAL_LEG_ID | Get internal Leg ID from pda | Private |
| CALL METHOD /sctm/cl_bapi_leg=>GET_INTERNAL_LEG_ID...more details | ||
| GET_K_LEG_CAL_FROM_EXT | Key of Header of Departure Calendar | Private |
| CALL METHOD /sctm/cl_bapi_leg=>GET_K_LEG_CAL_FROM_EXT...more details | ||
| GET_K_LEG_CAL_NEW | Key of Header of Departure Calendar | Private |
| CALL METHOD /sctm/cl_bapi_leg=>GET_K_LEG_CAL_NEW...more details | ||
| GET_K_LEG_HD_FROM_EXT | Key of Header of a Leg | Private |
| CALL METHOD /sctm/cl_bapi_leg=>GET_K_LEG_HD_FROM_EXT...more details | ||
| GET_K_LEG_HD_NEW | Key of Header of a Leg | Private |
| CALL METHOD /sctm/cl_bapi_leg=>GET_K_LEG_HD_NEW...more details | ||
| GET_LEG_CAL_SP | Header of a Departure Calendar | Private |
| CALL METHOD /sctm/cl_bapi_leg=>GET_LEG_CAL_SP...more details | ||
| GET_LEG_GUID_FROM_CAL | Modify Leg TSP assignments | Private |
| CALL METHOD /sctm/cl_bapi_leg=>GET_LEG_GUID_FROM_CAL...more details | ||
| GET_LEG_GUID_FROM_HD | Modify Leg TSP assignments | Private |
| CALL METHOD /sctm/cl_bapi_leg=>GET_LEG_GUID_FROM_HD...more details | ||
| GET_LEG_HD_SP | Key of Header of a Leg | Private |
| CALL METHOD /sctm/cl_bapi_leg=>GET_LEG_HD_SP...more details | ||
| GET_LEG_ID | Internal Description of a Leg | Private |
| CALL METHOD /sctm/cl_bapi_leg=>GET_LEG_ID...more details | ||
| GET_SP_MESSAGES | Get the Messages of the Leg SP | Protected |
| CALL METHOD /sctm/cl_bapi_leg=>GET_SP_MESSAGES...more details | ||
| GET_STOP_ID | Get the Stop ID (Location / Zone) | Private |
| CALL METHOD /sctm/cl_bapi_leg=>GET_STOP_ID...more details | ||
| HANDLE_UNALLOWED_MODE | Modify Leg TSP assignments | Private |
| CALL METHOD /sctm/cl_bapi_leg=>HANDLE_UNALLOWED_MODE...more details | ||
| LEG_READ_MULTI | Read multiple Legs | Public |
| CALL METHOD /sctm/cl_bapi_leg=>LEG_READ_MULTI...more details | ||
| LEG_SAVE_MULTI | Change multiple Legs | Public |
| CALL METHOD /sctm/cl_bapi_leg=>LEG_SAVE_MULTI...more details | ||
| MODIFY_LEG_CALENDAR | Change multiple Legs | Protected |
| CALL METHOD /sctm/cl_bapi_leg=>MODIFY_LEG_CALENDAR...more details | ||
| MODIFY_LEG_CAL_ASSIGNMENT | Modify Leg Departure Calendar assignment | Protected |
| CALL METHOD /sctm/cl_bapi_leg=>MODIFY_LEG_CAL_ASSIGNMENT...more details | ||
| MODIFY_LEG_DEPARTURE | Modify Leg Departures | Protected |
| CALL METHOD /sctm/cl_bapi_leg=>MODIFY_LEG_DEPARTURE...more details | ||
| MODIFY_LEG_HEADER | Modify Leg Header | Protected |
| CALL METHOD /sctm/cl_bapi_leg=>MODIFY_LEG_HEADER...more details | ||
| MODIFY_LEG_STOP | Modify Leg Stop | Protected |
| CALL METHOD /sctm/cl_bapi_leg=>MODIFY_LEG_STOP...more details | ||
| MODIFY_LEG_TSP | Modify Leg TSP assignments | Protected |
| CALL METHOD /sctm/cl_bapi_leg=>MODIFY_LEG_TSP...more details | ||
| SAVE | Save BAPI changes | Public |
| CALL METHOD /sctm/cl_bapi_leg=>SAVE...more details | ||
| SELECT_BY_LEGS | Selection of Legs and Their Details | Private |
| CALL METHOD /sctm/cl_bapi_leg=>SELECT_BY_LEGS...more details | ||
| SELECT_LEG_DATA | Select Leg Data | Protected |
| CALL METHOD /sctm/cl_bapi_leg=>SELECT_LEG_DATA...more details | ||
| SELECT_LEG_DETAIL_DATA | Read multiple Legs (Detail) | Protected |
| CALL METHOD /sctm/cl_bapi_leg=>SELECT_LEG_DETAIL_DATA...more details | ||
| SELECT_LEG_HEADER_DATA | Read multiple Legs (Header) | Protected |
| CALL METHOD /sctm/cl_bapi_leg=>SELECT_LEG_HEADER_DATA...more details | ||
/SCTM/CL_BAPI_LEG attributes
List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.
| Name | Level | Description | Initial Value | Type | Visability |
| MO_LEG_SP | Instance Attribute | Service Provider: Leg | LIKE /SCTM/CL_LEG_SP | Public |
/SCTM/CL_BAPI_LEG types
DE_MONTH -DE_WEEKDAY -
S_DAY -
S_MONTH -
S_WEEK -
Links to Related Class(s)
/SCTM/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects