cancel
Showing results for 
Search instead for 
Did you mean: 

not able to display the records from the internal table.

Former Member
0 Kudos

Hi all,

My problem is i am not able to display all the records from the internal table in the output.

Suppose i have got 5 records in the internal table, i am able to print only the last record. How to print all the records?

its urgent......Plz reply.

Thanks & Regards,

Purva.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member195383
Active Contributor
0 Kudos

Check wheather or not u r looping ur internal table into a worarea,in the data tab of the table.Suppose u hav an internal table it_tab to print.

Then in the table-->Data use

Loop it_tab into wa_tab.

then use wa_tab for displaying values.

Regards

Rudra

Former Member
0 Kudos

Hi,

I tried it.

but still d records r not printed.

it stores 0000000 in wa_itab.

former_member195383
Active Contributor
0 Kudos

U are passing the internal table from the printprogram ..right.

So before calling the smartform,just chk by debugging wheather ur internal table contains records or not.

Otherwise pls state ur problem with a bit more explanation

Regards

Rudra

Former Member
0 Kudos

R u using main window to print the data.

Regards,

Nageswar

Former Member
0 Kudos

Hi all,

I have got an internal table ITAB in which i m printin all the other values.

I am looping this ITAB to print all the values.

I have got another internal table ITAB3 in which i m printing other data. But for this particular interal table, i m looping it under the main ITAB loop and under the same text element.

M i doing a mistake by doin so?????

wen i follow dis procedure den only the last entry from the internal table ITAB3 gets displayed.

But in d program i get all the entries.

Plz provide me vit a solution of dis.

Its urgent.

Thanks & Regards,

Purva.

Former Member
0 Kudos

hi,

Edited by: abhinay chelamcherla on Jan 28, 2008 6:07 AM

Former Member
0 Kudos

Hi Purva,

Just explain your requirement , the solution would be easier to explain