SAP STRING FUNCTIONS VAL



Get Example source ABAP code based on a different SAP table
  


• val ABAP_FUNCTION_PARA

ABAP_STRINGFUNC - val

ABAP_SYNTAX
... ( ... val = text ... ) ...

What does it do?
The operand text passes the text string to be processed by the function to the named argument val. text is an extended character-like expression position. Functional method calls, table expressions, and constructor expressions whose return value is convertible to the type string can also be specified. Only elementary data types can be processed.
If a character-like data object with a fixed length is specified, any trailing blanks are ignored. Non-character-like return values are converted to the data type string.



Latest notes:

The conversion operator CONV can be applied to process those non-elementary data types that can be converted to an elementary character-like data type, such as structures with character-like-only flat components.
Explicit specification of val = can also be optional.
NON_V5_HINTS
ABAP_HINT_END

ABAP_EXAMPLE_VX5
The following two function calls are equivalent, since the specification of val = in to_upper is optional.
ABEXA 01302
ABAP_EXAMPLE_END