cancel
Showing results for 
Search instead for 
Did you mean: 

INFO ABOUT 'TEXT_SYMBOL_SETVALUE'

Former Member
0 Kudos

hi sir,

what the purpose of this 'TEXT_SYMBOL_SETVALUE' fun module and at whar time we have to use. in some prog's it is using and in some prgs not using.

plz help when to use this function module.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Use the function module TEXT_SYMBOL_SETVALUE

to assign a value to a SAPscript symbol

. However, you can change only the values of text symbols.

System symbols, standard symbols, and program symbols cannot receive new values.

The system keeps the new value until you initialize the symbol administration tables in SAPscript. To do this, you can use, for example, OPEN_FORM or TEXT_SYMBOL_REPLACE with the parameter INIT = ´X´.

Function module documentation.



b]SAPscript: Set value of a symbol

A SAPscript symbol can be assigned a value with the function TEXT_SYMBOL_SETVALUE. You can only change the values of text symbols. System symbols, standard symbols, and program symbols cannot be assigned new values.

The new value of the text symbol must be a character string of up to 80 characters length. Numeric data types (PACKED, INTEGER, FLOAT) are not allowed.

The value assignment remains until the SAPscript symbol administration table is initialized (for example, with OPEN_FORM or with the function module TEXT_SYMBOL_REPLACE and input parameter INIT = 'X').

Also check the below link.

http://help.sap.com/saphelp_nw04/helpdata/en/d6/0db9d9494511d182b70000e829fbfe/content.htm

Regards,

Maha