Application Development 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: 

ALV

Former Member
0 Kudos

hello all,

i am a novice in ABAP. i want to know abt ALV reporting using function modules. i need some material in this regard. as far as the ALV object model is concerned i do possess some material. but i want some explanations for the function modules method. kindly help me.

thanks and regards,

seenu

sgummaluri.sap@gmail.com

1 ACCEPTED SOLUTION

Former Member
0 Kudos

HI,

The SAP List Viewer unifies and simplifies the use of lists in the R/3 System. A uniform user interface and list format is available for all lists. This prevents redundant functions.

The SAP List Viewer can be used to view both single-level lists and multilevel sequential lists.

Single-level lists contain any number of lines that have no hierarchical relationship to each other.

Multilevel sequential lists consist of any number of lines that have two hierarchical levels. Multilevel lists have header rows and item rows; the item rows are subordinate to the header rows. For each header row there can be any number of subordinate item rows.

Check the below link.

http://help.sap.com/saphelp_47x200/helpdata/en/66/bc7aab43c211d182b30000e829fbfe/content.htm

Regards,

Vara

3 REPLIES 3

Former Member
0 Kudos

HI,

The SAP List Viewer unifies and simplifies the use of lists in the R/3 System. A uniform user interface and list format is available for all lists. This prevents redundant functions.

The SAP List Viewer can be used to view both single-level lists and multilevel sequential lists.

Single-level lists contain any number of lines that have no hierarchical relationship to each other.

Multilevel sequential lists consist of any number of lines that have two hierarchical levels. Multilevel lists have header rows and item rows; the item rows are subordinate to the header rows. For each header row there can be any number of subordinate item rows.

Check the below link.

http://help.sap.com/saphelp_47x200/helpdata/en/66/bc7aab43c211d182b30000e829fbfe/content.htm

Regards,

Vara

Former Member
0 Kudos

but what i need is not how to work on the output list. i need explanations on how to use the FM's like

1. REUSE_ALV_VARIANT_DEFAULT_GET

2. REUSE_ALV_VARIANT_F4

3. REUSE_ALV_VARIANT_EXISTENCE

4. REUSE_ALV_EVENTS_GET

5. REUSE_ALV_COMMENTARY_WRITE

6. REUSE_ALV_FIELDCATALOG_MERGE

7. REUSE_ALV_LIST_DISPLAY

8. REUSE_ALV_GRID_DISPLAY

9. REUSE_ALV_POPUP_TO_SELECT

thanks & regards,

seenu

0 Kudos

Hello Seenu

Most of the function module names explain already what they are doing:

1. REUSE_ALV_VARIANT_DEFAULT_GET

If a default (layout) variant is defined for the ALV list the function module returns it. An ALV list can have an almost unlimited number of variants.

2. REUSE_ALV_VARIANT_F4

Provides a search help for variants of an ALV list

3. REUSE_ALV_VARIANT_EXISTENCE

If the user is allowed to enter a variant name manually then you have to check if this variant does indeed exist.

4. REUSE_ALV_EVENTS_GET

Has something to do with event handling. I cannot tell you more because I use the exclusively the easier ABAP-OO approach.

5. REUSE_ALV_COMMENTARY_WRITE

Is used to write a header comment shown above the ALV list.

6. REUSE_ALV_FIELDCATALOG_MERGE

Still used in ABAP-OO ALV lists. Provide the function module with a DDIC structure an it returns the fieldcatalog for the ALV list. The fieldcatalog can then be adjusted to meet specific requirements.

7. REUSE_ALV_LIST_DISPLAY

Displays the ALV list as "flat" list.

8. REUSE_ALV_GRID_DISPLAY

Displays the ALV list as "grid". Note that you can toggle between flat and grid display.

9. REUSE_ALV_POPUP_TO_SELECT

Displays an ALV list for selecting rows in a popup.

Regards

Uwe