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
.Name | Type | Data Type | Description | Default Value |
IV_CURRENCY | Importing | TYPE WAERS | Currency Key | |
IV_INPUT | Importing | TYPE ANY | ||
IV_INPUT_EXT | Importing | TYPE CHAR50 | Comment | |
IV_PRUN | Importing | TYPE CHAR50 | Pricing Unit | |
IV_UOM | Importing | TYPE KMEIN | Condition Unit | |
CV_INVALID | Changing | TYPE XFELD | Checkbox |
Exceptions of Method FIELD_CHECK
This method does not have any exceptionsExample 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