10-30-2007 5:42 PM
Hello experts !!
Plz tell me how to create table control without wizard.
for sflight table.
Scenario 1
-
I have one screen like 1000.
There i have taken carrid, connid, fldate as criteria.
Now i want to display Planetype, Price, Seatsmax in the table control.
Scenario 2
-
i have two screens 1001, 1002.
in the screen 1001 i have taken carrid, connid, fldate as criteria and there is a Button.
when i will click the button it will show the price, planetype and seatsmax in the table control in the next screen, i.e 1002
plz help me out...
and how to save new record in the dictionary table from that table control....
10-30-2007 5:52 PM
Hi
see the sample programs and design accordingly
syntax:
CONTROLS .
if you only want to determine the row of the table control. SY´-SUBRC allows you to check if the cursor is placed in a row of a table control.
u need to comment the performs of table control fields and write ur own perform statements. And u have to declare the table control fields as separate internal tables.
Go through this urls.
Check the below links.
just refer to the link below
http://www.sapmaterial.com/tablecontrol_sap.html
step by step procedure with screen shots
http://www.planetsap.com/howdo_a.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbac5135c111d1829f0000e829fbfe/content.htm
http://sap.niraj.tripod.com/id25.html
Also you can see the below examples...
Go to se38 and give demodynpro and press F4.
YOu will get a list of demo module pool programs.
One more T-Code is ABAPDOCU.
YOu can find more examples there.
See the prgrams:
DEMO_DYNPRO_TABLE_CONTROL_1 Table Control with LOOP Statement
DEMO_DYNPRO_TABLE_CONTROL_2 Table Control with LOOP AT ITAB
http://www.geocities.com/ZSAPcHAT
http://www.allsaplinks.com/files/using_table_in_screen.pdf
Regards
Anji