Define a New SAP Metadata Library

Use the New Library Wizard to define the SAP metadata library. You can access it from the Data Library Manager in SAS Management Console.
The SAP metadata library is a reference to the physical location of the directory to which you want to pre-extract your SAP metadata. For example, your SAP metadata library for your SAP R/3 System might be C:\r3meta. Pre-extracting metadata saves the SAP metadata to SAS data sets that are stored in the SAP metadata library. Pre-extracting the metadata improves performance when you are browsing the SAP metadata, and you can use all functions that are available in the SAP BW Register Tables wizard and the SAP R/3 Register Tables wizard.
You must pre-extract SAP BW metadata to an SAP BW metadata library before you can use the New SAP BW wizard. You can pre-extract your SAP BW metadata using the Extract from BW wizard in SAS Management Console.
You can pre-extract your SAP R/3 metadata to the SAP R/3 metadata library using either the Extract from R/3 wizard in SAS Management Console or the SAP R/3 Register Tables wizard in SAS Data Integration Studio.
If you are using both the SAP BW Register Tables wizard and the SAP R/3 Register Tables wizard, you need an SAP metadata library for each system. The SAP metadata libraries must be defined in SAS Management Console. Typically, an administrator defines the SAP metadata libraries.
Follow these steps to define a new SAP metadata library using the New Library Wizard:
  1. To open SAS Management Console, select Startthen selectProgramsthen selectSASthen selectSAS Management Console.
  2. Select Data Library Managerthen selectLibraries.
  3. To start the New Library wizard, select Actionsthen selectNew Library.
  4. Select SAS BASE Library from the SAS Data folder in the tree view and click Next.
  5. Enter the desired name and description for the SAP metadata library and click Next.
  6. Select a SAS Server from the list of available servers. Click the right-arrow button and then click Next.
  7. Enter the desired library reference in the Libref field.
    The library reference is the temporary name or alias that is associated with the location to which you want to pre-extract the SAP metadata. The metadata is written to SAS data sets that are stored in this location.
    Note: Do not change the default value in the Engine value. The BASE engine is selected by default.
  8. Use the Path Specification items to select the physical location of the directory that you want to identify as the SAP metadata library, or click New to define a new directory.
    If you click New, the New Path Specification dialog box displays. Either enter the exact physical path of the directory or click Browse to browse for the directory. After specifying the new directory, click OK to return to the New Library Wizard.
    Note: You can specify advanced library options, such as whether to pre-assign the library, input and output block size, and so on. To specify advanced library options, click Advanced Options in the New Library Wizard. For more information about the advanced library options, see the Data Manager Library Help that is available in SAS Management Console.
  9. Click Next and review the SAP metadata library definition.
  10. Click Finish to register the SAP metadata library definition in the metadata repository.