2013 Jun 17 1:09 AM
Hi,
we are trying to create return sales order with reference to billing everything is fine except return order create with component partial qty.
If we reduce quantity manually in return sales order after the "create with invoice reference' the net value of the item did not change as per quantity.
Ex: original invoice component qty 10 and amount $1000
create return order component with qty 4 ( with reference to billing doc) the net value amount of this item remains the same 1000 instead of 4X100 = $400.
we are using custom condition types for bundle. when we create return order with complete bundle it is working fine, but when we change the qty net value of the item not changing.
tried through configuration but not working due to custom condition types, so now we are looking solution from technical side.
please let me know how can i calculate the item net value technically when i reduce the quantity in return sales order.
Thanks
Siri
Hi,
VOFM Routines are noting but modifications to SAP codes. They are exits. Generally used in SD module for Pricing, Formula Calculation, Output Control etc.
Steps to create VOFM Pricing Riutineare shown here
http://sapdocs.info/sap/sd-related-topics/routines-in-sd/
Coding Advice -
Once you get the routine created and configured, put a break point and see all the variable present in the global data tab of debugger. You will have structures KOMKBV1 and KOMPBV1 which will have Sales Order Header and Item Values. Now play with these to suit your needs.
BR.
2013 Jun 17 4:26 AM
Hi Siri,
Pricing Requirement Routine might help. An ABAPer can create it in t-code VOFM and then Functional colleagues can configure it for condition types. It might help.
BR.
2013 Jun 18 2:50 AM
Thanks for your reply.
I am ABAP developer , but i do not have experience in VOFM routines.
How can i change condition type net value when i change the quantity.
can some one please explain.
Thanks
Siri
2013 Jun 18 4:11 AM
Hi,
VOFM Routines are noting but modifications to SAP codes. They are exits. Generally used in SD module for Pricing, Formula Calculation, Output Control etc.
Steps to create VOFM Pricing Riutineare shown here
http://sapdocs.info/sap/sd-related-topics/routines-in-sd/
Coding Advice -
Once you get the routine created and configured, put a break point and see all the variable present in the global data tab of debugger. You will have structures KOMKBV1 and KOMPBV1 which will have Sales Order Header and Item Values. Now play with these to suit your needs.
BR.
2013 Jun 18 4:47 AM
Thanks for your reply..
I want to calculate Amount and condition value under 'Conditions tab' for particular condition type.
I can see Requirement/CalType/BasType exist in pricing procedure.
which one should i use to calculate the Amount, condition value and item net value.
Thanks
Siri
2013 Jun 18 6:56 AM
2013 Jun 18 3:29 PM
I am trying to change the condition value through pricing routine , but condition value not changing , please advise.
Thanks
Siri
2013 Jun 19 3:06 PM
Hi Sireesha,
Apologies for the delayed response.If the condition is not getting changed can you please ask your Functional Counterpart the place/menu path?
BR.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |