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:

  1. Sign in to LiveCompare as an Administrator or Editor, and then select Studio icon. to go to the studio.

  2. Expand the Data > External Data Sources folder and then select Custom Object Naming Patterns.

  3. Select the Custom Object Naming Patterns link in the External Data Sources screen, to download the External Data Source’s Excel spreadsheet.

  4. 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
  1. Save your changes.

  2. 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.