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

ABAP - Drill Down Reports

Former Member
0 Likes
602

hi experts,

Good Morning to all. I want how to insert standard application toolbar of alv in our own program? in that i want sort ascending, sort decending and Filtering options.

Cust no:bsid-beln

To this field i want to apply Sorting and Filtering options.

for example my program is like this transanction code F.21. In this standard program standard application toolbar is available.

But in my program that facility is not there. For that i am asking how to insert standard application toolbar of alv in my program.

please give reply sir,

because i am new to this alv.

thank u sir,

regards,

roja.

hi experts,

Good Morning to all. I want how to insert standard application toolbar of alv in our own program? in that i want sort ascending, sort decending and Filtering options.

Cust no:bsid-beln

To this field i want to apply Sorting and Filtering options.

for example my program is like this transanction code F.21. In this standard program standard application toolbar is available.

But in my program that facility is not there. For that i am asking how to insert standard application toolbar of alv in my program.

please give reply sir,

because i am new to this alv.

thank u sir,

regards,

roja.

3 REPLIES 3
Read only

Former Member
0 Likes
558

Roja,

check line 558 of include FDEPL00_SHOW ,it is used to set the status for tcode f.21.

you can copy the status using se41 tcode and using set pf-status you can set it in your own program

Thanks

Bala Duvvuri

Read only

Former Member
0 Likes
558

Hi,

Goto T-code SE41.

There in the Program : SAPLKKBL

Status : STANDARD_FULLSCREEN.

There is Button : Status . Click on that . Then it will ask the Program name and the new status name. Please give yoir program name and the status name there .

Then do the Set pf-status subroutine .

With Regards,

Sumodh.P

Read only

Former Member
0 Likes
558

dear roja

Goto T-code SE41,give the Program : SAPLKKBL & Status : STANDARD then copy status 'STANDARD' to ZSTANDARD and activate.Than go to your program

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      i_callback_program      = sy-repid
      i_callback_top_of_page  = 'TOP-OF-PAGE'
      i_callback_user_command = 'HANDLE_USER_COMMAND'
      I_CALLBACK_PF_STATUS_SET = 'PF_STATUS'                          " Assign Pf-Status
      is_layout               = gs_layout
      it_fieldcat             = gt_fldcat
      i_save                  = 'A'
    TABLES
      t_outtab                = gt_list.

At last of program....

FORM PF_STATUS USING rt_extab TYPE slis_t_extab.
  SET PF-STATUS 'ZSTANDARD'.
ENDFORM. "Set_pf_status