cancel
Showing results for 
Search instead for 
Did you mean: 

Internal Table values not displayed

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

So how you have declared the internal table, how you assigned it to the table and what work area you use to print the values in the text element?

Regards

Karthik D

Former Member
0 Kudos

Hi,

Please specify the Row value from 0 to 99999 under the LOOP command.

Hope this may work.

Regards,

Prashant

Former Member
0 Kudos

In Form Interface i have passed following

IT_COMM	LIKE	ZCOMMISSION

In Global Data i have passed following

WA_COMM	TYPE	ZCOMMISSION

where ZCOMMPRINT is a structure i have created..... i have kept the same in both driver and smartform

Former Member
0 Kudos

Hi

Please provide information on Line type you are using in Table.

Also provide info on cell display.

Regards

Vijai

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

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

Regards,

Prashant