on 08-25-2012 7:50 AM
Dear Experts
I have a scenario and somebody told me one solution but its not working . Please read my requirement and solution.
Requirement:
My requirement is that I have a pricing procedure ZM0001 with manual discount condition ZBOK and manual freight condition ZFRT along with all pricing conditions. ZBOK is only line item condition and user enter discount in sale order line item only and ZFRT is header and user enter freight in header while creating invoice only. I want to restrict users to enter ZBOK in sale order line item only e.g if user has entered Rs100 discount in sale order line item it should be freeze in billing document line item. Currently user can can or enter ZBOK in VF01 line item also.
I have tried SHDO variant but its not working because VF01 line item and header condition tab have same screen number. If I freez condition field in line item it freezes in header also.
I have tried to control this through ABAP checks in RV60AFZZ but ABAPER said its not possible because system cannot differentiate the amount copied from sale order or entered in invoice directly.
My friend told me to try different pricing procedure for sale order and billing. He asked me to create new pricing procedure with only ZFRT condition and assign this to billing document. He said system will copy all prices and discounts in VF01 from sale order and merge new pricing procedure with it. Means in header you will have ZFRT manual and in line item all pricing conditions will be in freeze mode. I tried this but system is not merging. Is it possible to merge 2 pricing procedures in billing one from copying sale order and other one from Sale area DPP and CPP assignment.
After reading all this if there is any other better solution for controlling this please share.
Moazzam,
I think this requirement can be fulfilled by SAP standard settings.
Have two pricing procedures:
ZZZZ01 in your sales order
ZZZZ02 in your billing document
In V/08, In ZZZZ01 have the following:
ZBOK activate manual and (mandatory if required, i.e. user has to enter the value of ZBOK or else the sales order can not be created)
Do NOT have ZFRT in this pricing procedure
In V/08, In ZZZZ02 have the following:
110 ZBOK, activate statistical
111 ZBKK, From =110
....
....
150 ZFRT, activate manual
In V/06, for below condition types:
ZBKK, field "manual entries" = D Not possible to process manually
ZFRT, field "Header condition" = activate
For ZBKK give the same description as ZBOK, as ZBKK is a copy (equal value as) of ZBOK.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear TW thanks for your valuable information. But I am not sure if it will work for controlling my scenario.
Wht you told me will control discount condition and freight condition. What about all other prices and discounts other than these two conditions? If I assign ZZZZ02 pricing procedire to billing document it will show only ZBOK ZBKK and ZFRT conditions but my all other prices and discounts and accrual conditions etc will not be shown and posted to FI. How to copy all other pricing conditions from sale order because in my scenario all prices and discounts are calculated in ZZZZ01 pricing procedure at sale order. How to copy them in ZZZZ02 pricing in billing document?
What I have proposed shall take care of all the prices, discounts etc. both in the sales order and the billing document.
ZZZZ02 should contain all the condition types as contained in ZZZZ01, except of the changes I have mentioned above.
e.g.
PR00 shall be contained in both pricing procedures....etc.
Try (test) it out, it should work.
Dear Sir
I tried the same what you have asked me to do but it is not working as it should work.
I have created ZBKK copy of ZBOK and created new pricing procedure ZM0004 for billing document as you can see in below screen.
Now when I enter ZBOK in sale order in old pricing procedure e.g ZM0001 and create its billing in VF01 system is not copying its value to ZBKK. Infact ZBKK condition doesn't appear in VF01 and in analysis it shows that
ZBKK 107 Condition without condition record (not relevant)
I searched the forums and found that I should assign access sequence JDUM to ZBKK and maintain its condition with 100%. I did this but its also not working. In short i have tried with both ways with and without access sequence. I have also tried by giving 250 in from and to step numbers. Pricing routines 700 and 904 are customized and I have tried with and without them but not copying.
What else am I missing now. I am sure it should work with your solution because in every forum experts have given the same or similar solution.
Moazzam,
After much testing I have configured the requirement:
In V/08, In ZZZZ02 have the following:
110 ZBOK, activate statistical
111 ZBKK, From =110
You have to assign access sequence in ZBKK.
Condition type for ZBKK: Calculation type = A (percentage), Plus/Minus = A (positive)
In VK11, 100%
Then in billing document:
ZBOK has a value because of the condition record and this value is statistical.
ZBKK is uneditable and has the value of ZBOK
In VTFL, in the item category have Pricing type = B
List the steps (what you are doing in a sequential order) and the particular step that is causing error.
Dear TW,
as you mentioned to maintain condition records for ZBOK in ZZZZ02, and at sales order level the condition will be maintained manually by the User.. What if the user gives the value which differs the condition record value maintained ZBOK in Invoice PP (ZZZZ02).. then there would be price difference at the end right??
Mohan,
Thank you for your post!
to maintain condition records for ZBOK in ZZZZ02, and at sales order level the condition will be maintained manually by the User..
I have made a typo in my last post that for the condition type ZBOK a condition record must be maintained for one pricing procedure and it should be manual for another pricing procedure. This is not possible!
It would / should be manual for both procedures.
Dear T W
I have tested what you have suggested.
Configurations I have changed are
Calculation type for ZBKK = A Percentage
Plus/Minus X Negative
Assigned Access sequence JDUM with 100% condition record.
in VTFA Copy control for TAN pricing type is C.
Now system is copying ZBOK to ZBKK but it is distring my other calculation like you can see in below screen. It is not adding up in total discounts.
My calculation is simple.
ZCOM = Sale Price 29500
ZBOK/ZBKK Discount 2000
Total Discount = Add all other discount conditions 2000
Amount for Credit Check = Credit amount transferring in FI 29500-2000= 27500
This discount ZBKK is not reflecting in total discounts and thats why not deducting from sale price.
I have made ZBOK static but not ZBKK then why system is not considering ZBKK as discount condition and deducting it from net value/sale price.
My issue has been resolved. I was not able to do this in different pricing procedure at billing document level so I created new pricing procedure with only ZFRT condition and assigned it to my delivery document LF. in Copy control for delivery to billing in line item TAN pricing source was Order only i have changed it order/delivery. So now im able to change billing document condition tab with SHDO.
Thanks for your all comments and valuable suggestions.
Closing thread.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Replying on a two years old thread is not as per community rules. You could have opened a new discussion and ask your doubts or question in that.
Thank$
Hi,
I have used the requirement routine for different purpose. But you can easily address this issue by using the requirement routine and just hard coding the Tcode -VA01/VA02 and with if condition to work then elsif not to work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can address this issue even with single pricing procedure itself. simply create a Requirement routine in T.code VOFM with your ABAPer help for entering values in Manual condition type ZBOK if SY Tcode =VA01/VA02 and not possible to make entries if it is SY Tcode -VF01/VF02
Try this and check and revert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can try with any of the following pricing 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 frnd,
In our sap we don't have 2 pricing procedures in one billing document. And if u want to give different pricing procedures then maintain different pricing procedures for billing and order.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear all
Yes it is possible to keep 2 pricing procedures one in sales order and another billing
pl check this link
http://scn.sap.com/thread/1956074
thanks
PL check this thread it gives good clarification
Dear Moazzam,
It is not advisable to go for different pricing procedures at sales order level and billing document level.
please consult your Abap programmer and discuss your requirement they will do this by using some user exits and putting some checks in programm they can do this for you.
Best Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
6 | |
6 | |
4 | |
3 | |
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.