How to update open PO price based on Price date category in contract?

I've created a contract/ outline agreement with Price date category as '2'- Delivery date. (Path is Item details> More Functions> Additional Data). This means that PO price should be determined based on its delivery date.
In contract, there are two date ranges for conditions. PO creation and delivery date falls under different ranges. Now, the open PO price is getting updated based on PO creation date but not on delivery date. We have tried using MASS transaction for this.
Can someone suggest any solution?

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

  • How to update multiple calling hours based on business partner

    Hi All,
    please help me in this issue : how to update multiple calling hours based on business partner in SAP CRM.
    Regards,
    Siva kumar.

    Check maintainance view V_TB49, add new scheduling type.

  • How to update ADF VO object to refresh the data in ADF Pivot table

    I need to know how to update the View object so that the date in pivot table is refreshed/updated/filtered.
    here are the steps I performed to create ADF pivot table application using VO at design time.
    1) created a collection in a Data Control (ViewObject in an ApplicationModule) that provides the values I wanted to use for row and column labels as well the cell values (Used the SQL query)
    2) Dragged this collection to the page in which wanted to create the pivot table
    3) In the pivot table data binding editor specified the characteristics of the rows (which attribute(s) should be displayed in header), the columns (likewise) and the cells.
    Now, I have a requirement to update/filter the data in pivot table on click of check box and my question is how to I update the View object so that the date in pivot table is refreshed/updated/filtered.
    I have got this solution from one of the contact in which a WHERE clause on an underlying VO is updated based upon input from a Slider control. In essence, the value of the control is sent to a backing bean, and then the backing bean uses this input to call the "filterVO" method on the corresponding AppModule:
    but, I'm getting "operationBinding" object as NULL in following code. Please let me know what's wrong.
    here is the code
    Our slider component will look like
    <af:selectBooleanCheckbox label="Unit" value="#{PivotTableBean.dataValue}"
    autoSubmit="true" />
    The setDataValue() method in the backing bean will get a handle to AM and will execute the "filterVO" method in that, which takes the NumberRange as the input parameter.
    public void setDataValue(boolean value) {
    DataValue = value;
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding = (OperationBinding)bindings.getOperationBinding("filterVO");
    Object result = operationBinding.execute();
    The filterVO method in the AMImpl.java will get the true or false and set the where Clause for the VO query to show values.
    public void filterVO(boolean value) {
    if (value != null) {
    ViewObjectImpl ibVO = getVO1();
    ibVO.setWhereClause("PRODUCT_TOTAL_REVENUE(+) where rownum < 10");
    ibVO.executeQuery();
    }

    Did you define a filterVO action in your pagedef.xml file?
    You might want to read on how to access service method from a JSF Web Application in the ADF Developer Guide for 10.1.3 chapter 8.5

  • How to update the price based upon PGI date

    Hi
            I have issue of updation of the Prices and freight based on PGI date in the billing we are using the two billing types for the excsies and tax invoice creation .And in the copy control pricing type is maintained Aas "C" for the billing types with single delivery but someHow MRP in the excise billing has been picked from the condition record thats validity is ended and in Tax invoice it picks up the correct prices
    Both pricing condition types has pricing type "B" from Billing date and in the freight we have maintained as "A" SRD
    But for the some cases specially for the excise related part that is based upon the MRP we are facing this issue
    Pricing date is some how coming from sales document
    Please find the problem details in the attachment

    Hi,
    if you see two condition tabs snap shots you can understand clearly because that two invoices has been created in two different dates and you have maintained the pricing date C-billing date ( KOMK-FKDAT).Due to this,the price of ZMRP is coming differently.After you creation of first invoice then you would have changed ZMRP amount.Now while you are creating second invoice ,system has taken new price of ZMRP in billing level.
    Note:While creating second invoice, PGI date might have come into billing level but someone would be changed billing date manually at header level of billing document.Please check that one also.
    Kindly let me know if you need further help on this.
    Thanks,
    Naren

  • How to update/open Classification view of Batch in production Order

    Hi All,
       I have maintained the Class (023) and characterstics for Finished Material. When I am creating the production order, I am assigning new batch number in Production Order Header (Goods Receipt Tab). 
    In the background system is creating the Batch but not updating/opening the Classification view.
    Every time I required to go T code MSC2N and required to open the classification view manually.
    How to open the classification view during production order creation?
    Thanks,
    Shailendra

    Hi,
    You can only assign the Batch number in the production order, that meanas the said batch will get blocked and will not get saved in the Data base. You can enter the Batch number in the Production order and a while doing the GR you can make the system prompt the Classification view in the for ground so that you can enter the Characteristic values..
    For the above to pop-up you need to enter the Value "3" in the Batch Classification field of the Production Scheduling profile created for the Plant in the Tcode : OPKP.
    Please read the below information for additional inputs :
    Option to classify batches
    Specifies that the system branches to batch classification upon a goods movement or when you create or change a batch (not in the material master).
    Use
    If a batch is classified during a certain transaction or event, you can then use the batch determination facility to search for batches by class characteristics at the time of goods issue.
    Procedure
    If you work with batch classification, set this indicator for all receipt-specific movement types so that all existing batches are classified.
    Hope this will help you.
    regards
    radhak mk

  • How to send a mail automatically based on a date from ORACLE database

    Hi,
    I want to send a mail automatically based on a date from ORACLE database.
    Please help me.
    thanks
    --Sara                                                                                                                                                                                                                                   

    programs are available on net to send mail directly from oracle ie procedure s in oracle sending mails

  • BADI for modifying PO price based on Shipment Date

    Hi all,
    When we create an invoice for a purchase order or scheduling agreement, the price that is considered is, by default, the price on the GR (goods received) date. Now, the business requires that the price on the shipment date has to be considered. Is there a BADI relevant to this case? Please help.

    Hi
    Try with enhancements LMEKO001 and LMEKO002. For instance, in LMEKO001, you can change the value of E_KOMK-PRSDT.
    I hope this helps you
    Regards
    Eduardo

  • How to get invoice price based on order date or delivery date?

    Hi,
    Our system is configured to create invoices with pricing based on date of delivery.
    But we have a number of customers who get pricing based on date of order.
    Right now, people are manually changing the price and then generating the invoice.
    Is it possible to:
    1) add a ZZ field in the customer master that indicates which pricing date to use?
    2) have SAP generate the invoice with the correct pricing date based on this selection?
    Thx.
    Andy Jacobs

    Hi Andrew,
    We do have the exact same problem.
    One solution would be to create a new order type. Within that new type you can specify what date should be proposed as pricing date by SAP.
    Unfourtantely, here we are not able to add a new type. Does anyone know how this can be solved in another way?
    Thanks,
    Tim

  • How do I open a web based PDF document on my iPad?

    I am unable to open web based PDF documents as I fear Apple does not trust PDF documents on the Web.

    Hi Rick,
    Did you try attaching screenshots to your reply to the email from this forum?  Because the Adobe forums do not accept any type of attachments for security reasons, your photo attachments did not get through.  Sorry about that.
    But I think I know what you saw when you tried to open one of the PDF Application Forms on the Alberta (Canadian) government web site.
    Did you see a message like this in Safari on your iPad?
    Please wait... If this message is not eventually replaced by the proper contents of the document, your PDF viewer may not be able to display this type of document. You can upgrade to the latest version of Adobe Reader for Windows®, Mac, or Linux® by visiting  http://www.adobe.com/go/reader_download.
    If so, the PDF form is a special type of form called a "dynamic XFA form".  The message is displayed when a dynamic content is not supported by a PDF viewer.
    As far as I know, there are no iOS apps that support dynamic XFA forms. The mobile version of Adobe Reader does not support dynamic XFA forms.  Neither does Safari or iBooks on iOS.  It's the limitation of mobile PDF viewer apps.
    To recap
    Dynamic or static XFA forms - Use the desktop version of Adobe Reader or Acrobat on a Mac or Windows computer.
    Most PDF documents and non-XFA forms - Use the mobile or desktop version of Adobe Reader.
    Please note that Apple iOS apps (such as Mail, Safari, and iBooks) do not display filled form data or annotations (sticky notes, highlight, etc.) at all.  If a PDF document/form is first opened in Mail, Safari, or iBooks, you need to use the iOS "Open In" feature to open it in Adobe Reader for iOS.
    How to open PDF documents in Adobe Reader for iOS (iPad on iOS 7 or 8 version)
    (This is the same FAQ document that I mentioned in my reply #2 above.)
    In this particular case, using the "Open In" feature to transfer the PDF Application Form from Safari to Adobe Reader for iOS does not help.  Because Adobe Reader for iOS cannot display the dynamically generated content of the XFA form from the Alberta government web site.
    But you should be able to open other "regular" PDF documents (just like the one that I provided as a sample link) in Adobe Reader for iOS.
    Hope this helps.  Please let us know if you have additional questions.

  • How to open a cursor based on XML data?

    Hello,
    I am using Oracle 11g database.
    I am required to write a stored procedure accepting an input of XML CLOB.
    Upon receiving the CLOB, I'm required to open a cursor for XML tags and then process each 'XML record'.
    I am not sure how to achieve this.
    Referred to the following link: http://docs.oracle.com/cd/B28359_01/appdev.111/b28369/xdb03usg.htm#CEGDJEEI
    But could not meet the requirement.
    Appreciate your suggestions.
    Amar

    something
    create or replace procedure prc (inxml clob, xml_cursor out  sys_refcursor)
    x xmltype;
    begin
       select xmltype(inxml) into x from dual;
       open xml_cursor for
             select extractvalue(x,'/tag') from dual;
    ...Edited by: AlexAnd on Nov 21, 2011 1:36 AM

  • [Solved] How to update records in entity based on view with distinct

    Hi
    - I have a relational view of the form:
    SELECT DISTINCT
    FROM TAB1, TAB2, ...- I created instead of triggers for delete, update and insert.
    - I created an entity object on this and an updatable view object
    - I added this to my module.
    - Then I test the view object in the module (module > test), and if I try to update an existing record, I receive the error:
    (java.sql.SQLException) ORA-02014: cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc.
    So, ADF internally create as select FOR UPDATE cursor to update the modified record and as the error shows, this is not possible on a view with distinct, ...
    Is there a way to work around this error without to rewrite the view?
    I was thinking that there is maybe a way to force ADF not to use the select FOR UPDATE and use UPDATE .. SET <value> WHERE <pk>, or maybe to create a new instead of trigger to catch the select FOR UPDATE?

    Arti,
    Here's another solution (that will still use locking, and can help avoid the "lost update" problem):
    http://stegemanoracle.blogspot.com/2006/03/using-updatable-views-with-adf.html
    John

  • Get Item price based on Price List

    Hi all,
    anyone has some sample of how to get the price for an item based on a specified price list, selected by the user, following the SAP's rules for assigning item price?
    I've used the GetItemPrice method, but it doesn't need a price list reference and i think it gives back the basic price of the item.
    I'm able to get the price list and the item code. How can i get the correspondig price (unit price) for that item?
    Thanks in advance.
    Nick

    Thanks Rasmus,
    i've done. I get the PriceList currently selected by the combo box and update the price list used by the BP, and after that i use the getitemprice.
    So it should work now, i get the correct prices related to the pricelist selected and i think that using the getitemprice the price that i obtain follows the sap B1 logic in assigning prices.
    After that i'm considering to set back the pricelist on the BP to the one that is originally stored in the BP.
    Thanks for your help

  • How to update a list in parent view with data from child view/window ?

    I have a view named AccountListView that displays some buttons and a list of accounts.Its viewmodel is called AccountListViewModel and has a collection : ObservableCollection<AccountViewModel>. What I'd like to acomplish: whenever I press the Add/Edit
    Button from the AccountListView to open a new window/usercontrol, i.e. AccountView and bind it to an instance of AccountViewModel that will have some fields to fill in and a Submit and Cancel buttons. How can I update the ObservableCollection<AccountViewModel>
    from  inside the child view, so when I click on the Submit button from AccountViewModel it will return an AccountViewModel object with the data I filled in and add it to the observablecollection. Would notifications from prism be the right way ? Should
    I include code from the AccountListViewModel and AccountViewModel ?

    The way to communicate between view models in Prism is to use the EventAggregator. You raise an event from view model A and subscribe and handle this event in view model B. I have written a blog post about it which should be helpful here:
    http://blog.magnusmontin.net/2014/02/28/using-the-event-aggregator-pattern-to-communicate-between-view-models/.
    In your case you could define an event that carries an AccountViewModel object and pass this one from view model A to view model B:
    public class AccountViewModelEvent : CompositePresentationEvent<AccountViewModel>
    Please refer to the blog post for more information and a complete code example.
    Hope that helps.
    Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question. Please don't ask several questions in the same thread.

  • How to reorder photos in folders based on capture date

    I have scanned a bunch of photographs and imported them into lightroom. I then went and changed all the capture dates to represent when the photos were actually taken. Now I would like to put the photo's in a folder structure based on the capture date (as all my other photo's are). How is it best to do this?
    Thanks,

    Well, if you are going to re-import them, then you really don't need to export them first in original format.
    I mean, assuming you checked the box which allows Lr to write to the raws when you changed capture time, then you should be able to simply delete (remove) from existing catalog, then re-import in preferred structure. If you did NOT allow Lr to update the raws (and so capture time would be lost when re-importing), then we need to talk (and I don't think exporting in original format will preserve capture time in that case either).
    Backup everything first...
    Rob

  • How to get open items as on a key date

    Hi experts,
    I want to show a report Agewise report of offsets: 0-30, 30-60,....
    Only the open items of Vendor as on a particular key date to be considered...
    How to get the open items as on a particular key date ?
    Regards,
    Rao.

    Hi All,
    Thanks for the reply..
    ==============================================================
    Basically create one ckf and two rkfs for each aging bucket
    ie ckf 0-30 days = rkf 0-30 days open + rkf 0-30 days subsequently cleared
    Because you need to restate the AP report to a key date - some items have changed their status since that key date but were open at the key date (ie we call those subsequently cleared)
    so rkf 0-30 days open is
    posting date <= key date
    item status = O
    net due date between variable date (cmod which reads key date) offset 0 and variable date (cmod which reads key date) offset -30
    rkf 0-30 days subsequently cleared is
    posting date <= key date
    cleared date > variable date (which reads cmod of key date)
    net due date between variable date (cmod which reads key date) offset 0 and variable date (cmod which reads key date) offset -30
    ========================================================================
    In the above two cases, while creating restricted key figures how to design this;
    net due date between variable date (cmod which reads key date) offset 0 and variable date (cmod which reads key date) offset -30
    And also after creation of two rkfs i created a ckf i.e ckf = rkf1+rkf2.
    Now i dragged this ckf into columns and when i checked the query it is giving error that key date variable is used more than once. ( Bcz we have used key date variable both in rkf1 and rkf2 for getting posting date <= to key date )
    What is the solution for this ?
    Regards,
    Rao.

Maybe you are looking for