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_BAPI

Method 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 NameDescriptionVisability
ADD_CAL_TO_KEY_TABLEAdd Calendar to a key tablePrivate
CALL METHOD /sctm/cl_bapi_leg=>ADD_CAL_TO_KEY_TABLE...more details

ADD_LEG_TO_KEY_TABLEAdd Leg to a key table for data selectionPrivate
CALL METHOD /sctm/cl_bapi_leg=>ADD_LEG_TO_KEY_TABLE...more details

CHECK_LEG_REFERENCECheck if reference to leg is okayPrivate
CALL METHOD /sctm/cl_bapi_leg=>CHECK_LEG_REFERENCE...more details

CHECK_MODIFY_DATACheck input data and transfer into internal formatProtected
CALL METHOD /sctm/cl_bapi_leg=>CHECK_MODIFY_DATA...more details

CHECK_RETURN_CODESModify Leg HeaderPrivate
CALL METHOD /sctm/cl_bapi_leg=>CHECK_RETURN_CODES...more details

CLEAR_SP_MESSAGESClear messages of the service providerProtected
CALL METHOD /sctm/cl_bapi_leg=>CLEAR_SP_MESSAGES...more details

CONSTRUCTORConstructorPublic
CALL METHOD /sctm/cl_bapi_leg=>CONSTRUCTOR...more details

GET_EXTERNAL_LEGDetermine External ID of LegPrivate
CALL METHOD /sctm/cl_bapi_leg=>GET_EXTERNAL_LEG...more details

GET_EXTERNAL_LEG_IDDetermine External ID of LegPrivate
CALL METHOD /sctm/cl_bapi_leg=>GET_EXTERNAL_LEG_ID...more details

GET_INTERNAL_LEG_IDGet internal Leg ID from pdaPrivate
CALL METHOD /sctm/cl_bapi_leg=>GET_INTERNAL_LEG_ID...more details

GET_K_LEG_CAL_FROM_EXTKey of Header of Departure CalendarPrivate
CALL METHOD /sctm/cl_bapi_leg=>GET_K_LEG_CAL_FROM_EXT...more details

GET_K_LEG_CAL_NEWKey of Header of Departure CalendarPrivate
CALL METHOD /sctm/cl_bapi_leg=>GET_K_LEG_CAL_NEW...more details

GET_K_LEG_HD_FROM_EXTKey of Header of a LegPrivate
CALL METHOD /sctm/cl_bapi_leg=>GET_K_LEG_HD_FROM_EXT...more details

GET_K_LEG_HD_NEWKey of Header of a LegPrivate
CALL METHOD /sctm/cl_bapi_leg=>GET_K_LEG_HD_NEW...more details

GET_LEG_CAL_SPHeader of a Departure CalendarPrivate
CALL METHOD /sctm/cl_bapi_leg=>GET_LEG_CAL_SP...more details

GET_LEG_GUID_FROM_CALModify Leg TSP assignmentsPrivate
CALL METHOD /sctm/cl_bapi_leg=>GET_LEG_GUID_FROM_CAL...more details

GET_LEG_GUID_FROM_HDModify Leg TSP assignmentsPrivate
CALL METHOD /sctm/cl_bapi_leg=>GET_LEG_GUID_FROM_HD...more details

GET_LEG_HD_SPKey of Header of a LegPrivate
CALL METHOD /sctm/cl_bapi_leg=>GET_LEG_HD_SP...more details

GET_LEG_IDInternal Description of a LegPrivate
CALL METHOD /sctm/cl_bapi_leg=>GET_LEG_ID...more details

GET_SP_MESSAGESGet the Messages of the Leg SPProtected
CALL METHOD /sctm/cl_bapi_leg=>GET_SP_MESSAGES...more details

GET_STOP_IDGet the Stop ID (Location / Zone)Private
CALL METHOD /sctm/cl_bapi_leg=>GET_STOP_ID...more details

HANDLE_UNALLOWED_MODEModify Leg TSP assignmentsPrivate
CALL METHOD /sctm/cl_bapi_leg=>HANDLE_UNALLOWED_MODE...more details

LEG_READ_MULTIRead multiple LegsPublic
CALL METHOD /sctm/cl_bapi_leg=>LEG_READ_MULTI...more details

LEG_SAVE_MULTIChange multiple LegsPublic
CALL METHOD /sctm/cl_bapi_leg=>LEG_SAVE_MULTI...more details

MODIFY_LEG_CALENDARChange multiple LegsProtected
CALL METHOD /sctm/cl_bapi_leg=>MODIFY_LEG_CALENDAR...more details

MODIFY_LEG_CAL_ASSIGNMENTModify Leg Departure Calendar assignmentProtected
CALL METHOD /sctm/cl_bapi_leg=>MODIFY_LEG_CAL_ASSIGNMENT...more details

MODIFY_LEG_DEPARTUREModify Leg DeparturesProtected
CALL METHOD /sctm/cl_bapi_leg=>MODIFY_LEG_DEPARTURE...more details

MODIFY_LEG_HEADERModify Leg HeaderProtected
CALL METHOD /sctm/cl_bapi_leg=>MODIFY_LEG_HEADER...more details

MODIFY_LEG_STOPModify Leg StopProtected
CALL METHOD /sctm/cl_bapi_leg=>MODIFY_LEG_STOP...more details

MODIFY_LEG_TSPModify Leg TSP assignmentsProtected
CALL METHOD /sctm/cl_bapi_leg=>MODIFY_LEG_TSP...more details

SAVESave BAPI changesPublic
CALL METHOD /sctm/cl_bapi_leg=>SAVE...more details

SELECT_BY_LEGSSelection of Legs and Their DetailsPrivate
CALL METHOD /sctm/cl_bapi_leg=>SELECT_BY_LEGS...more details

SELECT_LEG_DATASelect Leg DataProtected
CALL METHOD /sctm/cl_bapi_leg=>SELECT_LEG_DATA...more details

SELECT_LEG_DETAIL_DATARead multiple Legs (Detail)Protected
CALL METHOD /sctm/cl_bapi_leg=>SELECT_LEG_DETAIL_DATA...more details

SELECT_LEG_HEADER_DATARead 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.

NameLevelDescriptionInitial ValueTypeVisability
MO_LEG_SPInstance AttributeService Provider: LegLIKE
/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



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!