Skip to Content

Creating a table in smartform

Hi All,

Can any provide me some idea how to define a table in the smartform and my requirement is i have two windows just after the table ,if my table entry exceeds the table contents and two windows shoule move to the second page.

Do i need to define another page for this??

Thanks in advance.

Edited by: Radhu Shankar G on Mar 20, 2009 9:23 AM

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Mar 20, 2009 at 04:58 AM

    Hi Shankar,

    Create the table within the main window after main window create the windows as per your requirement

    in the conditions check the check box Only after the end of main window these two windows will be displayed after the main window.

    Regards,

    Sravanthi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 20, 2009 at 05:16 AM

    Hi:

    There are table (expendable having fixed colum only) and table template (non-expendable having fixed row and colum).

    So use table instead of template which would expend depending on the data and would jump in the new page automatically.

    Regards

    Shashi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 20, 2009 at 06:02 AM

    Hi,

    No need to create another Page, the table is Dynamic one If the no of entries increases it automatically goes to next page But Specify the Pages Attributes as the Next page as the name of the first page itself

    Regards,

    Vijaya Lakshmi.T

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 20, 2009 at 07:02 AM

    Hi Shankar,

    Refer these lines given in the below link,

    main window triggers an automatic page break as soon as the main window is full, that is as soon as in the main window no space is left for printing outout.

    [Main window|http://help.sap.com/saphelp_nw70/helpdata/en/b1/243fdabeee11d4b633006094192fe3/content.htm]

    Regards,

    Sravanthi

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi All,

      Thanks for your answers i am facing a problem in getting the item details. only header details or populating in the table details.

      In the global interfce i have mentioned a table like this

      inv_inv type table of ty_inv

      wa_inv type ty_inv.

      I am having all the values in the inv_inv.

      In the table deficnition i have made it like this under the table definition data tab in the loop i have made it like this loop at inv_inv into wa_inv.

      and in the field list i have made it like this &wa_inv-matnr& and so on..

      None of hte item details are populating..any clues plz

      Thanks

  • author's profile photo Former Member
    Former Member
    Posted on Mar 20, 2009 at 03:58 AM

    HI,

    Refer to this link..[Creating a table in smartform|https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/learnmakingFirstSmartformStepbyStep]

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Radhu Shankar Gowri Shankar

      Hi,

      If u have multiple line Items u have to declare the internal table name in that loop condition. No need to declare separately.

      U can get by declaring the condition in the option where condition field name in the internal table suppose vbeln = it_header-vbeln (it_body is ur inetrnal table which u have looped)

      Regards,

      Vijaya Lakshmi.T

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.