Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The GET_TEXT method has the following parameters:

...

  • IV_TABLE
    Is the relevant DDIC Table or Structure name.

  • IV_FIELD
    Is the relevant field in the table for which we are retrieving text.

  • IV_DATA_ELEMENT
    Is the data type/data element as defined for the field in DDIC

  • IV_LANUAGE
    Is the desired language of the text that should be retrieved/when text descriptions in multiple languages are available.

  • IR_STRUCTURE_DATA
    Corresponds to the IV_TABLE parameter. If it is provided to the GET_TEXT method, then it is a structure containing the IV_FIELD field, and other fields. It is used in cases when multiple key fields comprise a foreign key that required to read another table for the text description.

  • RV_TEXT
    This is the result field of the GET_TEXT method, and should be filled with text that corresponds to the value passed in IV_VALUE parameter.

An example implementation of a Text Class is the class /PCH/CL_OBJ_VALUETEXT_FLAG. The method GET_TEXT of the class returns a simple Yes/No when passed a customary ABAP bool value.

...