Maintain Change Pointer for Customer Master?(change in Master data)

Hello everyone,
i want to capture change in master data .whenever a change happen to  required  field in  customer master an idoc should be create for that and the entry should e made in table CDHDR and CDPOS.
Please tell me the entire process how  can i achieve this .

Hi,
Tables / Functions:
The change pointers are stored in tables BDCP and BDCPS.
With release ECC 6.0 SAP delivered a new table BDCP2 for increased performance. Which table shall be used is defined in transaction BD50 (see below). There is a function to migrate “old” change pointers to the new table.
The function group BD01 contains function modules for reading and updating the new change pointers in table BDCP2.
BDCP                     
Change pointer
BDCP2                    
Aggregated Change Pointers (BDCP, BDCPS)
BDCPS                    
Change pointer: Status
Prerequisites:
There has to exist a Change Document Object (CDO) for the SAP-object we change. For standard objects like material masters, vendors or customers these objects already exist. For own business objects we have to define a change document object with transaction SCDO .
In the corresponding data element for the database field the flag „Change document“ has to be active.  check the details in the transaction
The usage of change pointers has to be actived generally for the system
Transaction BD61

Similar Messages

  • Trigger CREMAS change pointer for vendor classification change in XK02/FK02

    Hi,
    I have a business case where I need to trigger a change pointer of type CREMAS whenever a client modifies vendor classification in transactions FK02/XK02.  I realize classificatiion/characteristics have their own change pointer types (CLFMAS, CHRMAS, etc.), but I was wondering if there was a user exit/BADI available for this scenario where I can manually create a change pointer.  I need the characteristic data to be part of a custom IDoc type (based off of CREMAS03), and it's no problem to include this data in the custom IDoc, but I need a way to trigger the change pointer if the clients changes vendor characteristic data, and nothing else. 
    I also went into transaction BD52 for type CREMAS to see if there's another row for classification (CLASSIFY), but couldn't figure out the right object type.
    There's a BADI called CACL_VALUE_CHANGE that triggers when vendor classification is changed, where I can generate my change pointer, but it's triggered before the client saves which means I would have a useless change pointer. 
    Does anyone have any ideas on what my options are?  I hope I've elaborated enough
    Thanks,
    Chris

    I figured out a way to do this which was to implement the BDCP_BEFORE_WRITE BADI which allows you to interrogate a change pointer based on an IDoc message type before it's saved to the database.  For starters, change pointers for message type CLFMAS must be activated in order for this to work, even though I'm not interested in those eventual IDocs. 
    In the IF_EX_BDCP_BEFORE_WRITE~FILTER_BDCPV_BEFORE_WRITE method of the BADI implementation, I was able to loop through all of the change pointers about to be created and this is where I was able to obtain the vendor number the classification is being applied to.  I actually added another line to the internal table that's changeable in the method for CREMAS and it worked out well.
    The only thing that was difficult was to debug this baby.  No matter how you set the breakpoint, it just never hits it until I discovered it's called using an UPDATE TASK.  I found an unorthodox method to debug this situation on the web which is to force an endless loop before your custom code such as.........
    while sy-subrc <> 98.
    endwhile.
    <custom code here>
    Once your process runs, it will be sitting in an endless loop in an update task which you can view in transaction SM50.  From here, you can highlight this line then you can click on "Program Session > Program > Debugging" to debug your code.  It's not something I was used to, but it allowed me to debug in the end.  I would hope there's better ways, but this worked for now.
    I hope this helps someone else!
    Cheers,
    Chris

  • Problem to create change pointer for custom message type - Idoc creation

    Hi,
    We want to create IDOC and send it out when the data of "planning calendar" changes. So we are trying to generate change pointers whenever entries in Table T439I (Planniing calendar) data change.
    We created a message type, activated change pointers generally and maintained change relevant fields for message type (not sure if this step is done correctly). But not getting any change pointer in table BDCP2 when I create a new planning calendar in MD25.
    Can anybody help / guide?

    Thanks once again,
    I had linked idoc type and message type in we82. Now after i activate the change pointers. I try to generate the IDOC type using BD21. It gives me the error message :<b> "Message type ZP2PPROJ_MSG cannot be sent with change pointers"</b>
    whereas in my segments i am using all the master data only (i.e. PRPS, PROJ,PRHI). Please throw some light on this.
    Also please clarify, do i need to make an entry of this custome message type in the partner profile ?
    Rgds
    kewal.

  • Change pointer for custom message type

    Hi,
    I have a situation where in, i need to create a custom message type and need to track the changes in the table fields using the Change pointer technique.
    Can anybody guide me as to what are the step to be followed after i create the custom message type and how to register the fields of the message type ?
    Note : Change document (CDPOS) technique is ruled out in my requirement.
    Regards,
    Kewal.

    Thanks once again,
    I had linked idoc type and message type in we82. Now after i activate the change pointers. I try to generate the IDOC type using BD21. It gives me the error message :<b> "Message type ZP2PPROJ_MSG cannot be sent with change pointers"</b>
    whereas in my segments i am using all the master data only (i.e. PRPS, PROJ,PRHI). Please throw some light on this.
    Also please clarify, do i need to make an entry of this custome message type in the partner profile ?
    Rgds
    kewal.

  • Change pointer for information characteristics in article master

    Dear Experts ,
    From where can i trace the changes made in information charateristics in article masters .
    I notice that the same is not available in CDHDR & CDPOS & also not being captured in change log for the article.
    Please suggest .
    Reagrds
    Anis

    Hi
    you might need to record your own change pointers.
    See BAdI CUSTOMER_ADD_DATA_BI and CUSTOMER_ADD_DATA.
    This might help.
    Alain

  • Change pointer for Sales Order

    Hi,
    Using change pointers I want to create an IDOC when ever a specific field in the sales order line item is changed. I have activated the change pointer for message type ORDRSP. Also maintained the following entries in BD52
    VERKBELEG(Object) VBAP(Table) ABGRU(field).
    After this when I change this field at the sales order line item, it inserts entries into change pointer table.
    But my problem is creating IDOC's from those change pointer entries. I am not sure which function module (MASTERIDOC_CREATE_XXXXX) works for this.
    Anyhelp on this highly appreciated.
    Thanks
    Ram

    Hi Ram,
    I don't think so you can use change pointer for sales order changes. Usually, it is done through transaction code<b> NACE</b> - configuring condition for output type.
    You can setup requeirement in procedure control to trigger IDoc ORDRSP for any changes in item level.
    Hope this will help you and give an idea.
    Regards,
    Ferry Lianto

  • Change pointer for HR master data is not getting generated in table BDCP

    Hi,
    I have done all the required configuration for change pointer for HR master Distribution and it was working fine few days back. Now suddnly it has stopped working.
    Can anyone assist me on how should i debug it.
    Thanks
    Sunil Singh

    Hi Shital,
    Thanks for your Reply.
    I am not able to find that path in SPRO
    Basic Functions-> application Area
    And Also My change pointer configuration was working properly and it suddenly stopped working.
    I mean to say all the required settings was done previously.
    Anyways kindly let me know how should i proceed.
    Thanks
    Sunil Singh

  • Change pointer for Master data

    Hello Experts :
      If I Configure and Activate Change pointer ,so will it record  only existing change or it will update new entry also
    Example : Did changes in vendor master payment terms (I know change pointer will work for this).
                     But if I create any new vendor in system 1 will change pointer will record this change and going to update system 2 and will create this vendor in system 2  ?

    the graphic in the docu cleary says create/change master data will create change pointers:
    http://help.sap.com/saphelp_nw04/helpdata/en/0b/2a61bd507d11d18ee90000e8366fc2/content.htm

  • Article Change Documents for Custom Fields

    Hi,
    We have lot of custom fields defined in the article master. When the custom fields are changed through the online transaction, the changes are recorded in the change document tables (CDHDR / CDPOS). If the changes are made through the "BAPI_MATERIAL_MAINTAINDATA_RT" the changes are not getting recorded in the change document tables and hence they cannot be viewed under "Environment -> Display Changes". Lately, this is causing big issues as users are using the custom attributes more seriously now..and we're having issues tracing back the changes...Users do not use online transactions to make the changes..The changes are submitted through the portal which are then submitted through the ARTMAS IDOC which in turn calls the BAPI....
    We want to activate the change document functionality through IDOCs/BAPI....Is it configurable or has to be coded somewhere in the BAPI where it generates the custom segments for the custom fields....
    Any help would be greatly appreciated
    Thanks,
    Sri

    Hi,
            You can use txn BD51 in which you can specify "BAPI_MATERIAL_MAINTAINDATA_RT" and use "o" as Input without checking the Dialog allowed option.
    I assume that you have already done the relevant settings for the change pointers for message type ARTMAS( BD50) and activate change poiinter for relevant document changes (in Txn BD52 by maintaining the relevant Object - MAT_FULL,Table name - MARA and ZZ fields)
    Hope this helps,
    Best Regards,
    Aram.

  • Change Log for Custom fields

    Hi All,
    I need the change log for custom fields added in BP transaction codes.
    Basically, for tracking the changes of master data in CDHDR and CDPOS tables we will enable the checkbox of dataelement related to custom field.
    As for SAP fields in BP transaction code the change history is reflecting in CDHDR/CDPOS tables. i have enabled that for custom fields added to BP transaction code but i could not see the change history for such fields.
    Please let us know if iam missing any other thing?

    Hi Amit Singh,
    Apart from clicking the checkbox in dataelement...
    There are some settings need to be done by BASIS
    and some settings and entries should be made in SCOD t-code
    create entriy for change document here..
    also hv a look on below links...
    http://help.sap.com/saphelp_nw2004s/helpdata/en/2a/fa015b493111d182b70000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_erp2004/helpdata/en/db/7a2a40ce93185de10000000a1550b0/content.htm
    Custom Table values in CDPOS and CDHDR
    scdo
    wat do these fields in scdo stand for?
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7

  • Generate change documents for characteristic value changes in material master

    Hello,
    I am currently using material class (class type: 001) and assign some characteristics to material master. I am going to create a query/custom report to track all changes in the characteristic values in that material master. However, I could not find any change document in CDHDR table.
    I have activated "Change Docs" parameter in class type 001 customizing as described in SAP note: 65124 Classification Change Documents as follow:
    Is it possible to generate change documents for characteristic values in material master?
    Regards,
    Julian

    Hi Rajen,
    Thanks for your reply. It seems that I missed one more step in the customizing. Once the multiple object is activated, I need to activate the change document parameter for each assigned object.
    Thread closed.
    Regards,
    Julian

  • Change pointer for functional location- deletion flag & activation status

    Hello,
    Im trying to use change pointer for functional location outbound interface. I did all required settings in BD52. The problem is with deletion flag and acive/deactive status.
    I found that those two are stored in:
    table     field
    TAPL     LOEKZ
    TAPL     PARKZ
    The problem I have is that I cannot find the object for those table, and due to that it cannot be customized in BD52.
    Could You please advise which object class should I use or alternatively which other table/field and object should I type in to activate change poiters for deletion flag and active/ not active status?
    For object IFLO, and its table (IFLOT, IFLOTX, ILOA)- there is no field for del flag and active status.
    Thanks in advance.

    Hi, standard didnt let us fulfilling this requirement. What we did- we extended table IFLOT with additional field for the status and used an user exit when saving FL, to take the value (status) from table JEST/TJ02T and copy the value to the newly created field. Then BD52, iflo, iflot, and the new field and it worked. Of course the function module for the message type (BD60) had to be changed to add this status value in additional segment/field for the idoc. Hope this will help You, as there is a lot of technical background behind it, and this is only functional overview.
    rgds.

  • How to set a change pointer for a perticular table?

    Hi,
    Please let me know how to set a change pointer for a perticular table.

    what do you mean by 'change pointer'? normally this idiom is used for sending ÍDOCs from one system/client/org-unit to another ...
    do you generally want to record changes to a specific table? then set parameter rec/client using RZ10 for your instance profiles and restart the instances in order for the parameter to take effect.
    set the table to 'record all changes' using SE11.
    you might re-consider if the table has a lot of  data and is accessed very often for performance-resons.
    change protocols can be evaluated using tx, SCU3.

  • Points for my Profile changed from thousand to Zero

    Hi,
    I had some 53K points but immediately it changed to Zero(0). Is some update going on ?
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Articles

    I replied in your thread here:
    http://social.technet.microsoft.com/Forums/en-US/de7bd69f-b600-4514-858d-971299c093f3/points-for-my-profile-changed-from-thousand-to-zero?forum=reportabug
    Seems to be happening for everyone.
    EDIT: I've sent an email to fissues, I'll post back when I hear something.
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • Change Logs for customer master data in 3.1 H version

    Hello All
    Are they any existing reports or change logs for viewing changes to customer master data in 3.1h version.  I want to be able to report based on changes made to customer master.
    I know there is a good report in 6.0 version for this- S_ALR_87012182.
    If I have to develop a custom program for this in 3.1h. Which table I should use? KNA1 or CDPOS.
    Any ideas will be appreciated.
    Hema.

    Hi,
    Please check the filter settings maintained for the adapter object CUSTOMER in R3AC1. The same filter settings can be referred in tables Table: CRMFILTAB (R/3) and SMOFFILTAB(CRM) as per srinivas's reply.
    Check the sales area of the customer maintained (Sales Area, Division, Distribution Channel etc.) and see if the current filter settings are restricting the customer from getting replicated in CRM. If everything is maintained fine then check for any failure Bdocs in SMW01 or SMW02.
    Regards,
    K

Maybe you are looking for

  • How can I re sync my iPad after 5 times?

    I'm unable to sync my iPad to any other computer because I've done it 5 times, I'm unable to get access to the other computers I have sync it with and my original laptop is broken. Can anyone help me pls?

  • Want to conncet a mobile printer to IPHONE without WIFI

    Here is what I want to do.  I want to be in the middle of an area without any wifi access.  I have a mobile printer and want to be able to get pdf files to printout.  Is there any way I can just plug the phone in to the back of printer.  As you can s

  • How to change cn attribute

    How can I change 'cn' using Oracle Directory Manager? The 'cn' attribute is normally grayed out, so cannot be changed. Thanks, Chetan

  • You don't have the privileges to create or run workbooks

    Hi Experts; I am using Oracle DB 10.2 , Discoverer version 10.1.2.0, EUL 5.1.1, EUL library 10.1.2.48.18 I use Role based security in my applications i.e. I am granting privileges to the roles and then granting the roles to the users, but I am having

  • Updating value in Database

    HiALl Is there any way to update user attribute in Database with the help of Java code? If yes, please suggest some way. I can do it with updateUser API but it is calling Xellerate Provisioning process that i don't want bcoz of some requirement. I wa