Exporting and Importing Business Objects Based on Metadata
First Claim
Patent Images
1. A method comprising:
- detecting an indication to create a metadata file for a business object in a first database, wherein the metadata file indicates the hierarchical structure of interrelated data object types that constitute the business object and indicates relationships among the data object types;
determining a root data object type in a tree data structure representing the business object and a maximum depth, wherein the maximum depth represents a maximum level of the hierarchical structure for which metadata should be collected;
traversing each data object type of the tree data structure beginning at the root data object type;
locating each data object type in the first database;
determining metadata of each data object type from the first database; and
recording metadata of each data object type to the metadata file.
1 Assignment
0 Petitions
Accused Products
Abstract
A metadata file can be automatically generated based on a database instance and a user defined maximum depth. The relationships between data objects that constitute a business object may be visualized in a tree. The maximum depth limits the number of levels in the tree to traverse. A metadata file describes the structure of a business object and relationships between sets of data objects that constitute the business object. The structure defined in the metadata file can be used to export instances of the business object from the database. The exported business object instances can be imported to another database.
22 Citations
20 Claims
-
1. A method comprising:
-
detecting an indication to create a metadata file for a business object in a first database, wherein the metadata file indicates the hierarchical structure of interrelated data object types that constitute the business object and indicates relationships among the data object types; determining a root data object type in a tree data structure representing the business object and a maximum depth, wherein the maximum depth represents a maximum level of the hierarchical structure for which metadata should be collected; traversing each data object type of the tree data structure beginning at the root data object type; locating each data object type in the first database; determining metadata of each data object type from the first database; and recording metadata of each data object type to the metadata file. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer program product for automatically correlating transaction events, the computer program product comprising:
-
a computer usable medium having computer usable program code embodied therewith, the computer usable program code comprising; computer usable program code configured to, detect an indication to create a metadata file for a business object in a first database, wherein the metadata file indicates the hierarchical structure of interrelated data object types that constitute the business object and indicates relationships among the data object types; determine a root data object type in a tree data structure representing the business object and a maximum depth, wherein the maximum depth represents a maximum level of the hierarchical structure for which metadata should be collected; traverse each data object type of the tree data structure beginning at the root data object type; locate each data object type in the first database; determine metadata of each data object type from the first database; and record metadata of each data object type to the metadata file. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer program product for automatically correlating transaction events, the computer program product comprising:
-
a computer usable medium having computer usable program code embodied therewith, the computer usable program code comprising; computer usable program code configured to, detect an indication to create a product release, wherein a product release is a collection of business objects of different versions; determine a first business object instance to be included in the product release based, at least in part, on the indication; determine a first metadata file for the first business object instance, wherein the first metadata file indicates the hierarchical structure of the first business object instance; determine a first parent data object instance of the first business object instance; determine a first set of attributes of the first parent data object instance; write the first set of attributes and first metadata of the first parent data object instance to the export file; determine a first plurality of children data object instances based on the first metadata file; determine a second set of attributes of the each of the first plurality of children data object instances; and write the second set of attributes of each of the plurality of children data object instances to the product release. - View Dependent Claims (16, 17, 18)
-
-
19. An apparatus comprising:
-
a processing unit; a network interface; and a business object analysis unit operable to, detect an indication to create a metadata file for a business object in a first database, wherein the metadata file describes the hierarchical structure of interrelated data object types that constitute the business object and relationships between the data object types; determine a root data object type of the business object and a maximum depth, wherein the maximum depth represents a maximum level of the hierarchical structure for which metadata should be collected; collect metadata of the root data object type; write the metadata of the root data object type to the metadata file; determine that the maximum depth has not been reached; determine a plurality of children data object types; collect metadata of the children data object types; and write the metadata of the children data object types to the metadata file. - View Dependent Claims (20)
-
Specification