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
What are the events used in interactive reports?
Explain the table, which contain the details of all the name of the programs and forms?
How to use messages in lists?
What is the function of a domain?
What functions does a data dictionary perform ?
could anyone tell me what r real time questions been asked in interviews?i am in urgent need..thanks in advance
when do you need to create an internal table with header line ? and with out a header line?
What are the two levels in defining a match code ?
while implementing badi what are the tables u find??
How do you convert non-char field into char type fields ?
Static and instance variable and method with live example. Why and when to use
What are internal tables? How do you get the number of lines in an internal table?
Where do you use help views?
How to handle error in session method? : abap bdc
how to Create a smart form related to gate pass to be submitted to vendor’s location. This form outputs document number, date, vendors name, address, material details, quantity, unit,and the company logo.