Connector Documents - General Information

This topic includes information about company types, information included for all connectors, and connector format types (CSV, XML , or JSON).

Company Types Defined

Company Types (Buyer, Supplier, MSP Partner)

This section explains how SAP Fieldglass defines a buyer, supplier, and MSP partner. Company types are referenced in each connector document and identify whether the connector can be enabled for a buyer, supplier, and/or MSP partner.

Buyer

A company that hires external workers through suppliers to supplement their workforce or complete projects. Buyers could also require services and obtain them from third parties through statements of work. Buyers pay suppliers for services and workers; they do not pay the workers directly. A buyer may have agreements with multiple suppliers because suppliers frequently focus on a specific type of worker or service: IT, accounting, light industrial, and so forth.

Supplier

A company that provides temporary workers and/or fulfills the requirements of a statement of work. Suppliers pay workers directly.

MSP Partner

A managed service provider (MSP) that serves as a liaison between suppliers and buyers and consolidates contingent labor activity into a single point of contact. MSP partners frequently manage the contingent workforce supply chain from requisitions to payment, including every process in between.

Information Included in All Connector Documents

The following sections are included for all connectors.

Connector Description

Information about how the connector is used is provided in this section.

Connectors can be enabled or disabled (turned on or off). Some connectors may not be enabled for all buyers but can be enabled at the request of an appropriate party requiring its use.

Connector Overview

The following information is contained in the Connector Overview section for each connector document:

Version Type

Version types indicate different methods for running the connector:

  • BULK: Processes large amounts of data efficiently

  • API: Processes smaller amounts of data efficiently

  • API-A: More efficient version of API

For more information about version types, refer to the Connector Version Types topic.

Format

Prerequisites

Prerequisites must be in place to utilize the given connector in Fieldglass.

Predecessors

Predecessors are either connectors or data objects that must exist in Fieldglass for the given connector to operate.

Related Connectors

Related connectors are other standard SAP Fieldglass connectors that provide functionality frequently used in place of a similar connector or in concert with the given connector.

Triggering Events

Triggering events are activities must occur for the record to be downloaded.

Parameters

Some download connectors have parameters that can be used to restrict the type of records to be downloaded. For example, you might want to download invoices for a specific department within a company. If a download connector has parameters associated with it, this section provides details about using them.

Duplicate File Check (CRC Check)

The Duplicate File Check (CRC Check) prevents processing the same upload file repeatedly, reducing performance issues.

CSV Format

File Type

Some connectors are stored in Comma Separated Values (CSV) format. Within the configuration of the connector, the administrator is able to select and utilize varying delimiters to apply to the output of the file. The standard delimiter between fields is a comma (,). Other delimiters that can be enabled include an ampersand (&), semicolon (;), and pipe (|). Multiple items for a field can be separated by a tilde (~) within a delimiter.

Header

Uploads require certain information to be included at the top of each file; this information is normally referred to as the file’s header. However, the Header section for uploads that use the API-A format is not required.

Header components are made up of Name/Value pairs, each appearing on their own line. The standard format for a header component is as follows:

  • Name = Value

  • Immediately following the Header section of the upload is one blank line.

The upload file header takes precedence over the connector configuration for header values at all times.

The 'File Header Required' flag on the edit batch job configuration can be enabled or disabled for all the connectors. Irrespective of the 'File Header Required' flag, the upload file header is first checked.

If the upload file header has no values, then the connector configuration values are checked.

If the user has not provided new values in the configuration header, then the default values are taken.

If an upload is submitted without a header, the connector uses all default values.

A file can be uploaded without header information only if the connector is selected from the drop-down list prior to uploading the file. The steps to upload a file without a header are as follows:
  1. Verify all default settings of the header for the given connector are valid for the file.

  2. Navigate to 'Upload Data' in the Admin menu.

  3. Select the custom connector name from the drop-down list.

  4. Browse for and select the upload file.

  5. Select Upload.

Some connectors have required headers like Module, Buyer, or MSP Code and so forth. When values are not provided in the upload file or connector configuration page, an error is displayed.

Detail

The Detail section follows the Header section. The Detail section consists of two parts: the column header row and the data rows.

Immediately following the blank line after the header section is the column header row. Each column of the column header row contains the label for the data that will be entered below. Following the column header row are the data rows. Each record of data saved in SAP Fieldglass will have its own row, and the rows continue until each record to be uploaded has been entered.

