Skip to Content

Smartform Problem

Hi all,

In a smartform..there is TABLES Statment

In that there is a cell which contains the text &SY-INDEX&.

and hence the value is getting printed to the extreme left.

If i write a code exactly above where it is getting printed as



Then for some reason SY-INDEX has 0 and hence 0 is getting printed.

IF I directly pass SY-INDEX,then 1 is getting printed.

What can I do?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Apr 09, 2008 at 07:02 AM

    I used SY-TABIX insted of SY-INDEX.

    Problem Resolved.

    But one more thing..

    If i am passing &SY-INDEX(C)&,then i was not getting Print Preview.

    Can any one tell me why?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.