Dictionary tables content history

Hi developers,
             does anybody know if there is a way to have an history about the content of a dictionary table? I mean not about its versions, just about the records it contained last month, last week, yesterday...
I need to know how its content changed with time, but I don't know how to do (and I'm not sure it's possible).
Thanx to all

Vijay,
Yes it can be done.  Change documents are created based on the data element of the field in the table.  The data element must be set to create a change document.  This is just the first step.  Posted below is the online help describing the change document field of a data element.  I looked into this several years ago and decided not to do it.  The work required was more than the time allowed.
Bruce
Indicator for writing change documents
Use
This flag is used to create change documents for business objects.
You can create a change document object for a business object. This change document object contains the tables in which the data of the business object is stored. Function modules that are called in the corresponding application programs and that log the changes at runtime can be generated from the change document object.
Logging only takes place if the fields whose contents were changed refer to a data element that was flagged as relevant for the change document.
You can go to the maintenance screen for change documents from the initial screen of the ABAP Workbench with Development -> Other tools -> Change documents.

Similar Messages

  • Dictionary table showing history of parameter changes ... fact or fiction?

    Guten Tag
    I understand there is a dictionary table/view/object that tracks changes to database parameter values but I can't seem to be able to find it.
    A co-worked mentioned that information is available in OEM so I figured there must be a table somewhere that is storing it.
    Any thoughts or documentation references are most welcome.
    Thanks very much!
    -gary

    >
    I assume the SNAP_ID in that table must be a reference to an AWR snap of database information?
    >
    Why assume? Not the definitive source but see this blog about the dba_hist tables
    http://it.toolbox.com/blogs/living-happy-oracle/oracle-the-dba_hist-tables-30168
    >
    The information in most of the DBA_HIST tables corresponds to the AWR snapshots (the SNAP_ID column tells us to which snapshot the information is relevant to) so they are populated with new information when a snapshot is taken and old information is purged along with the AWR snapshot according to the AWR retention settings.
    >
    The last bullet point in the article may answer your initial question. This is just the start - there is also a query you can use
    >
    ■Did you ever wonder if someone had changed a system parameter and did not inform you? No more, the DBA_HIST_PARAMETER keeps system parameter information for all snapshots and helps the DBA track any parameter.

  • Dictionary Table download in to Excel

    Dear All,
    i want to download the Dictionary table contents with field name ( Z tables and standard  tables ) into Excel, is there any standard FM or Report which will solve this purpose.
    user does't want to use se16 or se11 download facility, he wants direct execution after entering the table name.
    Pls suggest.
    Regards
    Raj

    Hi Raja
    Use this report to download any table in excel format :
    REPORT ztable_download.
    PARAMETERS p_tab LIKE rsrd1-tbma_val.
    DATA  : struct_type TYPE REF TO cl_abap_structdescr,
            itab_type   TYPE REF TO cl_abap_tabledescr,
            table_ref TYPE REF TO data.
    FIELD-SYMBOLS : <f_tab> TYPE STANDARD TABLE.
    START-OF-SELECTION.
      struct_type ?= cl_abap_typedescr=>describe_by_name( p_tab ).
      itab_type   = cl_abap_tabledescr=>create( struct_type ).
      CREATE DATA table_ref TYPE HANDLE itab_type.
      ASSIGN table_ref->* TO <f_tab>.
      SELECT *  FROM (p_tab) INTO TABLE <f_tab>.
      CALL FUNCTION 'DOWNLOAD'
       EXPORTING
            BIN_FILESIZE                  = ' '
            CODEPAGE                      = ' '
            FILENAME                      = ' '
         filetype                      = 'DAT'
            ITEM                          = ' '
            MODE                          = ' '
            WK1_N_FORMAT                  = ' '
            WK1_N_SIZE                    = ' '
            WK1_T_FORMAT                  = ' '
            WK1_T_SIZE                    = ' '
            FILEMASK_MASK                 = ' '
            FILEMASK_TEXT                 = ' '
            FILETYPE_NO_CHANGE            = ' '
            FILEMASK_ALL                  = ' '
            FILETYPE_NO_SHOW             = ' '
            SILENT                        = 'S'
            COL_SELECT                    = ' '
            COL_SELECTMASK                = ' '
            NO_AUTH_CHECK                 = ' '
          IMPORTING
            ACT_FILENAME                  =
            ACT_FILETYPE                  =
            FILESIZE                      =
            CANCEL                        =
        TABLES
          data_tab                      = <f_tab>
            FIELDNAMES                    =
       EXCEPTIONS
         invalid_filesize              = 1
         invalid_table_width           = 2
         invalid_type                  = 3
         no_batch                      = 4
         unknown_error                 = 5
         gui_refuse_filetransfer       = 6
         OTHERS                        = 7
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    I hope it helps
    Bulent

  • Problems with Java Dictionary Tables

    Hi Experts,
    I have some problems with the Java Dictionary tables that I have created for my
    application. There are around 15 dictionary tables, each one of them having
    several hundred records, added in due course.
    As much as I understand these tables (created using the dictionary perspective)
    are stored in the default schema of the J2EE engine where the dictionary project
    is deployed and there is no direct way to insert records into these tables, we have
    to separately write methods to insert, update and delete records.
    I've already done this. Now the problem is that i have moved my project DC from
    development to testing. Now here the tables are existing, but not the data that i
    inserted during development.
    NOW, the main question: IS THERE ANY WAY IN WHICH I CAN TRANSFER
    THE CONTENTS OF THESE JAVA DICTIONARY TABLES??
    I have tried solutions like creating a DBLINK between the databases, but it is
    tedious, and unpredictable in behaviour. Also Please do not advise to first
    download them to excel and then upload using jxlapi, etc.
    Thanx in Advance.
    Alka.

    Hi Alka,
    The dblink is a good solution, but just a bit slow. You can also use a SQL Loader, first export the data from the source table in a text file (i.e. using a tool like TOAD), then sql loader loads the data in the destination table. This is more fast.
    Hope this help,
    Vito

  • Trace on deletion from dictionary table

    Hi all experts,
    we can't figure out why some dictionary tables containing a thousands and thousands of documents are almost empty... :-@ Probably someone (who?) did run a report (what?) and cleared almost a table on a training SRM system.. We'd like to ask you if there's a way to check for modification on a table, e.g. a sort of trace, that could help us clarifying what happened on some dictionary tables's contents.
    Please can anyone provide a sort of howto? We passed from a BBP_PDHGP table containing a million of entries, while now it has less that one thousand....

    We found out that a scheduled job had stored the table contents just few ours before the deleting process had been started.
    We just restored the table from that backup.
    However, if the removed entries have been traced in system tables for modification, you could try to take a look at CDPOS/CDHDR tables in order to rebuild and historical trace of the modification that have been occourred (with timestamps).
    Good luck!

  • How to export table contents in xml file format through SQL queries

    hi,
    i need to export the table data in to xml file format. i got it through the GUI what they given.
    i'm using Oracle 10g XE.
    but i need to send the table name from Java programs. so, how to call the export commands from programming languages through. is there any sql commands to export the table contents in xml format.
    and one more problem is i created each transaction in two tables. for example if we have a transaction 'sales' , that will be saved in db as
    sales1 table and sales2 table. here i maintained and ID field in sales1 as PK. and id as FK in sales2.
    i get the combined data with this query,
    select * from sales1 s1, sales2 s2 where s1.id=s2.id order by s1.id;
    it given all the records, but i'm getting two ID fields (one from each table). how to avoid this. here i dont know how many fields will be there in each table. that will be known at runtime only.
    the static information is sales1 have one ID field with PK and sales2 will have one ID filed with FK.
    i need ur valuable suggestions.
    regards
    pavan.

    You can use DBMS_XMLGEN.getXML('your Query') for generating data in tables to XML format and you can use DBMS_XMLGEN.SETROWSETTAG to change the parent element name other wise it will give rowset as well as DBMS_XMLGEN.SETROWTAG for row name.
    Check this otherwise XMLELEMENT and XMLFOREST function are also there to convert data in XML format.

  • How to find out the aligning Data dictionary table for a structure.

    Hi
    As the table controls are associated with strucures, the data input goes to the data dictionary table aligned to that structure. Is there any way we can find out the table related to that particular structure ?
    Thanks,
    Dhareppa

    Hi,
    The structure and its fields may be associated with multiple database tables.
    You can try by where-used list of the structure/field and then you can look and determine the table by hit and try method.
    Also as suggested above you can try get the SQL trace and then ypu can look for table associated behind the structure/fields I believe this is the best way to find the DB table.
    Thanks,
    Ravi

  • Problem in page overflow with table contents having control level

    Hello members,
    My scenario is to display table contents from (Master Page)MP1 and then overflow to MP2 and use the MP2 for the rest of the overflowed pages too. In the form context, the table has control level grouping on a field(F1), which is set in context, because of which we can sub total for the group of records based on field F1.
    Take the scenario that the content area(CA1) of MP1 fits only 10 records and content area(CA2) of MP2 fits only 20 records.
    Test scenario 1:
    If the table contents have records upto 20, then MP1 gets filled with first 10 records and then MP2 with rest of the 10 records. This scenario works fine.
    Test scenario 2:
    If the table contents have records upto 5, then only MP1  with current 5 records gets filled. This scenario also works fine.
    Test scenario 3:( ISSUE BEING FACED)
    If the table contents have records upto 50,(which are more than the combined number of rows of MP1 and MP2) then no data is displayed on MP1 and data starts filling in next MP2 and only approx 22 records are visible where few even cross the content area of the MP2. And no over flow for the rest of the records happen.
    We use SFP Transaction in SAP to modify the layouts of the forms. Please let us know if the table having group set by control level causes any issue in this scenarion Test scenario 3.
    Thanks
    Vivek
    [email protected]

    Hi,
    master pages don't support page breaks. Those pages are only used for the background things of body pages like page numbers, company logs or letter head layouts.
    Don't use repeating objects on masterpages that may overflow its content area, this will always end up with unexpected results.
    Put all those objects on a regular page (body page) which allows page breaks.

  • Help required in creation of Dictionary table dynamically

    Hello All,
    I have created DDIC table created dynamically.
    But what i require is! the dictionary table which i have created should be under the package name as given by the customer.
    I have seen in FM DDIF_TABL_PUT  the parameter dd02v-APPLCLASS is the write parameter to create the table under the required package. This field is of length char 4 only.
    Normally the package name will be greater than char4 and also it happend in my case that the package name is more than char4.
    Now i am unable to create the table dynamically under the specified pacakage of the customer
    How can i solve this problem?
    Can any one help me in this issue?
    Regards,
    Gupta

    Hi Lakshman,
    Thank you for your reply,
    I have used the FM which you have mentioned but i didn't work. I mean when i see the attributes of the table, package is still empty.
    Can you help me to solve the problem.
      CALL FUNCTION 'TR_TADIR_INTERFACE'
        EXPORTING
    *     WI_DELETE_TADIR_ENTRY                = ' '
    *     WI_REMOVE_REPAIR_FLAG                = ' '
    *     WI_SET_REPAIR_FLAG                   = ' '
    *     WI_TEST_MODUS                        = 'X'
          wi_tadir_pgmid                       = 'R3TR'
          wi_tadir_object                      = 'TABL'
          wi_tadir_obj_name                    = lv_objname
    *     WI_TADIR_KORRNUM                     = ' '
    *     WI_TADIR_SRCSYSTEM                   = ' '
    *     WI_TADIR_AUTHOR                      = ' '
         wi_tadir_devclass                    = 'ZV/HF/PLANNING'
    *     WI_TADIR_MASTERLANG                  = ' '
    *     WI_TADIR_CPROJECT                    = ' '
    *     WI_TADIR_VERSID                      = ' '
    *     WI_REMOVE_GENFLAG                    = ' '
    *     WI_SET_GENFLAG                       = ' '
    *     WI_READ_ONLY                         = ' '
    *     IV_SET_EDTFLAG                       = ' '
    *   IMPORTING
    *     NEW_GTADIR_ENTRY                     =
    *     NEW_TADIR_ENTRY                      =
       EXCEPTIONS
         tadir_entry_not_existing             = 1
         tadir_entry_ill_type                 = 2
         no_systemname                        = 3
         no_systemtype                        = 4
         original_system_conflict             = 5
         object_reserved_for_devclass         = 6
         object_exists_global                 = 7
         object_exists_local                  = 8
         object_is_distributed                = 9
         obj_specification_not_unique         = 10
         no_authorization_to_delete           = 11
         devclass_not_existing                = 12
         simultanious_set_remove_repair       = 13
         order_missing                        = 14
         no_modification_of_head_syst         = 15
         pgmid_object_not_allowed             = 16
         masterlanguage_not_specified         = 17
         devclass_not_specified               = 18
         specify_owner_unique                 = 19
         loc_priv_objs_no_repair              = 20
         gtadir_not_reached                   = 21
         object_locked_for_order              = 22
         change_of_class_not_allowed          = 23
         no_change_from_sap_to_tmp            = 24
         OTHERS                               = 25
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Regards,
    Lisa
    Edited by: Lisa Roy on Apr 9, 2008 11:37 AM

  • How to store variable length of data in data dictionary table

    hi friends
        i want to store variable length of text in one of field of table which is created in data dictionary.
        i tried it by declaring table field type as string,
    include that table using table statement and try to insert data in abap program . but it gives error something
    "cannot use table having deep structure " i don't remember it exactly.
          can you help me how to insert variable length of data in text data dictionary table.

    Hi,
        define field with type LRAW in your table to store
        string more than 255 characters.
          LRAW                                                                               
    Uninterpreted byte string of arbitrary length, but with a minimum                   
          length of 256. Fields of this type must be located at the end of                    
          tables and must be preceded by a length field of type INT2. LRAW                    
          fields cannot be used in the WHERE condition. LRAW is functional from               
          Release 3.0.                                                                        
    Regards
    amole

  • Icons in data dictionary table

    how do i get icons in a data dictionary table.
    i make this:
      DATA: BEGIN OF ls_structure,
            list TYPE TABLE OF dictionarytable,
            END OF ls_structure.
      DATA: wa_list LIKE LINE OF ls_structure-list.
      LOOP AT ls_structure-list INTO wa_list.
        wa_list-zdate = wa_list-datatime(8).
        wa_list-ztime = wa_list-datatime+8.
        wa_list-zlights = '@5C@'.
        INSERT dictionarytable FROM wa_list.
      ENDLOOP.
    my dictionary table has a field with zlight which is type icon_d.
    but when i look in the table the column is empty..........

    Hi,
    I wrote a sample code for your reference:
    include <icon>.
    tables zicon.
    zicon-id = '111111'.
    zicon-icon = icon_checked  .
    insert into zicon values zicon.
    for icon, I also used the type icon_d.
    Hope it helps.
    Regards,
    Chris Gu
    Edited by: Gu Chris on Nov 20, 2008 3:33 AM

  • Problem in creating 800 client to see table content .

    HI,
        I am new to sap .  I have ideas 4.7 in windows 2003.  i can see table content under user sap* and password 060719* . I  have created a user sapuser . through client 000 , i can create create abap program , but could not find ant table content like mara . at first time  after creating sapuser , it asked me the access key. i gave 36687663221261278694 and it has taken . but to see table content , i created a new user as partha in client 800. but at first time at the time of logging it is asking the access key. though i am giving same key it is not taking .
       1) is there any other key for that educational version ?
       2) how to crreate a user in client 800 . pls give step by step procedure .
       3) for creating a user under client 800 . should i delete my sapuser created under 000 client.

    Hi Jack,
    First of all, the client 000 is one of the standard clients that comes with any SAP R/3 installation (with client 001 and 066 (for EarlyWatch for SAP auditory purposes)). To work with the system you should always make a copy of the client 000 or 001 to a new client i.e. client 200, 400, or whatever name.
    In the case of IDES, the system always comes with the client 800, where you can find all the IDES configuration and data (for test, training, sandbox). If you want to work in the system you should work on this client (800). To check the tables you can always use transaction se12 (table structure: fields, keys) and se16 to see the table content. If you want to create users you should always do it in the client 800 or any other client you've created (not in the standard ones 000, 001, 066, try to maintain these clients clean of any custom data).
    To view the tables data you dont need any key.  The keys are requested when you want to register a developer user (to create a new abap program (all the new programs must start with Z (or X,Y) to differentiate from the standard SAP programs. The keys are also requested when you want to edit a standard program or table or any other standard SAP object.
    1) To get the keys for any SAP system (there are 2 types of keys: developer user and for editing any standard object) you must log on the OSS service (with the user and password provided by SAP when you got your SAP software) : service.sap.com/sscr. Here you use the installation number of your IDES system (the system must be registered in OSS) and then you can create your developer users or standard object keys.
    2)To create a user in any system you need to go to transaction SU01. Here you can make a copy of SAP* user for example (choosing in the trx the button copy) to create your new user. you assign a password to the user and save it. You need to login again on the system and put your new password. This is the easiest way, otherwise you can create a user from zero but you will need to add more information to the user. To start you can create a copy of SAP* or DDIC users.
    3) Yes, I suggest you delete the user you've created in client 000, try to keep it clean of any customer modifications (you could leave it there but is not a good practice).If you want to work with your IDES system and the IDES data, use the client 800.
    Good luck,

  • API or Trick to Access Decision Table Content

    Hi,
    I am modeling a BPM process which calls web services based on a BRM rule with a decision table. In the beginning I need to read the decision table content into the BPM process context (in order to get the selection condition for reading objects from an SCM system). Is there a way I can access the content of this BRM decision table (via web service, java or any other way)?
    Thanks,
    Eduard

    Hi Eduard,
    From what I understand(from the post and my brief discussion with Michael Hill few days back), there are a set of work orders in the SCM system that you want to read and see if they meet the scrap tolerance level. But the Decision Table doesnt have scrap tolerance level defined for all combinations of product type/date etc.
    So you want to
    (1)initially get the parameters for which scrap tolerance is defined (read the contents of decision table)
    (2)get only those work orders from the SCM (filter outside rules)
    (3)check if these work orders satisfy the scrap tolerance level (rule execution)
    Please correct me if I am wrong.
    Can we remove the steps (1) and (2) and instead get all the work orders from the SCM system and see if they satisfy the scrap tolerance level(only rule execution, filtering is also done in rule). For work orders whose scrap tolerance is not defined, the decision table will not return the default value. So if the default value is returned(filtering), no check is made if scrap is within tolerance.
    Please let me know your opinion.
    Regards,
    Sowmya

  • Collection of stats prior to 10g upgrade for dictionary tables

    Collection of stats prior to 10g upgrade for dictionary tables is required? I thought if you are upgrading from 9i to 10g the stats in 9i become stale in 10g.
    I read a document that says you need to collect stats prior to upgrade and import them once your upgrade is done. Can someone guide me?

    I don't know where did you get these? There's some optimizer improvement and new feature in 10g. Collecting stats before upgrade and import later is unheard of.
    I suggest you check this article
    Choosing An Optimal Stats Gathering Strategy
    http://structureddata.org/2008/03/26/choosing-an-optimal-stats-gathering-strategy/
    and the white paper mentioned,
    White Paper entitled Upgrading from Oracle Database 9i to 10g: What to expect from the Optimizer.

  • DYNAMIC CHANGE OF TABLE CONTENTS IN WEBDYNPRO VIEW

    Hi,
      I have a requirement to display a table contents, and there are two buttons, When i select some records and clk on a button i need to delete these records in the database table as well as in webdynpro view.
    I am able to delete the records in database but the contents of table in view of webdynpro remains unchanged. Can anyone tell me how to delete the contents in the view also??
    Regards
    Naveen

    Hi Naveen,
    You need to Refresh the data you are binding to the table to make the latest data
    visible on the screen.
    On action of the button you are deleting entries from the database. After this
    Fetch data again from the database and bind to the node of the table.
    Hope this solves your problem..
    Regards,
    Ismail.

