Application Development 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: 

ALV Grid to select multiple records , edit , reprocess and then updated.

Former Member
0 Kudos

Hi,

I have an requiremnt

1) To display the records in ALV grid( NOT OO ABAP).

2) Need to select multiple records(need to avoid using control if possible while selecting multiple records)

3) Need to add 2 buttons 1) EDIT 2) REPROCESS

3) After selecting the multiple records, I need to select a column (only one) .

4) then the user will click the EDIT button : Once clicked a POP UP needs to appear with field name and blank space ,when data is entered into blank space

all the selected records will be updated.

5) THen on clcikng REPROCESS all the selected records needs to do certain reprocessing and updated/changed values needs to be updated in the GRID.

Let me know ..How to proceed ?

Is there any standard program which has the similar functionalty ?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Search for a tutorial of ALV grid in google or in SAP technical u will get it .

3 REPLIES 3

Former Member
0 Kudos

HI

To display the records in alv grid you have to use REUSE_ALV_GRID_DISPLAY

You can create a function in which u have to crate your own pf status.In this pf status u can add two buttons for edit and reprocess and pass this function name in the I_CALLBACK_PF_STATUS_SET parameter of FM.

The coding for this buttons can be done in your program using case sy-ucomm.

Thanks!!

RJ

Former Member
0 Kudos

hi,

Please find my advice:

1) To display the records in ALV grid( NOT OO ABAP). use reuse_alv_grid_display as Rahuljn advice

2)Need to select multiple records(need to avoid using control if possible while selecting multiple records) please search before asking this question

3) Need to add 2 buttons 1) EDIT 2) REPROCESS build your own status and set it into FM. you can search for it in forum

4) After selecting the multiple records, I need to select a column (only one) do a search in forum you can find out

5) then the user will click the EDIT button : Once clicked a POP UP needs to appear with field name and blank space ,when data is entered into blank spaceall the selected records will be updated. you can create screen for edit data, pass data you choose in alv to screen then edit

6) THen on clcikng REPROCESS all the selected records needs to do certain reprocessing and updated/changed values needs to be updated in the GRID. search forum for refresh alv grid after editing, i'm sure you will get all the answers

regards,

P/S: remember to search before posting.

Former Member
0 Kudos

Hi,

Search for a tutorial of ALV grid in google or in SAP technical u will get it .