Which and How will you use function module for ALV
Interactive report?
Answer Posted / 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 |
Post New Answer View All Answers
Can a filed occur in several field groups?
How the at-user command serves mainly in lists?
Difference between sy-tabix and sy-index? Where it is used? Can you check sy-subrc after perform?
A subroutine can contain nested form and endform blocks. State true or false. : abap modularization
What are the update types possible?
Find the scenario and give the result: a, b, c are employees, where a, b will get basic, hra, da. C gets basic and da. How to group for the allowances? : sap abap hr
Explain client-dependent and client-independent tables.
What is the table buffer?
How many types of tables exists and what are they in data dictionary?
hi experts,,, what is meant by documentation? test casr preparation? documentation and preparation and Tcode for this? quality and releasing? test case scenario?
How to Solve a Particular Ticket in Realtime ?
Event handling in oops
What is the modification assistant?
What is alv programming in abap?
What is an update type with reference to a match code id?