Skip to content

Commit f693951

Browse files
Merge pull request #224 from khushiyadavsap/sap-build-process-automation-khushi
Sap build process automation khushi
2 parents 6cb059c + 3b14845 commit f693951

38 files changed

+200
-0
lines changed

tutorials/spa-sac-api-trigger/00.png

22.5 KB
Loading

tutorials/spa-sac-api-trigger/01.png

43 KB
Loading

tutorials/spa-sac-api-trigger/02.png

77.8 KB
Loading

tutorials/spa-sac-api-trigger/add.png

152 KB
Loading
68.9 KB
Loading
71.9 KB
Loading
133 KB
Loading
78 KB
Loading
55.6 KB
Loading
115 KB
Loading
96.6 KB
Loading
Loading
119 KB
Loading
102 KB
Loading
83.5 KB
Loading

tutorials/spa-sac-api-trigger/env.png

117 KB
Loading
113 KB
Loading
76.2 KB
Loading
86.8 KB
Loading
102 KB
Loading
148 KB
Loading
188 KB
Loading
161 KB
Loading
118 KB
Loading
65.7 KB
Loading
73.4 KB
Loading
76.8 KB
Loading
77.4 KB
Loading
75.9 KB
Loading
77.4 KB
Loading
60.4 KB
Loading
Lines changed: 200 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,200 @@
1+
---
2+
parser: v2
3+
author_name: Khushi Yadav
4+
author_profile: https://github.com/khushiyadavsap
5+
auto_validation: true
6+
time: 15
7+
tags: [ tutorial>intermediate, software-product>sap-business-technology-platform, tutorial>free-tier ]
8+
primary_tag: software-product>sap-build-process-automation
9+
---
10+
11+
# Integration With SAP Analytics Cloud and SuccessFactor
12+
13+
<!-- description --> Learn how to connect to external systems like SAP Analytics Cloud and SuccessFactor using action in SAP Build Process Automation to customize or extend standard business processes.
14+
15+
## Prerequisites
16+
17+
- SAP SuccessFactors
18+
- SAP Analytics Cloud
19+
- Configure SMTP server destination by referring to [configuring-smtp-mail-destination](https://help.sap.com/docs/build-process-automation/sap-build-process-automation/configuring-smtp-mail-destination)
20+
21+
## You will learn
22+
23+
- How to acquire a template project from the store and customize it
24+
- Use actions in a business process to implement changes in an external dedicated system
25+
26+
## Intro
27+
28+
Action is a feature in SAP Build Process Automation to connect processes with external systems. It allows users to automate or extend their business processes for any available LoB processes like S/4HANA, `Ariba`, SuccessFactors, SAP Analytics Cloud etc. In this tutorial, you will create a request to approve a position in the HR Planning Process. If the request gets approved then a position is created in the dedicated system.
29+
30+
### Retrieve the project from store
31+
32+
1. From the SAP Build Lobby, navigate to the store.
33+
2. Search for the sample project: **SAC HR Position Planning**.
34+
3. Choose **Create from Template** to retrieve the sample and save it as a new project in your lobby.
35+
36+
<!-- border -->![Store](store1.png)
37+
38+
4. Choose **Create**.
39+
40+
<!-- border -->![Create](create1.png)
41+
42+
Your project gets created in editable version.
43+
44+
### Modify the process
45+
46+
1. Choose the process **SAC HR Position Planning**.
47+
48+
<!-- border -->![Process](process.png)
49+
50+
2. Choose **Mail - Approved** and select **Open Mail Body Editor**.
51+
52+
<!-- border -->![MailBody](openMail.png)
53+
54+
3. Click on **SuccessFactors** in the mail body and choose **Edit**.
55+
56+
<!-- border -->![Edit](edit.png)
57+
58+
4. Replace the link and choose **Save**.
59+
60+
<!-- border -->![save](save.png)
61+
62+
5. Click on **headcount plan** in the mail body and choose **Edit**.
63+
64+
<!-- border -->![headcount](head.png)
65+
66+
6. Replace the link and choose **Save**.
67+
68+
<!-- border -->![save](save2.png)
69+
70+
7. Choose **Apply**.
71+
72+
<!-- border -->![Apply](apply.png)
73+
74+
8. Choose **Mail - Rejected** and select **Open Mail Body Editor**.
75+
76+
<!-- border -->![MailBody](open.png)
77+
78+
9. Click on **headcount plan** in the mail body and choose **Edit**.
79+
80+
<!-- border -->![headcount](count.png)
81+
82+
10. Replace the link and choose **Save**.
83+
84+
<!-- border -->![save](save3.png)
85+
86+
11. Choose **Apply**.
87+
88+
<!-- border -->![Apply](apply2.png)
89+
90+
91+
### Configure destinations in SAP Build Process Automation
92+
93+
1. In **SAP Build**, navigate to **Control Tower > Destinations**.
94+
95+
<!-- border -->![Destinations](ctower.png)
96+
97+
2. Choose **Open in BTP Cockpit**.
98+
99+
> This Button is visible if you have a Process Automation Admin role.
100+
101+
<!-- border -->![Open BTP Cockpit](openbtp.png)
102+
103+
You will be navigated to the **Destinations** page of SAP Business Technology Platform.
104+
105+
3. Choose **Create Destination**.
106+
107+
<!-- border -->![Create Destination](createdestbtp.png)
108+
109+
4. Add details by referring to the following and choose **Save**.
110+
111+
> - For SAC destination, enter the details: refer to [SAC Base URL](https://help.sap.com/docs/SAP_ANALYTICS_CLOUD/14cac91febef464dbb1efce20e3f1613/3ccfab3348dd407db089accb66cff9a2.html) for URL of the destination.
112+
- For Success Factor destination, enter the details: refer to [Success Factor URL](https://help.sap.com/docs/SAP_SUCCESSFACTORS_PLATFORM/d599f15995d348a1b45ba5603e2aba9b/af2b8d5437494b12be88fe374eba75b6.html)
113+
- For URL of the destination: refer to [documentation](https://help.sap.com/docs/build-process-automation/sap-build-process-automation/testing-actions) to add necessary additional properties.
114+
115+
<!-- border -->![New Destination](successDest.png)
116+
117+
<!-- border -->![New Destination](sacDest.png)
118+
119+
6. In SAP Build Process Automation, navigate to **Control Tower > Destinations > Add**.
120+
121+
<!-- border -->![Destinations](ctower.png)
122+
123+
<!-- border -->![Destinations](add.png)
124+
125+
7. Select the name of the destinations that you created in SAP BTP Cockpit and choose **OK**.
126+
127+
<!-- border -->![New Destination](sacadd.png)
128+
129+
<!-- border -->![New Destination](successadd.png)
130+
131+
The Destinations are successfully added to SAP Build Process Automation tenant.
132+
133+
8. Go to the project to create the environment variables of type destination.
134+
135+
9. Navigate to **Manage the project properties > Environment Variables > Create**.
136+
137+
<!-- border -->![Environment Variable](settings.png)
138+
139+
<!-- border -->![Environment Variable](envvar.png)
140+
141+
10. Create Environment Variables of type **Destination**.
142+
143+
<!-- border -->![Environment Variable](createdest.png)
144+
145+
<!-- border -->![Environment Variable](created.png)
146+
147+
The destinations can be accessed successfully in your Business Process project.
148+
149+
### Release and deploy the project
150+
151+
1. Release the project.
152+
153+
<!-- border -->![Release](release.png)
154+
155+
2. From the released version of the Business Process project in the Process Builder, choose **Deploy**.
156+
157+
<!-- border -->![Start Deploy](deploy.png)
158+
159+
3. Choose an **Environment** and select **Deploy**.
160+
161+
<!-- border -->![Choose environment](chooseEnv.png)
162+
163+
4. Choose **Deploy**.
164+
165+
<!-- border -->![Deploy](00.png)
166+
167+
5. Define the variables by selecting the required destinations created previously and click **Deploy**.
168+
169+
<!-- border -->![Define Variables](01.png)
170+
171+
You have successfully released and deployed the process and it is ready to consume via APIs.
172+
173+
<!-- border -->![Deployed version](02.png)
174+
175+
176+
### Retrieve information from API trigger
177+
178+
Once you have successfully deployed the business process with an API trigger, you can view the API trigger in the Overview section under the tab Triggers.
179+
180+
<!-- border -->![Trigger](trigger1.png)
181+
182+
1. To view the context of the workflow API, navigate to the Lobby by clicking on the SAP logo.
183+
184+
<!-- border -->![Lobby](lobby2.png)
185+
186+
2. Choose **Control Tower** > **Environments**.
187+
188+
<!-- border -->![Environments](env.png)
189+
190+
3. Choose the environment in which the project is deployed.
191+
192+
<!-- border -->![Environment](public.png)
193+
194+
4. You can view the trigger in the **Unattended Triggers** tab. Click on **View**.
195+
196+
<!-- border -->![View](view.png)
197+
198+
<!-- border -->![View](view1.png)
199+
200+
---
118 KB
Loading
70.2 KB
Loading
84 KB
Loading
106 KB
Loading
237 KB
Loading
52.8 KB
Loading

0 commit comments

Comments
 (0)