ABAP Workshop Day 2

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 53

ABAP Workshop Day 2

Dialog Messages
Executing a Program in Debugging Mode
Switching to Debugging Mode at Runtime
Debugging Mode: Single Step and Field Contents
Debugging Mode: Breakpoints
Working with Structures
Defining Structures with Local Types
Access to Structure Components
Copying Structure Components with the Same Name
Structures in Debugging Mode
Working with Internal Tables

An internal table is a data object, in which you can keep several identically structured
data records at runtime (table variable) . The ABAP runtime system dynamically
manages the size of the internal table. That means, you as the developer do not have
to do any work concerning memory management.
Attributes of Internal Tables
Attributes and Use of the Table Types
Defining Internal Tables with Global Types
Defining Internal Tables with Local Types
Independent Definition of Internal Tables
Possible Definitions of Internal Tables
Overview: Definition of structured data objects
Accessing Single Records (Overview)
Processing Sets of Records (Overview)
Syntax Example: Inserting a Row
Syntax Example: Output Internal Table row-by-row
Syntax Example: Reading Using the Index
Syntax Example: Reading Using the Key
Syntax Example: Sort and Delete Content
Internal Tables in Debugging Mode
Comparison: Internal Tables with and Without Header Lines
Data Retrieval
Database Read Access (Overview)
Reading Single Records
Suitable Target Structure for the Field List
Fields in the Target Structure that have the Same Names as those
in the Field List
Reading several rows using a loop
Reading Several Rows Using an Array Fetch
Reading Data From Client-Specific Tables
Performance Aspect: Secondary Index
Example of a Table Join
Entries for Defining a Table Join
Implementation Options for Table Joins
Database Change Accesses
Internal Program Modularization with Subroutines
Parameter Passing (Motivation 1)
Parameter Passing (Motivation 2)
Ways of Passing Interface Parameters
Defining and Calling Subroutines
Typing the Interface Parameters
Typing the Interface Parameter for Structures and Internal
Tables
Visibility of Global and Local Data Objects
Syntax Example: Passing an Internal Table
Implementing a Subroutine Call
Subroutines in Debugging Mode
End of Day 2

You might also like