Posts

Showing posts from September, 2016

OOP

Image
OOP Understand the details of object-oriented syntax elements in ABAP Objects and use these effectively Create object-oriented models of business applications Use the tools in the ADT 2.70 to develop object-oriented applications what problems we were having in Procedural programming. Long code due to variable declaration Extensive processing after SQL statement Multiple Commands to perform simple operations Code reusability and Maintenance SAP’s solution In-line declaration SQL Expressions ABAP Expressions OOP Advantages of OOP over Procedural programming Improved software structure and consistency in the development process Reduced maintenance efforts and less susceptibility to errors Better integration of the customer/user into the analysis, design, and maintenance process Easier and safer possibilities for extending the software OOP in ABAP Essentially the same as those of other modern object-oriented languages like C++ or Java Some elements present in ABAP objects are not offered i

BASIC ALV

Image
BASIC ALV •Define and describe ALV •Discuss and use the standard function module ‘REUSE_ALV_GRID_DISPLAY’ in ABAP program •ALV Navigation Define and Describe ALV The ALV (ABAP List Viewer) is a flexible tool for displaying lists in SAP. The tool provides common list operations as generic functions and can be enhanced by user-defined options. This allows you to use the ALV grid control in a wide range of application programs. For this module, the simplest way to use ALV will be discussed. Advanced topics in ALV may be discussed in the later part of the Training. Sample ALV Output Sample ALV output The ALV Field Catalog The field catalog is an internal table which contains information about the fields to be displayed on the ALV. The type is SLIS_T_FIELDCAT_ALV. We must first build the field catalog before displaying any output in the ALV. There are many fields in the field catalog but for a simple output, the only necessary fields are FIELDNAME and SELTEXT_L. Using the FM ‘REUSE_ALV_GRID