Two quick tips from SAP® List Viewer (ALV) – A Practical Guide for ABAP Developers


Espresso Tutorials

Fabian Bentz

112Learn more our newest book release- SAP® List Viewer (ALV) – A Practical Guide for ABAP Developers by Kathi Kones. Keep reading for two quick tips from the book:

Quick Tip 1: Optimization of SELECT statements
Optimizing a SELECT statement can make a tremendous improvement in your program’s performance. Utilize SAP tools such as runtime analysis (transaction codes sat or se30) and performance trace (transaction code st05) to make improvements.

Quick Tip 2: Use of data dictionary structure for ALV
If the internal table of data that you will be displaying corresponds to a table or structure defined in the data dictionary, you can build your field catalog by calling function module LVC_FIELDCATALOG_MERGE at the start of the ZF_BUILD_FIELDCATALOG subroutine, then update only those retrieved field attributes that require a change. If none of your fields require a change (no pre-summing, no hiding of fields, no hotspots, etc.), you can omit the building of the field catalog entirely and pass the structure name to the SET_TABLE_FOR_FIRST_DISPLAY method in the I_STRUCTURE_NAME parameter.

Keep reading in SAP® List Viewer (ALV) – A Practical Guide for ABAP Developers.

This book is geared towards ABAP developers and offers detailed information on how to use SAP ABAP List Viewer (ALV) to display business data with an interface that lets users rearrange, sort, total, and download data. Obtain comprehensive information on how to write a basic ALV program. Walk through a detailed training scenario and get tips on how to adapt the scenario for your company. Readers will master two ALV types: control framework and function modules. Identify when to use object-oriented techniques and when it may make more sense to quickly adjust existing ALV programs. By using practical examples, tips, and screenshots, the author brings ABAP developers up to speed on SAP ALV.

• Learn how to write a basic SAP ALV program
• Walk through the object-oriented control framework and function modules
• Get tips on adding sorting and grouping features
• Dive into how to add editable fields, events, and layout variants

Author Kathi Kones has been working with SAP software since 1995. She has extensive experience as a functional analyst, ABAP developer, project manager, finance master data migration specialist, and integration manager. Kathi most recently worked on SAP master data management projects as a consultant for ThreeBridge Solutions, LLC, Minneapolis, Minnesota.