Table data change logs

Hi,
   I have created a customer table. I want to log the data changes in the table. So in the technical settings of the table i have checked log data changes checkbox. When i tried to see the change logs using transaction SCU3, the logs are not available. Kindly help.
What is the table name in which this logs are stored?
Suitable answers will be rewarded
Thanks and Regards,
Kasi S

To use the change document functionality in your application, proceed as follows:
Define the change document object
Check in the Dictionary, whether the data elements of the fields which are to be logged are flagged appropriately.
Generate the update.
Program the appropriate calls in your program.

Similar Messages

  • Table for table data changes log

    Hello,
    The data in the table T016 was updated with new records.
    I want to know the log for the table data changes. In the table's technical settings the check box "Log data changes" was checked and Delivery Class is 'C'.
    I tried with SCU3 transaction, but it is saying no log for the table.
    And also i checked the tables DBTABLOG,DBTABPRT. But there are no records available.
    Regards,
    Ravi.

    Look at this link below
    http://www.mariewagener.de/Note.September.2007
    usually system parameter rec/client should be enabled to store table changes - this is the reason you can't see table changes in dbtablog table.

  • Does a Master Data Change Log or Report Exist?

    Does anyone know of a master data change log or report?
    Such a log or report would show all changes made to cons units, cons groups, and items; including additions, deletions and changes to a hierarchy.
    We hope to use this to synchronize cons group/unit and item hierarchies between BCS systems: Production and Development.
    For example, if a master data change was made in the Production system, we would like to log the change, and synch this change back to the Development system.
    Thanks for any insight.

    Thanks, TheScotsman, for really helpful information!
    Some detail of the findings for those who interested:
    There is a "How to... trace changes to master-data  and settings for SEM-BCS" which describes all nuances of tracking changes in MD.
    The HowTo mentions the reports RSVTPROT , UGMD_DB_LOG_DISPLAY, and a t-code SCU3 that may show the changes.
    Certainly the code of the reports might be taken as an example for writing your own code.
    Though, the reports and the SCU3 are useful when the logging of DB tables changes is activated.

  • Need to get a list of PSA tables and change log tables existing in a PC

    Is there a standars table to look up all active DSOs and the change log tables associated to those DSOs?
    and also Data sources and the PSA tables associated to that DS.
    I need to get a list of PSA tables and change log tables existing in a processchain(whioch deletes the data in them time to time)how do I do this in a quicker way?
    Thanks in advance

    Hi Ramya
    Check  RSTSODS table with filter of  User App   CHANGELOG ---> For change log tables

  • Log table date changes

    Hello,
    I need to create a table that will log Insert/updates/deletes made to another table.The log table will also log the modifier user name.
    How would you implement this using Oracle 8I ?

    You can it also by coding insert,update,delete or ddl events triggers with anonymous block in those.
    anonymous block
    http://download-west.oracle.com/docs/cd/A87860_01/doc/index.htm

  • Delta queue with transparent tables based on table data changes

    Dear all,
    once, I was able to find a document (maybe a how-to, if I'm not wrong) that covered a very interesting solution, that I need to implement due to a specific requirement.
    Let me explain what's the catch.
    In the source system (SAP based), there's a couple of tables that have an unsorted key but doesn't have dates or timestamps. I need to retrieve the information from such tables with a delta procedure. Due to the lack of delta supporting fields, I can't enable generic delta or even FM-based extraction.
    The solution I saw once, suggested that Source System's tables could have the change log enabled from within the data dictionary (SE11) and then, that data change monitoring could be coupled with the delta queue mechanism (tRFC or qRFC enabled).
    Could you, please, help me with that subject or, if possible, try to recover the document that explained that? Be sure I have put all my efforts trying to find that doc. by myself.
    Many thanks,
    Michel

    Hi Michel,
    I'm not aware of any document but I made use of such a delta-mechanism a couple of times. Be aware that you should not use it for large tables or tables of which the content changes a lot (inserts/modifications/deletions). The system will create many huge logs which will consume a lot of disk-space.
    Procedure:
    1) Activate the logging on your table (SE11 -> enter table name -> go to Technical settings -> flag 'Log data changes')
    2) Create a Generic DS based on FM (should be possible!) but do not touch the delta functionality; this has to be build into the FM
    3) For the FM e.g. use a copy of RSAX_BIW_GET_DATA_SIMPLE
    4) Customize the code to your needs; in the first call fetch the data from the change logs using FM DBLOG_READ_WITH_STATISTIC
    5) This FM has dates and times as import parameters. As you don't have them you could create a Z-table in which you keep track of the extractions done. For the next load you then exactly know which logs to fetch (since stored date & time of last load).
    Hope this helps you getting up to speed! It's a bit of a hassle but once set up will work fine.
    Grtx
    Marco

  • Track table data changes (inserts, updates, deletes) including os_user

    Hi ,
    I was given a task by manager to keep track of changes on a given table including os_user who made it.
    Should I create a trigger on it (on any update, insert, delete etc.) or there is a better way of doing it ?
    I think there could be some info already in some data dictionary views or something like it.
    If I CREATE MATERIALIZED VIEW LOG on that table would it help?
    I'm kind of new to that sort of tasks,
    Thanks a lot!

    Leo_Y wrote:
    Hi ,
    I was given a task by manager to keep track of changes on a given table including os_user who made it.
    Should I create a trigger on it (on any update, insert, delete etc.) or there is a better way of doing it ?
    I think there could be some info already in some data dictionary views or something like it.
    If I CREATE MATERIALIZED VIEW LOG on that table would it help?
    I'm kind of new to that sort of tasks,
    Thanks a lot!is application 3-tier like below?
    EndUser<=>browser<=>WebServer<=>ApplicationServer<=>DatabaseServer

  • Need suggestion to get data from change log table of ODS.

    Hello,
    There is a case where i am loading opportunity header data from header ODS and opportunity item data from item ODS in the opportunity cube.
    Status (1= OPEN, 2= WON ETC) of the opportunity are available only in header ODS and not in item ODS.
    While loading data from header ODS to cube, I am loading it directly but while loading data from item ODS to cube i am using active data table of header ODS as a lookup in the update rule from item ODS to cube. I am selecting status from the active data table of header ODS while loading data from item ODS to cube.
    Since active data table will have only after image records, there is some data mismatch in the report as i am selecting data from active data table of header ODS while loading data from item ODS to cube.
    I need to select data from Change log in order to get before image also instead of active data table in order to overcome this issue. Is there any way by which i can do selection from Change log instead of active data table as change logs are generated at run time.
    Please let me know if you have any suggestions.
    Regards,
    Sanjay Chaurasia.

    Hi,
    You can use the changelog table of the DSO.
    Right click manage the Header DSO, go to the contents tab and click Change Log table. There you can see the technical name of the Change Log table.
    In the update rule Routine, give the tech name of Change log table instead of Active table name.
    Hope it helps.
    Krishna

  • Activate change logs for the table V_T007K

    Hi,
    Change log check box is activated in table and change logs is activated in system. But still I am not able to view any change logs recorded for the table V_T007K using SCU3 transaction.
    I tried by changing some data and than checked the SCu3 transaction. nothing is recorded against the table.
    Please let me know what needs to be done to capture the change logs for the changes done to the data in the table V_T007k table.
    Thanks in Advance.
    Thanks & Regards,
    Madhuri.

    Hi
    The table u mentioned V_T007k  is not a transparent table
    .its a view only for views u cant track changes.
    But only for transparent tables u can only track changes thru SCU3
    Also u can find the changes in a table from SAP TABLE
    CDHDR and CDPOS.
    if helpful reward me points.
    Regards
    Manas Ranjan Panda

  • Change logs for Z table.

    Hi All,
    I am trying  to fetch the old value and new value for the z table field.Change log is activated for the Z table. but i dont know how to fetch the change logs.
    SCU3 is the standard transaction to see the change logs for all the tables.
    Is there any table where the change logs values are maintained?
    Does anyone know how to get the change log value?
    Thanks in advance.
    Regards,
    Amruta.

    Hello,
    If for a specific set of tables no change documents are triggered by SAP you can always setup your own Change Document Object with transaction SCDO.
    Of course you need to be careful with this transactions (how big is the table data, how many changes, etc...).
    Table logging is something else, they are stored in table DBTABLOG and can be analysed via SCU3.
    For table logging you need extra system parameters to be set, they are explained in SAP Note:
    Note 1916 - Logging table changes in R/3
    Pay attention with table logging because a lot of tables are logged in DBTABLOG once you activate the parameter, this can have a major impact on performance.
    To have an idea what other tables will be logged, check tcode SE16 on table DD09L and put an 'X' in field PROTOKOLL, result will be thousands of tables.
    In your specific scenario I think it is best you go for the change documents with SCDO.
    Wim Van den Wyngaert

  • Change log table for Vendor Bidder information?

    Hi,
    In BBPMAININT transaction we have BIDDER DATA tab.
    If we change any Classification data in BIDDER DATA  tab for the Vendor in which table it updates the change log information?
    I checked in  BBP_SUPP_MONI table this table updates only when we change any Company data information for the vendor not Bidder tab.
    can any one help me?
    Thanks.

    Hi
    There is no standard report.
    But you can check in CDHDR & CDPOS tables for change log.
    Object Class= BUPA_BBP0020
    Tabname=BBPM_BUT_FRG0021
    Best regards
    Ramki

  • Need of Change log deletion for a DSO, when DTP delta Init with Active Tabl

    Hi,
    Thanks for your time, please help me with the following
    Scenario: I have Cube1 being updated from DSO1 with DTP delta, for quite some time. As per new requirement, I would need to create new data mart such that Cube2 gets updated from DSO1.
    In order to Configure the delta, I am Considering Following options, please let me know, which one is right one.
    Note: DSO1 is in Overwrite Mode.
    Create one DTP with update Mode "Delta" , and "Active Table".  I knew Delta Changes are captured in change log, but my understanding is, when you execute the DTP for the First time, it fetches the records from Active Table. And from 2nd Run onwards the very "same DTP" without "any changes" get the records from change log, even if we choose "Active Table".
    is my understanding is Right?
    Do I have to consider deleting the change log, because DSO1 is in Production from quite some time which is in Overwrite mode?
    Do I have to create a DTP  with Delta and Active Table, run the dtp Once(Init), then choose "Change Log for subsequent runs explicitly
    please help me with these. I have reviewed many sap help articles and sdn threads but none of them were helpful. all of them explains, difference b/w active table and change log table, also gives scenarios like use a full DTP and then 2nd DTP with Delta without Data transfer. I am not looking for that kind of details.
    Appreciate any help, Thanks again
    Edited by: curious maven on Mar 28, 2011 8:35 AM

    Hi Uma,
    Thanks for your response.
    to your question, If I need to load all the data from DSO1 to Cube1, answer is NO. if you read my post once again,
    Existing Flow is : DSO1 --> Cube1 (Means, Active Table and Change Logs of DSO1 already Filled Up)
    Requirement is: DSO1 --> Cube2. (Need to Init the Delta, and Detlas going forward)
    My Questions:
    (1) Imagine, DSO1 has 10 requests, so we see resepctive data in Active Table as well as Change Log. As a matter of fact, Data is being updated to DSO1 in Overwrite Mode, so all the changes(10 requests equivalent) would be captured in Change Log, which in turn helpful / used when we do Delta from DSO1 to any Cube, in my case, it used to update to Cube1. As per new requirement, it needs to update to Cube2.
    My assumption is, if I choose "Active table and Delta in Extraction Tab" in DTP, During First Run (Delta Init), Data would be fethed from Active table. And the 2nd Run Onwards, delta records would be fetehced from Change Log automatically, even if we don't change the selection from Active Table to Change Log.
    Is My Assumption Right?,
    in this process, Do I have to Delete Change Log
    (2) Do I have to Explicitly change DTP setting from "Active Table to Change Log" Once Delta Init has been run with setting "Active table" inorder to get Deltas from DSO1 --> Cube2 ?
    Appreciate your help
    Edited by: curious maven on Mar 30, 2011 3:14 PM
    Edited by: curious maven on Mar 30, 2011 3:29 PM

  • Difference between Delta "Change Log" and "Active Table (Without Archive)"?

    In BI7.0 environment, we perform our Delta loads (the DTP settings under the Extraction tab, there is a field called Extraction Mode and it's value is selected as "Delta") every day among all our DSOs.
    There is a section called "Delta Init. Extraction From..." under the same tab in DTP, there are four radio buttons:
    Active Table (With Archive)
    Active Table (Without Archive)
    Archive (Full Extraction Only)
    Change Log
    Then what is the difference between "Change Log" and "Active Table (Without Archive)" if both Extraction Mode is "Delta" for two Delta loads?
    Thanks!

    Hi ,
    The new options SP16 has are:(Chk Note 1096771)
    Active Table (with Archive)
    The data is read from the active table and from the archive or from a near-line storage if one exists. You can choose this option even if there is no active data archiving process yet for the DataStore object.
    Active Table (Without Archive)
    The data is only read from the active table. If there is data in the archive or in a near-line storage at the time of extraction, this data is not extracted.
    Archive (Only Full Extraction)
    The data is only read from the archive or from a near-line storage. Data is not extracted from the active table.
    Change Log
    The data is read from the change log of the DataStore object.
    Delta will always be picked from change log table.Only during intialization you can choose between getting data from change log or active table.If you are doing the load first time and are initializzing delta in subsequent data targets, then pulling data from active table will get lesse volume of data then it would have got from change log table....All subsequent deltas will be picked up from the change log.  And when we need to reload data into the data target (which would be a full load) - we use active table.
    From change log : you can take below ones as targets
    1) Cube 2) DSO with Addition as the update for the Keyfigures
    From Active table: you can take below ones as targets
    1) Cube ,if and only if, the records are never changes in the source once after creation
    2) DSO with Addition as the update for the Keyfigures ,if and only if, the records are never changes in the source once after creation
    3) DSO with Overwrite as the update for the Keyfigures ( incase deletions is not happening in the source system)
    Pls check this link
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/e8c56ecd313c86e10000000a42189c/frameset.htm
    Regards,
    CSM Reddy

  • Change log

    Hi,
    Is there any difference between the programs RSTBHIST ( Table history) and RSVTPROT(Evaluation of log changes)?
    regards,
    Beena

    RSTBHIST
    Description
    You can record changes to table contents in the SAP System.
    For each change to a table entry, a change document is written in the table log database. The change document contains information such as time of the change and name of the user who made the change.
    Using the service functions, you can generate a list of all the change documents of the current day or a chosen time period.
    Furthermore you can display a list of all the tables, for which change documents are written (i.e. all tables with history administration).
    The administration of the table log database is supported by various functions:
    Determining the number of change documents in the table log database
    It is possible to select by time period and by table.
    Deletion of the oldest change documents from the table log database
    Enter a key date.
    You can select by table. Be careful: After deletion, the change documents are no longer available.
    Archiving of the oldest change documents
    Before deletion from the table log database, the change documents are archived in a sequential file.
    Creation of change documents
    Change documents are written for a table if:
    the table has the technical setting Logging
    the function Write change documents is active in your system
    To find out whether a table has the feature Logging, either choose the service function Tables with history administration or perform the following functions beginning with the main menu:
    Tools -> CASE -> Development -> Data Dictionary -> Display -> <tabe name> Display -> Goto -> Techn. setting
    The function Write change documents is controlled via the profile paramter rec/client. The following is possible:
    rec/client = OFF --> Function inactive
    rec/client = ALL --> Function active
    rec/client = <md1>,... --> Function active for chosen clients
    Comparison of current status with history
    For tables with change logging, it is possible to perform a comparison of the current status with the contents of the table at an earlier time.
    The table contents at both times are compared. Various field contents are highlighted.
    You can switch the display from vertical split (objects alongside one another) to horizontal split (objects below one another).
    RSVTPROT Evaluation of change logs
    Rgds,
    SaiRam

  • Change log of field USERTYP

    Hi all, is there any way how to find history of changes of the above mentioned field? I am not able to find it via SU01->Change documents for users.

    Hi Jaroslav
    Sorry for late reply
    Standard table USR06 change log is not there as there is no particular object maintained for recording log not allowed as technical settings. Below are some selected of US category for which you can search  change log.
    USLA04
    USR21
    USRACL
    USREFUS
    USOBT
    USOBX
    USOBT_C
    USOBX_C
    USMD120C
    USMD120C
    USR41
    Sorry, can't help with standard available
    But I have checked there is one Program which you can add in your system and that will help to record the changes in future.
    for your reference program code is as below.
    REPORT  ZUSER_LICENSES_LOG.
    TYPE-POOLS: ICON, ABAP, SLIS.
    TABLES: ADCP,
            USR02,
            USR06,
            USR21,
            PA0002.
    TYPES: BEGIN OF USER_TABLE,
             PERSNUMBER TYPE USR21-PERSNUMBER,
             BNAME      TYPE USR21-BNAME,
             VORNA      TYPE PA0002-VORNA,
             NACHN      TYPE PA0002-NACHN,
             LIC_TYPE   TYPE USR06-LIC_TYPE,
             FUNCTION   TYPE ADCP-FUNCTION,
             GLTGB      TYPE USR02-GLTGB,
             USTYP      TYPE USR02-USTYP,
             CLASS      TYPE USR02-CLASS,
             UFLAG      TYPE USR02-UFLAG,
             PWDSTATE   TYPE USR02-PWDSTATE,
             USRID      TYPE PA0105-USRID,
             PERNR      TYPE PA0105-PERNR,
             LICENSE_AX TYPE I,
             LICENSE_AY TYPE I,
             LICENSE_AZ TYPE I,
             LICENSE_BA TYPE I,
             LICENSE_BK TYPE I,
             LICENSE_OT TYPE I,
           END OF USER_TABLE.
    DATA: IT_P2    TYPE STANDARD TABLE OF PA0002 WITH HEADER LINE,
          IT_P0105 TYPE STANDARD TABLE OF PA0105 WITH HEADER LINE,
          IT_TAB   TYPE TABLE OF USER_TABLE WITH HEADER LINE,
          WA_TAB   LIKE LINE OF IT_TAB,
          ITAB     TYPE TABLE OF USER_TABLE.
    DATA: GR_ALV        TYPE REF TO CL_SALV_TABLE,
          GR_FUNCTIONS  TYPE REF TO CL_SALV_FUNCTIONS_LIST,
          GR_DISPLAY    TYPE REF TO CL_SALV_DISPLAY_SETTINGS,
          GR_COLUMNS    TYPE REF TO CL_SALV_COLUMNS_TABLE,
          GR_COLUMN     TYPE REF TO CL_SALV_COLUMN_TABLE,
          GR_LAYOUT     TYPE REF TO CL_SALV_LAYOUT,
          GR_SELECTIONS TYPE REF TO CL_SALV_SELECTIONS,
          GR_EVENTS     TYPE REF TO CL_SALV_EVENTS_TABLE,
          GR_LINES      TYPE REF TO CL_SALV_FORM_LAYOUT_GRID,
          G_LAYOUT      TYPE SALV_S_LAYOUT_INFO,
          KEY           TYPE SALV_S_LAYOUT_KEY,
          S_KEY         TYPE SALV_S_LAYOUT_KEY,
          COLOR         TYPE LVC_S_COLO,
          RIGHT_ALIGNED TYPE SALV_DE_ALIGNMENT,
          LARGE_HEAD    TYPE SALV_DE_HEADER_SIZE.
    DATA: USER          TYPE SY-UNAME,
          USER_SALON    TYPE SY-UNAME,
          LIST_TITLE    TYPE LVC_TITLE VALUE 'Multiple UPC Codes per Article'.
    INITIALIZATION.
      KEY = SY-REPID.
      RIGHT_ALIGNED = 2.   "1=left, 2=right, 3=centered. Must be TYPEd as SALV_DE_ALIGNMENT.
      USER = SY-UNAME+0(3).
      USER_SALON = SY-UNAME+3(4).
      SELECTION-SCREEN BEGIN OF BLOCK BLOCK1 WITH FRAME TITLE TEXT-001.
      SELECT-OPTIONS S_BNAME FOR USR21-BNAME.
      SELECT-OPTIONS S_LTYPE FOR USR06-LIC_TYPE.
      SELECT-OPTIONS S_TERM  FOR USR02-GLTGB.
      PARAMETERS P_VARI TYPE SLIS_VARI.
      SELECTION-SCREEN END OF BLOCK BLOCK1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_VARI.
      G_LAYOUT = CL_SALV_LAYOUT_SERVICE=>F4_LAYOUTS(
                 S_KEY    = KEY
                 RESTRICT = IF_SALV_C_LAYOUT=>RESTRICT_NONE ).
      P_VARI = G_LAYOUT-LAYOUT.
    START-OF-SELECTION.
      SELECT USR21~PERSNUMBER USR21~BNAME USR06~LIC_TYPE ADCP~FUNCTION USR02~GLTGB
             USR02~USTYP USR02~CLASS USR02~UFLAG USR02~PWDSTATE "PA0105~USRID PA0105~PERNR
        INTO CORRESPONDING FIELDS OF TABLE IT_TAB
        FROM ( ( ( USR21
        INNER JOIN ADCP
                ON ADCP~PERSNUMBER EQ USR21~PERSNUMBER )
        INNER JOIN USR02
                ON USR02~BNAME  EQ USR21~BNAME )
        INNER JOIN USR06
                ON USR06~BNAME  EQ USR21~BNAME )
    *    INNER JOIN PA0105
    *            ON PA0105~USRID EQ USR21~BNAME )
        WHERE USR21~BNAME       IN S_BNAME
          AND USR06~LIC_TYPE    IN S_LTYPE
          AND USR02~GLTGB       IN S_TERM.
      IF SY-SUBRC = 0.
        SORT IT_TAB BY BNAME LIC_TYPE ASCENDING.
        CLEAR ITAB.
        CLEAR WA_TAB.
        LOOP AT IT_TAB INTO WA_TAB.
          SELECT SINGLE * FROM PA0105
            INTO IT_P0105
            WHERE USRID = WA_TAB-BNAME.
          IF SY-SUBRC = 0.
            WA_TAB-PERNR = IT_P0105-PERNR.
          ENDIF.
          SELECT SINGLE * FROM PA0002
            INTO IT_P2
            WHERE PERNR EQ WA_TAB-PERNR
            AND ENDDA EQ '99991231'.
          IF SY-SUBRC = 0.
            WA_TAB-VORNA = IT_P2-VORNA.
            WA_TAB-NACHN = IT_P2-NACHN.
          ENDIF.
          CASE WA_TAB-LIC_TYPE.
            WHEN 'AX'.
              WA_TAB-LICENSE_AX = WA_TAB-LICENSE_AX + 1.
            WHEN 'AY'.
              WA_TAB-LICENSE_AY = WA_TAB-LICENSE_AY + 1.
            WHEN 'AZ'.
              WA_TAB-LICENSE_AZ = WA_TAB-LICENSE_AZ + 1.
            WHEN 'BA'.
              WA_TAB-LICENSE_BA = WA_TAB-LICENSE_BA + 1.
            WHEN 'BK'.
              WA_TAB-LICENSE_BK = WA_TAB-LICENSE_BK + 1.
            WHEN OTHERS.
              WA_TAB-LICENSE_OT = WA_TAB-LICENSE_OT + 1.
          ENDCASE.
          APPEND WA_TAB TO ITAB.
          CLEAR WA_TAB.
        ENDLOOP.
        TRY.
            CL_SALV_TABLE=>FACTORY(
                       IMPORTING
                         R_SALV_TABLE = GR_ALV
                       CHANGING
                         T_TABLE = ITAB ).
          CATCH CX_SALV_NOT_FOUND.
          CATCH CX_SALV_MSG.
        ENDTRY.
        TRY.
            GR_FUNCTIONS = GR_ALV->GET_FUNCTIONS( ).
            GR_FUNCTIONS->SET_ALL( ABAP_TRUE ).
            GR_DISPLAY = GR_ALV->GET_DISPLAY_SETTINGS( ).
            GR_DISPLAY->SET_VERTICAL_LINES( ABAP_TRUE ).
            GR_DISPLAY->SET_HORIZONTAL_LINES( ABAP_TRUE ).
            GR_DISPLAY->SET_STRIPED_PATTERN( CL_SALV_DISPLAY_SETTINGS=>TRUE ).
          CATCH CX_SALV_NOT_FOUND.
          CATCH CX_SALV_MSG.
        ENDTRY.
        TRY.
            GR_DISPLAY->SET_LIST_HEADER( LIST_TITLE ).
            GR_COLUMNS = GR_ALV->GET_COLUMNS( ).
            GR_COLUMNS->SET_KEY_FIXATION( ABAP_TRUE ).
          CATCH CX_SALV_NOT_FOUND.
          CATCH CX_SALV_MSG.
        ENDTRY.
        TRY.
            GR_COLUMN ?= GR_COLUMNS->GET_COLUMN( COLUMNNAME = 'PERSNUMBER' ).
            GR_COLUMN->SET_LONG_TEXT( 'Person Number' ).
            GR_COLUMN->SET_MEDIUM_TEXT( 'Pers#' ).
            GR_COLUMN->SET_SHORT_TEXT( 'Pers#' ).
            GR_COLUMN ?= GR_COLUMNS->GET_COLUMN( COLUMNNAME = 'BNAME' ).
            GR_COLUMN->SET_LONG_TEXT( 'Login Name' ).
            GR_COLUMN->SET_MEDIUM_TEXT( 'Login Name' ).
            GR_COLUMN->SET_SHORT_TEXT( 'Login' ).
            GR_COLUMN->SET_ALIGNMENT( RIGHT_ALIGNED ).
            GR_COLUMN ?= GR_COLUMNS->GET_COLUMN( COLUMNNAME = 'VORNA' ).
            GR_COLUMN->SET_LONG_TEXT( 'First Name' ).
            GR_COLUMN->SET_MEDIUM_TEXT( 'First Name' ).
            GR_COLUMN->SET_SHORT_TEXT( 'F. Name' ).
            GR_COLUMN ?= GR_COLUMNS->GET_COLUMN( COLUMNNAME = 'NACHN' ).
            GR_COLUMN->SET_LONG_TEXT( 'Last Name' ).
            GR_COLUMN->SET_MEDIUM_TEXT( 'Last Name' ).
            GR_COLUMN->SET_SHORT_TEXT( 'L. Name' ).
            GR_COLUMN ?= GR_COLUMNS->GET_COLUMN( COLUMNNAME = 'LIC_TYPE' ).
            GR_COLUMN->SET_LONG_TEXT( 'License Type' ).
            GR_COLUMN->SET_MEDIUM_TEXT( 'License Type' ).
            GR_COLUMN->SET_SHORT_TEXT( 'License' ).
            GR_COLUMN ?= GR_COLUMNS->GET_COLUMN( COLUMNNAME = 'FUNCTION' ).
            GR_COLUMN->SET_LONG_TEXT( 'Job Description' ).
            GR_COLUMN->SET_MEDIUM_TEXT( 'Job Descr' ).
            GR_COLUMN->SET_SHORT_TEXT( 'Job Desc' ).
            GR_COLUMN->SET_ALIGNMENT( RIGHT_ALIGNED ).
            GR_COLUMN ?= GR_COLUMNS->GET_COLUMN( COLUMNNAME = 'GLTGB' ).
            GR_COLUMN->SET_LONG_TEXT( 'Term Date' ).
            GR_COLUMN->SET_MEDIUM_TEXT( 'Term Date' ).
            GR_COLUMN->SET_SHORT_TEXT( 'Term' ).
            GR_COLUMN ?= GR_COLUMNS->GET_COLUMN( COLUMNNAME = 'USTYP' ).
            GR_COLUMN->SET_LONG_TEXT( 'License Type' ).
            GR_COLUMN->SET_MEDIUM_TEXT( 'License Type' ).
            GR_COLUMN->SET_SHORT_TEXT( 'License' ).
            GR_COLUMN ?= GR_COLUMNS->GET_COLUMN( COLUMNNAME = 'CLASS' ).
            GR_COLUMN->SET_LONG_TEXT( 'Class' ).
            GR_COLUMN->SET_MEDIUM_TEXT( 'Class' ).
            GR_COLUMN->SET_SHORT_TEXT( 'Class' ).
            GR_COLUMN ?= GR_COLUMNS->GET_COLUMN( COLUMNNAME = 'UFLAG' ).
            GR_COLUMN->SET_LONG_TEXT( 'Login Staus' ).
            GR_COLUMN->SET_MEDIUM_TEXT( 'Login Staus' ).
            GR_COLUMN->SET_SHORT_TEXT( 'Login OK' ).
            GR_COLUMN ?= GR_COLUMNS->GET_COLUMN( COLUMNNAME = 'PWDSTATE' ).
            GR_COLUMN->SET_LONG_TEXT( 'Password Status' ).
            GR_COLUMN->SET_MEDIUM_TEXT( 'Pswd Status' ).
            GR_COLUMN->SET_SHORT_TEXT( 'Pswd OK' ).
            GR_COLUMN ?= GR_COLUMNS->GET_COLUMN( COLUMNNAME = 'USRID' ).
            GR_COLUMN->SET_LONG_TEXT( 'Employee Login' ).
            GR_COLUMN->SET_MEDIUM_TEXT( 'Empl Login' ).
            GR_COLUMN->SET_SHORT_TEXT( 'Empl.' ).
            GR_COLUMN ?= GR_COLUMNS->GET_COLUMN( COLUMNNAME = 'PERNR' ).
            GR_COLUMN->SET_LONG_TEXT( 'Employee Number' ).
            GR_COLUMN->SET_MEDIUM_TEXT( 'Employee#' ).
            GR_COLUMN->SET_SHORT_TEXT( 'Empl#' ).
            GR_COLUMN ?= GR_COLUMNS->GET_COLUMN( COLUMNNAME = 'LICENSE_AX' ).
            GR_COLUMN->SET_LONG_TEXT( 'License AX' ).
            GR_COLUMN->SET_MEDIUM_TEXT( 'License AX' ).
            GR_COLUMN->SET_SHORT_TEXT( 'AX' ).
            GR_COLUMN ?= GR_COLUMNS->GET_COLUMN( COLUMNNAME = 'LICENSE_AY' ).
            GR_COLUMN->SET_LONG_TEXT( 'License AY' ).
            GR_COLUMN->SET_MEDIUM_TEXT( 'License AY' ).
            GR_COLUMN->SET_SHORT_TEXT( 'AY' ).
            GR_COLUMN ?= GR_COLUMNS->GET_COLUMN( COLUMNNAME = 'LICENSE_AZ' ).
            GR_COLUMN->SET_LONG_TEXT( 'License AZ' ).
            GR_COLUMN->SET_MEDIUM_TEXT( 'License AZ' ).
            GR_COLUMN->SET_SHORT_TEXT( 'AZ' ).
            GR_COLUMN ?= GR_COLUMNS->GET_COLUMN( COLUMNNAME = 'LICENSE_BA' ).
            GR_COLUMN->SET_LONG_TEXT( 'License BA' ).
            GR_COLUMN->SET_MEDIUM_TEXT( 'License BA' ).
            GR_COLUMN->SET_SHORT_TEXT( 'BA' ).
            GR_COLUMN ?= GR_COLUMNS->GET_COLUMN( COLUMNNAME = 'LICENSE_BK' ).
            GR_COLUMN->SET_LONG_TEXT( 'License BK' ).
            GR_COLUMN->SET_MEDIUM_TEXT( 'License BK' ).
            GR_COLUMN->SET_SHORT_TEXT( 'BK' ).
            GR_COLUMN ?= GR_COLUMNS->GET_COLUMN( COLUMNNAME = 'LICENSE_OT' ).
            GR_COLUMN->SET_LONG_TEXT( 'License Other' ).
            GR_COLUMN->SET_MEDIUM_TEXT( 'License Other' ).
            GR_COLUMN->SET_SHORT_TEXT( 'Other' ).
            GR_LAYOUT = GR_ALV->GET_LAYOUT( ).
            KEY-REPORT = SY-REPID.
            GR_LAYOUT->SET_KEY( KEY ).
            GR_LAYOUT->SET_SAVE_RESTRICTION( CL_SALV_LAYOUT=>RESTRICT_NONE ).
            IF NOT P_VARI IS INITIAL.
              GR_LAYOUT->SET_INITIAL_LAYOUT( VALUE = P_VARI   ).
            ENDIF.
            GR_ALV->DISPLAY( ).
          CATCH CX_SALV_NOT_FOUND.
          CATCH CX_SALV_MSG.
        ENDTRY.
      ENDIF.

