The goal of the ABAP Workbench Foundations (BC) course is for you to gain a detailed knowledge of the fundamental concepts of ABAP. In this course, students gain knowledge of the fundamental concepts of ABAP and learn how to comfortably and efficiently work with the ABAP Workbench tools . ABAP/4 Development Workbench. Objectives Chapter 2. The ABAP/4 Programming Language. ABAP/4 Development Workbench Architecture. ABAP/4 : General.

Author: Nigis Gomuro
Country: Nigeria
Language: English (Spanish)
Genre: Art
Published (Last): 20 April 2007
Pages: 458
PDF File Size: 6.30 Mb
ePub File Size: 3.94 Mb
ISBN: 309-8-78001-689-5
Downloads: 4092
Price: Free* [*Free Regsitration Required]
Uploader: Goltikora

The amount of data stored far exceeds the demands of a customer.

BC400 ABAP Workbench: Foundations

This means that memory is only allocated when the subroutine is called and is released as soon as the subroutine has been executed. The contents are copied left-justified without gaps.

Make sure that the key fields of the database table SFLIGHT are available to you for creating the detail list when the user selects a flight from the basic list double-click or F2 on the corresponding row in the list. Single Step and Field Contents In debugging mode, you can choose Single step to execute the program statement by statement. Certain graphics will, however, be enhanced to include these details whenever they are relevant to ABAP programming. Data Retrieval BC 5.

The system transports the structure data to the screen fields automatically.

ABAP Workbench Foundations

You can manage all necessary data, without redundancies, using these relationships. To be able to change variables at runtime, you must therefore program a processing block. You have two ways of doing this: Trigger the dialog sequence for creating a program using the package context menu or the Program node. Assigning Actions to Buttons In step three of our example, you will learn how to assign pushbutton functions. Transaction Codes Task 1: Working with Internal Tables Key definition The key columns and their sequence define the criteria by which the table rows are identified.


The above example shows a subroutine that calculates a percentage.

BC Introduction à ABAP Workbench – PDF Drive

If the current statement abxp located in a subroutine, you can execute the rest of the subroutine without it stopping by choosing Return.

They are frequently used to make lists independent of a specific language. Authorization Check Exercise Type conversions and type casting are supported. The system sends a query to the database every time the user double-clicks the list. Encapsulate the display of data in a list in a subroutine.

There are techniques available for screens that allow you to control the order in which checks are performed and, if errors occur, to make the fields input-ready again, where appropriate.

Each statement must end with a period. The entered data is then automatically placed in its corresponding data objects in the program and the ABAP runtime system resumes control of processing. Searching for Database Tables You have different options for searching for database tables: Therefore, these operations are only supported for standard and sorted tables.

Reuse Components for Data Retrieval If reusable components that encapsulate complex data retrieval are available, you must use them. A record is placed in a common abpa in the results table if all the field values of the linked columns match.

The DB Properties in the menu Extras have nothing to do with this topic, but are provided for other implementation options. Internal Tables in Debugging Mode You can trace the row contents of an internal table by entering the name in the left column. Both the formal parameters and the local data objects are only active at the runtime of the subroutine. Data Retrieval BC Figure This allows the navigation area to be used in a very flexible manner.


If no comparison is successful, then the system executes the ELSE branch, if it is available. You can display the contents of up to eight data objects. This is called the gc400.

Double-clicking on an object that does not have an object list means the object is displayed using the respective tool in the tool area. Define an internal table name suggestion: If the user then chooses the Execute function, the input field values are transported to the program data objects with the same name and can be evaluated in the ABAP processing blocks.

Save the program, activate it, and then by generate the list by choosing Execute for the program. Within the loop statement, calculate the percentage occupancy for each flight.

Display the data from the subroutine using a LOOP. In this example, the data records of the internal table are sorted descendingly by the percentage occupancy of flights. In the Object Navigator, display the object list for your program.

Note that the order of the key fields plays a part here. In addition, transaction codes provide several additional link options. These tools cover the entire software development cycle.