cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a table in smartform

radhushankar
Participant
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (4)

Answers (4)

Former Member
0 Kudos

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

radhushankar
Participant
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

radhushankar
Participant
0 Kudos

Hi All,

Thanks for all ur replies.

Do i need to create a another page if the table entries exceeds ?

Thanks

Former Member
0 Kudos

HI,

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

radhushankar
Participant
0 Kudos

Hi Avinash,

Thanks for your reply.

I have a doubt like i able to c a loop option under data tab internal table . can i loop my table out here or do i need to incorporate a seperate loop after the main area to dispaly my internal table entries.

I have passes only the document number to my form. Inside the form on basis of the document number i have retrieved the entries and filled my internal table..

Any suggestions please..

Thanks in advance.

Former Member
0 Kudos

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