Skip to Content
avatar image
Former Member

Internal Table values not displayed

Dear Experts,

I am facing the following problem. I have passed an Internal Table in LOOP command under TABLE ==> Main Header. But the problem is there are 6 columns in my Internal Table which i am passing in LOOP. I have created 6 lines also in MAIN HEADER. But in the output only values of my first column are coming. Others are not getting displayed. I checked in the Driver Program and i am clearing my Work Area there...

Can any one help me on why this problem is coming???

Regards,

Jitesh M Nair

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • avatar image
    Former Member
    Jun 22, 2009 at 04:21 AM

    Hi,

    Please check whether you have included all the 6 cells in the loop command.

    Regards,

    Prashant

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 22, 2009 at 04:24 AM

    yes i have defined six TEXT fields and passed the individual column values in those TEXTS fields.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      hi,

      first create a table type for ZCOMMISSION.

      Then in smartform Interface ( Import Parameters ) declaration

      it_comm type table of <table_type for ZCOMMISSION >.

      in Global definitions create a work area for the internal table say

      fs_comm type <Table Type Name>.

      NOW under main window u have created a table -> right click and create a loop.

      in the driver program u have to pass the internal table of type <table type>

      try this ...

      best of luck...

      Thanks

      Ravi

  • avatar image
    Former Member
    Jun 22, 2009 at 04:28 AM

    Hi,

    First check, that u r getting all the values in your internal table in your driver program,

    then in the form when u loop the table in the Main Window header Cell TEXT select the symbol from the text editor ( + Symbol ) do not write the field manualy bco'z sometimes it doesn't pick the value from the table.

    give value as &workarea-fieldname& in every 6 cells that u had provided.

    Loop at <internal_table> into <wa>

    cell1

    cell2

    cell3

    cell4

    cell5

    cell6

    endloop

    hope u got the idea.

    best of luck!!

    Thanks

    Ravi Aswani

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Yaar... I have already done as u have said... And in Debugging in my driver program all the six columns and their values are coming.... But why it is not getting in my smartform i a big suspense... I am not sure what i am missing....

      Regards,

      Jitesh

  • avatar image
    Former Member
    Jun 22, 2009 at 11:26 AM

    Hi ,

    Plese check whether you are passing internal table loop inside Main window - > Table ->Header or

    Main window -> Table -> Main Area.

    Main window - > Table ->Header will display data only once as a header data, whereas Main window -> Table -> Main Area displayes values which we are passing in the internal table.

    Regards,

    Vanisree G

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 23, 2009 at 11:00 AM

    Hi,

    Check in ur Driver Program bfore clearing the work area whether u r appending ur work area to internal table.Dat internal table should be passed in smart form Table.

    Plz check....!!!

    Regards,

    Farooq.

    Add comment
    10|10000 characters needed characters exceeded