Tuesday, February 9, 2010

ALV

ALV:-

Q1)+ What are the function modules used in ALV?
Ans:- REUSE_ALV_GRID_DISPLAY,
REUSE_ALV_LIST_DISPLAY,
REUSE_ALV_COMMENTARY_WRITE
REUSE_ALV_FIELDCATALOG_MERGE
REUSE_ALV_EVENTS_GET
These are the main function modules used in ALV.

Q2)+ What is the difference between classical reports & ALV reports?
Ans:- Classical ALV
1) In classical reports, we can not 1) In ALV reports, we can
display logos. display logos.
2) System functionalities like 2) Whereas in ALV reports,
Totals, Subtotals, Filtering, all system functionalities
sorting ascending, descending are available.
all these are not available in
normal reports.
3) If u have too many fields to be 3) To avoid such instances we go
displayed on the screen then for ALV report where we can
normal report can show only display too many fields in a
255 chars and the next chars will single row.
be shown in the next line.

Q3)+ What are the events used in ALV report?
Ans:- 1. USER_COMMAND
2. PF_STATUS_SET
3. SUBTOTAL_TEXT
4. TOP_OF_PAGE
5. END_OF_PAGE
6. TOP_OF_LIST
7. END_OF_LIST
These are the main events that are used in an ALV reports.

Q4)+ How to provide the menu button functionality?
Ans:- By using ‘SET PF STATUS’, we can provide menu button (our own)
functionality.

Q5)+ Where will you create functional keys?
Ans:- By using “Menu Painter” we can create functional keys.
The Transaction code of the menu painter is SE41.




Q6)+ How will you include a logo in ALV?
Ans:- By using a function module REUSE_ALV_COMMENTARY_WRITE,
we can include a logo in ALV. And the Transaction code for uploading the
logo is ‘OAER’.

Q7)+ How will you provide edit functionality in ALV?
Ans:- To provide edit functionality in ALV, we have to set the
parameter is_layout-edit = ‘x’, in the function module
REUSE_ALV_GRID_DISPLAY.

Q8)+ How to display totals and subtotals in ALV?
Ans:- In field catalog, we have an option called DO_SUM. By using this
option, we can display totals and subtotals in ALV.

No comments:

Tutorials on SAP-ABAP

Adobe Interactive Forms Tutorials

Business Server Pages (BSP)

Userexits/BADIs

Web Dynpro for ABAP (Step by step procedure for web dynpro,Tutorials on Web Dynpro,)

ALV Tutorials

goodsites