Education Presentation ABAP Week-10
Education Presentation ABAP Week-10
Su Create Structures
04
Su Include Structures
05
Su Append Structure
06
ABAP DICTIONARY
Objects may have both active and inactive components at the same time
in ABAP dictionary. Objects of ABAP dictionary changed any number of
times before activating and available to the all components of the system.
Inactive objects have no impact on the system and uses for modifications.
Related Transactions -
One will not often have to delete an entire database table, for
largely the same reasons as were outlined above for fields. If
this does have to be done it is important to remember that
one’s own customer-specific tables are the only ones which
can be deleted, SAP delivered tables cannot be deleted.
Because ZABAP_M has only just been created, and nothing
else depends on this table, it can be deleted without
consequences.
Insert this into the Database table field on the screen and
then click the ‘Where-used list’ icon from the toolbar.
Database Utility
Database Utility
Transaction code is SE14 Utilities for Dictionary Tables.
You could use SE14 for database utility OR you could go to SE11,
give your database table name, go inside SE11 and then Utility-
>Database Object->Database Utility.
Uses:
a) Convert Data (I.e. change field lengths and data types etc)
b) Activate Objects
c) Create/Delete/Change of tables and indexes
Approach:
1) When you have changed some database definition. For example you
have created a Database table with 4 fields and maintained data. But
later on you decide you need to add some more fields. In that case,
you add the fields in data base and then "Activate and adjust" with
'Save data“
Processing Type:
What is Structure?
Structure is a group of components defined under a name. A
component is a field that can be an elementary type or another
structure or table.
Structures are two types based on how they have used and those
are -
Structured are three types based on how they created and those
are -
APPEND STRUCTURE
These can be used to add additional fields. This is the preferred
CLICK HERE
method for maintaining SAP delivered tables and quite often for
customer-specific tables. If one does not use Append structures,
problems can arise if, for example, a new version of SAP is used
which does not correspond with aspects of the tables already
created, resulting in serious errors.
Enter
Structure Name
Append Structure
Append Structure
APPEND STRUCTURE
NOTE: Structures are useful for painting screen fields, and for
manipulating data that has a consistent format defined by a
discrete number of fields. A structure may have only a
single record at run-time, but a table can have many
records.
CREATING STRUCTURE
STRUCTURE SCREEN
It opens Dictionary: Change Structure screen.
INCLUDE STRUCTURE
Include structures are similar to Append structures, with the main
difference being that they are re-usable objects and can be
linked to many other tables, ABAP programs, dialogue programs
and structures. It is important to keep in mind that Include
structures must be flat structures, meaning that they cannot hold
any additional structure within them, and that the maximum length
of the fields within an include structure is 16 characters.
Enter
Structure Name
Including Structure
Structure
included
INCLUDE STRUCTURE :
Thank you!