Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
Chaitanya_Priya
Product and Topic Expert
Product and Topic Expert
Hello Community,

This blog post will highlight the enablement content for the few new release features and other learning content which were requested from the Community.

  1. List as an input and output for Decisions Artifact &Reusables Rules in Decision

  2. Sales Order Approval Sample in SAP Build Store (E2E Implementation)


1. List as an input/output for Decisions  and Reusables Rules in Decision


With the release in SAP Build Process Automation, you can now have List as an input and output parameter to the Decisions Artifact.



Reusables Rules


Reusable rules can be consumed by other rules.


Features of reusable rules


  • Text rules and decision tables can serve as reusable rules.




  • The result returned by the reusable rule, can only be executed within another rule or in a rule expression.



  • When configuring conditions and results in the wizard, reusable rules will be displayed under Vocabulary, allowing you to incorporate them into rule expressions.(Use Ctrl+space to start using Vocabulary)

  • A text rule with executed operations cannot be used as a reusable rule.


In this tutorial, you will learn

  • How to use a List as an input/output to your Decision.

  • How to duplicate rules

  • How to use Vocabulary in Rules

  • How to use intermediate variables in Rules

  • How to use reusable text rules.

  • How to bind List in Decision to Table in Form.




2.Sales Order Approvals Sample in SAP Build Store


Use case

One of the processes which is often still manual is the processing of sales orders. Depending on
the amount of the sales order, type of customer, or other attributes, additional approval steps
might be required that are currently managed in a manual and unstructured manner leading
to a lack of transparency and a higher lead time. This lean sample content is based on one of
our Getting Started Tutorials for SAP Build Process Automation. It is designed to help users
to get started in streamlining and digitalizing a process for requesting approval for sales
orders that can be managed directly by the departments depending on their needs before the sales order can e placed in SAP S/4HANA.

There are varied versions of processes available in the Sales Order Approval Sample. With each of the processes in the sample, you would be enabled on the most important features of SAP Build Process Automation with the step-by-step guide available in the SAP Developer tutorials.


Process 1: Order Processing


Below are the steps performed in this process.

  • Order Processing Form takes order details as input.

  • The details are checked according to the business rules provided.

  • Either the order gets auto approved and notified using Auto Approval Form or
    goes for manual approval using Approval Form.

  • If the order is approved, Order Confirmation Form is triggered or else Order
    Rejection Notification Form is triggered.



Would you like to implement this process?

Refer to the tutorial and learn the below features in SAP Build Process Automation.



Process 2:Order Processing Decision and Automation



  • Order Processing Form takes the order number and customer name as input.

  • The Get Order Details automation fetches the order details from the Sales Order Excel
    file stored in the local machine.

  • The details are checked according to the business rule provided.

  • Either the order gets auto-approved and notified using Auto Approval Form

  • Determine Approver Decision is used to determine a suitable approver and
    the order goes for manual approval using the Approval Form.

  • If the order is approved, Order Confirmation Form is triggered, or else Order
    A rejection Notification Form is triggered.



Would you like to implement this process?

Refer to the tutorial and learn the below features in SAP Build Process Automation.



Process 3:Order Processing API Trigger



  • The process takes order details as input via an API Trigger i.e the process can be triggered from applications like CAP,SAP Build Apps etc.

  • The details are checked according to the business rules provided.

  •  Either the order gets auto-approved and notified using Auto Approval Form or
    goes for manual approval using the Approval Form.

  • If the order is approved, Order Confirmation Form is triggered, or else Order
    A rejection Notification Form is triggered.



Would you like to implement this process?


Refer to the tutorial and learn the below features in SAP Build Process Automation.




Process 4:Order Processing Action


Order Processing Form takes order details as input.

  • The details are checked according to the business rules provided.
    Either the order gets auto-approved and notified using Auto Approval Form or
    goes for manual approval using the Approval Form.

  •  If the order is approved, Order Confirmation Form is triggered, or else Order
    a Rejection Notification Form is triggered.

  •  If the order is approved through manual approval or auto approval, the Creates a
    Sales Order Action creates the order in the S/4HANA system.



Would you like to implement this process?


Refer to the tutorial and learn the below features in SAP Build Process Automation.




Process 4 : Order Processing Forms Valuehelp



  •  Order Processing Form takes order details as input. The Form is connected to
    Actions Project which fetches customer details and populates the dropdown
    value help.

  • The details are checked according to the business rules provided.

  • Either the order gets auto-approved and notified using Auto Approval Form or
    goes for manual approval using the Approval Form.

  • If the order is approved, Order Confirmation Form is triggered,  else Order
    a Rejection Notification Form is triggered.



Would you like to implement this process?


Refer to the tutorial and learn the below features in SAP Build Process Automation.




Process 5 : Order Processing Forms Table



  • Order Processing Form takes the order number and customer name as input.

  • The Get Order Details automation fetches the order details from the Sales Order Excel
    file stored in the local machine.

  •  The Order Validity Check Decision checks if the order is valid on a set of business
    rules and returns a list of Order Error Output.

  •  If there are any errors in the order, the user is notified by triggering an Order Rejection Notification with Errors.

  •  Or else the details are checked according to the business rule provided.

  •  Either the order gets auto-approved and notified using Auto Approval Form Or the Determine Approver Decision is used to determine a suitable approver and
    the order goes for manual approval using the Approval Form.

  • If the order is approved, Order Confirmation Form is triggered, or else Order
    Rejection Notification Form is triggered.



Would you like to implement this process?


Refer to the tutorial and learn the below features in SAP Build Process Automation.



Please find the summary of the features with all the links at a glance to kick-start your learning.

Happy Learning!

How to resolve your queries in Tutorials?


If you are facing any technical issues while learning these tutorials, please use Contribute suggestion to reach out to us and get your queries resolved.



Reach out to us or comment on this blog post for any request for additional learning content.

For more information on SAP Build Process Automation, check out these sources: