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...

can we write any interective or classical reports in alv
reports if yes how?

Answer Posted / p.lokesh

Yes, we can generate both classical and Interactive reportS
in ALV..

For classical report in ALV..
Type-pools : slis.

DATA : it_Fcat type slis_T_fieldcat_Alv
wa_fcat type slis_fieldcat_Alv.

Data : itab type standard table of (SOme Structure)
wa like line ot itab.

Start-of-selection.
Select.....

after readig data from database....

we use FM REUSE_ALV_FIELDCATALOG_MERGE

After that We display the Output

We use FM : REUSE_ALV_GRID_DISPLAY ( for Grid Format)
OR
REUSE_ALV_LIST_DISPLAY(for list format)
*****
*&----INTERACITVE ALV*******
We take two Internal tables ...
Data : itab type standard table of ty_marc (Type structure)
itab1 type standard table of ty_mara(TYPE structure)

data : it_fcat type slis_t_fieldcat_alv,
t_Event type slis_t_event,
t_listheader type slis_t_listheader.

we use FM : REUSE_ALV_GET_EVENT
This is function Module is used to catch the EVENTs like
TOP-OF-PAGE and END-OF-PAGE, USER_COMMAND....etc

For interactive Report:
we will give form like

Form User_Command Using ucomm like Sy-ucomm
selfld type SLIS_SELFIELD,

*& we'll call this Subroutine in the FM GRID DISPLAY..

case ucomm.

when '&IC1'. " this is FunctionCode which catchs when
user do some actions.
READ TABLE Itab INTO WA_tab INDEX RS_SELFIELD-TABINDEX.
perform buildcatlog.
perform DataRetrieval.l
Perform Listdisplay.
Perfrom Dispaly.

endcase.

THIS IS HOW WE DO INTERACTIVE ALV...
I THINK THIS WIIL U IN DOING CLASSICAL AND INTERACTIVE
ALV..

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does the extract statement do in extract datasets? : abap modularization

1093


When is the top-of-page event triggered? : abap data dictionary

1245


How many types of size categories and data classes are there?

1081


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

991


stock transfer from one plant to another plant ? i want the total description.

2054


What is meant by payscale structure? How did you configure pay scale structure? : sap abap hr

1015


1. what is IDOC monitoring ? what is the tcode used for idoc monitoring ? 2 . what is change pointer in ale ?

7190


What is protect & endprotect?

1016


Hi my dear friends,Please give the answers for the following link http://www.saptechnical.com/InterviewQ/interviewQ.htm

2162


Which database object is used for storing the system variables? : abap data dictionary

1403


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

1159


what is the process of creating quotation using BAPIs.

2056


What is payroll area

2273


Value table VS check Table.

1479


What is an update task? : abap modularization

1071