How to track changes in a custom table and based on that run an interface

I have an interface. The pre-condition for running the interface is "Run the interface only if there is new entry added to the table( a custom table). Now I have created a change document object using tcode SCDO for the custom table. Now how do i proceed further. Please tell me the steps which i need to follow to check if the custom table has been changed and also the entries changed  before running the interface.

Hello,
SAP has provided many changes tracking related programs for Sales order, Vendor changes etc.
They all use the standard function Module
  call function 'CHANGEDOCUMENT_READ_HEADERS'
call function 'CHANGEDOCUMENT_READ_POSITIONS'
so with these you can get the changed records
Let me know if this helps you
Thanks and Regards
Pushkar Joshi

Similar Messages

  • How to track changes in a custom table

    HI all,
       Requirement is
    1. In custom table instead of using table maintence generator ALV gird has to be display to see table entries. But where i have to write the code when user press CONTENTS button?
    2. In alv gird there shuld be one button which shows the change history of selected record and modify the content of selected record. For track changes i have registered custom table name in SCDO. so that changes made will reflect in CDPOS/CDHDR.
    but how can i track changes thru dis table? i didnt find field contents of custom table in CDPOS/CDHDR tables?
    Please help me with these Ques.

    Hello,
    SAP has provided many changes tracking related programs for Sales order, Vendor changes etc.
    They all use the standard function Module
      call function 'CHANGEDOCUMENT_READ_HEADERS'
    call function 'CHANGEDOCUMENT_READ_POSITIONS'
    so with these you can get the changed records
    Let me know if this helps you
    Thanks and Regards
    Pushkar Joshi

  • How to track changes to longtexts (in tables STXH, STXL) ?

    Hello everybody,
    I need to track changes made to the long texts in sales orders.
    Reading change documents tables (CDHDR, CDPOS) does not work for the long texts tables STXH, STXL as no relevant data is written.
    Only the latest entry is stored in STXH and STXL.
    Where to look for changes made to the text tables ?
    Many thanks and kind regards,
    Chris.

    Hello Carsten,
    Thanks for the tip, it was very helpful !
    kind regards,
    Krzysztof.

  • How to upload images in to custom table and display them in normal ABAP report?

    Hi Experts,
    Can anyone suggest me ,how to upload images into customised table and display thoes images in normal abap report.
    Thanks in Advance,
    Rgds,
    Anusha

    Hi Experts,
    Can anyone suggest me ,how to upload images into customised table and display thoes images in normal abap report.
    Thanks in Advance,
    Rgds,
    Anusha

  • ALE/IDOC Change Pointers for Custom Table

    Hello all,
       There is a requirement for my client, to trigger IDOC based on the Custom Table changes. The custom table has a maintenance view and will be updated/modified/deleted randomly by user. Now, i need to track the changes in that table and should trigger IDOC for the changes. The Message type i am using for this is MATMAS, as I need to incorporate changes to the same IDOC.
        Is it ok to modify BDCP/BDCPS tables to update the changes from custom table? The Custom Table changes can be tracked through DBTABLOG......and i have my logic to trigger the IDOC
      The question is: If i do modifications to BDCP and BDCPS, how this will impact? In future SAP upgrade/enhancements will this affect anyway? Can any one of you share your experience regarding this. Thanks.

    Hi Raja,
    You can send IDOC based on  table maintenance event
    I think you can code in event 02, to generate IDOC.
    Check below link:
    http://help.sap.com/saphelp_nw04/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/frameset.htm
    Regards,
    Nisha Vengal.

  • Logging the changes of a custom table into CDHDR and CDPOS

    Hi all,
               What is the strucutre that is to be passed while creation of a ChangeDocument(Object Class) for the parameter
    Name of Ref. tab in SCDO tcode.And what other steps are to be done for logging the changes of a custom table.

    How do you maintain the first table? Did you create the maintenance module yourself or did you get it generated by SAP? If you have your own maintenace module, all you have to do is get the values from the table at the time when you update it and seve the necessary values in the second table. If you have a generated maintenance module, then you would have to do this in there, problem is you will need to register the onject when you change it.
    Let me know if this helps.

  • How to track changes on Infoprovider?

    Hi Gurus,
    Could you please provide the steps of how to track changes on Infoprovider? I had 4 Infocubes (belonging to the same info area) that contains compressed data - but now when I tried to display the data, all the cube are empty - no data were aechived.
    I would like to track any actions that were made on those cubes.
    Thanks

    thanks Kumar for helping me out here
    I tried RSD_CUBE_LOG_DELE function module - It came out "no logs found in the database"
    I tried tables RSDRDLOGHEADER and RSDDSTATDELE which provide me deletion informations like user name... but since we have partially archived those specific infoproviders in the same period of time where I think eveything was gone from cube, I am not able to related when and who the data that were not archived were deleted from Infocube
    Under manage Infocube --> archiving tab, all the created archiving request are only for certain dates (below 2006). I know that we had data above 2006.
    Kindly provide additional inputs.
    Thanks

  • How to track changes in a hyperion application for SOX control?

    Hello all,
    We have been working on identifying the best way on how to track changes in a hyperion application in regards to the SOX control.
    The following areas have been identified as the main areas of an application where the changes are to be tracked:
    Monthly data load from ODI
    Calculation of data
    Metadats change
    Formula edit
    Changes to reports
    Changes to security
    Can anybody please suggest the best ways to do this? Has anyone experienced this issue before?
    Somebody suggested that there is hyperion auditing available.
    Is there any other software that is available that can do this or just documenting the changes would be the best option?
    Please suggest. Toyr response would be appreciated.
    Thanks.

    Shared Services allows the auditing of provisioning and life-cycle management activities to track changes to security objects and the artifacts that are exported or imported using Lifecycle Management Utility.
    For Shared Services auditing, refer Page 129 of http://download.oracle.com/docs/cd/E12825_01/epm.111/epm_security.pdf
    Planning Administrators can select aspects of the application for change tracking. For example, you can track changes to metadata, such as when users change a member property or add a currency. You can also track changes in data forms, business rules, workflow, users, access permissions, and so on.
    For Planning auditing, refer Page 56 of http://download.oracle.com/docs/cd/E12825_01/epm.111/hp_admin.pdf
    HTH-
    Jasmine.

  • How to track changes in name who are enrolled in a benifit plan

    hi,
    can any1 help me
    how to track changes in name for an employee enrolled in a benifit plan.this report is to run monthly.
    should use change pointers or should use aedtm field..
    can any1 help..
    thanx in advance

    Pl take a look at the Std Report RPUAUD00 used for Infotype Logging. The Report Documnentation details the steps needed to turn the logging for the PA infotypes, which in your case could be 0167,0168,0169 etc..
    ~Suresh

  • How to send  changes in the Database Table Periodically using Change Pointe

    Hi,
           How to send  changes in the Database Table to the external system Periodically using Change Pointers.
    Thanks & Regards,
    Gopi.

    That depends on what table you are referring to.

  • Is it possible to restrict changing records in customizing table in SM30?

    Hi.
    Is it somehow possible to set authorizations in a way, that a user could change only certain entries in a customizing table using SM30? What I want to achieve with this - we have an internationally used system, where consultants from different countries are working often on the same customizing tables and we would like to restrict tham to be able to change records only relevant for those countries, so they cannot change the records for other countries by mistake / on purpose. The records are usually identified by a certain "grouping" field (for instance MOLGA in table T511K or MOABW in T554S).
    So far I couldn't find anything apart from the S_TABU_DIS object, which is too rough for this requirement.
    Or maybe is there another way to achieve security in such a scenario?
    Thanks in advance for any ideas.

    Hi dusan,
    1. If u are talking about SM30 for standard table,
       then i don't think there is any such standard feature / facility,
       for restricting.
    2. If its our own Z Table, then we can go for events in table maintenance
      and write our code for same.
    3. But if such restrictions/validations are required,
       then its better to have a module pool for such thing.
      SM30 is for very simple and basic table maintenance.
    regards,
    amit m.

  • Custom table column based on value scale

    I want to custom table column based on the vaules.
    I understood I need to to /1000000 in the column definition and custom ###,###,###M.
    But sometimes it can be Kilos and sometimes Billions.
    I don't want to display 0.02M or 200000M.
    How can I define conditional custom according to the current value?

    Try doing what I said here and see if it works for you...
    Re: Represent numbers in thousands

  • How to manage the space between a table and its title?

    Have tables where titles are very close to the main text and need a couple of points to separate these elements. How to reshape this space?
    1. Titles were separated by a return that is not  visible...  (any code is revealed by ID)
    2. When a Return is inserted after the title, nothing happens aparently, but this return is now visible and could be used as a «paragraph space after» value:
    3. A solution could be Grep to catch the end of paragraph assigned to titles to insert a return;
    but Grep only catches the right border of the table (the yellow mark shows the big blinking cursor);
    Grep cannot see the end of paragraph in the tables's title.
    It another method?
    Basically, how to modify the space between a table and ists title

    I think you and Bob are not in synch here.
    Bob suggested that you could use paragraph spacing, but for that to work you do need to use separate paragraphs for the title and table, which you don't seem to be doing. Using GREP to find the end of the paragraph only works if there IS and end to the paragraph. As far as I know there is now meta-character to use in Find/Change that would allow you to find a table and insert a paragraph break ahead of it, but I bet it could be scripted.
    I'm not quite sure what you were trying to find in the GREP you posted. Did you actually have a paragraph return inserted already after the title? In that case you only need to redefine the style for that paragraph to add the space (or redefine the style for the paragraph that holds the table itself). You don't need the GREP. But the reason it does nothing is that you've found a location -- the end of the paragraph, but haven't found any actual text to modify. To do anything you would need to use something like .$
    But back to NOT having a separate paragraph... If you put the cursor in any table cell and go to Table Options > Table Setup tab you'll see fields to set space before and after the table that should do what you want. That was the second part of what he posted.

  • Generic datasource based on custom table and hierarchy table

    Hi Gurus,
    I have a doubt regarding generic datasource.
    my requirement: to create a datasource with 10 fields. (7 fields from custom table and 3 fields whose values can be derived from a hierarchy table).
    I have a custom table. In this table one field refers to a hierarchy table. Using this hierarchy table, we can derive values to 3 new fields.
    My question is, If i create a generic datasource based on the custom table, how can i include the extra 3 fields which gets values from the hierarchy table.
    Where can i write the logic to extract the values for those 3 fields from the hierarchy table.
    Thanks
    Regards,
    Aarthi
    [email protected]

    Hi Aarthi,
    Sample code in the user exit woul be like this:
    DATA:  i_biw_tab LIKE BIW_MARA_S.
    WHEN '<data source>'.
        LOOP AT i_t_data INTO i_biw_tab.
          SELECT fields
            INTO <table from which you want the value
            FROM <table>
           WHERE <your condition>.
          IF sy-subrc = 0.
                 MODIFY i_t_data FROM i_biw_tab.
          ENDIF.
        ENDLOOP.
    Bye
    Dinesh

  • I lost my I phone 4 , how to track it's imei number from the apple id that  I used in that lost iPhone

    I lost my I phone 4 , how to track it's imei number from the apple id that  I used in that lost iPhone

    The only way to locate/disable/erase any lost/stolen iPhone/iPod Touch is through Find My Phone or a similar app. However, this requires that Find My Phone be setup/activated, on your phone, before it was lost/stolen. You would then login at iCloud.com & try to locate it. This requires the phone be turned on & have an Internet connection. There is no other way to locate a lost/stolen iPhone. Apple can't/won't help you, nor will your carrier. Report the loss to the Police, your carrier & Insurance company. Change all of your passwords.
    If your carrier offers Blacklisting & they Blacklist the phone, it will be unusable as a phone.
    If locked with a passcode, and running iOS 7.0, then phone cannot be activated or the passcode removed without knowing your Apple iD/Password. It will be nothing but a useless paperweight.
    If not running iOS 7.0, the phone can be forced into recovery mode & restored.

