FORMAT_VALUE_CONV_EXIT SAP Method Special Handling for Fields with Conversion Exit









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

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


Parameters of Method FORMAT_VALUE_CONV_EXIT

.

NameTypeData TypeDescriptionDefault Value
IV_DATA_TYPEImportingTYPE
C
Internal ABAP Data Type
IV_DDIC_TYPEImportingTYPE
DATATYPE_D
Data type in ABAP Dictionary
IV_EDIT_MASKImportingTYPE
CONVEXIT
Conversion Routine
IV_FORMNAMEImportingTYPE
FPNAME
Name of Form
IV_LANGUImportingTYPE
LANGU
Language of the Form
IV_REF_VALUEImportingTYPE
ANY
Value of Reference Field
IV_VALUEImportingTYPE
ANY
Inbound Value
CV_RESULT_VALUEChangingTYPE
STRING
Value



Exceptions of Method FORMAT_VALUE_CONV_EXIT

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_BADI_FP_EXT_FIELD_CONV_EXIT.
DATA: lv_CV_RESULT_VALUE TYPE STRING,
lv_IV_DATA_TYPE TYPE C,
lv_IV_DDIC_TYPE TYPE DATATYPE_D,
lv_IV_EDIT_MASK TYPE CONVEXIT,
lv_IV_FORMNAME TYPE FPNAME,
lv_IV_LANGU TYPE LANGU,
lv_IV_REF_VALUE TYPE ANY,
lv_IV_VALUE TYPE ANY,
lv_other TYPE c.

CALL METHOD lo_class=>FORMAT_VALUE_CONV_EXIT(
EXPORTING
IV_DATA_TYPE = lv_IV_DATA_TYPE
IV_DDIC_TYPE = lv_IV_DDIC_TYPE
IV_EDIT_MASK = lv_IV_EDIT_MASK
IV_FORMNAME = lv_IV_FORMNAME
IV_LANGU = lv_IV_LANGU
IV_REF_VALUE = lv_IV_REF_VALUE
IV_VALUE = lv_IV_VALUE
CHANGING
CV_RESULT_VALUE = lv_CV_RESULT_VALUE ).

Links to Related Class(s)

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