SELECT_LEG_DETAIL_DATA SAP Method Read multiple Legs (Detail)









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

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /SCTM/CL_BAPI_LEG 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 SELECT_LEG_DETAIL_DATA can also be found below:

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


Parameters of Method SELECT_LEG_DETAIL_DATA

.

NameTypeData TypeDescriptionDefault Value
IS_INCL_EXPORT_DATAImportingTYPE
/SCTM/BAPI_LEG_INCL_DATA
Leg BAPI: Specification of Required Data
IT_CAL_KEYImportingTYPE
/SCTM/TT_SP_K_LEG_CAL
Leg UI: Departure Calendar Keys
IT_LEG_KEYImportingTYPE
/SCTM/TT_SP_K_LEG_HD
Leg UI: Header Key
ET_LEG_CALExportingTYPE
/SCTM/TT_SP_A_LEG_CAL
Leg UI: Departure Calendars
ET_LEG_DEPARTUREExportingTYPE
/SCTM/TT_SP_A_LEG_DEP
Leg UI: Concrete Departure
ET_LEG_HDSExportingTYPE
/SCTM/TT_SP_A_LEG_HD
Leg UI: Header
ET_LEG_STOPExportingTYPE
/SCTM/TT_SP_A_LEG_STOP
Leg UI: Stop
ET_LEG_TSPExportingTYPE
/SCTM/TT_SP_A_LEG_TSP
Leg UI: Transportation Service Provider
EV_REJECTEDExportingTYPE
BOOLE_D
Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')



Exceptions of Method SELECT_LEG_DETAIL_DATA

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /SCTM/CL_BAPI_LEG.
DATA: lv_ET_LEG_CAL TYPE /SCTM/TT_SP_A_LEG_CAL,
lv_ET_LEG_DEPARTURE TYPE /SCTM/TT_SP_A_LEG_DEP,
lv_ET_LEG_HDS TYPE /SCTM/TT_SP_A_LEG_HD,
lv_ET_LEG_STOP TYPE /SCTM/TT_SP_A_LEG_STOP,
lv_ET_LEG_TSP TYPE /SCTM/TT_SP_A_LEG_TSP,
lv_EV_REJECTED TYPE BOOLE_D,
lv_IS_INCL_EXPORT_DATA TYPE /SCTM/BAPI_LEG_INCL_DATA,
lv_IT_CAL_KEY TYPE /SCTM/TT_SP_K_LEG_CAL,
lv_IT_LEG_KEY TYPE /SCTM/TT_SP_K_LEG_HD,
lv_other TYPE c.

CALL METHOD lo_class=>SELECT_LEG_DETAIL_DATA(
EXPORTING
IS_INCL_EXPORT_DATA = lv_IS_INCL_EXPORT_DATA
IT_CAL_KEY = lv_IT_CAL_KEY
IT_LEG_KEY = lv_IT_LEG_KEY
IMPORTING
ET_LEG_CAL = lv_ET_LEG_CAL
ET_LEG_DEPARTURE = lv_ET_LEG_DEPARTURE
ET_LEG_HDS = lv_ET_LEG_HDS
ET_LEG_STOP = lv_ET_LEG_STOP
ET_LEG_TSP = lv_ET_LEG_TSP
EV_REJECTED = lv_EV_REJECTED ).

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!