29_21-10-25_ABAP_OOABAP Introduction

TOPIC'S COVERED

  • ABAP Learning and Lock Objects
  • Network Locking Process Configuration
  • ABAP Class Creation and Parameters
  • ABAP Class Method Demonstration
  • Output Variables and Exception Handling


Summary

ABAP Learning and Lock Objects

Pradeep discussed the current learning progress, including data dictionary concepts, table creation, domain creation, and programming constructs like inner joins, loops, and read statements. He mentioned upcoming advanced topics and the transition to learning ABAP on Eclipse or Hana Studio. Pradeep also explained the use of lock objects to manage concurrent access to tables, demonstrating how to create and configure them using specific naming standards.

Network Locking Process Configuration

Priyashree and Pradeep discussed a technical process involving network issues and data locking mechanisms. They explained how to create a log object with EZIUL in HC11, specify table names, and configure lock parameters as primary keys. The process involves creating NQ and DQ function models for blocking and releasing users, though they noted that observing the live process simultaneously is currently impossible due to network constraints. Pradeep instructed Priyashree to complete this task in 5-10 minutes before proceeding to class creation, emphasizing the importance of understanding ABAP.

ABAP Class Creation and Parameters

Pradeep guided Priyashree through creating and locking parameters in a tool, explaining that primary keys would be automatically completed. He then instructed Priyashree and Pavan on creating ABAP classes, introducing naming standards like ZCL for classes and ZFM for function modules. Pradeep demonstrated creating a public class with methods for arithmetic operations, emphasizing the importance of making classes reusable by calling them in programs. He assigned Pavan the task of creating methods for addition, subtraction, multiplication, and division, and offered to provide further guidance if needed.

ABAP Class Method Demonstration

Pradeep demonstrated how to call methods in ABAP classes, explaining two methods: using parameters for each operation separately or using attributes. He showed how to create a reference class and object, and pass parameters for input and output. Priyashree clarified that Pradeep had created a program in SE38 to call the class API, and confirmed that the class could be created in any format.

Output Variables and Exception Handling

Pradeep explained to Pavan that they can use the same input variables but should specify different outputs for calculations, such as 5 plus 5 equaling 10 and phi minus phi equaling 0. Pradeep instructed Pavan to complete the task and leave for the day, stating that he would teach Pavan how to create a local class and handle exceptions the following day. Priyashree asked if the OOP concepts applied in this context were the same as in other coding languages, to which Pradeep confirmed they were.

Complete and Continue