General Conventions

  • If a header section component is listed as Not Required, the entire component may be removed from the file. For instance, Date Format is an optional field. It is not necessary to have “Date Format=”. The entire component may be left out of the file instead.

  • If a detail field is listed as Not Required and there will be NO values for the entire file, that column may be removed from the file. If some records have a value, the column must remain.

  • For uploads, the order of the detail fields must remain in the order of the download file format. Custom fields can be added to the end of the file. For downloads, it is recommended that the order of the fields remain as provided in the download file. However, the order can be altered if authorized to do so; contact the SAP Fieldglass Help Desk for more information.

Unique Identifiers

Unique Identifiers are fields that must be unique and present for each record in the file.

Configuration Considerations

Configuration considerations identify requirements for the connector to function properly when special configurations are needed.

Assumptions/Tips

Assumptions/Tips contains helpful bits of information, statuses, or special conditions needed to run the connector or result from running the connector.

Custom Fields

The client can specify the custom fields they wish to include and the order in which they want to see them in the file. Custom fields can be from various modules. For specific modules, consult your SAP Fieldglass representative. Custom fields will always appear at the end of the column layout after all of the native, either default or optional, SAP Fieldglass fields have been output.

XML Format

File Type

Some connectors are stored in Extensible Markup Language (XML) format. In this format, each record is enclosed within a tag (similar to HTML) and within that each field itself is also included within a tag or series of tags. For further information related to the attributes and definition of XML documents please refer to this link:

http://www.w3.org/XML/

Most Web browsers can be used to view and validate XML files, but other text editing tools must be used to create and/or edit XML files.

Data Dictionary

This is the Detail section for XML formatted files.

General Conventions

  • If a group/element is listed as Not Required and there will be NO values for the entire file, that column may be removed from the file. If some records will have a value, the column must remain.

  • The order of the groups/elements of the data dictionary may vary and can be altered if preferred.

Unique Identifiers

Unique Identifiers are fields that must be unique and present for each record in the file.

Configuration Considerations

Configuration Considerations identify requirements for the connector to function properly when special configurations are needed.

Assumptions/Known Issues

Assumptions/Known Issues are known issues, statuses, or special conditions that result from running the connector.

Custom Fields

The client can specify the custom fields they wish to include and the order in which they want to see them in the file. Custom fields can be from various modules. For specific modules, consult your SAP Fieldglass representative. Custom fields included will always appear at the end of the column layout after all of the native, either default or optional, SAP Fieldglass fields have been output.

JSON Format

JSON connectors are connectors in JavaScript Object Notation (JSON) format. The documentation for these connectors is different than CSV or XML connectors because information about connector fields is not provided. The user should simply run the connector to download and upload the data. The Overview section below appears in each JSON connector document and provides more information about how these connectors are used.

Overview

This section will have a connector description that is unique to each connector, but will also include the following generic JSON information:
  1. The download and upload files are in JavaScript Object Notation (JSON) format.

  2. You must run the download connector first and then use the downloaded file for the upload connector. The downloaded file must not be modified in any way.

    For standard connectors with the download data format in JSON, on the connector configuration form, use the Format JSON feature to produce the output in the Prettyprint format style.

  3. The upload connector only supports adding new records. Existing records cannot be modified.

  4. Uploading the JSON file through the UI does not require the user to select a connector from the Choose a Connector drop down. If a connector is selected, the upload will not process the file and the error 'File has no records.' is displayed. This occurs because the JSON file already includes the connector type.

Error Handling

If any errors occur when downloading or uploading data, the user is instructed to contact the SAP Fieldglass service desk.

Run Date Delay for Transactional Downloads

Download connectors that process transactional data apply a run date delay, a short offset that shifts the download window back by a set interval each time the connector runs. The delay keeps the download from reading in-flight data (records that are still being saved or are changing status when the download starts) and prevents the inconsistencies that including those records would cause.

The default delay is two minutes. On each run, the connector reads from the point where the previous run's window ended through the current time, with the delay applied at each end. Because each window begins where the previous one ended, no records are missed between runs, including objects that were transitioning when an earlier download ran.

The run date delay is enabled on standard transactional download connectors and uses the default interval.