09-04-2008 11:27 AM
Hi,
I am working on dialog programming and am using a TABLE control for data entry.
How do I transport records from database table to screen and insert / update / delete records from the screen table which should get reflected in database table.
Kindly help.
09-04-2008 11:33 AM
Hi Kumar,
Check these :
[SAP ABAP Table Control explained in detail|http://sap.niraj.tripod.com/id29.html]
[Table control Screen Creation|http://sap.niraj.tripod.com/id31.html]
Regards,
Swapna.
09-04-2008 11:35 AM
hi,
check these sample program.
DEMO_DYNPRO_TABCONT_LOOP
DEMO_DYNPRO_TABCONT_LOOP_AT.
09-04-2008 11:37 AM
Hi,
fill an internal table with the data you want to manage from the standard table.
Create the table control referred to the internal table filled with insert and delete button.
Every change has done on the table control, change your internal table.
After you finish changing the data, link the SAVE button with MODIFY standard_table FROM TABLE internal_table and you'll pass the chages to your DB table.
Be carefull when deleting....you have to save the data deleted in an internal table of deletion or you won't delete the corresponding raws.
Regards
Edited by: anna pozzi on Sep 4, 2008 12:37 PM
09-04-2008 11:39 AM
Hi,
Goto Tcode 'abapdocu', expand the tree for abapuserdialogs and screen and complex screen elements then you can find the list of programs that are used for the module pool table control.
09-05-2008 8:50 AM