SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Implement a Custom Shell Plug-in in the SAP BTP ABAP Environment

Learn how to develop and deploy a custom shell plug-in to your SAP BTP ABAP Environment as part of a SAP Fiori Application.

Overview

🎓 intermediate 45 min. SAP BTP ABAP EnvironmentIntermediateABAP DevelopmentSAP Business Application StudioSAP S 4hana Cloud ABAP Environment

You will learn

  • โœ”How to create a custom shell plug-in.
  • โœ”How to deploy the shell plug-in to your SAP BTP ABAP Environment as part of a SAP Fiori Application.
  • โœ”How to create a Business Catalog and Business Role to regulate access to the SAP Fiori Application.

Prerequisites

Prerequisites

  • You have access to a SAP BTP Subaccount with a SAP Business Application Studio subscription.
  • You have access to a SAP BTP ABAP Environment in a Cloud Foundry space in the subaccount.
  • You have connected SAP Business Application Studio to your SAP BTP ABAP Environment via destination.
  • You have a user in the subaccount, with Business_Application_Studio_Developer role collection.
  • You are a member of the Cloud Foundry space where your SAP BTP ABAP Environment resides, and you have Space Developer role.
  • You have a user in your SAP BTP ABAP Environment with the following roles: SAP_BR_ADMINISTRATOR and SAP_BR_DEVELOPER.
  • You are connected to your SAP BTP ABAP Environment in the ABAP Development Tool (ADT) in Eclipse.

This tutorial was written for SAP BTP ABAP Environment. However, you should be able to use it in SAP S/4HANA Cloud Environment in the same way.

Throughout this tutorial, you will create various development objects and UI components. Wherever the suffix ### or 000 is used, please replace it with your initials or group number.

Steps

Step 1 Create a Package in ABAP Developer Tool in Eclipse
โ€”

The shell plug-in will be deployed to the local ZLOCAL software component in your SAP BTP ABAP Environment. For this reason, you need to create a local package in ADT.

  1. Access ABAP Developer Tool in Eclipse and connect to your SAP BTP ABAP Environment.

  2. Right click on your SAP BTP ABAP Environment and click on New > ABAP Package:

    Create new package
    Create new package

  3. Input a name and a description for your package. Make sure that the Package Type is Development. Click on Next.

    Create new package - name and description
    Create new package - name and description

    For the scope of this tutorial, the package name is Z_PLUGIN_###. You can use this name or choose your own package name. But make sure that your package name starts with Z. Take note of the name of the package you just created, you will need it in a later step. You can also mark the Add to favorite package option, so the package will be automatically added to your favorites and it will be easier to find later on.

  4. In the Software Component field input ZLOCAL. Click on Next.

    Create new package - select software component
    Create new package - select software component

  5. Click on Finish. The package will be created.

    No tr creation, just finish
    No tr creation, just finish

Step 2 Create a SAPUI5 Project in Business Application Studio
+
Step 3 Adjust your SAPUI5 Project
+
Step 4 Preview your SAPUI5 Component
+
Step 5 Deploy your SAPUI5 Component
+
Step 6 Create an IAM App
+
Step 7 Create a Business Catalog
+
Step 8 Create a Business Role
+
Step 9 Test your Shell Plug-in
+
Step 10 Test Yourself
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 10
1. Create a Package in ABAP Developer Tool in Eclipse 2. Create a SAPUI5 Project in Business Application Studio 3. Adjust your SAPUI5 Project 4. Preview your SAPUI5 Component 5. Deploy your SAPUI5 Component 6. Create an IAM App 7. Create a Business Catalog 8. Create a Business Role 9. Test your Shell Plug-in 10. Test Yourself

Learn more →