Skip to content

Commit

Permalink
Merge pull request #2 from sap-tutorials/master
Browse files Browse the repository at this point in the history
pulled changes
  • Loading branch information
DevelopedByAnurag authored Jul 31, 2023
2 parents 2fef2b8 + 332bd31 commit dcffe11
Show file tree
Hide file tree
Showing 303 changed files with 1,105 additions and 7,060 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -71,78 +71,73 @@ author_profile: https://github.com/raz-korn

<!-- border -->![bas lcap open entity editor](BAS-LCAP-Data-Model-1-.png)

4. Provide an **Entity Name** for the entity, for example, **`Capex`**.
4. The new entity is shown in the _schema.cds_ tab. Change the **Entity Name** in the header of the entitiy to a new name, for example, **`Capex`**.

<!-- border -->![bas lcap create entity](BAS-LCAP-Data-Model-2-.png)

5. Click the **+** to add a property to the **`Capex`** entity.
5. Choose the **Show Details** icon, to be able to add properties to the **`Capex`** entity.

<!-- border -->![bas lcap create entity](BAS-LCAP-Data-Model-3-.png)

6. Select the following:
A new menu opens on the right side of the screen.

6. Choose the + icon in the properties table and select the following:

| Step | Parameter | Value |
|:-----|:----------|:------|
| A | Property Name | **description** |
| B | Property Type | **String** (default) |
| C | Key | Leave unchecked (default) |
| D | Null | **Yes** (default) |
| E | Arrayed | Leave unchecked (default) |
| F | Max Length | Leave empty |
| G | Default Value | Leave empty (default) |
| A | Name | **description** |
| B | Type | **String** (default) |
| C | Length | Leave empty |
| D | Default | Leave empty (default) |
| E | Key | Leave unchecked (default) |
| F | Null | **Yes** (default) |

<!-- border -->![bas lcap new property editor](BAS-LCAP-Data-Model-4-.png)

7. Add the following property (click **+**). When done with adding the properties choose **Create**.
7. Add the following property (click **+**). When done with adding the properties choose **Save**.

| Step | Parameter | Value |
|:-----|:----------|:------|
| A | Property Name | **`total_cost`** |
| B | Property Type | **Integer** |
| C | Key | Leave unchecked (default) |
| D | Null | **Yes** (default) |
| E | Arrayed | Leave unchecked (default) |
| F | Default Value | Leave empty (default) |
| A | Name | **total_cost** |
| B | Type | **Integer** |
| C | Default | Leave empty (default) |
| D | Key | Leave unchecked (default) |
| E | Null | **Yes** (default) |

<!-- border -->![bas lcap new property editor](BAS-LCAP-Data-Model-5-.png)

The **`Capex`** entity appears in the **Data Model Editor** tab with a default **ID** property.
The **`Capex`** entity appears in the _schema.cds_ tab with a default **ID** property.

<!-- border -->![bas lcap new entity](BAS-LCAP-Data-Model-6-.png)

8. To add another data model to your project click the `Add Entity` button in the **Data Model Editor** tab.
8. To add another data model to your project click the `Add Entity` button in the _schema.cds_ tab.

<!-- border -->![bas lcap add entity](BAS-LCAP-Data-Model-8-1.png)

A new entity appears in the **Data Model Editor** tab.

To edit the entity, click the entity's header and choose the **Edit Entity** icon.

<!-- border -->![bas lcap open entity editor](BAS-LCAP-Data-Model-8-.png)
Drop the new entity somewhere on the screen.

9. Provide an **Entity Name** for the entity, for example, **Contractors**.
9. Change the **Entity Name** in the header of the entitiy to a new name, for example, **Contractors**.

<!-- border -->![bas lcap entity name](BAS-LCAP-Data-Model-9-.png)

10. Change the **Property Name** of the **ID** property to **contractor**, and its **Property Type** to **Integer**.
10. In the _Properties_ menu on the right side of the screen, change the **Name** of the **ID** property to **contractor**, and its **Type** to **Integer**.

<!-- border -->![bas lcap edit property](BAS-LCAP-Data-Model-10-.png)

11. Add the following property to the **Contractors** entity, and choose **Update**.
11. Add the following property to the **Contractors** entity, and **save** your changes**.

| Step | Parameter | Value |
|:-----|:----------|:------|
| A | Property Name | **name** |
| B | Property Type | **String** (default) |
| C | Key | Leave unchecked (default) |
| D | Null | **Yes** (default) |
| E | Arrayed | Leave unchecked (default) |
| F |Max Length | Leave empty |
| G | Default Value | Leave empty (default) |
| A | Name | **name** |
| B | Type | **String** (default) |
| C | Length | Leave empty |
| D | Default | Leave empty (default) |
| E | Key | Leave unchecked (default) |
| F | Null | **Yes** (default) |