Maybe you are looking for

  • Equivalent to SpreadSheet? (I need to merge cells)

    Hey all, I'm making a program dealing with scheduling. Now i need something that works as a Spreadsheet. a lot of you may say 2 use JTable, but there's a problem with that idea, i can't merge cells. For example The Columns are days of the week, Rows

  • SAP BI DATE FORMAT

    Hello Experts, I have made a flat file extractor .  Flat file is coming from Another third part database. Date format in flat file is in form DD/MM/YYYY  .  but in BI we do not have date dormat DD/MM/YYYY. My Question is how we can add this date form

  • Logic will not launch after I installed OSX 10.4

    When I click on logic it keeps giving me a error message ( logic has unexpectedly quit) I have also updated logic w/ the latest update. What could be the problem? this is the error Date/Time: 2006-08-15 22:51:07.390 -0400 OS Version: 10.4.7 (Build 8J

  • CE - Turning off caching

    I have a CE510 and I also run SmartFilter. To a degree the caching has been more problems than what it is worth. I am constantly plagued by users having problems with forms, search sites, redirects, etc.... I would like to turn off caching! I will be

  • Review and merge changes dialog not displaying in-browser edit changes

    I've started to try out the in browser editing capabilities on third party hosting of Muse 2014 but have come against an issue with synching changes back to my local .muse file. I have made some test changes to the site via the in-browser editor and