Ansicht
Dokumentation
DC_ENTITY_RELATIONS - Data Controller: Test Entity Relations
ABAP Short Reference BAL Application Log DocumentationThis documentation is copyright by SAP AG.
Purpose
This program lists information on relations of entity types and entities.
Integration
Prerequisites
Features
Selection
The program offers the following selections:
- Scenario
- There are relations of entity types and entities. To test these relations the following scenarios are possible:
- Entity type relations: List all relations between all entity types.
- Leading entity types: List all leading entity types for a specified entity type.
- Get relations for entity: List all relations (incl. transitive ones) for the specified entities.
- Get by leading entity: List all entities of the specified entity type for which the entities 1, 2 or 3 (see Leading Entity Type 1 and Leading Entity ID 1, ...) are leading.
Standard Variants
Output
Depending on the selected scenario the following information is output:
- Entity type relations
- For each entity type it is either stated that it has no dependent entity types (message no. 225 of class DATA_CTRL) or it has one or more dependent entity types. For each dependent entity type a log message (message no. 224 of class DATA_CTRL) is provided.
- Leading entity types
- Similar to the previous scenario leading entity types are listed (if any) but only for the specified entity type. I.e. for this scenario all leading entity types of the specified entity type are output.
- Get relations for entity
- Relations of entities are determined in both directions: (1) from an entity to its leadingentities and (2) from the entity to its dependententities. For each found entity this process is applied again. Hence, all entities are determined which are related directly or indirectly (any kind of transitivity) to the specified entities.
- For each relation of two entities a log message is provided (message no. 229 of class DATA_CTRL). In case an entity has no dependent entities, a corresponding log message is provided (message no. 230 of class DATA_CTRL).
- Get by leading entity
- Similar to the previous scenario relations of entities are determined. However, here only directrelations from the specified entities to their leading entities are output. A log message is provided for each relation (message no. 233 of class DATA_CTRL)
Activities
Example
Vendor Master (General Section) RFUMSV00 - Advance Return for Tax on Sales/Purchases
This documentation is copyright by SAP AG.
Length: 3526 Date: 20240531 Time: 113736 sap01-206 ( 61 ms )