Managing SAP Metadata

In this section:

When the server accesses a data source, it needs to know how to interpret the data stored there. For each data source the server accesses, you create a synonym that describes the structure of the data source and maps the server data types to the SAP data types.


Top of page

x
Creating Synonyms
x x

Synonyms define unique names (or aliases) for each SAP data object that is accessible from the server. Synonyms are useful because they hide location information and the identity of the underlying data source from client applications. They also provide support for extended metadata features of the server such as virtual fields and additional security mechanisms.

Using synonyms allows an object to be moved or renamed while allowing client applications to continue functioning without modification. The only modification required is a redefinition of the synonym on the server. The result of creating a synonym is a Master File and Access File, which represent the server metadata.


Top of page

x
Types of SAP Synonyms

How to:

Reference:

The Adapter for SAP enables you to create synonyms for:

Note: IDOC synonyms are used for DataMigrator purposes and not for queries. Unlike other synonym types, you cannot create these synonyms from the Web Console. For more information, see Synonym Creation for IDOCs. If an underlying IDOC changes, due to SAP requirements, regenerate your IDOC synonyms after assessing the impact on any active DataMigrator flows.



x
Procedure: How to Create a Synonym

To create a synonym, you must have previously configured the adapter. You can create a synonym from the Web Console or the Data Management Console.

  1. From the Web Console menu bar, click Adapters, then New, and then Synonym

    or

    From the Data Management Console, right-click an application directory, then select New, and then Synonym.

    The Select adapter to configure or Select connection to create synonym pane opens.

  2. Click a connection for the configured adapter (or double-click in the Data Management Console).

    The first of a series of synonym creation panes opens.

  3. Enter values for the parameters required by the adapter as described in the synonym creation parameters reference.
  4. After entering the parameter values, click Create Synonym.

    The Status pane indicates that the synonym was created successfully.

The synonym is created and added under the specified application directory.



x
Reference: Creation Parameters for Table Synonyms

The following list describes the parameters for which you will need to supply values, and related tasks you will need to complete in order to create the SAP synonym. These options appear on multiple panes. To advance from pane to pane, click the buttons provided, ending with the Create Synonym button, which generates the synonym based on your entries.

Object Type

Select TABLE from the drop-down list

Multilanguage

A synoynm can be created using one or more languages. If you choose multiple languages, each selected language can have its own title and description attributes. For details on multilanguage titles and descriptions, see Multilanguage Titles and Descriptions.

  1. Click the Multilanguage check box to select languages in addition to the default logon language (the value of the SET LANGUAGE command at server startup). You get a list of available languages (the default language is not on the list).
  2. Select one or more additional languages. For SAP, the WebFOCUS Reporting Server logon language is used to retrieve all languages.

Note: For the your language selections to be implemented, the selected languages must be installed. Also NLS must be enabled and consistent with your code page settings in the NLS Configuration Wizard. To access this wizard from the Web Console menu bar, select Workspace, Configuration. In the navigation pane, expand the General folder and click NLS. For related information, see Code Pages and Multilanguage Synonyms.

Find by Tables or Views

On the next pane:

  • Select a Find by option: Application Tree, Development Class, or Name. (These options mirror the way SAP organizes and filters its data.)

    Subsequent selections vary depending on your Find method, as described below.

  • Indicate whether to retrieve objects associated with Tables, Views, or both.

Application Tree. Choose this option, then click Next to retrieve a list of applications.

On the next pane, choose an application from the list, then click Next.

Development Class. Choose this option and type a Development Class name in the input box, or enter a string with wildcards, as needed. For example, enter: abc* (or abc%) to select development classes that begin with the letters abc; *abc (or %abc) to select those that end with the letters abc; *abc* (or %abc%) to select those that contain the letters abc at the beginning, middle, or end.

Click Next to display the Development Classe(s).

On the next pane, select a Development Class, then click Next.

Name. Choose this option and type the name of a Table in the input box, or enter a string with wildcards (* or %), as needed.

