Show TOC Start of Content Area

Background documentation Implementation of New Text Variables  Locate the document in its SAP Library structure

If you require customer text variables, you must make an entry in the Maintenance View for Text Variables (V_LSOCRPTEXTVAR). In addition to a unique name, the read class is of central importance since this is used to read the text variables. Read classes must be realized as global ABAP classes which implement the interface IF_LSO_CRP_RENDER_READER in full.

The static method IF_LSO_CRP_RENDER_READER~GET_INSTANCE handles the generation of instances. Instances are not generated for each text variable. Independent of the number of text variables, the framework generates exactly one instance.

The instance method IF_LSO_CRP_RENDER_READER~READ_VALUE is called to fill a text variable. The read class contains the name of the text variables and a data reference to the text variable that is to be filled.

 

End of Content Area