In this exercise, we will release and deploy the automation package to execute the scenario in SAP Build Process Automation Solution.
After completing these steps you will have created...
- In the Process Builder, click on Release
- For the first version, add a Version Comment and click on Release
- The project that was released successfully is now ready to be deployed.Click on Deploy
- Fill the Variables and click on Confirm and then Deploy button
- SYSTEMURL_ODATA: The SAP S/4HANA Cloud system Odata url.
The value - https://my401669-api.s4hana.cloud.sap/sap/opu/odata/sap - S4H_USER_AUTH_48M:
- login - DT262_USER (Note: "DT262_USER" is the Username, Do not replace this by Group Number(_0XX))
- password - As provided by the speaker
- BASE_FOLDER_PATH_48M: Local folder path where the input file containing the data is stored as well as the output logs are generated.
The sample input file DT262 - Create Purchase Requisitions from Excel(48M).xlsx for this workshop can be downloaded from the DT262 material folder (File Path: Session Materials/DT/teched2022-DT262/exercises/) and placed in the local folder on windows Desktop - EMAIL_RECIPIENTS_48M: Email recipient. Use your personal e-mail address to receive bot execution notifications
- SAP_CLIENT: leave blank
Note: Once you completed the variables and deployed the bot, you may need to repeat this step and re-enter all variables again, if you want to change your input. At this moment also, SAP Build Process Automation does not allow the deleting of a deployed automation.
After completing these steps you will have...
- From the deployed version of the Project in the Process Builder, open the process MyWorkflow_0XX
- Click on the Copy icon in the Form Link field on the right side of the screen.
- Open the form link in the new browser and fill in the following information with requester with Amount higher than 100 (example - 300 as in the Input excel). To see the next Manager’s Approval form on the next step, click Submit. Please add your User name as Requestor Name. example DT262_011 if your group number is 11.
- In the Lobby section, Navigate to Inbox
- In your Inbox a new Task has arrived. Since you are acting as a manager, click on the Approve button located at the bottom of the form.
- Next click on Refresh in the inbox.
- Next click on submit to approve the creation of purchase requisition in SAP S/4HANA Cloud system.
-
After the approval the Create Purchase Requisitions from Excel(48M) Automation will be triggered. The automation will read the inputs from the Excel File and use the system information and credentials to create a purchase requisition in the SAP S/4HANA Cloud.
-
The bot will run automatically, and an output report will be sent to the email specified per the variable EMAIL_RECIPIENTS_48 with a copy of the same stored on the error or the success folder located in your base folder (variable - BASE_FOLDER_PATH_48M).
- You can also cross-check the posted data in the SAP S/4HANA Cloud system, against the data in the post-run excel that was sent to the specified recipient email.Please use the below url and login detials.
- SAP S/4HANA System:https://my401669.s4hana.cloud.sap/ui#
- Login: DT262_0XX
- Password: As provided by the Speaker
- Search for the app: Manage Purchase Requisition
Congratulations! You have now successfully modified a Pre-built Bot using the SAP Build Process Automation. We have looked at a basic scenario that leverages the Workflow Management, Decision Logic and Approval Forms to create a Business Process.