FIELD_CHECK SAP Method Checks if field input is valid









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

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


Parameters of Method FIELD_CHECK

.

NameTypeData TypeDescriptionDefault Value
IV_CURRENCYImportingTYPE
WAERS
Currency Key
IV_INPUTImportingTYPE
ANY
IV_INPUT_EXTImportingTYPE
CHAR50
Comment
IV_PRUNImportingTYPE
CHAR50
Pricing Unit
IV_UOMImportingTYPE
KMEIN
Condition Unit
CV_INVALIDChangingTYPE
XFELD
Checkbox



Exceptions of Method FIELD_CHECK

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_PRICING_CPF_UI_FIELD_BADI.
DATA: lv_CV_INVALID TYPE XFELD,
lv_IV_CURRENCY TYPE WAERS,
lv_IV_INPUT TYPE ANY,
lv_IV_INPUT_EXT TYPE CHAR50,
lv_IV_PRUN TYPE CHAR50,
lv_IV_UOM TYPE KMEIN,
lv_other TYPE c.

CALL METHOD lo_class=>FIELD_CHECK(
EXPORTING
IV_CURRENCY = lv_IV_CURRENCY
IV_INPUT = lv_IV_INPUT
IV_INPUT_EXT = lv_IV_INPUT_EXT
IV_PRUN = lv_IV_PRUN
IV_UOM = lv_IV_UOM
CHANGING
CV_INVALID = lv_CV_INVALID ).

Links to Related Class(s)

IF_PRICI...
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!