SAP Function RS_VARIANT_TEXT - Returns text for a variant

Parameter Reference Type Length Default Optional Text
ALL_VARIANTS 0 SPACE X Texts for All Variants of the Report
CURR_REPORT RSVAR-REPORT C 40 Report Name
LANGU SYST-LANGU C 1 Language in which text is to be displayed
VARIANT RSVAR-VARIANT C 14 Variant name

Parameter Reference Type Length Text
V_TEXT VARIT-VTEXT C 30 Variant short text

Parameter Reference Length Optional Text
VARTEXT RSVARTXT 45 X

Exception Text
NO_TEXT No text found


DOCU_HAS_TO_BE_ELABORATED

Functionality
Returns the short text for a variant.
call function 'RS_VARIANT_TEXT'
exporting
curr_report = 'REPORT01'
langu = 'D'
variant = 'SAP_1'
importing
v_text = TEXT
exceptions
no_text = 01.
Returns the short text of the variant SAP_1 of the report REPORT01 inthe variable TEXT.