How to get latest condition cost at GR for a material

Hi SDN's,
At the time of GR creation in MIGO, I need to get the latest additive price for the material instead of Purchase Order creation date additive price.
Example: PO creation on 01June2008
PO number : 01234
Addtive cost(condition record) : 2$
GR is creating on today (23 July2008)
PO number : 01234
Addtive cost(condition record) : 3$
So system should consider latest additive cost 3$(GR creating date) now it is taking the PO creation date additive cost 2$.
How to achieve this???
Thanks in advance..
Regards,
Rahul

in that case u have to get the document amt of that accouting Document of PO invoice.
how --->
get the IR number from EKBE
CALL FUNCTION 'FI_DOCUMENT_RECORD'
    EXPORTING
      I_AWTYP            =  'RMRP'
      I_AWREF            =  W_AWREF1----->IR of Po
      I_AWORG            =  W_GJAHR1----->year
    I_AWSYS            = ' '
    I_AWTYP_INCL       = ' '
    I_AWTYP_EXCL       = ' '
    I_BUKRS            = ' '
    TABLES
      T_DOCUMENTS        = T_DOC.--->here u get the accouting document number.
Regards
Prabhu

Similar Messages

  • How to get latest record on top of the result list

    Hi Gurus,
    How to get latest record on top of the result list when you open the record.
    saved data method in BT120H_CPL of OverView page and result list in ICCMP_INBOX.
    Regards,
    Ravi

    Hi
    Try sort descending by on fileld "changed at ".
    manipulate the sort depends on your requirement
    Regards
    Logu

  • How to get latest CPU patch information

    Hi Gurus,
    Good Morning.
    How to get latest CPU patch information for our EBS 11i system, how to get alerts when ever they released CPU patches.

    Check  the SAWWAN'S Excellent previous post regarding developer patches , this post will give you entire information about Developer patches.
    Re: how to find the developer version
    Re: Developer 6i patches
    Check this metalink notes , hope this helps.
    Note: 466890.1 - Script to find Apache, Java, Jinitiator, Forms version and JVM details for Oracle E-Business Suite 11i
    Note: 392793.1 - How to Obtain Oracle Forms Version in Oracle Applications 11i from Command Line
    Edited by: Amigo on Dec 22, 2010 9:20 AM
    Edited by: Amigo on Dec 22, 2010 9:21 AM
    Edited by: Amigo on Dec 22, 2010 9:26 AM

  • How to Get the Job, Cost center, Position description using select query

    Hi all,
    How to get the  Job, Cost center, Position description through select query without using the Function module?
    thanks,
    Prasad

    use adhoq query and take the report chose both text and value

  • How to get this condition right ?

    Hi Friends,
    Please tell me , How to get this condition right.
    Current Date = Posting date (RBKP.BUDAT) + 7 (i.e. notifications are sent 7 days after the Posting date).
    I need to get the blocked invoices which are overdue for 7 days, and send these blocked invoices. How to do the declaration and get it right ...
    thanks in advance ...
    Edited by: Matt on Jan 28, 2009 2:38 PM - subject amended by moderator

    Hi, SK SIDDIQUI
    Have a look at following code will solve out your problem,
    TABLES: RBKP.
    data: it_rbkp like STANDARD TABLE OF rbkp WITH HEADER LINE,
          wa_it_rbkp like rbkp,
          p7date like sy-datum,
          p14date like sy-datum,
          p21date like sy-datum.
    p7date = sy-datum - 7.
    p14date = sy-datum - 14.
    p21date = sy-datum - 21.
    SELECT * from rbkp
      into CORRESPONDING FIELDS OF TABLE it_rbkp
      where budat <= p7date. " for 14 just Replace p7date with p14date and for 24 just Replace p7date with p24date
    Please Reply if any Problem,
    Kind Regards,
    Faisal

  • New document alert: How to get PDF documents into Adobe Reader for iOS

    Opening PDF Files in Reader for iOS (iPhone and iPad) has been very helpful to many users of Adobe Reader for iOS.  However, Apple has drastically changed the user interface in iOS 7, which made the original document obsolete. 
    According to Apple Developer Support's App Store Distribution page, 89% of devices connected to the App Store are using iOS 7 during a 7‑day period ending June 29, 2014.
    Because of the exceptionally high iOS 7 adoption rate, Adobe Reader for iOS version 11.3 now supports iOS 7 only.
    Here are the new How-To documents for iOS 7.
    How to get PDF documents into Adobe Reader for iOS (iPad on iOS 7 version)
    How to get PDF documents into Adobe Reader for iOS (iPhone on iOS 7 version)
    (It had to be split into two separate documents because each contains way too many screenshots.)
    Hope these documents are as helpful as the original one.
    Please let us know if you have any feedback or suggestions on the topics for other help documents/tutorials.

    Dennis (or any Adobe rep),
    Any updates to the OP's question? I'm with a large government agency, and we're moving away from GoodReader for reasons I can't go into here, and the ability to add user-defined bookmarks within the app is a mandatory feature for the document reader we select. I have the latest version of Adobe Reader (11.6.1) installed on my government iPad, and the ability to add user-defined bookmarks still seems to be missing. Does Adobe have any plans to add this feature, or is it already present and I'm simply overlooking it?
    Thanks,
    Cam

  • How to get the data from pcl2 cluster for TCRT table.

    Hi frndz,
    How to get the data from pcl2 cluster for tcrt table for us payroll.
    Thanks in advance.
    Harisumanth.Ch

    PL take a look at the sample Program EXAMPLE_PNP_GET_PAYROLL in your system. There are numerous other ways to read payroll results.. Pl use the search forum option & you sure will get a lot of hits..
    ~Suresh

  • How to get / configure data in Tcode "MCTG" for "SIS: Sales Office Analysis Selection "?

    Hello SAP Guru's,
    How to get / configure data in Tcode "MCTG" for "SIS: Sales Office Analysis Selection "? We have implemented SAP ECC 6.0 EHP4 version in the organization. If anybody have any idea, need help .
    Thanks in Advance.
    Prashant Kunjir

    Have a look at the following note:-
    Note 1573200 - How to restructure the statistic data of the sales information system (SIS)
    But before trying to carry out the process as detailed in the above note, first check with other SIS reports like MCTA etc., and no reports are showing correctly, then you can proceed.  Otherwise, you need to raise an OSS message with SAP.
    G. Lakshmipathi

  • Since I upgraded to os 5.1 for my iPhone I can no longer type in reminders. Any suggestions how to get around having to use siri for reminders?

    since I upgraded to os 5.1 for my iPhone I can no longer type in reminders. Any suggestions how to get around having to use siri for reminders?

    Unfortunately, I have a very similar problem. Since I upgraded to os 5.1 on my new iPhone 4S the reminders screen will not add new reminders or scroll up and down. What's more strange is the screen will still scroll side to side allowing access to the Completed list, and both the Completed list and Date functions work normally so this must be an upgrades glitch.

  • How to get the file size (in bytes) for all files in a directory?

    How to get the file size (in bytes) for all files in a directory?
    The following code does not work. isFile() does NOT recognize files as files but only as directories. Why?
    Furthermore the size is not retrieved correctly.
    How do I have to code it otherwise? Is there a way of not converting f-to-string-to-File again but iterate over all file objects instead?
    Thank you
    Peter
    java.io.File f = new java.io.File("D:/todo/");
    files = f.list();
    for (int i = 0; i < files.length; i++) {
    System.out.println("fn=" + files);
    if (new File(files[i]).isFile())
         System.out.println("file[" + i + "]=" + files[i] + " size=" + (new File(files[i])).length() ); }

    pstein wrote:
    ...The following code does not work. Work?! It does not even compile! Please consider posting code in the form of an SSCCE in future.
    Here is an SSCCE.
    import java.io.File;
    class ListFiles {
        public static void main(String[] args) {
            java.io.File f = new java.io.File("/media/disk");
            // provides only the file names, not the path/name!
            //String[] files = f.list();
            File[] files = f.listFiles();
            for (int i = 0; i < files.length; i++) {
                System.out.println("fn=" + files);
    if (files[i].isFile()) {
    System.out.println(
    "file[" +
    i +
    "]=" +
    files[i] +
    " size=" +
    (files[i]).length() );
    }Edit 1:
    Also, in future, when posting code, code snippets, HTML/XML or input/output, please use the code tags to retain the indentation and formatting.   To do that, select the code and click the CODE button seen on the Plain Text tab of the message posting form.  It took me longer to clean up that code and turn it into an SSCCE, than it took to +solve the problem.+
    Edited by: AndrewThompson64 on Jul 21, 2009 8:47 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to get purchase organization,  PAYMENT_TERMS and INCO_TERMS for vendor?

    Dear friends,
    How to get purchase organization,  PAYMENT_TERMS and INCO_TERMS for a vendor(LIFNR)? I couldn't fine these data in LFA1 table.
    Thanks a lot!

    Hi,
    You can find ZTERM(Terms of Payment) in LFB1 table for a particular vendor (LIFNR) and company code.
    and Incoterms INCO1 in LFM1 table for a particular vendor (LIFNR) and purchase organisation.
    Hope this answers your query.
    Regards,
    Brajvir

  • How to get the elements out of a for loop simultaneously during the loop execution

    Hi, 
    I am student. I would like to know how to get the counter values outside the For loop parallely while the loop runs rather that getting the finally value outside the For loop. Looking forward for answers.
    Thanks,
    Athira
    Solved!
    Go to Solution.

    You could use a notifier (since it is a single value) or a reference (with a property node) to a control that gets the value elsewhere in another VI.
    If it is within the same VI, you could use a property node (right click > create > property node > value) from the control within the same VI located outside the loop.
    If you promiss NOT to abuse the use of Local Variables, you could use that to only write from ONE location within the For Loop to a control outside the loop, similar to the property node mentionned earlier.  (Of course, I will be struct by lightening for mentionning that and scolded by other LabVIEW coders for having a change of heart on the use of Locals....  Shivers are already crawling up my spine).
    You could use a queue, but that might be an overkill, unless:  the count is generated faster than it is being read elsewhere...
    As crossrulz mentionned, can you describe what you will be doing with the count?  Because synchronizing data (fresh / stale / etc) is very important within LabVIEW as it executes based on dataflow rather than a sequential order.
    Hope this helps. 
    EDIT: 
    You have not fully provided the answer.  We figured that much of your code from your description, but what is reading the value of the count?  Is it in a separate loop?  If not, it may only deal with the first value, which is likely 0.  The proper advice depends on how you process the received data (count).

  • I accidentally deleted my iMovie off my mac, anyone know how to get it back because it came for free and is now 15 dollars to buy back??? pls help

    i accidentally deleted my iMovie off my mac, anyone know how to get it back because it came for free and is now 15 dollars to buy back??? pls help

    If you mean you accidentally removed the icon for iMovie from the Dock (the array of icons at the bottom of the window), you can add it back easily.
    Open the Applications folder (if you open it from the Dock you may then need to click the Open in Finder icon), locate the iMovie program.
    Drag the icon for iMovie down to the Dock, somewhere between the icon for Finder and the dashed line toward the right.
    Wait for the icons at that spot to move aside, then drop it in.

  • How to get text lables in x axis for xcelsius bubble chart

    Hi
    How to get text values in x axis for xcelsius bubble chart
    I have data as follows
    x axis: closed/qualification/lost
    y axis: deal age
    z axis: amount(bubble size)
    Thanks

    If you are using Xcelsius 2008 SP3 you will be able to do this.

  • How to get Dealership of Adobe Photoshop Elements for Mumbai, Maharastra, India

    Hello,
    i am doing wedding Album designing in india Using Adobe Photoshop Elements8 Licence Version.
    Also Developing Plugin for Adobe Premiere in Flex.
    How to get Dealership of Adobe Photoshop Elements for Mumbai, Maharastra, India
    any one have idea please help.
    thanks
    Dhiraj

    Hi,
    Thanks Barbara B. sure i will try.
    Thanks
    Dhiraj

Maybe you are looking for

  • ACCENT Symbol in Oracle Reports printing using 10g Application server

    Some of the report with names containing ACCENT symbol are printing like upside-down comma. But the report used to printing certified copy and the client requiring to print the ACCENT symbol as it is. Oracle support recommend us to use PDFPrint desti

  • Does the alarm ever time out?

    I have the alarm set daily to wake me up for work. Tonight I accidentally left my phone at work and it's not convenient for me to go back and get it before I go to work tomorrow morning. If it goes off in the morning, will it keep going indefinitely

  • Vendor Last transaction

    Dear All, I would like to know is there any Transaction Code or tables from where we can get the last date of transactions in the vendor account. Regards Uttam

  • How to default the wage tyes

    hi gurus, I have wage components like Basic : 19000 H r a : 8000 Con : 800 Speciall allowance : 2638 Bonus : 1000 (regular bonusu2026.this has to display in the pay slip every month) Education allowances : 0 Shift allowance : 0 Other allowance : 0 th

  • How to access downloaded add ons in windows 8

    add ons show in manage addons area, how do find them so I can use them icons not in customize tool bar option McAfee site check add on in on add on bar at bottom but other add ons are not