Visit ABAP Code Samples page for more code samples. Lo_column->set_short_text( 'SHORT_TEXT' ). Lo_column->set_medium_text( 'MEDIUM_TEXT' ). DATA(lo_columns) = lo_tab->get_columns( ).ĭATA(lo_column) = lo_columns->get_column( 'FIELD_NAME' ). ALV provides a lot of inbuilt functions to our reports and some of the functions are listed below. ALV is created by a set of standard function modules provided by SAP. If you still need to modify the field labels. ALV gives us a standard List format and user interface to all our ABAP reports. AdvertisementsĮnsure that when you create the table type, you use data element reference and not types like CHAR10 so that the field labels are displayed correctly. MESSAGE 'Error in ALV creation' TYPE 'E'.Īnd you get the below output. Lo_tab->get_display_settings( )->set_striped_pattern( abap_true ). In the example shown in Fig 6 the user has the choice of outputting the report in an ALV Grid or in a pure text list format that is more suitable for printing.
0 Comments
Leave a Reply. |