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

ALV grid problem

Former Member
0 Likes
1,044

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>

1 ACCEPTED SOLUTION
Read only

venkat_o
Active Contributor
0 Likes
1,006

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>

10 REPLIES 10
Read only

Former Member
0 Likes
1,006

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

Read only

Former Member
0 Likes
1,006

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

Read only

0 Likes
1,006

i create the status one by one

Read only

Former Member
0 Likes
1,006

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

Read only

Former Member
0 Likes
1,006

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.

Read only

Former Member
0 Likes
1,006

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

Read only

dani_mn
Active Contributor
0 Likes
1,006

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

Read only

venkat_o
Active Contributor
0 Likes
1,007

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>

Read only

Former Member
0 Likes
1,006

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?

Read only

Former Member
0 Likes
1,006

Hi Rani,

is your problem solved? When not show your call

for REUSE_ALV_LIST_DISPLAY or REUSE_ALV_GRID_DISPLAY.

regards, dieter