Pub / Sub Wizard
Use a wizard to configure connectivity and subscribe to application activities.
Overview
The Pub / Sub Wizard tile on the dashboard opens the Set Up Publish/Subscribe wizard. The setup wizard provides an intuitive framework that allows you to:
-
create payloads
-
identify and select the data you want to receive against payloads
-
subscribe to application activities that trigger payloads
The wizard guides you through the steps that you must complete in order to configure real-time integration activity. Once you’ve completed the wizard, you can make any configuration changes by using the other Publish/Subscribe Framework tiles.
The following setup steps are organized sequentially in the pane on the left side of the wizard page. The configuration section for each step displays in a pane on the right side of the wizard page.
-
Welcome – Welcomes you to the step-by-step process to configure, publish, and subscribe to real-time integration activity.
-
Payload – Allows you to identify and configure the data elements to receive. You can choose to create a new payload or use an existing one.
-
Subscribe – Allows you to select the application activity and supplier code to subscribe to in the payload.
-
End Point – Allows you to configure the receiving location for the payload subscription. You can choose to create a new end point or use an existing one.
-
Finished – Displays a message that congratulates you on completing the setup wizard and confirms that you're all set to start receiving information base on the subscribed activities.
If at any time you need to adjust the setup, choose the End Points tile on the dashboard under Configuration Tools. For more information, see .
The following information applies to using the setup wizard:
-
Fields marked with a red asterisk are required fields.
-
After opening the wizard to create a new payload, you must complete the setup on a current step before you can navigate to the next step.
-
The current step displays the
icon after the step name. -
Incomplete steps display the
icon after the step name. -
Completed steps display the
icon after the step name. -
To exit the wizard and return to the dashboard, choose the Back to Dashboard button on the upper-left side of the page.
-
-
If you complete a page and then exit the wizard for any reason, your progress is saved and the data is retained when you return to the wizard.
-
When creating or changing the end point for a payload, the payload and end point pairing must be unique and not already exist.
-
After creating or editing a new payload or end point, test the payload to ensure it generates successfully and returns the expected results. For information on this process, see Test Payload.
Set Up Publish/Subscribe
Perform the following steps in the setup wizard to configure a payload and end point, and to subscribe to the application activities that generate the payload.
-
On the self-service dashboard, choose the Pub / Sub Wizard tile.
The Welcome step opens in the Publish Subscribe Setup Wizard.
-
Choose Let’s Get Started.
The Payload step opens.
-
Select to create a new payload or use an existing payload, as follows:
-
Choose New.
-
In the Payload Name box, enter a name for the new payload.
-
In the Description box, enter descriptive text.
-
In the Base Module list, select the base module you want to monitor.
-
In the Linked Modules list, select the submodule data you want to pull into the base module. The list includes custom fields, if defined for the selected module.
-
The Format option defaults to JSON output.
-
Go to step 4.
-
-
Choose Existing (default value), and in the Payload list, select a payload to configure. Go to step 4.
-
-
Choose Next Step.
The Subscribe step opens.
-
In the Payload Name list, choose the payload (created by SAP Fieldglass or a buyer) you want to receive. Only payloads associated to the primary module are available. The payload name isn't editable since it was selected in the previous step.
-
In the Activities options, choose the application activities to subscribe to in the payload.
You can choose the Activity option to select all activities or select and clear individual activities. If you select the Approved activity, you can use the Approval Level (optional) parameter to specify when the payload should be sent (for example: LAST).
-
In the Supplier Code options, select one or more supplier codes to generate the payload for (this is optional).
-
Choose Next Step.
The End Point step opens.
-
Select to create a new end point or use an existing end point, as follows:
-
Choose New.
-
In the URL box, enter the target URL where the payload is received.
-
In the Authentication Type list, leave the default value None, or select one of the following options:
-
Basic Authentication
-
OAuth2 Client Credentials; three mandatory fields are displayed:
-
Authorization Server – This is the authentication URL of the destination.
-
Client ID – This is your unique identifier used to authenticate with the OAuth URL.
-
Client Secret – This is the key associated with your Client ID.
-
-
-
In the Username box, enter the username to access the URL, if necessary.
-
In the Password box, enter the password for the username, if necessary. The password displays as masked text.
-
To test the end point connectivity, select Test Connectivity. A Success or Failure dialog box displays. Resolve any issues, if needed, and when ready, continue with the next step.
-
Go to step 10.
-
-
Select Existing (default value), and in the End Point list, select the end point you want to target. Go to step 10.
-
-
Select Next Step.
The Finished step opens and the following message displays:
Congratulations, you have completed your setup. You are all set to start receiving information based on the subscribed activities. If at any time you need to adjust this setup, in the Publish/Subscribe Framework section on the Self-Service Dashboard, click the Payloads or End Points tile.
-
Choose Finish.
The Self-Service Dashboard opens.
Use the Payload tile and App Activity Subscriptions tile on the dashboard to edit your setup. For more information, see Payloads and App Activity Subscriptions. For information on testing a payload, see Test Payload.