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

For Refreshing a table display in ALV when data is chngd in maintainance vi

Hi All,

I am displaying the fields of a Ztable in a ALV report. A maintainance view call button is attached to that report through which data of Ztable can be changed.Prolem is that when after changing the data when I return back to report, changes are not reflected.

Kindly suggest to solve this problem.

I am using ALV display through class.

I have already used these functions in the else condition of IF GO_CUSTOM_CONTAINER IS INITIAL.

CALL METHOD go_grid->refresh_table_display.

CALL METHOD cl_gui_cfw=>flush.

For maintainance view I am using the function as

VIEW_MAINTENANCE_CALL on double clicking the maintain button.

Kindly suggest.

Ashutosh Kumar

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 07, 2005 at 04:46 PM

    Ashutosh,

    Just calling the REFRESH method will not work. You need to re-fetch the data into the same internal table which you using the displaying the data in the grid.

    Probably you can write this data fetching as a subroutine and call this as soon as come back from the Maintenance screen. And updating the internal table, call the REFRESH method.

    This should work.

    Regards,

    Ravi

    Note : Please reward points if this helps.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 07, 2005 at 05:02 PM

    If you're using your ALV table only to display your Z-table, you can achieve a similar but more integrated result by allowing editing inside your ALV.

    Nevertheless, it requires a bit of effort, I don't deny it...

    Cheers,

    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.