LoginSignup
0
1

SAP BTP Free TrialでSAP Build Process Automationを使ってビジネスプロセスを作成してみよう(中編)

Last updated at Posted at 2024-04-06

こちらの記事の続きになります。

引き続き、こちらのTutorialを参考にしています。

トリガーフォームの作成

まず最初に、ビジネスプロセスを開始するためのトリガーフォームを作成します。

「トリガを追加」をクリックします。
スクリーンショット 2024-04-06 12.28.03.png

「フォームを送信する」をクリックします。
スクリーンショット 2024-04-06 12.29.53.png

「空白フォーム」をクリックします。
スクリーンショット 2024-04-06 12.31.10.png

フォームの作成画面が表示されますので、
スクリーンショット 2024-04-06 12.32.48.png

以下の項目を入力して作成ボタンをクリックします。(IDは自動入力されます)
名前: Order Processing Form
説明: Form to collect order details
スクリーンショット 2024-04-06 12.34.55.png

トリガーフォームが作成されますので、「・・・」 -> 「エディタを開く」の順にクリックします。
スクリーンショット 2024-04-06 13.05.37.png

トリガーフォームのエディタが開きますので、
スクリーンショット 2024-04-06 13.28.42.png

「見出し1」のアイコン(H1)と、「段落」のアイコン(AA)を図のようにドラッグ&ドロップします。
スクリーンショット 2024-04-06 15.24.05.png

「見出し1」と「段落」に、それぞれ以下の文字を入力します。
見出し1: Order Approval Request Form
段落: Please provide the necessary information of your order and submit for approvals.
スクリーンショット 2024-04-06 15.30.55.png

その他のアイコンも図のようにドラッグ&ドロップし、「テキスト」と「番号」と「日付」にそれぞれ以下の文字を入力し、それぞれ「必須」のチェックボックスに✔︎を入れます。最後に保存ボタンをクリックします。
テキスト: Customer Name
テキスト: Order Number
番号: Order Amount
日付: Order Date
テキスト: Shipping Country
日付: Expected Delivery Date
スクリーンショット 2024-04-06 15.52.04.png
スクリーンショット 2024-04-06 16.00.20.png

次の操作へ進むため、「Order Processing」タブをクリックします。
スクリーンショット 2024-04-06 16.03.44.png

承認フォームの作成

次に承認フォームを作成します。「+」アイコンをクリックします。
スクリーンショット 2024-04-06 16.15.20.png

「承認」をクリックします。
スクリーンショット 2024-04-06 16.15.49.png

「空白 承認」をクリックします。
スクリーンショット 2024-04-06 16.16.22.png

「承認を作成」画面で以下の項目を入力します。
名前: Approval Form
説明: Form to approve or reject the sales order
スクリーンショット 2024-04-06 16.16.55.png
スクリーンショット 2024-04-06 16.17.21.png

承認フォームが作成されますので、「・・・」 -> 「エディタを開く」の順にクリックします。
スクリーンショット 2024-04-06 16.35.02.png

「見出し1」アイコンと「段落」アイコンを図のようにドラッグ&ドロップし、「見出し1」と「段落」にそれぞれ以下の文字を入力します。
見出し1: Approve Sales Order
段落: A new order has been received. Please review and confirm whether the requirements can be met or not.
段落: Sales Order Details:
スクリーンショット 2024-04-06 16.38.52.png

その他のアイコンも図のようにドラッグ&ドロップし、「テキスト」と「番号」と「日付」にそれぞれ以下の文字を入力し、それぞれ「読込専用」のチェックボックスに✔︎を入れます。
テキスト: Customer Name
テキスト: Order Number
番号: Order Amount
日付: Order Delivery Date
スクリーンショット 2024-04-06 17.01.58.png

その下にもアイコンを図のようにドラッグ&ドロップし、「段落」と「チェックボックス」と「テキスト領域」にそれぞれ以下の文字を入力します。最後に保存ボタンをクリックします。
段落: Supplier Acknowledgment
チェックボックス: I acknowledge that we have received your order and will process it based on the availability
テキスト領域: Message to buyer:
スクリーンショット 2024-04-06 17.11.20.png

承認フォームの設定

次に作成した承認フォームの設定を行います。
「Order Processing」タブ -> 「Approval Form」 -> 「一般」の順にクリックします。
スクリーンショット 2024-04-06 17.34.02.png

件名に以下の内容を入力します。コピー&ペーストで文字入力をするとなぜか上手くいきませんでしたので、直接入力するのが良いと思います。
Review and approve orderを入力、
「Order Processing Form (Trigger)」からOrder Numberを選択、
fromを入力
「Order Processing Form (Trigger)」からCustomer Nameを選択、
companyを入力
スクリーンショット 2024-04-06 18.09.51.png
スクリーンショット 2024-04-06 18.10.06.png

受信者のユーザの入力ボックスをクリックし、「プロセスメタデータ」から「Process Stated By」を選択します。
スクリーンショット 2024-04-06 17.55.20.png

期日の「期日のタイプを選択」から「静的期間」を選択し、「タスク作成後の期日」を「2」「日」を選択します。
スクリーンショット 2024-04-06 17.58.25.png

