GET_RESTRICT_ASSIGNS SAP Method Assignments According to Request Restrictions









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

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


Parameters of Method GET_RESTRICT_ASSIGNS

.

NameTypeData TypeDescriptionDefault Value
IO_GEO_OBJECTImportingTYPE REF TO
/SCTM/CL_GEO_OBJECT
Geographical Object
IV_CHECK_MTRImportingTYPE
BOOLE_D
Check Means of Transport Restrictions
IV_CHECK_PRODUCTImportingTYPE
BOOLE_D
Check Product Restrictions
IV_CHECK_TSPImportingTYPE
BOOLE_D
Check Transportation Service Provider Restrictions
IV_TSP_RESTRICTIONImportingTYPE
INT4
Dummy for B20 int1 (Local Everywhere)
ET_ASSIGN_VALUESExportingTYPE
/SCTM/TT_ASSIGN_VALUE
Quantity of Valuated Assignments



Exceptions of Method GET_RESTRICT_ASSIGNS

/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_ET_ASSIGN_VALUES TYPE /SCTM/TT_ASSIGN_VALUE,
lv_IO_GEO_OBJECT TYPE /SCTM/CL_GEO_OBJECT,
lv_IV_CHECK_MTR TYPE BOOLE_D,
lv_IV_CHECK_PRODUCT TYPE BOOLE_D,
lv_IV_CHECK_TSP TYPE BOOLE_D,
lv_IV_TSP_RESTRICTION TYPE INT4,
lv_other TYPE c.

CALL METHOD lo_class=>GET_RESTRICT_ASSIGNS(
EXPORTING
IO_GEO_OBJECT = lv_IO_GEO_OBJECT
IV_CHECK_MTR = lv_IV_CHECK_MTR
IV_CHECK_PRODUCT = lv_IV_CHECK_PRODUCT
IV_CHECK_TSP = lv_IV_CHECK_TSP
IV_TSP_RESTRICTION = lv_IV_TSP_RESTRICTION
IMPORTING
ET_ASSIGN_VALUES = lv_ET_ASSIGN_VALUES ).

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!