2007 Mar 19 7:44 AM
Hi,
In a module pool program I am having data in an internal table.
But I am not able to display the data when the <b>table control</b> is called.
Please any one give me code or explain clearly how to display data in the table control.
promise to reward points
mac
2007 Mar 19 7:45 AM
hi
in d layout editor u should click get data from table which will der on the right hand side of the layout...hope it will b helpful...please reward
vijay
Hi,
In a module pool program I am having data in an internal table.
But I am not able to display the data when the <b>table control</b> is called.
Please any one give me code or explain clearly how to display data in the table control.
promise to reward points
mac
2007 Mar 19 7:45 AM
hi
in d layout editor u should click get data from table which will der on the right hand side of the layout...hope it will b helpful...please reward
vijay
2007 Mar 19 7:46 AM
Hi,
In PBO: in the Loop, write a module and
Assign all the Internal table fields(which you fetch from database) to the Screen fields(which you kept on the screen) of that table control.
This will display the data.
Regards,
Anji
2007 Mar 19 7:51 AM
2007 Mar 19 7:50 AM
Refer these programs
RSDEMO_TABLE_CONTROL
DEMO_DYNPRO_TABLE_CONTROL_1
DEMO_DYNPRO_TABLE_CONTROL_2
RSDEMO02
Regards,
Santosh
2007 Mar 19 7:53 AM
Hi,
Plz go through the code-
PROCESS BEFORE OUTPUT.
MODULE populateUser.
LOOP AT itab
WITH CONTROL t300
CURSOR t300-current_line.
ENDLOOP.
PROCESS AFTER INPUT.
LOOP AT itab.
MODULE modify_internal_table.
ENDLOOP.
MODULE modify_internal_table INPUT.
MODIFY itab index t300-current_line.
ENDMODULE. "
MODULE populateUser output.
select * from mara into table itab.
ENDMODULE. " populateUser OUTPUT
This is basically the syntax we follow for the table control.
t300 is the name of the table control and itab is the internal
table. Also if u hv any doubt just create a table control with
wizard all the coding for table control will get displayed
automatically in ur prog.
Hope this helps.
Regds,
Seema
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |