Beginners Guide – Learn SAP ABAP – View Data In Our Database Table
In this seventh video of module 2 we finally get to see the data we have entered into out table and take a look at some of the useful SAP data dictionary tools we have available.
In this seventh video of module 2 we finally get to see the data we have entered into out table and take a look at some of the useful SAP data dictionary tools we have available.
Now our table has been created we can enter records directly into it using some of the SAP ABAP Workbench tools for data entry. This video shows how to navigate to the data entry options and a few tips on screen set-up. For Reference You can get the the data entry screen through your ABAP […]
This is last video covering SAP Table Creation. You can watch the previous video here: Create A SAP Table Part 3. Watch that video first.
The last final field that we’re going to create is ‘Date of Birth’. Create data element ‘ZDOB’. Use forward navigation to create it, saving the table along the way and choosing ‘Yes’ to create the data element. Enter ‘Date of Birth Data Element’ for the short text.
For the Domain, once again enter ZDOB and use forward navigation to create the domain and choose ‘Yes’ to save the data element. Assign it to the ‘local object’ and choose ‘Yes’ to create the domain. Enter ‘Date of Birth’ in the short text field.
Now, for the Data Type, ‘date of birth’ is a date field so we want to choose the appropriate date field from the drop-down box. Press the F4 key to bring up the drop-down box and choose the entry that says ‘DATS’. Press the enter key and you can see an information box has popped up just to tell us the attributes of the DATS field have been assigned to this domain.
This is a continuation of the previous video here: Create A SAP Table Part 2. Watch that video first.
In this article we’re going to continue creating our first data table. In the previous article, we went through every single step to create our first field data element and domain. Now we’re going to continue creating the four additional fields but a little bit faster.
Field: SURNAMEThe next field we want to create is the SURNAME field by keying in the word SURNAME. We don’t want to make this a key field, so do not check the box.
Under Data element, let’s create an element called ZSURNAME. We will do this by using forward navigation. To do so, just double-click on ZSURNAME. A pop-up window should come up. Choose Yes to save the table. Then choose Yes to create ZSURNAME as a data element when prompted by another pop-up window. Next, key in the Short text field with the text Surname Data Element.
We will create a brand new domain. We’ll use forward navigation again. Double click ZSURNAME. Choose Yes to save the data element when prompted. Assign it to the Local object development class. Choose Yes to create the domain. Then key in SURNAME in the Short text field.
This is a continuation of the previous video here: Create A SAP Table Part 1. Watch that video first.
Next we will take a quick peep at the Value range tab. Now this tab is all about setting valid value ranges for the domain that you are creating. If you set a value range and the user enters a value in a field outside the valid value range that you set up, they will be shown an error message and be requested to enter a valid entry.
There are three options to choose from when creating value ranges.
In this lesson we are going to start creating our first SAP table. With your SAP GUI open and logged in, the first thing we’re going to do is find the Data Dictionary in the SAP menu.
Expand the Tools menu and choose the ABAP Workbench. Under the Development option you will see SE11 – ABAP Dictionary. Double click it, and you’ll then be presented with the first screen for the ABAP Dictionary.
Let’s go through the different options that we see on the screen.
Let’s focus on creating a table, first of all. So, what we want to do is click on the Database table option and we will focus on creating a transparent table. There are other types of tables such as Cluster Tables and Pool Tables, but you don’t need to concern yourself with those just now.
When you create a transparent table you need to ensure the table name adheres to the customer-defined name space. This means we need to start our tables with the letter Z or the letter Y. Most commonly, you’ll see the letter Z being used.
Welcome to the next module in this Beginners Guide to ABAP. In this module, we’re going to focus specifically on the Data Dictionary. The Data Dictionary (Transaction Code SE11) is the main tool that we use to look at, understand, and enhance the database and database tables that are used by our SAP system. We […]