Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Script ULINE

Former Member
0 Kudos

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

1 REPLY 1

Former Member
0 Kudos

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.