Add new price condition in an order

Hi
In a sale order, we want to add a new condition price when we do a new detemination of a price. This new condition is manual.. this due to we receive
edi1 (cucstomer expected )prices by idoc and that in some cases this condition
is not populated.
using spro i got the list of price user exits and i saw that one could be interesting
usexit_xkomv_bewerten_init .. in prog rv61afzb ..?
does anyone has yet done this ?
thanks for the answers

CALL FUNCTION 'MEASUREM_DOCUM_DIALOG_LIST_1'
       EXPORTING
         ACTIVITY_TYPE                = '1'
         F11_ACTIVE                   = 'X'
         INDICATOR_INITIALIZE         = ' '
         DEFAULT_DATE                 = SY-DATUM
         DEFAULT_TIME                 = SY-UZEIT
         DEFAULT_READER               = SY-UNAME
         WORK_ORDER_OBJECTNR          = V_OBJNR
         WORK_ORDER_KEY_EXTERN        = ' '
         WORK_ORDER_OBJECTNR1         = ' '
         NO_DIALOG                    = 'X'
         PREPARE_UPDATE_IF_API        = 'X'
       IMPORTING
         INDICATOR_UPDATE             = ZINDICATOR_UPDATE
         LEFT_WITH_F15                = ZLEFT_WITH_F15
       TABLES
         DOCUMENTS_DEFAULT            = T_DOCUMENTS_DEFAULT
  DOCUMENTS_DEF_INS           =
         DOCUMENTS_INSERT             = T_DOCUMENTS_INSERT.
  DOCUMENTS_UPDATE             =
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          WAIT = 'X'.

