on 10-04-2008 4:30 PM
Hi gurus,
We have a copy control set up from billing doc to credit memo doc with all the item catergories pricing type as D (Copy pricing elements unchanged ). We have a discount condition in pricing procedure which is set to statistical based on a condition base formula.
When I create a credit memo all condition are copied from billing document but the discount condition is set to statistical, which in term throws off the further calculations.
I found out that this is happening because the condition base formula is getting executed during copy and discount condition get statistical.My understanding was that ,making the pricing type D should not even touch the formula,it should copy conditions as it is.
Have anybody seen this issue before , is there a way to control it ? Or this is a SAP bug ?
Please respond,below is the excerpt of our pricing procedure in billing and credit memo
Billing doc pricing :
ZVEN Vendor List Price 135,00
ZVDC Vendor Discount 50,000- -
> not statistical
Customer Discounted 67,50
Credit memo pricing :
ZVEN Vendor List Price 135,00
ZVDC Vendor Discount 50,000- -
> statistical
Customer Discounted 135,00
Thanks in advance for your help...
Swapnil
Edited by: Swapnil Santosh on Oct 6, 2008 4:09 PM
Hi Swapnil,
I dont thik its an SAP bug. In order to answer your query, we need to understand further more on the issue,
1) IS ZVDC defualted to statistical in the pricing procedure ? or are you explicitly putting to statistical based onthe condition base formula ?
2 ) if you are putting as statistical explicitly then we need to check the logic in the base formula. Probably you are filtering the document type or category in the logic?
Can you send me the logic, in the base routine, ?
sit with an abaper and try to debug the routine.
the routines should definetly be called even if you are copying.
the indicator D just copies the unit price thats it, the condition value is calculated from the routines only,
i feel there is some thing in your routine which needs to be corrected.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Srini,
Thanks for your reply, here are the answers to your questions:
1) IS ZVDC defualted to statistical in the pricing procedure ? or are you explicitly putting to statistical based onthe condition base formula ?
--->we are putting it to statistical based on the formula which checks item category.see code below
2 ) if you are putting as statistical explicitly then we need to check the logic in the base formula. Probably you are filtering the document type or category in the logic?
---> the logic in formula is :
check: komp-pstyv ne 'ZWAR'.
xkomv-kstat = 'X'.
xkwert = 0.
endif.
Let me know if you need any more info..
Swapnil
User | Count |
---|---|
86 | |
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.