on 11-06-2009 1:05 PM
Hi,
I have maintained "E" in OVAH for message no 115.(Purchase order number in document number: & already exists).
(Error- If user enters same PO no twice in sales order than System throws error).
It gives error in sales orders created for all Sales organization.
Requirement
Error should throw for orders created for only one sales organization.
Thanks,
Vrajesh
Hi,
This is a common requirement. One approach is to adjust routine VBKD-BSTKD_PRUEFEN in program FV45KF0V_VBKD-BSTKD_PRUEFEN.
You can repair the routine or, if you have ECC6 you can use an "implicit enhancement" which doesn't require a repair (see here: http://www.sapdev.co.uk/enhance/eframework/ef_implicit.htm). Note: there's a missing step in that link - you must click the 'enhance' button in SE80. The button's icon looks like a spiral.
Add this code into VBKD-BSTKD_PRUEFEN right under the form declaration:
check vbak-vkorg = '1000'. (replace '1000' with the organization you want to check.)
Be careful - this will have the effect of completely disabling PO checks for all sales orgs other than 1000. If that's not what you want you will need to write the appropriate ABAP code...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Error should throw for orders created for only one sales organization.
Either in your existing routine itself, you can add this logic or try with sale order exit in the program MV45AFZZ - USEREXIT_READ_DOCUMENT
thanks
G. Lakshmipathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.