Maybe you are looking for

  • How can I get a container to be the same size as all its children

    In my TitleWindow, I have two children that size themselves dynamically. No problem, TitleWindow also sizes itself to completely show both children. Now I have an additional child that I can only position correctly if I set TitleWindow's layout param

  • Creating a seamless PDF, version issues and re-ordering

    Hi, I'd like to create a PDF portfolio of my graphic design work. In the past I've created a PDF portfolio and added other PDFs or jpegs into them with difference pieces of work. However, is it possible to create a portfolio where a multi-page PDF (w

  • Payment method preference for APP - F110

    Hi All Experts, I have doubts regarding APP - F110. 1 ) While determining payment method for successful execution of APP what is the preference ranking ? Which level picked up first. 2 ) On additional log Tab how these 2 below option effects on payme

  • XI 3.1 Infoview HTTPS/SSL configuration

    How do I setup Infoview so I can access it via https from outside our LAN? Our environment currently runs on Tomcat 5.5 and I have SSO configured with vintela and kerberos. Everything works great and can access InfoView and CMC from inside our networ

  • ALL_ARGUMENTS information via JDBC Metadata

    Hi, I require METADATA information via JDBC: * Packages * Procedure and Functions inside the package * Arguments with name, datatype,precision,..... for each package function/procedure I only found the: - getProcedures - getProcedureColumns but this