Maybe you are looking for

  • Mini DVI-to-Video Adapter troubles with MacBook

    Hello, I recently purchased a Mini DVI-to-Video Adapter (the one with Composite and S-Video output) to use with my MacBook to use my computer to watch movies on my TVs. The TVs are very late model, so they may not work, but when I plug the Adapter in

  • Parsing Special Characters in XML

    Hi, I have an incoming XML snippet that has the special characters already escaped. If the Title is something like kkkkk ?& [] ]]> XML comes back escaped for & and > <title><kkkkk ? & [] ]]></title> Now I would like parse this ESCAPED Title correctly

  • Need special drivers for hi-speed USB 2.0?

    I would like to upgrade my PowerBook G4 Titanium with hi-speed USB 2.0 capabilities so that I can transfer data quicker to an external hard drive. It seems that I just need to buy one of those hi-speed USB 2.0 notebook adapter cards. However, I notic

  • Schedule line delivery date on saturday  and sunday its confirm for monday

    HI Experts in cash sales process or normal OR also  when i create sales order monday its work fine system take todays (current date) as delivery date and i can do delivery on same date but if i create sales order on saturday system take coming monday

  • Grid Overlay problem Photoshop Elements 13

    My black and white prints in Photoshop Elements 13 have faint gridlines over them. I have tried all that I can to turn off these lines. Does anyone have any suggestions?