Custom logic lets you trigger system behaviors not available by default. Use the Custom Logic app to select and implement released Business Add-Ins (BAdIs) provided by SAP.
Once you identify the appropriate BAdI, implement it in the Custom Logic app. Use the View Documentation link to review the available parameters and controls.

View the Business Add-In (BAdI) code
After creating and publishing the BAdI, use the Code Editor to review the generated ABAP code and, if needed, refine it using the provided sample code as a syntax reference.
In most cases, manual code adjustments are not necessary as BAdI code is generated automatically during creation and publication. The editor will block saving or publishing if unsupported code is entered.
Note
This process provides a controlled way to implement minor functional changes without extensive developer knowledge. Always test BAdI implementations thoroughly after deployment.

For more information, refer to the Custom Logic app documentation on the SAP Help Portal.