08-13-2007 5:52 AM
hi,
I am using table control by passing the internal table name in the table control wizard. wizard create some insertion, deletion, page nevigation buttons with default code but that buttons are not functioning properly, when i press any of the button it will erase the content of the table control.
please suggest the solution .....
thanks in advance ...
anand sugandhi
08-13-2007 6:00 AM
Hi,
Looks like the problem is with your PAI of the screen.
Make sure in the PAI of the screen where you have this
LOOP AT ITAB. " For the Internal table of the table control
here you should have code to push your table control data back to internal table
I think here the table contents are getting erased and your PBO module is displaying empty table
ENDLOOP.
Regards,
Sesh
08-13-2007 6:54 AM
hi Sesh,
i think u got the problem but i don't know how to push the table control data into the internal table and where i add my code inside the standard table control generated code.
please suggest me and if possible send me an example.
thanks
Anand Sugandhi
08-13-2007 8:36 AM
Hi,
When you use the Wizard this should generate the code to Update the Internal table from the Data in the Table control.
So Check the procedure carefully how you are using the Wizard to create.
Make sure you are giving Input control Checkbox when you created the table control using the Wizard.
Regards,
Sesh
08-13-2007 10:03 AM
hi Sesh,
yeah, i am getting you but the problem is that in that standard code there is no module which store the table control data in the internal table. i think we have to include that but where if i include it in the loop statement of PAI then insert button is working but delete is not working properly.
please suggest me and if possible send me some example.
anand sugandhi