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 PM
Dear 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
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...
-
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 -
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. -
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.
-
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 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 -
Change item category in delivery order
Hi everyone
Issue: Can not change item category in delivery order.
Phenomenon:
1:Create purchase order and receive item based on it. complete invoice verification.
2:Use MIGO to create return delivery based on material document that is created during above process.
3:Based on system settings, (Sales org, ship-to party etc), outbound delivery is automatically created in background.
4:Try to change item category which is already determined during delivery order creation, but it is grayed out.
Can we change item category in this situation?
I have checked thread "Number of attempts to change Item Category
This looks same issue but I still do not know how to control item category in delivery order.
In material type, is there any place I can configure to allow user to change item category
in delivery order?
Please advise.
SatoruHi,
Check whether this link would help you,
[Change item category in delivery|Change item category in delivery]
It looks you need to use user exit: MV50AFZ1 to acheive your requirement.
Regards, -
Hi,
Can anyone plz tell me how to use the pricing type in item category?
also request for telling me, what the pricing type "K" stands for.
Regards.
amitDear Amit,
Pricing type
Specifies how the system treats pricing data when copying documents.
At the time of billing, the following pricing types are possible:
A: Copy pricing elements and update according to scale. The system
does not determine any new condition types
redetermines the scale prices for changed delivery quantities
B: Carry out completely new pricing. The system
carries out a completely new pricing (manually entered pricing elements are not copied from the reference document)
redetermines the taxes
C: Copy manual pricing elements and carry out a new pricing
for the others. The system
carries out a new pricing
copies the manually entered pricing elements
redetermines the taxes
Note: You must ensure that all the condition types which can be changed manually are marked with "C" in the "Manual entries" field in the "Changes which can be made screen section. Otherwise, the conditions (both the automatically and the the manually entered ones) could be duplicated and both be active simultaneously.
D: Copy pricing elements unchanged. The system
copies the pricing elements unchanged with automatically determined or manually entered surcharges and discounts from the reference document (scales are not read again). This means that the value remains unchanged even if the billing quantity is different to the order quantity
does not redetermine the taxes
Copy pricing elements and values unchanged. The system
copies the pricing elements and values and automatically determined or manually entered surcharges and discounts from the reference document without changing them (scales are not read again). This means that the value remains unchanged even if the billing quantity is different to the order quantity.
does not redetermine the taxes
F: Only used within the program
G: Copy pricing elements unchanged and redetermine taxes. The system
redetermines the following condition types:
taxes (condition class D)
Rebate (condition class C)
Intercompany billing conditions (condition category I)
Invoice list conditions (condition category R)
Condition types with condition category L
Cost conditions (condition category G)
Cash discount conditions (condition category E)
all other condition types are treated as for pricing type D
H: Copy pricing elements and redetermine freight. The system
redetermines the following condition types:
Freight conditions (condition categories B, F)
Condition types with condition category L
all other condition types are treated as for pricing type A
Also what is the use of pricing type "K"?
K - Adopt price components and cose. Redetermine taxes.
If you select pricing type as K system will copy the pricing elements(Price ,Discounts And Frieght) and cost from the source document and Taxes will be redetermined i.e taxes will not get copied from the source document.
I hope it will help you,
Regards,
Murali. -
Change Item Category in Sales Order for KMAT materials
Hi,
How can I change item category in sales order/quote for KMAT materials?
Currently in the sales order/quote, the item category field is grayed out for KMAT/configurable materials and I can change the item category.
Please help me.
Sincerely.
KetanDear Ketan,
I hav exactly the same problem.
Did you finally succeed?
Thanks.
Ben. -
Unable to Change Item Category in Sales order
Hi all,
I am creating sales order with reference to sales contract but at the time of sales order we don't have en off stock to deliver to customer , so we have deiced to Third party sales process
But the problem is while creating a sales order with reference to Sales contract the line item of the sales order in grad Mode ( Not changeable mode )
Can any one guide me how sales order line item should be in active mode so i can change the Item category as a TAS third party item category
Help me regards this
Thanks
Rajeshhi,
You can the item category field (VBAP-PSTYV) editable , if item is configurable (item category TAC), then change item category to TAS.
by using include MV45AFZZ - FORM USEREXIT_FIELD_MODIFICATION.
when screen 4001 or 4003.
IF VBAP-PSTYV = 'TAC'.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF. -
Change item category Display mode in sales order (Third Party )
Hi all,
I am creating sales order with reference to sales contract but at the time of sales order we don't have enoff stock to deliver to customer , so we have deiced to Third party sales process
But the problem is while creating a sales order with reference to Sales contract the line item of the sales order in grad Mode ( Not changeable mode )
Can any one guide me how sales order line item should be in active mode so i can change the Item category as a TAS third party item category
Help me regards this
Thanks
RajeshHi all.
Thanks for response
I maintain all configuration, But the problem is while creating Sales Order with reference to Contract
the Sales Order line item in grad Mode i am unable to change item category as TAS
i mean TAN is on Display Mode
and we are using Varient config for that material
Please guide me where i need to Configure so system should allow me change item category in sales order please guide me
Thanks
Rajesh
Edited by: RAJESH KUMAR on Jun 16, 2009 10:23 PM -
User Exit VA01 - change item category and add lines
Hi all,
I am trying to implement the following requirement:
- Sales order is created in VA01
- Availability check is carried out in APO / GATP
- Based on the results the item category in the sales order needs to be changed (in case of open quantities)
- In case of partially confirmed lines a line split is required
I am currently investigating two scenarios:
- User exit move_field_to_vbap: at this point of time the availability check hasn't been carried out. Thus I am thinking of running a GATP simulation and changing the item category depending on the GATP results and adding new lines if applicable.
- User exit check_vbap: at this point of time the value vbap-kwmeng and vbap-kbmeng is available and the item category can be changed based on that. Problem: All item category depended fields are already derived. A recalculation would be required. Same for added lines.
Did anybody implement the same requirement? Any hints are highly appreciated.
Thanks,
MartinCan u be more clear.
This are the exits used for the VA01
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing
SDAPO001 Activating Sourcing Subitem Quantity Propagation
V45A0001 Determine alternative materials for product selection
Regards
Maybe you are looking for
-
How do I transfer all my Firefox saved passwords to my new hard drive and operating system? Going from xp to windows 7. I have the old hard drive hooked up as drive f. Can I copy and paste from old drive directory to new drive directory?
-
Iphone ios7 update error "account not in this store"
hi all, with ios7 update iphone keeps giving error " account not in this store" and some apps can not update because of this. any ideas how to solve it? all details: country, payment details are correct. Itunes account is same with same country but e
-
Weird glitch noise and driver issues
Hi, recently i bought a probook 450 g2 and i have the following problems: 1) I get an error code 28 and can't find the needed drivers to install Here is what i see on my screen: PCI bus 0, device 31, function 6 Also i got 3 unknown devices 2) The se
-
Paste Special link from excel to Ms project 365
Hi I don't have a paste link button on my ms project 365? I am trying to import an excel sheet and the option to link the two isn't available on the project side? Can someone please advise. adam <object cotype="cs" id="SILOBFWOBJECTID" style="width
-
Can't restore to backup!!! I NEED this backup!!
Hi, I had to restore my iPod tough 4th generation because it was acting up. It has iOS 5.0.1 when it backed up to iCloud last night and it still does, but when I was setting my iPod up to restore to my iCloud back up, it wasn't there. How do I know i