Create Custom Logic Using Key User Extensibility and Perform Trace
Intermediate
15 min.
Create custom logic for an existing custom field in S/4HANA Cloud ABAP Environment, then check its parameters using the Custom Logic Tracing app
You will learn
- How to create custom logic for an existing custom field in the app Custom Fields
- How to run a trace for the Fiori app Create Purchase Order in the app Custom Logic Tracing
- How to check the output value of this custom field using Custom Logic Tracing
- How to check the custom logic of this custom field, in Custom Fields
Prerequisites
- You have a license for SAP S/4HANA Cloud
- You are familiar with Key User extensibility in SAP S/4HANA Cloud. If not, see the More Information section
- You are familiar with the app Custom Logic Tracing. If not, see the More Information section
- In SAP Fiori launchpad, you have the following authorizations:
SAP_BR_PURCHASER
for the app Create Purchase Order - AdvancedSAP_BR_ADMINISTRATOR
for Custom Logic Tracing and Custom Logic
- You have created a custom field using Key User extensibility
yy1_zhdrprnt2_pdh_000
- In Custom Logic, you have created a
BAdI
implementationYY1_FILLHEADERCUSTOMFIELDS_000
in the business context andBAdI
definition Modify Purchase Order Header (MM_PUR_S4_PO_MODIFY_HEADER
)
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.