Add custom object naming patterns
To decide whether SAP objects are custom instead of standard, LiveCompare matches their names against patterns in the CustomObjectNamingPatterns Excel External Data Source. If the default patterns don't cover your needs, you can add your own. For example, you can add a pattern for your own custom SAP namespace.
The CustomObjectNamingPatterns External Data Source has the following columns:
| Column | Description |
|---|---|
| Type | The type of an SAP object, or ALL for all object types. |
| SapQuery | A pattern that matches an SAP custom object name in SAP Query format. Use * as a wildcard character. |
| Like | A pattern that matches an SAP custom object name in SQLite format. Use % as a wildcard character. |
| Regex | A Regular Expression that matches an SAP custom object name. |
| IorE | If you set this to I, LiveCompare includes any matches for this row in the set of custom SAP objects. If you set this to E, LiveCompare excludes any matches. Use E only if you have an I entry for the same type. |
To add your own custom object naming patterns, follow these steps:
-
Sign in to LiveCompare as an Administrator or Editor, and then select
to go to the studio. -
Expand the Data > External Data Sources folder and then select Custom Object Naming Patterns.
-
Select the Custom Object Naming Patterns link in the External Data Sources screen, to download the External Data Source’s Excel spreadsheet.
-
Add new rows to the spreadsheet, following these examples:
-
Add your own custom namespace:
| Type | SapQuery | Like | Regex | IorE |
|---|---|---|---|---|
| ALL | */NAMESPACE/* | %/NAMESPACE/% | /NAMESPACE/ | I |
-
Add a naming pattern for all custom objects:
| Type | SapQuery | Like | Regex | IorE |
|---|---|---|---|---|
| ALL | CUSTOM* | CUSTOM% | ^CUSTOM | I |
-
Add a naming pattern for custom programs:
| Type | SapQuery | Like | Regex | IorE |
|---|---|---|---|---|
| PROG | CUSTOM* | CUSTOM% | ^CUSTOM | I |
-
Exclude a program name from the custom objects:
| Type | SapQuery | Like | Regex | IorE |
|---|---|---|---|---|
| PROG | CUSTOM* | CUSTOM% | ^CUSTOM | I |
| PROG | CUSTOM123 | CUSTOM123 | ^CUSTOM123 | E |
-
Save your changes.
-
Select Replace Data File In the External Data Sources screen and then upload the spreadsheet.
Your changes will take effect in any apps or workflows that use the CustomObjectNamingPatterns External Data Source to identify custom SAP objects.