2009 Mar 01 8:04 AM
Hi EXPERTS
display 3 different ALV when user hits a button. Additional there is also a possibility
to save his input since ALV is editable.
Thanks
Erdem SAS
2009 Mar 02 5:28 AM
Hi,
For displaying ALV on clicking button, you have to wrte your code, in PAI of module pool.
For example:
case sy-ucomm.
when 'Click'.
call function module REUSE_ALV_GRID_DISPLAY to display alv or
w_grid->set_table_for_first_display .
in both thses options there is there is field i_save = 'A'.
Thsi helps to save your output.
Dont forget to pass repid.
Thanks & Regards,
Anagha Deshmukh
Hi EXPERTS
display 3 different ALV when user hits a button. Additional there is also a possibility
to save his input since ALV is editable.
Thanks
Erdem SAS
2009 Mar 01 6:01 PM
2009 Mar 01 7:04 PM
bhaskar I am not meaning simultaneously . See only the ALV for which you klicked the button
Regards
sas
2009 Mar 02 5:28 AM
Hi,
For displaying ALV on clicking button, you have to wrte your code, in PAI of module pool.
For example:
case sy-ucomm.
when 'Click'.
call function module REUSE_ALV_GRID_DISPLAY to display alv or
w_grid->set_table_for_first_display .
in both thses options there is there is field i_save = 'A'.
Thsi helps to save your output.
Dont forget to pass repid.
Thanks & Regards,
Anagha Deshmukh
2009 Mar 02 5:34 AM
hi ,
put the code like this
at user-command.
casy sy-ucomm.
when button1.
define fldcat1.
when button2.
define fldcat2.
when button3.
define fldcat3.
endcase.
regards
vijay
2009 Mar 02 5:56 AM
Hi erdam,
useful link for alv with save & edit functionality..
https://www.sdn.sap.com/irj/scn/wiki?path=/pages/viewpage.action&pageid=72220689
for displaying 3 diff alvs use block list display
https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/abap-ProgramforALVBlocklist
call method 'reuse_alv_grid_display' 3 diff times on click of a button.
maintain checkbox and read its value if checked then call the method to display corresponding alv..
hope it helps..
Regards,
Mdi.Deeba