Enter a value in the Limit entry box. The default is 2000 tables. A message requesting a limit value is displayed when the list of available tables is too large to retrieve.

Click Next.

Choose the following options, as required:

Foreign keys

Click this check box if you wish to generate information about primary key and foreign key relationships in the Access File of the synonym.

An individual Master File is generated for each table. However, the relationships indicated in the Access File can be defined between any number of tables, and can reflect any number of levels of relationships among those tables.

Note: During synonym creation you may get one or more of the following messages:

(FOC44457) FOREIGN KEY FIELD **** CANNOT BE RESOLVED
 
(FOC44458) ONE OR MORE FIELDS OF THE FOREIGN KEY DO NOT EXIST
 
(FOC44459) MULTIPLE FOREIGN TABLES

where:

****

Is a table name.

These messages indicate that some of the foreign key relationships could not be resolved, and are, therefore, omitted during synonym creation. These messages are informational only: they should cause you no concern. In fact, the synonym is created and can be used in your requests without any problems.

Application

Select an application directory. The default value is baseapp.

Prefix/Suffix

If you have tables with identical table names, assign a prefix or a suffix to distinguish them. For example, if you have identically named human resources and payroll tables, assign the prefix HR to distinguish the synonyms for the human resources tables. Note that the resulting synonym name cannot exceed 64 characters.

If all tables and views have unique names, leave the prefix and suffix fields blank.

Overwrite Existing Synonyms

To specify that this synonym should overwrite any earlier synonym with the same fully qualified name, select the Overwrite existing synonyms check box.

Note: The connected user must have operating system write privileges in order to recreate a synonym.

ODBC type fields

Select this check box only if the synonym is to be used by an application that connects to the WebFOCUS reporting server via ODBC.

Defines

When this option is selected, unsupported formats trigger the creation of DEFINE (virtual) fields.

From the list of tables at the bottom of the pane, choose those for which you wish to create synonyms:

Default Synonym Name

This column displays the name that will be assigned to each synonym. To assign a different name, replace the displayed value.

Select objects for synonyms

Click the check box to the left of Default Synonym Name to generate synonyms for all listed tables, or check individual boxes in the same column to generate synonyms for the selected modules.



x
Reference: Multilanguage Titles and Descriptions

When you create a Multilanguage synonym, title and/or description attributes for each selected language are added to the synonym. For example, if you choose French, the synonym will contain additional TITLE and DESC attributes of the following form:

TITLE_FR='french title'
DESC_FR='french description'

The default logon language generates titles and descriptions using the TITLE and DESCRIPTION attributes.

In order to make field names in the synonym language independent, they are created based on the unique name of the field (these names are called technical names). In synonyms created using only the default language, field names are created based on the field caption.



Example: Code Pages and Multilanguage Synonyms

The languages you wish to select for multilanguage synonyms determine which code page you should configure. For example, ISO 8859-1 can accommodate most Western European languages. Therefore, using this code page, you can request English, German, French, and Spanish.

The Unicode UTF-8 code page (65001) supports all languages and can therefore be used with any combination of languages. However, the UTF-8 character encoding scheme uses three bytes (in ASCII environments) or 4 bytes (in EDCDIC environments) to represent characters, increasing the storage needed for character data.



x
Reference: Creation Parameters for LDB Synonyms

The following list describes the parameters for which you will need to supply values, and related tasks you will need to complete in order to create the SAP synonym. These options appear on multiple panes. To advance from pane to pane, click the buttons provided, ending with the Create Synonym button, which generates the synonym based on your entries.

Object Type

Select LDB from the drop-down list.

Multilanguage

A synoynm can be created using one or more languages. If you choose multiple languages, each selected language can have its own title and description attributes. For details on multilanguage titles and descriptions, see Multilanguage Titles and Descriptions.

  1. Click the Multilanguage check box to select languages in addition to the default logon language (the value of the SET LANGUAGE command at server startup). You get a list of available languages (the default language is not on the list).
  2. You may select one or more additional languages. For SAP, the WebFOCUS Reporting Server logon language is used to retrieve all languages.

