Routine for disallowing Pricing Conditions based on Plant.
Hi,
I have created a routine RV61A985. There I, validate if there is a particular plant, and if so, i block certain conditions in the conditions tab of the sales order, but setting sy-subrc value = 4.
It worked perfectly well, in my development system. Now, When i have transported to Quality System, I see that it does not work, or even hit the break point in that routine.
Can any one, tell me what's missing.
Regards,
Owais..
Hi,
First & formost please check if the routine has been attached by the SD consultant in the pricing procedure.If it's present then it's the problem of activation. You can check it by going into edit mode of the routine & tryiing to set the break-point. If the break point is set successfully then the routine is active otherwise it will just display !!! without setting the break-point indicating that the routive is inactive. The funniest part is in VOFM it will still show the routine as inactive. Just select that routine deactivate it & activate it again.
Then again check by trying to set the break-point. If break-point is set that implies the routine is active.
I hope this helps,
Regards
Raju Chitale
Similar Messages
-
How to change exchange rate type for specific pricing condition type
Hello every one,
I have a requirement for billing ie VF01.
currently all the exchange rate are being calculated with exchange rate type 'M' by default.
but now client want it should calculate exchange rate with type 'E' for two pricing condition type for all others it should calculate with type 'M'
Please any body can help me with the exit and code which i can use.
I have checked exits SDVFX008.
but how to change exchange rate with type 'E' only for two conditions.
as changing exchange rate at document header will change exchange rate for all condition type.You need to assign KOMK-KURST = 'E', for those two condition types. If it had been item number specific, you could have used USEREXIT_PRICING_PREPARE_TKOMK(RV60AFZZ).
Do one thing, put a breakpoint on FM 'PRICING' and then do selective runtime analysis.
Check whether any user exit/BADI/ explicit enhancement are available when condition types are processed in a loop. If nothing is available, try implicit enhancement.
Link to refer for selective runtime analysis - Runtime Analysis for VOFM
Also try with VOFM requirements ( not sure whether changing KOMK-KURST is permissable in requirement as normally we only set sy-subrc values to suppress/allow condition types ). Don't forget to assign requirements against condition types in pricing procedure. -
2-dimensional scale for a pricing condition
Hi,
Need your Expertise please. We would like to implement 2-dimensional scale for a pricing condition.
We have found a decision as use Reference condition type (RefAppl 'F').
It works but we can't define Condition base value for the determination of value according quantity of item.
Could you advise the decision... ?
Thanks,
AndrewHi there,
The base value can be set only for the maim condition type and not for the reference condition type.
thanks
Shanker -
Routines for Delivery Pricing (VOFM)
Hi,
We are writing a pricing routine to change condition values in delivery pricing. However no tables related to delivery line items appear during runtime. None of LIPS, XLIPS, etc. occur during the execution of the routine.
While similiar routines worked for Sales Order pricing (changing XKOMV-KBETR based on XVBAK, XVBAP values), it doesn't seem to work for delivery pricing.
Can someone suggest how to access delivery line items data during the creation of delivery.
Regards,
MuraliHi Murali,
You can use dynamic assign techniques to access the data which is not available in the routines.
Take a look at this weblog on how to access the data which is not available using dynamic assign.
/people/brad.williams/blog/2005/04/25/userexits--how-do-i-access-inaccessible-data
good luck
Cheers
VJ -
Report for Special pricing condition than Std discount???
Hi Everyone,
Is there a standard report in SD where I can track all the sales orders where in a special pricing condition was given to the customer instead of the standard discount structure? if not, how do I create one?
Thanks a lot!
Swapnayou need to use tranz SQ03,SQ02,SQ01
start from SQ02 - build your info-set (func.area)
use "table join" for VBAK...
then run SQ03
then SQ01
play in DEV -
Table for Deleted Pricing Condition
Dear SD Guru's,
Good Day.
I would like to ask what is the table i can use to show all the pricing condition that is flagged for deletion? and with the deletion date.
Currently I am using KONP, but there is no deletion date field there?
Any ideas?
Hoping for your positive feed backs.
Thank you.Hi Tina,
Check this if it useful
Enter transaction: OY18 ? Then choose the option: Evaluate Logs.
Enter table: NACH,then Specify the time interval for which you want to run the analysis. Choose the option: "Tables" in the Evaluate for - area.
If you get the message "No logs found for selected period" and you know for a fact that there were changes, execute /nsu53.
Regards,
Madhu. -
When we clicked on Update for new pricing,condition type is repeated twice
Hi Friends,
For new pricing,I clicked on the Update pushbuttion in the conditions tab of sales order,Condition type is repeated twice .So value is increased.I checked in the pricing analysis,it is showing only once.
I searched all threads and I tried all the possibilities.
I checked exclusive indicator,it is correctly checked.
Condition type manual entries selected as B automatic as priority
Item condition check box is checked only.
Mandatory check box is selected in the Pricing procedure for that condition type.
Anything i missed out .
Please suggest me how to go.
Thanks in advance.
Rgds....VM
Edited by: vm on Nov 2, 2011 5:55 PM
Edited by: vm on Nov 2, 2011 5:56 PMCondition type is repeated twice
Ensure that the pricing condition is not maintained for multiple combinations in VK11
G. Lakshmipathi -
Exit for changing Pricing Conditions with change in Ship to party
Hi All,
In transaction VA01/ VA02 the pricing conditions are getting calculated with respect to the Sold-to-party no.. Instead I wanted it to get calculated with respect to the Ship-to-party. Please guide me with an Exit that i can use, or any other way of solving this.
Thanks in Advance.Hi Roberto,
I am creating a sales order with transaction VA01 using a Sold-to-party say 1 and a Ship-to-party 2. While saving the order the tax calculations (if it is interstate - cst and intrastate - vat) are happening with respect to the Sold-to-party.
But I want it to happen with respect to the Ship-to-party. Is there anyway of changing this tax calculations in the pricing condition to take place with respect to my Ship-to-party. -
SAP Pricing Routine For EDi1 & EDI2 Condition Types Not Triggered
Hi All,
We have implemented customer expected price functionality by incorporating EDI1 and EDI2 condition types in the pricing procedure.
Also, I have copied standard routine 8 and made new routines and assigned to EDI1 and EDI2 in calculation type.
The routines are getting triggered correctly for standard items which is pricing relevant.
But for BOM Header item , these routines are not getting triggered at all. Actually the pricing relevant check is present inside the routine and it should go till that point. But these routines are NOT getting triggered at all for BOM Header.
Please advise.Hi,
Which level do you have the pricing? at BOM header or at sub item level?
Regards
Murali -
Pricing condition based on a $ value
Hello,
We have a uniqure requirement in the Pricing for a Sales Order.
We have a sales price condition PBXX maintained and it populates automatically during sales Order creation.
Now what we want is if the total of all the conditions is less then 5000$ at the header level then the system should populate another condition with a $ value on it.
So basically we want another condition (with a fix $$ amount that we will maintain) to come up in the sales order when the header value of that order is less then 5000$.
Any Ideas?
Thanks
SAP Fan....hey friend ,
i read again what you wrote,
lets make it simple :
A) you have 1 header condition that works in he sales order : PBXX - maintain a value in vk12 .
B) create another header condition : Z005 - and maintain a value in vk12 .
( its possible to maintain a value for header conditions )
C) now you want to activate the second condition (Z005 ) if the sum of all the conditions
is greater than 5000 ,
2 options :
1. hard coded - go to transaction VOFM-REQUIRMENTS-create new formula :
and add the next lines to the routine :
FORM "XYZ" ( the name is generated by the system ) :
check 1 = 2.
if komp-netwer > 50000
check 1 = 1.
end if .
2. by " value scale " - define Z005 condition as a value scale.
go to transaction vs01 and define the following intervals :
0 - 5000 USD
5000 - 9999,9999 USD
go to transaction vk12 and assign your surchage :
0 - 5000 -
> assign value 0
5000 - 9999,9999 -
> assign the value you want to be activate
hope i made my self clear .
BR
ASA -
Creation of a new Formula Routine for condition base value calculation
hello people,
i am stuck up in a situation where SAP has itself said that nothing can be done.
but i know you all can guide me to some way or the other
see, the scenario is like this
1. i have to calculate the base value for a pricing condition.
which will follow the formula
net value + excise duty + freight
2. in standard routines two things are normally bieng used
xkwert for the value that has to be finally calculated(taking reference of routine 004)
komp-netwr for the net value
3. i have to calculate the excise duty by adding up all the base values of existing pricing conditions like JMOP, JEC1 etc that i have which i saw in internal table
XKOMV on debugging
4. now freight is to be calculated from all the values of condition types that are in KOMP which is a structure and no internal table is defined in standard main program
now ppl
can you guide me by looking at the standard program
what is this xkwert field and where it is assigning the value.
how to get field from other structure and table.
please guide as to how to approach the problem.
thanks and regards
NitinHI,
the scenario u r talking abt is condition based value formuls of VOFM transaction.
here the data is retrieved as 'X' structures and will hold normal tables with respective names. and in this case all the pricing data is in KOMV ie XKOMV
Final amount including tax
form frm_kond_basis_004.
xkwert = komp-netwr + komp-mwsbp.
endform.
always calulation is done in xkwert field and final value is stoerd in xkomv.
*.................. text ............................................. *
Condition base value formula to get the assessable value of the *
saleable material from j_1iassval. If the value is not maintained *
then the selling price will be taken as the base *
TABLES: J_1IASSVAL.
DATA XXKOMV LIKE KOMV .
XXKOMV = XKOMV.
SELECT SINGLE * FROM J_1IASSVAL WHERE J_1IWERKS = KOMP-WERKS AND
J_1IMATNR = KOMP-MATNR.
IF SY-SUBRC EQ 0.
IF J_1IASSVAL-J_1IVALNDP NE 0.
XKWERT = J_1IASSVAL-J_1IVALNDP * KOMP-MGLME / 1000.
ENDIF.
IF J_1IASSVAL-J_1IVALASS NE 0.
XKWERT = J_1IASSVAL-J_1IVALASS * KOMP-MGLME / 1000.
ENDIF.
ELSE.
XKWERT = XXKOMV-KAWRT .
ENDIF .
XKOMV = XXKOMV .
ENDFORM.
and as far as ur req select allthe condition type data and sum and take the average value and pass it. -
Unable to display the pricing conditions for a product.
Hi All,
I have created a product with help of function modules.The problem is that i am able to populate the pricing conditions data into internal table,but the pricing conditions is not being displayed in the Masterdata->Products-> Maintain Products screen. Can anyone suggest me in this regards.Is there any function module to be used? or any other procedure to be followed for the pricing conditions to be dispalyed? If any sample code also please provide me.Please respond soon it is an Urgent Requirement. Points will be awarded for useful answers.
Thanks in Advance,
Shwetha.Hi,
The pricing in SD and MM is a separate module like thing and is maintained for different products based on the Condition records.
The basic Pricing Procedure consists of Condition Types, Condition Records, Accesss Sequences and condition tables.
Generally with respect to all sales and purchase documents the pricing is maintained in KONV and KONP tables based on the different condition types.
reward points if useful
regards,
ANJI -
Any routines for excise conditions?
Hi,
Iam using the excise conditions in my pricing procedure TAXINN. shall we use any standard routined for the excise condition types (Alt cal .type)?
regards,
jyothi.Hi,
There is a user exit for this.
J_1I7_USEREXIT_CALC_EXC_BASE.
Also you can refer to SAP Notes 952289 and 1002634. This should definitely help.
Thanks.
Krishna. -
Users autorizations for pricing condition in sales order
HI all,
Can anyone tell me if there is any posibilities to control users autorization for certain pricing condition in a sales order? For example: User A can add/edit/display K007 but user B can only display K007 for a new sales order.
Thanks in advance
GeorgeRHi
Please check this link on WIKi
http://wiki.sdn.sap.com/wiki/display/ERPLO/UserexitforRestrictingUserModifyingConditiontypeinSales+Order
regards
Prashanth -
Pricing condition record Scales for width
Hi,
Wanted your expertise, as we are trying to implement scale for a pricing condition as below. Please advise which scale type to be used I think we should use D as interval graduated scale, but my query is my width value stored in material master and once order read it should pick the price as per interval . Need to know when i select type D it should not do graduation in same sales order for other lines. I mean if order has two line item with same material and third line with different material. system should calculate first line price 0.09 and second line should also pick price 0.09 as width is within 0 to 1
third material should price 0.13
please advise how this is posible because i think gradutaion type adds previous line record value, which we don't want.
Mat 1 - 0.7 in
Ma t2 - 0.9 in
Mat 3 - 2.5 in
0.000 - 1.000 in 0.090
1.010 - 2.000 in 0.110
2.010 - 3.000 in 0.130
3.010 - 4.000 in 0.140
4.010 - 5.000 in 0.150
5.010 - 6.000 in 0.160
6.010 in 0.200
thanks
NikiMy order has quantity 1 and sales unit of measure is PAC and material base unit of measure is FT. As if now maintained condition record scale in FT for the width.
in additional data of material we have unit convertion as below
1 FT Foot <=> 1 FT Foot 1.722 1.566 LB 1.000 FT
1,566 LB pound, US <=> 1,000 FT Foot 0.000 0.639 FT
3,600 PC Piece <=> 54,600 FT Foot 0.000 15.167 FT
100 PAC Pack <=> 54,600 FT Foot 0.000 546.000 FT
<=> FT Foot 0.000
thanks
Maybe you are looking for
-
How can i save a form in adobe reader than only allows you to type info but doesnt allow you to save
I have a file that i need to email to someone, however when i fill in the information at the bottom of the page i have an option to submit via email or print... when i submit via email, it states its being sent but the person on the other end doesnt
-
Hi everybody: I would like some help with my I-Pod. The problem is I can't install I-tunes to my pc since it asks me for Service Pack 4 or something. I have Windows ME and have no idea about what I'm being asked for. Could somebody please tell me wha
-
Some wrong info on a post marked solved and archived
hey, so i found some wrong infor at this link, and since it was the post that helped me start towards fixing my issue, i thought i'd fix it if there is anyway to unarchive and addendum to it. the link is: http://discussions.apple.com/thread.jspa?mess
-
MacBook Pro slow with spinning wheel
My MacBook Pro recently on startup gave me a screen which led me to repair my HD or re-install from Disc or I-cloud backup. As I have no backup disc, I did the HD repair but now the computer is working very slowly and more often than not, gives me th
-
Web Enabled Features in SAP four point seven
Dear All.. Iam using SAP four point seven in this version web enabled features available or not. If option available how to enable this please give me the documentation.. And what are the uses in MM Side. Is it possible to connect vendo