Ansicht
Dokumentation
ABENDDIC_TOOLS - DDIC TOOLS
RFUMSV00 - Advance Return for Tax on Sales/Purchases General Material DataThis documentation is copyright by SAP AG.
- Tools for Dictionary Objects
Dictionary objects are maintained using the ABAP Dictionary tool in ABAP Workbench and the ABAP Development Tools (ADT). The ABAP Dictionary tool in ABAP Workbench and the ADT tools each cover parts of the set of dictionary objects, but most objects can be maintained using both methods.
The ABAP Dictionary Tool in ABAP Workbench
The ABAP Dictionary tool is integrated into the SAP GUI-based ABAP Workbench and can be called as a standalone tool using the transaction SE11. In all other ABAP Workbench tools, the associated tool for a dictionary object can be called using forward navigation.
The ABAP Dictionary tool in ABAP Workbench includes the functions required to create and maintain the following dictionary objects:
Dictionary objects are maintained in form-based tools, which means that their attributes are entered on SAP GUI screens and stored as metadata in the associated system tables when saved.
More information about the ABAP Dictionary tool in ABAP Workbench can be found in the ABAP Dictionary documentation in SAP Help Portal.
Note
The names of the attributes of dictionary objects that can be maintained in the ABAP Dictionary tool of the ABAP Workbench follow the names used in that tool.
Tools in ADT
The ABAP Development Tools (ADT) provide form-based and source-code-based tools for maintaining dictionary objects.
Form-Based Tools
For the following ABAP Dictionary objects, the ABAP Development Tools (ADT) offer form-based tools that work in a similar way to the ABAP Dictionary tools in ABAP Workbench:
A description of these tools can be found under Working with Classic Objects in ABAP Dictionary.
Source-Code-Based Tools
The ABAP Development Tools (ADT) offer source-code-based editors for the following ABAP Dictionary objects:
- These dictionary objects are edited using the following Dictionary DDL statements:
- Here, however, the source code of the dictionary objects is not saved and transported. Instead, the source code of a dictionary object of this type is generated from the metadata of the associated system tables. Conversely, the metadata itself is derived from source code directly and saved to the system tables. Like in ABAP CDS, the source code contains SQL parts that define the data structure and annotations (introduced using @) that define attributes.
- Type pools are edited in ABAP Editor in ADT.
- Dependency rules are defined using the following Dictionary DDL statement:
- The source text for dependency rules is saved and transported and a dependency rule is created from the source code.
- Dynamic caches are defined using the following Dictionary DDL statement:
- The source code for dynamic caches is saved and transported.
Notes
- The standalone transportable table-specific technical attributes of DDIC database tables are maintained in a form-based tool in ADT and not in Dictionary DDL.
- A description of the Dictionary DDL for structures, DDIC database tables, and append structures can also be found in the ADT documentation Syntax of ABAP Dictionary Objects.
Example
The following source code shows a definition of the DDIC database table SCARR using Dictionary DDL. The annotations defined the technical and semantic attributes of the table. The structure itself is defined after the statement DEFINE TABLE, with further annotations describing the attributes of database fields.
@EndUserText.label : 'Airline'
@AbapCatalog.enhancementCategory : #EXTENSIBLE_CHARACTER_NUMERIC
@AbapCatalog.tableCategory : #TRANSPARENT
@AbapCatalog.deliveryClass : #A
@AbapCatalog.dataMaintenance : #ALLOWED
define table scarr {
@AbapCatalog.foreignKey.keyType : #KEY
@AbapCatalog.foreignKey.screenCheck : true
key mandt : s_mandt not null
with foreign key [0..*,1] t000
where mandt = scarr.mandt;
key carrid : s_carr_id not null;
carrname : s_carrname not null;
@AbapCatalog.foreignKey.keyType : #NON_KEY
@AbapCatalog.foreignKey.screenCheck : true
currcode : s_currcode not null
with foreign key [0..*,1] scurx
where currkey = scarr.currcode;
url : s_carrurl not null; }
PERFORM Short Reference RFUMSV00 - Advance Return for Tax on Sales/Purchases
This documentation is copyright by SAP AG.
Length: 9580 Date: 20240418 Time: 174035 sap01-206 ( 123 ms )