ME23N - Read Last Purchase Order for Display

Hi,
We are upgrading from 4.6C to ECC6 and one of the problems the users have identified is that when displaying the purchase order with transactions ME22N or ME23N the last purchase order that was worked on is not always the one that is displayed.
This is very evident when creating a PO with ME21N and then switching to view it on ME23N - in ECC6 the PO that was created is never the PO that is displayed on ME23N; whereas in 4.6C creating a PO with ME21N and switching to ME23N the PO that was created is ALWAYS the PO that is displayed on ME23N.
It this feature (whatever) no longer available with ECC6?  Is it a configuration settings that we haven't properly set in ECC6? 
Thanks for any help.
Martha

I analysed how SAP remembers the previous purchase order number in transaction ME23N in version 4.7 as I do not have access to version ECC6. In version 4.7 transaction ME23N reads table ESDUS (MM: Dynamic User Settings) in the following way
ESDUS-UNAME = sy-uname
ESDUS-ACTION = 'MEPO'
ESDUS-ELEMENT = 'Application         Po_Process'
The purchase order number is the first 10 characters of ESDUS-ACTIVE (ESDUS-ACTIVE+0(10)).
When you read a new purchase order SAP writes that order number to table ESDUS using function module ES_SAVE_USER_SETTINGS. When you revisit the transaction SAP uses function module ES_READ_USER_SETTINGS to read the purchase order number stored in table ESDUS.
Ask an ABAP programmer to investigate this in your system with the information I have provided you. He/She should be able to find out what is going wrong. I am limited because I do not have access to your system. Hope this helps. Please let me know what the ABAP programmer found out.

