MODIFY_LEG_STOP SAP Method Modify Leg Stop









Below is documentation, parameters and attributes of ABAP Method MODIFY_LEG_STOP 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 MODIFY_LEG_STOP can also be found below:

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


Parameters of Method MODIFY_LEG_STOP

.

NameTypeData TypeDescriptionDefault Value
IT_LEG_HD_INSERT_OKImportingTYPE
/SCTM/TT_SP_A_LEG_HD
Leg UI: Header
IT_LEG_STOP_XImportingTYPE
/SCTM/TT_BAPI_LEG_STOP_X
Leg BAPI: Change Indicator for Stop Data
EV_REJECTEDExportingTYPE
BOOLE_D
Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
CT_LEG_STOP_BAPIChangingTYPE
/SCTM/TT_BAPI_LEG_STOP
Leg BAPI: Stop Data
CT_LEG_STOP_SPChangingTYPE
/SCTM/TT_SP_A_LEG_STOP
Leg UI: Stop



Exceptions of Method MODIFY_LEG_STOP

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /SCTM/CL_BAPI_LEG.
DATA: lv_CT_LEG_STOP_BAPI TYPE /SCTM/TT_BAPI_LEG_STOP,
lv_CT_LEG_STOP_SP TYPE /SCTM/TT_SP_A_LEG_STOP,
lv_EV_REJECTED TYPE BOOLE_D,
lv_IT_LEG_HD_INSERT_OK TYPE /SCTM/TT_SP_A_LEG_HD,
lv_IT_LEG_STOP_X TYPE /SCTM/TT_BAPI_LEG_STOP_X,
lv_other TYPE c.

CALL METHOD lo_class=>MODIFY_LEG_STOP(
EXPORTING
IT_LEG_HD_INSERT_OK = lv_IT_LEG_HD_INSERT_OK
IT_LEG_STOP_X = lv_IT_LEG_STOP_X
IMPORTING
EV_REJECTED = lv_EV_REJECTED
CHANGING
CT_LEG_STOP_BAPI = lv_CT_LEG_STOP_BAPI
CT_LEG_STOP_SP = lv_CT_LEG_STOP_SP ).

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!