Application Development and Automation 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: 
Read only

3 different ALV

Former Member
0 Likes
741

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
703

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

5 REPLIES 5
Read only

Former Member
0 Likes
703

Hi,

Check the standard SAP program BALVBT01.

Regards,

Bhaskar

Read only

0 Likes
703

bhaskar I am not meaning simultaneously . See only the ALV for which you klicked the button

Regards

sas

Read only

Former Member
0 Likes
704

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

Read only

Former Member
0 Likes
703

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

Read only

Former Member
0 Likes
703

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