NWBC Change Logs

Hi All,
I am working on SAP transportation management (TM) system which uses NWBC. All end users access NWBC and perform various transactions like Create Booking, Change Booking etc.
Change logs are not being captured in any of the change tables (CDHDR and CDPOS). I browsed in google and came across concept called Context Log Changes for Webdynpro applications.
https://help.sap.com/saphelp_nw70ehp1/helpdata/en/17/023e63ac50439e83d4ed8573df0938/content.htm?frameset=/en/47/af752005c92fe1e10000000a42189d/frameset.htm
I have executed the demo existing in my system and demo shows that the whatever changes being done by the users in NWBC can be captured using this context change logs.
We are looking to implement this for our project, but before that we have few queries.
1. Where do these context logs gets stored if i enable them?
2. Our TM system is being integrated with GRC system, so if the change logs gets recorded in change tables (CDHDR and CDPOS), GRC can read them.
3. Does this show any performance issues for our system if enabled?
Experts please suggest.
Thanks,
Sai.

I don't really understand how this is related to NWBC (which is a client) but I will try to answer your question: the context change log functionality works only with the Web Dynpro ABAP runtime and the logs are not persisted, they exist only during the runtime eg. lifetime of the Web Dynpro ABAP component. The context change log has to be enabled for each Web Dynpro ABAP component so in case you are using standard SAP functionality, you would have to modify standard SAP applications and that is something you don't want to do. There are existing frameworks which utilize the context change log functionality and build a wrapper on top of it, PLM Web UI is one. If you want to discuss the context change log functionality further, create a new discussion thread in the Web Dynpro ABAP space.
The change document tables you refer to (CDHDR and CDPOS) are populated only if the application implements the change documents API, not all applications do. Instead you should probably look at table logging if the requirement is to log all changes. See SAP note 139418 for details. Consider however the space requirements and negative performance impact of table logging.