Note: For the your language selections to be implemented, the selected languages must be installed. Also NLS must be enabled and your language selections must be consistent with your code page settings in the NLS Configuration Wizard. To access this wizard from the Web Console menu bar, select Workspace, Configuration. In the navigation pane, expand the General folder and click NLS. For related information, see Code Pages and Multilanguage Synonyms.

Find by Native or Native Dynamic

On the next pane:

  • Select a Find by option: Application Tree, Development Class, or Name. (These options mirror the way SAP organizes and filters its data.)

    Subsequent selections vary depending on your Find method, as described below.

  • Indicate whether to retrieve objects associated with Native LDBs or Native Dynamic LDBs. For related information, see Limitations for Logical Databases.

    In Native mode a static report is catalogued and executed.

    In Native Dynamic mode specific BAPIs are called to provide results on an LDB query.

Application Tree. Choose this option, then click Next.

On the next pane, choose an application from the list, then click Next.

Development Class. Choose this option and type a Development Class name in the input box, or enter a string with wildcards, as needed. For example, enter: abc* (or abc%) to select development classes that begin with the letters abc; *abc (or %abc) to select those that end with the letters abc; *abc* (or %abc%) to select those that contain the letters abc at the beginning, middle, or end.

Click Next to display the Development Classe(s).

On the next pane, select a Development Class, then click Next.

Name. Choose this option and type the name of a Table in the input box, or enter a string with wildcards (* or %), as needed.

Enter a value in the Limit entry box. The default is 2000 tables. A message requesting a limit value is displayed when the list of available tables is too large.

Choose the following options, as required:

Application

Select an application directory. The default value is baseapp.

Prefix/Suffix

If you have tables with identical table names, assign a prefix or a suffix to distinguish them. For example, if you have identically named human resources and payroll tables, assign the prefix HR to distinguish the synonyms for the human resources tables. Note that the resulting synonym name cannot exceed 64 characters.

If all tables and views have unique names, leave the prefix and suffix fields blank.

Overwrite Existing Synonyms

To specify that this synonym should overwrite any earlier synonym with the same fully qualified name, select the Overwrite existing synonyms check box.

Note: The connected user must have operating system write privileges in order to recreate a synonym.

From the list of LDBs at the bottom of the pane, choose those for which you wish to create synonyms:

Default Synonym Name

This column displays the name that will be assigned to each synonym. To assign a different name, replace the displayed value.

Select objects for synonyms

Select the objects for which you wish to create synonyms:

  • For all objects, click the check box to the left of the Default Synonym Names column.
  • For specific objects, select the corresponding check boxes.


x
Reference: Limitations for Logical Databases

Synonym for SAP Logical Databases (LDB) can be generated in two different formats: SQL mode (set of joined SQL tables) or Native Mode (use of the underlying SAP Logical Database Program).

Note that in either mode, only the following LDBs are currently certified: VAV, SDF, KDF, CEK, CFK, CIK, CPK, CRK. Others need field certification.



x
Reference: Creation Parameters for Function Module Synonyms

The following list describes the parameters for which you will need to supply values, and related tasks you will need to complete in order to create a synonym for a Function Module. You click the Create button to generate the synonym based on your entries.

Note that not all function modules are suitable for reporting.

Object Type

Select Function Module from the drop-down list.

Multilanguage

A synoynm can be created using one or more languages. If you choose multiple languages, each selected language can have its own title and description attributes. For details on multilanguage titles and descriptions, see Multilanguage Titles and Descriptions.

  1. Click the Multilanguage check box to select languages in addition to the default logon language (the value of the SET LANGUAGE command at server startup). You get a list of available languages (the default language is not on the list).
  2. You may select one or more additional languages. For SAP, the WebFOCUS Reporting Server logon language is used to retrieve all languages.

