The guide helps users distinguish between Master Data (which remains relatively unchanged) and Transactional Data (which captures specific events within a business process). It also explains how to establish relationships between tables, modify field aliases, and apply filters to ensure data integrity and relevance.
By following the outlined procedures, users can effectively structure and optimize entities for efficient data management and business process integration within SAP. This ensures consistency, accuracy, and proper utilization of system resources while maintaining compliance with organizational standards.
Access SAP in transaction ZONT_ONECM.
After clicking "Create", you will be taken to the entity configuration screen. The first section to configure is the following:
After configuring the entity’s Name and Tags, you can proceed to assign its tables and define the relationships between them.
Click on "Build Join".
To add a table, click on the indicated symbol or use the shortcut SHIFT+F1.
A pop-up window will appear where you must enter the table name (you can also add Z Tables and CDS views). For this example, use VBAK and click "Continue".
The table will be added to the entity and displayed with its list of fields/columns, identifying key fields within each table.
If another table related to the first one is added, a relationship between key fields will be automatically established. For example, adding the VBAP table will create a relationship through the VBELN fields.
To change the relationship type between fields, right-click the relationship and select "Inner Join" or "Left Outer Join" as needed. Relationships can also be deleted.
To manually create a relationship between two fields, click on the desired field and drag the cursor to link it to another field. It will be identified with a dotted line and colored points (red and blue) to mark connection points.
If no existing relationships are found between two tables, click "Join conditions" to let the modeler generate relationships automatically.
Once table additions and relationship configurations are complete, click "Back" to continue.
Left Side: Available Fields
Displays the selected tables. When you expand a table from the list, you will see all available columns for that table.
Right Side: Selected Fields
Also shows the selected tables, but in this section, only the columns you have selected for each table will be visible. This allows you to review and manage the specific data fields that will be used.
Once the columns additions configuration are complete, click "Back" to continue.
After completing your table and column selection, you can now proceed to configure the alias for each table.
Aliases are used to simplify table references and improve readability during the modeling process.
They are especially useful when you prefer to work with friendly and easily identifiable names instead of technical table names. Aliases will also be reflected in the target subscriber, allowing for more intuitive interpretation of the data structure.
The first list displays tables loaded into the entity with their technical name, alias, description, and key field relationships.
The "ID" column with a warning icon (if present) indicates that the table is being used in another entity with the same alias. Modifying fields in one entity will affect the other.
To change the alias and description, click on the text field and enter the new alias.
Similarly, field/column aliases can be modified in the second list. Click on the "Field Alias" text field and enter the desired alias. "Field Description" can also be modified this way.
Key field aliases cannot be modified if their table alias is being used in another entity.
The "KeyFlag" column indicates whether a field is a key field for the table by default.
The "Selection" column allows selecting a field as a batch data submission criterion (explained in another manual).
If the entity should send data meeting specific criteria based on selected tables and fields, filters can be applied.
At the top of the entity configuration, click "Define Filters".
This section displays folders representing the added tables. Expanding them reveals the selected fields/columns.
To select and filter a field, double-click it to open options for individual values or ranges on the right side.
Multiple filters can be enabled as needed by double-clicking each field.
After selecting the filters, click "Save" at the bottom.
For this example, the entity is configured to send only sales order data created between 01.01.2024 and 31.12.2024, transactions in USD, and organization 1710
This ensures that only SAP users with the defined authorization object can modify or delete the entity.
To configure it:
Enter the Authorization Object in the corresponding field.
Click on "Set Values".
In the Value field, type the required value for the authorization object.
There are two available options:
Standard Log: Saves all logs in the standard OneConnect log table.
Server File: Stores all logs in a .txt file located in an application server directory (this option requires a valid directory path to be specified).
After clicking "Save", the system will begin processing the entity.
Depending on the number of tables and fields included, this process may take several minutes. Please be patient and do not close SAP during this time. Allow the system to complete the saving operation.
Once the process is finished, you will be automatically redirected to the OneConnect main menu, and a confirmation message will appear at the bottom of the screen. At this point, the entity will have been successfully created and will be available for execution in the Entities list.