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

'Count' in ALG Grid

Former Member
0 Likes
604

Hi,

I've used FM REUSE_ALV_GRID_DISPLAY to display an ALV.

When i run the report, and go to menu bar (Edit->Calculate->Count) then 'Count' is disabled.

How can i enable this Count functionality of the ALV.

Regards,

Archana

Hi,

I've used FM REUSE_ALV_GRID_DISPLAY to display an ALV.

When i run the report, and go to menu bar (Edit->Calculate->Count) then 'Count' is disabled.

How can i enable this Count functionality of the ALV.

Regards,

Archana

3 REPLIES 3
Read only

Former Member
0 Likes
560

Hi,

Go to PF-STATUS-> MENU Bar>EDIT->double click on it--->Give the Function code for calulate

activate the program...

Regards,

Raj.

Read only

Former Member
0 Likes
560

I dont have PF-STATUS in my nenu bar.

Rtegards,\

Archana

Read only

0 Likes
560

Hi

Actually, in your ALV report program, the standard PF-Status is not active.

You can call the standard PF-Status of program SAPLSALV in the ALV by using the following steps.

1. In the event catalog, you need to assign a form name for the FORM field for the record

with NAME field value as 'PF_STATUS_SET'.

for example,

event-name = 'PF_STATUS_SET'.

event-form = 'F4200_PF_STATUS_SET'.

2. In the form (in the example, it is 'F4200_PF_STATUS_SET') you have to write the below code.

SET PF-STATUS 'STANDARD' OF PROGRAM 'SAPLSALV'.

Actually, while executing the first step, it will call the form (sub-routine) for the pf-status and

in the send step it will set the standard PF-STATUS to your report.

Points if useful.

Satya.