RME Detailed Device interface Last Changed date reporting

How do I create a custom template rule to get ports that have changed since a particular date?
LMS 3.1 RME 4.2
     when creating a custom template rule for "interfaces" "Last Changed", the date format in the rule is different than
     the field in detailed device reports.  I thought the field " last changed " was the point along the sysuptime timeline
     but the sysuptime is less than the number of days in "LastChanged".
any help appreciated..

That explains why the last change numbers are sometimes higher than the sysuptime.  Thank You!!!!
is there a particular way to select the "Value" in RME-Custom Template Reports-Custom Template-rules when choosing
Inventory group= interface ,   Attribute = Last Changed (yy:mm:dd:hh)  ?
The format requires years,months,days and hours while the value of the field is xxxx days, hh:mm:ss
I seem to be unable to get the correct results...

Similar Messages

  • How to fetch last changed date for Header in me22n?

    Hi Experts,
    I need to create a report for PO, where I have created one screen tab in Header level(customer data), therefore I need to fetch last changed date for header , I must mention that I do not want last changed date for item level, only for header last changed date is required.
    Kindly assist me on this.
    Thanx
    Shireen

    Read table CDHDR (object "EINKBELEG") and CDPOS (look for table name EKKO), keep the last CDHDR record with "EKKO" data actually changed.
    Regards,
    Raymond

  • File names with last changed Date and time in a directory

    Hi All.
    I need to get all filename, last changed date, last changed time in a directory. Is there any function module for this?
    Regards,
    Venkat.

    hi,
    if the directory is in any application server try to use this code
    >  DATA: wa_file TYPE zdpp_file_read.
    >  DATA: nomefile(75).
    >  DATA: ext_chek(3).
    >DATA: BEGIN OF wa_file,
    >        dirname     TYPE DIRNAME_AL11, " name of directory
    >        name        TYPE FILENAME_AL11," name of entry
    >        type(10)    TYPE c,            " type of entry.
    >        len(8)      TYPE p,            " length in bytes.
    >        owner(8)    TYPE c,            " owner of the entry.
    >        mtime(6)    TYPE p,            " last mod.date, sec since 1970
    >        mode(9)     TYPE c,            " like "rwx-r-x--x": prot. mode
    >        useable(1)  TYPE c,
    >        subrc(4)    TYPE c,
    >        errno(3)    TYPE c,
    >        errmsg(40)  TYPE c,
    >        mod_date    TYPE d,
    >        mod_time(8) TYPE c,            " hh:mm:ss
    >        seen(1)     TYPE c,
    >        changed(1)  TYPE c,
    >      END OF file.
    >  data: files like wa_file occurs 0 with header line.
    >
    >  CALL FUNCTION 'FILE_GET_NAME'
    >       EXPORTING
    >            client           = sy-mandt
    >            logical_filename = logpath
    >            operating_system = sy-opsys
    >       IMPORTING
    >            file_name        = path
    >       EXCEPTIONS
    >            file_not_found   = 1
    >            OTHERS           = 2.
    >  IF sy-subrc <> 0.
    >    RAISE file_not_found.
    >  ENDIF.
    >
    >  DATA: last_path TYPE i.
    >  DO.
    >    last_path = strlen( path ).
    >    last_path = last_path - 1.
    >    IF pathlast_path(1) = '/' or pathlast_path(1) = '\'.
    >      EXIT.
    >    ELSE.
    >      CLEAR path+last_path(1).
    >    ENDIF.
    >  ENDDO.
    >
    >  MOVE extension TO ext_chek.
    >  TRANSLATE ext_chek TO UPPER CASE.
    >  nomefile = '*'.
    >
    >  CALL 'C_DIR_READ_FINISH'
    >      ID 'ERRNO'  FIELD wa_file-errno
    >      ID 'ERRMSG' FIELD wa_file-errmsg.
    >
    >  CALL 'C_DIR_READ_START' ID 'DIR'    FIELD path
    >                          ID 'FILE'   FIELD nomefile
    >                          ID 'ERRNO'  FIELD wa_file-errno
    >                          ID 'ERRMSG' FIELD wa_file-errmsg.
    >  IF sy-subrc <> 0.
    >    RAISE wrong_directory.
    >  ELSE.
    >
    >    DO.
    >      CLEAR wa_file.
    >
    >      CALL 'C_DIR_READ_NEXT'
    >        ID 'TYPE'   FIELD wa_file-type
    >        ID 'NAME'   FIELD wa_file-name
    >        ID 'MTIME'  FIELD wa_file-mtime
    >        ID 'ERRNO'  FIELD wa_file-errno
    >        ID 'ERRMSG' FIELD wa_file-errmsg.
    >      IF sy-subrc <> 0.
    >        EXIT.
    >      ENDIF.
    >
    >        PERFORM p6_to_date_time_tz(rstr0400) USING wa_file-mtime
    >                                                   wa_file-mod_time
    >                                                   wa_file-mod_date.
    >      MOVE path TO wa_file-dirname.
    >      APPEND wa_file TO files.
    >    ENDDO.
    >  ENDIF.
    >
    >  CALL 'C_DIR_READ_FINISH'
    >      ID 'ERRNO'  FIELD wa_file-errno
    >      ID 'ERRMSG' FIELD wa_file-errmsg.
    bye,
    marco

  • PowerShell Script to get the details Like Scope,Last Deployed date and Name for a Solution Deployed in the Farm.

    Hi Experts,
    I am trying to  build a PowerShell Script to get the details Like Scope,Last Deployed date and Name for a Solution Deployed in the Farm.
    Can anyone advise on this please.
    Regards

    Get-SPSolution|Select Name,Scope,LastOperationResult,LastOperationEndTime|Export-CSV "SPInstalledSolutions.csv" -NoTypeInformation
    SPSolution properties
    Get-SPSolution
    This post is my own opinion and does not necessarily reflect the opinion or view of Slalom.

  • How do I get the last changed date & time of a file in app server?

    Hi Experts,
    How do I get the last changed date & time of a file in app server?
    Thanks!
    - Anthony -

    Hi,
    that's what I use...
      CALL 'C_DIR_READ_FINISH'.             " just to be sure
      CALL 'C_DIR_READ_START' ID 'DIR' FIELD p_path.
      IF sy-subrc <> 0.
        EXIT. "Error
      ENDIF.
      DO.
        CLEAR l_srvfil.
        CALL 'C_DIR_READ_NEXT'
          ID 'TYPE'   FIELD l_srvfil-type
          ID 'NAME'   FIELD l_srvfil-file
          ID 'LEN'    FIELD l_srvfil-size
          ID 'OWNER'  FIELD l_srvfil-owner
          ID 'MTIME'  FIELD l_mtime
          ID 'MODE'   FIELD l_srvfil-attri.
    *    l_srvfil-dir = p_path .
        IF sy-subrc = 1.
          EXIT.
        ENDIF." sy-subrc <> 0.
        PERFORM p_to_date_time_tz
          USING    l_mtime
          CHANGING l_srvfil-mod_time
                   l_srvfil-mod_date.
        TRANSLATE l_srvfil-type TO UPPER CASE.               "#EC TRANSLANG
        PERFORM translate_attribute CHANGING l_srvfil-attri.
        CHECK:
          NOT l_srvfil-file = '.',
          l_srvfil-type = 'D' OR
          l_srvfil-type = 'F' .
        APPEND l_srvfil TO lt_srvfil.
      ENDDO.
      CHECK NOT lt_srvfil IS INITIAL.
      pt_srvfil = lt_srvfil.
    FORM p_to_date_time_tz  USING    p_ptime  TYPE p
                            CHANGING p_time   TYPE syuzeit
                                     p_date   TYPE sydatum.
      DATA:
        l_abaptstamp TYPE timestamp,
        l_time       TYPE int4,
        l_opcode     TYPE x VALUE 3,
        l_abstamp    TYPE abstamp.
      l_time = p_ptime.
      CALL 'RstrDateConv'
        ID 'OPCODE' FIELD l_opcode
        ID 'TIMESTAMP' FIELD l_time
        ID 'ABAPSTAMP' FIELD l_abstamp.
      l_abaptstamp = l_abstamp.
      CONVERT TIME STAMP l_abaptstamp TIME ZONE sy-zonlo INTO DATE p_date
          TIME p_time.
    ENDFORM.                    " p_to_date_time_tz
    Regards,
    Clemens

  • Need FM to get Last change date of Objects in package

    Hi All,
      Is there any Function module to get Last changed date of all Objects in a package .
      How to get the last change date of class,methods,function module.....
      I can get last change date of programs from TRDIR....UDAT....Similarly how can I get for Function Module and Class Methods. 
    With Thanks,
    Dina.
    Message was edited by: Dinamol Sasidharan

    Go/double click on the affected cubes you want to see the time stamp.
    click the Extras(tab on the upper of part of SAP) or simply 'Ctrl + F5'.
    Box will appear.
    Click on Logs for Save/Activate so you will see the linfo for the users who used this cube.
    Then put time restriction for From and To(always the current day and time).
    Then execute, all of the users who changed then saved/activated that cube will appear on that timeframe you view.
    Hope this help.

  • Last changed date different between two systems after transport

    Hi, first of all, I am not from basis background and just want to make sure whether is this something correct or not.
    I found that the "Last changed date" and "username" are not same between the original system and the target system. Is this something configurable?
    And the "username" field is totally empty. However, the program code's version is identical in both systems.

    I think I misunderstood your question.  You are referring to the system Transports not the connections between systems.  If the Transports are not transferring all the contents, you really should talk to your basis folks and tell them which items are not being reproduced correctly.
    Regards,
    Mike

  • Update Last Changed Date when attaching a Document to Opportunity/Activity

    Hi my CRM peers,
    we have the requirement to update the last changed date of the one order object (Activity, Lead, Opportunity) when a user attaches a document to the object. Has anyone solved this requirement?
    Best regards
    Gregor

    Hi Stephen,
    what do you think about using the SEARCH_DOCUMENTS method of CL_CRM_DOCUMENTS to get the documents uploaded during the last day. I fill the table IT_QUERY_PROP is filled to search for the Documents Created starting yesterday:
    Query:
    IT_QUERY_PROP[1]
      PROP_NAME      CREATED_AT
      SIGN           I
      OPTION         BT
      LOW            20100217000000
      HIGH           99991231235959
    And I get this result:
    LT_SRES[1]
      OBJTYPEP       P
      CLASSP         CRM_P_ORD
      OBJIDP         DF1C76C7D7D02BF1ABA8005056857C4E
      OBJTYPEL       L
      CLASSL         CRM_L_ORD
      OBJIDL         DF1C76C7D7D02AF1ABA8005056857C4E
      RANKV          05000
      DOCREFER       0000000001
    When I now use the WHERE_USED method I can find the Business Object where this document is attached to by filling the
    IS_IO parameter:
    IS_IO
      OBJTYPE                        P
      CLASS                          CRM_P_ORD
      OBJID                          DF1C76C7D7D02BF1ABA8005056857C4E
    Now my follow up question is: How can I update the last changed date of the document without changing any data?
    Best regards
    Gregor

  • Get last changed date by Program ID/Object type/Object name of a task

    Hi to all.
    I'm looking for a way to get last changed date of an object by task number(CR). Any SAP function or utility someone has??
    For example if I have a task with the object list:
    R3TR PROG  ZSD_ORD_COND_P
    R3TR TABL    ZCNDSLCTN
    LIMU  REPS  ZSD_ORD_COND_CLS
    R3TR TRAN   ZZDIS
    R3TR VIEW   ZSD_VBAK_KONV
    I need to get last changed date for each object.
    Thanks,
    Yuval Kaduri, Cellcom, Israel.
    Edited by: yuval kaduri on Mar 2, 2008 2:59 PM

    Hi Venu, thanks for the input.
    In the table I don't have all changes made in objects that the CR is not released. I need to know all changed date of objects even if the CR is not released. There are  few tables containing the date and time object last changed for the deferent types but I'm looking for a function or some utility someone wrote that gets the CR line info as - PgmID/Obj/Object name - and gives back last changed date and time.
    Thanks,
    Yuval Kaduri, Cellcom, Israel.

  • Last changed date of query showing old date

    Hi All,
    We have made a change to a query (description change) and saved.  When we open the Analyzer we still see the old description and also the last changed date shows an old date.  Not the latest date the query was last changed on.  We tried generating the query in RSRT, but no luck.
    Can someone let us know what we can do?
    Thanks!

    Hi Kams,
    We are using the Analyzer, log out back in, etc...
    As mentioned we did a regenerate by RSRT 'generate'
    any other ideas?

  • Last change date and time of Reservation Record

    Hi All,
    I have a requirement to find out the last changed date / time of a reservation (table - RESB). I was not able to find any change document object for reservation. Please let me know what I can do for this.

    Hi Mitrajit,
    You can find the change history for any Data element from CDHDR and CDPOS, if for that data element Change Document is enables.
    If you check SBTER in SE11 unser tab Further Characteristics, there is one chekc box 'Chnage Document'.
    If you tich this checkbox, a change entry will be populate in CDHDR and CDPOS Table.
    Check Table DBTABLOG if its maintan the chnage entry for SBTER.
    Thanks
    Piyush
    Rewards points, if helpfull

  • Last Import Date Report

    Hiya. I have several tables that are appended to (some daily, some weekly) via data workshop (HTML-DB 1.6.1/10g). The tables contain standard data (computer generated alerts, security scan results, &c.) and do not implement TS (because, frankly, I can't figure it out yet). I'd like to create a small report on the main page of my app that lists specified tables (T1, T2, T3) and reports-back the last time they were appended to so I can quickly see if they are up-to-date (e.g. "T1, 05/25/2005 13:35).
    Would someone mind pointing me in the right direction? Thanks!

    My suggestion is to use the vendors table (PO_VENDORS) and the checks table (AP_CHECKS_ALL). Bring in vendor id, vendor name, and check date. Use a Last_Value function on check date to return the last check date for the vendor. See if that might work out. Or if having trouble with that, define the join in the business area between the vendors table and the checks table to be an outer join on detail, that will return master rows with no detail and master rows with matching detail. Take out check date from the format and add sum of amount to the format. Then edit for a check date (say >= '01-Jan-2008') that if you don't have any activity for after that date, then you want to get rid of those vendors. Run the workbook and any vendor with no activity will show as a NULL value for sum of check amounts (so have to add Amount(SUM) from the checks table to the workbook item list). Vendors with activity after that check date will show a numeric amount (might be 0 if in and out). You can then add a condition to filter for amount IS NULL and get the list of vendors that you want to look at disabling. Worked like a charm when I tested that here.
    John Dickey
    Edited by: John Dickey, McCarthy on Nov 3, 2009 12:13 PM
    Edited by: John Dickey, McCarthy on Nov 3, 2009 12:19 PM
    Edited by: John Dickey, McCarthy on Nov 3, 2009 12:22 PM

  • Last Transaction Date Report

    hi
    I'm trying to run a report in order to audit our database of suppliers (over 1000) (supplier records managed in symmetry)
    I need to see against every supplier the last date that we paid them so that I can identify the ones not used in the last 2yrs and disable them.
    the closest report I'm getting is one that shows every payment date for every supplier and is so large that I'm running out of space in excel when exporting the report.
    Any advice on what items to select and parameters to set in order to get this report would be much appreciated!!!!!

    My suggestion is to use the vendors table (PO_VENDORS) and the checks table (AP_CHECKS_ALL). Bring in vendor id, vendor name, and check date. Use a Last_Value function on check date to return the last check date for the vendor. See if that might work out. Or if having trouble with that, define the join in the business area between the vendors table and the checks table to be an outer join on detail, that will return master rows with no detail and master rows with matching detail. Take out check date from the format and add sum of amount to the format. Then edit for a check date (say >= '01-Jan-2008') that if you don't have any activity for after that date, then you want to get rid of those vendors. Run the workbook and any vendor with no activity will show as a NULL value for sum of check amounts (so have to add Amount(SUM) from the checks table to the workbook item list). Vendors with activity after that check date will show a numeric amount (might be 0 if in and out). You can then add a condition to filter for amount IS NULL and get the list of vendors that you want to look at disabling. Worked like a charm when I tested that here.
    John Dickey
    Edited by: John Dickey, McCarthy on Nov 3, 2009 12:13 PM
    Edited by: John Dickey, McCarthy on Nov 3, 2009 12:19 PM
    Edited by: John Dickey, McCarthy on Nov 3, 2009 12:22 PM

  • Read "last changed" data from AL11 into BSP page

    Hi all,
    I'm looking for a way to read the following information from the application server
    Last change             Creator     Name
    17.07.2006 09:19:58     cbdadm      file1.csv
    27.05.2003 10:53:11     cbdadm      file2.csv
    13.07.2006 17:01:30     cbdadm      file3.csv
    I want to see for a number of filenames, when it was last changed, but I don't know where to get this data? Is it stored in a table? And how should I read this data?
    I see that a program named RSWATCH0 is generating the required output for transaction AL11...maybe this is helpful?
    The following code works in ABAP, but I need to use this in BSP... is this possible somehow?
    REPORT ZUPLOAD_TIME .
    TABLES epsf.
    PARAMETERS dir  LIKE epsf-epsdirnam.
    PARAMETERS file LIKE epsf-epsfilnam.
    DATA mtime TYPE p DECIMALS 0.
    DATA time(10).
    DATA date LIKE sy-datum.
    CALL FUNCTION 'EPS_GET_FILE_ATTRIBUTES'
         EXPORTING
              file_name              = 'TESTFILE.CSV'
              dir_name               = '/usr/sap/data/'
         IMPORTING
              file_size              = epsf-epsfilsiz
              file_owner             = epsf-epsfilown
              file_mode              = epsf-epsfilmod
              file_type              = epsf-epsfiltyp
              file_mtime             = mtime
         EXCEPTIONS
              read_directory_failed  = 1
              read_attributes_failed = 2
              OTHERS                 = 3.
    PERFORM p6_to_date_time_tz(rstr0400) USING mtime
                                               time
                                               date.
    WRITE: / mtime,
           / date, time.
    thanks in advance! points will be rewarded for usefull answers
    Message was edited by: Joris Hens
    Message was edited by: Joris Hens

    In the TYPES Definition tab :
    types: BEGIN OF t_file,
            date     TYPE d,
            time(10) TYPE c.
            INCLUDE  TYPE epsf.
    TYPES: END OF t_file.
    types: tt_files type table of t_file.
    In the Page attributes tab :
    ta_files TYPE tt_files
    In the OnInitialization Event Handler :
    * event handler for data retrieval
    DATA: epsf      TYPE epsf.
    DATA: mtime     TYPE p DECIMALS 0.
    DATA: time(10)  TYPE c.
    DATA: date      TYPE sy-datum.
    CALL FUNCTION 'EPS_GET_FILE_ATTRIBUTES'
      EXPORTING
        file_name              = 'myfile.csv'
        dir_name               = '/usr/sap/data'
      IMPORTING
        file_size              = epsf-epsfilsiz
        file_owner             = epsf-epsfilown
        file_mode              = epsf-epsfilmod
        file_type              = epsf-epsfiltyp
        file_mtime             = mtime
      EXCEPTIONS
        read_directory_failed  = 1
        read_attributes_failed = 2
        OTHERS                 = 3.
    PERFORM p6_to_date_time_tz IN PROGRAM rstr0400 USING mtime
                                                         time
                                                         date.
    FIELD-SYMBOLS: <fs_file>  LIKE LINE OF ta_files.
    APPEND INITIAL LINE TO ta_files ASSIGNING <fs_file>.
    MOVE-CORRESPONDING epsf TO <fs_file>.
    <fs_file>-time = time.
    <fs_file>-date = date.
    In the Layout :
    <%@page language="abap"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <htmlb:content design="design2003">
      <htmlb:page title = "List files on application server ">
        <htmlb:form>
        <htmlb:tableView id = "tvx"
                         table = "<%= ta_files %>" />
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    Then, you still have some minor modificaions to perform on the tableView thanks to an Iterator, for instance.
    Best regards,
    Guillaume
    Message was edited by: Guillaume Garcia

  • Need to create a report of Items sold= last sale date report

    Hi Guys,
    There is an column of last sale date in OITM but that doesnt gives any data when you run a query. Basicaly client need to generate a report of Items with last sale date, is this possible SAP Business One?
    Regards

    Hi Joe,
    you could use the stock posting list report with a suitable date range & select only AR invoices in the 'Expanded' options, then sort by posting date in descending order
    This report can then be exported to Excel & all irrelevant transactions can be deleted, keeping only the first & second row for each item (Row 1 = Itemcode, Row 2 = last stock posting from AR invoice showing in the 'Price after discount' column).
    Alternatively, you might explore whether an SDK solution  may be created that runs the last prices report for all items.
    All the best,
    Kerstin

Maybe you are looking for