Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Which and How will you use function module for ALV
Interactive report?

Answer Posted / c. mitra

one function to display simple ALV program.
REUSE_ALV_LIST_DISPLAY or REUSE_ALV_GRID_DISPLAY.
for logo
REUSE_ALV_COMMENTARY_WRITE function module are used.
first we have to assign
TYPE-POOLS: SLIS.

then we have create internal table of type SLIS_T_FIELDCAT_ALV
and work are type SLIS_FIELDCAT_ALV.

then after your process means after retrive of data we have
create columns assign field name , coulmn name no of column
as example.
**clear wa_fieldcatalog.
**
**wa_fieldcatalog-col_pos = 6.
**wa_fieldcatalog-fieldname = 'LIFNR'.
**WA_FIELDCATALOG-tabname = 'IT_FINAL'.
**WA_FIELDCATALOG-seltext_l = 'VENDOR A/C NO'.
**APPEND WA_FIELDCATALOG TO IT_FIELDCATALOG.
after this form layout as your necessary.
call function module REUSE_ALV_LIST_DISPLAY or
REUSE_ALV_GRID_DISPLAY.

in that
i_callback_program = sy-repid i.e the prgname.
is_layout = work area of slis_layout_alv.
it_fieldcat = internal table type slis_t_fieldcat_alv
t_outtab = internal table where retieve data are stored.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

A field containing quantity amounts (data type quan) must be assigned to a referencetable and a reference field. Explain?

956


What are the three hierarchical levels of data types and objects?

1159


If I forgot some command in sap script e.g.: Suppress zero display – how to do find it?

990


What is the maximum number of match code id's that can be defined for one match code object ?

1019


How can you access the function code from menu painter?

1181


Difference between sy-tabix and sy-index? Where it is used? Can you check sy-subrc after perform?

1102


What are roles and authorization objects?

1682


What is a subroutine?

1053


i want to add 2 records to a table but the last field in the table is 1000 char long.Is it possible?if yes how?

2232


Why do we use logical blocks in abap program?

2105


What are null values? : abap data dictionary

1202


Is main window mandatory in smartforms?

1180


Can a domain, assigned to a data element be changed? : abap data dictionary

1047


hi,how to diable the popup window which is displayed afetr executing the SAP script program?

2079


Differentiate between transparent tables, cluster tables and pooled tables

1111