Last Changed On field in User Maintenance

Is there any possibility to delete last record in Last Changed On field in SU02 transaction?
Where is (in what database table) this record stored?
Firstly I checked USH2-4-10-12 tables but with no luck, then I discovered that recent changes can be seen via Change Documents (Information -> Change Documents for Users). There I can see chenges but cannot delete them.
Then I discovered RSCDOK99 report that allowed their deletion but even when last record is deleted (from CDHDR) the value in maintenance window doesn't change.
What is the trick? Can you suggest the db table that stores this record?

Why do you want to Change / Delete history data?
- Abhinab

Similar Messages

  • Function Module for updating Username( last changed by field)-

    Hi,
    Do we have any standard RFC function modules/BAPI available for updating a field in R/3 ( for eg:"last changed by field" of an item of a notification(plant maintenance).
    As the FM is an RFC FM, it always updates this field with the RFC user name.My requirement is to update this field  by a value(user name) which is either keyed in in the FM or an SAP login name.
    This requirement is for a scenario in the mobile application as I need to update the notification item details by the user(mobile user- the mobile user name is available in R/3 also.) who is updating the notification item in the mobile.When synchronisation is done ,the filed gets updated by the RFC username which is used to exceute the BAPI wrapper..
    Do we have an option to change the user name?
    Regards,
    Muralikrishna T

    Hi
    try these.
    READ_TEXT_INLINE-Like READ_TEXT. In addition, it passes the first few text lines to a second lines table.
    EDIT_TEXT_INLINE-----Merges the inline lines with the other text lines and calls the text editor.
    Thanks,
    usha

  • Last changed by a background user

    Dear Experts,
                    I have an info package which has "BW_BGD_USR" in the Last changed field in InfoPackage. Just trying to find who changed it and also does it mean that this has been scheduled as a background job or autmated somehow? I checked, the infoPack is not in any process chain nor in any InfoPackage group. What could be it?
    I appreciate any kind of help.
    Thanks.

    Hi Visu,
    They is no pre-defined user as such. It could have been created to run automated process or background jobs from other source system. It COULD mean that it is a part of process chain, but as you mentioned there no such PC, it might be once in a Process Chain and the PC must have been deleted later. But definetly it was once run in background or automated.
    Or there might be someone who is creating such user id and playing around
    Hope u will figure it out
    Gokul

  • Changing Configuration Table to user maintenance table

    Hi SDN team,
    I recall that there was an OSS note that described the procedure to change a table in configuration to a user maintenance table.  We have a scenario where the purchasing group table is maintained via IMG and the business process wants to maintain this as a master data table.  Can anyone either walk me through the process of setting this up or point me to the OSS note that references this functionality?
    Thank you.
    Nguyen

    Communicate your approach and dont forget the newbie who may join your company in future  !!!
    if one is not aware that you maintain customizing tables in production, and does customizing as usual in developement system and transports the changes, then he may create a lot problems.
    It happened to me personally. I was not aware that purchasing groups had to be maintained in production system as I joined a new company. (But still the request for a new purchasing group is send to IT) . so I just took the free  next number in dev-system and transported to production.  And here I overwrote an entry that was only present in production.........

  • How to find the user who has changed a field in a table

    Hello
        Someone has changed a field  cost center in my table so i need to find the user who hav changed it.Can anyone tel me how to find it.
    Regards

    HI ,
    Create a Z test program using the particular table and filed .
    Now goto SE38 and execute the program " RSDEPEND "
    give the ur test program and then execute . u will get the list of the last  change of ur program
    ( table and fields used inthis program)
    Another way :
    for data element :
    refer table 
      DD04L and get the user name
    for domain
    DD01L
    Edited by: shambhu sharan pandey on Nov 13, 2009 5:49 AM

  • VBOF/SDBONT06 does not update "last changed" field of billing documents

    Hello,
    we have developed a solution in BI, where billing document information (VBRK) and corresponding condition information (KONV) is loaded into infocube in BI. We want to work with delta-loads in BW. The delta loads can be triggerred based on field ERDAT (creation date) or AEDAT (last change date) in the VBRK table.
    However, the VBOF/SDBONT06 program does only update the condition information in KONV, but does not change anything to VBRK. Therefore the AEDAT field in VBRK is not changed. And the records in KONV table do not have a creation/change date at all. Thus, the delta load in BW will not pick up the changes made by VBOF.
    Does anybody know whether e.g. user-exit for VBOF/SDBONT06 exists that enables to update the AEDAT field of VBRK table?
    Thanks

    Hi,
    You are correct that stauts is updated in table VBUK and VBUP.
    However, a sales order does not determine a billing status for delivery related billing, field
    VBUP-FKSTA is only determined for delivey.
    So, it is correct behavior that VBUP-FKSTA = BLANK when searching VBUP with
    VBUP-VBELN = sales order number.
    Just because of above reason, you will not find billing status field in VA03 -> goto header/item;
    you could only find billing status field for delivery in VL03N -> status overview.
    It seems that you are trying to find out sales orders that have been fully deliveried and fully billed, am I right? As far as I know, there is no directly table/field/tcode that could meet your requirement.
    You could consider following workaround:
    firstly, get a list of deliveries that have been fully billied(search VBUP with VBUP-FKSTA = C or search VBUK with VBUK-FKSTK = C);
    Secondly, using these deliveries to search table VBFA to find out related sales orders.
    Hope this helps.
    Best regards,
    Crystal

  • Automatically update a 'Last Updated By' field when changes are made a database record.

    Basically I'm building a database app using mySQL and PHP.
    I'm from a design background, rather than a techie one, so I'm far
    more comfortable using the DW and phpMyAdmin parts, but less so
    with any code.
    We want to have a 'Last Updated By' field that automatically
    populates with whoever created or last edited a record.
    What's the best way of achieving this?
    I've looked at some mySQL stuff, but all looks a bit over my
    head to be honest. Have a table of Users in phpMyAdmin - not one as
    part of the database, but under privileges - so where 'root' is,
    plus another couple I've added.
    In the web directory, I just have a standard connection file
    that looks like :
    <?php
    # FileName="Connection_php_mysql.htm"
    # Type="MYSQL"
    # HTTP="true"
    $hostname_connDevelopments = "localhost";
    $database_connDevelopments = "developments";
    $username_connDevelopments = "root";
    $password_connDevelopments = "password";
    $connDevelopments =
    mysql_pconnect($hostname_connDevelopments,
    $username_connDevelopments, $password_connDevelopments) or
    trigger_error(mysql_error(),E_USER_ERROR);
    ?>
    But how do I do it so that people log in to the database?
    Alternatively, can I just use DW's log in (ie log in to
    particular pages, rather than users log in to the database, using
    database privileges?
    And from there have a hidden field in my insert and update
    pages that's set to the current user, and that value can then be
    inserted in the table?
    Any help or pointers with this greatly appreciated.
    Cheers.

    Thanks David. That sounds about right - the last app I did
    was an online photo library, and used the Log In stuff for that.
    With this one, we want to track changes, as we'll follow the
    progress of the developments from early info right through to
    completion - hence last updated, and last updated by fields.
    So I figured it should be do-able as an extension of the log
    in stuff, ie pass the stored current user somewhere.
    Regarding security - this is just a local app running on an
    internal server, rather than out there in the wild.
    To test it out, I've added a 'LastUpdatedBy' field to my
    other app, and added in a hidden field in my update page :
    <input name="LastUpdatedBy" type="hidden"
    id="LastUpdatedBy" value="$_SESSION['MM_Username']">
    I have the code that does the inserting :
    if ((isset($_POST["MM_update"])) &&
    ($_POST["MM_update"] == "form1")) {
    $updateSQL = sprintf("UPDATE Photos SET Link_ID=%s,
    Title=%s, Rights=%s, Rights_Details=%s, Credit=%s, Width=%s,
    Height=%s, Year=%s, Supplier=%s, Photo_File=%s, Orientation=%s,
    Admin=%s, Region=%s, Country=%s, Easting=%s, Northing=%s,
    LastUpdatedBy=%s WHERE Photo_ID=%s",
    GetSQLValueString($_POST['Link_ID'], "text"),
    GetSQLValueString($_POST['Title'], "text"),
    GetSQLValueString($_POST['Rights'], "text"),
    GetSQLValueString($_POST['Rights_Details'], "text"),
    GetSQLValueString($_POST['Credit'], "text"),
    GetSQLValueString($_POST['Width'], "text"),
    GetSQLValueString($_POST['Height'], "text"),
    GetSQLValueString($_POST['Year'], "text"),
    GetSQLValueString($_POST['Supplier'], "text"),
    GetSQLValueString($_POST['Photo_File'], "text"),
    GetSQLValueString($_POST['Orientation'], "text"),
    GetSQLValueString($_POST['Admin'], "text"),
    GetSQLValueString($_POST['Region'], "text"),
    GetSQLValueString($_POST['Country'], "text"),
    GetSQLValueString($_POST['Easting'], "text"),
    GetSQLValueString($_POST['Northing'], "text"),
    GetSQLValueString($_POST['textfield'], "int"),
    GetSQLValueString($_POST['LastUpdatedBy'], "text"));
    The bits in bold I've added for the LastUpdatedBy - but no
    joy - that's entering $_SESSION['MM_username'] into the table.
    What should the syntax be?

  • How to find out Last Changed Fields for a line item of a PO

    Dear All,
    Pls let me know is there any FM or procedure to find the last changed fields for each line item of a PO. I should be able to get the details on the basis of Last changed Date. Can u pls guide me in this?

    Hello,
    Check the table CDHDR,CDPOS for PO items,
    Check this code:
    REPORT ZV_GET_LATEST_SO .
    DATA: BEGIN OF ITAB OCCURS 0,
            OBJECTCLAS TYPE CDHDR-OBJECTCLAS,
            OBJECTID TYPE CDHDR-OBJECTID,
            CHANGENR TYPE CDHDR-CHANGENR,
            USERNAME TYPE CDHDR-USERNAME,
            UDATE TYPE CDHDR-UDATE,
            UTIME TYPE CDHDR-UTIME,
            TCODE TYPE CDHDR-TCODE,
            TABNAME TYPE CDPOS-TABNAME,
            TABKEY TYPE CDPOS-TABKEY,
            FNAME TYPE CDPOS-FNAME,
            CHNGIND TYPE CDPOS-CHNGIND,
          END OF ITAB.
    TABLES: CDHDR,CDPOS.
    DATA: LT_CDHDR LIKE CDHDR OCCURS 0 WITH HEADER LINE,
    LT_CDPOS LIKE CDPOS OCCURS 0 WITH HEADER LINE.
    *REFRESH AUSG.
    CLEAR CDHDR.
    CLEAR CDPOS.
    CDHDR-OBJECTCLAS = 'EINKBELEG'.
    CDHDR-OBJECTID   = '0000001784'.  " Purchase order number
    **SELECT A~OBJECTCLASS A~OBJECTID A~CHANGENR A~USERNAME A~UDATE A~UNAME
    **B~TCODE
    **B~TABNAME B~TABKEY B~FNAME B~CHNGIND INTO TABLE ITAB FROM CDHDR AS A
    **INNER JOIN CDPOS AS B ON A~OBJECTCLASS = B~OBJECTCLASS
    **                         A~OBJECTID    = B~OBJECTID
    **                         A~CHANGENR    = B~CHANGENR
    **                    WHERE OBJECTCLAS = 'VERKBELEG'
    **                      AND OBJECTID = '0000001784'.
    *SELECT * FROM CDPOS INTO TABLE LT_CDPOS WHERE OBJECTCLAS = 'VERKBELEG'
    *                                    AND OBJECTID = '0000001784'.
    *IF NOT LT_CDPOS[] IS INITIAL.
    *  SELECT *
    *  INTO   TABLE LT_CDHDR
    *  FROM   CDHDR
    *  FOR    ALL ENTRIES IN LT_CDPOS
    *  WHERE  OBJECTCLAS = LT_CDPOS-OBJECTCLAS
    *  AND    OBJECTID = LT_CDPOS-OBJECTID
    *  AND    CHANGENR = LT_CDPOS-CHANGENR.
    *ENDIF.
    **  SORT ITAB BY OBJECTCLAS ODJECTID DESCENDING.
    *LOOP AT ITAB.
    *  WRITE: ITAB-UDATE."ITAB-UNAME.
    *ENDLOOP.
    *--- Interne Tabellen -------------------------------------------------
    DATA: BEGIN OF ICDSHW OCCURS 50.       "Ausgabeaufbereitung
            INCLUDE STRUCTURE CDSHW.       "Zwischendatei
    DATA: END OF ICDSHW.
    CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS'
         EXPORTING
              DATE_OF_CHANGE    = CDHDR-UDATE
              OBJECTCLASS       = CDHDR-OBJECTCLAS
              OBJECTID          = CDHDR-OBJECTID
              TIME_OF_CHANGE    = CDHDR-UTIME
              USERNAME          = CDHDR-USERNAME
         TABLES
              I_CDHDR           = LT_CDHDR
         EXCEPTIONS
              NO_POSITION_FOUND = 1
              OTHERS            = 2.
    LOOP AT LT_CDHDR.
      CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'
        EXPORTING
    *   ARCHIVE_HANDLE                = 0
          CHANGENUMBER                  = LT_CDHDR-CHANGENR
    *   TABLEKEY                      = '00000000 '
    *   TABLENAME                     = ' '
    * IMPORTING
    *   HEADER                        =
       TABLES
         EDITPOS                       = ICDSHW
    *   EDITPOS_WITH_HEADER           =
    * EXCEPTIONS
    *   NO_POSITION_FOUND             = 1
    *   WRONG_ACCESS_TO_ARCHIVE       = 2
    *   OTHERS                        = 3
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      LOOP AT ICDSHW.
        IF ICDSHW-TABKEY+3(10) = '0000001784'
           AND ICDSHW-TABKEY+13(6) = '000001'.
        ENDIF.
      ENDLOOP.
    ENDLOOP.
    Vasanth

  • PPCO0007 User Exit for  Changing Header Fields During Order  (CO40)

    .. Hi !!!!
      I need your help or suggestions,
      I need to change the standar order  before to save, i found the user exit PPCO0007,
      i assign the new value for the order, but when finish the fuction, EXIT_SAPLCOZV_001, the new values are
      lost, and finally the system set the standard order.
        Someona know how can change the order and the the batch.
         Thanks
    Noemí Huerta

    Hi Noemi
    You can use the enchancement PPCO0007 (exit when the production order is saved).
    Use the function module EXIT_SAPLCOZV_001 (User Exit for Checking or Changing Header Fields During Order Save) to update the field priority starting the information in the material-customer info record.

  • Where can i find RSRT query propertis Last changed by user details

    HI All,
    Some one has changed the RSRT qurery properties and we want to know Where can i find RSRT query propertis Last changed by user details.
    thanks in advance.

    Hello,
    Please check the screen shot
    In the Query Designer, General Tab Page showing the details as required at your end.
    Regards
    NS

  • Control PO field one user can change

    Hello,
    We are implementing SRM 7 with ECS.
    We want to restrict fields a user can change in a Purchase order. How can we achieve that? For instance we do not want the user to be able to change cost assignment.
    Thanks in advance.

    The visibility and editability are controlled by IMG in SRM 7. In SPRO,
    SRM server >> Cross application basic settings >> Extensions and field controls >> Configure field control >> Configure controls for fields of substructure
    There you can hide or make accounting information display only.

  • Urgent!!!!User exit or BADI to change INSMK field in ME27 transaction

    Hi ,
      Can anybody help me to find the user exit or badi for ME27 transaction. I need to change the field INSMK to BLOCKED.
    I tried EXIT_SAPMM06E_012 ,
             EXIT_SAPMM06E_016
             EXIT_SAPMM06E_017
    by adding my code but nothing worked. Please help me in this.
    Points will be rewarded if helpful.
    Thanks in Advance.

    hai   Leela,
    Just Go To SE84
    Give The PRogram Name Or PAckage name In Which ME22N is present.
    Then Click On Display
    Then Click On Enhancements
    Then U will Get USer Exits Aswell As BAdis.
    Ok IF helpful Reward.
    And Then  Use Suitable One.
    Regards
    Eshwar

  • Can we change key field values in table maintenance

    Hi,
      I have created Z-table and table maintenance for the same...
    In table maintenance..Can we change key field values??
    Is there any posibility????
    Rayudu

    you can do it in this way.
    open sm30->tablname->edit
    snow select the row(s)->copy->change the keyfield values-back->save.
    no in that sm30, select records with old primary key and delete->save.
    so you got all field similar for those record under modification, only the key field changed.

  • After post accounting document user cannot change Reference Field

    Hi,
    I have a issue. After post accounting document user cannot change Reference field value. Please suggest .     
    Thanks & Regards,
    Hemant Maurya

    Hi Hemanth,
    Mr. ajay's solution solve your issue.
    If you activate it will applicable to entaire client (it is not comp code specific)
    For Activation USe T.Code: OB32 maintain Field (BKPF-XBLNR), Account Type & Transaction Type Blank
    Remove Field Can be change Check Box
    Regards
    Viswa

  • PDS: field to identify last change in ERP

    Dear all,
    is there a way to see in the PDS master data fields in APO (we are on SCM 5.0), if the corresponding BOM in ERP has changed?
    We are using CIF delta transfer for BOMs, however it seems that the "last change" date of the PDS in APO is always updated, even if no change happened.
    Once a week we are doing a initial transfer of the BOMs, so afterwards anyway the last change date in APO is always updated with the date of the initial transfer, even if the BOM has not changed.
    Basically what I am asking for is a field in the PDS which indicates the last change date of a BOM in ERP, and not the last CIF (delta) date.
    Thanks!
    Christian

    Hello Siva,
    Thanks for the reply.
    Currently the issue there is no change in any of the fields. I think thsi is the reason why the PAI is not called. Only in the PAI we have set screen to 0 and leave.
    Without any change in the screen elements how do i force it to enter the PAI
    or
    when i call a screen statement as Call 102, how do i ensure that it returns to the call routine back irrespective of the PAI being executed.
    thanks and regards,
    Shylaja

Maybe you are looking for

  • Error while creating PO - No Commitment item

    Could anyone please help me resolve the below problem When I try to create a PO, by keying 'A' in the Account Assignment category, I get an error saying 'No Commitment item entered in item 00 10' How do I remove the default setting if any in the Fund

  • I can not see my external hard drive

    I recently bought a new external hard drive for my pc. I have pictures, music and family videos, however I can see any video or pictures on my iPad using the same he'd. Any suggestions how to do it?

  • How can I combine a old email address to a new mail address

    Had to change email address. But when i bay books on the new mail the old ones i can not read  I am getting a message" Document is licensed for a different user account" Any ideas how to over come this

  • Why does the keyboard sit in the middle of the page? Most times covering the place where u are typing.

    My husband bought this used IPad and it is great. The problem is that when the keyboard comes up it stays in the middle of the screen covering the lace where you are typing. It is impossible to see what you are typing. You have to move the keyboard t

  • Batch Derivation Date

    Dear All. I am using Batch Derivation application for FG material, derivation evevt is Release of Process Order. After Release of process order SFG Production & Expiry date copy in FG Batch as per derivation it is working Fine. But issue is after pik