BADI for marking Payment Block during MIRO
We are required to implement a BADI , so that during MIRO at the header level the Payment Block (ZLSPR)is marked as "B" .
May I request SAP experts , to kindly help me with a sample code for the same please .
Balaji Ganapathiraman replied
Follow the below steps.
1. Go to the FM MRM_FINAL_CHECK in display mode.
2. Press the "Enhance Source Code" button (spiral) on the toolbar.
3. After that, follow the path Edit --> Enhancement Operations --> Show Implicit Enhancement Options.
4. Now scroll to the bottom and on the yellow line keep the cursor follow the path Edit --> Enhancement Operations --> Create. Press the Create button to Create the Enhancement Spot.
Once that is done, it will return you to the source code.
With in ENHANCEMENT... ENDENHANCEMENT statement, write your code.
Hope this helps.