Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

SAP S4 HANA RFC Spoke

The SAP S4 HANA RFC spoke is built by Bristlecone, Inc. Manage procurement, records, journals, and others, in SAP S4 HANA RFC account from your ServiceNow® instance.

Request apps on Store

Visit the ServiceNow Store to view all the available apps, and for information about submitting requests to the store. For cumulative release notes information for all released apps, see the ServiceNow Store version history release notes. Starting on March 1st 2022, all SAP spokes will be available only on the Store.

Integration Hub subscription

This spoke requires an Integration Hub subscription. For more information, see Legal schedules - IntegrationHub overview.

Spoke version

SAP S4 HANA RFC spoke v2.7.0 is the latest version.

Supported versions

This spoke was built for SAP S4 HANA RFC 2023.

Spoke requirements

  • Contact the admin of your SAP S4 HANA RFC account and obtain these SAP proprietary JAR files and other required files:

    • sapjco3.jar.
    • libsapjco3.so: If your MID Server is installed on a Linux machine, obtain this file.
    • sapjco3.dll: If your MID Server is installed on a Windows machine, obtain this file. A JAR file, sapConnector-1.0.jar, is available along with the spoke to provide custom interface to interact and execute RFCs and IDocs in the SAP S4 HANA RFC account. The JAR file is installed as part of the spoke in your ServiceNow instance.
  • Copy and record the client value of the target host where the SAP S4 HANA RFC server is installed.

  • Configure the values of these system properties:
    • com.snc.process_flow.reporting.serialized.val_size_limit: This property serializes JSON objects and ensures that the data is in the required format. Specify the number of bytes as per your requirement. For more information, see Workflow Studio system\n properties.
    • glide.rest.max_content_length: This property specifies the payload size. Specify the maximum payload size you want to use in your flows. The maximum value you can specify for this property is, 25 MB.
  • If you are using this spoke along with the SAP ECC IDoc, SAP S4 HANA IDoc, SAP ECC RFC spokes, during spoke upgrades, ensure that you upgrade all the spokes to their latest versions.

Note: To retrieve information for authorization purposes, use the Execute RFC spoke action.

Spoke dependencies

If you’re having trouble installing the app, ensure that these dependent plugins are installed:

  • Complex Object (com.glide.cobject)
  • ServiceNow IntegrationHub Runtime (com.glide.hub.integration.runtime)
  • ServiceNow Flow Designer - Dynamic Inputs (com.glide.hub.dynamic_inputs)
  • ServiceNow Flow Designer - Dynamic Outputs (com.glide.hub.dynamic_outputs)

Note: Some of these plugins are licensable features and require appropriate licenses, if used outside the spoke implementation.

Spoke flows

The SAP S/4 HANA RFC spoke provides sample flows to demonstrate automating the SAP S4 HANA RFC tasks. To customize a sample flow, copy it to the required application scope. Available sample flows include:

FlowDescription
Retrieve Incoming InvoiceRetrieves the invoice data periodically. This data is displayed in the SAP S/4HANA Invoice Data module.
Retrieve Users by RoleRetrieves details of the users, based on the provided user role. This data is displayed in the SAP S/4HANA Users Records module.

Spoke actions

The SAP S/4 HANA RFC spoke provides actions to automate SAP S4 HANA RFC tasks when events occurs in your ServiceNow instance. Available actions include:

