Create and Debug a BAdI Implementation in S/4HANA Cloud ABAP Environment
Intermediate
20 min.
Create and Debug a BAdI Implementation in ABAP Development Tools (ADT)
You will learn
- How to create and implement a simple
BAdI
- Analyze errors using ABAP Cross Trace
- How to inspect the
BAdI
implementing class in ABAP Debugger
Prerequisites
- You have a license for SAP S/4HANA Cloud; have a developer user in this system and have created an ABAP Cloud Project
- You have installed SAP ABAP Development Tools (ADT), latest version, and have created an ABAP Cloud project for your SAP S/4HANA Cloud System in it
- You are familiar with the concept of extensions to the SAP standard and with
BAdIs
inADT
in particular. If not, work through the Tutorial: Implement a Business Add-in (BAdI
) To Check a Purchase Requisition. This tutorial also contains links to more information aboutBAdIs
- You have created a
BAdI
enhancement implementationZEI_PR_ITEM
.
(abap-s4hanacloud-procurement-purchasereq-checks), steps 1-4 - You have opened the Fiori app Create Purchase Requisition
- You are familiar with the concept of debugging ABAP in ADT. If not, see the links below
- You have assigned the following roles to your user:
SAP_BR_DEVELOPER
,SAP_BR_PURCHASER
Throughout this tutorial, objects name include a suffix, such as ###
. Always replace this with your group number or initials.
The administrator receives an welcome e-mail after provisioning. This e-mail includes the system URL. By removing
/ui
you can log into the SAP S/4HANA Cloud ABAP Environment system. Further information can be found Developer Extensibility: Connect to the ABAP System.
