‎2008 Jul 29 1:01 PM
hi,
this is regarding line items in sap smartforms
when i am executing single line item i am getting out put
when i am executing with 2 line items i am getting error like bellow
You tried to switch to the next table column, but no other column exists. The current column is 9. The line type IT_GEN contains only 9 columns.
plz explain clearly
‎2008 Jul 29 1:07 PM
Hi,
Can you tell me whether u r using Template or table control? Because in a template u can specify the fields that are required to print in columns. However you will have to know before hand how many columns and rows of data might be populating.
If you can know the table rows only at the runtime, its better to use the TABLE statement.
Thanks,
Susanth.
‎2008 Jul 29 1:07 PM
Hi,
Can you tell me whether u r using Template or table control? Because in a template u can specify the fields that are required to print in columns. However you will have to know before hand how many columns and rows of data might be populating.
If you can know the table rows only at the runtime, its better to use the TABLE statement.
Thanks,
Susanth.
‎2008 Jul 29 1:38 PM
‎2008 Jul 29 1:08 PM
hi
use the table concept. In smartform layout pass the internal table. so it will display item stored in internal table.
With Regards
Nikunj Shah
‎2008 Jul 29 1:19 PM
Hi,
if you are using template and the line type is for 1 to 2 lines in the template... make sure that column position you mention is equal to the number of cells in the line type... if the data is displayed in the second row the row position should start from 2 and and column position should lie between 1 and 9.
Just a suggestion ... its better to go with table node instead of going with template...
regards
padma
‎2008 Sep 22 2:55 PM
‎2008 Jul 29 1:40 PM
Hi,
Make sure that your line type of table node consists of same number of cells as that of the fields in the internal table
regards
padma