05-06-2009 6:11 AM
Hi Experts,
I'm working on a table control. In that i have to add a new row and i should able to enter the data into that new row. Now i'm able to add the new row, but when i come back from the screen the new row is disappearing from the table. What should i do for this?
Please help me in this regard
Thanks
G.s.naidu
05-06-2009 6:15 AM
05-06-2009 6:19 AM
No I'm not refreshing the table.
This is my logic for the new row
data : temp1 type i.
*add 1 toTAB_CON-lines.
TEMP1 = TAB_CON-lines.
TAB_CON-lines = TEMP1 + 1.
TEMP1 = 0.
05-06-2009 6:42 AM
05-06-2009 7:02 AM
populate tab_con-lines from the internal table records
DESCRIBE TABLE IT_tAB LINES FIILL
tab_con-lines = fill
05-06-2009 6:18 AM
05-06-2009 6:58 AM
hi ,
have u createed TC by using Wizard ?
in PAI module, put like this.
module gt_item_modify on chain-request
coding for
module gt_item_modify.
modify gt_itab from gt_itab_wa
index gt_itab-current_line.
if sy-subrc ne 0.
append gt_itab_wa to gt_itab.
endif.
endmodule.
regards
Prabhu