Similar Messages

  • Last purchase order and goods receipt for material

    Hello to everyone,
    is there any standard report where I can see the last purchase order and goods receipt for a material?
    Regards

    Hi,
    Latest PO you can get from ME2M, by giving input as material and scope of list as best.
    Latest GR date can be get from MB51, by giving input as Material and movement type as 101.
    Regards,
    Prabu

  • Last Purchase Order and FI-Document Number of an Vendor

    Hi,
    i need for an Vendor the last purchase Order and FI-Document Number.
    For purchase Order i read EKKO sort this and get the last one.
    For FI-Document Number i read BSIK and BSAK sort this and get last one.
    Question: is there any faster way (CLASS, FM or TABLE) to get what i need??
    Thanks.
    Regards, Dieter

    HI Dieter,
    You can use transaction code ME2L , where you can list of PO issued a particular vendor. List list shows Po no. indecending order. You can double click select the latest PO and through PO history you can get the FI Document no.
    I hope this ansers you query.
    Regards
    Harish

  • Purchase order for services

    When creating a purchase order for services, I am entering services lines in the SERVICES TAB, I would like to structure the services in the service specification into a hierarchy of outline levels. How I can do this? How can I activate the Service Specification outline ?
    Thanks

    Hello,
    You can use an outline only in t the 'Full Screen: service'. In the Services full screen, you can choose 'Outline On/Off' to show and hide the service overview. You ser the width of the service overview as desired and when entering the transaction, system displays the settings selected before leaving the transaction.
    If you select an outline level, the data area of the services displays the relevant service lines. You can choose 'Services' to display at outline level whether service line exist at outline level.
    Regards,

  • Price from last purchase order

    Hi Experts,
    I have created info record xxx with some values for XX Vendor and XX Material. Then I have created PO with for same material and same vendor combination with different values and then I am creating PO for same material and same vendor combination but I am getting default price from info record values not last from PO Price. My client wants last PO price default at the time of PO creation.
    Pease advice me how can I solve this problem.
    Thanks in advance,
    Chandhu

    Hello
    You wered create the Info record means , system will have value PB00 in Inforecord. so when you create the PO then system fetch the PB00 value from Inforecord.
    The Last purchase order saved in Inforecord, but it will not fetch the last PO value for new PO.
    If you want to Last inforecord price in New PO, then do not create Inforecord for material and vendor combination,
    Ex: for fresh material and New vendor create PO, then system automaticaly creates the Inforecord in background,( At Purchase org level.)  then it save the last PO.
    When you try to create New PO for same combination then system will fetch the data from last PO.      here in PO  you will get PBXX ,instead of PB00.
    Regards
    Mahesh Naik.

  • Last purchase order price

    Hi All
    On which table will I be able to find the last purchase order price for a material
    Vishnu

    Hello, Vishnu
    Table name: EINE (Purchasing Info Record: Purchasing Organization Data)
    in the above table you can find the last PO price for that material. And the Conditions (Item) values are stored in the table: KONP (table name for Conditions (Item).
    Suggestion: The last PO document (i mean PO, which contains the price of the material in the PO line item) is updated in the Purchase Info record.(this you can see in the Info record display through t.code: ME13)
    Reward, if it helps,
    Regards,
    Srin.K
    Edited by: sapsrin on Feb 12, 2008 5:51 AM

  • FIND Last Purchase Order of specific materials

    Hello Gurus,
    I wonder if someone can help to find the last purchase order created of certain materiales, which tables Do i have to search for?
    thanks for the help.

    Tables are EKPO (EKPO-MATNR for Material) then take all purchase order(EBELN) to search from table EKKO (EKKO-AEDAT for Date of creation)

  • Last Purchase order of a material

    Hi All,
    I have a requirement to retrieve the last/latest purchase order for a given material/plant combination. Currently I am using the following logic. Here is the pseudo code I am using.
    Select EKPO records where MATNR = given material
                                                  WERKS = given material
                                                  BSTYP  = 'F'
                                                  LOEKZ  = space.
    select EKKO records where EKKO-EBELN = EKPO-EBELN.( for all EKPO records of unique EBELN)
    sort EKKO record by AEDAT DESCENDING.
    read table EKKO index 1.   "This is the record I need.
    This logic seems to be not good. As I am reading all the purchase orders of the material for entire period which will cause more database hit and memory issue. Say if we have maintained the system for 5 years and I am reading EKPO table for a material there will be more purchase orders for this material.
    Can you please suggest if there is a better logic to handle this?
    Regards,
    Srinivas.

    My approach will be to first speak with functional consultant to find what will be the most probable period in which you will find last PO for given material/plant.
    For example you might get an answer that you will find last PO of given/material within last week (or last month) for most of the combination.
    Once you get the period in which you will find the data, you can then construct logic as below
    date : r_date type range of ekko-aedat .
    fill range with last period (last week for example)
    DO .
    select field
      from ekko inner join ekpo on ekko~ebeln = ekpo~ebeln
    where ekko~BSTYP = 'F'
         and ekko~LOEKZ = space.
         and ekko~aedat in r_date
       and ekpo~werk = given plant
       and ekpo~matnr = given material
    if sy-subrc = 0 .
    * you got your record , sort and pick the right one
    * break the loop.
    else.
    **Check for exceptions
    * fill r_date with last to last period and so on...
    endif.
    ENDDO.
    Now about the exceptions, there might be some NOT SO ACTIVE material/plant for which last PO was create 3 years back (for argument sake). Again here you have to ask you functional consultant if he/she really want to see that old record or NOT SO ACTIVE material. If his/her answer is yes then he/she have to live with long execution time. Otherwise logic will be not to look beyond the time limit given by you functional consultant. For example, if you do not find PO in last 1 year then stop looking.
    Edited by: Pawan Kesari on Dec 11, 2009 10:35 PM
    Edited by: Pawan Kesari on Dec 11, 2009 10:37 PM

  • Report to view pending Purchase Order for Release

    Hi,
    Is there any sap standard report through which we can view pending Purchase Order for Release.
    Regards,

    Hi,
    you can use transaction ME28, this can give information of pending purchase order for release on release level.
    but this transaction is used for releasing the collective release for purchase order. this is not an report.
    if you want transaction for reporting purpose only, you need to create a report or query on EKKO table. based on release indicator.
    vikas,

  • Excluding price of last purchase order from cost estimate

    Good morning,
    we have the issue described below:
    we would like to exclude a price of some purchase orders from valuation in cost estimate in case of valuation is made by price from purchasing info record.
    In this case valuation considers price of last purchase order even if there is a valid agreement used.
    Our customer would like to have valuation with price of purchasing agreement and not price of the standard purchase order closed, but if agreement is older and during creation of standard PO is setted the "InfoUpdate" flag, system updates the inforecord and in CK11N during cost calculation it uses this price for subcontracting.
    We have done some tests...Is there a standard SAP solution to have price of valid purchase agreement?
    Many thanks.
    Giusy Castiglione
    Accenture Outsourcing

    Hi,
    Your requirement seems to be very unique and hence you need to try out through by selecting the valuation through user exit where we can request the system take the po price from purchase agreement instead of purchase orders. This selection deftly resolve this unique requirement instead of searching for a std solution.
    Trust this helps much!
    Regards,!
    Ashok Singh

  • Delivery completed indicator in purchase order for service item

    How can I make the delivery completed indicator (EKPO-ELIKZ) in a purchase order for a service item ready for direct changes.
    Per default this field is hidden on purpose for service items (according to SAP note 735404). Please inform me of customizing entry where that can be changed!
    Thanks,
    Johnny

    delivery completed indicator only gives information for MRP ( That not consider balance qty as onorder stock), it has no control on GR, so I am not sure what you will achieve to mark it in service PO?

  • Transfer of tax indicator to purchase order for service items in shopping cart

    Hi all.
    I have a problem with the tax indicator in the shopping carts and in the backend purchase orders for service items. If I create a shopping cart with service items with different tax indicators, the backend purchase order have a unique item including all the services. So, all the PO items are under one tax indicator while in the shopping cart there is more than one indicator. I mean, the PO is not correctly replicated with the information of the SC.
    Example: shopping cart in SRM with 3 items, tax codes: V1, V2, V1. The standard code transfers the information to the backend, and creates a purchase order with an unique item with the 3 services under tax code V1. So, the second service is not under the correct tax code, and will be wrongly invoiced.
    We have debugged all the code of the process, and we think it is a standard bug. When you replicate a PO in the backend from a SC in SRM, have you experienced this behaviour, or the service items are grouped in different PO items each one with the correct tax indicator?
    Thanks in advance.

    Hi again...
    I forgot to mention that we have found and applied the note 1822107 (Purchase order: wrong tax code for PO with 2 service items), that fits exactly to our problem. But after testing, it doesn't work.
    Regards.

  • Capital  Import Purchase Order  for  1000000000.0000 Euro

    Dear Sir
              I am creating Capital  Import Purchase Order  for  1000000000.0000 Euro.We have already set  price up to four decimals also in case of Imports.   But Field is not allowing  Purchase Order for that amount, its reducing the price. Maximum field length is 13 Charectar.
    How its possible ?
    Regards
    Manoj

    are you from Microsoft trying to buy Yahoo?
    I dont think that 1 Billion Doller purchase order is standard business that really need to be created as a PO in SAP.
    You just have a technical limitation of the field size.
    You will not only have this issue for the PO. you will get it with the GR and IR  and payment as well.

  • Can I modify the column "Net Price" of purchase order to display 3 decimals

    Dear expert,
         Can I modify the column "Net Price" of purchase order to display 3 decimals?
         Looking forward to your reply.
         Many thanks.
    Best Regards,
    Merry

    Hi,
    You can easily change ur decimal place in OY04 by seeting number of decimal place to ur currency.
    But be careful as it cause a huge effect to ur finance documents, read system message carefully before applying.
    Regards
    ManUfacTuReR

  • Block purchase order for releasing

    Hi expert,
    is it possible for us to block a PO for release if the item in PO already been blocked ?
    Thank you.
    Regards
    Simonksh

    user11197404 wrote:
    We sent the purchase order for the new license to Oracle on last Friday
    yet to receive the new CSI for the new server .
    can we still move forward with deployment activity and later specify the CSI
    or would that stop us suring the install process if we don't have yet the CSI ?
    Are you asking from a technical or legal standpoint?
    If technical, do you see anything in the installation instructions that mention entering license information? What happens if you try to go ahead and install? What could be the worst that could happen?
    >
    Kindly help me .
    If you have any idea any metaline node pls let me know ..
    Thanks an addvance..
    j2vinod

Maybe you are looking for

  • Unable to update or restore any frimware but 1.1.4

    the only firmware i can use is 1.1.4. i purchased 2.0 and kept getting an error saying it could not be restored or update same with 2.0.1. i tried upating with the files right on my desktop that didnt work...i do not know what to do.

  • Project dependencies in a Workspace (10g)

    When I try to deploy something from a project, the IDE tries to compile all projects in that workspace, even if there are no dependencies between the projects. This means that I have to either remove the offending project(s) from the workspace or res

  • Is there a 'flip' plug-in?  To flip the image horizontally?

    I know this is easy in Motion ... but am in a rush and want to do it on an FCP timeline. I have a vague memory of doing this once before with a plug-in: Just want to flip the clip, horizontally, on the timeline, so the action is going right to left i

  • Safari crashes every few minutes (EXC_BAD_ACCESS)

    I'm using Safari 6.0.4 on OS X 10.8.3. When using Safari for a few minutes, it typically crashes. The website I'm browsing seems to have no effect as to whether it crashes. I have disabled all extensions, and the issue is still present. Here is the e

  • Webcenter Portal integration with ATG

    Are there any webcenter portal implementation where the ATG storefront features have been been exposed through the webcenter Portal. Are there any plugins or interfaces to enable the integration between portal & ATG.