Application Development and Automation 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: 
Read only

SMARTFORM LINE NO.

balaji_viswanath
Participant
0 Likes
624

Hi,

Can I get system line no in Smartform similar to what we get in list reporting?

Advance thanks.

Regards,

Balaji Viswanath.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
557

Hello,

There is no system variable (46C) to track the Line Number in an SSF.

But you can always control the number of lines by designing an SSF based on Characters / lines and the data from your driver program. Also keep in mind to use the monospaced fonts ( viz Courier new, Fixedsys or Arial Monospaced ). By this you can track the number of lines in the output.

Hope this helps you.

Best Regards, Murugesh AS

Hi,

Can I get system line no in Smartform similar to what we get in list reporting?

Advance thanks.

Regards,

Balaji Viswanath.

3 REPLIES 3
Read only

FredericGirod
Active Contributor
0 Likes
557

Hello,

I create a code line just before text with :

  • Line number

move sy-tabix to wv_tabix.

and I print value of wv_tabix.

Regards

Frédéric

Read only

0 Likes
557

Hi Frédéric Girod,

Sy-tabix will work only with internal tables right?

Regards,

Balaji Viswanath.

Read only

Former Member
0 Likes
558

Hello,

There is no system variable (46C) to track the Line Number in an SSF.

But you can always control the number of lines by designing an SSF based on Characters / lines and the data from your driver program. Also keep in mind to use the monospaced fonts ( viz Courier new, Fixedsys or Arial Monospaced ). By this you can track the number of lines in the output.

Hope this helps you.

Best Regards, Murugesh AS