Skip to Content
avatar image
Former Member

Dynamic Creation of columns in tables used in Smartform

hi,

I have a requirement like, dynamically the columns should increase in the table used in the output of a smartform print.

Please give a solution.

Regards,

Sujith

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Nov 20, 2006 at 08:42 AM

    try using field symbols

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 20, 2006 at 08:44 AM

    Hi,

    To my knowledge we can get this functionality using multiple windows only as the table and its borders must be defined with the fixed columns.

    Means activaking the window or calling the a new window according to the reauired condition so that an extra column can be provided bu this can be done only up to the limit of the defind page width.

    Thanks.

    If this solves your purpose then please allocate points o my Id.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 20, 2006 at 11:32 AM

    Dynamic creation of columns is not possible in smart form as you work with a specified width (on which you take the print out).

    What exactly is your requirement, may be there is a work around?

    Regards,

    Ravi

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      hi,

      Data is being fetched into an internal table.

      Consider for example,

      An internal table itab containing the following fields : name, date, in,out

      This is a small example,

      My output should look like

      -


      Name 01.01.2006 02.02.2006

      IN OUT IN OUT

      -


      So here the dates should increase dynamically and get printed in the smartform output.

      Please revert if u get the solution.

      Regards,

      Sujith