2010 Aug 31 7:29 AM
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.
2010 Aug 31 7:59 AM
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
2010 Aug 31 9:23 AM
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
2010 Aug 31 9:56 AM
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
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |