GET_RESTRICT_ASSIGN_PARAMS SAP Method Read Parameters Relevant for Restricting Assignments









Below is documentation, parameters and attributes of ABAP Method GET_RESTRICT_ASSIGN_PARAMS within SAP class /SCTM/CL_RG_REQUEST. 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_RG_REQUEST 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_RESTRICT_ASSIGN_PARAMS can also be found below:

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


Parameters of Method GET_RESTRICT_ASSIGN_PARAMS

.

NameTypeData TypeDescriptionDefault Value
IO_METHPARImportingTYPE REF TO
/SCTM/CL_METH_PARAMETER
Method Parameters
IV_INDEX_LEGImportingTYPE
SY-TABIX
Index of Considered Leg
IV_MAX_INDEX_LEGImportingTYPE
SY-TABIX
Index of Last Leg in Route
EV_CHECK_MTRExportingTYPE
BOOLE_D
Check Means of Transport Compatibility
EV_CHECK_PRODUCTExportingTYPE
BOOLE_D
Check Product Compatibility
EV_CHECK_TSPExportingTYPE
BOOLE_D
Check Transportation Service Provider Compatibility
EV_TSP_RESTRICTIONExportingTYPE
INT4
Dummy for B20 int1 (Local Everywhere)



Exceptions of Method GET_RESTRICT_ASSIGN_PARAMS

/SCTM/CX_TM_RG_DATA - Inconsistent Data in Routing Guide

Example ABAP coding


DATA: lo_class TYPE REF TO /SCTM/CL_RG_REQUEST.
DATA: lv_EV_CHECK_MTR TYPE BOOLE_D,
lv_EV_CHECK_PRODUCT TYPE BOOLE_D,
lv_EV_CHECK_TSP TYPE BOOLE_D,
lv_EV_TSP_RESTRICTION TYPE INT4,
lv_IO_METHPAR TYPE /SCTM/CL_METH_PARAMETER,
lv_IV_INDEX_LEG TYPE SY-TABIX,
lv_IV_MAX_INDEX_LEG TYPE SY-TABIX,
lv_other TYPE c.

CALL METHOD lo_class=>GET_RESTRICT_ASSIGN_PARAMS(
EXPORTING
IO_METHPAR = lv_IO_METHPAR
IV_INDEX_LEG = lv_IV_INDEX_LEG
IV_MAX_INDEX_LEG = lv_IV_MAX_INDEX_LEG
IMPORTING
EV_CHECK_MTR = lv_EV_CHECK_MTR
EV_CHECK_PRODUCT = lv_EV_CHECK_PRODUCT
EV_CHECK_TSP = lv_EV_CHECK_TSP
EV_TSP_RESTRICTION = lv_EV_TSP_RESTRICTION ).

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!