Preventing manual price condition maintenance in Purchase Order

Hi Guys
'I am seeking to add code somewhere either in the Purchase Order program or in pricing which will only allow some users to manually overwrite the automatic price. I am not sure however where to put the code (1) in a PO BADI (2) In a pricing requirement or (3) A.N. other suggestions. I am also unsure as to whether I should grey out the price field as default and open it for manual entries for certain Vendor account groups OR to re-run pricing when users try to manually change the price.
Kind Regards
Brett

Hi,
    You may use the standard condition type JEXC (Manual Excise) in MM pricing procedure. Maintain JEXC as statistical condition and maintain subtotal as 5 against JEXC  in M/08.
Now, go to OBQ3 and maintain  calculation type as 355 against JMOP.
   Now system will copy the JEXC value from MM pricing to JMOP in tax procedure.
Note: 1. Tax code should be assigned to company code.
          2. JMOP condition type should be maintained correctly in "classify condition type" configuration.
Test the scenario and revert back.
Regards,
AKPT

Similar Messages

  • Price condition based on Purchase order

    Hi everybody,
    I work on non-stockable item. When I create a sales order, it's generate automaticaly a purchase order, which have a manual price.
    How can I have a statistical condition price in SD in connection with the price in the purchase order ?
    Thank

    Hi Parisis,
    For the statistical condition, please write an Alternate condition value routine, and make the routine to pick up the value of teh condition type in purchase order which was created in reference to the sales order (VBFA table will help you to find out the PO created with reference to the sales order) and update that value as the value of the condition type.
    Mention this reqmt to the tech consultant, and you can create the pricing routine in VOFM tcode.
    Reward points if it helps.

  • Manual price condition (%) in order creation (using ABAP)

    Dear community members,
    I could use some help on a problem I have encountered while creating a sales order (in the CRM system) using ABAP programming, the details are given hereunder:
    I have two manual price conditions used to set a possible discount, one using a straight value and one using a percentage:
    1. When the order is generated using the value (let us say 100€) it cointains the correct price condition.
    2. On the other hand, when the order is generated using percentages (i.e. 10%), it is created without explicit errors or warnings but with no price condition in it.
    For the latter case I have checked the IPC logs (from transaction SM53) finding this error message:
    Message: Condition cannot be processed manually
    --> com.sap.spe.pricing.transactiondata.exc.ManualChangeNotAllowedException: Condition YSCP cannot be processed manually
    at com.sap.spe.pricing.transactiondata.impl.PricingCondition.changeConditionRate(Ljava/math/BigDecimal;Ljava/lang/String;Ljava/math/BigDecimal;Ljava/lang/String;)V(PricingCondition.java:3124)
    at com.sap.spe.pricing.transactiondata.impl.HeaderCondition.changeConditionRate(Ljava/math/BigDecimal;Ljava/lang/String;Ljava/math/BigDecimal;Ljava/lang/String;)V(HeaderCondition.java:387)
    at com.sap.spe.pricing.transactiondata.impl.PricingDocument.addHeaderCondition(Ljava/lang/String;Ljava/math/BigDecimal;Ljava/lang/String;Ljava/math/BigDecimal;Ljava/lang/String;C)Lcom/sap/spe/pricing/transactiondata/IHeaderCondition;(PricingDocument.java :1472)
    at com.sap.spe.document.rfc.AddPricingConditions.handleDocRequest()V(AddPricingConditions.java:131)
    at com.sap.spe.document.rfc.DocHandlerAdapter.handleRequest()V(DocHandlerAdapter.java:72)
    at com.sap.spe.base.util.jco.HandlerAdapter.handleRequest(Lcom/sap/vmc/RFCContainer/Call;)V(HandlerAdapter.java:117)
    at com.sap.vmc.remserver.RFCDispatcher.handleRequest2(Lcom/sap/conn/jco/JCoFunction;)V(RFCDispatcher.java:995)
    at com.sap.vmc.remserver.RFCDispatcher.handleRequest(Lcom/sap/conn/jco/JCoFunction;)V(RFCDispatcher.java:746)
    at com.sap.conn.jco.rt.VMCServer.dispatchRequest(Lcom/sap/conn/jco/JCoFunction;)V(VMCServer.java:911)
    at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.dispatchRequest(Lcom/sap/conn/jco/rt/ServerWorker;Ljava/lang/String;)V(MiddlewareJavaRfc.java:3415)
    at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.listen(Lcom/sap/conn/jco/rt/ServerWorker;)V(MiddlewareJavaRfc.java:2468)
    at com.sap.conn.jco.rt.VMCServer.listen()V(VMCServer.java:766)
    at com.sap.conn.jco.rt.VMCServer.run()V(VMCServer.java:689)
    at com.sap.vmc.remserver.RfcServer.run()V(RfcServer.java:376)
    at java.lang.Thread.startup(Z)V(Thread.java:1954)
    I have already debugged FM CRM_ORDER_MAINTAIN but to no avail, maybe I just missed something and I can assure that the customizing is correct and aligned between the systems and both the conditions are set to be processed manually.
    At this point, since the condition is applied when the commit is yet to be done I wonder whether it is possible to apply a discount percentage on prices which are yet to be generated, it would be illogical to do so and then again while using a straight value (which does not require a calculation) the order is correctly generated.
    Furthermore when I add the conditions in an order (from both the GUI and the WUI) the table IT_PRIDOC is alway empty, even if CT_INPUT_FIELD is populated.
    I know that there are similar posts here in SCN but sadly I was not able to find a solution so any help would be greatly appreciated.
    Thanks in advance for any replies given,
    Alessandro.

    Dear Padma,
    apologies for my late reply. I also thought it should be possible to use a percentage but I was not sure.
    Sadly the debugging did not bring about any positive result.
    I also tried to make a second CRM_ORDER_MAINTAIN call after the system generated all the pricing conditions but that also did not work.
    There is one thing that caught my attention though:
    - YSCV (fixed amount): still no problem at all (passed to KBETR);
    - YSCP (percent): if I assign a value to KWERT or if I leave all the fields empty, the condition is created in the sales order but it is always set to 0%. However, if I try to assign it to KBETR, I always get the message: "Condition YSCP cannot be processed manually".
    I made some attempts with the customizing, for example adding the condition to the "easy entries" or playing with the options of "Create Condition Types" (always aligning the systems) without getting positive output.
    I am beginning to think that it could be an IPC-related problem (which is not my area of expertise... yet).
    Alessandro.

  • How to limit the number of price conditions in a sales order

    Dear experts,
    We've created discounts in our pricing procedure, and they are added manually. They have a maximum.
    But the problem is that the user can add several discount price conditions in the sales order!
    Is there any customizing to limit the number of occurrences to 1 in the pricing procedure?
    Thank you for your help
    Marjolaine

    HI,
    You can make use of feature to maintain maximum and minimum limits per condition type.
    SPRO > SAP Implementation Guide > Customer Relationship Management > Basic Functions > Pricing > Define Settings for Pricing > Create Minimum/Maximum Limits
    In this activity you can restrict manual processing of pricing conditions in transactions using minimum and maximum limits per condition type.
    Kindly reward with points in case helpful
    Sharif

  • Manual excise map with which purchase order

    Dear experts,
    Can you tell me which manual excise map with which purchase order ? give me table name and report  if you know !
    Thanks

    Dear Mr. Siva,
    Sorry for the late reply, actually I was out of touch from this issue for few days. I am sending you the detail about my configuration----
    I have assigned this condition type as following ... 
    TAXINN     ZA1X     A/R AT1 Quantity based
    TAXINN     ZECS     A/R Cess Quantity Based
    TAXINN     ZEXP     A/R BED Quantity based
    Condition type information
         Control data 1
    Cond. class       D  Taxes
    Calculat.type     Q  Commodity
    Cond.category  D  Tax
    Rounding rule         Commercia
    StrucCond.
         Change which can be made---
    Manual entries      C       Manual entry has priority
    Still it is not showing the duty at the time of (J1IIN)
    It may be I am missing some configuration or wrong configuration.
    give me some hints...
    thank you
    Vijay

  • Vistex IP Module - manual price conditions get replaced

    Hi all,
    We are experiencing strange behavior in Vistex Rebate Claim Requests. While processing claims, occasionally all the item level manual price conditions will get changed and replaced with the condition values from a completely different claim! We have been unable to isolate a set of common factors that causes this so we cannot discover the root cause.
    What we find is that after this happens, the Status Manual Price Indicator (field MPROK) changes from A to blank.
    We have submitted an OSS message to Vistex Support but they cannot find what the problem is.
    Does anyone have any ideas?
    Thanks & regards to all

    From my experience, when problems like this occur, there is always a pattern, but sometimes it's just difficult to see. Some issues took months to finally catch and explain, but everything has a reason.
    You said that conditions are getting replaced with the ones on a different claim. What is that claim? What does it have in common with the other claim? Are their numbers close and are they being processed in the same run?
    Also check in all the code that when reading line-level tables (e.g. XVBRP and such) the full key, including document number (VBELN) is being used to pull the data.
    Do you create documents in the background? There might be multiple threads/instances of the same program running at the same time and data that's stored in memoty could get mixed-up between them. True story - once I was debugging a sales order creation and in ABAP debugger under user ID (ERNAM) I saw not my name but another user doing testing at the same time. If you have a background run, it sometimes helps if you sort of make it slower, e.g. by running in batches or in a single process.
    What else is going on in the system at the same time that could influence the claim creation?
    If possible, try setting up some "traps" along the way - add some sort of a log or additional messages to see what exactly is going on at what time. The obvious thing to track would be when Manual Price Indicator is changing the value.

  • User Exit / BAdI to update the pricing conditions of the Purchase Order

    Hello SAPients,
    This is my requirement:
    "Copy the Pricing Conditions from the Shipment Cost Document (VI01 / VI02) to the automatically generated Purchase Order".
    I'm using the enhancement V54U0002 (Function Module EXIT_SAPLV54U_002) to EXPORT  the values of the Pricing Conditions to memory and I have used the enhancement MM06E005 ( FM EXIT_SAPMM06E_006, 007, 012, 013, 014, 016, and 017) to IMPORT the values from memory and store them in TKOMV. But, when the PO is generated the values don't stay, they are always changed with the standard PBXX pricing conditions.
    My question is: Does anyone know the User Exit / BAdI that I can use to change the Pricing Conditions of the Purchase Order?
    <<removed_by_moderator>>
    Thanks!
    Edited by: Vijay Babu Dudla on Jan 14, 2009 11:08 PM

    >
    kartik tarla wrote:
    > check this badi
    > ME_PROCESS_PO_CUST
    >
    > and the following user exit
    > Goto-> include RV61AFZA then search for
    > USEREXIT_PRICING_RULE see if its helpful to u.
    Hello Kartik / SAPients,
    I tried with ME_PROCESS_PO_CUST but didn't work. The system doesn't execute that code. Any other idea would be greatly appreciated.
    Thanks.

  • 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>

  • Condition Type for Purchase order

    Dear All,
    I have one query about condition type at item detail level in purchase order.
    Please let me know how to disable any condition type for purchase order.
    I have already tried it in, SPRO->Materials Management->Purchasing->Purchase Order->Define Screen Layout at Document Level.
    But not found it there.
    Regards,
    Mahesh Wagh

    Dear Ganti,
    >OMF4 - Materials Management >Purchasing > Purchase Order Processing >Define screen layout at document level
    1.  No such T Code OMF4 found (I ma using ECC 6.0)
    2.  NO Such Customizing Menu path sound in SPRO.
    Pls elaborate......
    Regards,
    Mahesh Wagh

  • How to integrate price list on a Purchase Order?

    Hi,
    Version : R12.1.3
    I wanted to know how to use price list on a purchase order. I have created one price list but I am not able to use that, how could I use this.
    How to link Price list to the particular supplier.
    Thanks in advance.
    AmolA

    Oracle purchasing now integrates with Advanced Pricing the same way Order Management does.
    You can set qualifiers / modifiers. You can set up volume discounts etc too.
    See http://www.ncoaug.org/NCOAUG%20Training%20Day%20Feb%202009/Sundeep%20Sharma%20-%20Integrating%20Advanced%20Pricing%20with%20Purchasing%20in%20Release12.pdf
    Sandeep Gandhi

  • ADDITIONS OF CONDITIONS IN RETURN PURCHASE ORDER

    CAN YOU PLEASE TELL HOW CAN I ADD CONDITIONS IN RETURN PURCHASE ORDER THROUGH ABAP

    I HAVE CREATED A RETURN PO THROGH BAPI_PO_CREATE BUT IT IS NOT TAKING ANY CONIDTIONS AND WHEN I AM TRYING TO INSERT CONDITIONS THROUGHT BAPI_PO_CHANGE IT IS NOT TAKING THOSE CONDITIONS

  • Conditions maintained in purchase order that can be copied to the proforma

    Hi every body,
    In STO process, freight or what ever the  conditions maintained in purchase order that can be copied to the proforma Invoice, is it possiable, if yes please let me know!
    Thanks in advance
    Regards

    Yes you can copy the conditions from STO into delivery. For this you need to have the same condtion types defined and also need to write routines in SD pricing.

  • Condition Type the purchase order

    Hi Guru:
    Can anyone tell me that which table/transaction to include all the condition type of purchase order? Thanks.

    hi
    The Table name you can used are
    KOMV: Pricing Communications-Condition Record
    KONV: Conditions (Transaction Data)
    From the above tables you can refer the fields below.
    KAWRT
    KBETR
    Regards,
    Manish

  • How can prevent duplication of condition types in sales order??

    How can prevent duplication of condition types in sales order.
    While we want Amount field Changeable by user.
    Please give me solution.

    Dear Rohit,
    Can you explain your scenario in detail with an example or any screen shot so that we will help you in easy way ...
    Regards,
    C.B Reddy

  • How to get Tax condition's of Purchase Order

    Dear Gurus
    How to get all the condition types  for purchase order listed in the screen where we navigate from
    Purchase Order->purchase order item->invoice->Taxes Push button
    And I' am not saying about header conditions which we get from KONP.
    I' am saying about tax conditions which will get only by entering taxcode in item Invoice tab of Purchase order item.
    Regards,
    Rajeswar

    Hi,
    Tax condtions shd be given by functional consultants.ABAPers cant decide the tax condtions.
    you can have these condtions in KONV table.
    In item level vbrp-posnr = konv-kposn.
                      ekpo-ebelp = konv-kposn
    at header level as said in the below thread
    Just see this and get back if any concerns
    Regards
    Edited by: Rasheed salman on Dec 2, 2008 6:20 AM
    Edited by: Rasheed salman on Dec 2, 2008 6:22 AM

Maybe you are looking for

  • Who do I talk to about my product idea for iPhones ?

    Can anyone suggest the process of working with apple on an accessory for the iPhone. I do not expect to make millions and millions off this idea but at the same time don't want apple to say... "That's a stupid idea" then go and release it themselves.

  • Printer Not Connected error with HP Wireless Printer

    Hi everyone, Just bought an iMac, first time ever using OSX and trying to add my new HP 2540 wireless printer. I've spent 4 hours on this so far and now looking for help! I've followed every instruction to the letter - the wireless connection with th

  • SQL Worksheet Gets Slower and S.l..o...w....e.....r with Use

    Does anyone else notice the more you use SQL Worksheet, the slower it gets? The first time I start it up, it'll run a compile on an object super-fast. After running a dozen or more compiles and test scripts, I notice it's getting slower. Eventually,

  • 10.7 Documents for Functional as well as Technical doc

    Hi Friends, Where can i down load the Documents of 10.7 .... Can any body send me the Link. Best Regards Abhishek

  • IDOC basic type

    Hi guys, Is there anyway to find out the right Basic type which suites our requirement? Sahil