BAPI_PO_CREATE1 - Overriding standard pricing routine with fixed price

Hi,
I have to post a purchase order with BAPI_PO_CREATE1. It's important that the price in BAPIMEPOITEM-NET_PRICE is relevant for posting this purchase order and nothing else. I don't want to search for the price in any pricing routines of SAP, I want to take the price that I input explicitly.
How can I tell BAPI_PO_CREATE1 that I want to use the fixed price in BAPIMEPOITEM-NET_PRICE?
Thank you very much!
Ralf

Hi,
    if u have code for bapi_po_create1     ( purchase order creation bapi ) can u send me when i write the prog. it gave the error
       No instance of object type PurchaseOrder has been created. External reference:
Thanks,
mukesh

Similar Messages

  • Difference between Standard Pricing and Moving Average Price

    Hi,
    Would like to seek some advises on the difference between standard price and Moving average price.
    also, how does it affect the account postings differently?
    Thanks

    Standard Price
    Materials whose price control indicator is set to S are valuated in Financial Accounting (FI) at standard price.
    This is recommended for semifinished products and finished products.
    The moving average price is shown as a statistical value in the material master record.
    The standard price is normally calculated using a standard cost estimate for the material. The standard price can also be calculated in a mixed cost estimate.
    Moving Average Price
    When materials whose price control indicator is set to V are received from in-house manufacturing processes, they are initially valuated with a value you defined (such as the standard price). When you settle, the material stock account is debited with the variances. This results in a new moving average price.
    Valuating semifinished products and finished products with the moving average price is not recommended.
    Regards,
    Indranil

  • Override standard user login with the admin login

    I remember that on Snow Leopard when a standard user log in and screen lock, an admin user could unlock that. How to do this in Lion? Cheers

    I was able to resolve this by following some instructions on the internet.    It's been a while, and I sadly can't recall which was the final solution for me but I'd start with:
    http://arstechnica.com/civis/viewtopic.php?f=19&t=1149073
    which is to:
    /etc/pam.d
    aqua:pam.d root# diff screensaver screensaver.apple
    6c6
    < account    sufficient       pam_group.so no_warn group=admin,wheel fail_safe
    > account    required       pam_group.so no_warn group=admin,wheel fail_safe
    And I believe this changed the unlock dialog box to be the old style (yep just a comment, what gives? )
    cd /etc
    sudo cp authorization authorization.bak
    sudo nano authorization
    Press Control+W and search for "unlock the screensaver"
    Change the line:
    <string>The owner or any administrator can unlock the screensaver.</string>
    to:
    <string>(Use SecurityAgent.) The owner or any administrator can unlock the screensaver.</string>
    Press Control+X to save /etc/authorization and exit nano.

  • I have an issue with pricing condition ZPRO (basic price )

    Hello gurus
    I have an issue with pricing condition ZPRO (basic price ).
    users created a sales order, and the basic price ZPRO which is mannual is added twice ,now i want to put a check so that condition tpye zpro is not accepted twice by the system. please let me know how can i restrict  system from accepting condition type zpro  twice during sales order.
    regds
    Edited by: sapuser09 on Jul 26, 2011 8:44 AM

    Hi,
    Solution for this is very simple. Don't make any changes to the sales order user exit. Use condition exclusion  for the condition type.
    Do customization in the following path of IMG
    Sales and distribution---- > Basic Functions--- > Pricing--
    > Condition exclusion -- > Condition exclusion for groups of conditions
    First  In Define condition exclusion groups you have to define condition exclusion group (ZXXX)
    Then  in Assign condition types to the exclusion groups you have to assign condition type to the exclusion group (ZXXX   ZPRO)
    Then in Maintain Condition exclusion for pricing procedures select the pricing procedure where you have the problem and click Exclusion box present in Dialog structure box
    You will be faced with Change view exclusion overview screen Click new entries
    You will be faced with New entries overview of added entries screen.
    Take serial no as 10 Condition exclusion procedure  as B (Best condition with in condition type) In the exclusion group1 add the exclusion group ZXXX.
    Save it and create order.
    In the order pricing you will again observe that ZPRO appearing twice but only one will be active.
    Changing user exit for this issue is not at all required and it must be only the last resort Try replicating the issue in your sand box system. As I had mentioned it will be picked twice but only one will be active.
    Hope this helps.
    Edited by: mokirala tilak on Aug 10, 2011 10:19 AM

  • Pricing issue with Product hierarchy - Urgent

    Hello,
    I have an issue on pricing determination with product hierarchy.
    I created product hierarchy as following,
    level1 - A0001
    level2 - A0001B0001
    level3 - A0001B0001C0001
    Then, assigned A0001B0001C0001 to material D in material master.
    I created condition record with A0001B0001C0001(level 3),  the system found the condition sucessfully when I created a sales order with material D.
    However, I created condition record with A0001(level1) but the system didn't get the price when I created the sales order with material D.  Since A0001B0001C0001 belongs to A0001, the system is supposed to get the price from the condition record with A0001... 
    Could you please let me know how to fix it?

    Hi,
    Thanks a lot for your kind explanation.
    Here is the access sequence I defined.  I wonder if there is anyway I can define PRODH1, PRODH2, PRODH3 in access sequnce the same way with customer hierarchy so that the system can check higher level data.  If it's not allowed, I think I should define routine in requirement as you advised.  Thanks!
    *Accesses
    AcNo       Description
      1           Customer Hierarchy/Product Hiearchy
      2           Customer Hierarchy/Product Hiearchy
      3           Customer Hierarchy/Product Hiearchy
      4           Customer Hierarchy/Product Hiearchy
    Fields
      AcNo   Condition    Doc. field      field lable
         1      HIENR      HIEBO01     CustomerHierarchy 01
                 PRODH     PRODH       Product hierarchy
         2.     HIENR      HIEBO02     CustomerHierarchy 02
                 PRODH     PRODH       Product hierarchy
         3      HIENR      HIEBO03     CustomerHierarchy 03
                 PRODH     PRODH       Product hierarchy
         4       HIENR      HIEBO04     CustomerHierarchy 04
                 PRODH     PRODH       Product hierarchy
    I wonder if I can assign product hierachy fields, PRODH1, PRODH2, PRODH3 to access sequence like customer hierarchy so that the system can check higher level data to get the price...

  • IPC Java userexit-pricing routines

    Hi experts,
    I am new to IPC  java pricing routines and i have a requirement like this,
    1. The user enters manually in Quote the new price. (say cond type ZNEW)
    2. The cond record for ZTKE is available with the price as well as Max price and Min Price.
    3. The Routine formula should validate with ZTKEcondition record with maximum and minimum price available.
    4. If the new price is within the max/min range then pass it. System will do nothing and accept the manual price entered.
    5. If the price is not within the range then issue error message u2018Price not within the rangeu2019. The system does not accept the manual entry of the new price.
    Please let me know how to approach for the solution of the above.
    I know how to raise the error messages ,my main concern is to check the new price of condition type with the other condition type min n max values.
    Please provide me some pointers on it.
    Thanks.

    Hi Micheal,
    Thanks for the reply. I am not doing anything with ZTKE. I need to check with ZNEW.when user enters the new price in ZNEW condition type ,that price should be checked with the price in ZTKE with its min n max values. I.e if the entered new price is in the range between max n min values ,system will take that entered new value ,if its not it will through a error.
    So, for this i need to get the condition record value of min n max and compare with the entered new price in ZNEW and check for the above. I hope you got my point.
    Please let me knoe which way i can proced to do so....
    Thanks.

  • IPC  java user exit- pricing routines

    Hi experts,
    I am new to IPC  java pricing routines and i have a requirement like this,
    1. The user enters manually in Quote the new price. (say cond type ZNEW)
    2. The cond record for ZTKE is available with the price as well as Max price and Min Price.
    3. The Routine formula should validate with ZTKEcondition record with maximum and minimum price available.
    4. If the new price is within the max/min range then pass it. System will do nothing and accept the manual price entered.
    5. If the price is not within the range then issue error message u2018Price not within the rangeu2019. The system does not accept the manual entry of the new price.
    Please let me know how to approach for the solution of the above.
    I know how to raise the error messages ,my main concern is to check the new price of condition type with the other condition type min n max values.
    Please provide me some pointers on it.
    Thanks.

    Hi Faiq,
    I am facing the same problem as you.
    I tried to solve it via the following code sample:
    throw new PricingRuntimeException([MessageClass], [MessageNumber], [Attributes], [RootCauseException]);
    throw new PricingRuntimeException("ZTEST", 0, new String[] {"test2"}, null);
    But no error appeared.
    Another possibility can be the following method!?
    But I do not know how to use it:
    pricingItem.getUserExitDocument().setStatusMessage(new StatusEvent());
    Perhaps meanwhile you have found another solution.
    If yes it will be nice if you post it.
    Greets Ruben

  • Manual Excise duty with fixed amount in Sales order

    Dear Sir/Madam.,
    This is regarding manual excise duty with fixed amount in SD Module . I
    have created three conditon type ZEXP,ZECS,ZA1X for BED ,CESS and HSED for manual excise duty with fixed amount, other than the standard condition type JEXP,JECS,JA1X , because  my TRADING SALE scenario needs both condition type with fixed percentage and fixed amount conditions also.  After the pricing procedure updation for trading sale, I have tried to create the sale invoice with VF01 , it is ok till  the VF01 for manual excise duty but when ever I tried to excise posting with J1IIN. the manual excise duty show only zero, whiile we used the  standard Condition type JEXP, JECS, AND JA1X with fixed percentage  8% -2% -1%  our over all steps are ok till J1IIN for excise invoice, mean BED ,CESS and HSED shown correctly.
    I have done some experiment with the TAXINN tax procedure in (Logistics general > tax on good movments> india> basic settting>determination of excise duty> Maintain excise default), I have replaced the condition types  JEXP, JECS and JA1X with the ZEXP, ZECS and  ZA1X in the corresponding filed. then after my manual excise duty with fixed amount data  was reflecting
    in the J1IIN and it start to work properly with the excise duty but my fixed percentage condition type stop to working mean, it was now showing the duty at the time of  excise duty posting J1IIN .
    I want to use both the condition types in the same TRADING SALE scenario. May anybody help me to solve this issue.
    With Regard
    Vijay Kumar

    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

  • 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

  • Vendor master data - Single material with multiple price

    Hi Gurus,
    Per our set-up, we have 1 purchasing organization to handle the central procurement function for purchases to various countries/destination.  As such, whenever we seek for quotation from a single vendor, the vendor will provide their price for a single/same material, e.g. ABC, with various price by locations. for example:
    1. Material: ABC
    - Price: $83 (EXW)
    - Price: $85 (FOB, Tianjin)
    - Price: $100 (CFR Port Klang)
    - Price: $120 (CFR Mumbai)
    - Price: $160 (CFR Jabel Ali)
    Is there a way I can use any of the vendor master records (e.g. outline agreement / info records) to capture a single material having multiple price?  At the same time, this infomation is available during our PO creation (e.g. via ME57).
    Thanks in advance.

    Dear
    For Condition Type PB00, SAP has some standard requirements in Pricing Schema.For one material different location one requirement is there.But as per your requirements you need to put logic through ABAP and it will definetely work.The exact requiremnt i'm not remembering.
    Just go through all the requiremnt and respect to PB00, put the requiremnt and put the logic.
    Revert me for the result.
    Thanks & Regards
    PKB

  • Batch at Packing Stage with mutiple prices

    SAP : ECC 6.0
    Module : Production and MM
    Issue : 1 Batch with multiple MRP.
    Domain : Chemicals
    Let me say I am very new to SAP and this forum. I could not find the exact place where to post my query so posting here. Help me where to post the query if this is wrong place.
    We are in the process of Moving from a Legacy system to SAP R/-3
    Our Process is as follows.
    1. Batch Transaction : Batch production how we are going to produce for a batch will be declared. Batch No as follows.
    YYMMPR0023  > YY -> Year MM- > MONTH PR> PRODUCT 0023 --> running batch.
    so batch transaction we will declare how much quantity we will produce. ex : 2000KL (kilo lt)
    2 Stage 2 : Packing while packing as per the market requirements we will pack this material in different packs not continue.
    ie. we do not pack whole material one time as per the market requirements the material will consume as per the size of the pack in demand.
    Due to this our Pricing strategy is also keep changing. ie packed material will be in 2 or 3 prices at different prices.
    when we dispatch the material will be identified with the price as sub field to categorize them.
    Current legacy system we are following this.
    Sales
    Packing --> Dispatch from plant ---> Dept. --> Dealer ---> Customer
    Return
    Customer --> Dealer --> Dept --> Plant
    this process is running. At all the places we are able to identify the stck batch level and even at MRP(price) level also.
    Implementor says in the R-3/ SAP standard this feature is not available. It is not possible with standard mechanism
    I would like to know what is the mechanism to be followed to address this.?
    Kindly inform us.

    Hi
    I'm not sure I understand you...please define your question...
    1)
    As I understand here question is:
    - batch number assignment
    - amount of the material that belongs to that batch
    In SAP you can use automatic batch number assignment, and you can also define the logic /rule based on which system has to generate it.
    When you make confirmation against a production order or goods receipt w/o PrdOrd refernce in REM (repetitive manufacturing), you define the produced quantity --> SAP will allocate the batch number
    2)
    As I understand here you have two questions:
    - how to solve pricing based on packaging
    - how to track the material (traceability)
    If you use different material numbers for different packaging (different packaging may mean diffenerent SKU), there's no problem. If you want to use the same material number for different packaging, it's very likely you have to go to developemnt - generally, batch is given / determined at the time of delivery creation. But in your case the batch should have information on the packaging and you should define it (batch) in the SO to solve pricing.
    When you sell the material (as I understand you sell it to the distributor), the material won't be in your system any more that's why you cannot track the goods from distributor to customer).
    Is Depot yours? Does the ownership of the goods change when you give them to the distributor? If not, you can map the process:
    Plant --> STO (stock transport order) --> Depot --> Consignment fill-up --> Distributor --> Consignment GI --> Customer
    Please give more explanation if my answer is not ok.
    Regards,
    Csaba

  • Whta is the standard pricing procedure in CIN INDIA

    i want to take a standard pricing procedure ,so what is the standard pricing procedure in CIN INDIA
    i want to include the condition like
    <b>base price
    maximum retailing price
    customer discount
    material discount
    excise duty
    VAT
    educational cess
    additional cess duty</b>
    i want to know what should be the customer pricing procedure
    and document pricing procedure

    hi,
    pl use TAXINN. Remaining as usual.
    TAXINJ & TAXINN are Tax Procedures in India. TAXINJ is old version & TAX INN is new version. Both has its own advantage & disadvantage.
    Upto 4.6C & partially 4.7 version of SAP, TAXINJ was used. TAXINJ is formula based calculation, in which we maintain the tax rate in Tax Code itself. The implication is that if say we are having product range such that say Excise rate differes for separate chapter ID, VAT, CST & permutation & combination of these, we require that many Tax Codes. For example:
    Tax Code: A1
    Taxes: 16% Excise Duty + 2% Education Cess + 12% VAT
    Tax Code: A2
    Taxes: 16% Excise Duty + 2% Education Cess + 8% VAT
    Tax Code: A3
    Taxes: 12% Excise Duty + 2% Education Cess + 12% VAT
    Tax Code: A3
    Taxes: 12% Excise Duty + 2% Education Cess + 8% VAT
    From 4.7 version onwards of SAP, TAXINN is being recommended & used. TAXINN is more user friendly & condition record based. In TAXINN, Tax Codes are statistical & of not much relevance, but are required to be maintained in condition record for taxes condition type. This makes Tax Codes simpler. The implication is that if say we are having product range such that say Excise rate differes for separate chapter ID, VAT, CST, we need not have the tax codes to that combination. For example:
    Tax Code: A1
    Can be used for any rate of excise duty, as tax code is only required to be maintained statistically in condition record.
    Tax Code: A2
    Can be used for any rate of VAT, as tax code is only required to be maintained statistically in condition record.
    IMG > Logistics - General > Tax On Goods Movement > India > Basic Settings > Determination of Excise Duty >
    Select Tax Calculation Procedure
    Use
    In this IMG activity, you specify which tax procedure you want to use for determining excise duties and sales taxes on input materials in India.
    • If you use condition-based excise determination, use a copy of the tax procedure TAXINN.
    • If you use formula-based excise determination, use a copy of the tax procedure TAXINJ.
    This tax procedure also supports condition-based excise determination, so that you can work with both concurrently.
    We strongly recommend that new customers use condition-based excise determination. Note that once you have started using a tax procedure, you cannot switch to another one, otherwise you will not be able to display old documents.
    Maintain Excise Defaults
    Use
    In this IMG activity, you define which tax procedure and pricing condition types are used in calculating excise taxes using formula-based excise determination.
    Activities
    If you use condition-based excise determination, fill out the CVD cond. field and leave all the others blank.
    If you use formula-based excise determination, fill out all of the fields as follows:
    • Enter the tax procedure and the pricing conditions that are relevant for excise tax processing.
    • Specify the purchasing and sales conditions types used for basic excise duty, additional excise duty, special excise duty, and cess.
    • Specify the conditions in the sales order that are used for excise rates.
    • Specify the countervailing duty condition type used for import purchase orders.
    Regards,
    Rajesh Banka
    Reward points if helpful.
    Rajesh Banka  
    Posts: 1,308
    Questions: 7
    Registered: 11/21/06
    Forum points: 1,800 
       Re: Taxinn tax procedure settings in SD pricing  
    Posted: May 6, 2007 11:34 AM    in response to: Sunil Kumar Garg       Reply      E-mail this post 
    Impact on Pricing Procedure & Condition Record:
    Another Important difference between TAXINJ & TAXINN is that in TAXINJ along with formula in Tax Code, you also have to maintain condition record & there are 2 condition types for Basic Excise duty & similarly other excise duties. in one condition you maintain the actual excise duty % & in other you main as 100%, which will be a copy of actual excise duty. But in TAXINN, instead of 2, you require to maintain only one condition type for each excise dity like JEXP for Basic Excise duty & similarly for other excise duties. You require to design pricing procedure accordingly.
    source forum thread :
    <a href="https://forums.sdn.sap.com/click.jspa?searchID=2814520&messageID=3397693">source thread</a>
    thanks.
    Sadhu Kishore

  • Create pricing condition with default value in processing process field

    hi all,
    when i maintain the pricing conditions with vk11 or vk31, i want the price maintained is set default as blocked (the processing status field-KBSTAT). can it be done? i am using 4.6c.

    You should try to use transaction variant
    <i>Transaction variants simplify transaction flow by:
    Inserting default values in fields
    Changing the ready for input status of fields
    Hiding various screen elements and menu functions, or even entire screens
    Adjusting table control settings
    When you create a transaction variant, you run through the transaction in a special mode. In this mode, you decide which elements you no longer need in your transaction and which values should be inserted where. If you choose to hide an entire screen, the system will no longer display that screen in the transaction and will proceed on to the next screen in the series. You can also adjust table control settings and determine the width of columns and the order in which you want them displayed. In tab strips, you can suppress tabs that you no longer need by setting them to invisible.
    You may also create as many variants for a transaction as you desire. One of these variants can be defined as a standard variant. This variant is then valid across all clients. You may also assign different variants to specific users.
    This is done using Variant Transactions. Variant transactions are then places in those users’ user menus instead of the standard transaction. </i>
    To use this : Tools -> Accelerated SAP -> Personalization (transaction SHD0)
    Regards

  • What is the extractor to get Fixed Price (fixed portion of cur. plnd price)

    Hi,
    I am looking for extractor which has Fixed price information. i.e., Field LPLPX (fixed portion of current planned price) from MBEW Table (Material Valuation).
    I know that
    Total standard price = Fixed price + Variable price. Fixed remains same with respect to production but variable cost changes with prodn.
    In cost center planning, various data cells are linked together using periodic formulas, such as:
    Fixed costs + variable costs = overall costs.
    I have looked at extractor 0CO_PC_ACT_05. This has many fields but it didnot have LPLPX field. I know that I can  enhance the extractor to get this field.
    But I would like to know Is there any other extractors or alternatives? Please reply. Thanks,

    Hi,
    some threads regarding MBEW Table with field LPLPX:
    Re: How to extract Std Price from MBEW?
    Re: Trouble using Generic Extraction from table MBEW
    [For enhancement take a look at this thread...|Re: Enhancements in Extractions] It also includes the links to weblogs and a detailed description...
    Check this BI Content:
    [Cost Estimate: Detailed Report, Fixed and Variable Costs|http://help.sap.com/saphelp_nw04/helpdata/en/8b/e6b83912c4420de10000000a11402f/frameset.htm] If this BI Content query match your requirements you can use it to determine which objects you need or activate this part of the content...
    Query is based on:
    http://help.sap.com/saphelp_nw04/helpdata/en/14/d7b83912c4420de10000000a11402f/frameset.htm
    If standard extractor/bi content does not match your requirement you can enhance a suitable extractor with fild LPLPX or build a generic extractor by using view of table MBEW...
    Regards
    Andreas

  • What is pricing routine?

    hi all
        what is pricing routine for currency conversion and why that concept is used.im new to it .please can anyone explain..i read thro many docs but it gave a vague explanation.
    regards
    asha

    Hi Asha,
      Routines are small ABAP code which is assigned in the pricing procedure, this carries out additional check before processing/updating the document.
    If the document currency and local currency are different, SAP has provided standard function module for currency conversion, "CONVERT_TO_LOCAL_CURRENCY". Based on your requirement you can use this FM to achieve at the correct price in local currency.
    Hope this helps.
    Regards
    Raj

Maybe you are looking for