Similar Messages

  • How to avoid user from entering new price condition in return order

    Dear Expert
    We are facing a scenario where we make return order; the Price is copied from the invoice. And it is working perfectly. The system does not allow us to change the price.
    The issue we are facing here is that user can input new condition like discount /premium and change the net value for the return order pricing, and this will reflect in the credit note for returns.
    Is there a way to restrict the user from entering any pricing condition in the header or item conditions tab.
    although we cannot change the original price coming from invoice referenced for return order, but the user can input new price conditions as below. This must not be allowed.
    The price must come according to the Qty being referenced.
    While making the credit for returns, the user has a chance of further making changes to the net value by adding new conditions. Hence this must also be restricted for any changes.
    Thanks
    Edited by: Lakshmipathi on Jan 31, 2012 6:55 PM
    Thread Locked - Reason Cross Post

    okie .... i will tell briefly what is the problem ....
    Take a scenario wherein a user has logged into my application and he is performing a task which will put his user id and his employee id into the session. Then he opens another window by using either ctrl+n or through files->new window.
    So now a new browser will open but the session will be same ..... in this newly opened browser, user performs some operation which will remove the user id and employee id from the session .... Now if he again comes back to the first window and tries to do some operation, then a null pointer exception will be thrown saying that the employee id is null .... because he has deleted that in the newly created browser ..... to avoid this situation what can we do ???? can you please help me in this regard ??? you got my problem right !!!

  • User exit in sales order to add new item condition

    Hi,
    Our business requirement is to add new item conditions in an order (VA01/VA02) using ABAP coding. Has anyone done this before?
    I'm thinking of using USEREXIT_NEW_PRICING_VBAP in MV45AFZB ?
    Thanks.
    Edited by: William Lawlor on Jul 8, 2008 12:19 PM

    Hi,
    This exit USEREXIT_NEW_PRICING_VBAP in MV45AFZB is used only to determine or not a new price calculation according to a modification of specific field (ex : if shipping condition is changed, then new price determination).
    To add new condition type, you can used requirement in pricing procedure (V/08) with condition formula.
    What is the condition to add this new condition type ?
    Regards,
    Lionel

  • ABAP: How to add a Price Condition Item to an order item

    Hi experts,
       Is it possible to add a Price Condition Item to an order item by BAPI or Function in sap crm? (like: 0k04 10 USD 1 EA)

    Hi,
    You need to use CRM_ORDER_MAINTAIN and have to use structure IT_PRIDOC to update or add new pricing data.
    But do remember, you have to call FM 'BAPI_TRANSACTION_COMMIT' once you are done with call to FM CRM_ORDER_MAINTAIN, else all your updation will remain in buffer and will have no effect in Database, which will let u feel as if things are not working they should be.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • Restrict new price conditions in the return order and credit note

    Dear Expert
    We are facing a scenario where we make return order; the Price is copied from the invoice. And it is working perfectly. The system does not allow us to change the price.
    The issue we are facing here is that user can input new condition like discount /premium and change the net value for the return order pricing, and this will reflect in the credit note for returns.
    Is there a way to restrict the user from entering any pricing condition in the header or item conditions tab.
    although we cannot change the original price coming from invoice referenced for return order, but the user can input new price conditions as below. This must not be allowed.
    The price must come according to the Qty being referenced.
    While making the credit for returns, the user has a chance of further making changes to the net value by adding new conditions. Hence this must also be restricted for any changes.
    Thanks

    Hi
    Firstly,In copy control maintain anyone of the pricing types
    D: Copy pricing elements unchanged
    E: Copy pricing elements and values unchanged
    To avoid all these things go with  USEREXIT_FIELD_MODIFICATION but before going with the user exit,also check with transaction variant SHD0.
    Regards
    Srinath

  • Add price conditions in sales order and purchase orders

    Hi,
    I need add five price conditions in a sales order, and a purchase order.
    I need filled KOMV table, however, i don't found the user-exits appropiated (example: the exit EXIT_SAPLMEKO_002 haven't parameter KOMV),
    Regards,

    Quite a few years ago I did something like this in sales orders... found the code in my notes, here it is.
    I used USEREXIT_PRICING_PREPARE_TKOMP in include RV60AFZZ.
    * Check if this condition record exists already
      read table xkomv with key kschl = c_condition_name
                                kherk = 'C'             "(depending on the task)
                                kposn = vbap-posnr.
      if syst-subrc ne 0.   "condition wasn't added yet
          clear xkomv.
          xkomv-kschl = c_condition_type.
          xkomv-kbetr = condition_amount.
          call function 'PRICING_CHECK'
            exporting
              comm_head_i = tkomk
              comm_item_i = tkomp
              komv_i      = xkomv
              preliminary = 'X'
            importing
              comm_head_e = tkomk
              comm_item_e = tkomp
              komv_e      = xkomv.
          xkomv-KWERT = xkomv-kbetr.
          append xkomv.
      endif.
    Keep in mind that I haven't used this logic for years, so you'll have to test if it still works, but it worked for me back then.
    If I'd have to do this now, I'd probably try to find a suitable enhancement point though...

  • Price Condition in Purchase Order Header

    Hello experts,
    I set a new price condition for the header of purchase order. Yet I wanted to put this price condition to appear by default in the header. But I can only put this condition to appear at the header if I set  this condition in tcode SPRO -> Define Calculation Schema as Fixed. but that's not what I want. I want to set the condition as manual and to appears by default in the header whether I use the condition or not. Is this possible? Put this price condition as default in the header? How can I achieve this behavior?
    Thanks in advance,
    Best regards,
    JP

    Hi,
    the path to define the access sequence  is
    IMG>>>MM>>>Purchasing>>>>Conditions.>>>>Define price determination process>>>define access sequence (M/07).
    for this you can actually use the existing ones which suits your condition records level. otherwise create a new table for it and then use it in the access sequence.
    then assign this access sequence to your condition type in M/06.
    for your reference
    Step to create new access sequence
    http://www.sap-img.com/materials/steps-for-mm-pricing-procedures.htm

  • How to add new line in transact move order line

    Hi,
    i am able to update locaotr in Transact move order.
    But i want to add two locators for the same line.
    I tried to insert one more record in data base, but getting error unique index error.
    so how can we add new line in transact move order line .
    please help to slove this isse.
    Thanks In Advance
    Venu.

    Hi,
    the fact that your question is posted in Order Management section, does the move order automatically generated by OM?
    nevertheless, i don't think you should (or allowed, in this case) to add a new line in transact move order. Transact move order only queries (not create records) the move order lines eligible to allocate and transact.
    So, I don't see why you need to add a new line in transact move order.
    You can, however, add a new line in the allocation of the lines, where for instance, you need to have half of the line allocated to one locator, and the other half to another locator
    Thanks

  • How to add new price break lines to existing PO quotations?

    Hi,
    I am using a custom interface (to insert quotations data into PO headers/lines interface tables) and PO documents open interface to create PO Quotations in Oracle.
    I need to modify this interface to:
    1. Update existing price break lines for a quotation line.
    2. Add new price break lines to existing quotation line(which may/may not have exsiting price break lines).
    Please let me know:
    1. What modifications need to be done to the existing code.
    2. What values needs to be passed to the action columns in PO_HEADERS_INTERFACE and PO_LINES_INTERFACE for above scenarios?
    Any ideas/help will be appreciated.
    Thanks
    Imran

    Hi Imran,
    I have done a similar exercise for BPA price breakup.. Let me know if you need that as reference. I can share that :).. Please provide your personal mail id..
    Regards,
    S.P DASH

  • CRM 5.0 ISA insert new price condition from order entry screen

    In CRM 4.0 we wrote a custom field on the order entry screen that shows the list price (sub 1),  we allow the user to change this value (inserts a PB00 price condition in the item pricing) and validates the change is within a certain % of the list price.
         The jco method we used in 4.0 no longer exist in 5.0, been using the 55 page IPC VMC PDF in note 809820 but still can't figure out how to replicate.
        Any help on what class / method might help us insert a manual price condition from ISA would be appreciated.

    It could be possible to use CRM BAdI to do this function.

  • IS-MAM: using statistical price condition in the order

    Hi all
    In this period, I am involved in a job project to an Advertising Management company.
    The sales process implies the revenue recognition occurs when the advertisement is published (publishing doesn't temporally concide with invoicing).
    After publishing, it is necessary to introduce a billing plan in order to split the sales order amount in a predefined number of billing with a predifined amount.
    In order to determine the right amount for billing, We thought to apply the following SAP solution:
    - to add in an order a statistic price condition relevant just for billing and not for relevat recognition.
    Through test cases, we verified that this statistical price condition determines
    a delta position in account determination.
    is this a standard SAP functionality? should be possible to avoid a new account determination in revenues accounts?
    Thanks in advance for your help
    Best Regards, Lucia

    Hi,
    the path to define the access sequence  is
    IMG>>>MM>>>Purchasing>>>>Conditions.>>>>Define price determination process>>>define access sequence (M/07).
    for this you can actually use the existing ones which suits your condition records level. otherwise create a new table for it and then use it in the access sequence.
    then assign this access sequence to your condition type in M/06.
    for your reference
    Step to create new access sequence
    http://www.sap-img.com/materials/steps-for-mm-pricing-procedures.htm

  • Modify and add new field in standard Purchase Order script

    Hi All,
           I have some problem with Modify and add some new fields in Standard Purchase Order script. From ME22n transaction code it display PO detail. In <b>item detail</b> with <b>condition</b> tab all data will display in Currently PO script output.
           But I want to display ME22n->Item Detail->Invoice->Taxes Data. how to display this data in standard PO script. All data are fetch from <b>Structure</b> like ( KOMV,KOMVD..etc) then How it can be Display?
    Waiting for Replay.
    Himanshu Patel.

    Work with an Abaper.Tell your requirement [ addition of a field] and ask him to include this field by using the functionality " Field Exit".

  • IProcurement -- Add new search condition in shopping lists

    Hello,
    Has any one ever added an extra condition to the search page.
    My requirement is, in iProcurement - Shopping Lists page.
    I would like to add a new search region with Text box to enter the Item and display the search results in the existing Results region.
    Has anyone done similar customization .. please help.
    Satya

    OK, Le me explain this way.
    in iPorcurement -- Shopping Lists page there is feature to add the items to the Personal favourites list when we order them, so that we can just refer to the Favourite list next time when we order the same item.
    Now, in Shopping lists page, there is a list box(poplist) when i select the "Personal favourites" in that list box it displays all the items that are added to the Personal favorites list. Assuming that this favorite list has some 200 items in it. i want to add a search condition to search a specific item(s) in this list.
    Thanks,
    Satya

  • VKM1 Triggers new price check on sales order

    When a user manually changes a pricing condition on a sales order and VMK1 is done at times the VKM1 will trigger a new price check like if doing 'Update' B - Carryout new pricing.   So it changes the pricing condition back to its condition record value and does not use the manually changed value.  It then shows in the SO change log as having been done via VKM1.  What was done was the credit status on the order was changed from B to A using VKM1.  Why would this trigger a new price check on the SO?

    The critical fields can be seen in t.code OVA8.
    You can also try to use Deviation % and Number of days fields in the same t.code and check the results.
    Regards,

  • Price conditions on Sales Orders via EDI

    Hi,
    I need to know if there is a way to bring prices over on the IDOC while posting a sales order via EDI. I have a situation where the price does not have to be determined based on condition records setup within SAP but rather update the price sent on the IDOC itself.
    Thanks
    MR

    Hi,
    Let the inbound Idoc have the price field and the price of the material. And keep the price condition type open/manual entry allowed. Once this is done the system will not do it from the condition record and will populate the data that is there in the Idoc.
    Hope this helps.
    Kind Regards
    Chakradhar

Maybe you are looking for

  • Can I install Adobe Creative Suite 6 Master Collection in my PC?

    Hi, I'm Kendo from Bangkok,Thailand. I'm using Windows 7 Ultimated 64 bit -CPU Core 2 Duo 2.93 GHz -RAM 4 GB -Graphic Card Geforce 9500 GT I'm afraid that Adobe Premiere Pro and Adobe After Effect won't smooth as expected because Adobe recommends 8 G

  • Create a DVD with no top menu page

    How would I go about making a DVD that would just start in black with no menu page? Either in iDVD or Studio Pro. Can it "auto start" or am I stuck with having to enable a start button? Thanks! Denny

  • Adobe Reader version 9 or higher for HP Photmart 7520 all in one

    How can I tell if I have an Adobe Reader (version 9 or higher) on my 7520 HP all in one printer?

  • Using pages to publish on Kindle

    I would like to create an ebook on pages and publish it for Kindle on Amazon.  Is is possible to preview the book on my kindle BEFORE I publish?  The amazon site makes it sound like the only way to do this (for Mac users) is to know HTML and use Kind

  • Swap File Space

    Does anyone know how the "default" swap file space number is computed ? Where does this number come from ?