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

Help required

Former Member
0 Likes
437

How to find out the Grand totals and Subtotals using ALV?

What is the Significance of Load Program in Reporting events?

What is the significance of AT Selection-screen Output and AT Selection Screen on Field ? i mean which one will trigger first?

3 REPLIES 3
Read only

Former Member
0 Likes
418

How to find out the Grand totals and Subtotals using ALV?

Select the coluumn which you want total of then click the total button on the ALV,then click any column along with the column for which you want subtotal and click the subtotal button on ALV.

What is the Significance of Load Program in Reporting events?

Lod program is used for loading of the program.

What is the significance of AT Selection-screen Output and AT Selection Screen on Field ? i mean which one will trigger first?

1) AT Selection-screen Output-You can modify the screen.This event is triggerd first since it is triggerd in the PBO.

2) AT Selection-screen-you can all the operations which you can do in AT Selection-screen Output but you cannot modify the screen.

Hope its Helpful.

Regards,

Nikhil Moghe

Read only

Former Member
0 Likes
418

1)Hi If u are using function modules, and SLIS reusable data type.

In function module REUSE_ALV_LIST_DISPLAY It_fieldcatalog parameter is available.

In SLIS check for SLIS_FIELDCAT_ALV In this structure do_sum parameter is available by passing internal table field value to that parameter we can do subtotals and for Grand Totals in SLIS_LAYOUT_ALV parameter like totals only available byusing that we can find do Grand totals.

2) The load program make triggers all the events in sequence in the order like INITIALIZATION, At selection screen, start-of-selection, End-of-selection.

3) Hi At selection screen of Field will trigger if two events are present in a program after validating field it will go for screen level.

If answers found helpful reward points.

Read only

Former Member
0 Likes
418

HI,

THIS IS THE SEQUENCE OF THE EVENTS TRIGRING

INITIALITIZATION THIS EVENT IS TRIGGRED BEFORE THE SELECTION SCREEN IS DISPLAYED YOU CAN USE IT TO INITIALIZATIZE THE INPUT FIELDS OF SELECTION SCREEN.

AT SELECTION-SCREEN OUTPUT THIS EVENT ALLOWA YOU TO MODIFY THE SELECTION SCREEN BEFORE IT IS DISPLAYED

AT SELECTION-SCREEN ON FIELD THIS EVENT IS TRIGGRED WHEN THE CONTENTS OF EACH INDIVIDUAL INPUT FIELD ARE PSSED FROM THE SELECTION SCREEN TO THE PROGRAMME

AT SELECTION-SCREEN BLOCK THIS EVENT IS TRIGGRED WHEN ALL THE FIELDS IN A BLOCK ARE PASSED FROM THE SELECTION SCREEN TO THE PROGRAMEE

AT SELECTION-SCREEN RADIO BUTTON GROUP THIS EVENT IS TRIGGRED WHEN ALL THE FIELDS IN A RADIO BUTTON GROUP ARE PASSED FROM THE SELECTION SCREEN TO THE PROGRAMEE

AT SELECTION-SCREEN HELP REQUEST THIS EVENT IS TRIGGRED WHEN THE USER PRESS F1 KEY ON THE INPUT FIELD

AT SELECTION-SCREEN VALUE REQUEST THIS EVENT IS TRIGGRED WHEN THE USER PRESS F4 KEY ON THE INPUT FIELD

AT SELECTION-SCREEN THIS EVENT IS TRIGGRED WHEN THE USER PROCESS ALL THE SELECTION SCREEN EVENTS

START OF SELECTION THIS EVENT OCCURS AFTER THE SELECTION SCREEN HAS BEEN PROCESSED

END OF SELECTION

TOP OF PAGE

END OF PAGE

LOAD OF PROGRAME IS A DEFAULT EVENT WHICH IS TRIGRED AT THE STARTING OF THE PROGRAME.IT HANDLES ALL THE INFORMATION REGARDING THE PROGRAME

REGARDING SUBTOTALS AND TOTLAS YOU HAVE A FIELD BY NAME DO_SUM IN FIELDCAT