Similar Messages

  • SAP TM Change logs

    Hi All,
    I am working on SAP transportation management (TM) system which uses NWBC. All end users access NWBC and perform various transactions like Create Booking, Change Booking etc.
    Change logs are not being captured in any of the change tables (CDHDR and CDPOS). I browsed in google and came across concept called Context Log Changes for Webdynpro applications.
    https://help.sap.com/saphelp_nw70ehp1/helpdata/en/17/023e63ac50439e83d4ed8573df0938/content.htm?frameset=/en/47/af752005c92fe1e10000000a42189d/frameset.htm
    I have executed the demo existing in my system and demo shows that the whatever changes being done by the users in NWBC can be captured using this context change logs.
    We are looking to implement this for our project, but before that we have few queries.
    1. Where do these context logs gets stored if i enable them?
    2. Our TM system is being integrated with GRC system, so if the change logs gets recorded in change tables (CDHDR and CDPOS), GRC can read them.
    3. Does this show any performance issues for our system if enabled?
    Experts please suggest.
    Thanks,
    Sai.

    Hi Sai,
    Please try the standard change document function.
    1.Set the change doucment flag in type definition.
    2.The change object would be tracked.
    3.The changes stored in CDHDR and CDPOS.
    Best Regards
    Clark Huang

  • Change Logs for TCODE -- FILE

    Hi Friends,
        Please help me in finding the change logs  for the TCODE  FILE,
        i.e  The changes made to the Logical paths
       I had tried  Utilities---->change logs , but unfortunately i cannot find any changes logs
       But there are changes made to the logical paths in my system but i cannot see them in change logs
    thanks
    chandrasekhar j

    rec/client is a profile parameter, you can view the settings in transaction RZ10.  However I find program RSPARAM more useful, the report lists all system parameters with their default and altered value.  Also if you double-click on a parameter you can get to the full help text for its meaning.
    The parameter essentially switches on table change logging for configuration tables (based on the technical settings of the table) and has to be set before the changes are made.
    Hope this helps.
    Nick

  • Change Log Data from DSO to CUBE

    Hi Experts,
      Is it possible to load/transfer change log data as well from DSO to Cube
    Thanks

    Hi,
    Yes it is possible.
    Create a DTP from DSO to cube.
    In the extraction tab of DTP choose the option
    Datasource Change log
    Hope it Helps!!
    Reward if useful
    Manish

  • Filled fields become blank in DSO change log

    Hi experts,
    I find an unusual behavior in DSO activation.
    For some records for which I find in PSA, new data table (and in debug also!!!) correct data, when the request is activated I find in change log table all characteristic fields empty; the key fields and key figure fields are ok and correct in all tables.
    It happen randomly for some orders and for a few requests.
    It happen when I have one storno record, for example:
    PSA (order, item, customer, material, storno, quantity)
    10000, 10, AAA, YYY, , 25
    10000, 10, AAA, YYY, X, -25
    DEBUG (order, item, customer, material, storno, quantity)
    10000, 10, AAA, YYY, , 25
    10000, 10, AAA, YYY, X, -25
    CHANGE LOG (order, item, customer, material, storno, quantity)
    10000, 10, AAA, YYY, , 25
    10000, 10, , , X, -25
    ACTIVE DATA (order, item, customer, material, storno, quantity)
    10000, 10, AAA, YYY, 25
    In some other cases:
    ACTIVE DATA (order, item, customer, material, storno, quantity)
    10000, 10, , , -25
    Have you some ideas? It is very strange.
    We are on a 7.0 BW system, but with 3.5 data flow (update rule).
    Thanks in advance.

    Vito,
    This happens some times...
    1. Did you transport any change to this DSO where characteristics were added and are these the ones that are blank...
    When this happens - see if you can clear the change log ( if this is an option ) and then reactivate the cube.
    Also there is a program to regenerate the activation program, I am not able to locate this - but then usually reactivating the ODS will usually clear this issue because it regenerates the activation program.

  • 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

  • Sales Orders Change Log question

    Hi All,
    I am currently working on a project that involves querying SAP Database to get custom reports via web browser, I've made a lot of advances and most of the site is ready but I'm missing just one item that I hope you could help me.
    Thing is I am working with the Sales Order change log and the problem comes one a user deletes a row. If I go to the change log inside SAP and see the differences a new record will be shown saying that row X was deleted and
    if I go to the database (ADOC and ADO1 tables) I don't have a way to see wich row was deleted.
    My way of doing this is to check for the number of rows on the current state of the sales order and check the same on the previous instance of the SO and see if a line was deleted. Then I would have to check row by row between instances what rows are there and what row is missing and store that info. I think this kind of approach will definitively kill the server.
    I was wondering if some one can give me a hint about how to approach this problem. Does any body know how SAP works on this area?
    I'm working with SAP2005A and SQL Server 2005 Standard Edition.
    Any help is greatly appreciated.
    Thanks!
    Alejandro.-

    Hola Alejandro,
    Thanks for your answer, as I see it I'm doing exactly what you proposed but the problem comes with the following scenarios:
    a.- If I post a new SO with two lines I will have on the ADO1 table two records with the values 0 and 1 for each line respectively but if I delete the item on LineNum = 1 and then I add a new item, this last item will be also created with LineNum value = 1. This is not a complicated thing to do but the problem comes when the user is used to work with SOs with several items at detail level and is used to add and erase lines once in a while and as I see it it's very difficult for me to track those specific changes. There's also the fact that on the Log table a new instance is created every time the user hits the update button regardless if a modification was actually made or not. I mean I would know that a line was deleted or added but I would have to start comparing each field on each line of a sales order with it's previous instance to check what was actually added/deleted and I'm afraid that this may affect the server performance. I know that SAP does this without affecting to much the system resources and that is what I'm trying to find.
    I forgot the other scenario I was considering he he I will post again as soon as I remember it but I hope I'm explaining this ok (I'm not very good at explaining...) If not let me know and I'll try to explain again.
    I'm also working on trying to get another approach to see what comes up...
    Thanks for checking this thread, your answers are helpful.
    Regards.

  • HOW TO USE FUNCTION Deletion of Requests from the Change Log IN PRCSES CHAN

    Respected all
    i used Deletion of Requests from PSA from the prcess chain and found good results, now i have only one request at the psa and thus i am doing good space utililisation. but when i am using Deletion of Requests from the Change Log i am not getting any changes in the request of dso. kindly let me know how to use this 2nd function.
    thanks
    abhay

    Hi Mahodaya,
    As per SAp standards its good to delete the requestes that are no longer needed for the delta update and no longer used ffor inti from the change log table and the data is loaded already in to DSO.
    Goto RSPC
    Click on create New PC -> enter the PC name n long descp
    Next we need to define the start process for the PC.Maintain the start variant process.save n come back.
    for deletion of change log we have option in the Other BW Processes -> deletion of requestes from change log
    Once u select the option we get a dialoge box here we need to create the variant for the process enter the process variant n long descp. cick ok.
    Next in the maintenance screen for the deleting the request from change log table will appear.
    Enter the selection patterns to which the requestes should be deleted from the change log.
    In the maintenance screen, select one or more Data Store objects for which requests are to be deleted from the relevant change log tables under Data Store Object column and select theInfo Area of the corresponding Data Store Objects under Info Area
    If you select the first check box exclude selction pattern, this means that del of requests from change log table will be ignored.
    or
    We can delete the requests which are Older than N-number of days (or) date in the above screen. For this one, enter the number of days (or) date in the filed Older than .
    OR
    If we want to select the requests with a certain status then we can also do in the above screen. We can select the following status indicators from the above screen.
    Delete Successfully Updated Requests Only -This status will delete only requests which
    are successfully updated into corresponding Data Store objects.
    Delete Incorrect Requests that were not Updated - This status will delete only incorrect requests which are not successfully updated into the corresponding Data Store Objects.
    Delete Activation Requests only, No Load requests- This status will delete only the activation requests (requests that begin with ODSR_... ). No load requests are deleted.

  • 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

  • Change log issues-2 images for a single requests

    Hi ,
    in change log table for a single request i found 2 before images and two after images, is this normal behaviour if not when can we see the such type of scenarios.
    because it leads to zero records when it isn updated in to the further data targets.
    thanks.

    the listener is NOT involved with any existing session.
    stopping & restarting the listener has NO impact on existing sessions.
    I suggest it is better to control network access to any system using a Firewall which is the best tool for this task.
    Yes, it is possible to have more than 1 listener. It is also possible to poke yourself in the eye with a sharp pencil.
    I suggest that you should avoid both of these possible activities.
    Simply put having multiple listeners is wrong for multiple reasons & should be avoided.

  • Error while Changing log level in Agentry 6.0.44.1

    Hi ,
    I am trying to change the log level from the Agentry Administration client, but i am getting the below error message.
    And it is showing any option to change the log levels for users. How can I change log level for users also.
    How can I resolve this error.
    Regards,
    Shyam

    Shyam,
    This is fixed or planned fixed in 6.0.46 Agentry Server (supposed to be available anytime soon in the Service Marketplace - it was submitted already to the SMP team). The fix was in SMP 2.3 and SMP 3.0 but it was ported back to the Agentry 6.0.X release. If you have no access to the Agentry 6.0.X patches this means that your SAP License is preventing you from downloading it. You may need to contact the SAP CIC (customer interaction center) group.
    Or you can do the manual setup for a workaround for now.
    SAP KBA article: 2048202 - AgentryGUI does not allow to change log settings - Not all setttings were successfully changed.
    Regards,
    Mark Pe
    SAP Senior Support Engineer (Mobility)

  • How to delete Change log data from a DSO?

    Hello Experts,
    I am trying to delete the change log data for a DSO which has some 80 Cr records in it.
    I am trying to follow the standard procedure by using the process chain variant and giving the no.of days but somehow data is not getting deleted.
    However the process chain is completing successfully with G state.
    Please let me know if there are any other ways to delete the data.
    Thanks in Advance.
    Thanks & Regards,
    Anil.

    Hi,
    Then there might something wrong at your Chang log deletion variant.
    can you recreate changlog deletion variants and set them again.
    Ty to check below settings with new variant.
    Red mark - won't select
    Provide dso name and info area, older than and select blue mark.
    blue mark - it will delete only successfully loaded request which are older than N days.
    Have you tested this process type changlog deletion before moving to prod per your data flow?
    Thanks

  • A function module to add an entry to the change log of the ODS needed

    Hi all,
    I want to add an entry to the change log table of the ODS .
    Is there a Function module available for this or a work around for this.
    Regards
    Akshay

    Hi Kiran,
    You can directly add days to the date.
    Eg:
    DATA date LIKE sy-datum.
    DATA days TYPE i.
    date = sy-datum.
    days = 100.
    date = date + days.
    WRITE date.
    Regards
    Wenceslaus

  • How to find out the top ten Change log tables in BW

    I want to know the top ten change log tables in terms of size. Do we have a SAP standard table where we have the following fields : "changlog table name", "number of records" field or "data in size" field.
    Regards,
    Prashant M J

    Hi,
    Click on change log table in the ODS/DSO at the top you see the name as /bic* which is the name of the database table which could also be seen at SE11.
    If you wana see the requests in this change log use rstsodsrequest
    and if you wana see the size in terms of kb, mb DB02 or st04
    use the table name /bic* and click on tables and indexes option in history tab
    DB02 tells you the sizes of the tables present on database. Incase you are not able to your basis team would help you in that
    Thanks and regards
    Kiran

  • 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

Maybe you are looking for