cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to read the current value of a TEXT variable via a FOX formula function?

former_member334395
Discoverer
0 Kudos

Hi all, is it possible to read the current value of a BEX variable of type TEXT via a FOX function?

When I use VARV keyword for reading my variable VAR_TEXT, the compilation brings me this error :

Variable VAR_TEXT is not valid; the type is not suitable

The FOX code is below:

DATA TEMPTEXT TYPE STRING.

TEMPTEXT = VARV ( VAR_TEXT ).

Thanks in advance and best regards

JB

Accepted Solutions (0)

Answers (2)

Answers (2)

Hi,

you got message RSPLF135 that tells you that in fact variables of type text are not supported in VARV.

Regards,

Gregor

former_member334395
Discoverer
0 Kudos

It's possible to get TEXT value by calling a variable with VARV in FOX.

But you can by using a variable that is an InfoObject of type TEXT that is not master data.

Regards.