This repository contains the material for the hands-on session RAP600 - Developer extensibility with SAP S/4HANA Cloud ABAP Environment - BAdIs.
- Requirements for attending this workshop
- Overview
- Exercises
- How to obtain support
- Further Information
In order to participate in this hands-on session, you MUST have installed the latest version of Eclipse and the latest version of the ABAP Development Tools (ADT) in Eclipse. Please check the following two short documents how to do this if you have not already done it:
You also need a user on an SAP S/4HANA Cloud ABAP Environment system.
Note for participants of SAP events: You will recieve logon information from the SAP team during the event.
This hands-on workshop will guide you to build developer extensions using Business Add-In (BAdI) in an SAP S/4HANA Cloud ABAP Environment system (aka Embedded Steampunk). A BAdI enables you to implement enhancements to standard SAP applications without modifying the original code.
As a result of this workshop the Manage Purchase Requisitions App will show a different behavior. When at the end of this workshop the user creates a purchase requisition the following checks will be active based on the implemented enhancements:
- It will be checked if the quantity of items ordered is 10 or fewer
- It will be checked if the date is 180 days or less in advance
If one or both checks fail, the application will return an error as shown in the following screen shot:
Exercises |
---|
Get started |
Exercise 1: Choose enhancement spot |
Exercise 2: BAdI implementation |
Exercise 3: Test BAdI implementation |
In this workshop, the BAdI is implemented in the SAP Fiori app as follows:
- Use an existing enhancement spot MM_PUR_S4_PR, with an existing BADI definition MM_PUR_S4_PR_CHECK
- Create a container ( enhancement implementation ) in the enhancement spot
- Create a BADI implementation for the BADI definition.
Support for the content in this repository is available during the actual time of the online session for which this content has been designed. Otherwise, you may request support via the Issues tab.
You can find further information on the different topics here:
- SAP S/4HANA Cloud ABAP Environment
- New ABAP Platform Extensibility Options for SAP S/4HANA
- ABAP Extensibility Topic Page @SAP Community
- Getting Started with the ABAP RESTful Application Programming Model (RAP)
Copyright (c) 2022 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.