CHECK_VALUE SAP Method Validate vlaue help result or code value









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

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


Parameters of Method CHECK_VALUE

.

NameTypeData TypeDescriptionDefault Value
IV_CHARImportingTYPE
CHAR1
CHAR 1 code value
IV_CHAR10ImportingTYPE
CHAR10
CHAR 10 code value
IV_CHAR12ImportingTYPE
CHAR12
CHAR 12 code value
IV_CHAR2ImportingTYPE
CHAR2
CHAR 2 code value
IV_CHAR3ImportingTYPE
CHAR3
CHAR 3 code value
IV_CHAR4ImportingTYPE
CHAR4
CHAR 4 code value
CV_ADD_DATAChangingTYPE
CHAR10
Additional data
CV_DATE1ChangingTYPE
DATUM
Date
CV_DATE2ChangingTYPE
DATUM
Date
CV_OKChangingTYPE
ABAP_BOOL
Value is valid (X)
CV_TEXTChangingTYPE
STEXT
Description



Exceptions of Method CHECK_VALUE

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /SCMB/IF_SHLP_BADI.
DATA: lv_CV_ADD_DATA TYPE CHAR10,
lv_CV_DATE1 TYPE DATUM,
lv_CV_DATE2 TYPE DATUM,
lv_CV_OK TYPE ABAP_BOOL,
lv_CV_TEXT TYPE STEXT,
lv_IV_CHAR TYPE CHAR1,
lv_IV_CHAR10 TYPE CHAR10,
lv_IV_CHAR12 TYPE CHAR12,
lv_IV_CHAR2 TYPE CHAR2,
lv_IV_CHAR3 TYPE CHAR3,
lv_IV_CHAR4 TYPE CHAR4,
lv_other TYPE c.

CALL METHOD lo_class=>CHECK_VALUE(
EXPORTING
IV_CHAR = lv_IV_CHAR
IV_CHAR10 = lv_IV_CHAR10
IV_CHAR12 = lv_IV_CHAR12
IV_CHAR2 = lv_IV_CHAR2
IV_CHAR3 = lv_IV_CHAR3
IV_CHAR4 = lv_IV_CHAR4
CHANGING
CV_ADD_DATA = lv_CV_ADD_DATA
CV_DATE1 = lv_CV_DATE1
CV_DATE2 = lv_CV_DATE2
CV_OK = lv_CV_OK
CV_TEXT = lv_CV_TEXT ).

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!