2008 Feb 02 3:33 AM
Hai,
I am new to ALV reports,i want to practice on ALV reports.
So please tell me how to approach and give the useful links.
Thanks in advance.
Points will be rewarded.
2008 Feb 02 3:43 AM
Hi,
If you want to know about ALV reports, First get some knowledge in function modules like 'reuse_alv_grid_display" and 'reuse_alv_list_display' .. ALV is nothing but displaying your results in a standard manner. You can set your own colours to the desired fields. U can sum the value of any desired field. U will get the output format in a table view. There are many advantages in ALV when compared with the standard format..
please go through this links.. it will be of good use to you..
www.sap-img.com/abap/what-is-alv-programming.htm
help.sap.com/printdocu/core/Print46c/en/data/pdf/CAGTFLV/CAGTFLV.pdf
help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVALV/BCSRVALV.pdf -
Award points if helpful..
Thanks and regards,
Karthi.
2008 Feb 02 3:38 AM
Hi,
for basic ALV report u need two things....
1) the internal table which has to be displayed(itab6 in below example).
2) A structure/an int table which helps in making the column header of the display(is_fieldcat in below code...i hav used an int tab).
For more clarification see the FM 'REUSE_ALV_GRID_DISPLAY's documentation in SE37...
also see demo programs in se38( search for pgms starting with BALV*)
See this sample code....
type-pools: slis.
DATA: begin of itab6 occurs 0,
chk type c,
a type p decimals 2,
b type p decimals 2,
c type c,
end of itab6.
data: ls_fieldcat TYPE slis_t_fieldcat_alv WITH HEADER LINE,
wa_layout TYPE slis_layout_alv.
itab6-a = '1.12'.
itab6-b = '2.25'.
itab6-c = '+'.
append itab6.
append itab6.
append itab6.
append itab6.
ls_fieldcat-fieldname = 'A'.
ls_fieldcat-seltext_m = 'A'.
append ls_fieldcat.
ls_fieldcat-fieldname = 'B'.
ls_fieldcat-seltext_m = 'B'.
ls_fieldcat-decimals_out = 0.
append ls_fieldcat.
ls_fieldcat-fieldname = 'C'.
ls_fieldcat-seltext_m = 'C'.
append ls_fieldcat.
wa_layout-box_tabname = 'ITAB6'.
wa_layout-box_fieldname = 'CHK'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
it_fieldcat = ls_fieldcat[]
IS_LAYOUT = wa_layout
TABLES
t_outtab = itab6[].
.
Cheers,
Will.
2008 Feb 02 3:42 AM
Hi,
This is the link for ABAP material
http://www.sapbrainsonline.com/TUTORIALS/TECHNICAL/ABAP_tutorial.html
Help for ABAP certification.
http://www.sapdomain.com/braincheck.php
ABAP Material
BOOKS
http://www.is-edu.hcmuns.edu.vn/WebLib/Books/Database/0-672-31217-4/index.htm
ABAP in 21 days
http://www.is-edu.hcmuns.edu.vn/WebLib/Books/Database/0-672-31217-4/index.htm
http://cma.zdnet.com/book/abap/ch03/ch03.htm
http://www.sapbrainsonline.com/TUTORIALS/TECHNICAL/ABAP_tutorial.html
ABAP FAQs
https://www.sdn.sap.com/irj/sdn/abap?rid=/library/uuid/840ad679-0601-0010-cd8e-9989fd650822
Pool and cluster tables
http://help.sap.com/saphelp_erp2004/helpdata/en/81/415d363640933fe10000009b38f839/frameset.htm
ABAP FAQs
http://www.techinterviews.com/?p=198
SAP SD information site
http://sapsdlive.blogspot.com/2007/11/sap-standard-book-bench-mark.html
SAP User Exits
http://sapass.metro.client.jp/UserExit/
SMARTFORMS
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/smartforms&;
Please reward points,if it is helpful.
Thanks,
chandu.
2008 Feb 02 3:43 AM
Hi,
If you want to know about ALV reports, First get some knowledge in function modules like 'reuse_alv_grid_display" and 'reuse_alv_list_display' .. ALV is nothing but displaying your results in a standard manner. You can set your own colours to the desired fields. U can sum the value of any desired field. U will get the output format in a table view. There are many advantages in ALV when compared with the standard format..
please go through this links.. it will be of good use to you..
www.sap-img.com/abap/what-is-alv-programming.htm
help.sap.com/printdocu/core/Print46c/en/data/pdf/CAGTFLV/CAGTFLV.pdf
help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVALV/BCSRVALV.pdf -
Award points if helpful..
Thanks and regards,
Karthi.
2008 Feb 02 3:52 AM
Hi,
Refer These standard Demo Programs.
BALVSD02_GRID
BALVST02_GRID
BALVST03_GRID
BCALV_FULLSCREEN_GRID_EDIT
BCALV_GRID_01
BCALV_GRID_02
BCALV_GRID_03
BCALV_GRID_04
BCALV_GRID_05
BCALV_GRID_06
BCALV_GRID_07
BCALV_GRID_08
BCALV_GRID_09
BCALV_GRID_10
BCALV_GRID_11
BCALV_GRID_AND_POPUP
BCALV_GRID_DEMO
BCALV_GRID_DND_TREE
BCALV_GRID_DND_TREE_SIMPLE
BCALV_GRID_EDIT
BCALV_GRID_EDIT_DELTA
BCALV_GRID_EDIT_DELTAM01
BCALV_GRID_EDIT_DELTA_APPL
BCALV_GRID_EDIT_DELTA_EVENT
BCALV_GRID_EDIT_VERIFY
BCALV_GRID_EDIT_VERIFY_C01
BCALV_GRID_EDIT_VERIFY_CLASSES
BCALV_GRID_EDIT_VERIFY_E01
BCALV_GRID_EDIT_VERIFY_F01
BCALV_GRID_EDIT_VERIFY_M01
BCALV_GRID_EDIT_VERIFY_TOP
BCALV_GRID_EDIT_VERIFY_TOP2
BCALV_GRID_F4_HELPM01
BCALV_GRID_F4_HELP_APPLICATION
BCALV_GRID_VERIFY
BCALV_GRID_VERIFY_CLDEF
BCALV_GRID_VERIFY_CLIMP
BCALV_GRID_VERIFY_DATA
BCALV_GRID_VERIFY_OLD
BCALV_GRID_VERIFY_OLD_TOP
BCALV_GRID_VERIFY_TOP
BCALV_TEST_GRID
BCALV_TEST_GRID_DRAG_DROP
BCALV_TEST_GRID_EDIT
BCALV_TEST_GRID_EDITABLE
BCALV_TEST_GRID_EDIT_01
BCALV_TEST_GRID_EDIT_02
BCALV_TEST_GRID_EDIT_04_FORMS
BCALV_TEST_GRID_EVENTS
BCALV_TEST_GRID_F4_HELP
BCALV_TEST_GRID_FIELDS
BCALV_TEST_GRID_INDEX.
2008 May 01 9:17 AM
Hi,
Pls Go Though This Link To Practice On ALvs
goto Se38 BCALV* -
f4 Help you will get lot of programs on ALV's
Simple Alv Tree Report Demo Programhttp://saptechnical.com/Tutorials/ALV/ALVTreeDemo/demo.htm
Here you will get lot programs with screen shots
http://saptechnical.com/Tutorials/ALV/ALVMainPage.htm
Alv Editable f4 help
http://saptechnical.com/Tutorials/ALV/Edit/F4.htm
intractive alv using OOPs
http://saptechnical.com/Tutorials/ALV/Interactive/oops.htm
Alv in Style field catalogs
http://saptechnical.com/Tutorials/ALV/Styles/demo.htm
Reward Points if Usefull
Regards
Fareedas