The lastest date that a material is consumed in a storage location ?

hello,
How can we know the latest date ( of a document ) which the given material is consumed in a storage location.
Supposing here we have:
+Material number
+The batch number
+The storage location
and the movement code is 601 ( delivery )..And the table we use is MSEG and MKPF
Thank you for your help.

you have to sort all movements you get  by posting date or CPU date, descending, then take the first.

Similar Messages

  • Can I insert into a form build in FORMSCENTRAL, a Formula with the numerical data that are updated by a given formula, like in Excel?

    Can I insert into a form build in FORMSCENTRAL, a Formula with the numerical data that are updated by a given formula, like in Excel?

    Hello danna,
    please have a look there as a first step: http://helpx.adobe.com/acrobat-com/formscentral/topics.html  >>> Formula syntax for built-in functions  >>> http://helpx.adobe.com/acrobat-com/formscentral/help/formula-syntax-built-in-functions.htm l
    Hans-Günter

  • DeserializeJSON - is there a limit on the size of the JSON data that can be converted?

    I have some valid JSON data that's being converted successfully by DeserializeJSON... until it gets to a certain size, or that's certainly what appears to be happening.  The breaking point seems to be somewhere in the neighborhood of 35,000 characters... about 35KB.  When the conversion fails, it fails with a "JSON parsing failure: Unexpected end of JSON string" message.  And when the conversion fails, the JSON data is deemed to be valid per tools like this one:  http://www.freeformatter.com/json-validator.html.
    So, is there a limit on the size of the JSON data that can be converted by DeserializeJSON?
    Thanks!

    Thanks Carl.
    The JSON is being submitted in its entirety, confirmed by Fiddler.  And it's actually being successfully saved to a SQL Server nvarchar(MAX) field too.  I can validate that saved JSON.
    I'm actually grabbing the JSON to convert directly from the SQL Server, and your comments / thoughts led me down the path of resolution.
    Turns out that the JSON was being truncated prior to getting to the DeserializeJSON command, but it was the cfquery pull that was doing the truncating.  The fix was to enable "long text retrieval (CLOB)" for this datasource in CF Admin.  I'd never run into that before or even knew that this setting existed.
    Thanks again for your comments!

  • How to import the JSON data that comes from REST API into Excel 2013?

    HI,
    Is there a way to import the JSON data that REST API returns into Excel 2013? If so how?
    Could you please let me know this?
    If you need to know any more info please let me know.
    Thanks,
    Vinay

    I got this. We need to use power query add in for this.
    EXCEL 2013 -> POWER QUERY -> From Web
    Enter the URL for the REST end point and click ok. Power Query editor will show up with the URL and list of your data.
    click on the list -> Right click->drill down
    You will see the no of records the API returned.
    Right Click on List in that table -> To Table and say ok in the next dialog.
    On the displayed columns, there will be a double sided arrow, click on that and select the rows you want to import.
    There you go. You will all the data.
    Click on Apply and close. This will import the data into your excel file.

  • How to eliminate all the technical data that shows on every incoming email?

    How to stop the additional data that shows when opening emails under the "From, Subject, To" headings, and
    How to eliminate/stop all the information that appears when an email is FORWADED under the heading"-------- Forwarded Message --------"?

    Thanks Zenos,, Yes, that solves the first part of the question, How about the second part?

  • I have problem that changes i make wont be saved it all goes back to the same date that i had this problem for EX: when i ever change my desktop photo and reopen the macbook it goes back to the same photo that i had before.

    i have problem that changes i make wont be saved it all goes back to the same date that i had this problem for EX: when i ever change my desktop photo and reopen the macbook it goes back to the same photo that i had before.

    Might be corrupted preferences ..
    Open the Finder. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following:
    ~/Library/Preferences/com.apple.desktop.plist
    Click Go then move the com.apple.desktop.plist file to the Trash.
    Restart your Mac and try changing the desktop photo.

  • Material transfers between plants and storage locations report

    Hello experts.
    I´m looking for some help.
    Actually i am looking for a report that show information about material transfers between plants and storage locations. Is there any report that shows the source of the material (plant, storage location) and also shows the target (plant, storage location).
    Thanks for your help.

    Hi,
    Though you may not get report for the same , but you can narrow down the check by using the table MSEG or MB51 using the moment types like 311 643 (sd delivery moments )which are for stock transfers .
    or if you want storage location stock many reports are available like MMBE, or MB53 etc.
    Regards

  • What are the Master data that should be uploaded for Go live

    Can any one tell me what are the SD master data that should be uploaded during GO live

    Hi Prem,
    SD Master data includes:
    - Customer Master data
    - Material Master data
    - Customer-Material Info records
    - Enterprise Structure info (Dist Channels,Divisions etc)
    - Condition Master Data in Pricing.
    I believe, all these need to be uploaded during GO Live.
    regards,
    Raj

  • To change the classification data for a material using BDC

    I have to update clssification data for material in MM02 using BDC so when i record the transaction MM02 using SHDB i am not able to see the value assignment window which i a able to see when i am changing using MM02 transaction directly. So can anyone have an idea regarding this ?
         I have even tried updating classification data using a BAPI BAPI_OBJCL_CHANGE but i am not getting desired results....can anyone suggest me what are the parameters need to be passed to the BAPI. Thanks in advance for your help....

    Hi Nagarjuna,
                       <b>BAPI_OBJCL_CHANGE</b>  :  This BAPI changes an existing classification, or creates the classification if it does not yet exist. The classification is defined by the required entry fields for the object key (ObjectKey), object table (ObjectTable), class name (AllocDetail-Class_Num), and class type (AllocDetail-Class_Type). The default value for the optional date field (KeyDate) is the system date, on which all classifications become valid. The new characteristics and/or values are transferred to different tables according to data type. Numeric, time, and date characteristics are transferred to table AllocValuesNumNew, character and boolean characteristics are transferred to table AllocValuesCharNew, and currency characteristics are transferred to AllocValuesCurrNew.
    The object key (OBJECTKEY) must be transferred in internal format. This means before conversion exits. For example, a material number must be transferred with leading zeros.
    If the BAPI runs without errors, table Return contains no messages of type "E".
    Assignment created:  message CL735
    Assignment changed:  message CL737
    Assignment not changed:  message CL738
    This BAPI only changes the parameters of an existing assignment (or creates a whole new assignment), but it does not delete the assignment to a class and replace it with an assignment to another class. If you want to reassign an object, the old assignments must be read with BAPI_OBJCL_GETCLASSES and deleted with BAPI_OBJCL_DELETE, then the new assignments must be created with BAPI_OBJCL_CREATE.
    The information transferred by this BAPI replaces all old information. An empty field means "delete entry!", not "no change".
    This BAPI does not change the database. To change the database, call BAPI BapiService.TransactionCommit afterwards.
    You can only use this BAPI for objects that are not classes!
    This BAPI only processes assigned values for classification - not for configuration.
    Reward points if helpful.
    Regards,
    Hemant

  • How to Update the Basic Data text in Material Master.

    Hi Abapers,
    I have more than 5000 materials for update basic Data text inside Material Master.
    how to update basic data text using abap programe? is there any bapi or normal program?.
    anybody give me sample of this.
    Thanks
    S.Muthu.
    IT Dept.

    Hi
    You can do by using the FM SAVE_TEXT.
    Just populate text into table i_tline.
    Local data declaration
      DATA: l_wa_thead  TYPE thead, " Header
            l_wa_tline  TYPE tline. " Work area for tline
    Populate header
      l_wa_thead-tdobject = c_obj_material.
      l_wa_thead-tdname   = wa_data-matnr.
      l_wa_thead-tdid     = c_id_best.
      l_wa_thead-tdspras  = sy-langu.
      l_wa_thead-tdluser  = sy-uname.
      l_wa_thead-tdfdate  = sy-datum.
      l_wa_thead-tdtxtlines = '1'.
    IF i_tline[] IS NOT INITIAL.
       l_wa_tline-tdformat = c_slash.
       APPEND l_wa_tline TO i_tline.
    ENDIF.
    Text shd start from next line
      l_wa_tline-tdformat = c_slash.
      CONCATENATE c_text wa_data-text
      INTO l_wa_tline-tdline SEPARATED BY space.
    Append the new text to the int table
      APPEND l_wa_tline TO i_tline and l_wa_thead
      C* Local data declaration
      DATA: l_wa_thead  TYPE thead, " Header
            l_wa_tline  TYPE tline. " Work area for tline
    Populate header
      l_wa_thead-tdobject = c_obj_material.
      l_wa_thead-tdname   = wa_data-matnr.
      l_wa_thead-tdid     = c_id_best.
      l_wa_thead-tdspras  = sy-langu.
      l_wa_thead-tdluser  = sy-uname.
      l_wa_thead-tdfdate  = sy-datum.
      l_wa_thead-tdtxtlines = '1'.
    IF i_tline[] IS NOT INITIAL.
       l_wa_tline-tdformat = c_slash.
       APPEND l_wa_tline TO i_tline.
    ENDIF.
    Text shd start from next line
      l_wa_tline-tdformat = c_slash.
      CONCATENATE c_text wa_data-text
      INTO l_wa_tline-tdline SEPARATED BY space.
    Append the new text to the int table
      APPEND l_wa_tline TO i_tline.
      CALL FUNCTION 'SAVE_TEXT'
        EXPORTING
          client          = sy-mandt
          header          = l_wa_thead
          savemode_direct = c_check
        TABLES
          lines           = i_tline
        EXCEPTIONS
          id              = 1
          language        = 2
          name            = 3
          object          = 4
          OTHERS          = 5.
      IF sy-subrc = 0.
        COMMIT WORK.
    endif.

  • How to retrieve the basic data text in material master to SAPSCRIPT?

    Besides using the function module READ_TEXT in the calling program, what alternatives are there if I don't want to modify the program but make changes in the sapscript only?
    I've tried to use the include statement in the sapscript editor, but I don't know how to call the text object whose ID is GRUN, object is MATERIAL.
    Should I use the include statement or any other ways to do it?
    Thanks.

    Thanks for replying this message.
    But the problem is that the object is not found,
    as I tried to print &SAPSCRIPT-SUBRC& and 4 is resulted.
    I've tried:
    /:INCLUDE &MARA-MATNR& OBJECT MATERIAL ID GRUN LANGUAGE &SY-LANGU&
    and
    /:INCLUDE &ISEG-MATNR& OBJECT MATERIAL ID GRUN LANGUAGE &SY-LANGU&
    But nothing is displayed. Anything wrong?

  • HT204088 Would like to know the exact date that a song was purchased using my iTunes account.

    Would like to know the exact date a song was purchased (not billed because I changed my payment status) on my iTunes account

    You should be able to view the purchase history on your account via your computer's iTunes, as per the HT2727 page that you posted from : If you log into your account on your computer's iTunes via the Store > View Account menu option, you should then see a Purchase History section with a 'see all' link to the right of it. Click on that and you should then see a list of your purchases.
    On your iPad you view a cut-down version (the last 90 days) via http://reportaproblem.apple.com
    Both show an item's purchase date

  • HT1483 My ipod needed repairing, so I backed up the data into restore file. My ipod was swapped for a totally new ipod and now I am having difficulty reloading the restored data that I saved. I keep getting the corrupt or not compatible MSG??? Any Ideas

    My IPOD needed repairing, so I backed up my personal data into a restore file. In the end my ipod was exchanged for a brand new one and now I am having difficulty with restoring all of my data that I saved.
    While trying to restore through iTunes I keep gettingthe corrupt or not compatible error message. Does anyone have any ideas or experience with this issue?
    Much Appreciated for any help!

    You can not restorea a backup made with a newer version of iOS to a phone with an older version of iOS.
    1400 photos stored on the phone? Do you not EVER extract them? The camera roll is intended to be temporary storage. Like the SD card in a digital camera. You should be extracting them to your computer on a regular basis.
    Contacts should be synced to a compatible contact manager or cloud service. If you were not doing any of these things, guard your backups with your life and make sure your computer is being backed up on a regular basis, because you won't be able to get them back until you get a new phone with at least the same version of iOS that your 4 had.
    There are 3rd party applications that say they can extract this information from a backup file, but I don't have personal experience with them.

  • Question about using MAX to get the lastest date.

    My question is I need to get the latest erstate.DATE_CREATED.
    I thought that I could just do the following max(erstate.DATE_CREATED) but get
    this error message (ora-00937: not a single-group group function). Can some explain to me what I am supposed to do. Thanks
    select     eractivity.er_case_id,
         erstate.description as latest_status,
         erstate.DATE_CREATED
    from      dpss_gdats.er_activity eractivity,
         dpss_gdats.er_state erstate
    where      eractivity.ER_STATE_ID = erstate.er_state_id
    and      eractivity.er_case_id = :p_case

    Yes max(erstate.DATE_CREATED) will get you the latest erstate.DATE_CREATED. Looking at your query I'm not really sure if you want the latest date for every case_id, description or you want the latest date_created period.
    If you want the former:
    select eractivity.er_case_id, erstate.description as latest_status,
    max(erstate.DATE_CREATED)
    from dpss_gdats.er_activity eractivity,
    dpss_gdats.er_state erstate
    where eractivity.ER_STATE_ID = erstate.er_state_id
    and eractivity.er_case_id = :p_case
    group by eractivity.er_case_id, erstate.description
    for the latter :
    select max(erstate.DATE_CREATED)
    from dpss_gdats.er_activity eractivity,
    dpss_gdats.er_state erstate
    where eractivity.ER_STATE_ID = erstate.er_state_id
    and eractivity.er_case_id = :p_case

  • IPhoto library takes more space than the actual data that is in it.

    Why is iPhoto Library taking almost 10 GB more than the real data i have in it ?

    I have the original photos in a folder and it takes 10.7 GB of space in my hard drive, but when I get info from the iPhoto library its taking 17.9 GB of space
    Do you have two copies of the photos on the HD? Why?
    I have read that every single move I do in iPhoto it makes a copy of the file for backup no matter how big the photo is, even if you just rotate the picture,
    When you edit a pic - including Rotation - iPhoto makes a copy of the Original and carries out the edit on that copy and saves it. However, if you then make another edit it does not make a second copy, it simply destroys the first copy and applies the total edits to a new copy. So there is never more than your Original and a single Modified version of your pics.
    that’s just taking so much space I need is there any way to make iPhoto stop doing that?
    No. If you don't want that, simply don't use iPhoto. IPhoto is a Digital Asset Manager and it coheres to the best practices of DAM by treating your original file like a film photographer protects his negative.
    Also when look in the finder and search for every file I have used during the day, if I had just open iPhoto once it will apper a lot of this files called like Album.999001.ipmeta that are from iphot. If I haven used it just opened it why is it showing that ?
    This is just the way that iPhoto works. These ipmeta files are tiny 4kb files. They take up the smallest amount of disk space possible.
    Regards
    TD

Maybe you are looking for

  • How can i tell if my ipod is a 2g or 3g

    the model number is MC086LL serial number 8N9468X175J can anyone tell me if this is a 3rd or 2nd generation? thanks, Monica

  • Stored Procedure for Crystal Reports

    Hi All, I developed this test stored procedure to see wheather we could a stored procedure for crystal reports. It compiled without any problem, but when I run it, it gives me error message. Here is the stored Procedure.. CREATE OR REPLACE PROCEDURE

  • Points on axis of a XY Graph: programatically changing not always working

    I have a minor issue: Users can view data in my app, and in the academic world its usually appreicated if you have divided your X and Y axis in 6-7  points max. So I use the appropriate property nodes for start of range, increment, minimum and maximu

  • Web Dynpro ALV grid equivalent of onLeadSelect

    Hi, I am new to web dynpro alv and would like to know how to implement the equivelent of the action onLeadSelect that you can do with a table UIElement, but I want to do this for the ALV table that I have.  Many thanks, Samir

  • When is lion coming out

    this is ******* me off because it was meant to come out three days a go but where is it