on 2020 Mar 03 8:26 AM
Dear Experts.
Please find the below info with example
1) We are creating a 1st Sales order with 2 line items and entering the doc charges 100
2) We are creating the Sales order with ref to first sales order and removing the second line item the doc charges are not redetermining ( we are getting doc has 50 )my client request is to doc charges has to be constant even if I remove line items.
We are trying to include new pricing type for redetermining the doc charges
ALL Experts Could you please suggest a better solution and also Please explain how to create new pricing type with the functionality
Thanks In advance
Krishna
Request clarification before answering.
I am not convinced that a custom pricing type on its own will solve your problem, because you might delete the item after copying the sales document which probably means that you want to trigger repricing later (because you cannot rely on end users to do the right thing in the right sequence 100% of the time). If you have to trigger repricing automatically after item deletion, I guess, you need another exit just to run the price calculation.
If you really have to create a new pricing type - refer to note 24832 - Pricing rules/TVCPF, there are some code examples and additional clarifications what you can do with different pricing rules.
The main roadblock that I see at this point, is described in note 876617 - FAQ: Header conditions/header condition screen, question 5:
"In R/3 standard pricing, conditions are copied only at item level. No 'actual' header conditions are copied. The KONV row from the source document with item number (field KPOSN) '000000' no longer exists in the target document. Only the 'item portions' of the header condition are copied with the following specifications to the target document during the copy procedure:
Condition control 'E' (Condition value and basis fixed)
Condition origin 'G' (Original header condition)
These conditions then become item conditions in the target document."
This means that when you copy a group header condition (even if you remove the unneeded items in create with reference - select items screen, you do not have the original value from the source order and this ZDOC condition is not modifiable from the header screen anymore. Probably you will need a separate condition type that you have to determine as new, store the original value somewhere, then distribute it to the new items. I've never done this, and, honestly, I would challenge the reasoning behind the whole process (as hinted by lakshmipathi.ganesan).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First you need to explain why you were creating a sale order with reference to another sale order which is not at all required.
Coming to pricing, not sure, whether you are a functional consultant in which case, you would not have posted this. A functional consultant should be knowing how system would fetch the price at item level. Having said that, you need to configure your pricing procedure in such a way how you want the system to fetch in sale order.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Lakshmipathi
My client Business Process is to create Subsequent sales orders with respect to main sales order and Editing the 2nd sales order( remove unwanted line items) accordingly.
We have maintained the pricing accordingly and it is fetching with no issues ,and also copy control is working properly each condition type is copying correctly.
But here my client requirement want to edit the second sales order i.e he is removing second line item but doc charges should not change it has to be constant.
Inputs maintained in V/06
condition class A
Cal type B
Group condition Checked doc.png
I have checked above all the process in standard it is not getting possible.
Could you please suggest any possibility or we have go through enhancement.
Here my concern is documentation charges should not change it has to be constant it should applicable to line items.
When you post a query and give further updates, please add the content under "Comments" and not under "Answer" as you were not answering to a query but only providing additional informations as asked by the members. Also, when you add the text under Comments, it will be intimated to the person to whom you are responding whereas, if you add the text under Answer, the member will not be intimated. By the way, your above answer has been converted as comment by me.
User | Count |
---|---|
60 | |
9 | |
8 | |
7 | |
5 | |
4 | |
3 | |
3 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.