on 11-12-2013 1:43 AM
Hi all experts,
Currently I have a requirement to redefine the Pricing Type during the process of creating new Quotation by reference to existing document.
I notice that upon create by reference, transaction VTAA will be executed.
Due to the Pricing Type is maintained as 'B' by default, now the requirement is to replace the value according to the data maintained in Z table.
I have got some information to enhance include program MV45AF0T_TVCPA_SELECT.
But, this required us to implement enhancement point which is not preferable by our team.
I am having trouble searching for other user exits to achieve this.
So, if there's anyone out there did something similar before, I'll be glad if you would give me some suggestions.
Appreciate the help.
Thank you.
Hi,
If I understand well, you want to copy price conditions from a document to another when creating with reference and for some conditions you want the system pick the price from a ztable.
If so, some time ago I had same requirement. Used VOFM instead of userexit. keep pricing type B and define for those conditions a formula for condition value in VOFM that will read price from ztable and set the formula in your price procedure in column CalType. If this price schema is used in other processes, consider adding in your coding also the way to identify in which cases you need to apply it .Ask an abaper to write the coding.
Regards,
JM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can either add the logic to your existing routine assigned to your condition type in pricing procedure or try with the following user exits
G. Lakshmipathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi G. Lakshmipathi,
Thanks for your reply.
I am still new to SD enhancement, so can you please explain further which you mentioned about existing routine assigned to condition type in pricing procedure?
As for the 2 user exits you suggested, I believe it's called after the copy of referrence quotation.
What we are trying to do is to change the value of Pricing Type so that the conditions from referred quotation will be copied completed.
I've attached the screen shots for result of conditions where the Pricing Type is remained as 'B' which indicates 'Carry out new pricing'
Result of Pricing Type = 'B':
Expected result: (Some conditions are not copied)
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.