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: 

Regarding ALV's

Former Member
0 Kudos

hi

I want ALV concepts and i want Functional Module descriptions(i.e., purpose of parameters used in every FM in ALV's) can any one provide links or any documentation regrading ALV's.

Thanks & regards

sandhya

10 REPLIES 10

Former Member
0 Kudos

Hi,

Give me ur email id and i shall mail u the docs..

It shall be of great help to u..

Also refer

www.sap-img.com/abap/what-is-alv-programming.htm

http://help.sap.com/saphelp_nw04/helpdata/en/8d/e994374c9cd355e10000009b38f8cf/content.htm

help.sap.com/saphelp_nw04/helpdata/ en/66/bc7aab43c211d182b30000e829fbfe/frameset.htm

www.sapgenie.com/abap/controls/alvgrid.htm

goldenink.com/abap/alv_grid.html

These are just some of them.. U would find a lot of other stuff related to ALV on the net..

But i suggest u to go thru my doc once..It shall be helpful to u..

Regards,

Tanveer.

Please mark helpful answers

0 Kudos

hi

my mail id is s_sandhyaram@yahoo.co.in

thanks

sandhya

Former Member
0 Kudos

pls give ur mail id

sent to ur mail id from chandrasekhar jagarlamudi

Message was edited by: Sekhar

former_member188685
Active Contributor

former_member223537
Active Contributor
0 Kudos

Hi,

Following is the link

Best regards,

Prashant

0 Kudos

Hi,

I have mailed u the docs..

Please confirm after recieving...

Regards,

Tanveer.

<b>Please dont forget those points</b>

Former Member
0 Kudos

Hi,

I have sent you some docs.

Hope it helps you...

Reward if they were useful......

Thanks,

Jignesh Patel

Former Member
0 Kudos

Hai Sandhya

read the following Documents

REUSE_ALV_GRID_DISPLAY

This FM displays the data on the screen.

EXPORTING

I_INTERFACE_CHECK To avoid overloading list output with interface consistency checks, they are only made in an extra call mode. If this parameter is 'X', the consistency of the interface is checked when the function module is called, and an error log is output. This parameter should only be set for development test purposes (e.g. in debugging).

I_CALLBACK_PROGRAM Program which calls the function module and contains the exit routines. It must be a Report, Function group, Module pool or Form routine pool

(not an Include).

I_CALLBCK_USER_COMMAND Passing an EXIT routine tells ALV that the application wants to react to certain function codes itself. These are general function codes which ALV does not recognize (not ALV standard functions) and which were defined and set by an application

status.

I_BACKGROUND_ID ID of background gif image to be displayed in report header.

IS_LAYOUT Output list description structure.

IT_FIELDCAT Field catalog containing descriptions of the list output fields (usually a subset of the internal output table fields).

IT_SPECIAL_GROUPS If fields have been grouped in the field catalog by a shared value of the parameter SP_GROUP, the technical key of the group (FIELDCAT-SP_GROUP) is assigned to the field group text in this internal table.

IT_SORT The caller specifies the sorting and/or subtotaling of the basic list in the internal table IT_SORT.

I_SAVE Controls the storage mode.

IS_VARIANT Variant information including the name of the list output variant.

IT_EVENTS This table tells ALV which events are processed by the caller by CALLBACK.

IT_EVENT_EXIT Table for passing ALV standard function codes, to return control to the user before and/or after execution with the callback event USER_COMMAND.

I_SCREEN_START_COLUMN Only to be used if the list is output in a popup.

I_SCREEN_START_LINE Only used if the list is output in a popup.

I_SCREEN_END_COLUMN Only used if the list is output in a popup.

I_SCREEN_END_LINE Only used if the list is output in a popup.

TABLES

T_OUTTAB Internal table with any structure containing the data to be output in list form. This table can contain more fields than are relevant for the list output (display fields and field list). Only the fields named in field catalog and the layout structure are used

for the list output. Other internal table fields are ignored.

for fieldcatalog_Merge

Field catalog with field descriptions

Description

Field catalog containing descriptions of the list output fields (usually a subset of the internal output table fields). A field catalog is required for every ALV list output.

The field catalog for the output table is built-up in the caller's coding. The build-up can be completely or partially automated by calling the REUSE_ALV_FIELDCATALOG_MERGE module

See also the documentation of the function module REUSE_ALV_FIELDCATALOG_MERGE.

The minimal field catalog is documented under 'default'. The caller can use the other optional parameters to assign output attributes to a field which differ from the default.

A field catalog need not be built-up and passed explicitly only under the following conditions:

• The internal table to be output has the same structure as a Data Dictionary structure which is referred to in the internal table declaration using LIKE or INCLUDE STRUCTURE.

• all fields in this structure are to be output

• the structure name is passed to ALV in the parameter I_STRUCTURE_NAME.

See also the documentation of the IMPORTING paramter I_STRUCTURE_NAME.

Positioning

• row_pos (row position)

value set: 0, 1 - 3

Only relevant if the list output is to be multi-line (two or three lines) by default.

A multi-line list can also be defined by the user interactively if the default list is one-line.

The parameter specifies the relative output line of the column in a multi-line list.

• col_pos (column position)

value set: 0, 1 - 60

only relevant when the default relative column positions differ from the field catalog field sequence. The parameter specifies the relative column position of the field in the list output. The column order can be changed interactively by the user. If this parameter is initial for all field catalog entries, columns appear in the field catalog field sequence.

Identification

• fieldname (field name)

value set: internal output table field name (required parameter)

Name of the internal output table field which is described by this field catalog entry

• tabname (internal output table)

value set: SPACE, internal output table name

This parameter is used in 'manual' field catalog build-up only for hierarchical-sequential lists.

Name of the internal output table which contains the field FIELDCAT-FIELDNAME.

Data Dictionary reference

• ref_fieldname (reference field name)

value set: SPACE, Data Dictionary field name

Name of the Data Dictionary field referred to.

This parameter is only used when the internal output table field described by the current field catalog entry has a reference to the Data Dictionary (not a program field), and the field name in the internal output table is different from the name of the field in the Data Dictionary. If the field names are identical, naming the Data Dictionary structure or table in the FIELDCAT-REF_TABNAME parameter is sufficient.

• ref_tabname (reference table/structure field name)

value set: SPACE, name of a Data Dictionary structure or table

Structure or table name of the referred Data Dictionary field.

This parameter is only used when the internal output table field described by the current field catalog entry has a Data Dictionary reference (not a program field).

Reference to fields with currency/measurement unit

Each internal output table sum or quantity field whose decimal places are to be formatted appropriately for the unit in the list must follow the convention:

• the field is of data type QUAN or CURR (internal type P) (the field must really have this physical data type. Overwriting the physical data type with the parameter FIELDCAT-DATATYPE has no effect)

• There is a field in the internal output table which contains the associated unit.

• There is also an entry in the field catalog for the unit field.

(If the unit is not to appear as a column in the list, and cannot be interactively displayed as a column, e.g. because it is always unambiguous and is therefore explicitly output by the caller in the list header, the field catalog units field entry can take the parameter FIELDCAT-TECH = 'X'.

The association of a value field to a unit affects the output as follows:

• appropriate decimal places display for the unit

• an initialized field with a link to a non-initial unit is output as '0' for the unit (if FIELDCAT-NO_ZERO is initial). When this field is summed, this unit affects whether the units are homogeneous.

• an initialized field with a link to an initial unit is output as SPACE. When this field is summed, the unit SPACE does not affect the homogeneity of the units.

• When non-initial fields with an initial unit are summed, the unit SPACE is considered to be a unit.

Thanks & regards

Sreenivasulu P

Former Member
0 Kudos

hi

thank u all

thanks for the links and doc's

really it is very much useful

sandhya