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.

Similar Messages

  • Change pointers for customizing table

    Hi,
    Requirement is when ever a new entry is created/updated/deleted from the customized table 'ztable' an  IDOC need to be generated.
    Any one can help me out the proper steps to solve this.
    Full points will be rewarded to the correct answer.
    Urgent please !!!
    Regards,
    Suman

    1. In T-Code add all the table and its fields to a message type.
    2. Create a program for triggering a Idoc.
    3. In the program call the functional module 'CHANGE_POINTERS_READ' with the above message type, This FM will return those table fields that are changed to a specific date.
    4. Pass read_not_processed_pointers parameter of the 'CHANGE_POINTERS_READ'   as 'X' to get the latest changes. Ex:
            CALL FUNCTION 'CHANGE_POINTERS_READ'
              EXPORTING
                message_type                = gc_message_type
                creation_date_high          = s_erdat-high
                creation_date_low           = s_erdat-low
                creation_time_high          = gc_time_high
                creation_time_low           = gc_time_low
                read_not_processed_pointers = 'X'
              TABLES
                change_pointers             = lt_chgptrs_tab.
    lt_chgptrs_tab will have all the table fields that are changed .
    5. Trigger a Idoc with those values.
    6. In the triggering is successful call FM 'CHANGE_POINTERS_STATUS_WRITE '  and pass those table fields that are sent through Idoc to write in database that the changes are already sent through Idocs. Ex:
        CALL FUNCTION 'CHANGE_POINTERS_STATUS_WRITE'
                EXPORTING
                  message_type           = gc_message_type
                TABLES
                  change_pointers_idents = gt_pointer_id.
              COMMIT WORK.
    gt_pointer_id will have all the change pointer if from lt_chgptrs_tab table that are send through Idocs.

  • ALE/IDOC-How to create Change Pointers for Custom Infotype

    Hi,
    My requirement is to transfer custom OM infotype changes using IDOCs.
    But its not creating any change pointers for that infotype.
    The message used is a copy of standard message OM_HRMD_A.
    Can any one please help me out in this issue.
    Thanks,
    Sarika

    Hi Sarika,
    How did you solve this issue? We are also facing a similar problem, it will be helpful if you could explain how you found out the solution.
    Thanks
    Anu.

  • ALE IDOC change pointers - Msgtype CLFMAS

    When making a change to a material class of a material a change pointer is created (as expected) for message class CLFMAS.
    In the IDOc segment E1OCLFM of CLFMAS, OBTAB = ESTVA (instead of MARA as expected).
    Where does this config take place?

    Hi Appana,
    Thank you for your time. I did checked all these steps still no luck.
    1.Go to the Data Element of the field and check whether change doucment option is checked or not .
    DONE
    2.change the value of the field and check the entries in CDHDR and CDPOS.here u can check the change document object and table .
    DONE
    3.check BDCP table also incase of ALE.The program RBDMIDOC generates IDOc when there is an entry in BDCP.
    if not check the following config
    1.BD61- change pointers activated -generally
    DONE
    2.BD50 -Activate change pointers for ur message type
    DONE
    3.BD52 - add the triggering fields and corresponding tables and change document object.
    DONE
    Please check the entries in BDCP table ,if u find the entries execute the program RBDMIDOC
    DONE
    Any places I missed ? Please note usual ALE config has been done like SM59,WE,20,WE21 etc. Iam basically sending this Idoc to XI and then to 3rd party system.

  • ALE Idoc Change Pointers Question

    Though I selected Transfer Immediately on Partner Profile screen, why Idoc hasn't been generated and transmitted?. Why do I have run RBDMIDOC explicitely to pickup change pointers?. Appreciate your responses.

    Hi Appana,
    Thank you for your time. I did checked all these steps still no luck.
    1.Go to the Data Element of the field and check whether change doucment option is checked or not .
    DONE
    2.change the value of the field and check the entries in CDHDR and CDPOS.here u can check the change document object and table .
    DONE
    3.check BDCP table also incase of ALE.The program RBDMIDOC generates IDOc when there is an entry in BDCP.
    if not check the following config
    1.BD61- change pointers activated -generally
    DONE
    2.BD50 -Activate change pointers for ur message type
    DONE
    3.BD52 - add the triggering fields and corresponding tables and change document object.
    DONE
    Please check the entries in BDCP table ,if u find the entries execute the program RBDMIDOC
    DONE
    Any places I missed ? Please note usual ALE config has been done like SM59,WE,20,WE21 etc. Iam basically sending this Idoc to XI and then to 3rd party system.

  • Change pointers for custom message type

    Hi All,
      Please help me with questions.
    1. The requirement is to add two additional fields to CSCK table and then activate change pointers for COSMAS. My question is when I activate the change pointers for COSMAS will it send this two z fields when there is a change?
    2. I dont see a message type in BD50 for a standard IDOC Internal_order? Can I add that standard message type? How can I do this? WIll this create an IDOC when ever there is a change in data?
    Thanks.

    Hello Oscar,
    1. Which changes should be relevant for creation of COSMAS-IDoc, you have to define in BD52.
    2. You need to define INTERNAL_ORDER in WE20. In BD64 you add BAPI "InternalOrder.SaveReplica", filters can be added.
    Best Regards, Dirk

  • ALE/IDOC TRANSPORT ERROR FOR Z TABLE

    Dear Experts,
                        I am new to ALE/IDOC,I am trying a simple scenario by transporting a ztable data between two clients with in a same server.
    steps i have done are :
    1, created logical system at both sender and receiver.
    2, assigned logical system to clients at both side.
    3, created segments for fields at Z table and created new message type.
    4, created RFC destination and port at both ends.
    5, created distribution model at sender.
    6, When i generated partner profile at sender i got the below error
      "Port could not be created
    RFC destination LOGSTM_210 not specified for system LOGSTM_210
    Enter the RFC destination and restart the generation"
    can any one please help me to solve this error?
    Thanks In Advance,
    Sujay.

    Hello Sujay,
    Have you added the message type SYNCH to the sender Partner Profile(WE20)?
    If not, then you have to manually add this message type to the Partner Profile & give the relevant port details. SYNCH is reqd. for RFC (read port) determination. This is reqd. before the generation of partner profile !!
    Hope i am clear.
    BR,
    Suhas

  • Change Pointers for Customer Classification

    Hi All,
    I am using Object Class 'DEBITOR' to capture the Customer Classification changes.I am able to see the entries in BDCP but not in CDHDR and CDPOS Whenever i add the classifcation to the customer.
    I need to add these classification changes to my ZDEBMAS Message type thorugh BD52. I am not able to see the 'DEBITOR' Object class to add the classification changes too.I don't find the 'DEBITOR' Object class in the table TBD62 also.
    Can anyone help me how to link the Object class 'DEBITOR'  to capture the classification changes for my Z message type.
    Thanks In Advance.
    Regards,
    Sudha.

    Hi,
    U have to create a object class in SCDO transaction code and then u have generate update program...
    once u do that u can find the list of includes...and then u need to call them in a custom program which will update to CDHDR and CDPOS...
    for example..
    goto SCDO->SPEICFY the object class as MATERIAL and then display, now click on update geneartion program in the aplication tool bar ,  u will find includes there, similarly u have to generate those includes in SCDO. take one include and they put it in se38 and do where used list..u can see how they are used.
    however they will be genrated by SAP only thing u have to do is u need to press that button and press on save button...
    Regards,
    Nagaraj

  • Change pointers for the ZSEGMENT of IDOC Extension.

    Hello Experts,
    We are working on the SAP version ECC 5.0.
    Our requirement is creating the ZZField and use this field to interface with legacy systems in the trnx FD02 and table KNB1.
    We have created the ZZField in table KNB1 and also ZSEGMENT for the IDOC DEBMAS06.
    We want to add the IDOC change pointers proramme for this ZSEGMENT that is being created.
    I know there are two methods of doing this:
    OLD METHOD:USER EXIT....
    NEW METHOD:CALL CUSTOMER FUNCTION'...'
    I tried the old method with the user EXIT_SAPLVV01_0001 for the Cutomer master.
    But I am getting the error as
    PROGRAMME NAMES zx....ARE PRESERVED FOR THE INCLUDES OF EXIT FUNCTION GROUPS.
    Can any one tell me how do i need to write the programme for the IDOC CHANGE POINTERS for the ZSEGMENT?
    Thank you.

    Our requirement is creating the ZZField and use this field to interface with legacy systems in the trnx FD02 and table KNB1.
    We have created the ZZField in table KNB1 and also ZSEGMENT for the IDOC DEBMAS06.
    in the above question watr the fields ur going to populate in KNB1 TABLE or in ZSEGMENT FOR DEBMAS06.
    CAN U PL GUIDE ME..
    thanking u...
    ajay

  • How to implement Change pointers for Purchase order - ME22N - Custom Fields

    Hi Experts,
    Can you please tell me how to implement - Change Pointer for Custom fields in IDOC.
    I am working on IDOC - For purchase order - acknowledgements - in custom screen/tab in ME22N.
    Everything is working fine according to my requirement.
    All i need to know is the process of - Creating/Change - Change pointers for Custom fields.
    1.How to implement change pointers for custom fields.
    2.Can we maintain - Change Document - for custom fields at data element level?
    P.S. - I have browsed many previous - forums before posting a new discussion.
    please share your inputs...
    explaining how to create/implement - change pointers for custom fields will help me .
    Regards,
    Karthik Rali.

    Hi,
    To maintain Change Document for custom field:
    1. Check if "Change document" checkbox is set in data element.
    2. Find Change Document Object for transaction.
       You can use SQL trace - ST05.
       Look there for line with table CDHDR and statement insert values
       (for example for transaction KA02 Change Document Object is KSTAR)
    3. Regenerate update program for this Change Document Object in transaction SCDO
    Change documents for z-fields schould be generated.
    I am not sure about change pointers but they are configured somehow in BD61 and BD50.

  • How to create change pointers for IT6 when custom table Z777A changes?

    Situation: We are using custom table Z777A (copied T777A and added fields) to store building locations. Employee's IT6 subtype 92 retrieves valid work address building locations from table Z777A.
    Problem: Whenever there are updates to Z777A, we need to find all IT6 subtype 92 records that use the changed building location from Z777A and create IDOC's The change pointer entry will need to be for the IT6 subtype 92 row that is affected.
    Question: Can anyone give me specific details as to how this can be accomplished? Thanks.

    Hi,
    MASTER DATA CHANGES DISTRIBUTION BY CHANGE POINTER TECHNIQUE:
    Step 1: Creating change document object in SCDO transaction.
    Step 2:Assigning tables to the change document object.
    Step 3:Specifying change document items in transaction BD52.
    Step 4: Activating change pointers for the message type HRMD_ABA in transaction BD50.
    Step 5:Activating change pointers globally.
    Step 6:Executing program RBDMIDOC  in SE38, Specifying message type HRMD_ABA.
    with regards,
    M.Sreeram.

  • IDOC Change pointers   is table BDCPV still used nowadays

    Hi,
    I got a do something with idoc transfer. I got a document with described what to do.
    One of the things to do was to get Change pointer data out of tale BDCPV. But in that
    table hasn't been written anything last year.
    i have activated changepointers with tx BD61
    i have activated the change pointers for the right invidual meesage types   tx BD50
    i can create the idocs with tx BD21 or program RBDMIDOC.
    i see another table BDCP2 is filled with data. Has there anything changed with Change Pointers last years?

    Hello,
    SAP recommends the usage of the change pointer table BDCP2 instead of BDCP/BDCPS.
    You can get further details in SALE -> Modelling and Implementing Business Processes -> Master Data Distribution -> Replication of Modified Data.
    BR,
    Suhas

  • ALE change Pointers for delta load

    The master data datasource is 0CRM_BPSALESCL_ATTR, which is in my source system use change pointers for delta loading. When I use delta loading, the error is "ALE change pointers are not set up correctly". I went to the source system, and use BD61 to activate change pointers. But it does not work. Then I created new Business partners to make changes. I can find these new records in table CDHDR and CDPOS, but there is no records found in table BDCP. And my delta loading still got the error as "ALE change pointers are not set up correctly."
    Can anybody give me advice?
    Thanks,
    Wenjie

    Hi, Ron,
    Thanks for your reply. I already assign points to you.
    I relicated the datasource, and re-active the transfer structure, but it still doesn't work. My one more question is that do I run BD61 on BI system or on source system? I did on source system only. And is there any more setting need to be done on source system? Because my error message said setting on source system is wrong.
    Thank you very much.
    wenjie

  • In ALE/IDOC Change Pointer using Maintenance order for message Type

    Hi All Expert,
    I am using Maintenace order to send via ALE/IDOC(Change ponters), i need standard message Name for Maintenance Order,

    Hello,
    I'm not sure you're taking the best approch.
    Usually when you need to migrate ISU contracts into an ISU-CRM integrated system, you first migrate everything you need in ISU through the VERY powerful migration workbench available (transaction code EMIGALL), and then you replicate your data to CRM via INITIAL download.
    That's definitely the strategy that will give you the best performance, and less work.
    Kind regards,
    Nicolas Busson.

  • This is regarding creation of change pointers for a particular table?

    Hi to all,
    Here is my requirement,
    How to create change pointers for a given table.
    i know that change pointers record changes of master data at field level......
    here now i have to create change pointers for a given table..
    how to do this,......\
    regards,
    swami

    Configuration steps :
    BD53 -> create reduced message type (use MATMAS as your reference for material master records). Select tables
    BD52 -> specify fields to track (use fieldname KEY for new entries)
    BD50 -> activate change pointers for new reduced message type
    BD61 -> activate change ponter generally (only if not already done) Make sure if this is not already active that you deselect the default enteries in BD50 for the message types you don't care about
    The view BDCPV will now contain change pointer entries for the master data that has change or been created
    Use function modules
    CHANGE_POINTERS_READ                - read new unprocessed change pointers
    CHANGE_POINTERS_STATUS_WRITE - mark change pointers as processed
    Hope it helps.
    Chang

Maybe you are looking for