Skip to Content
avatar image
Former Member

Smartform table

Hi all,

i have designed samrt form having one table,is having header ,one row.

now i want to increase the rows dynamically based on no of line items and at the same at the end of this record or at new record ,needs to print hte table.

table design :

Header:

values 1:

header:

values1

values2:

Header:

values1:

values2:

values3:

..

..

values6:

like this i want to print.Pls help me out in this.

Regards,

Kranthi.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Mar 10, 2010 at 11:15 PM

    smartforms are called Smart, but they are not that smart!

    if the line types of header and value rows are different.. its not possible to acheive it..

    if the both are of same line type.. u might have to bold the header or increase the height of the characters and give an impression of the header...

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 13, 2010 at 10:24 AM

    Hi,

    In the main area take two lines types one for header and other for item

    Print the header by condition only if one lineitem is completed by flag.

    Regards,

    Prakash.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 13, 2010 at 11:27 AM

    Hi

    Drag those lines to main area from header which u want to print with dynamic values repeatedly

    Regards

    Ammad

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 16, 2010 at 01:11 PM

    Hi ,

    Suppose assume the example

    it_tab having the following data

    No Name Desig

    1 abd x

    2 abc y

    2 abd z

    3 cde w

    your o/p will be like this

    No Name Desig

    1 abd x

    No Name Desig

    2 abc y

    2 abd z

    No Name Desig

    3 cde w

    for that u have to copy the it_tab into it_temp

    delete the duplicates of NO in the it_temp table

    Ex: it_temp having

    No Name Desig

    1 abd x

    2 abc y

    3 cde w

    in designing

    create the LOOP node for the table it_temp

    Inside the Loop Node create the table it_tab and put the condition as wa_tab-no eq wa_temp-no

    print the wa_tab-no wa_tab-name wa_tab-desig

    Hope you resolve your issue

    Let me know if any concerns...............

    Add comment
    10|10000 characters needed characters exceeded