Note: For the your language selections to be implemented, the selected languages must be installed. Also NLS must be enabled and your language selections must be consistent with your code page settings in the NLS Configuration Wizard. To access this wizard from the Web Console menu bar, select Workspace, Configuration. In the navigation pane, expand the General folder and click NLS. For related information, see Code Pages and Multilanguage Synonyms.

Find by

On the next pane, select a Find by option: Application Tree, Development Class, or Name. (These options mirror the way SAP organizes and filters its data.)

Subsequent selections vary depending on your Find method, as described below.

Application Tree. Choose this option, then click Next.

On the next pane, choose an application from the list, then click Next.

Development Class. Choose this option and type a Development Class name in the input box, or enter a string with wildcards, as needed. For example, enter: abc* (or abc%) to select development classes that begin with the letters abc; *abc (or %abc) to select those that end with the letters abc; *abc* (or %abc%) to select those that contain the letters abc at the beginning, middle, or end.

Click Next to display the Development Class(es).

On the next pane, select a Development Class, then click Next.

Name. Choose this option and type the name of a Table in the input box, or enter a string with wildcards (* or %), as needed.

Enter a value in the Limit entry box. The default is 2000 tables. A message requesting a limit value is displayed when the list of available tables is too large.

Choose the following options, as required:

Application

Select an application directory. The default value is baseapp.

Prefix/Suffix

If you have tables with identical table names, assign a prefix or a suffix to distinguish them. For example, if you have identically named human resources and payroll tables, assign the prefix HR to distinguish the synonyms for the human resources tables. Note that the resulting synonym name cannot exceed 64 characters.

If all tables and views have unique names, leave the prefix and suffix fields blank.

Overwrite Existing Synonyms

To specify that this synonym should overwrite any earlier synonym with the same fully qualified name, select the Overwrite existing synonyms check box.

Note: The connected user must have operating system write privileges in order to recreate a synonym.

From the list of tables (modules) at the bottom of the pane, choose those for which you wish to create synonyms:

Default Synonym Name

This column displays the name that will be assigned to each synonym. To assign a different name, replace the displayed value.

Select objects for synonyms

Click the check box to the left of Default Synonym Name to generate synonyms for all listed function modules, or check individual boxes in the same column to generate synonyms for the selected modules.



x
Reference: Creation Parameters for BAPI Synonyms

The following list describes the parameters for which you will need to supply values, and related tasks you will need to complete in order to create the SAP synonym. These options appear on multiple panes. To advance from pane to pane, click the buttons provided, ending with the Create Synonym button, which generates the synonym based on your entries.

Object Type

Select BAPI from the drop-down list.

Multilanguage

A synoynm can be created using one or more languages. If you choose multiple languages, each selected language can have its own title and description attributes. For details on multilanguage titles and descriptions, see Multilanguage Titles and Descriptions.

  1. Click the Multilanguage check box to select languages in addition to the default logon language (the value of the SET LANGUAGE command at server startup). You get a list of available languages (the default language is not on the list).
  2. You may select one or more additional languages. For SAP, the WebFOCUS Reporting Server logon language is used to retrieve all languages.

Note: For the your language selections to be implemented, the selected languages must be installed. Also NLS must be enabled and your language selections must be consistent with your code page settings in the NLS Configuration Wizard. To access this wizard from the Web Console menu bar, select Workspace, Configuration. In the navigation pane, expand the General folder and click NLS. For related information, see Code Pages and Multilanguage Synonyms.

Find by

On the next pane, select a Find by option: Application Tree, Development Class, or Name. (These options mirror the way SAP organizes and filters its data.)

Subsequent selections vary depending on your Find method, as described below.

Application Tree. Choose this option, then click Next to retrieve a list of applications that contain BAPIs.

On the next pane, choose an application from the list, then click Next.