<!-- border -->![bas lcap add property](BAS-LCAP-Data-Model-11-.png)

The **Contractors** entity appears in the **Data Model Editor**.
The **Contractors** entity appears in the _schema.cds_ tab.



Expand All @@ -155,15 +150,15 @@ author_profile: https://github.com/raz-korn

<!-- border -->![bas lcap add relationship](BAS-LCAP-Data-Model-14-2-.png)

2. Select the following, and choose **Create**.
2. In the **New Relationship** menu on the right side of the screen, select the following, and choose **Save**.

| Step | Parameter | Value |
|:-----|:----------|:------|
| A | Relationship Type| **Association** (default) |
| A | Type| **Association** (default) |
| B | Multiplicity | **To-One** (default) |
| C | Key Property | **No** (default) |
| D | Property Name | **contractor** |
| E | Target Entity | **CapitalExpenditures.Contractors** (default) |
| E | Target Entity | **Contractors** (default) |
| F | Backlink Property | Leave empty (default) |

<!-- border -->![bas lcap add relationship](BAS-LCAP-Data-Model-15-.png)
Expand All @@ -185,53 +180,41 @@ author_profile: https://github.com/raz-korn

<!-- border -->![bas lcap launch service editor](BAS-LCAP-Service-2-.png)

3. Define the following for your new service, and choose **Create**.
A pop-up opens.

| Step | Parameter | Value |
|:-----|:----------|:------|
| A | Name | **`Capex`** |
| B | Namespace | **`CapitalExpendituresService`** (default) |
| C | Type | **`CapitalExpenditures.Capex`** |
| D | &lt;all properties> | Leave checked (default) |
| E | ID | Leave checked (default) |
| F | description | Leave checked (default) |
| G | `total_cost` | Leave checked (default) |
| H | contractor | Leave checked (default) |
3. Select **CapitalExpenditures.Capex** as _Projection Type_ and choose **OK**.

<!-- border -->![bas lcap edit service](BAS-LCAP-Service-3-.png)

The **`Capex`** service appears in the **Service Editor** tab.
The **`Capex`** service appears in the _service.cds_ tab.

4. To add another new service to your project click the `Add Entity` button in the **Service Editor** tab, define the following, and choose **Create**.

| Step | Parameter | Value |
|:-----|:----------|:------|
| A | Name | **Contractors** |
| B | Namespace | **`CapitalExpendituresService`** (default) |
| C | Type | **`CapitalExpenditures.Contractors`** |
| D | &lt;all properties> | Leave checked (default) |
| E | contractor | Leave checked (default) |
| F | name | Leave checked (default) |
4. To add another new service to your project click the `Add Entity` button in the **Service Editor** tab and place the new entity somewhere on the screen. A pop-up opens.

<!-- border -->![bas lcap add service](BAS-LCAP-Service-5-1.png)

Select **CapitalExpenditures.Contractors** as _Projection Type_ and choose **OK**.

<!-- border -->![bas lcap edit service](BAS-LCAP-Service-5-.png)

The **Contractors** service is added to the **Service Editor**, with association to the **`Capex`** service.
The **Contractors** service is added to the _service.cds_ tab.

<!-- border -->![bas lcap service editor](BAS-LCAP-Service-6-.png)

5. Select the **`Capex`** service (which gets highlighted with a blue rectangle indication), and check the **Draft Editing** property.
5. In the screen **service.cds**, select the entry _Hide/Show Property Sheet_ in the upper right part of the screen to be able to see the property sheet of an entity.

<!-- border -->![bas lcap service editor](BAS-LCAP-Service-6-1.png)

6. Find the `Capex` entity on the screen _service.cds_ and click on the header. A menu will appear on the right side of the screen. In the tab **settings**, check the checkbox for _Draft Editing_ and save your settings.

