Help:: Tracking the change history for a BP

Hi All..
I really need ur help.. Somebody please..
I'm making a prog. to update BP (TCODE: BP) & it run well. But now, i'm getting to make report for change history in BP. As for it, i look up it in table CDHDR & CDPOS, but i didn't find it :(.
I use these FM to update:
1. BUP_BUPA_UPDATE.
2. ADDR_SAVE_INTERN.
Even i have tried to run FM ADRESSE_WRITE_DOCUMENT, but it still didn't work well.
The questions are:
1. Am i right for using FM ADRESSE_WRITE_DOCUMENT in order to get the history change in CDHDR & CDPOS.
2. How to use FM ADRESSE_WRITE_DOCUMENT? What should i fill up in parameter: OBJECTID,PLANNED_CHANGE_NUMBER,PLANNED_OR_REAL_CHANGES,
and NO_CHANGE_POINTERS ???
3. Why do always i got the exception NO_POSITION_INSERTED in using FM ADRESSE_WRITE_DOCUMENT? How to solve it?
4. Or are there any ways how to update well where i'm able to track the change history for BP? / Is that any functions to update BP like FM CRM_ORDER_MAINTAIN.
Thx so much.. for ur attention
Ur guidance is so much needed.
Best Regards
Daniel N.

Hi Daniel,
You can refer to table TCDOB for object class, it has a list of object class to which you can refer to and also the text description for each object class exists in that table.
Regarding the object id, you need not pass the value of the object id unless and until you want to read the change history of a particular Business partner.
Pass the value of the object class and if required the date of change to track the changes made to the BP's in that particular time period.
Hope this helps.
Regards,
Karthik.

