Skip to content

Commit 87c61ef

Browse files
authored
Merge pull request #6 from s1seven/multiple_companies
Added description for Multiple companies
2 parents f61c868 + 65f3da1 commit 87c61ef

File tree

3 files changed

+38
-15
lines changed

3 files changed

+38
-15
lines changed

content/setup/README.md

+38-15
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,31 @@
44

55
<!-- code_chunk_output -->
66

7-
1. [SAP System Setup](#sap-system-setup)
8-
1. [System Setup with /UBC/S17_SETUP](#system-setup-with-ubcs17_setup)
9-
2. [Proxy Setup with /UBC/S17_SETUP_PROXY](#proxy-setup-with-ubcs17_setup_proxy)
10-
2. [Certificate Configuration/Implementation instructions](#certificate-configurationimplementation-instructions)
11-
1. [Outbound case - issuing/notarizing Certificates](#outbound-case---issuingnotarizing-certificates)
12-
2. [Inbound case - receiving Certificates](#inbound-case---receiving-certificates)
13-
3. [Connectivity](#connectivity)
14-
1. [Direct communication with S1SEVEN](#direct-communication-with-s1seven)
15-
2. [Indirect Communication with S1SEVEN via Middleware](#indirect-communication-with-s1seven-via-middleware)
16-
4. [Monitoring](#monitoring)
17-
5. [Authorization](#authorization)
18-
6. [Data Archiving](#data-archiving)
19-
7. [Compatibility](#compatibility)
7+
- [Table of Content](#table-of-content)
8+
- [SAP System Setup](#sap-system-setup)
9+
- [System Setup with /UBC/S17\_SETUP](#system-setup-with-ubcs17_setup)
10+
- [Proxy Setup with /UBC/S17\_SETUP\_PROXY](#proxy-setup-with-ubcs17_setup_proxy)
11+
- [Certificate Configuration/Implementation instructions](#certificate-configurationimplementation-instructions)
12+
- [Outbound case - issuing/notarizing Certificates](#outbound-case---issuingnotarizing-certificates)
13+
- [Print program/freestyle integration](#print-programfreestyle-integration)
14+
- [IDOC integration](#idoc-integration)
15+
- [Inbound case - receiving Certificates](#inbound-case---receiving-certificates)
16+
- [Connectivity](#connectivity)
17+
- [Direct communication with S1SEVEN](#direct-communication-with-s1seven)
18+
- [SAP to S1SEVEN API for outbound messages](#sap-to-s1seven-api-for-outbound-messages)
19+
- [S1SEVEN to SAP for inbound messages](#s1seven-to-sap-for-inbound-messages)
20+
- [Messages via REST webservice calls](#messages-via-rest-webservice-calls)
21+
- [Messages via MQTT over Websocket](#messages-via-mqtt-over-websocket)
22+
- [Indirect Communication with S1SEVEN via Middleware](#indirect-communication-with-s1seven-via-middleware)
23+
- [SAP Integration Suite/Cloud Platform Integration (CPI)](#sap-integration-suitecloud-platform-integration-cpi)
24+
- [Integration Package/iFlow](#integration-packageiflow)
25+
- [Open Connector](#open-connector)
26+
- [SAP to S1SEVEN API for outbound messages](#sap-to-s1seven-api-for-outbound-messages-1)
27+
- [S1SEVEN to SAP for inbound messages](#s1seven-to-sap-for-inbound-messages-1)
28+
- [Monitoring](#monitoring)
29+
- [Authorization](#authorization)
30+
- [Data Archiving](#data-archiving)
31+
- [Compatibility](#compatibility)
2032

2133
<!-- /code_chunk_output -->
2234

@@ -62,6 +74,7 @@ See step documentation below for the details.
6274
### Proxy Setup with /UBC/S17_SETUP_PROXY
6375

6476
You can use this task list for newly setting up a connection to S1SEVEN or if any of the details needs to be changed. (create/update)
77+
You can update this task list for every company created in S1SEVEN portal.
6578

6679
Please sign up at [S1SEVEN Platform](https://app.s1seven.com) and
6780

@@ -78,10 +91,12 @@ Proceed with transaction /UBC/S17_SETUP_PROXY:
7891
1. Company ID
7992
On S1SEVEN Platform, navigate to "Automate"->"Constants" and copy "Company ID":
8093
![Company ID](./assets/figure_17.png "Company ID")
81-
2. Mode
94+
2. Company Code
95+
This is just an **informative and optional** field in order to link the S1SEVEN proxy to a SAP company code. Its an optional field to easily choose from a list of proxies by SAP company code in a custom implementation.
96+
3. Mode
8297
Choose processing mode `live` or `test`
8398
[TODO](@stiebitzhofer) please add details or ref to document describing mode?
84-
3. Chosse from one of the following Scenarios. Wether to connect directly or connect via Middleware (as e.g., SAP Integration Suite)
99+
4. Chosse from one of the following Scenarios. Wether to connect directly or connect via Middleware (as e.g., SAP Integration Suite)
85100
1. Scenario Direct
86101
![Configuration details Scenario Direct](./assets/figure_31.png)
87102
Means that SAP is connecting directly to S1SEVEN API. MQTT is used for receiving "inbound" messages (see above [Connectivity](#connectivity)).
@@ -152,6 +167,14 @@ For maintaining the Attribute for a specific Customer, please have a look at `/U
152167
![Customizing of Customers - Omit JSON](./assets/figure_49.png)
153168
The customizing should be pretty straightforward. Please note that empty cells for **Company id** or **Customer** can be seen as a "wildcard".
154169

170+
**Multiple Companies**
171+
If only one Company was registered in [Proxy Setup with /UBC/S17_SETUP_PROXY](#proxy-setup-with-ubcs17_setup_proxy), the addon chooses the one and only company automatically.
172+
If more than one company was registered, obviously any point has to define the correct company. We recommend to link a SAP company code to the Proxy during [setup tasklist](#proxy-setup-with-ubcs17_setup_proxy). SAP Company code is only an informative field, but a flexible way to link SAP companies to S1SEVEN company ids without any logic or configuration changes after all.
173+
174+
> If multiple Companies were registered, it is **mandatory** to add some logic to choose the proxy.
175+
176+
In the new BO class you will create below, redefine method `choose_proxy_by_input`. It is meant to choose from a list of proxies based on given input data. Cast the generic input data to the concrete type you chose in your implementation method `create_type_input`. See `/UBC/CL_S17_BO_CERT_OUT_IDOCEX` for an example implementation to copy from (its based on SAP Company code linkage, but you are free to determine that differently, e.g. Customizing/BRF+).
177+
155178
#### Print program/freestyle integration
156179

157180
In the standard delivery, we offer an integration for a print program on an outbound delivery item.

content/setup/assets/figure_31.png

3.73 KB
Loading

content/setup/assets/figure_32.png

5.83 KB
Loading

0 commit comments

Comments
 (0)