Hi:
When you say "call function", I assume you mean your macro variable reference &Perc????
The reason it does not resolve is that you have your string in SINGLE quotes and macro variable references will not resolve in single quotes.
Try "flipping" the quotes:
[pre]
ods pdf text="^S={just=left borderwidth=1pt font=('times new roman',12pt,Bold)} Total Pay: € &Perc";
[/pre]
and you should get resolution of &Perc (if it has been set with either a %LET or a CALL SYMPUT or some other technique).
cynthia