Development Class. Choose this option and type a Development Class name in the input box, or enter a string with wildcards, as needed. For example, enter: abc* (or abc%) to select development classes that begin with the letters abc; *abc (or %abc) to select those that end with the letters abc; *abc* (or %abc%) to select those that contain the letters abc at the beginning, middle, or end.

On the next pane, select a Development Class, then click Next.

On the next pane, choose an object type, then click Next.

Name. Choose this option and type the name of a BABI in the input box, or enter a string with wildcards (* or %), as needed.

Enter a value in the Limit entry box. The default is 2000 tables. A message requesting a limit value is displayed when the list of available BAPIs is too large to retrieve.

On the next pane, select a BABI, then click Next.

Choose the following options, as required:

Application

Select an application directory. The default value is baseapp.

Prefix/Suffix

If you have tables with identical table names, assign a prefix or a suffix to distinguish them. For example, if you have identically named human resources and payroll tables, assign the prefix HR to distinguish the synonyms for the human resources tables. Note that the resulting synonym name cannot exceed 64 characters.

If all tables and views have unique names, leave the prefix and suffix fields blank.

Overwrite Existing Synonyms

To specify that this synonym should overwrite any earlier synonym with the same fully qualified name, select the Overwrite existing synonyms check box.

Note: The connected user must have operating system write privileges in order to recreate a synonym.

From the list of BABIs at the bottom of the pane, choose those for which you wish to create synonyms:

Default Synonym Name

This column displays the name that will be assigned to each synonym. To assign a different name, replace the displayed value.

Select objects for synonyms

Select the objects for which you wish to create synonyms:

  • For all objects, click the check box to the left of the Default Synonym Names column.
  • For specific objects, select the corresponding check boxes.


x
Reference: Limitations for Function Modules and BAPIs


x
Reference: Creation Parameters for Query Synonyms

The following list describes the parameters for which you will need to supply values, and related tasks you will need to complete in order to create a QUERY synonym. These options appear on multiple panes. To advance from pane to pane click the buttons provided, ending with the Create Synonym button, which generates the synonym based on your entries.

Object Type

Select QUERY from the drop-down list.

Cross Client Queries

SAP Queries can be created under two different query areas: Standard Area (client-specific) and Global Area (cross-client). By default, queries are created under the Standard Area so no action is required.

To create queries under the Global Area, select the Cross Client Queries check box.

Important: To be able to run WebFOCUS requests against queries that were originally created under the Global Area (cross-client), you must add the following selection criteria to the report request:

WHERE WORKSPACE EQ 'X';

Filter by Group and Query

To list queries for a specific Group, click the Filter checkbox and type a Group Name and/or a Query name in the input boxes provided, using the wildcard character (*) as needed.

Select Candidates button

Click to proceed to the next pane.

Note: If you receive the message No QUERYs Found, it is likely that the QUERY list was not generated.

Application

Select an application directory. The default value is baseapp.

Prefix/Suffix

If you have tables with identical table names, assign a prefix or a suffix to distinguish them. For example, if you have identically named human resources and payroll tables, assign the prefix HR to distinguish the synonyms for the human resources tables. Note that the resulting synonym name cannot exceed 64 characters.

If all tables and views have unique names, leave the prefix and suffix fields blank.

Overwrite Existing Synonyms

To specify that this synonym should overwrite any earlier synonym with the same fully qualified name, select the Overwrite existing synonyms check box.

Note: The connected user must have operating system write privileges in order to recreate a synonym.

Select objects for synonyms

Select the objects for which you wish to create synonyms:

  • For all objects, click the check box to the left of the Default Table Names column.
  • For specific objects, select the corresponding check boxes.
Default Synonym Name

This column displays the name that will be assigned to each synonym. To assign a different name, replace the displayed value.



Example: SAP Query Synonym Variants

When creating an SAP query synonym, all variants (if any) will be found at CREATE SYNONYM time. A two-segment Master File is created. The top segment holds the VARIANT field for all possible variants. The second segment is the actual report fields. A variant must be specified for running the report.

For example, with the following synonym:

