Cost Center

Replicate cost center master data inbound to SAP Fieldglass from SAP S/4HANA Cloud or SAP S/4HANA.

Context

SAP S/4HANA Cloud or SAP S/4HANA is the source/master for cost center maintenance. There’s only one SAP S/4HANA Cloud or SAP S/4HANA tenant responsible for a cost center and only this tenant can change the cost center.

Cost Center data replicates automatically based on the delivery time defined in the MDI_COSTCENTER subscription that you configure.

Connector Description

Procedure ID

1629

Connector Name

Cost Center Upload

Activity

Upload

Connector Description

This connector enables Buyer Administrators to upload multiple sets of cost center data into the application at one time, eliminating the need to manually enter each set of data through the user interface.

Version

API-A-V1.0

Type

Standard

System

FG

Module

Cost Center

Company Type

Both

Transformers (comma-separated list of class.method)

insite.web.integration.translator.CostCenterCsvTranslator

Refer to the following image:

The connector details are as follows:

Connector Details

Connector Details

Cost Center Upload

Comments/Notes

Real Time vs. Batch

Real-time

 

Transfer Method

Web Services

 

File Type

JSON

 

Version

API-A-V1.0

 

Field Layout / Data Mapping

Refer to the upload column transform mapping below.

 

Procedure

  1. On the Configuration Manager Self-Service Dashboard, choose the Connectors tile.
  2. On the Connector List page, choose the Connector Catalog tab.
  3. Locate the 'Cost Center Upload' connector version 'API-A-V1.0', and click the connector name hyperlink.
  4. On the connector Integration page, choose Edit (or if the connector is disabled, choose Enable to activate it).

    The Connector Setup page opens in the setup wizard.

  5. Follow the instructions below and in the setup wizard to configure the connector, choosing Next to advance through the setup pages.
    1. In the Connector Name field, enter a custom name, for example Cost Center Upload - variant 1.

    2. In the Upload Data Format option, choose JSON.

    3. In the Pre-Processor list, choose insite.partner.preprocessor.JsonToCsvPreProcessor.preProcess, as shown next:

    4. In the Customize step under Upload Column Transform, choose + Add Native Field to add the following native field:

      Upload Column Mappings

      Standard Column Name

      File Column Name

      Script

      Default Value

      Account Category

         

      Cost Center

      Currency

         

      ALL

      Include All Expense Flag

         

      Yes

      Include ALL Task Flag

         

      Yes

      Reason

         

      MDI Integration close

    5. Choose Next.

    6. In the Connectivity step under Transfer Method, choose Subscription.

    7. In the Configure End Point step, choose Create New and continue to follow the instructions in the setup wizard.

      1. In the ID field, enter the end point ID, for example, MDI_CostCenter_Company Code (where _Company Code is an underscore (_) followed by your company code).

      2. In the Category list, choose Webservice.

      3. Under Web Service Details, enter the required Web Service URL. Username and password are optional.

      4. On the bottom of the page, click + Add Additional Fields and add the following fields:

        End Point Additional Fields

        Name

        value_text

        __webservice_transport_class

        insite.onemasterdata.transport.OneMasterDataWebserviceTransporter

        apiVersion

        v0/odm/3.7.0

        clientId

        <client ID value>

        clientSecret

        <client secret value>

        limitHint

        20

        serviceEndPoint

        The end point you created in the previous step.

        since

        For a new setup, use initial. The system will generate this value after it's created.

        tokenIssuerEndpoint

        https://<system URL>/oauth/token

        Refer to the following image:

    8. To create the end point, choose Submit.

    9. Choose Next.

    10. In the Setup Subscription step, choose Create New.

    11. In the Setup Subscription dialog box, follow the instructions in the setup wizard to create with the following details.

      Subscription Details

      Field

      Value

      Type

      Upload

      Connector

      MDI_CostCenter_(Company Code)

      End Point

      MDI_CosteCenter_(Company Code) (refer to 'MDI_CostCenter_AWSM End Point Config' in the section above)

      Parameters

      one_mds_costcenter

      Subscriber

      insite.subscription.OneMasterDataWebserviceUploadSubscription

      Notification Email

      Optional field.

      Delivery Time

      Series of selections that set the scheduling for the subscription. Note that multiple values can be selected in the boxes using CTRL- or SHIFT- clicks. Set this subscription to run once daily.

      Time Zone

      Choose a value for where the subscription runs.

      Status

      Choose Enabled.

      Refer to the following image:

  6. To save the subscription, choose Save.
  7. Choose Exit Wizard.
  8. To test the connector upload, on the Self-Service Dashboard, choose the Integration Subscriptions tile. On the Subscription List page, run the MDI_COSTCENTER subscription to enable data polling using the end point and cost center variant you created, and then choose Run Now to test and enable the sequence to run.
  9. Verify the connector activity for cost centers processed in the Integration Audit Trail.