Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Update table control after saving

Former Member
0 Likes
577

Hi experts,

How can I update the content of a table control on a SCREEN after I click on a pushbutton.

Edited by: mrwhite on Dec 23, 2008 9:35 AM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
557
3 REPLIES 3
Read only

Former Member
0 Likes
558
Read only

Former Member
0 Likes
557

Hi

In PAI.

Loop at itab.

module modify_tc.

endloop.

in program

module modify_tc.

describe table itab lines tc-lines.

if tc-current_line > tc-lines.

append itab.

else.

modify itab index tc-current_line.

endmodule.

Best Regards

Ramchander Rao.K

Read only

Former Member
0 Likes
557

hi,

in PBO

loop at itab with control tctrl.

module assign.

endloop.

module assign.

move-corresponding itab to <DB TABLENAME>

endmodule.

in PAI

loop at itab.

module modify.

endloop.

module modify.

case sy-ucomm.

when 'MODIFY'.

modify itab from <DB TABLENAME> index tctrl-current_line.

endcase.

endmodule.