Saturday, December 18, 2010
We do not need to pass fieldcatalog internal table to REUSE_ALV_GRID_DISPLAY function module. Instead you can pass structure(Structure should be displayed in dictionary) of the data table.
REPORT zvenkat_alv_without_fieldcat. "Declaration. DATA: i_pa0008 TYPE STANDARD TABLE OF pa0008. *START-OF-SELECTION. START-OF-SELECTION. "Data retrieval SELECT * FROM pa0008 INTO TABLE i_pa0008 UP TO 20 ROWS. "Data display using ALV grid CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-repid i_structure_name = 'PA0008' TABLES t_outtab = i_pa0008.
Followers
Popular Posts
- ABAP - ALV Report example with steps
- ABAP - Sending email with pdf attachment
- ABAP - Step by step tutorial on Smart Forms - Template Node
- SAP Adobe Form - Steps to create simple ADOBE Form and calling it from ABAP Program
- SAP ABAP - CL_ABAP_CHAR_UTILITIES class usage
- ABAP - Multiple value selection from F4 help for SELECT-OPTIONS
- Execute ABAP Report using SUBMIT statement
- ABAP - Select all or Deselect all in ALV or Check box handling in ALV
- Web Dynpro ABAP ALV - ON_CLICK event
- ABAP - Dynamic WHERE clause
0 comments:
Post a Comment
Your useful comments, suggestions are appreciated.Your comments are moderated.