on 06-22-2009 5:13 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes i have defined six TEXT fields and passed the individual column values in those TEXTS fields.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
Hi,
Please check whether you have included all the 6 cells in the loop command.
Regards,
Prashant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.