on 09-15-2010 5:23 PM
Dear community,
for a customer I enhanced the pricing procedure by a formula to calculate the amount based on a special pricing table for the billing document (transaction VF01). The formula is assigned to a manual condition type.
By creating a new document the amount for the manual condition type will be calculated by the formula in the pricing procedure.
But if I change the prior calculated value manually in the document, the formula is performed again; the changed value will be overwritten by the formula.
Is it possible to calculate the amount once at the beginning?
How can I prevent that the formula will be processed again?
I would like to set the amount initially with the calculated amount by the formula; after it should be changeable.
Thank you very much for your support.
Best regards,
Kurt.
Please try this. please check the check boxes "Amount / Percent ' and "calculation type" in this condition type definition. then try and please update the results.
Else we can try to control it by enhancing the formula as recommended in the earlier post by Mr. Shiva Ram.
Regards
Sai
Edited by: Sai on Sep 16, 2010 7:55 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kurt,
you could try the following:
- create a condition ZPN0 copied from PN00. PN00 is a condition that allows you to enter manually a net price.
- add condition ZPN0 in your price scheme AFTER your PR00 condicition.
If your user enters a value in condition ZPN0, it will deactivate all previous price conditions in your scheme. So PR00 no longer will be active...if user deletes ZPN0 condition, again previous conditions in scheme will become active again.
Let us known if this works for you.
Regards,
Joan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check whether in the formula itself you can add coding to check whether it is first processing or repeat processing.
The logic can be, if it is first processing, then apply the formula value, if not then dont apply.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Kurt
Firstly try by specifying C- Manual entry has priority in the field 'Manual entries' from the window 'Changes which can be made' window for the condition type in T code v/06.
That said, the code may still overwrite by executing the formula again and again at various points of time.
Just check what happens after you change the config and revert. Hopefully others will come out with code suggestions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.