‎2008 Feb 08 10:46 AM
i created two table controls via. table control wizard using dictionary fields in a subscreen under a tabsrip control.. but values entered disappears..
plz help me to overcome this problem
‎2008 Feb 16 11:58 AM
Hi,
Please write loop on table control in PBO,
and use Chain operator in PAI...to capture the same.
Cheers,
Chaitanya.
‎2008 Feb 08 11:34 AM
check the screen attributes of the fields on the screen
whether output , active and visible are checked or not
‎2008 Feb 08 11:44 AM
‎2008 Feb 12 6:07 AM
Hi,
In the PAI you have to move the table control values to the internal table and also in the PBO you have to move the data from the internal table to the table control structure. Please don't write any database select statements inside the subscreen.
Do the database selection only at one place in the main window and then do all the changes to the internal table only and at last save the internal table data to the database.
Eg:
...............................................PBO.............................................
LOOP AT internal_table
INTO internal_table_workarea
CURSOR table_control-current_line
WITH CONTROL table_control.
MODULE move_to_tablecontrol.
ENDLOOP.
MODULE move_to_tablecontrol......................................................
MOVE workarea TO tablecontrol structure.
END MODULE.............................................................................
.......................................PAI...............................................
LOOP AT internal_table.
MODULE move_from_tablecontrol.
ENDLOOP.
MODULE move_from_tablecontrol..........................................................
MOVE tablecontrol_structure TO work_area.
MODIFY internal_table
INDEX table_control-current_line
FROM workarea.
END MODULE..............................................................................................
Regards,
Harish.
‎2008 Feb 16 11:58 AM
Hi,
Please write loop on table control in PBO,
and use Chain operator in PAI...to capture the same.
Cheers,
Chaitanya.