$     $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$            SNAPpack generated on Thu Feb 20 11:44:07 2003
$            SAP instance: I46   SAP Release: 46C
$            MFD generated for QUERY: BASEAPP/ALM01_02
$     $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
FILE=BASEAPP/ALM01_02  ,SUFFIX=SQLSAP,
  REMARKS='UG: 02 Query: ALM01',$
SEGNAME=VARIANT,SEGTYPE=S0,$
  FIELD=VARIANT, ALIAS=VARIANT,ACTUAL=A14,USAGE=A14,ACCEPT=
     'CAUS' OR
     'MY VARIANT' OR
     '             ',$
SEGNAME=REPORT,PARENT=VARIANT,SEGTYPE=S0,$
  FIELD=SKA1_SAKNR, ALIAS=SKA1_SAKNR, USAGE=A010, ACTUAL=A010,
  TITLE='G/L acct', DESC='G/L account number',$
  FIELD=SKA1_GVTYP, ALIAS=SKA1_GVTYP, USAGE=A002, ACTUAL=A002,
  TITLE='AT', DESC='P&L statement account type',$
  FIELD=SKC1C_BUKRS, ALIAS=SKC1C_BUKRS, USAGE=A004, ACTUAL=A004,
  TITLE='CoCd', DESC='Company Code',$
  FIELD=SKC1C_GJAHR, ALIAS=SKC1C_GJAHR, USAGE=A004, ACTUAL=A004,
  TITLE='Year', DESC='Fiscal year',$
  FIELD=SKC1C_GSBER, ALIAS=SKC1C_GSBER, USAGE=A004, ACTUAL=A004,
  TITLE='BA', DESC='Business Area',$
  FIELD=SKC1C_HWAER, ALIAS=SKC1C_HWAER, USAGE=A005, ACTUAL=A005,
  TITLE='Crcy', DESC='Currency Key',$
  FIELD=SKC1C_UM01O, ALIAS=SKC1C_UM01O, USAGE=P16.2, ACTUAL=A16,
  TITLE='SKC1C-UM01', DESC='Monthly balance',$
  FIELD=SKC1C_HWAER1, ALIAS=SKC1C_HWAER1, USAGE=A005, ACTUAL=A005,
  TITLE='Crcy', DESC='Currency Key',$

A valid request using variant 'CAUS' is:

TABLE FILE ALM01_02
PRINT
  SKA1_SAKNR
  SKA1_GVTYP
  SKC1C_BUKRS
  SKC1C_GJAHR
  SKC1C_GSBER
  SKC1C_HWAER
  SKC1C_UM01O
  SKC1C_HWAER1
IF VARIANT EQ 'CAUS'
IF READLIMIT EQ 50
END

Note that the ACCEPT values list generated in the Master File for SAP Query Synonym Variants is optional. While a variant must be specified for running a report, you can choose to maintain your own variant list.



x
Reference: Synonym Creation for IDOCs

In previous releases of the server (5.3 through 7.1), support for IDOC synonyms was integrated into the Web Console. In Version 7 Release 6.x, IDOC synonym creation functions have been removed from the Web Console. This includes EDA (Electronic Data Interchange)/ALE (Application Link Enabling) options, which are no longer available on the Web Console.

Support for the creation of IDOC synonyms is now limited to read-only. You can create synonyms for IDOCs using the method described below. However, while the adapter can read an external file that represents an IDOC, users are responsible for generating the external file and providing the DBC attributes associated with that external file. (For related information that will be useful when specifying DCB attributes for a flat file representation of an IDOC, see the topic entitled FILEDEF Command Under UNIX, Windows, IBM i, z/OS, and OpenVMS in the Stored Procedures Reference manual.)

If you wish to generate an IDOC synonym, you can embed commands in a procedure (focexec), as shown in the following example:

CREATE SYNONYM i47_idocs/MATMAS03_edioff FOR MATMAS03 IDOC  EDIOFF
DBMS SQLSAP
AT I47
DROP
END 