>A draft is an interim version of a business entity that has not yet been explicitly saved as an active version. This allows users to pause, for example when being interrupted, and continue later on. For more information visit [SAP Fiori Design Guidelines - Draft Handling](https://experience.sap.com/fiori-design-web/draft-handling/).
<!-- border -->![bas lcap draft editing](BAS-LCAP-Service-7-.png)

6. You can re-arrange the entities on the canvas by clicking the **Auto Layout** icon to improve the service visualization. In addition, you can also manually drag the entities over the canvas.
7. You can re-arrange the entities on the canvas by clicking the **Auto Layout** icon to improve the service visualization. In addition, you can also manually drag the entities over the canvas.

<!-- border -->![bas lcap service editor auto layout](BAS-LCAP-Service-8-.png)

7. Access the **Home** tab. You can see that both the services are added to the **Services** tile.
8. Access the **Home** tab. You can see that both the services are added to the **Services** tile.

<!-- border -->![bas lcap service editor auto layout](BAS-LCAP-Service-9-.png)

Expand Down
Binary file added tutorials/automation-pilot-getting-started/10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tutorials/automation-pilot-getting-started/2.png
Binary file added tutorials/automation-pilot-getting-started/3.png
Binary file added tutorials/automation-pilot-getting-started/4.png
Binary file added tutorials/automation-pilot-getting-started/5.png
Binary file added tutorials/automation-pilot-getting-started/6.png
Binary file added tutorials/automation-pilot-getting-started/7.png
Binary file added tutorials/automation-pilot-getting-started/8.png
Binary file added tutorials/automation-pilot-getting-started/9.png
102 changes: 102 additions & 0 deletions tutorials/automation-pilot-getting-started/automation-pilot-1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
---
author_name: Elena Grigorova
author_profile: https://github.com/ElenaGrigorova
auto_validation: false
time: 10
tags: [ tutorial>beginner, type>tutorial, software-product>sap-automation-pilot ]
primary_tag: software-product>sap-automation-pilot
parser: v2
---

# Get Started with SAP Automation Pilot
<!-- description --> This tutorial will guide you through the process of setting up a SAP Automation Pilot account and accessing it for the first time.


## You will learn
- How to setup a Free SAP Automation Pilot Account.
- How to setup a Standard SAP Automation Pilot Account.


## Prerequisites
SAP Automation Pilot is available as a service on SAP Business Technology Platform (SAP BTP). You must have an active SAP BTP account as a prerequisite for using SAP Automation Pilot. For more information on how to setup a free SAP BTP trial, see [Get started with SAP BTP](https://www.sap.com/products/technology-platform/trial.html).



### Acess your SAP BTP global account cockpit.
![Step 1](1A.png)

Once you have access to a SAP BTP global account, you can set up SAP Automation Pilot by taking advantage of the service booster. The booster automatically performs the following SAP BTP steps:

- Assigning service quotas
- Subscribing to SaaS applications
- Assigning role collections

For more information, see the official documentation on [Boosters](https://help.sap.com/docs/btp/sap-business-technology-platform/boosters?version=Cloud).



### Run the Booster
- Navigate to the menu on the left and select **Boosters**.

- Search for SAP Automation Pilot and click **Start** to launch the booster.

![Step 2](2.png)

[OPTION BEGIN [Free Plan]]

- Choose your subaccount Scenario and then click **Next**.

You can create a new subaccount or use an existing one.
![Step 3](3.png)

- Configure your Subaccount Details including your Subaccount Name. Then click **Next**.
We recommend that you use names which are easily identifiable and self-explanatory here.
![Step 4](4.png)
Provider and Region cannot be changed in the Trial version of SAP Automation Pilot.

- Review your subaccount details and then choose **Finish**.

![Step 5](5.png)

- The booster now runs and the progress of each stage is displayed.
[OPTION END]

[OPTION BEGIN [Standard Plan]]

The booster loads and the prerequisite checks run automatically. These prerequisite checks ensure that your user account has the necessary permissions to subscribe to new services and that your SAP BTP global account has available SAP Automation Pilot entitlements.

- Once the prerequisite checks are met, click **Next**.

- Choose your subaccount Scenario and then click **Next**.

You can create a new subaccount or use an existing one.
![Step 3](3.png)

- Configure your Subaccount Details including your Subaccount Name. Then click **Next**.
We recommend that you use names which are easily identifiable and self-explanatory here.
![Step 4](4.png)
If needed, enter the details of additional users who will work on your development project and assign them to the relevant roles. Thenk click **Next**.

- Review your subaccount details and then choose **Finish**.

![Step 5](5.png)

The booster now runs and the progress of each stage is displayed.
[OPTION END]

### Access SAP Automation Pilot

- Once the booster has successfully run, choose **Navigate to Subaccount**.

![Step 6](7.png)

- Click **Services** and select **Instances and Subscriptions**.

![Step 7](8.png)

- Click **Go to Application**.

![Step 8](9.png)

Congratulations! You're now in the SAP Automation Pilot dashboard.
![](10.png)
Loading

0 comments on commit dcffe11

Please sign in to comment.