{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":21395,"path":"integrate-applications/integration-hub/sap-s4-hana-cloud-spk.md","title":"SAP S4 HANA Public Cloud Spoke","bundle":null,"doc_type":null,"release":"australia","body":"\n# SAP S4 HANA Public Cloud Spoke\n\nThe SAP S4 HANA Public Cloud spoke is built by Bristlecone, Inc. Manage primary data, purchase orders, receipts, and suppliers in SAP S4 HANA public cloud instance from your ServiceNow instance.\n\n## Request apps on the Store\n\nVisit the [ServiceNow Store](https://store.servicenow.com/sn_appstore_store.do#!/store/home) 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](https://www.servicenow.com/docs/r/store-release-notes/sn-store-release-notes.html).\n\n## Integration Hub subscription\n\nThis spoke requires an Integration Hub subscription. For more information, see [Legal schedules - IntegrationHub overview](https://www.servicenow.com/content/dam/servicenow-assets/public/en-us/doc-type/legal/snc-addendum-integrationhub.pdf).\n\n## Spoke version\n\nSAP S4 HANA Public Cloud spoke v 1.3.0 is the latest version. For version history of the spoke, see [SAP S4 HANA Cloud Spoke release notes](https://www.servicenow.com/docs/r/store-release-notes/store-integrationhub-rn-sap-s4-hana-cloud.html).\n\n## Supported versions\n\nThis spoke was built for SAP S4 HANA 2023.\n\n## Spoke requirements\n\n-   SAP S4 HANA Public Cloud account\n-   Configure the value of this system property:\n\n    **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 properties](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/build-workflows/flow-designer-system-properties.md).\n\n\n## Spoke dependencies\n\nIf you’re having trouble installing the app, ensure that these dependent plugins are installed:\n\n-   ServiceNow IntegrationHub Action Template - Data Stream \\(com.glide.hub.action\\_type.datastream\\)\n-   ServiceNow IntegrationHub Action Step - REST \\(com.glide.hub.action\\_step.rest\\)\n-   Complex Object \\(com.glide.cobject\\)\n-   ServiceNow IntegrationHub Runtime \\(com.glide.hub.integration.runtime\\)\n-   ServiceNow Flow Designer - Dynamic Inputs \\(com.glide.hub.dynamic\\_inputs\\)\n\n**Note:** Some of these plugins are licensable features and require appropriate licenses, if used outside the spoke implementation.\n\n## Spoke actions\n\nThe SAP S4HANA Public Cloud spoke provides actions to automate tasks when events occurs in your ServiceNow instance. Available actions include:\n\n<table id=\"table_vln_lbn_4bc\"><thead><tr><th>\n\nCategory\n\n</th><th>\n\nAction\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td rowspan=\"9\">\n\nPrimary Data Management\n\n</td><td>\n\nLook up Business Partner Addresses Stream\n\n</td><td>\n\nRetrieves business partner address data fields of all the available records in the system.\n\n</td></tr><tr><td>\n\nLook up Business Partners Stream\n\n</td><td>\n\nRetrieves business partner's data fields of all the available records in the system.\n\n</td></tr><tr><td>\n\nLook up Base Unit of Measure Stream\n\n</td><td>\n\nReads a set of entries from the Unit of Measure text.\n\n</td></tr><tr><td>\n\nLook up Chart of Accounts Stream\n\n</td><td>\n\nRetrieves details of the available charts of accounts.\n\n</td></tr><tr><td>\n\nLook up Company Codes Stream\n\n</td><td>\n\nRetrieves the details related to Company Codes.\n\n</td></tr><tr><td>\n\nLook up Cost Centers Stream\n\n</td><td>\n\nRetrieve details of all cost centers.\n\n</td></tr><tr><td>\n\nLook up GL Accounts in Chart of Accounts Stream\n\n</td><td>\n\nRetrieves the details of the available General Ledger \\(GL\\) accounts for the chart of accounts.\n\n</td></tr><tr><td>\n\nLook up Material Groups Stream\n\n</td><td>\n\nRetrieves the materials groups stream synchronously.\n\n</td></tr><tr><td>\n\nLook up Materials Stream\n\n</td><td>\n\nRetrieves details of all general data of product master.\n\n</td></tr><tr><td rowspan=\"2\">\n\nPurchase Order Management\n\n</td><td>\n\nLook up Purchase Orders Stream\n\n</td><td>\n\nRetrieves general data of the required product master.\n\n</td></tr><tr><td>\n\nCreate Purchase Order and PO Lines\n\n</td><td>\n\nCreates a new purchase order with the header and item details passed in the request body.\n\n</td></tr><tr><td rowspan=\"3\">\n\nReceipt Management\n\n</td><td>\n\nCreate Receipt\n\n</td><td>\n\nCreates a material document by header and item for the specific business process.\n\n</td></tr><tr><td>\n\nCreate Service Goods Receipt\n\n</td><td>\n\nCreates a service goods receipt in SAP S4 Hana Cloud.\n\n</td></tr><tr><td>\n\nLook up Receipts Stream\n\n</td><td>\n\nRetrieves details related to material documents.\n\n</td></tr><tr><td rowspan=\"2\">\n\nSupplier Management\n\n</td><td>\n\nCreate Supplier\n\n</td><td>\n\nCreates a new supplier with the provided details.\n\n</td></tr><tr><td>\n\nLook up Suppliers Stream\n\n</td><td>\n\nRetrieves general data of the supplier master.\n\n</td></tr><tr><td rowspan=\"2\">\n\nInvoice Management\n\n</td><td>\n\nCreate Invoice\n\n</td><td>\n\nCreates a supplier invoice using the company code, invoice gross amount, and invoicing party.\n\n</td></tr><tr><td>\n\nLook up Invoices Stream\n\n</td><td>\n\nReads the supplier invoice data using, for example, the supplier invoice, the fiscal year, the company code, the document currency, the document date, the invoice gross amount, the invoicing party and the posting date.\n\n</td></tr><tr><td>\n\nShipment Management\n\n</td><td>\n\nLook up Advance Shipment Notification Stream\n\n</td><td>\n\nRetrieves general data of the required advanced shipment notices.\n\n</td></tr><tr><td>\n\nUtility Management\n\n</td><td>\n\nFetch Token and Cookie\n\n</td><td>\n\nRetrieves the CSRF \\(Cross-Site Request Forgery\\) token and cookie for other spoke actions.**Note:** This action runs every 6 hours through the Generate Token and Cookie scheduled job and updates the system properties.​\n\n</td></tr><tr><td>\n\nUser Management\n\n</td><td>\n\nLook up Users Stream\n\n</td><td>\n\nRetrieves the general data of the users present in the system. The data fetched are user ID, user name, description, email address, and so on.\n\n</td></tr></tbody>\n</table>## Spoke scheduled job\n\nThe SAP S4HANA Public Cloud spoke provides a scheduled job, Generate Token and Cookie - Cloud Spoke. This scheduled job is run every 26 minutes, which creates a token and cookie.​ The Fetch Token and Cookie spoke action depends on this scheduled job.​\n\n## Connection and credential alias requirements\n\nIntegration Hub uses aliases to manage connection and credential information, and OAuth credentials. 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.\n\nFor information about setting up the spoke, see [Setup the SAP S4 HANA Public Cloud spoke](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/integration-hub/setup-sap-s4hana-cloud-spk.md).\n\n"}}