「入力」タブをクリックし、アイコンを図のようにドラッグ&ドロップします。最後に保存ボタンをクリックします。
Customer Name: Customer Name
Order Delivery Date: Expected Delivery Date
Order Amount: Order Amount
Order Number: Order Number
スクリーンショット 2024-04-06 18.02.47.png

正しく入力を終えると、「Approval Form」の左のアラートアイコンが消えます。
スクリーンショット 2024-04-06 18.12.53.png

通知の作成と設定

次に通知の作成と設定を行います。
「+」(プロセスステップの追加)をクリックします。
スクリーンショット 2024-04-06 18.16.49.png

「フォーム」をクリックします。
スクリーンショット 2024-04-06 18.18.43.png

「空白 フォーム」をクリックします。
スクリーンショット 2024-04-06 18.19.20.png

「フォームの作成」の画面が表示されますので、以下の項目を入力して作成ボタンをクリックします。
名前: Order Confirmation Form
説明: Notification form to inform whether the sales order is approved by the supplier Choose Create
スクリーンショット 2024-04-06 18.20.07.png

「Order Confirmation Form」の「・・・」 -> 「エディタを開く」の順にクリックします。
スクリーンショット 2024-04-06 18.27.41.png

「Order Confirmation Form」の画面が開きますので、「見出し1」アイコンと「段落」アイコンと「テキスト領域」アイコンを図のようにドラッグ&ドロップし、「見出し1」と「段落」と「テキスト領域」にそれぞれ以下の文字を入力します。
見出し1: Order Confirmation
段落: Your order has been received and accepted for delivery. We will send you the details as soon as the order is shipped. You can find the details of your order below, please review and verify your request:
テキスト領域: Message from the supplier:
段落: Your Sales Order Details:
スクリーンショット 2024-04-06 18.30.56.png

その下にもアイコンを図のようにドラッグ&ドロップし、「テキスト」と「番号」と「日付」にそれぞれ以下の文字を入力し、それぞれ「読込専用」のチェックボックスに✔︎を入れます。最後に保存ボタンをクリックします。
テキスト: Order Number
番号: Order Amount
日付: Expected Delivery Date
スクリーンショット 2024-04-06 18.38.39.png

「Order Processing」タブ -> 「Order Confirmation Form」 -> 「一般」の順にクリックし、
件名に
Your orderを入力、
「Order Processing Form」からOrder Numberを選択、
has been successfully receivedを入力します。
受信者の「ユーザ」に
「プロセスメタデータ」から「Process Started By」を選択します。
スクリーンショット 2024-04-06 18.45.07.png

「入力」タブをクリックし、アイコンを図のようにドラッグ&ドロップします。最後に保存ボタンをクリックします。
Order Number: Order Number
Message from the supplier: Message to buyer
Expected Delivery Date: Expected Delivery Date
Order Amount: Order Amount
スクリーンショット 2024-04-06 18.51.25.png

入力が正常に完了すると、「Order Confirmation Form」の左のアラートが消えます。
次の操作に移るため、「概要」タブをクリックします。
スクリーンショット 2024-04-06 19.05.13.png

「Order Confirmation Formの「・・・」 -> 「複製」の順にクリックします。
スクリーンショット 2024-04-06 19.07.26.png

「アーティファクトを複製」の画面が表示されますので、名前にOrder Rejection Formを入力し、複製ボタンをクリックします。
スクリーンショット 2024-04-06 19.18.32.png

複製した「Order Rejection Form」のエディタが自動的に開きますので、以下の項目を修正し、
見出し1: Order Rejection
段落: We are sorry to inform you that your order cannot be accepted. Any inconvenience caused due to the refusal of the order is regretted. You can find the reason of the rejection and the details of your order below, please confirm the request:
「段落」最下段に追加後、以下を入力します。最後に保存ボタンをクリックします。
段落: Please press the SUBMIT button to acknowledge the order status.
スクリーンショット 2024-04-06 19.21.12.png
スクリーンショット 2024-04-06 19.22.06.png

「Order Processing」タブをクリックし、「Approval Form」の「Reject」側の「+」(プロセスステップの追加)をクリックします。
スクリーンショット 2024-04-06 19.28.40.png

「フォーム」をクリックします。
スクリーンショット 2024-04-06 21.33.11.png

「Order Rejection Form」をクリックします。
スクリーンショット 2024-04-06 21.35.50.png

「一般」タブで件名に
Your orderを入力、
「Order Processing Form」から「Order Number」を選択、
is rejected by the supplierを入力、
「優先度」で「優先」を選択、
「ユーザ」で「プロセスメタデータ」から「Process Started By」を選択します。
スクリーンショット 2024-04-06 21.37.32.png
スクリーンショット 2024-04-06 21.40.21.png

「入力」タブをクリックし、アイコンを図のようにドラッグ&ドロップします。最後に保存ボタンをクリックします。最後に保存ボタンをクリックします。
Expected Delivery Date: Expected Delivery Date
Message from the supplier: Message to buyer
Order Amount: Order Amount
Order Number: Order Number
スクリーンショット 2024-04-06 21.43.21.png

「Order Rejection Form」の左側からアラートが無くなっていれば完了です。
スクリーンショット 2024-04-06 22.42.13.png

今回の記事はここまでになります。次回で最後になります。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1