Skip to Content
author's profile photo Former Member
Former Member

Update table control after saving

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 23, 2008 at 09:14 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 23, 2008 at 09:16 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 23, 2008 at 09:21 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.