Reading Data from SAP HANA Modelling Views Using PowerCenter

Reading Data from SAP HANA Modelling Views Using PowerCenter

Creating a Mapping

Creating a Mapping

After you import the HANA modelling view, create a mapping. In PowerCenter, select a source filter that you configured in SAP and specify the variables or parameters.
  1. Create a mapping.
    If you use input parameters, do not connect the input parameters in the Source Qualifier to the output fields. Otherwise, the mapping fails.
  2. To edit the Source Qualifier, click the
    Properties
    tab in the
    Edit Transformations
    window.
  3. Click the icon next to the
    Source Filter
    field.
    The
    SQL Editor
    page appears.
  4. Select the column view in which you want to apply a filter from the list of column views on the left pane.
  5. Specify the variable name or input parameter name in double quotes. Specify the variable value or input parameter value in single quotes. When you want to specify more than one variable or parameter, separate the variables or parameters using commas.
    The following image shows a source filter for a variable value: The view uses a variable COMPANY that has a value of 1000.
    In the above figure, the view
    ANLV_PURCHASE_ORDER_USING_VAR_01
    has a variable
    COMPANY
    with a value of
    1000
    .
    The following image shows a source filter for parameter values:
    The image shows a view with multiple parameters separated using commas.
    In the above figure, the view
    ANLV_PURCHASE_ORDER_USING_PARAM_00_1
    has a parameter
    PARAM_O_ip_param_4_category
    with a value of
    MM
    . The view also has a parameter
    PARAM_O_ip_param_4_comp
    with a value of
    1000
    .
  6. Click
    OK
    .
  7. Click
    Apply
    .
    The fields are mapped.

0 COMMENTS

We’d like to hear from you!