Onboarding
Onboarding
02 TAW11
04.03 – taw11
UNIT14, 15 se scot;
Se24- clase
Se10 transport
Transport se da release la toate o data. Altfel ar putea crapa. Sunt functiile create???
SE37 functii
MESSAGE: Tnnn
If sy_subrc=0.
message S/I/ W/000(ZBC400_mSG_Class_LC).
Else.
endif.
Se93- transactie
Top Include: declaratii de date care se pot accesa din orice subrutina??
Tioul unei linii din table type se defineste pe baza unei structure
Ls
Spatiu la caractere??
DO IF….Ext
END DO
Sy_subrc= o , select e =o
=4, nu e cu success
Sy_u
Unit 9 Debugger
WATCh Point
Urmarest schimbarea unei variabile se opreste cu o linie inainte unde se schimba var pe care s-a pus
watch point
UNIT 10
Ce e cu DATA decarat e local, dar sunt globale pt routine, globale la nivel raportului;
Unit 11
1. Byte code for statements: The compiled version of the program logic, which is
executed by the runtime system. Once compiled, the byte code remains constant
during program execution.
2. Values of constants and literals: Constant values or literal values (hard-coded
values) used in the program. These values are predefined and do not change
during the execution of the program.
3. Program texts: The actual source code and comments written by the developer.
The source code, once written, is considered non-modifiable during runtime.
4. Screen definitions: The layout and structure of user interface screens defined in
the program. This includes the arrangement of fields, labels, and other UI
elements.
Local data types only exist in the program in question and, therefore, can only be used there.
The declaration is made using the TYPES statement.
A data type defined in the ABAP Dictionary is called global, as it can be used throughout the
entire SAP system concerned.
Categories of Data Types ● Built-In ● Local ● Global
These types will be used to define variables (data objects).
Data objects are always defined with the DATA keyword. You can use an ABAP standard type, a
local type, or a global type to define a data object.
If the domain of a check field has a value table, you have the option to let the system automatically
propose a foreign key relationship based on that value table. A foreign key relationship establishes a
connection between two tables, typically where one table (foreign table) refers to the keys of another
table (primary table). In this case, the domain's value table is proposed as a potential check table for the
foreign key field.
However, it's important to note that merely specifying a value table for a domain doesn't automatically
enable full value help and input validation for the field. To leverage these functions, you need to define
a foreign key relationship explicitly. The foreign key definition ensures that the field's values are
validated against the entries in the associated value table, providing both input assistance and validation
checks.
In summary, the domain's value table is used by the system to propose a potential check table for a
foreign key assignment, but you need to define the foreign key explicitly to activate the complete set of
value help and validation functions for the field.
1. Example:
In the "Employees" table, if there is a column "DepartmentID" that is a
foreign key referencing the "Departments" table's primary key (e.g.,
"DepartmentID"), it establishes a relationship between the two tables. This
ensures that employees are associated with valid department IDs from the
"Departments" table.
In summary, tables store data, and foreign keys establish relationships between tables
by linking the data in one table to the primary or unique key in another table. This
relational structure allows for efficient and organized data storage in a relational
database system
UNIT 8:
Check Table : It is nothing but table it contains all valid entries of a particular foreign key table field.
Basically the check table is used for field level validation (it restricts the field value).
Example : A foreign key links two tables T1 and T2 by assigning fields of table T1 to the primary key fields
of table T2. Table T2 is then known as the check table of the foreign key.
The check table will carry out the check for input values for the table field being entered in any
application and value table will provide values on F4 help for that table field.
https://blogs.sap.com/2020/12/01/check-table-and-value-table/
Text table,
Text Tables (SAP Library - ABAP Dictionary)
Custumnamespace: z_
-stocheaza rapoartele si tot ce tine de client;
INPUT: selection screen
OUTput:dynpro, screens.
-The join conditions can also be derived from the existing foreign key relationships. Copying the join
conditions from the existing foreign keys is supported in the maintenance transaction
-the set of data that can be selected with a view depends on whether the view implements an inner join
or an outer join. With an inner join, you only receive the records that have an entry in all the tables
included in the view. With an outer join, the records that do not have a corresponding entry in some of
the tables included in the view are also selected
-Database views implement an inner join. You only obtain the records that have an entry in all the tables
included in the view.
-A database view is defined in the ABAP Dictionary and automatically created in the database during
activation. Accesses to a database view are passed directly to the database from the database interface.
-If the definition of a database view is changed in the ABAP Dictionary, the view created in the database
must be adjusted to this change. As a view does not contain any data, this adjustment is made by
deleting the old view definition and creating the view again in the ABAP Dictionary with its new
definition.
-The maintenance status defines whether you can only read with the view or whether you can also write
with it. If a database view was defined with more than one table, you can only read with this view.
- The data read with a database view can be buffered. View data is buffered in the same way as with
tables. The technical settings of a database view control whether the view data may be buffered and
how this should be done. The same settings (buffering types) can be used here as for table buffering.
The buffered view data is invalidated when the data in one of the base tables of the view changes.
---Selection with a database view is faster than access to individual tables. When selecting with views,
yyou must also ensure that there are suitable indexes on the tables contained in the view
-if an append structure is added to a table included in a view, the fields added with the append structure
are automatically included in the view