Skip to Content
author's profile photo Former Member
Former Member

Doubt in smartforms

Hi everyone,

I got a problem when using my smartforms.

I have 2 rows in 1 internal table of my report.

According to a value in one row i have to display the item data in main window.

I have these rows in smartforms also.

But when the control goes to smartform and when i am looping the internal table into workarea.

I am getting only the second row and not the first row in work area.

so the item data is displayed only for the second row.

Please help me in this case.

Thanks in Advance,

Mohanraj

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 11:43 AM

    That's wierd.. hm... try to debug it first, is it true that the table has 2 rows of data before calling the smartforms.

    Then, make sure when looping the table in the smartforms, there is no WHERE condition.

    Also check for the next page, just in case it's printed on the second page..

    Hope this'll help..

    Sam.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 11:51 AM

    Hi!

    If you are using a LOOP in you printer program, and you are calling the smartform within the LOOP, then it will create 2 different pages for both entries.

    I think you have to use your table within the smartform. Try creating a table, within the MAIN window. In the data tab, enter your internal table name.

    Regards

    Tamá

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 11:59 AM

    hi,

    Check the table entries in the driver program in debugging mode. If ok check whether you are importing the same table in the form interface.

    Thanks,

    Kasiraman R

    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.