Similar Messages

  • Update the change history for line items in CDHDR/CDPOS

    Hi,
    I have a problem in updating the sales order and line items in CDHDR/CDPOS when there is change in header level custom field..
    Actually i have a custom field in VBAK which added in additional data A in the header level of sales order.When we have change in that field only some line items only updating in the change history tables(CDHDR/CDPOS),but we need to capture all the line items when the custom field in the header level is changed.
    i have added change document flag in the data element of the custom field.
    Please advice me how to get all  the line items will reflect in CDHDR/CDPOS when the header level custom field has change .
    Thanks & Regards
    Kiran

    The purpose of CHANGE DOCUMENT tables is to flag the changes with Old and New values. So when Header data is changed only Header details will be tracked and same for Item tables too.
    If you need anything addtional from this then that would customizing.
    I am not sure what is your requirement but to make it simple and achive requirement add same field with same setting to line item tables VBAP, VBKD.. (as required, if that's doesnt impact your Order. These fields no need to be on screen). While changing your Custom field of Header level change the item level field too. Then CHANGE DOCUMENT will generate automatically for all the line item including header.

  • FM for tracking the changes in materail master

    Hi Experts,
    I want to track the changes done to a material ( like if there are changes to materail description and materail group etc., ) for a given date. Is there any FM which can take the maerail number as input and give out these details. I know MM02 but I need to have an explicit FM to get these details.
    thanks
    sankar

    Hi dieter,
    Thanks for ur reply.
    If I want to check for the chage of a particular field.. for exmaple material description or material group. In CDPOS it is giving the table names only. How do i know which field is exactly changed.
    thanks
    sankar

  • Tracking the changes in HRP tables for sending thru IDOC

    Hi ALL,
    We are planning to send iDoc to another SAP system with HR Data from different HRP tables. HRP1000,HRP1001,HRP1005,HRP1008,HRP1013,HRP1050 etc
    If we change any PA infotypes they are linked to pernr and we can easily track the changes but if there is any change in HRP tables how do we track the changes and send them thru idoc.
    Thanks
    Bala Duvvuri

    Kiran,
    I am planning to use tocde PFAL  for both inital loads and delta loads of HR data to other system .Can i get all the changes for HRP tables in PFAL without custom programming?
    Let me explain with an example.
    I changed the text for one of the org units and I can see the changes in HRP1000.but how will i send this data to another SAP system using PFAL ,how will i track those changes.
    I heard that we can enable change pointers on each and every field in all the infotypes,so when i change the org unit text and  it is one of the field in PA0001 of every employee a change pointer is triggered .is that true
    Thanks
    Bala Duvvuri
    Edited by: Bala Duvvuri on May 16, 2010 8:33 AM

  • How to Track the changes made to the custom table field value

    I want to track the changes made to the custom table field value in table maintenance generator.please help me it is very urgent
    Thanks & Regards,
    Kranti

    Hi Satya,
    These are the steps you've to do.
    1. Enable the change document flag in the data element level for the fields of the tables you want to monitor.
    2. Go to transaction SCDO. Create a new change object, and add your table to this object. After generation, you'll get a function module.
    3. Call this function module in the table maintainence generator screen, after the data is saved to the database table. This function module automaticallly writes the changes, with the old and new values, and the fields that were changed to the tables CDHDR and CDPOS.
    4. You can keep track of the changes made to the table by monitoring these tables.
    Regards
    Anil Madhavan

  • How to track the changes at report level

    Dear Team ,
    Could you please help on below scenario.
    1.Is there any way to track the changes for each report wise ? Does it possible using the audit database?
    2. how to get list for report names by each folder wise( public folders) ?
    Thanks & Regards
    Venkat

    Hi Venkat,
    1.In Webi we have a option called Track click that option to enable you to  track the changes in your report and also in Tracking option you can change the color as you preferred.
    2.Once report is ready to export click (Ctrl+E) and click Public folder then select New folder option available in right corner and create new Folder and export your report.
    Thanks
    Vignesh R

  • Tracking the changes in Scheduling agreement delivery schedule

    With Scheduling agreements, when goods receipt is done at receiving, system will validate against the Scheduled qty and delivery dates. If there is excess qty received, they need to either change the qty or the date to receive the same.
    Now current process at one customer is the vendor evaluation is done based on his ability to send exact required qty on precise date. So if the required qty is shipped / received on the scheduled date, vendor gets 1 point, if not vendor gets zero points. So both qty & date have to be correct for vendor to get 1 point, if either is wrong he gets a zero point.
    Now in our SA scenario, we are saying that in case goods are received in excess or if goods are received a day earlier, in order to perform the goods receipt, change the qty/date in SA. If this qty/date is changed to receive the goods, how can we later go into system and see whether supplier shipped as per expected qty & date?
    My understanding is we can keep track of date change, by using Statistical date in delivery schedule, but how can we keep track of qty change ?
    Thanks
    Dinesh

    Hi dinesh
    I dont know exactly this helps you or not but pl try this to track the changes of your SA.
    1.Go in ME2m.
    2.Enter material,plant,po.
    3.In scope of list enter "RAHM"
    4.Then press "Choose" tab
    5.Only select SA.
    6.Execute.
    7.Select SA and press"changes":
    I think this will show you all changes made for your SA.
    regards
    ravi

  • VA01-Change History for BOM

    Do u have any idea abt this scenario..
    In VA01 i create a normal order and save it...and later i go to change mode and make few changes and again save it... environment ---> changes i can see the change history of what all changes i made
    Like wise i give a BOM (material) and make changes...i still can see the change history...but when i go to this reason of rejection tab...and give a reason  for rejection code for this BOM and save...this particular change is not saved in the change history...
    Any idea?

    Changes will be updated in change history only if the status wont change for that item. In rejection, the item status itself will change to Rejected. In this scenario, the change history wont be updated.
    A change in status is not recorded as change history
    A change in document for the same status is noted in change history.
    Hope this helps you.
    Reward pls

  • Track the changes to the batch jobs in the PRD system.

    Hello Basis Guru's,
    Need your help in a Query. --> Is there any best practice that can be implemented to trace all the changes done to batch jobs in the past 3 months and going forward. Be it in its scheduling or its variant changes etc, i would like to track the changes to the batch jobs in the PRD system.
    Any pointers would be really helpful.
    Thanks in advance.
    Rgds,
    Sri

    Hello Raghu,
    Third party tools can only help you but not SAP. . A lot of us may think that for example if a Job 'X' runs daily then SAP considers this job as a single object.However actually SAP will treat each run of a job seperately infact as seperate jobs. If you would have noticed each job in SAP has a job id which is unique. So actually each run is unique. Now change logs can exist for only those objects that get changed. But change logs can not exist for objects that are newly created everytime !!
    If you would have noticed you can two jobs with the name A but running two different reports/variants whatver. This is because job name is not that important it is the job id.
    Every time a job runs a new entry gets stored in TBTCO,TBTCP etc.. tables. It is not that the existing entires are updated.However yes when a job is scheduled periodically there is some kind of a link that is created in the job series but it does not showo up in any of the tables!!
    As far as 3rd party tool is concerned I can name a tool like UC4. UC4 has its own database in which the job name will always be unique. For that you can easily find change logs. I think Chronicle (Redwood Scheduler) also supports this.
    Regards.
    Ruchit.

  • Track the changes to the Purchasing groups

    Hi Experts,
    Can we track the changes made to the Purchasing groups? Or when we are making the changes the history will be lost?
    Thanks in advance,
    Regards
    Anamika

    Hi,
    Go to -.> OLME -> Create Purchasing group -> MENU -> Utilities -> Change Logs
    Enter Analysis period i.e Start Date, time to end date, time
    And execute
    You will get the change log
    you can also use t code SCU3
    Push Evalute logs.
    Input 'T024' in Customizing Object/Table
    Enter Analysis period i.e Start Date, time to end date, time
    select tables in Evaluation for
    Execute
    Edited by: redriver on Dec 8, 2011 4:46 PM

  • Tracking the change of value/ New insert within a table

    Hi!
    Can you please suggest any way to track the change/s we are making in the Table. I tried the following:
    1. Activated the Log option for the table in Technical Setting
    2. Through SCU3 we are able to see the changes that has occurred in the table.
    3. I checked the option of tracking of change for a data element in further characteristic of the data element, say for matnr this is active.
    Now problem lies:
    1. The output available shows only the key field/s of the created/deleted record.
    2. No track for the changes of any non-key field(:>(
    Objective is to track any change in any field of any record of the table.
    Please can you suggest on this.
    Best wishes,
    Atanu

    Hi Atanu,
    Change Documents might be what you are looking for. SAP uses these to track changes in all important documents (Material Master, PO, SO..), and these changes can be viewed using CDHDR and CDPOS. For more information on how to enable the same, pls see the following link:
    http://help.sap.com/saphelp_47x200/helpdata/en/2a/fa0b1a493111d182b70000e829fbfe/frameset.htm
    Sudha

  • "Contains Error" in the change history of the followup activity

    Hi Experts,
    In ic webclient(CRM 5.), In the change history of one followup activity, is showing as below.
    User status entered               In Progress
    System status entered           In Process
    System Status Entered          Contains Errors
    The same change history is there if i open the activity using CRMD_ORDER in sap gui. There is no error showing in the GUI and also in Web .
    I want to know what is the meaning of the "Contains Errors " in the change history. What is the reason its displaying in the change history.
    Kindly help me in understanding the above .
    Thanks
    sudhansu
    Edited by: sudhansu m on May 2, 2010 12:59 PM

    Hi,
    You should be able to see the error message when the sytem (either in SAP GUI or Web) display the red color. However if not, you can go in SAP GUI and check for the change history and have any idea what was the trigger for the error message.
    You can go to CRMD_ORDER Transaction and go to Extras --> Change Document .

  • Does SAP keep change history for program variants?

    Hi,
    Does anybody know whether SAP keep change history for program variants, like it does for PO, Material etc?
    If so, how could I get this information? If not, does it mean there is no way we could find the changes made to the variant?
    Thanks
    steven

    Hello Steven,
    I see that this is your first post to the forums here and I would like to welcome to SDN and BPX. I hope you will find these communities very helpful for learning and sharing information about SAP Products and Technologies.
    Regarding your question, I think the best place to find the answer would be the ABAP Development.
    However, being an experienced ABAP developer myself, I do not think program variants have change history. And yes, there is no way to retrieve the old values of the variants .
    Regards.
    Anand Mandalika.

  • Tracking the changes to a Info-object or info-cube.

    Hi Gurus,
       I want to track a Info-object changes.Put it this way.
    When the info-object is been created the length is 10 chars,But then its changed to 20  and then 40 .i don't these changes are until somebody told me.how do i track the changes to length or any other properties of the info-object ?
    What about info-cube?Is there any way to track the changes done with respect to time on a info-cube?

    hi Nrupal,
    if the log not deleted, you can try
    RSD1 - your infoobject - click icon 'logs' (blue !),
    choose 'activating in dictionary', try as well saving/activating, give date range
    for mass check last change, can use table RSDIOBJ
    for infocube try RSDCUBE, logs, choose 'mass activator', try also 'save/activate'
    to display last change, infocube right click 'display',
    menu extras - info - content/change
    or SE16 table RSDCUBE
    the log can be accessed in infoobject or infocube maintainance also,
    or try SLG1
    hope this helps.

  • How to get the sms history for iphone 4S

    Hello,
    I would like some help to find out how to ressurect the message history for messages that I have received on my phone and never backed up anywhere. The messages have dissapeared by themselves, without having me deleting them or changing any default settings. Please help me to get the message history back.
    With regards,
    Caroline

    Apple does not sell parts. You may be able to find something out there, but what you will get is either something stripped from a damaged phone, a knockoff, or marginal parts that failed factory inspection and are now being illegaly sold.

Maybe you are looking for

  • How to delete duplicate items in SQ01 output

    Hi,    I created a query to extracted fixed asset from table ANLZ join ANLA, ANLZ for legacy fixed asset upload.  But in the output list , every fixed asset line item is output by triple line items. How can I do to delete the duplicate items when out

  • Need help on how implement security.

    Hello everybody, I have developed an application with many pages, It's time now for me to strat working on the security .... I will have the following : -Some pages will be accessible by some users but not some others. -For some reports, there is a c

  • As2 for load movieclip

    im having a problem..i,e. i need to load an external swf which is in as3...and need it to be played in my as2 swf layout. with a time slider ,play, pause ,next, previous for that swf movie clip. pls give ur mail id i can sent my original files.......

  • Kaspersky Internet Security 2011 URL Advisor and Anti banner not working on Firefox 4

    Hi, On March 23rd 2011, I installed Firefox4 , but apart from Kaspersky Anti Banner 11.0.1.400 and Kaspersky URL advisor 11.0.1.400, all other-add ons were loaded. If you can provide the solution for this , I would be grateful. Thanks and Regards, Ra

  • QuickTime Won't Load (Question Mark on Symbo)

    I have Quicktime 7.0 installed. On any web site that uses Quicktime, all that I see is the Q symbol with a question mark. The video will not play.