Start of Content Area

Object documentation Class CL_BSP_GET_TEXT_BY_ALIAS  Locate the document in its SAP Library structure

Overview

Class CL_BSP_GET_TEXT_BY_ALIAS provides a method to fetch OTR alias texts.

Inheritance Hierarchy/Interface Composition

Implemented Interface

-

Superclass

-

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 ’<Paket>/<Aliasname>’

ALIAS_TEXT

Text of the alias

Cross References

See also:

Internationalization and Translation

Method GET_OTR_TEXT of IF_BSP_RUNTIME

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.

 

 

End of Content Area