Need suggestion to store change log history or creating a zlog table

Hello,
My requirement is to create a Ztable which will store the Hisotry  / change log of data.
I have a program where i am using insert / update for a database table LFBW and displaying the log in the ALV ouput.
I need the same to be updated on Transaction level of FK02 (where entries of Table LFBW gets reflected).
so can any1 suggest me how this can be achieved?
If there is no way to store change history while insert /update on database table from prgram level then what type of z table(Type of Delivery Class ?
Data class ? i should create for the same
Thanks,
Anoop

Hello Raymond Giuseppi,
Thanks for providing the above details.
* KRED_WRITE_DOCUMENT
=> I checked this FM and found that OBJECT ID is mandatory to create change log
     But while updating LFBW ( using insert / update command on LFBWin Zprogram ) it doesnt create
     any data in CDHDR ( didnt get any object id)
* VMD_EI_API Method MAINTAIN_BAPI
=>  that is for creation / updation of vendor master. Here, I am looking for updation of withholding Tax-type in FK02 (Database Table - LFBW)
* RFBIKR00 Report
Checking the same.
Regards,
Anoop

Similar Messages

  • Does change log history get lost in RAR AC when you move from 5.2 to 5.3?

    Since we upgraded to version 5.3 is appears as though we don't see any change log history for our functions under Rule Architect tab after we moved to 5.3. Does this make sense?

    You should not lose any entries. 5.2 to 5.3 upgrade would not remove anytning from database. You need to finish all the post-installation steps before you make any changes into 5.3.
    Regards,
    Alpesh

  • I have a Mac.  I need  suggestions on what program to purchase to create a few PDF files

    I have a Mac.  I need  suggestions on what program to purchase to create a few PDF files

    ~graffiti wrote:
    Why would you say that LiveCycle is the only thing to recommend (but isn't available for Macs) then bring up InDesign?
    If it can't be done by the Mac OS (she hasn't mentioned what she has) then it can be done with Acrobat. She asked about a program to create PDF files. That's pretty much what Acrobat does.
    where is whatI said.
    Being That LiveCycle designer is not availble for Mac. That would be about the only thing to recommend. InDesign Maybe but more pricey.
    The part I've underline refers to Acrobat.  InDesign Maybe but more pricey referes to, Indesign being more expensive than Acrobat.

  • Script for gather and store the log running queries details in a table?

    Hi All,
    Please suggest the best query that gather and store the long running queries details in a table.
    Thanks,
    rup

    The below links would help you...
    Ben Snaidero
    performance-dashboard

  • Change Log not being created

    Hello every one
    I have implemented the customer master enhancement using the baddis : 'CUSTOMER_ADD_DATA_CS' and 'CUSTOMER_ADD_DATA' , scenario is that, I have added a new tab, to customer master screen and the new screen under that tab has 4 fields, those 4 fields are appended into KNA1 table using append structure.
    hence my four fields on screen are:
    kna1-zzappno
    kna1-zzappdate
    kna1-zzfrmno
    kna1-frmdate
    , the problem I am facing is that, system is not logging any changes in any of the field of the screen, infact when i requested change document from menu, it gives the error: place the cursor on data field, on debugging i came to know that, in the method 'GET_FIELDNAME_FOR_CHANGEDOC' , E_FIELDNAME parameter is coming empty, I tried to pass the value of the field at run time through debugger, which although removed the said error, but returned the message that no field change document exist for the field, where as field's data has been previously changed, now I cannot figure out, how to enable change log recording on the fields which i have added as an enhancement to customer master screen (XD01 , XD02 etc.)..
    any help in this regard would of high appreciation,,,
    thank you.

    Hi,
    Change document are only created if the fields is set for change document.
    This you set at DATA ELEMENT level. If you go to any table, take any field, double click the data element of that field. On the data element displat screen on the definition tab, you will see a block "Attribute". In this "Attribute" block, there is a field call "Change Document".
    The change documents for table fields are only created if this "change document" flag is set. Check the documentation of this flag ( change document ) for more information.
    Regards,
    RS

  • 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

  • Change log in MIR4

    Hi Everyone,
    We have an issue where someone from user team is doing some changes in screen layout of MIR4 t code by going to tab CONFIGURATION > ADMINISTRATION. That user is making fields invisible for this purpose but its impacting all the user acroos.
    Now we are not able to find that which user is doing that change so that we can ask him not to do any change again.
    Kindly help us on this.
    Regards
    Deepak Garg

    Hi Shridhar,
    thanks for reply. Yes we have done that but problem is that the user is again doing those fields invisible & we are not sure that who are the user doing these changes.
    We need to find the change log for this one where we can see the who has done these changes so that we can prevent this
    Kindly suggest
    Regards
    Deepak Garg

  • BDC change log problem MM01

    Hi All,
    I had created a BDC on MM01 for creating materials in RIST from existing materials of RIMR.
    Everything went fine; however, the following issues were noticed in the change log:
    1. When the material is created at RIST its copying the change log history from RIMR and shouldn't. The change log for the RIST material should only have the date & user name when the material was created.
    2. I also noticed the RIMR change log is being updated with the date the RIST material was created and it shouldn't.
    I would be happy if anyone could resolve these issues.
    I need this urgently.
    <REMOVED BY MODERATOR>
    Thanks,
    Vishal.
    Edited by: Alvaro Tejada Galindo on Jul 9, 2008 11:44 AM

    refresh!!!

  • Read Change Logs of KP26/KP27

    Hello,
    How to read change logs of kp26 transaction. I am unable to view the change logs in CDHDR table. COST table contains all the information, but i need changes log history by date.
    Thanks
    -Always Learner

    Hello Rob,
    Thanks for your reply. If the changes are not available in CDHDR table, then that means that changes logs are not available for these transactions.
    We are able to see all changes logs in KP26 when we select any item and click on line item on application tool bar
    Could you please let me know if there is any way to capture changes logs for these transactions.
    Thanks & Regards
    -Always Learner

  • How to use the change log in ODS to track Delta change?

    People say that historical data (like Delta change) in ODS can be tracked in the Change Log.  How to use the change log to track historic data?
    Thanks

    Kevin
    See if it helps
    Every ODS object is represented on the database by three transparent tables:
    Active data: A table containing the active data (A table)
    Activation queue: For saving ODS data records that are to be updated but that have not yet been activated. The data is deleted after the records have been activated.
    <b>Change log: Contains the change history for delta updating from the ODS Object into other data targets, such as ODS Objects or InfoCubes for example.</b>
    An exception is the transactional ODS object, which is only made up of the active data table.
    The tables containing active data are constructed according to the ODS object definition, meaning that key fields and data fields are specified when the ODS object is defined. Activation queue and change log are the same in the table’s structure. They have the request ID, package ID and the record number as a key.
    Data base structure changes
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/d53ec3efdc9b47a9502c3a4565320c/frameset.htm
    Hope this helps
    Thnaks
    Sat

  • 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 Logs?

    SAP report RSVTPROT (report change logs) when I run it in prod I can pick up new/changed tables, in this case it is TVRO. However, when I run it in DEV it does not pick up the changes to the table. I checked the technical settings of TVRO in both environments and they are the same?
                      Thank-You

    I see in DEV where it is off in rec/client.....Thanks,  I need to reproduce a change log error in DEV, like in Prod where the rec/client is on. I wonder if there is any harm in doing this temporarily in DEV?

  • How to delete HR Infotype Change log

    Hi,
    I would like to know if there are any means to delete the HR infotype change log. I've already executed the standard program RPUDELPN to delete all the employee records every time an environment is refreshed from the production image, however both the long term and short term infotype change log can still be access. I need to remove those change logs as well to prevent unauthorized access to these confidential data.
    Thanks a lot.
    Francis

    Thanks. However, I'd like to know if I can delete the change documents that were already logged.
    My scenario is that in production environment, we have turn on the logging and change documents are already created. Now we have refresh the development environment with the production images, so I've to delete all the employee records as well as the change documents in order to prevent unauthorized access to these confidential information.
    The standard program RPUDELPN already delete all the employee records but not the change documents. Where and how can I delete both the long and short term document as well?
    Thanks.

  • How to capture - Custom tables change log

    Hi,
    I need to maintain the change logs for Cutom tables. But, my custom table contains the fields with data type DEC. So, i am getting the record as "####" for DEC fields.
    These values, i have captured in Table Maintenance generator Flow Logic Editor - In the loop of EXTRACT or TOTAL.
    PROCESS AFTER INPUT.
    MODULE LISTE_EXIT_COMMAND AT EXIT-COMMAND.
    MODULE LISTE_BEFORE_LOOP.
    LOOP AT EXTRACT.
    ENDLOOP.
    So, can you please help me to find the solution?
    Regards,
    Srinivas
    200AR99#u200C######   MUKKAVILLI  20090728
    200AT02###u200C####   MUKKAVILLI  20090731

    Hi,
    Please refer to the following link
    http://www.saptechies.com/how-to-activate-the-img-change-log/
    Track Table chnages
    Hope this helps.
    Regards,
    Swetha

Maybe you are looking for