ABAPIntermediate
User Exits
Master classic SAP user exits in SD/MM flows with MV45AFZZ, MV50AFZ1, RV60AFZZ, debugging, safe save logic, performance control and S/4HANA migration thinking.
Overview
Master classic SAP user exits in SD/MM flows with MV45AFZZ, MV50AFZ1, RV60AFZZ, debugging, safe save logic, performance control and S/4HANA migration thinking.
Lessons in this topic
- Classic User Exits in SD/MMWhere they live and how to use them safely.
- When to Migrate a User Exit to a BAdIS/4HANA cleanup opportunities.
- RV60AFZZ Billing User Exit PatternsUnderstand billing exits for invoice fields, validations and billing document processing.
- Safe Coding Rules Inside User ExitsWrite user-exit code that is controlled, support-friendly and production-safe.
- Finding User Exits in Real TransactionsLearn practical ways to find the correct user exit using SE93, debugging, call stack and standard includes.
- MV45AFZZ Sales Order Save LogicUnderstand how MV45AFZZ is used for sales order validation and custom save logic.
- MV50AFZ1 Delivery User Exit PatternsUse delivery user exits safely for validation, delivery block and batch-related checks.
- Performance Risks in User ExitsAvoid transaction slowdowns caused by heavy logic inside save exits.
Interview questions covered
- How do you regression test a user exit before upgrade?
- How do you confirm whether a user exit is triggered at the correct point?
- Difference between USEREXIT_SAVE_DOCUMENT_PREPARE and USEREXIT_SAVE_DOCUMENT.
- User exit code is not being executed after transport. Why?
- A validation in MV45AFZZ is blocking all order types, but it should run only for one order type. What is the issue?
- How do you inventory user-exit usage before S/4HANA conversion?
- Why is SELECT inside LOOP dangerous in user exits?
- What is a user exit?
- User exit added to fix a data issue and now blocks legitimate orders. How do you respond?
- How would you handle user exits during S/4HANA conversion?
- Are user exits considered modifications?
- How do you make a legacy user exit maintainable?
- A delivery save validation works in VL02N but fails during background delivery processing. What would you check?
- You must prevent saving sales orders without a purchase order reference. Where?
- What is the difference between USEREXIT_SAVE_DOCUMENT_PREPARE and USEREXIT_SAVE_DOCUMENT in sales order processing?