Getting the item name in the pricing procedure

Hello Experts,
I am working in VMC Pricing exits for CRM 5. I am writing the java pricing user-exit in which i am trying to find the name of item on which the exit is called.
I tried methods of pricingItem like getId(), getExternalId etc but none of those are returning the item numbers.
does anyone know how to retreive the same?
thanks in advance.
regards
rajeev

Getting Id was sufficient

Similar Messages

  • How to apply a fee in the pricing procedure without getting discounted

    I have added manual condition to a Pricing procedure (ZEKK and ZEAA). During order processing, these conditions are added manually to Order-Items. These are environmenr fee conditions, added to charge Environment disposal fee
    Now when a cash discount or any other discount is applied, these condition values  get added to total, and also gets discounted. The requirement is to add these condition value at the end of dicounted price before taxes. The taxes are to be charged on these condition value.
    Express replies are appreciated and rewarded

    Hi D M ,
    here you have to place the item condtions in the pricing procedure in the below format.
    STEP NO. C.TYPE FROM TO
    10             PR00
    20           Z001       10       10
    25           net value 10        20
    30            ZEKK     10        10
    40             ZEAA   10        10
    45            net value2   25      40
    NOW HERE THE system will calucate you said discount on the value of the basic picice of the sales order material
    also the environment condition types will calculate  the value on the basis of sales price as well
    and in the end the system will total the values as net vaue 2
    test n revert
    Mohit Singh

  • The pricing procedure in Sales order is not getting copied into invoice

    The pricing procedure in Sales order is not getting copied into invoice.
    I have created a document type (pricing procedure),based on the document type ,pricing procedure determination is done.
    So while creating sales order the pricing procedure is determined but when invoice is created the pricing doesnt refelect in the invoice.How to over come this problem

    Hi
    Please check the in OVKK, weather you have maintained correctly or not.Also check in the Billing document type details what is the Document pricing procedure that has been maintained.
    Regards
    Srinath

  • How to get the store procedure name inside this store procedure?

    how to get the store procedure name inside this store procedure?

    Why cant you get the procedure name as hard code as the proc name is going to change.
    Are you looking for getting the parent proc name from child proc name which is getting executed within parent proc?
    Try the below:
    --Parent Proc
    Alter Proc sp_test
    as
    Begin
    Declare @s varbinary(MAX) = Cast('sp_test' as Varbinary(MAX));
    SET CONTEXT_INFO @s;
    exec sp_test2
    End
    --Child proc
    Alter proc sp_test2
    as
    SELECT Cast(CONTEXT_INFO() as varchar(100));
    --Test execution
    Exec sp_test
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped.
     [Blog]

  • Step number in the pricing procedure

    Hi experts,
    Pls advise the reasons. How to solve them without changing the step number?
    Q1: As long as HM00 is the first step number in the pricing procedure, the value of HM00 cannot be distributed among items.
    Example:
    Pricing procedure:
    step no.         conditon type
    10                      HM00 (statistical)
    30                      NETW (ERL)
    Sales order (HM00 = $100):
    item 1     NETW = 0
    item 2     NETW = $100
    Q2: When putting a conditon type between PR00 & subtotal in the pricing procedure, such as VPRS, the value of subtotal cannot be the same as PR00.
    Example of sales order:
    PR00 (unit price) = $19.95 per 10kg
    VPRS (internal price) = $10 per 1kg
    subtotal = $2 per 1kg
    Request: PR00 = subtotal = $19.95 per 10kg

    hello, cathy.
    i do not have access to my references now, but please allow me to advance a general concept.
    in SAP standard, HM00 is a group condition, and fixed value.  the distribution of this value is controlled by certain logic.  as in other header condition types, distribution of this amount can be based on either the value or quantity contribution of the different sales order items. 
    what serves as the basis for distribution of HM00, i do not recall but i will get back to you on this... or perhaps another consultant can give it sooner.
    as to your second issue, i will try to understand your situation better.  but generally VPRS is statitical and not meant to come between PR00 and the sub-total.  VPRS has a different logic compared to the other condition types, and is intended to return a statistical presentation of profit margin in the condition tabs.  if fact, in pricing procedure RVAA01 you will notice that VPRS is grouped with the other statistical condition types just before the profit margin.
    regards.

  • Excise duty in the Pricing Procedure for Local Purchase / Importation

    Hi,
    I'd like to know how to set up the pricing procedure for the purchase of an IS Oil Material; for local purchase and importation, especially with regards to the excise duty posting.
    Local purchase:  the vendor will bill us inclusive of the ED tax he previously paid, so the tax is just passed on to us..  My receiving location has ED paid status. In the PO item, we need to see this price (inclusive of tax) in the net price field.
    Importation:  the vendor only bills us the cost of the material.  When we received the fuel, we paid ED tax to local tax authorities.
    I know that both in these scenarios, the system has to determine the excise duty.
    My questions are (1) how do you set up the excise duty condition type  in the pricing procedure(or do they have to be maintained in the pricing procedure?) ?   and (2)  how do you set up this condition type in the config?
    Thank you and hoping for your immediate feedback.
    zccr

    Hi,
    You can use same pricing procedure
    put 4 in subtotal in pricing procedure against the Discounr or freight cond
    and in taxinn
    BASb ALTCBV 362 and for jmop 363
    But this will work only if same  discount or freight value is in IV as that given in PO
    if freing value changes in IV then its a problem
    This is SAP bug, and SAP workes in that way only, freight value should be same in PO and IV
    other solution
    in taxinn create tax code like v8 vat 4% for 003 tax clasification
    in ftxp create tax code V8 desc vat 4%
    in fv11 for jvrd put 4
    and at the time of IV put this tax code for freight amount
    and for regular material value V1 tax code
    this will work only if u have used acess seq MWST instead of JTAX pr JST1
    hope this helps
    Vipin

  • Object Class Invalid when downloading the pricing procedure from ECC to CRM

    Hi,
    I want to download the pricing procedure for that I have created the ZDNL_CUST_CND which contains only the following tablesT683, T683S, T683T and T683U.
    When I check in R3AM1 status is Red.
    The following Error have been found in SLG1
    •     Object class invalid
    •     Error in inbound data check
    Message no. CND_MAP120
    Diagnosis
    During the receiving inspection, serious errors were found in the consistency of the exchange object.
    System Response
    Data exchange is terminated
    •     Data exchange terminated     
    Message no. CND_MAP122
    Diagnosis
    Data exchange has been terminated due to serious errors. No exchanged data has been posted in the system.
    The following Error has been found in SMQ1
    •     R3AD_CONDITIONS     STOP
    Details of STOP
    Set by Host name: litldq; Transaction: ; Report: SAPMSSY1
    I have checked the connection, everything is perfect.
    What may be the problem?
    Thanks

    Hi,
      Please try to re-generate the adapter object (ZDNL_CUST_CND) services using trx.
    SMOGGEN
    . After this, try re-running the load.
    I assume that your CRM inbound mapping module are correctly coded. If the problem persists, try de-registering the R3AD_CONDITIONS inbound queue using trx.
    SMQR
    and then debugging the inbound queue from the same trx. after re-starting the load.
    Reward if this helps!
    Regards,
    Sudipta.

  • Selling price in the Pricing procedure

    In my implementation the company is arriving at the selling price like this:-
    Basic GLP Price     100
    Freight  & Insurance @5%      5.00
    Sub Total      105.00
    Exchange to INR @  1Euro=Rs.1.00(For ex.) 105.00
    Loading  1%      1.05
    ***. Value      106.05
    Basic Customs Duty at 15 %      15.91
    Sub Total      121.96
    CVD 16%      19.51
    Cess on CVD 2 %      0.39
    Sub Total      141.86
    Total Duty      35.81
    Cess on  Total Duty 2%      0.72
    Clearing Charges 1%      1.42
      TOTAL COST  ( CIF + C DUTY+ CVD+ CESS +CL CHRG)      142.95
    Sub Total cost without CVD      <b><u>123.04(Selling price)</u></b>
    I want this selling price to be picked up once I punch in the material part no. in my sales order. Can I get this selling price directly without using the pricing procedure? Can I hardcode the selling price or can i use some selling price simulation? Since the data to arrive at the selling price is dynamic is it advisable to hardcode the SP or to use different condition types to arrive at this selling price?

    Hi Arindam,
    It is advisable to create a new condition type so that in future it will be useful for the reporting purposes related to sales order documents.
    Othewise you can write a exit ( Requirement/ Formula etc ), and do the  calculation part for the selling price what you have mentioned in any of the mandatory condition type which you are using in sales orders, so that selling price value will always get populated.
    Thanks
    Lakshman

  • Subtraction in the pricing procedure.

    Hello Friends,
                 I have requirement as follows:
    I have two steps in the pricing procedure. One has a condition type and the other does not. Now my requirement is to subtract the condition price of step 1 from the condition price of step 2 and display it as the condition price for step 3 which has no condition type.
    I have been suggested to create a new routine in vofm and assign that in the pricing procedure.
    Is there any otherv way of doing this?
    If not, how we design the code to get the values from the structure KOMV for the field KWERT for different steps to calculate and update in the rpicing procedure?
    Can u please guide me.

    and display it as the condition price for step 3 which has no condition type
    In SD, unless you have a condition type, you cannot show it as a pricing since it has an impact in FI via Account Key and G/L Account assignments.  Please explain more about the Business Process and how you want to capture.  Dont go for VOFM and all when the process can be configured via standard.
    G. Lakshmipathi

  • Explain the Pricing Procedure

    Hi Friends
    Explain how the pricing is determined for an item, starting from the sales order
    Discuss the full cycle also make a mention  on  the Condition type controls, and Maintain pricing procedure controls.
    Kindly explain it with an example.
    Thanks

    Pricing Procedure is indeed an heart of SD module, reason being if everything else is working fine, but price is not being calculated correctly, the purpose of billing fails.
    An Overview of Determination & Configuration of Pricing Procedure is as follows:
    In SD, Pricing Procedure is determined based on Sales Area (Sales Organization + Distribution Centre + Division) + Customer Pricing Procedure + Document Pricing Procedure. Sales Area is determined in Sales Order Header Level. Customer Pricing Procedure is determined from Customer Master. Document Pricing Procedure is determined from Sales Document Type / Billing Type (if configured). Once the pricing procedure is determined, Condition records are fetched. If appropriate condition records are found, the price is determined. If Mandatory pricing condition is missing, system will through an error message.
    In SD, the steps to configure Pricing procedure are as under:
    Step 1:
    Condition table: If existing condition table meets the requirement, we need not create a new condition table. Considering the requirement for new condition table, the configuration will be done in spro as follows: IMG -> Sales & Distribution -> Basic Function -> Pricing Control -> Condition Table (select the required fields combination, which will store condition record).
    Step 2:
    Access Sequence: If existing access sequence meets the requirement, we need not create a new access sequence. Considering the requirement for new sequence, the configuration will be done in spro as follows: IMG -> Sales & Distribution -> Basic Function -> Pricing Control -> Access Sequence (Access sequence is made up of Accesses (Tables) & the order of priority in which it is to be accessed. Here we assign the condition table to access sequence.
    Step 3:
    Condition Type: If existing condition type meets the requirement, we need not create a new condition type. Considering the requirement for new condition type, the configuration will be done in spro as follows: IMG -> Sales & Distribution -> Basic Function -> Pricing Control -> Condition Type. It is always recommended to copy an existing similar condition type & make the neccessary changes. Here we assign Access sequence to Condition type.
    Step 4:
    a. Pricing Procedure: It is recommended to copy a similar pricing procedure & make the neccesary changes in new pricing procedure. Pricing Procedure is a set of condition type & arranged in the sequence in which it has to perform the calculation. Considering the requirement for new Pricing Procedure, the configuration will be done in spro as follows: IMG -> Sales & Distribution -> Basic Function -> Pricing Control -> Pricing Procedure --> Maintain Pricing Procedure.
    b. Pricing Procedure: After maintaining the pricing procedure the next step will be determination of pricing procedure. Configuration for determining pricing procedure in SPRO is as follows: IMG -> Sales & Distribution -> Basic Function -> Pricing Control -> Pricing Procedure --> Determine Pricing Procedure.
    Step 5: Condition record: Condition record is a master data, which is required to be maintained by Core team / person responsible from the client. During new implementation, the condition records can be uploaded using tools like SCAT, LSMW, etc.

  • Downloading the pricing procedure

    Hi Gurus,
    I am new to the Middleware.
    I have defined the new pricing procedure in ECC 6 and I require downloading the same pricing procedure to CRM 5. What are the initial objects I have to us for initial download?
    I have used the following things in the pricing procedure
    •     56 Sales org. of order/plant  Condition Table     Standard one
    •     PI02 Sales org/plant            Access Sequence      Standard one
    •     I have defined 6 condition types.
    •     I have created the condition records for the condition types that where in the pricing procedure.
    Can any body help me out?
    Thanks in advance.

    Hi,
    You told me that for the particular download use T.C - R3AR2 when I go there I found lot of objects but I am not sure which object i have to use? How to find the right object
    If i want to download the Z00001 pricing procedure, 56 condition table , z001 to z10 condition table and condition records for the condition types.
    I have also used the following things in the pricing procedure they are
    In the subtotal column of the pricing procedure I have used
    •     1          Carry over value to KOMP-KZWI1
    •     A     Carry over price to KOMP-CMPRE (credit price)
    •     B     Carry over value to KOMP-WAVWR (cost)
    In the requirement column of the pricing procedure I have use
    •     2     Item with pricing
    •     4     Cost
    In the Condition formula for alternative calculation type column of the pricing procedure I have used
    •     2       Net Value
    •     11     Profit margin
    Thanks in advance

  • Run out of step numbers in the Pricing Procedure

    Hello gurus,
    Has anyone come across the following situation:  Within the pricing procedure I want to insert a new condition type but there are no 'free' numbers available within the procedure steps to enable me to do this 
    e.g:  These are the steps in the Pricing Procedure
    Step     Cntr     Ctype     Description
    290     0     ZLTS     Type1
    293     0     ZLTD     Type 2
    296     0     ZDIF     Type 3
    297     0     ZLEX     Type 4
    299     0          Net Value Before Tax
    300     0     MWST     Type 5
    302     0     ZWR2     Type 6
    303     0     ZWR3     Type 7
    My new condition type should be applied on the Net Value Before Tax and before VAT (MWST) but there is no available step number i.e Net Value Before tax = step 299 and MWST = 300.   i.e new condition type should go in between 299 and 300.   Any ideas of how to get around this?
    Many thanks in advance....

    hi,
    you can shfit 299 0 Net Value Before Tax to 298, but you need to check all the alternative calculation types if any susbsequent condition is making us of this step in their calculations. We, use the step numbers(STUNNR) in our alternative calculation types, so if you change their number or sequence you will disturb the calcuation of other pricing conditions.
    so please evaluate from that angle.
    regards
    sadhu kishore

  • Pricing routine 901 in the pricing procedure

    Can you tell me in detail (step by step) How to write pricing routine 901 in the pricing procedure?
    I know ABAP coding. I am new to SD (pricing).
    The only thing I know is the VOFM 901 Pricing Routine development is in ABAP program RV64A901.
    Purpose : Pricing Routine for calculating the price difference due to increase or decrease in the copal contract price from the copal actual price
    Description :
    Routine 901 : Copal Difference Calculation
    The formula to be used is : Copal Adjustment = ( Copal Contract Price + Copal Actual Price ) x Amount of Copal / 1000
    Where
    Copal Contract price is the condition type Y001 from the pricing procedure Z00003.
    Copal Actual price is the condition type Y002 from the pricing procedure Z00003.
    Amount of Copal is the condition type Y005 from the pricing procedure Z00003.
    Copal Adjustment is the condition type Y003 from the pricing procedure Z00003.

    Hi,
    Go to the transaction VOFM.
    In the menu..Choose...Formulas -> Condition value
    At the of the table ..Enter 901 and give the description..
    Then select that row and press source text button or F5.
    It will ask for the access key...
    Get the access key for the corresponding object
    R3TR PROG RV64A901
    Then in the code..
    READ TABLE XKOMV INTO LWA_Y001 WITH KEY KSCHL = 'Y001'
                                                      KPOSN = KOMP-POSNR.
    READ TABLE XKOMV INTO LWA_Y002 WITH KEY KSCHL = 'Y002'
                                                      KPOSN = KOMP-POSNR.
    READ TABLE XKOMV INTO LWA_Y005 WITH KEY KSCHL = 'Y005'
                                                      KPOSN = KOMP-POSNR.
    Sum up the values in LWA_Y001, LWA_Y002 & LWA_Y005
    And then move it to XKWERT
    Thanks,
    Naren

  • Replacing  of the pricing procedure by a different pricing procedure .

    Hi
    We are process of changing the pricing procedure of the particular sales  process.
    In case of old open sales order after changing pricing procedure if i update it in VA02 mode then also ...it is not picking the current sales order ...
    Again in case of sales order where deivery has been done ...for them while creating billing ...it is taking current pricing procedure so that there is a mismatch of sales order amount and billing amount .
    Again while creating return order w r t old sales order ...it is taking current pricing procedure in return order instead of taking the original one ....
    Pls advice how to rectify this problem .
    Thanks in Advance
    Regards
    Mrinal

    Dear Lakshmipati,
    I told I am  in process of changing pricing procedure .
    Currently normal pricing procedure is configured in the system. Now business wants to change it in list price pricing procedure ( i.e base price with tax pricing procedure ) . And new pricing procedure has some extra automatic discount value also .
    My question was
    1) There is no change in open sales order ....IT is OK
    2) But for sales order where already delivery has been done then after changing pricing procedure it is taking new pricing procedure so that ..sales value and billing amounts are getting different . How to restrict this .?
    3)For return order also ...it is taking new pricing procedure ... How to restrict the same ?
    Regards
    MKC

  • Problem in getting the pricing data

    Hi all,
        I'm trying to create a service contract. When i do this, an error pops up saying 'Pricing data for Business Partner could not be found'.
        I've configured the pricing procedure for BP and created condition records as well. I even replicated the condition objects from R/3. Still I'm getting the same error.
    Can anyone help me out in this regard
    Thanks...
    Regards

    Hi, this problem can be located in various area's so I would need some more info from your side to determine the cause of it. I assume you have an IPC in you landscape? If so, did you test IPC's pricing functionlity from within the IPC? Did you replicate all your condition related information from SAP R/3? Have you successfully been able to find your BP pricing record in your condition table? Thanks, Tiest.

  • About the pricing procedure of purchasing order

    Hello friends,
    can anyone tell me about the pricing procedure,conditions & texation of Purchase order?
    and hoew to maintain all those term in Customisation?

    The Basic thing is Condition Technique. In which there are 
    1. Access Sequence 2. Condition Record 3. Condition Type 4. Condition Table. 
    A Access Sequence access a Condition Record of a Condition Type in a Condition Table is a  Condition Technique.This is a simple logic 
    Here the Condition Type is very important like PB00, PBXX,RA01 etc. 
    In the background every Condition Type has its own defition means the purpose of the Condition Type  like, is it for Pricing or Percentage, Quntity base, Accrual Feilds etc is to be defined to work this functions.  Normally we use the existing ones without any risk. But some cases, we have to Create a New Condition Types as per the organisation requirement. 
    The Pricing Schema is useful to minimise condition types while mention prices for Vendor on the basis of Pricing Schema which we defined according to organisation requirement. 
    The Pricing Schema means the calculations procedure of Condition Type. 
    Ex.  RA01 - Discoount % is caclulated on PB00 - Gross Price  means 
    RA01 is based on PB00  like that we have to define in the Pricing Schema 
    which makes easy to use in real time. 
    Here PB00 has the Access Sequence - 0002. 
    But RA01 does not have the Access Sequence.Why because it is a dependent on PB00. But both are Condition Types. 
    In the system, by default some standard  Scheme will be there at Vendor Schema Group in the Vendor Master Screen means the standard one is assigned which is very lengthy which may fullfil our requirement. But some cases which may not fullfil our requirement, in such we have to define. 
    For the configuration, I may not able to explain properly through here but will give some idea. 
    Configuration: SPRO - IMG - Material Management - Purchasing - Conditions - Define Price Deternmination Process:
    1. Define Access Sequence 
    2. Define Condition Type 
    3. Defince Calculation Schema:- Here you have to define the Schema - Define Schema group 
    1. Define Schema Group vendor 
    2. Define Pricing Schema group 
    3.  Schema group for Purchase Organisation 
    4. Assign Schema group to Purchase Organisation - Define Schema determination 
    1.define calculation schema for Standard purchase organisation 
    After completion of the Schema Group, we have to assign it to Vendors. 
    Then whenever we use any transaction with this Vendor, the concerned  Schema will work as configured by us. 
    The Pricing in MM is vast because each Condition have its own importance and each Access Sequence have its own importance. So you need not bother about this. First you learn how to define the Calculation Schema through the above.

Maybe you are looking for