Show Differences on Change log

Hi,
    Has anyone written a function in their addon/stored procedures that analyzes the difference between 2 selected instance on the Change log window? If yes, would you be willing to share the code. I have a need to do it as part of a custom addon. Just wanted to reach out to see if someone had already doen it before?
Gopal

Dear Gopal,
Probably the followng thread might help you out.
[Link JDT1 and INV1;
REgards
ARshdeep

Similar Messages

  • Changes to an order through Call Transaction not showing up in change log

    I m having a problem such that if I update an order programmatically with Call Transaction u2018VA02u2019, the order does get updated updated but I donu2019t see the changes in the change log. I m only updating the order quantities. However if I update the same order quantities manually by going to TCode VA02. The changes do get shown in the change log from the Environment u2013> Changes menu. Can you please help.
    Following is the simple recorded code.
    PERFORM bdc_dynpro      USING 'SAPMV45A' '0102'.
    PERFORM bdc_field       USING 'BDC_CURSOR'
                                  'VBAK-VBELN'.
    PERFORM bdc_field       USING 'BDC_OKCODE'
                                  '/00'.
    PERFORM bdc_field       USING 'VBAK-VBELN'
                                  '10655'.
    PERFORM bdc_dynpro      USING 'SAPMV45A' '4001'.
    PERFORM bdc_field       USING 'BDC_OKCODE'
                                  '=POPO'.
    PERFORM bdc_dynpro USING 'SAPMV45A' '0251'.
    PERFORM bdc_field  USING 'BDC_CURSOR'  'RV45A-POSNR'.
    PERFORM bdc_field  USING 'BDC_OKCODE'  '=POSI'.
    PERFORM bdc_field  USING 'RV45A-POSNR'  '10'.
         PERFORM bdc_field       USING 'BDC_CURSOR'
                                       v_rowid.
    PERFORM bdc_dynpro      USING 'SAPMV45A' '4001'.
    PERFORM bdc_field       USING 'BDC_OKCODE'
                                  '=SICH'.
    PERFORM bdc_field  USING 'BDC_CURSOR'  'RV45A-KWMENG(01)'.
    PERFORM bdc_field       USING 'RV45A-KWMENG(01)'
                                   '7'.
    PERFORM bdc_dynpro      USING 'SAPLSPO2' '0101'.
    PERFORM bdc_field       USING 'BDC_OKCODE'
                                  '=OPT1'.
    CALL TRANSACTION 'VA02'
                     USING t_bdcdata
                     MODE   'A'
                     MESSAGES INTO t_messtab.
    COMMIT WORK AND WAIT.
    IF sy-subrc NE 0.
    ENDIF.

    Could not find answer

  • Changes to an order not showing up in change log

    I m changing item quantity of sales order items by both Call Transaction as well as
    'BAPI_SALESORDER_CHANGE', however in neither case if I open the changed order in VA02 and go to Environment->Changes menu. I dont see the changes at all.
    What could be the problem? Because the order quantities ARE getting changed successfully.

    Hi,
    I am not very sure but You might need to check for the Change Pointer's activation in your SAP System globally and at the level of Sales Order.
    USe Txn SALE for this.
    https://help.sap.com/saphelp_nw04/helpdata/en/78/2178da51ce11d189570000e829fbbd/content.htm
    how to find change in sales order

  • Want to Find Table name of Show Differences Values from Change Log of Bills of Material

    Dear Experts,
    I Add and edit the data of Bills of Material Form in SAP B1.
    I know that with using change log i can find out the history
    to change that particular record.
    I also know that It Use AITT and ATT1 for History Data to be saved.
    but when i click on Show Differences button then it will display details history
    but i can't find out that table that data are display in Show Difference.
    I hope you all are understand my requirement.
    Thanks & Regards,
    Nishit Makadia

    Hi Nishit...
    There is no separate table for the History, it is a query driven report shown in the show in the change log.
    if you need to understand the change u need to check with the history tables....
    hope helpful
    regards
    Kennedy

  • 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

  • WBS Report Showing Change logs - ex: system status

    Hi,
    I would like to know if there is any report that would show the change log for AVAC for WBS Elements (i.e. change data of system status).  I tried running CN60 but it does not give any results.
    Thanks!
    Vivian

    Hi Sarang,
    Thanks for your reply.
    Would you know if there is any specific report for this instead of having to look up individually?
    Also, in order to view the change document for both Project Definition and WBS Element, I understand there is some config that need to be done. Could you confirm if below are complete / correct?
    - project profile - tick on change document (OPSA)
    - Project Definition and WBS Element status profile (user status profile) - set business transaction to allow "create change document"
    Thanks!
    Vivian

  • Change Log problem

    Dear all,
    Would like to know about the Module -> Change log, i have searched about the help file but it doesn't mention about the color meaning in the Change log.
    Can somebody kindly tell know what does the green color and blue color means in the Change log?
    In BP master, I've highlighted two rows and press the Show Differences button to see the changing, but for example, it only show the changing of some fields( just for example the User Signature field but not the Telephone 1 field)
    thank you very much

    Hi Tac,
    You can check the following thread where the same is already been discussed and would be helpful in your case as well :
    Re: Change Log - Differences Window
    Regards,
    Jitin

  • How to see more instances in the Change Log?

    I'm using SAP B1 v8.82
    When I pull up the change log it might show that a Sales Order has had 12 instances of changes, but it will only show the last 2 users who made changes and it will only show differences between the current version and the version of it before the most recent change.  How can I make it show more?

    Hi,
    What do you mean by current and old version? Any changes in history log under general settings-->service tab?
    Thanks & Regards,
    Nagarajan

  • Query to "Show Differences"

    Hi,
    I am wanting to set up an alert for certain users when a particular field in a document is changed.  I can track when a change is made through ADOC but I'm not quite sure how to track what field has changed and show the old and new values, like the 'Show Differences' button in the Change Log does.
    Does anyone have a query or any suggestions that will help me get this data?
    Thanks,
    Michael

    Hi Michael,
    Have you searched the forum?
    You may check this to start: Re: Query For Sales Order Amendments
    Thanks,
    Gordon

  • UDO Change log error

    Hi,
       I created a UDO in B1 2007 and enabled the option to log changes i.e. Change log functionality. I created a custom form as the UI for the UDO. The following functionality works without issues:
    1. Able to add/update data via the custom screen into the UDO tables
    2. Every time i make a change a new instance of the record is avaialble in the AXXXX tables i.e. the log tables.
    3. When I click on Tools --> Change Log i see a line there for each instance in the AXXXX table.
    My issue is:
    When I select 2 instances on this window and click "Show Differences" button, I get a red message on the status bar saying "Internal error (1) occurred [Message 131-183]".
    My questions are:
    1. My understanding is B1 will show the differences like it does on any other document form i.e. Sales order, quote etc. Do we need to do any custom programming?
    2. In stnadard sales order, you have the ability to double click on each instance to see the details of that record. Is it possible with a UDO or does that have to be custom programming?
    Thanks,
    Gopal

    Hello Viswanathan,
    I am trying to use the change log on my UDO & custom form as you are doing, but I have not had as much success as you have had.  Regarding your list of 3 items, numbers 1 and 2 also work fine for me, but number 3 (selecting "Change Log" from the tools menu) is impossible because the change log option is disabled.  I have tried enabling it when my form is displayed, but that does not work.
    I was wondering if you could offer me any advice on what you did to get step 3 working?  I have posted a question regarding this on the forum.  If you care to respond to it, then I can give you points for the answer:
    [Can change log be used with UDO master table/lines?;
    Thank you

  • 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.

  • 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)

  • Change logs not available for tables

    Hi Experts,
    Is there any change logs available for the  tables PCEC, FTXP, T030
    We need to add logs so that we can keep track of the changes.
    Please let me know if someone knows the solution.
    Regards,
    Srinivas

    Dear Srinivas,
    Go to SE11 and key in your table, then select Display.
    In the top, you will be able to see Technical Settings Button. click on it.
    It will show you the technical details for that table.
    There will be an indicator at the bottom LOG DATA CHANGES.
    If this indicator has been set, then only the changes will be recorded.
    For change log, you shall make use of the transaction SCU3.
    AUT10 shall also be used.
    thank you
    Venkatesh

  • How to see the change logs for billing document

    Dears,
    Could you please how to see the change logs for billing document.
    My client is using ECC 6.0 & if i use VF03 > Environment > changes > does not show the changes i had made.
    Thanks in advance
    Ranjan

    hello, friend.
    you should be able to see changes done after the initial creation and saving, by going thru Environment > Changes.  try it again, and this time make sure that changes were done to the billing document prior to posting to accounting.
    normally, when configuration of Billing is done correctly, there will be little or no instances of changing anything in the Billing document,  as saving the document after creation will post this to Accounting.  of course, inclusion of a posting block in the billing type will provide you the opportunity for changes. 
    regards.

  • Enable change logs for item level of Sales Document

    Hi,
    On transaction VA02, additional screen field (Booking Date) is added (& consequently 2 appends with date field in the tables VBAK & VBAP).
    When this date is changed in the header, the corresponding dates are changed in the item level as well.
    However, the change documents are created only for table VBAK (though item data is updated in VBAP also).
    When the date is changed at the item level, the change logs are created for the corresponding field in table VBAP.
    The data element has 'Change Document' checked.
    How can I activate the change to be logged for the item level (VBAP), when the date is changed at header level (VBAK)?

    Hi Nidhi,
    Maybe set a breakpoint in include MV45AF0C_CHANGE_DOCUMENT_CREAT
    Then check in UPDATE debug mode the value of upd_vbap and the contents of xvbap which are passed on to function VERKBELEG_WRITE_DOCUMENT .
    This function creates the change documents based on the data changes.
    I would have thought that since the date values are changed at item level as well when you only change it at the header, they should get a change document created automatically, since the dates must be in the XVBAP table (as their value is changed at the DB).
    So I would compare the various internal tables for both scenarios (header change,  item change) to determine their differences.
    After this use one of the user-exits to populate the internal tables for the header scenario based on the values of the item scenario. I would feel this to be a last resort though, since something appears not to be working correctly (I think).
    Hope this makes sense,
    Robert

Maybe you are looking for

  • How can I get a 90sec video to loop in iTunes 10.5/Mac?

    I created a 90 sec video in iMovie. I imported it to iMovie so I could play it on a loop on my MBP (OS 10.5.8) during an open house, but iTunes won't repeat the video, no matter what settings I use from the menu or the (repeat) buttons...I tried copy

  • Settlement rule for Asset Under Construction not automatically generated.

    Hi Experts, I am working on a capital project scenario where in i configured the SAP IM and SAP PS module. i am able to create AUC at the WBS level on project release,but i am not able to generate the settlement rule for AUC automatically. Please sug

  • Can I edit/select from downloaded map data  to reload onto an SD card ?

    I have been directed to a place where I can download a 2009 updated map for my satnav. The download is quite big, some 2.5 GB as it covers Europe. All I want are the UK maps. I don't know if this is a silly question or not but if I download the full

  • Illustrator CS5 15.0.2 Update Failed

    Good evening, I have recently updated my Mac to Mac OS X Yosemite. Following this, I have tried to update my Adobe programs. Most programs updated successfully, however, a select few failed with an error code. Here is a screenshot of the error screen

  • How to update the MDS Repository with new structure over the older one

    Hi, I am working on the Oracle SOA MDS repository and I want to update the mds repository with new folder structure over the older one but I am not able to do this . I am able to update the mds in local system but not able to do this for remote serve