‎2006 Jun 22 8:55 AM
i create pf status
at the toolbar at the top i have only <b>SYSTEM HELP</b> WHERE IS THE OTHER WHAT I NEED TO DO.
and when i click on button ALV_VARIATS nothing is happen.
the function code i declare is <b>&OLD</b>
‎2006 Jun 22 9:13 AM
Hi Rani,
<b>1</b>.
Add All Std Pushbuttons function codes to ur PF status manually.
use this path to get all Function code for all Pushbuttons .
SE80=>Function group=>SALV=>GUI Status=>Double click on STANDARD =>Application tool bar.
<b>2</b>.
U can get Function codes for application toolbar pushbutton like this
Press F1 and keep + Mouse right click on button and release mouse.
<b>Thanks,
Venkat.O</b>
‎2006 Jun 22 9:02 AM
Hi,
You have to assign the pf-status and variants like this:
VARIANTS: pass value in the importing parameter of the FM REUSE_ALV_GRID_DISPLAY "IS_VARIANT".
PF-STATUS: assign the pf-status before calling the FM. If you use the standard you can exclude elements using "IT_EXCLUDING" in the FM.
Hope it helps.
Mireia
‎2006 Jun 22 9:02 AM
Hi Rani,
do you have made an new PF-Status by copiing by the
standart? Do you have activate your PF-Status?
I allways make an own Pf-Status by Copiing an Standart
an then i make my own Functions/buttons etc.
Regards, Dieter
‎2006 Jun 22 9:05 AM
‎2006 Jun 22 9:04 AM
Hi
If you have to create a status for ALV, you should create it as copy of status stadard for ALV: STANDARD of (list) or STANDARD_FULLSCREEN (grid) program SAPLKKBL.
Max
‎2006 Jun 22 9:06 AM
Hi Rani,
Check the code
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = g_repid
i_callback_pf_status_set = 'PF_STATUS_SET'
i_callback_user_command = 'USER_COMMAND'
is_layout = i_layout
it_fieldcat = i_fieldcat[]
TABLES
t_outtab = p_out
EXCEPTIONS
program_error = 1
OTHERS = 2.
FORM pf_status_set USING rt_extab TYPE slis_t_extab.
SET PF-STATUS 'STATUS1'.
ENDFORM. "PF_STATUS_SET
Set your PF status here and make sure taht you have activated your PF-STATUS.
‎2006 Jun 22 9:06 AM
Hi ,
Why dont you copy the standard status by going to
<b>SE41</b> give the program name <b>'SAPSALV'</b> and in the status give <b><b>'STANDARD'</b></b>. Click on Copy Status . There you can give your program name and Status that you have defined in the program
For the ALV Variant pass a work area of type <b>DISVARIANT</b> to you <b>SET TABLE FOR DISPLAY</b> method or FUNCTION MODULE.
This will allow you to set Variants
‎2006 Jun 22 9:06 AM
Hi,
'SYSTEM' AND 'HELP' are default menus when you create a PF-status if you want to add your own menu you can open 'MENU BAR' and add function their with there function codes.
Regards,
Wasim Ahmed
‎2006 Jun 22 9:13 AM
Hi Rani,
<b>1</b>.
Add All Std Pushbuttons function codes to ur PF status manually.
use this path to get all Function code for all Pushbuttons .
SE80=>Function group=>SALV=>GUI Status=>Double click on STANDARD =>Application tool bar.
<b>2</b>.
U can get Function codes for application toolbar pushbutton like this
Press F1 and keep + Mouse right click on button and release mouse.
<b>Thanks,
Venkat.O</b>
‎2006 Jun 22 9:28 AM
i copied from SAP the standard into Zstandard
now i have everthing but i want to append 1 button it's not apear whe? i activateit?
‎2006 Jun 22 11:01 AM
Hi Rani,
is your problem solved? When not show your call
for REUSE_ALV_LIST_DISPLAY or REUSE_ALV_GRID_DISPLAY.
regards, dieter