EXTEND_CHECK SAP Method Extended check for TM Resource registration numbers









Below is documentation, parameters and attributes of ABAP Method EXTEND_CHECK within SAP class /SCMB/IF_BADI_TMRES_REGNR_CHK. 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 /SCMB/IF_BADI_TMRES_REGNR_CHK 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 EXTEND_CHECK can also be found below:

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


Parameters of Method EXTEND_CHECK

.

NameTypeData TypeDescriptionDefault Value
IV_COUNTRYImportingTYPE
LAND1
Country Key
IV_EQUIGROUPImportingTYPE
/SCMB/DE_EQUI_TYPE
Equipment Group
IV_EQUITYPEImportingTYPE
/SCMB/DE_EQUI_CODE
Equipment Type
IV_MTRImportingTYPE
/SAPAPO/TR_TRATY
Means of Transport
IV_PATTERNImportingTYPE
/SCMB/RESPTRNSTR
Registration Number Pattern
IV_REFMATIDImportingTYPE
/SCMB/MDL_PRODUCT_ID
Internal Key for Product
IV_REG_NUMBERImportingTYPE
/SCMB/RESPLATENR
Registration Number
IV_RESTYPEImportingTYPE
/SCMB/TMSRESTYPE
Resource Type
IV_TURES_PMTYPEImportingTYPE
/SCWM/DE_PMTYP
Packaging Material Type
CV_OKChangingTYPE
ABAP_BOOL
X: License Number is ok, SPACE: Number is not ok



Exceptions of Method EXTEND_CHECK

BADI_ERROR - Error occured in BAdI implementation

Example ABAP coding


DATA: lo_class TYPE REF TO /SCMB/IF_BADI_TMRES_REGNR_CHK.
DATA: lv_CV_OK TYPE ABAP_BOOL,
lv_IV_COUNTRY TYPE LAND1,
lv_IV_EQUIGROUP TYPE /SCMB/DE_EQUI_TYPE,
lv_IV_EQUITYPE TYPE /SCMB/DE_EQUI_CODE,
lv_IV_MTR TYPE /SAPAPO/TR_TRATY,
lv_IV_PATTERN TYPE /SCMB/RESPTRNSTR,
lv_IV_REFMATID TYPE /SCMB/MDL_PRODUCT_ID,
lv_IV_REG_NUMBER TYPE /SCMB/RESPLATENR,
lv_IV_RESTYPE TYPE /SCMB/TMSRESTYPE,
lv_IV_TURES_PMTYPE TYPE /SCWM/DE_PMTYP,
lv_other TYPE c.

CALL METHOD lo_class=>EXTEND_CHECK(
EXPORTING
IV_COUNTRY = lv_IV_COUNTRY
IV_EQUIGROUP = lv_IV_EQUIGROUP
IV_EQUITYPE = lv_IV_EQUITYPE
IV_MTR = lv_IV_MTR
IV_PATTERN = lv_IV_PATTERN
IV_REFMATID = lv_IV_REFMATID
IV_REG_NUMBER = lv_IV_REG_NUMBER
IV_RESTYPE = lv_IV_RESTYPE
IV_TURES_PMTYPE = lv_IV_TURES_PMTYPE
CHANGING
CV_OK = lv_CV_OK ).

Links to Related Class(s)

/SCMB/IF...
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!