CategoryActionDescription
ItemsLook up Material GroupsRetrieves details of the material groups.
Look up Materials by PlantRetrieves details of the materials (items) based on plant selection criteria.
Look up Materials by Storage LocationsRetrieves details of the materials (items) based on storage location selection criteria.
JournalsPost Journal EntryPosts a journal entry to a GL Account in SAP S4 HANA RFC.
Reverse Journal EntryReverses a journal entry in a GL Account in SAP S4 HANA RFC.
LookupsLook up Cost Centers by Controlling AreaRetrieves details of the cost centers based on the controlling area.
Metadata RetrievalGet RFC Input SchemaDynamically retrieves the input schema for the RFC.
Get RFC Output SchemaDynamically retrieves the output schema for the RFC.
Look up RFC Table Field Input MetadataDynamically retrieves the input schema from SAP S4 HANA RFC for the selected field in the RFC tables.
Look up RFC Table Field Output MetadataDynamically retrieves the output schema from SAP S4 HANA RFC for the selected field in the RFC tables.
Look up RFC Tables Input MetadataDynamically retrieves the tables input schema for the RFC from SAP S4 HANA RFC.
ProcurementAuthorize PaymentCreates an authorize payment document in SAP S/4 HANA - RFC.
Create Fixed AssetCreates a fixed asset in SAP S4 HANA RFC.
Create Goods ReceiptCreates a goods receipt document in SAP S4 HANA RFC.
Create InvoiceCreates an invoice document in SAP S4 HANA RFC.
Cancel InvoiceCancels an invoice document in SAP S/4HANA RFC.
Cancel Goods ReceiptCancels a goods receipt document in SAP S/4HANA - RFC.
Create Non Purchase Order InvoiceCreates a non purchase order invoice document in SAP S4 HANA – RFC.
Create Purchase OrderCreates a purchase order in SAP S4 HANA RFC.
Create Service Goods ReceiptCreates a service goods receipt document in SAP S/4HANA - RFC.
Create VendorCreates a vendor in SAP S/4HANA - RFC.
Look up Asset CategoryRetrieves details about the specified asset from SAP S/4HANA - RFC.
Look up InvoicesRetrieves details of the invoices from SAP S/4 HANA - RFC.
Look up Purchase Order AttachmentsRetrieves details of the Purchase Order attachment from SAP S/4HANA RFC.
Look up Invoices by DateRetrieves details of the invoices based on entry date.
Look up Purchase Orders and Purchase Order LinesRetrieves details of the Purchase Orders and Purchase Order Lines from SAP S/4 HANA - RFC.
Look up ReceiptsRetrieves details of the receipts from SAP S/4HANA RFC.
Look up VendorsRetrieves vendors details from SAP S/4HANA - RFC.
Look up Advance Shipment NoticesRetrieves Advance Shipment Notices in SAP S/4HANA - RFC.
Look up Payment Status for InvoiceRetrieves the payment status for invoice from SAP S/4HANA - RFC.
Update Purchase OrderUpdates details of the specified purchase order.
Update VendorUpdates details of a vendor in SAP S/4HANA - RFC.
Records ManagementExecute RFCExecutes an RFC from the available list for create, update, or read operation.
Execute RFC For Look up OperationsExecutes an RFC from the available list.
Transfer OrderCreate Transfer Order and Line ItemsCreates a transfer order in SAP S/4HANA - RFC.
Look up Transfer Order and Line ItemsRetrieves transfer orders from SAP S/4HANA - RFC.
UtilityCreate Table Field MetadataEnvelops user inputs for the selected table field of the given BAPI in an object.
Finance ManagementCreate AssetCreate an asset in SAP S4 HANA - RFC with the provided details.
Sales OrderCreate Sales OrderCreates a sales order in SAP S/4HANA - RFC.
Look up Sales OrderRetrieves sales order details from SAP S/4HANA - RFC.
Look up Sales OrdersRetrieves sales orders based on given customer number from SAP S/4HANA - RFC.
Update Sales OrderUpdates details of the given sales order in SAP S/4HANA - RFC.
Bills and PaymentsLook up Bill Details By IDRetrieves bill details for the given document ID from SAP S/4HANA - RFC.
Look up Outstanding BalanceRetrieves outstanding balance of a customer from SAP S/4HANA - RFC.
Look up PaymentsRetrieves pending payments of the customer from SAP S/4HANA - RFC.
Customer ManagementLook up Customer InformationRetrieves customer information for the given company code and customer number from SAP S/4HANA - RFC.
Inventory (or) SalesLook up Inventory of PartsRetrieves inventory for the given plant and material from SAP S/4HANA-RFC.

Spoke module

The SAP S/4 HANA RFC spoke adds the SAP S4 HANA RFC Spoke application to your instance and includes these modules:

ModuleDescription
SAP S/4 HANA - RFCsDisplays the list RFCs. Some RFCs are provided along with spoke. You can create additional RFCs as per your requirement. The Execute RFC action uses these records as an input.
SAP S/4 HANA Flow ExecutionsDisplays the dates on which the Retrieve Incoming Invoice flow is executed. After you set up the SAP S4 HANA RFC spoke, create a record to specify the date up to which you want to retrieve the invoice data. For more information, see Set up the SAP S4 HANA RFC spoke.
SAP S/4 HANA Invoice DataDisplays details of the invoice data. Customize and execute the default flow, Retrieve Incoming Invoice to retrieve the invoice data.
SAP S/4 HANA Users RecordsDisplays details of the users, based on their user role. Customize and execute the default flow, Retrieve Users by Role to retrieve the user information.

Spoke user roles

The SAP S4 HANA RFC provides the sn_sap_s4_hana_rfc.SAP_S4_HANA_RFC_Spoke_Admin user role to control access to data. Users with the sn_sap_s4_hana_rfc.SAP_S4_HANA_RFC_Spoke_Admin role have access to the spoke tables.

Connection and credential alias requirements

Integration Hub uses aliases to manage connection and credential information. Using an alias eliminates the need to configure multiple credentials and connection information profiles when using multiple environments. If the connection or credential information changes, you don't need to update any actions that use the connection. For more information, see Connections and Credentials.

MID Server requirements

These actions use Remote Function Call (RFC) protocol (SAP Proprietary protocol – SAP Standard Interface), which can run on an instance or MID Server. Use the connection record associated with SAP S4 HANA RFC spoke alias to configure where actions run as well as set MID Server selection attributes. For more information about running actions on the MID Server, see Integration steps

Note:

  • If the MID Server is installed on a Linux machine, perform the configurations as outlined in Set up the SAP S4 HANA RFC spoke.
  • If the MID Server is installed on a Windows machine, no configurations are needed.

To set up the MID Server for this spoke, see Set up MID Server for a spoke.