‎2006 Feb 07 12:17 PM
Can anyone tell how to learn ALV interactive?
how can I learn it easily? Pls use the function modules since i dont have any idea about the classes ....
Whats the easies and best way ?
‎2006 Feb 07 12:58 PM
Hi,
Follow the below links.........
ALV
http://www.geocities.com/mpioud/Abap_programs.html
Conversion ALV to E-mail,PDF
http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
http://www.sapdevelopment.co.uk/reporting/reportinghome.htm
See the example code..........
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = i_repid
i_callback_user_command = 'USER_COMMAND_PERNR'
it_fieldcat = header
is_layout = gt_layout
i_callback_top_of_page = 'TOP-OF-PAGE1'
i_grid_title = text-t35
it_sort = gt_sort[]
i_default = 'X'
i_save = 'U'
is_variant = gt_variant
it_events = gt_events
TABLES
t_outtab = ITAB.
clear itab.
----
FORM USER_COMMAND_PERNR
----
FORM USER_COMMAND_PERNR USING u_ucomm LIKE sy-ucomm
us_selfield TYPE slis_selfield."#EC CALLED
CASE u_ucomm.
when '&IC1'.
if us_selfield-fieldname = 'PERNR'.
read table ITAB index us_selfield-tabindex.
set parameter id 'PER' field ITAB-PERNR.
set parameter id 'PER' field us_selfield-value.
call transaction 'XYZ' and skip first screen.
endif.
ENDCASE.
ENDFORM. " USER_COMMAND_PERNR
Thanks.
If this helps you reward with points.
‎2006 Feb 07 12:25 PM
hi George,
check out the link.., http://www.sapgenie.com/abap/index.htm
or
http://www.geocities.com/sapcircle/
http://www.sapgenie.com/abap/ireports.htm
hope it helps..,
regards,
Vinoth
‎2006 Feb 07 12:32 PM
HI,
give me your mail id ..i'll forward the tutorial to you..
regards
satesh
‎2006 Feb 07 1:47 PM
Hi satesh,
Can you forward the material to me too. My mail id is vijayk_sap@yahoo.co.in
Regards,
Varun.
‎2006 Feb 07 6:03 PM
‎2006 Feb 07 6:07 PM
‎2006 Feb 07 12:33 PM
Hi,
Check this link and kindly reward points by clicking the star on the left of reply,if it helps.
‎2006 Feb 07 12:46 PM
Hi George,
Just message me your mail ID to ramanan_9@yahoo.co.in, will send you a document on ALV. It will be very helpful.
Regs,
Venkat Ramanan
‎2006 Dec 27 5:15 PM
‎2006 Feb 07 12:58 PM
Hi,
Follow the below links.........
ALV
http://www.geocities.com/mpioud/Abap_programs.html
Conversion ALV to E-mail,PDF
http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
http://www.sapdevelopment.co.uk/reporting/reportinghome.htm
See the example code..........
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = i_repid
i_callback_user_command = 'USER_COMMAND_PERNR'
it_fieldcat = header
is_layout = gt_layout
i_callback_top_of_page = 'TOP-OF-PAGE1'
i_grid_title = text-t35
it_sort = gt_sort[]
i_default = 'X'
i_save = 'U'
is_variant = gt_variant
it_events = gt_events
TABLES
t_outtab = ITAB.
clear itab.
----
FORM USER_COMMAND_PERNR
----
FORM USER_COMMAND_PERNR USING u_ucomm LIKE sy-ucomm
us_selfield TYPE slis_selfield."#EC CALLED
CASE u_ucomm.
when '&IC1'.
if us_selfield-fieldname = 'PERNR'.
read table ITAB index us_selfield-tabindex.
set parameter id 'PER' field ITAB-PERNR.
set parameter id 'PER' field us_selfield-value.
call transaction 'XYZ' and skip first screen.
endif.
ENDCASE.
ENDFORM. " USER_COMMAND_PERNR
Thanks.
If this helps you reward with points.
‎2006 Feb 07 1:08 PM
Hi,
Go to transaction se83.
choose Control on the left side .
Then double click ALV Grid and choose Examples.
You can get a lot of examples.
Hope it helps.