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

About ALV

Former Member
0 Likes
972

Hi guys,

I am new to ALV, and I am creating report using ALV(not Object,just call FM).

but I don't know how to put the little button on the left up corner for select all.

thx in advance.

points will be rewarded.

Vincent

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
944

Take the help of this program:

BCALV_TEST_LIST_STATUS

Regards,

Ravi

Take the help of this program:

BCALV_TEST_LIST_STATUS

Regards,

Ravi

6 REPLIES 6
Read only

Former Member
0 Likes
945

Take the help of this program:

BCALV_TEST_LIST_STATUS

Regards,

Ravi

Read only

amit_khare
Active Contributor
0 Likes
944

Select all button on the ALV tool bar comes automatically if you are using standard PF status only.

But to use it you require to add an extra field in your table as first field for catalog type char1.

And in field catalog make it a box.

Regards,

Amit

Read only

Former Member
0 Likes
944

hmmm i never heard you can use ALV without using OO.

Anyway the little button you are speaking of is a standard functionality of the ALV-grid, so i dont have a clue how you manage it to display an ALV without it.

I´d adivse you to use the ALV-grid in the way it´s designed to (object orientated).

Dont hesitate, sooner or later you GOTTA learn it anyway and besides to call an ALV-grid you need to code about 3-5 lines OO, thats all.

Read only

Former Member
0 Likes
944

hi Vincent,

this SELECT ALL button comes automatically in ALV output...

you don't need to externally write code for it.

you just need to call Function module <b>REUSE_ALV_LIST_DIPLAY</b> or <b>REUSE_ALV_GRID_DISPLAY.</b> depending upon ur requirement.

Give points for helpful answers,

Regards,

Tejas

Read only

Former Member
0 Likes
944
automaticall ALV will have that button

create ur PF-status as below

1. Goto SE80
2. Give function group as SALV and enter
3. in the below menu , expand GUI_STATUS
4. Right click on STANDARD and copy that to ur program
5, Activate ur Program

Function module to display the ALV report
  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
   EXPORTING
    I_CALLBACK_PROGRAM                = W_REPID
    I_CALLBACK_PF_STATUS_SET          = 'PF_STATUS'


FORM PF_STATUS using RT_EXTAB TYPE SLIS_T_EXTAB.

  SET PF-STATUS 'STANDARD' .

ENDFORM.                    "PF_STATUS
Read only

Former Member
0 Likes
944

hi

good

follow this process,

go to se38

put BCALV* and press F4

you ll find lots of examples related to ALV,check them and use accordingly.

Thanks

mrutyun^