Skip to Content
0
Former Member
Sep 26, 2005 at 02:08 PM

put a variable inside another variable in sapscript form

30 Views

Hi,

I assume that the question is a little bit confusing, but what I want to do is very simple, suppose that I list an internal table (t_int) into a form. To show the fields I write things like this:

&t_int-kunnr&

and if I need to determine the width of the column, a way of doing this is:

&t_int-kunnr(10)&

but, what if I need a variable width that it is determined in the control program with a variable, suppose something like:

&t_int-kunnr(&width&)&

but this doesn't work, so my question is, how can I put a variable inside another variable in a sapscript form?

thanks in advance