cancel
Showing results for 
Search instead for 
Did you mean: 

layoutvariable_set

Former Member
0 Kudos

hello

can anyone explain why tihs layoutvariable_set is required in macros ?

we initialize the variable with some value but later then how do we use this variable is my question.

thank you for your time.

regards

KK

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

LAYOUTVARIABLE_SET() assigns the numeric value or the alphanumeric character string 'value' to the variable. If you want to assign an alphanumeric character string, you set the argument in single inverted commas, that is, 'value'. If you want to assign a numeric value, you use the argument without single inverted commas. You can access this variable with the functions LAYOUTVAR_VALUE () and LAYOUTVARIABLE () in other macros of the same planning book. The content of the variables is deleted when new data is loaded into interactive planning. The declaration of the type of variables (numeric or alphanumeric) takes place automatically when setting the variables with LAYOUTVARIABLE_SET ().

Please find the more information below

http://help.sap.com/saphelp_scm50/helpdata/en/1d/310eadd0ee11d4b2e40050da385632/content.htm

Please let us know , if it helps you are you have any more doubts

Thanks

Amol