‎2006 Jan 04 4:17 AM
Hi,
Is it possible to pass the value of length to ULINE in SAP script thru some variable,because my len varies dynamically.
I tried the following options but it's not working,
&ULINE(&LEN&)&
&ULINE(LEN)&
Regards
Raghavendra
‎2006 Jan 04 4:33 AM
Hi raghavendra,
1. This kind of ULINE won't work.
It needs a hard coded value.
2. The other options is that
suppose u have 5 different possibilities
of length .
3. Then u create 5 different text elements
and write uline hardcoded for each of them.
4. then call this text element as per logic.
-
Other option
5. Just create one text elementt
with some variables &ABC&
6. Now fill this vriable in program
with different length of underscore '_'
(using some abap syntax or own logic
of PERFORM)
and after filling it, call the text element.
I hope it helps.
regards,
amit m.