Show TOC

Class CL_BSP_GET_TEXT_BY_ALIASLocate this document in the navigation structure

Use

Class CL_BSP_GET_TEXT_BY_ALIAS provides a method to fetch OTR alias texts.

Inheritance Hierarchy/Interface Composition

Implemented Interface

-

Super Class

-

Attributes

-

Methods

Method GET_TEXT

Signature

method GET_TEXT
    importing
      LANGUAGE
      ALIAS
    returning
      ALIAS_TEXT.

                           

Description

This method fetches an OTR alias text for a specified OTR alias name.

Parameters

LANGUAGE

Current language of SAP system

ALIAS

Name of alias in form '<Package>/<Aliasname>'

ALIAS_TEXT

Text of alias

Cross References

See also:

Example:

report OTRTEST.

  class CL_BSP_RUNTIME definition load.
  data TEXT type STRING.
  TEXT  = CL_BSP_RUNTIME=>GET_OTR_TEXT(
      ALIAS = 'sbsp_test/it00_otr_1' ).

  write / TEXT.