Example: Creating a Synonym for an SAP Table

The following synonym was generated from a TABLE source: DDO2T. The specified system name is 146. When the synonym is created, this value is reflected in the Access File.

Generated Master File DD02T.mas

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$       SNAPpack generated on Tue Nov 26 17:42:06 2002
$       SAP instance: I46   SAP Release: 46C
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
FILE=DD02T, SUFFIX=SQLSAP
  REMARKS='R/3 DD: SAP table texts',$
 
SEGNAME=DD02T,SEGTYPE=S0,$
  FIELD=DD02T_TABNAME                       ,TABNAME ,
  A30         ,A30         ,MISSING=OFF,
  TITLE='Table',   DESC='Table name',$
  FIELD=DD02T_DDLANGUAGE                    ,DDLANGUAGE ,
  A1          ,A1          ,MISSING=OFF,
  TITLE='Lang.',   DESC='Language key',$
  FIELD=DD02T_AS4LOCAL                      ,AS4LOCAL ,
  A1          ,A1          ,MISSING=OFF,
  TITLE='Activation',   DESC='Activation status of a Repository object',$
  FIELD=DD02T_AS4VERS                       ,AS4VERS ,
  A4          ,A4          ,MISSING=OFF,
  TITLE='Version of',   DESC='Version of the entry (not used)',$
  FIELD=DD02T_DDTEXT                        ,DDTEXT ,
  A60         ,A60         ,MISSING=OFF,
  TITLE='Short text',   DESC='Short text describing R/3 Repository 
objects',$

Generated Access File DD02T.acx

SYSTEM=I46,$
SEGNAME=DD02T     ,
TABLENAME=DD02T, TABLETYPE=TRANSP,
MANDT=NO,
KEYS=4
,$


x
Reference: Managing Synonyms

Once you have created a synonym, you can right-click the synonym name in the Adapter navigation pane of either the Web Console or the Data Management Console to access the following options.

Option

Description

Open

Opens the Master File for viewing and editing using a graphical interface. If an Access file is used it will be also available.

Edit as Text

Enables you to view and manually edit the Master File synonym.

Note: To update the synonym, it is strongly recommended that you use the graphical interface provided by the Open option, rather than manually editing the Master File.

Edit Access File as Text

Enables you to view and manually edit the Access File synonym.

Note: This option is available only when an Access File is created as part of the synonym.

Sample Data

Retrieves up to 20 rows from the associated data source.

Data Profiling

Data Profiling provides the data characteristics for synonym columns.

Alphanumeric columns provide the count of distinct values, total count, maximum, minimum, average length, and number of nulls.

Numeric columns provide the count of distinct values, total count, maximum, minimum, average value, and number of nulls.

Refresh Synonym (if applicable)

Regenerates the synonym. Use this option if the underlying object has been altered.

Data Management

Followed by these options, if applicable:

Recreate DBMS Table. Recreates the data source table. You are asked to confirm this selection before the table is regenerated. (Note that the table will be dropped and recreated. During the process, data may be lost.)

Delete All Data. Deletes all existing data. You are asked to confirm this selection before the data is deleted.

Insert Sample Data. Inserts specified number of sample records, populating all fields with counter values.

Reorganize. Recreates the data source table preserving original data.

Note: This option is not available in the Web Console.

Impact Analysis

Generates reports on procedures, synonyms, and columns that provide information on the flows/stored procedures available on a particular server, and the synonyms and columns they use. These reports enable you to evaluate changes before they are made by showing which components will be affected. See the Server Administration for UNIX, Windows, OpenVMS, IBM i, and z/OS manual for details about Impact Analysis reports.

Copy

Copies the synonym to the clipboard.

Delete

Deletes the synonym. You are asked to confirm this selection before the synonym is deleted.

Cut

Deletes the synonym and places it on the clipboard.

Properties

Displays the properties of the synonym, including physical location, last modified date, description, and privileges.


iWay Software