Which and How will you use function module for ALV
Interactive report?
Answers were Sorted based on User's Feedback
Answer / sivaramakrishna
in case of interactive alv to get all 17 events we use one
fm i.e reuse_alv_events-get .
using read table statement we read required event form
above itab to which all 17 events is exported in above fm.
using the reuse_alv_commentary_write fm to displa any thing
on list screen.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / c. mitra
one function to display simple ALV program.
REUSE_ALV_LIST_DISPLAY or REUSE_ALV_GRID_DISPLAY.
for logo
REUSE_ALV_COMMENTARY_WRITE function module are used.
first we have to assign
TYPE-POOLS: SLIS.
then we have create internal table of type SLIS_T_FIELDCAT_ALV
and work are type SLIS_FIELDCAT_ALV.
then after your process means after retrive of data we have
create columns assign field name , coulmn name no of column
as example.
**clear wa_fieldcatalog.
**
**wa_fieldcatalog-col_pos = 6.
**wa_fieldcatalog-fieldname = 'LIFNR'.
**WA_FIELDCATALOG-tabname = 'IT_FINAL'.
**WA_FIELDCATALOG-seltext_l = 'VENDOR A/C NO'.
**APPEND WA_FIELDCATALOG TO IT_FIELDCATALOG.
after this form layout as your necessary.
call function module REUSE_ALV_LIST_DISPLAY or
REUSE_ALV_GRID_DISPLAY.
in that
i_callback_program = sy-repid i.e the prgname.
is_layout = work area of slis_layout_alv.
it_fieldcat = internal table type slis_t_fieldcat_alv
t_outtab = internal table where retieve data are stored.
Is This Answer Correct ? | 3 Yes | 1 No |
how many fields in mara table.
What are the events in ABAP/4 language?
What is ole?
basic steps for creating subscreen?
What is the exact difference between pooled table and cluster table and explain with examples?
What is the difference b/t Session method and call transaction method ??
1 Answers Campus Interview, ERP Solutions,
why SAP scripts are client dependent and smart forms are not?
how to use table control in bdc
Open-Form and Start-Form?
how to issue the tickets in support project?
1 Answers Bristle Cone, Cap Gemini, HCL, HP, Satyam, Wipro,
29) Difference between check table and value table?
what is naming conventions given for lock object and how you create the lock object