VALIDATE_TEXT SAP Method Validates the text









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

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


Parameters of Method VALIDATE_TEXT

.

NameTypeData TypeDescriptionDefault Value
IS_CTXImportingTYPE
/BOBF/S_FRW_CTX_VAL
Context Information for Validations
IS_KEYImportingTYPE
/BOBF/S_FRW_KEY
Node Key
IV_LANGImportingTYPE
SPRAS
Language Key
IV_TEXTImportingTYPE
/BOBF/TEXT_CONTENT
Text Content
IT_KEY_AND_LANGUImportingTYPE
/BOBF/T_TXC_TXT_K
Node Key and Language Code
IT_TEXT_CONImportingTYPE
/BOBF/T_TXC_CON_K
TextContent
IT_TEXT_ROOTImportingTYPE
/BOBF/T_TXC_ROOT_K
TextCollectionRootNode
EO_MESSAGEExportingTYPE REF TO
/BOBF/IF_FRW_MESSAGE
Interface of Message Object
EV_FAILEDExportingTYPE
BOOLE_D
Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')



Exceptions of Method VALIDATE_TEXT

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /BOFU/IF_TEXT_COLLECTION_EXIT.
DATA: lv_EO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_EV_FAILED TYPE BOOLE_D,
lv_IS_CTX TYPE /BOBF/S_FRW_CTX_VAL,
lv_IS_KEY TYPE /BOBF/S_FRW_KEY,
lv_IV_LANG TYPE SPRAS,
lv_IV_TEXT TYPE /BOBF/TEXT_CONTENT,
lv_IT_KEY_AND_LANGU TYPE /BOBF/T_TXC_TXT_K,
lv_IT_TEXT_CON TYPE /BOBF/T_TXC_CON_K,
lv_IT_TEXT_ROOT TYPE /BOBF/T_TXC_ROOT_K,
lv_other TYPE c.

CALL METHOD lo_class=>VALIDATE_TEXT(
EXPORTING
IS_CTX = lv_IS_CTX
IS_KEY = lv_IS_KEY
IV_LANG = lv_IV_LANG
IV_TEXT = lv_IV_TEXT
IT_KEY_AND_LANGU = lv_IT_KEY_AND_LANGU
IT_TEXT_CON = lv_IT_TEXT_CON
IT_TEXT_ROOT = lv_IT_TEXT_ROOT
IMPORTING
EO_MESSAGE = lv_EO_MESSAGE
EV_FAILED = lv_EV_FAILED ).

Links to Related Class(s)

/BOFU/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!