Manually Forcing Pricing in Sales Order Items

Hi,
We have a requirement wherein we need to force pricing in sales document item level. Would you know of any subroutines we can call to trigger pricing? Will PREISFINDUNG_GESAMT work? (we have to call this in userexit_check_vbap)
Thanks and regards,

Hi,
Try calling this routine..
PERFORM PREISFINDUNG USING DA_PRICING...The routine is in the include FV45PF0P_PREISFINDUNG..
The above subroutine is called after the userexit USEREXIT_NEW_PRICING_VBAP..The above subroutine is called in the include FV45PFAP_VBAP_BEARBEITEN_ENDE.
  Try calling the same..
Thanks,
Naren

Similar Messages

  • New pricing on sales order item after partial delivered and billed

    Hi
    I want to change price of sales order item that already delivered partially and
    billed, but I can't search standard function.
    Can any one help me out  in changing the price of sales order item (VA02).....
    Thanks,
    Wizard.

    Hi DongWoo,
    Under what scenario would you want to re-price after billing?  If you change the price how will your customer know?  You will need to contact your customer and let them know not to pay the last invoice, then delete that billing document in SAP and re-issue it.  When you create the billing document in SAP from a delivery or order you can specify how to re-price in copy control.  Whether or not you want to reprice all conditions, taxes or whatever is in the re-pricing type.
    You need to make sure what we send the customer matches what is in SAP, which is why we generally can't re-price after billing.  Make sense?
    If you want to change the price on the still open items you can reject what is open and enter a new line item.  That will pick up whatever new pricing conditions exist, but you may lose your ATP position & allocation status.

  • Update Pricing elements for sales order item

    Hello All,
    I want to add few manual pricing elements to a sales order item through code (the pricing elements to be added will be determined dynamically). Is there any BAPI  or user exit to update the same?
    Regards,

    Hi
    You can use the BAPI_SALESORDER_CREATEFROMDAT2 for creating  the sales order.Using this you can populate the pricing conditions for sales order. To pass the Pricing conditions use the str ORDER_CONDITIONS_IN & ORDER_CONDITIONS_INX in BAPI.
    Regards,
    Raghu.

  • Value of NET in Sales Order item (Pricing)

    Hi,
    I have created a Price correction order. Where I put the corrected price and all the calculations happen on the entered corrected price. Like the discounts and taxes.
    All the calculations in the Pricing is perfect.
    But the value in Net for the line item is calculating incorrect value.
    For e.g. If Corrected price is 100 and the Net value for this is 60 (including discounts and taxes). Then the value in Net in the Sales order will show the Value (100 + 60) = 160.
    All the calculations in the Pricing procedure are perfect.
    Please help me with this issue, How the value is NET (Sales order item) is calulated. Is this associated with any routine.
    Thanks and regards,
    Sheetal

    Hi,
    NET will be  Prices + Surcharges - Discount.
    so, see the discounts and surcharges in your order.
    And, please give all the condition type and corresponding rates in the next post, so that i can be more helpful.
    thank you

  • System resets the sales order item price changes after save in VA02.

    Hi All,
    We have implemented automatic credit control at sales order level.
    System is blocking the sales order once saved in VA01.
    But if I do any changes in prices at item level in VA02 and save before credit releasing the sales order then system agian reset to the original prices from pricing condition records.
    Can any body tell me why this is happening? I should able to change the sales order prices manually before releasing the sales order credit block. Is it possible?
    Regards,
    Kartheek.

    Like Lakshmipathi said, you should be able to change the prices in the order even if the order is under credit limit block.
    Please check the condition types which are being changed . In the condition type definition( T Code V/06) for the field Manual Changes - the value should be either "Manual entry has priority" or "....should allow to change manually...".
    Also in your pricing procedure ( T Code V/08) , against your pricing procedure , please select the value for pricing type as ..."copy manual conditions and redetermine others".
    Hope this helps
    Regards
    Sai

  • BAPI_SALESORDER_CHANGE to update reason for rejection of sales order item

    Hi,
    The FM BAPI_SALESORDER_CHANGE is not working properly as I am getting below error when try to update the reason for rejection at sales order item level.
    The delivery is done for this salesorder. Is it because the reason for rejection field is not as an input field when delivery done?
    error in return table is " Field 'ABGRU' cannot be changed, VBAPKOM 000010  ready for input"
    Request your suggestions to avoid this error.
    Thanks

    >
    anikaushi wrote:
    > Hi,
    > The delivery is done for this salesorder. Is it because the reason for rejection field is not as an input field when delivery done?
    >
    >  error in return table is " Field 'ABGRU' cannot be changed, VBAPKOM 000010  ready for input"
    >
    >
    > Thanks
    Yes, Most likely.. You can confirm this by trying to change a order without delivery and see if it goes thru (to ensure that you have passed correct parameters)...
    you may have to delete the delivery (and if billing document exist, cancel it), before you can reject the line item... it would be safer to raise an error message and let the users manually delete delivery document as long as you don't have large volumes of this scenario..
    Please see the SDN thread for how you can avoid this error...
    Re: Cancel Sale Order after Issued Billing

  • EK01 and EK02 not copied to sales order item

    Dear colleagues,
    Is it possible to have EK01/EK02 transferred to the sales order item for assembly type = "0 no assembly order processing"
    (specified in requirement class definition)? I would like to have planned production costs in EK02/EK01.
    I don't specify costing method, variant and sheet in requirement class definition (transaction ovzg)
    The steps are following:
    1. create sales order
    2. set manually proper item category (which refers to assembly type = "0 no assembly order processing")
    3. MD04 - convert generated planned order (lower-level for HALB) into production order
    4. MD04 - release HALB production order
    5. MD04 - convert generated planned order (higher-level for FERT) into production order
    6. MD04 - release FERT production order
    7. ????? we could expect EK02/EK01 in sales order item coming from production orders ?????
    I have found SAP note 857299 nevertheless it is not stated precisely there.
    Please let me know your observations in this area.
    Regards,
    Wojtek

    Hi..
    Hi
    Small change in the program will copy the PO number from Contract to sales order.In case need take help of ABAPer
    Data which is not copied
    LOCAL: VBKD-FKDAT.
    LOCAL: VBKD-FPLNR.
    LOCAL: VBKD-WKWAE.
    LOCAL: VBKD-WKKUR.
    LOCAL: VBKD-DELCO.
    LOCAL: VBKD-BSTKD.
    LOCAL: VBKD-ABSSC.
    LOCAL: VBKD-BSTDK.
    In your data declaration, you have
    LOCAL: VBKD-BSTDK
    Regds
    MM

  • How to add a partner in sales order item by enhancement?

    Hi expert,
    Sales order item's bill-to and payer will be same with header if you do not change it manually. now I want to modify some item's bill-to and payer which different from the header automatically. Is there any enhancement for this function?
    Thanks and best regards
    Lance

    Hi Lance,
    You can populate the XVBPA structure with function module "VIEW_XVBPA_FILL".
    You have to pass the following values to the FM:
    COMWA-KUNNR <- the changed partner code
    COMWA-PARVW <- parter role
    COMWA-VBELN, COMWA-POSNR <- Salesorder and item: just fill it with VBAK-VBELN,VBAP-POSNR
    You'll get the result in parameter XVBPA, which can be used for append the internal
    table XVBPA in the userexit.
    BR,
    Barna

  • In which tables can I find the sales order item texts?

    Experts,
    In SD, we have texts on sales order item level. These texts can be filled manually or automatically via access sequences. My question is very simple: in which table can I find these texts? I want to extract them for a big number of sales orders.
    Reward points if helpful answer.
    Thanks

    hi
    try in
    TVAPT     Sales document item categories: Texts               
    TVAKT     Sales Document Types: Texts
    TVAUT     Sales Documents: Order Reasons: Texts
    TVAST     Sales Document Blocking Reasons: Texts

  • User exit for pricing in Sales Order

    Hi Gurus,
    I have a requirement while changing Sales Order and an Inquiry.Below is the requirement.
    I have a custom filed at the Sales Order Item level as VBAP-XXXXX. When the user changes this value to a value (say abc) then the NET value in the Conditions tab of the line item should become zero and also the grid of the conditions tab should be displayed as zero.
    I have custom item categories for which the Pricing (TVAP-PRSFD) is blank (No pricing). For this type of Item categories I can make the NET price s ZERO by implementing some custom logic in the user exit userexit_new_pricing_vbap. Since this item category is not relavant for pricing then when I carry out new pricing the net value is set to ZERO.
    But for other item categories, this field (TVAP-PRSFD) is set to X (Pricing standard). For this item categories I cant make the NET value as zero.
    So Can you please let me know the possibility of implementing the above mentioned logic?
    Are they any user exit to update the pricing table KOMP?
    Are they any user exit to change the TVAP-PRSFD value based on my requirements?
    Is there any other way of implementing this logic irrespective of item categories?

    Hi Vinod,
    I am sending you my code please check it,
       if TKOMK-SPART = 10.
        if XKOMV is not INITIAL.
          clear v_JEXP.
        READ TABLE XKOMV with key kschl = 'JEXP'.
        if sy-subrc = 0.
          check XKOMV-kwert = 0.
          message i003(ZT) with 'Value should not be 0 for conditioin type JEXP'.
          v_JEXP = 'X'.
        else.
          message i003(ZT) with 'Maintain the mandatory Conditioin type JEXP'.
          v_JEXP = 'X'.
        endif.
        if v_JEXP = 'X'.
      XVBUV-MANDT = sy-mandt.
      XVBUV-POSNR = '000010'.
      XVBUV-TBNAM = 'VBAP'.
      XVBUV-FDNAM = 'PRSOK'.
      XVBUV-FEHGR = 20.
      XVBUV-STATG = '06'.
      XVBUV-FCODE = 'PKON'.
      XVBUV-SORTF = 9999.
      XVBUV-LFDNR = 0000.
      XVBUV-UPDKZ = 'I'.
      append XVBUV.
        endif.
    endif.
    endif.
    Please suggest something to solve this.
    Thanks and Regards,
    Vicky.

  • Add a partner at sales order item level?

    According to SAP note 380507 there is no partner determination on sales order item level.
    I've the following requirement: When an item with a certain item category is created a partner role/function should be added at the sales order item level.
    I've identified this userexit MV45AFZB / USEREXIT_CHECK_VBAP where I can add a line to iternal tabel XVBPA. Is use the fields:
    MANDT
    VBELN
    POSNR
    PARVW
    UPDKZ = 'I' (Insert)
    NRART = 'PE'
    FEHGR = '09'
    This works fine, the entry is correct displayed and stored in VBPA table in the sales order document.
    My challenge is that the incomplete log doesn't show that the partner role/function is still incomplete.
    When I enter the partner role/function manually (personal number = BLANK) then the incomplete log shows correctly.
    But not when I add it in the userexit.
    The behaviour should be that I add the partner role/function and the incomplete log should warn the user that he/she still has to enter a personal number for this partner.
    What to do?
    Thanks for your input, kind regards.
    Georg.

    Found the solution myself.
    Internal table XVBUV can be filled to generate incomplete log entries.
    Thx.

  • Partner Function- Sales Order item level

    Hi Gurus,
    I want to assigne Partner function -Employee responsible at sales order item level.
    i did the configuration settings and i am able to assigne the employee numner at sales order item level but i am not able to assigne partner function-employee resp more than 1. i want to assigne N number partner function- Emp Resp.
    kindly tell me the p

    Hi sumith
    As you want to assign N number of employees at item level . first of all go to IMG->sales and distribution ->basic functions->partner determination procedure->partner determination procedure at item level
    While doing partner determination procedure at item level don't check the boxes when you assign to your partner determination procedure. and just assign the sales  Employee partner function apart from the standard partner functions.(SP,SH,BP,PY).
    Now when you create the sales order and manually you can assign the sales employee number for all items.
    Regards
    Srinath

  • Manual Condition type in Sales Order

    Hi,
    i need to enter a manual condition type in sales order which should come in % and the value should not come or it should come as zero, Is there any way to make that manual condition value as Zero in sales order.
    Ragu

    Raghu,
    Pls check the OSS notes 392668, that will solve your problem.
    The same pasted here for your reference. However, I advise you to download it and then read due to inconsistent formatting here.
    Reward if this helps.
    When you create documents in which the standard pricing is used to determine condition records as well as to calculate a pricing result, the display and entry of manual entries is not clear in the relevant condition screen (screen 6201 in the SAPLV69A or SAPMV61A programs for releases prior to 4.6A).
    This note explains the interaction of manual entries with the attributes maintained in the pricing procedure and in Customizing of the condition type.
    Other terms
    KAUTO, V/06, V/08, KAEND fields, KOZGF, PRICING_CHECK, LV61AU08, XKOMV_ERGAENZEN_MANUELLE, LV61AA53, manual entries, MANU
    Reason and Prerequisites
    In the pricing Customizing, the following fields affect the manual entry of complete condition lines or individual condition rates:
      Description        Technical name              Maintenance transaction in SD
      Access sequence    KOZGF                  V/06 and V/07
      'Manu'            KAUTO                  V/08
    Depending on the characteristic of the mentioned fields, the pricing condition screen appears as follows:
      KAUTO   | KOZGF    | Condition record existing on DB? | Result
      Initial | Initial   | -                                | (1)
      Initial | Existing  | No                              | (2)
      Initial | Existing  | Yes                              | (3)
      Set     | Initial   | -                                | (2)
      Set     | Existing  | No                              | (2)
      Set     | Existing  | Yes                              | (4)
    Result (1)
    A condition line is set for the relevant condition type [KSCHL]. The 'Condition rate' field [KBETR] does not contain a value, but is ready for input. The displayed line serves as an input help or a template for the manual entry.
    Result (2)
    No relevant condition line is set on the pricing condition screen, in other words, the condition type is missing.
    If you enter the condition type manually without entering a condition rate in the same processing step, you get a 'template line' as described in (1).
    Result (3)
    A suitable condition record that exists on the database is set with amount (= normal, automatic determination).
    Both the 'Condition origin' indicator [KHERK] and the 'Condition control' indicator [KSTEU] are set to 'A'.
    If you create another line with this condition type and enter a condition rate not equal to zero, a line is set with this condition rate.
    The 'Condition origin' indicator [KHERK] as well as the 'Condition control' indicator [KSTEU] has characteristic 'C'.
    If, on the other hand, you create another line and enter a condition rate of zero (or do not enter any condition rate) and the condition record that exists on the database has a scale, the system sets the condition rate according to the achieved scale level. If zero is to be set as the condition rate even if scales exist, then use modification Note 179354. If no scale is maintained, then the system always sets zero as the condition rate.
    In these cases, the 'Condition origin' indicator [KHERK] has characteristic 'C', the 'Condition control' indicator [KSTEU] characteristic 'A'.
    Result (4)
    No relevant condition line is set on the condition screen, even though a condition record suitable for the access sequence exists on the database. The pricing analysis displays the message "Manual condition (Condition record exists)". If you enter the condition type manually without entering a condition rate in the same processing step, the record that exists on the database is set. If a condition record has a scale, the system sets the condition rate of the first scale level independently of the achieved scale level.
    In this case, the 'Condition origin' indicator [KHERK] has characteristic 'C', the 'Condition control' indicator [KSTEU] has characteristic 'A'.
    Thus, the setting variant leading to result (4) serves to suppress the setting of automatically found condition records into a pricing result. However, you can add the maintained record to the already determined pricing result by entering the relevant condition key.

  • How to get sales order item information

    Hello All,
       I ahve defined a new, custom condition type and created a routine in alternate condition type.
       While creating a sales order, when the routine is getting executed, i need the sales order item information. i.e. i need to access VABP table. but when i put a break point, in the routine, i cant see the detials of item.
    can some one tell me how to get item data, in the routine.
    (p.s. this is while creating sales order)
    thanks a lot in advance
    Best Regards
    Amarender Reddy B

    Hi
    I suppose you're speaking about pricing condition, if it's so all information u can have are in structure KOMP and KOMK. The condition record data should be in the internal table XKOMV.
    If there informations u need aren't there u should enanche those structure.
    Max

  • Sales Order Item charge

    In the Sales Order item line have lines charge,
    How to insert the charge ? Is it set in the Item Master or Price List ,please let me know ?
    thanks

    It is not very clear from your post what you actually did. It seems that you applied freight cost during ship confirm. If that is yes, and you haven't done the cost to charge setup then it won't appear as a charge at the line level. When you enter any freight costs associated with the line or delivery during ship confirmation then, those costs are transferred to the order line (during Shipping to OM interface after ship confirm) as price adjustments. Then the conversion of the costs into charges will be triggered, provided the 'cost to charge' conversion setup has been done. The converted charges will be applied to the line. The cost to charge conversion part will require you to define a "Freight and Special Charges List" type modifier to be used along with a seeded (there are many already) / user defined "Cost to charge conversion formula". For details you can refer to "*Setting up Freight and Special Charges For Cost to Charge Conversion*" in OM implementation manual.
    If you want to apply the actual Freight and Special charges at the order/ line level directly then you have to define "Freight and Special charge List" type modifiers and you should have proper security privilege through OM%Charging%Privilege profile to apply the same (as mentioned in my previous post). You can set these modifiers for as automatic application as well.
    Please note these are 2 different functionalities and based on your need you to decide which one is applicable.

Maybe you are looking for

  • T410 bluetooth device NOT FOUND

    Hello Everyone, I have a t410, product id is 2539AJ6 (bluetooth included), running Windows 8. however i can't get bluetooth to work, in addition it seems like there is no trace for a bluetooth device on this computer: - Can't install driver ("Device

  • Help needed - transaction atomicity did not happen

              Hi -           We recently encountered a strange problem. Due to a bad search query in another           application, our Oracle RDBMS was running our of SGA and causing transactions           to fail.           What makes us worry more is

  • Synching photos on iPod to Computer

    Hi, I would like to take the photos I have on my ipod and transfer them to my computer. Is this possible? How can I do this? Thanks for your help! Emilynn

  • Difference betwwen Oracle 8i lite x Personal Lite ?

    How about the difference between Oracle 8i Lite x Personal Lite ?

  • WLS Locks on weblogic/logging/ConsoleHandler

    Hi all, i have an ADF/ADF Faces application installed on Oracle WLS 10.3.3.0 The Application Server is installed on Windows Server 2003 Service Pack 2. The problem is that some times a locks over the weblogic/logging/ConsoleHandler is happened and Se