‎2007 Feb 21 6:30 AM
Hi Everybody,
Can any body send me the good documentation with detailed step by step explanation on reports by using all the events for both classical & interactive and also on ALV using classical & interactive. Can anyone suggest me the book which i have to follow for reports.I will reward you for those who help me on this issue ok.
My mail id is sundeepsap@yahoo.co.in
Thanks & Regards,
Sundeep.
‎2007 Feb 21 6:32 AM
Hi,
Mailed you the sample reports with good documentation.
Reward if useful
Regards,
Anji
‎2007 Apr 05 1:47 PM
Hi Anji,
Kindly forward me the good documentation on CLASSICAL REPORTS with few examples.
I am preparing a presentation on Classical Reports.....Kindly do needful ASAP.
Sent to: cutekvr@gmail.com
only_ramana@yahoo.com
Thank you and Regards,
Venkat Ramana L
‎2007 Feb 21 6:36 AM
‎2007 Feb 21 6:38 AM
Hi,
Herewith i am sending simple ALV GRID REPORT. It will sure help to u.
REPORT YMS_ALVDEMO .
TYPE-POOLS : SLIS.
TABLES : QALS.
DATA : BEGIN OF T_OUT OCCURS 0,
MATNR LIKE QALS-MATNR, "MATERIAL
WERK LIKE QALS-WERK, "PLANT
ART LIKE QALS-ART, "Inspaction Lot Type
OBJNR LIKE QALS-OBJNR, "Object Number
END OF T_OUT.
DATA : I_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE,
I_LAYOUT TYPE SLIS_LAYOUT_ALV,
GS_LAYOUT TYPE LVC_S_LAYO,
G_REPID TYPE SY-REPID,
LS_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
SELECT-OPTIONS:S_PRFLOS FOR QALS-PRUEFLOS.
INITIALIZATION.
G_REPID = SY-REPID.
I_LAYOUT-ZEBRA = 'X'.
I_LAYOUT-COLWIDTH_OPTIMIZE = 'X'.
START-OF-SELECTION.
PERFORM FETCH_DATA.
END-OF-SELECTION.
PERFORM FILL_FIELDCAT.
PERFORM DISPLAY_ALV.
&----
*& Form FETCH_DATA
&----
text
----
--> p1 text
<-- p2 text
----
FORM FETCH_DATA .
SELECT MATNR WERK ART OBJNR
FROM QALS
INTO TABLE T_OUT
WHERE PRUEFLOS IN S_PRFLOS.
ENDFORM. " FETCH_DATA
&----
*& Form FILL_FIELDCAT
&----
text
----
FORM FILL_FIELDCAT .
REFRESH I_FIELDCAT[].
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
I_PROGRAM_NAME = G_REPID
I_INTERNAL_TABNAME = 'T_OUT'
I_INCLNAME = G_REPID
CHANGING
CT_FIELDCAT = I_FIELDCAT[]
EXCEPTIONS
INCONSISTENT_INTERFACE = 1
PROGRAM_ERROR = 2
OTHERS = 3.
ENDFORM. " FILL_FIELDCAT
&----
*& Form display_alv
&----
text
----
FORM DISPLAY_ALV .
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = G_REPID
IS_LAYOUT = I_LAYOUT
IT_FIELDCAT = I_FIELDCAT[]
TABLES
T_OUTTAB = T_OUT
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
ENDFORM. " display_alv
Thanks,
Shankar
‎2007 Feb 21 6:47 AM
Refer this
http://www.sapdevelopment.co.uk/reporting/alvhome.htm
Also search for code samples that are available in SDN site.
U can get some samples in <b>se38 > environment > control examples</b>
‎2007 May 22 10:34 AM
‎2007 Jun 25 3:15 PM
hi,
can anyone please Email me the documentation on reports interactive, ALV, classical.
it would be really helpful if there are sample codes attached too...
email : <b>abbaskhambaty@gmail.com</b>
thanks in advance.
Abbas.