Update Contract based PO Price

Hello,
I want to create a PO based on a contract.
I want also to update the price and put one of my own.
I've tried two issues:
- Use BAPI_PO_CREATE1 and specify the contract number and poste number :
    Even if i put a price SAP will keep the contract price.
- Use BAPI_PO_CREATE1 without specifiyng a contract and put my own price then
   Use BAPI_PO_Change to add the contract : Result SAP brings the price from the contract and ignore my price.
Does any one have a clue?
Thanks.

The Price Date category field was visible in contract  but not in our PO. Due to this, MEMASSPO was not updating the field value and we were changing the value to '2' manually by debugger. Hence some table updates were missing and causing the whole issue.
The solution is to change the screen layout for PO. If Price date cat field is hidden, then you need to make it optional entry in SPRO- Purchase Order - Define screen layout at document level--> Quantity and Price for ME21N , ME22, ME22N and for field selection key assigned to PO document type.
This field will be available in ME22N- Condition Control TAB.
Regards
Ankita

Similar Messages

  • Contracts - Service master price update

    Hi All,
    There was requirement in which the contract service master prices were required to be changed.
    To update new condition price in the condition records, we created a program to update these values using ML52.
    Eg. Contract A - item 10- Service S - old price - 100 - Valid till yesterday
                                             new price - 200 valid from today
    We have a few problems here
    1) Contract A always show old price even though valid price for this service today is 200 for the service S.
    Is there any standard program which will correct this contract and get the new price seen in the contract based on the valid date. I.e. the service prices in the contract should always reflect the valid condition record price from ML52.
    2) While updating ML52 there were two kinds of records. One with Plant specific and others without plant. Now when I go to contract, select services and select a service line item and click on the new condition record which is valid today and come back. If the condition record is plant specific, the new price 200 is immidiately seen on the contract service master screen. But if the ML52 value was not plant specific, it always shows me 100. What could be the reason for this.
    I have tried to give as much details as I can. Let me know incase any more information is required.
    Regards,
    Shahu

    Hi,
    Certain condition types can be changed via mass maintenance (transaction MEDL) in a contract, the conditions in all                   
    selected documents are correctly changed. However, even if you display                     
    one of those contracts, the values on item level are NOT updated at all!                   
    This only happens when a MANUAL start of the price determination                           
    occurs, it is NOT performed automatically!
    Nevertheless, the user can be SURE that correct príces are found by the system whenever such a  contract service is selected, no matter what is written in that contract                                        
    itself!                                                                               
    If prices are entered into a contract with different validity periods,             
    the system does not update them automatically, but one has to use the pulldown menu option                
    'prices -> find new' after having selected one item line and switched              
    to the service fullscreen. If you want to update the service      
    contract with latest price then you have to use the following:           
    Me32K->item services->service conditions here goto menu                  
    service specipications -> prices-> find New. Then system updates the      
    price with the current validy date price. In already existing contracts you must carry out a new pricing manually.                               
    Please test additionally the batch input process for price updation in contracts - transaction SHDB.
    I can not answer your question regarding the update of non plant specific data. Sorry.
    Regards,
    Edit

  • Why won't changes to contract price update the info rec price.

    Hi all,
    Does anyone know why changes to Contract (Outline Agreement) Price does not update the Info Record Price? Even with the "InfoUpdate" indcator set to "B".
    How to achieve this this automatic price update from Contract to Info Rec?
    Thanks in advance

    hi,
    As per the std SAP system...Whenever you have inforecord existing for the contract, then only the COntract release order is set as last document....
    While in you don't have the inforrecord for the contrac. then the time-dependent conditions are only updated....
    There is no way to change these settings...
    Hope it helps..
    Regards
    Priyanka.P

  • How can i update material master standard price.

    Hi Everyone,
    i would like to know if there is any way i can update my MM Std Price everytime i make any purchase.
    I.e i have std price 40, but next time when i make PO and update Inforec for 70 so i want this 70 also take effect in my material master. Is any expert can tell me about this functionality or any alternate. would be great help
    Ali

    If you are using std prices then these do not vary unless someone is manually changing them (or using a program to do this). That is the main point of std prices, they do not change unless you change them yourself.
    MAP and standard prices are used in material master and it has nothing to do with price with which you will sell your customer.
    MAP and Standard prices will just hit you inventory account and COGS account once you will do PGI.
    I am assuming that you are talking about the price at which you sell to your customer.The easy way of tracking changing prices is that you can make them manual conditions and based on your information you can put them manually in your sales order.
    It is not recommended to change standard price constantly. At this period end, modify the standard price in material Master & continue.
    This can be a regulr activity at period ends, say every month end or quater end or half yearly or yearly. In general it is prctices on yearly basis, but as per the requirement you can consider the period.
    Just go throught the links given below
    http://www.sap-img.com/materials/purchasing-tips.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MMIVMVAL/MMIVMVAL.pdf
    Primarily, You cannot maintain both Standard Price & MAP. You can maintain only one of it.
    It is recommended that standard price should not be changed at randomly, but as a policy, if required, it should be changed at period end, say monthly, quaterly, Half-yearly or yearly.
    You can also check out transaction CK40N
    reward points if it helps
    regards
    Biju

  • Renewed my Contract Based on Misinformation From Verizon Reps-Any Recourse to Get Out of Contract?

    A few months ago (February or so) I renewed my contract with Verizon and got an iPhone 4S as my previous HTC phone up and died. I knew I was going to be moving to Canada for awhile and so I made sure to ask a lot of questions about their Nationwide+Canada plan and what phones would work in Canada before making any plan or phone purchases. From that point on I was fed different information from every rep I talked to in store, online via chat, and via e-mail. The online rep told me that CDMA phones wouldn't work in Canada so I had to get the iPhone 4S rather than the Galaxy Nexus, which was the phone I was originally interested in. Found out later that's not true—CDMA phones do work in Canada (at least in the part I'll be in; there are some more rural areas where they don't work). That rep also told me that my grandfathered-in unlimited data plan would work in Canada and all I had to do was pay an extra $20/month to get voice and texting coverage in Canada. So, I got the iPhone in the store and renewed my contract based on the information the rep gave me.
    Came to find out later that you need a separate global data plan to get 3G coverage in Canada, which is $25 for a nearly useless 100MB. This isn't made clear at all on the Verizon website for the Nationwide+Canada plan, and I complained about this plus the misinformation I received from the in-store rep, and all Verizon had to say was, "Sorry, but thanks for being a customer." When the time came to actually go to Canada, I switched to the Nationwide+Canada plan to get voice coverage for the time I was there, which I did in a different Verizon store. The rep in that store told me when I signed up that if I used more than a certain percentage of my minutes in Canada vs. the U.S., Verizon would cancel my plan, which is also not mentioned on the website anywhere that I found. She also said that I couldn't suspend my account for the entire time I'd be in Canada because it's longer than their suspension limits, although she admitted she didn't know how long the limit was off the top of her head and I couldn't find an exact number on the Verizon website.
    So, I was fed a bunch of conflicting information from multiple Verizon reps that led me to renewing my contract. Do I have any recourse to get out of it? I'm really disappointed because I've never had trouble with Verizon until now.

    Apparently I'm not the only person who's been fed conflicting information from various Verizon reps when it comes to coverage in Canada: https://community.verizonwireless.com/message/237079#237079
    When I initially e-mailed Verizon about this issue, I told them that if their own employees don't understand what the company offers, then how are the customers supposed to understand?
    It just doesn't seem right to have to pay the ETF when I only renewed my contract because I was given incorrect information by more than one rep. If I'd been given the correct information, I wouldn't have gotten a new phone that required a new 2-year contract.

  • Update Contract conditions in Real State

    Hi,
    I am working with real state moduel, while creating the contract offer user when selecting the conditions wants to select one condition on the basis of which i through some abap code should populate all the conditions.
    The thing is can anyone tell me if there is a BADI or enhancement for this where i can put my code.
    Thanks

    Hi
    I was able to solve the problem by using BADI_RECD_CONDITION,
    I implemented the funtion named as  CHECK_ALL.
    In this function used the following code
    io_object - > method import parameter
    *To get Contract details
      CALL FUNCTION 'API_RE_OF_GET_DETAIL'
        EXPORTING
          io_object    = io_object "Object containing the  
                                   "reference for cont. offer
        IMPORTING
          et_condition = lt_condition
        EXCEPTIONS
          error        = 1
          OTHERS       = 2.
    *Manipulated the conditions and then updated them using
    *   update contracts
        CALL FUNCTION 'API_RE_OF_CHANGE'
          EXPORTING
            io_object    = io_object
            it_condition = lt_condition_change
          EXCEPTIONS
            error        = 1
            OTHERS       = 2.
    These functions provide us with the updated data which the user has entered and not saved, that is the runtime data.
    Regards,
    Khusro Habib

  • ADF BC: Creating updatable VO based upon DB View with "instead of" trigger

    Hello all,
    I have got an interesting issue. I have an Oracle DB view that is used to hide some complexity in the underlying DB design (it does some unions). This view is updatable because we have created an "instead of" update trigger to update the correct table when a row is updated. This is working fine in SQL.
    Next, we have created an ADF Entity object based upon the view, specifying an appropriate PK for the DB View. Then, we have created an updatable VO based upon the EO. All well and good so far. The issue we have is in trying to commit changes to the DB - because the ADF BC framework is trying to lock the row to update (using SELECT ... FOR UPDATE), it's not working because of ORA-02014 - cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc.
    This leads me to thinking about overridding doSelect() on the EO as hinted here http://radio.weblogs.com/0118231/stories/2005/07/28/differenceBetweenViewObjectSelectAndEntityDoselectMethod.html
    As a temporary test, we have over-ridden the EO's doSelect to call super.doSelect(false) and it does work, although we will have lost update issues as detailed in Steve's article.
    My questions:
    1). Is overriding doSelect() the correct thing here? Perhaps there is a better way of handling this problem? I do have a base EO class from which all of the EO's extend, so adding this behavior should be straightforward.
    2). Does anyone have example doSelect implementation? I am thinking of overriding doSelect for my EO and calling super.doSelect (lock=false), but then I need to deal with some possible exceptions, no?
    Kind regards,
    John

    Hi John,
    I have exactly the same issue as you experienced back in January. I have a complex data modelling requirement which requires the need to pivot rows into columns using ROW_NUMBER() and PARTITION clauses. To hide the complexity from the middle tier, I have created a database view and appropriate INSTEAD OF triggers and mapped my EO to the view. I have overriden the lock() method on the EO implementation class (to avoid ORA-02014) and would like to try the same solution you used with the pl/sql call to lock the record.
    My question is, how did you manage the release of the lock if the transaction was not rolled back or committed by your application i.e. if the user closed the browser for instance.
    In my naivity, I would like to think that the BC4J framework would release any locks for the database session when it found the servlet session to be terminated however my concern is that the lock would persist and cause complications.
    Any assistance greatly appreciated (if you would be willing to supply your lock() method and pl/sql procedure logic I would be even more grateful!).
    Many thanks,
    Dave
    London

  • Part Time, Contract Based, and Full Time Positions available for LabVIEW Developers

    Mindready (www.mindready.com) is looking for flexible, hard working individuals to fill part time, contract based, and full-time/permanent jobs in LabVIEW development positions. We have immediate needs for contract labor in Dallas, TX; NY; Huntsville, AL and Austin, TX, as well as other locations.  US Citizen and Security Clearance required on some projects.   Mindready is a certified National Instruments Alliance Partner with facilities in Montreal, Austin, TX and (Radical Systems, Inc. – a mindready company) Huntsville, AL (www.radicalsystems.com).
    The duties of the positions include:
    • On and off-site LabVIEW development work.  May involve TestStand, instrumentation such as PXI and stand alone instruments, DAQ, Motion, Vision, etc.)
    • Willingness to travel for periods as short as 2-3 days, to as long as 6 months.  (Ideal candidate would be local to any long assignment)
    • Integrate into customer’s development team to design and modify new/existing LabVIEW applications. 
    The ideal candidate would possess the following skills & qualifications:
    • Intermediate-to-advanced knowledge of LabVIEW (a pre-employment test is required)
    • Broad technical knowledge is a plus, we serve a wide range of application areas
    • Excellent writing, communication (English), time-management, and interpersonal skills.
    • Ability to travel for on-site work at customer facilities for jobs as short as 1 week, possibly as long as 6 months.
    • Discipline and organization with respect to software development and maintenance.
    • Engineering, Technical or Computer Science degree or appropriate experience
    • Certification is not required but would be beneficial
    Pay is commensurate with skills and qualifications of the applicant.  Compensation will include a competitive hourly rate.

    Hi
    I completed my M.S in electronics engineering and working with GE in INDIA since June 2005. I have total 20 months of experience with LabVIEW and have the follwoing skills.
    Intermediate-to-advanced knowledge of LabVIEW.
    Ability to analyze empirical data against theoretical predictions to enhance and improve mathematical model of system.
    Familiarity with data acquisition concepts and hardware.
    Ability to work both alone and with colleagues to solve problems and to weigh the merits of differing approaches
    you can reach me at [email protected]
    Thanks & Regards
    Anil Punnam

  • Select Contracts based on Ship-to Party

    Hi all,
    I have created two contracts of type ZCQ (VA41) with the following soldto and shipto party values.
    Contract 1: soldto1, shipto1
    Contract 2: soldto1, shipto2
    <b>Now I need to retrieve contracts, based on a search criteria consisting of Sold-to party and Ship-to party. i.e If I enter soldto1 and shipto1 I need to get back Contract 1 and if I enter soldto1 and shipto2 i need to get back contract 2.</b>
    Which is the field that I need to use to search for the Ship to value?
    Right now I am selecting based on VBAK-KUNNR for Sold to party. But am not able to figure out where the Ship to party value will be stored during the contract creation. So now my query returns both the contracts, no matter what the value of Ship to search field is
    Any pointers regarding this ( table, field, logic) would be really helpful.
    Thanks and Regards,
    Reena

    "See u are maintaining ship to party for the Contracts . so what table it is storing in "
    This is exactly what Im trying to figure out.
    I am creating contracts using VA41 for a particular value of soldto party and shipto party.
    After I craete the contracts, I am trying to retrieve these contracts based on the soldto and ship to party values that I had entered. Now, I dont know where the ship-to party is getting stored. 
    I am not making any mapping for the ship to party. I am currently trying with just VBAK and VBAP, since I dont know if I should use any other table.
    Data that I have in hand: Sold to Party, Ship to Party and Auart (ZCQ).
    Example to make it more clear
    Contract1: Soldto Party - 100042, Shipto Party - 100042
    Contract2: Soldto Party- 100042, Shipto Party - 100055
    Auart - ZCQ for both
    Now in my input parameters, when I eneter 100042 for soldto party and 100042 for ship tp party, i get back contract1 and contract2. But I just want contract 1.
    Similarly for the second scenario.
    Hope I have not confused you. Any help will be greatly appreciated.
    Thanks and Regards,
    Reena

  • Contracts based on Material Groups....

    Can we create Contracts based on material Group?
    Like We want to create a contract for Material Group Casting. We want to negotiate terms for Material Group & then procure the part.
    How do we do this?
    Thanks Anupam

    Create a Quantiy Contract with Item Category 'M'- Material Unknown.
    Then create PO refering to this contract.
    System asks for material number or AAC. It also checks the material group against the one in the contract.
    By defaut a warning message is issued if material groups do not match (message MEPO074).
    This can be set to 'E' in customising but SAP gives a warning when you trying to set this message as error.
    Customising path: SPRO>MM>Purchasing>Environment>Define attributes of system messages.
    It is also possible to code this check in PO user exit and issue a custom message.

  • Mass updating/uploading of a price list

    Hi,
    Need to know if there is a way to mass update a price list. For example, I have 1000 items on price list 3. I need to update the prices of all items in the list and there is no definete factor. Since there is no definete factor I need to update all manually and since there are many items, need to know if there is a way to upload the prices for a specific price list.
    also need to know if there is any way to update the "Last Purchase price" list
    thanks for any help !

    Hi,
    thanks for the details. I still have an issue on this. I have used the templates and tried to upload the price list and face the following problem.
    First, I am not clear as to what the field "LineNum" in the "Item_Prices" template means. I assumned that this was the price list number, but even though the upload says that all items were successfully updated, I cannot find any price list that has the updated prices... all lists still have the same old price... : (
    Now I am confused... Need some help on the below:
    1. LineNum : Is this the price list number ?
    2. I have manually maintained some of hte prices, can they be updated ?
    3. What about the prices that are taken as a factor of a base list ( like 1.3x Last purchase price...)
    Need some help urgently on this please...
    Thanks !
    Nirusha

  • Creating a Dynamic Update Statement based on Select

    hi,
    i'm trying to create a dynamic update statement based on select statement
    my requirment is to query a joint tables and get the results then based on the results i need to copy all the data and create an update statement for each row
    for ex
    the update statement should look like this
    update iadvyy set SO_SWEEP_CNT = '1' where inst_no = '003' and memb_cust_no = 'aaaaaaaaaaaaaaaa';
    and the select statement like the following
    select substr(key_1,11,9) account_no,sord_mast SO_SWEEP_CNT from
    select acct_no,count(*) sord_mast from
    (select from_acct_no acct_no,update_mast
    from sord where FROM_SYS in ('DEP','INV') and TERM_DATE > 40460
    union all
    select to_acct_no acct_no,update_mast
    from sord where TO_SYS in ('DEP','INV') and TERM_DATE > 40460)
    group by Acct_no)
    right outer join
    invm
    on
    key_1 = '003'||acct_no
    where sord_mast > 0;
    so taking the above two columns from the above select statement and substitue the values as separate update statement.
    is that doable , please share your knowledge with me if poosible
    thanks in advanced

    is that doable , please share your knowledge with me if poosibleyes
    The standard advice when (ab)using EXECUTE IMMEDIATE is to compose the SQL statement in a single VARCHAR2 variable
    Then print the SQL before passing it to EXECUTE IMMEDIATE.
    COPY the statement & PASTE into sqlplus to validate its correctness.

  • VA42 user exit to update contract start and end dates at Item level

    Hi  Experts,
                      I need to update contract start and end dates at Item level in 'VA42' transaction, for this i am using user-exit 'USEREXIT_FIELD_MODIFICATION' in the include 'MV45AFZZ'. i am able  to display the data into item level through my coding but the data is not getting updated into 'VEDA'
    Note: No need to change contract start date and end date in header level. Only at item level i want to change dates.
    Thanks,
    Sateesh.

    Thanks For your reply Vikram,
          i tried with 'USEREXIT_MOVE_FIELD_TO_VBAP' user-exit earlier it self its not working. Can you suggest me any another way how we can achieve this functionality. modification of Contract start date and end date in only item level. 
    'USEREXIT_MOVE_FIELD_TO_VBAP':
    FORM USEREXIT_MOVE_FIELD_TO_VBAP.
    """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(3) Form USEREXIT_MOVE_FIELD_TO_VBAP, Start                                                                                                           A
    *$*$-Start: (3)---------------------------------------------------------------------------------$*$*
    ENHANCEMENT 1  ZSD_CONT_DATE.    "active version
    DATA : lv_var TYPE CHAR10.
      lv_var = '0040000219'.
      if sy-tcode = 'VA42'.
    IF VBAK-VBELN EQ lv_var.
    VEDA-VBEGDAT = '20140502'.
      XVEDA-UPDKZ = 'X'.
    VEDA-VENDDAT = '20140602'.
      XVEDA-UPDKZ = 'X'.
    ENDIF.
    ENDIF.
    ENDENHANCEMENT.

  • Update Contract Start and End dates via BAPI_SALESORDER_CREATEFROMDAT2

    Hi Experts.
    We are successfully using BAPI_SALESORDER_CREATEFROMDAT2 to create sales order.
    Only problem is that the contract start and end date do not get updated.
    We are passing that in ORDER_HEADER_in-CT_VALID_F and ORDER_HEADER_IN-CT_VALID_T.
    After debugging, I found that there is one more table SALES_CONTRACT_IN in SD_SALESDOCUMENT_CREATE. Updating the values in that table works.
    But the problem is this table is not available in BAPI_SALESORDER_CREATEFROMDAT2. How to update Contract start and end dates from this FM ?
    I could not find anything in the search of this forums. So I guess this is not an issue and I am doing something wrong. Can someone suggest to me please?
    Thanks in adv.
    Aishi

    Are you creating a contract or a sales order?

  • Need BAPI/FM to update Contract conditions using FNVM

    Hi,
         I need to insert/update contract conditions in tcode FNVM.Kindly suggest me a BAPI/FM to achieve this functionality as
    BDC for insetion/updation of contract conditions in FNVM is not possible since i am not able to capture the recording for
    contract selection dialog box.Thanks in advance .
    Thanks&Regards,
    S.Sivakumar

    Hi,
    look for a methotd in object type BUS2049 (SWO1).
    There is Loan.ContractCreate (BAPI_LOAN_CONTRACT_CREATE).
    Also check corresponding package FVVD_BAPI.
    Regards
    Michael

Maybe you are looking for