Carry out new pricing at invoice
Hi all,
My requirement is to carry out pricing at invoice and not copy from sales order.
For this, I goto tcode VTFL and opened copy control for LF to F1. I changed pricing type from C to B but still system is copying price from order and not carry out new pricing automatically at the time of invoice creation.
please update that what needs to be done.
Many Thanks.,
AI.
I changed pricing type from C to B
First please dont post the same question related to an issue in multiple times.
Coming to the issue, you have to test this by creating a new sale order. Existing orders will not change once you change the copy controls. It will have impact only on the newly created documents.
Last but not least, as for as possible, continue your queries in the other thread and close this one.
thanks
G. Lakshmipathi
Similar Messages
-
Do not carry out new pricing when plant change in sales order
Hi,
I have one z field in additional data tab in sales order. This field store the original plant if anyone has changed plant in Sales order. My requirement is to trigger the pricing in sales order with this old plant. I am not getting any exit for this.
Suggest me the solution.Hi
In the comments for the subroutine, it says:
* Parameter new_pricing controls the new pricing in the calling *
* form. It can be filled according the the allowed values *
* of domain KNPRS (Pricing type), for example: *
* ' ' = no new pricing *
* B = Carry out new pricing *
* C = Copy manual pricing elements and redetermine the others
So, you must write:
If VBAP_WERKS NE *VBAP_WERKS.
new_pricing = 'B'.
Endif.
Regards
Eduardo
Edited by: E_Hinojosa on Aug 25, 2011 8:21 AM -
Carry out new pricing when key in access field is changed
Need automatic update to 'carry out new pricing' when field that is part of key combination is changed.
The system recognized the change when viewed in analysis, but amount is not updated unless "Update" button is manually pressed.hi,
you sales orders which are already created then you changed the access key. For these order unless you run an update pricing they cannot be updated. Now for the new sales orders which are going to be created if the new key combination matches the sales order criteria then it gets picked up automatically and you dont to do anything.
as we understand from access sequence setup, we do it frm the most specific to the most general ( while setting up the condition tables ie key combinations), So when a condtion record is found whether new key combination or old if its the relevant one and a condition is found for it, it gets picked up automatically.
regards
sadhu kishore -
Hello Experts,
We are transferring internet sales orders from CRM to R/3. Now, what I need to do is
to trigger the 'carry out new pricing' for all the line items. Just like when we click
the update button in the conditions tab and click on the 'carry new pricing' option even though
user only displays the sales order in R/3.
Hope you can help me guys. Thank you and take care!No Answer...
-
User-exit for carry out new pricing while sales order save automatically
Hi all,
I need to carry out new pricing while sales order save automatically. Please any one help me to finding proper user-exit to achieve my requirement.
Thanking You.
Moderator message: please search for available information.
Edited by: Thomas Zloch on Jan 11, 2012 12:53 PMPl help.
-
Hi Guys,
Is there any function module/BAPI to carry out new pricing for sales order.
Somehow my BDC for VA02 is not working and
my bdc does only carrying out new pricing for that order.
This I want to replace with BAPI.
Could you please help me in this regard
PrashantHi,
An alternative solution is to use the BAPI to make a general CHANGE to the sales order and let the user exit take care of the repricing.
Calling program :
ls_order_header_inx-updateflag = 'U'.
ls_logic_switch-pricing = 'C'.
ld_bapi_reprice = 'C'.
Memory ID is read in MV45AFZB, form USEREXIT_NEW_PRICING_VBKD
EXPORT ld_bapi_reprice TO MEMORY ID 'Z_BAPI_REPRICE'.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = p_vbeln
order_header_inx = ls_order_header_inx
logic_switch = ls_logic_switch
TABLES
return = gt_return.
FREE MEMORY ID 'Z_BAPI_REPRICE'.
READ TABLE gt_return INTO ls_return
WITH KEY type = 'E'.
IF sy-subrc NE 0.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = ''. " No wait between orders
ELSE.
ls_error-vbeln = p_vbeln.
ls_error-text = ls_return-message.
APPEND ls_error TO gt_error.
ENDIF.
MV45AFZB, USEREXIT_NEW_PRICING_VBKD :
DATA : ld_bapi_reprice TYPE knprs.
Memory ID is exported from program ZPSF_01_TOOLKIT_F01
IMPORT ld_bapi_reprice FROM MEMORY ID 'Z_BAPI_REPRICE'.
IF NOT ld_bapi_reprice IS INITIAL
AND sy-subrc IS INITIAL.
new_pricing = ld_bapi_reprice.
ENDIF. -
How to Carry out New Pricing in Sales Order userexit
Hello,
In userexit save_document_prepare of program MV45AFZZ, I'm adding an entry in XKOMV for a header pricing condition ZD01. After saving, if I go back into the order and go directly into the line item conditions, the ZD01 does not exists at the item level. If I navigate the the header conditions and then go back to the items, ZD01 appears as it should. I believe what is happening is that the header condition is not being distributed to the line items unless New Pricing is carried out. If I manually enter the ZD01 condiiton instead of relying on the userexit code, everything works fine. The header condition is properly distributed to the line items. Therefore, I believe the configuration is correct. My question is, "How can I programatically trigger New Pricing from a sales order userexit". Is this possible in SAVE_DOCUMENT_PREPARE or do I need to do it somewhere else.".
Thank you,this problem has been resolved. The problem was that I was appending the header condition to XKOMV instead of inserting the header condition as the first line in the table. SAP will carry out the new pricing if the header condition is on the first line.
-
Carry out new pricing by changing item category
Hi All,
Is it possible to carry out a new pricing depending on item category. The requirement is when i change the item category it should trigger new pricing procedure. Like example if it is tann one pricing procedure and if it change to another category like ztann it should trigger new pricing procedure .
I know that pricing procedure not defined on item category. I tried with the exit form userexit_new_pricing_vbap changing new_pricing. But i dont know what to write in that. I am technical guy . Please share me your idea if any one did this before.
Regards,
Madhu.
Edited by: madhurao123 on Mar 10, 2011 5:54 PMDear Lakshmipathy,
I have tried the option you have suggested but was unable t o make any progress. I have done the following steps:
In VKOA I have done the revenue account determination based on Acct Assign Grp: Customer, Acct. Assign Grp: Material, and Item Category. Despite this the correct G/L accounts are not being picked up. Can you please suggest where I may be going wrong.
The scenario is as follows for all Item categories except ZTNN::
If Customer and Material are taxable @ 5%VAT then pick G/L1
If Customer and Material are taxable @ 15% VAT then pick G/L 2
If Customer and Material are taxable @ 2% CST then pick G/L 3
If Customer and Material are taxable @ 5% CST then pick G/L 4
If Customer and Material are taxable @ 15% CST then pick G/L 5
For Item Category ZTNN:
If Customer and Material are taxable @ 5%VAT then pick G/L6
If Customer and Material are taxable @ 15% VAT then pick G/L 6
If Customer and Material are taxable @ 2% CST then pick G/L 6
If Customer and Material are taxable @ 5% CST then pick G/L 6
If Customer and Material are taxable @ 15% CST then pick G/L 6
Your suggestions would be greatly appreciated.
Thanks and Regards,
Rohan Gudavalli -
Carry out new pricing not working in Me23n
Dear Experts,
I am trying to carryout new pricing in purchase order i.e iam going into Item conditions of PO and hit update button on the botton of the conditions tab and select B as the pricing type . The value changes to the new rice and then I save the PO.
After hitting save the values remain unchanged .
Please help on this .hi,
you sales orders which are already created then you changed the access key. For these order unless you run an update pricing they cannot be updated. Now for the new sales orders which are going to be created if the new key combination matches the sales order criteria then it gets picked up automatically and you dont to do anything.
as we understand from access sequence setup, we do it frm the most specific to the most general ( while setting up the condition tables ie key combinations), So when a condtion record is found whether new key combination or old if its the relevant one and a condition is found for it, it gets picked up automatically.
regards
sadhu kishore -
Invoice corrections Sales order- New Pricing is not carried out
Hi All,
waiting for some one to guide me in a right way...
I have Scenario where creating a invoice correction request with reference to Invoice document.New pricing is not carried in debit line item even though i changed the pricing date as current date for the line item
When i copied with the invoice document, 2 new line items are created with a same price conditions.
1st line item is a credit and 2nd line item is a debit item.
I need to do a price adjustment in debit line. So i maintained a new pricing record for the material to carry out the price.
To achieve this in customizing VTAF (billing to sales) I have tried multiple options as below in 2nd pricing type field as B,C,D,E and F
2nd Pricing type - B Carry out new pricing
C Copy manual pricing elements and redetermine the others
D Copy pricing elements unchanged
E Adopt price components and fix values
F Copy pricing elements, turn value and fix
But still the new pricing is not carried out.I tried to manually change the Pricing date in the line item level, still the new price is not updated in the order.
I have seen SAP Help in below link the Debit line can update with correct price point 3 in proces flow , check this below link for reference.
http://help.sap.com/saphelp_46c/helpdata/en/dd/55feeb545a11d1a7020000e829fd11/content.htm.
Please help...
Regards,
ParthibanHello Parthiban,
I feel you are aware of the effect/functionality of 2nd pricing type.
In the invoice correction request, two items are automatically created for each item in the invoice to be copied (which you did mention):
- first item: credit memo item
- second item: debit memo item
And for invoice correction request, a particular pricing type is needed for the second item.
So as per standard, you have to use pricing type 'E' for the credit memo item to guarantee that the item will not be changed.
And you should give a new pricing type to the debit memo item.
The system creates a credit or debit memo depending on whether a postive or negative difference is generated.
So that means
Pricing type will effect ItemCat Proposal-G2N
and 2nd pricing type will effect 2ndItemCatProposal-L2N
Now, make changes in pricing type based on your business requirement.
I hope this will assist you in understanding.
Thanks & Regards
JP -
How to: not to carry new pricing when plant is change
Hi,
How can I prevent the system from carrying out new pricing when the plant is changed.
Also,
I have a quotation in which users can change the prices, I want to finalize the pricing in the quotation and have my sales order with fixed pricing. What is the best way to do this.
Thanks.Hi,
Try this user exit.
Include: MV45AFZB
USEREXIT_NEW_PRICING_VBAP
This userexit can be used to perform new pricing, dependant *
on the change of datafields. *
This routine is not called, when the material number has been *
changed. *
Available data-fields: *
vbak - header data *
vbap - item data (changed) *
*vbap - item data (old, before the change) *
Parameter new_pricing controls the new pricing in the calling *
form. It can be filled according the the allowed values *
of domain KNPRS (Pricing type), for example: *
' ' = no new pricing *
B = Carry out new pricing *
C = Copy manual pricing elements and redetermine the others
It should work for you.
Reward points if it works for you.
Rajesh S. -
Dear Friends,I have one requirement.
Price has changed from order time to billing time.system is picking old condition record instead of new one at the time of billing.
When i go for pricing analysis,the condition record value is showing as new price but not picking in invoice automatically.If i go for carry out new pricing option ,its taking new value but i want it done automatically.Please suggest me.Hi,
By changing the copy control at item level for billing documents, this can be managed. Transaction - VTFL
Check for copy control at item level - for billing doument type and delivery document (or sales order type) combination , and for the item category see the details of copy control. Check the enties in "pricing type". Make the entry "B', then every time you do billing, it will automatically redetermine prices.
If useful, pl acknowledge
Muraleedharan.R
091 9880028904 -
MM PO - New Pricing Routine / user exit / at Line item
Hi
When ever a line item data gets chnaged, we need to do the Update Pricing / New pricing Automatically.
Currently we are doing this manually and would prefer to automate -
request for possible suggestions / solutions OSS notes for this functionality.
cheers
NanduHi
Look at using BADI ME_DEFINE_CALCTYPE to select the pricing type B (carry out new pricing) whenever you make a change to PO item.
You need to go through the documentation of this BADI before you use it to make the correct program changes.
Hope this helps.
PP -
Processing the new pricing automatically
Hi dear.
I set to change the tax rate when I change the shipping point in VA01 or VA02.
But it is not change automatically.
So I should click the update icon in condition tab and choice "B. Carry out new pricing".
I want to process new pricing automatically when I change the shipping point in VA01 or VA02.
How can I do?
Thanks Regards
Edited by: Han Seok Jung on Jun 22, 2010 6:12 AMHello,
This cannot be achieved thru SAP Standard settings. Because Shipping Point is not relevat to determine Taxes. If you change Plant or Ship to party then the Pricing (Tax) would be re-determined automatically.
In your case you will have to speak to your ABAPer & apply a User Exit (mostly USER_EXIT_FEILD_MODIFICATION would be helpful...)
Hope this helps...
Thanks,
Jignesh Mehta -
Error while processing sales order as new pricing carried out.
"new pricing procedure carried out".iam getting this error while processing the sales order.
Hi Gopal,
This message will come generally when we changed the fright relevant data or any other data system will display this message.
Ram
Maybe you are looking for
-
Is anyone experiencing issues with disappearing apps on iOS 7.0.2 on the 5S?
Specifically, I'll download an app that I've had in the past (from iCloud) and it will tell me its downloading on the phone, but as soon as the download completes, the app disappears. When I go into Settings -> General -> Usage and observe the list
-
FW CS5: Copy Page from one document to another without changing layers
Hi, how can I copy a Page from one document to another without changing the layers? Drag-and-drop isn´t possible and by Copy-Paste all elements are placed in the same layer. Greetings, toho
-
How to change the OS name and pass of database server.
Hi, I have a problem with OEM of oracle10g is not running after changing the OS's (windowsXP and Linux 4.5 ) Name and IP-Address, What should I do? OR Can anyone give me the metalink document ID to resolve my problem? My Database Version is below: Or
-
Want to set a photo as wallpaper on my treo 755p
I want to know how to set a photo on my treo as the wallpaper. Is it possible to get wallpaper for my treo 755p Post relates to: Treo 755p (Sprint)
-
I raised a query with Adobe and was told that Windows7/64bit/WLM 2011 works with PSE9. However I am also reading in this forum that it does not support WLM2011 ... see below Which is correct ... I need to know before I part with money to purchase PSE