Skip to Content
0
Nov 13, 2006 at 12:02 PM

dynamically attach include texsts

14 Views

I have a sapscript form in SE72 where I use the INCLUDE option for textobjects.

now I want to use the same form more dynamically so I have made a custom table where I register which text objects I want to use according to which ordertypes.

in my ABAP i put the name of the textobject in a field h_headertext.

If I try to use it in my form it is not working ?

when I do

INCLUDE 'Z_6300_KOSTENRAMING_DISCLAIMER' OBJECT TEXT ID ST

it is working but when I use

INCLUDE &h_headertext& OBJECT TEXT ID ST

it is not working ?

is there someting else I must do to make it work ? I searched and found something about RSTXTRAN but I cant figure out if that is meant for this purpose ?