‎2006 Jun 12 11:53 AM
Hi All,
I have designed a table control on a z-screen. I have a z-table which is corresponding to the table control . I need to populate the values from the z-table to the table control . Plz give me the sequence of logic or steps of how to do it .
Thanks in Advance,
Paul.
‎2006 Jun 12 11:56 AM
Here is the step by step guide as required to you
<a href="http://www.sappoint.com/abap/dptc1.pdf">http://www.sappoint.com/abap/dptc1.pdf</a>
Regds
Manohar
‎2006 Jun 12 11:57 AM
<b>complete refrence step by step just go through it...</b>
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/abap-code-sam... control in abap.pdf
and also...
This is quite simple.
Go thru the transaction ABAPDOCU.
There are lots of examples available for almost all the topics.
The demo transaction BIBS contains examples for all module pool programs.
After entering transaction BIBS, go to menu path and you choose diffrent types of table control examples.
YOu need to write code in the PBO, if you want to display the details when screen is displayed.
‎2006 Jun 12 11:58 AM
declare one internal table with the fields that u want them to be displayed in table table control.
give the same names in table control , eg itab-fld1 ...
then u can write ur select statement in PBO of that screen
select fld1 fld2 .. from ztable into itab where ...
this will populate ur table control
‎2006 Jun 12 12:06 PM
Hi,
Check these Demo programs.
DEMO_DYNPRO_TABLE_CONTROL_1
DEMO_DYNPRO_TABLE_CONTROL_2
DEMO_DYNPRO_TABCONT_LOOP
DEMO_DYNPRO_TABCONT_LOOP_AT
RSDEMO_TABLE_CONTROLRegards
vijay
‎2006 Jun 12 12:28 PM
Hi paul,
in the pbo module.
Declaration
data : zintab type standard table of ztable,
wa_intab type ztable.
1>MODULE fetch_data.
in the above module get the data from the ztable and fill the values into an internal table say zintab.
2>LOOP AT zintab
INTO wa_zintab
WITH CONTROL table control name
CURSOR table control name-current_line.
ENDLOOP.
Hoping this gives some idea.
Regards,
Nagaraj
‎2006 Jun 13 5:21 AM
Hi,
Check the foll links.
http://help.sap.com/saphelp_47x200/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/frameset.htm
http://www.sapgenie.com/abap/controls/toolbar.htm
http://www.sapdevelopment.co.uk/dialog/tabcontrol/tchome.htm
Please reward for the same.