Skip to Content
avatar image
Former Member

Need to display remaining row ( or multiple rows ) after first processig of ALV.

Following is the logic that need to be implemented.

In ALV there are 10 rows, first column is checkbox, user selected any 3 records And click the button for further processing . User command is triggered , then the messages are displayed as failure or success after processing of selected rows. Now ALV should get refresh and should display remaining 7 rows again for selection and process . I am using SALV classes for ALV display (Cl_SALV class).

Add comment
10|10000 characters needed characters exceeded

  • Wrong primary and secondary tag - I removed them

    SAP Forum and SAP Select are SAP events, like TechEd is a SAP Event, using this tag people can talk about this event. Your question is not related to this event.

    Please use tags that reflects your working area. Kindly post with the most relevant primary tag to get the attention of the right experts who can help. Posting with wrong tags adds just garbage to the activity stream of the people who follow this tag. Without the proper tag, the right people will not see your question and those that do see are not likely be able to provide a solution.

    You can find the list of primary tags here:

  • Get RSS Feed

1 Answer

  • Mar 26, 2017 at 03:49 AM

    Hi Bhupesh,

    I think, you have many options for handle ALV processing. It depends that what do you need to do with rows processed. Maby, you can lock(display check column processed rows locked) or hide rows processed. If you prefer hide rows processed and those rows not are important, you can delete those rows processed of your table or add new field where you can handle a status field, for rows processed, you can checked rows too and before do REFRESH ALV, you can delete records based on STATUS FIELD.

    Remember... ALV only is a container of Internal Table.


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi David,

      Can you elaborate please,

      Actually, I am displaying ALV using module pool program (Online)program. On first screen (screen 9000) user provides some parameter and based on it the list is displayed on second screen (screen 9001). Once user selects the 3 entries (using check boxes for selection) out of 10, these rows gets deleted from custom table and popup message is displayed for successful rows deletion.

      Once this is done user wants that the ALV should now display remaining 7 rows to be available for selection and to do the further processing. I have had tried refreshing ALV in PAI but it didn't work.

      Also, if possible please explain along with the sample program OR piece of code with event.

      Thank you .