Hello ABAP'ers,
Requirement:
In VK11, When the line item is entered it should check whether the Amount satisfying the formula which we are maintaining.
Formula
Contribution Margin (CM) % = ((Selling Price - Cost Price) / Selling Price) * 100
1. The Selling price should never go below the CM % (20%).
2. Whenever the User press the Enter button after filling Amount Column, the system has to check whether the entered Amount is satisfying the CM% formula, if not, the system has to send the error or info message to the user to modify it.
3. So that, the user may modify the price and continue to enter the next line item.
4. This is applied for both the Distribution channels 40 & 50.
5. The System has to convert the Base UOM.
6. This Process should occur for each and every Line Item entered.
7. Once the User saves the data in VK11 it should not be able to modify using VK12.
8. This particular condition is not applied for the Users u2018ITUSERu2019 & u2018ADMINu2019.
9. And also not applicable for the Customer Nos. 346, 1577, 1544 & 1670 for End User.
Issues:
1. When i Enter the Amount in the Column, i cannot able to bring a message box with err.
2. When i click Save button, the only err msg was displayed in status bar.
3. I cant check this for multiple Line item.
4. A cancel message appear $$00000001 function group
I Just wanna know, whether can i able to do this with the BADi name SD_COND_SAVE_A
Please help me..
Thanks in Advance.
Edited by: Suhale Kiff on Nov 4, 2010 5:08 AM