Change pointer - Change Document  - IDOC

Hi,
I have to capture changes occurring to master data (customers' table )and to distribute them via the IDOC interface (customers' IDOC)  .
My steps:
1. SCDO - create change document object and bind customers' table, generate update function
2. WE31 - develop customers segments with same customers' table structure
3. WE30 - develop new IDOC type
4. WE81 -  create new message type
5. WE82 - assign message type to IDOC type
6. SW01 - build business object for supertype IDOCAPPL
7. BD105 - supported object determonation
8. BD104 -  assign message type to business object
9. BD52 - define change-relevant fields
10 .????
It does not work. I didn't find one help for my purpose.
Have any idea how to do it?
Thank you very much.
Best regards, Natalia.

Hi,
Yes I mark my message type in BD50 and in BD64 (Distr.model)
May be I do extra operations?
Thank you, Natalia.

Similar Messages

  • What is the use of change pointer technique in IDOC

    hi
    could anybody suggest me
    what is the use of change pointer technique and how to use it
    thank you
    kalyan.

    Change pointers are used for changes to the master data objects are flagged for distribution by SMD Tool.i.e.shared Master Data.
    You need change pointers to distribute changes with the ALE SMD tool. If you do not use this tool, you do not need to write change pointers.
    You can deactivate change pointers and activate them again with the transaction BD61
    The SMD tool is connected to the change document interface. If the master data changes are to be distributed, the application writes a change document. The contents of this are passed to the SMD tool. The tool writes change pointers, reads the application data and creates the master IDoc.
    The master IDoc is then passed to the ALE layer, which sends it to all interested systems.
    The change pointer tables (BDCP und BDCPS) should be as small as possible. Use as few change pointers as possible and delete change pointers which you no longer need.
    You can increase the rate of processing by using the Analyze Change Pointer and Reorganize Change Pointer functions.

  • Change pointer for Extended IDOC

    Hi guys,
    I have Extended a standard IDOC MATMAS and added few additional fields into it.
    Now i have make Change pointers enabled for this IDOC extension.
    Is it possible?
    Can some one guide me as to how can i create Change pointers for EXTENDED IDOC?
    any extra steps required?
    Sahil

    Hi,
    you can use BD52 transaction to add the extended idoc fields inorder to activite the change pointers for them.
    Please note that the fields in the extended idoc should have chnage entry in CDHDR whenever you change the field in MM02 transaction. if not change pointer will not work.
    If these fields are not marked in change entry in MM02 transaction you can use user exit while saving MM02 and then create the change document for them by coding inside those user exit.
    Hope it helps,
    Shanmugavel chandrasekaran.

  • FM to fill outbound IDOC with change document details.

    Hi ,
    I am working on an enhancement EXIT_SAPLMGMU_001 for an interface to track the changes to the material master.
    Can someone please let me know if there is a FM to populate outbound IDOC with change document details like when a material is
    created /changed. Thanks much.
    Regards,
    Sanjeev
    Edited by: sanjeev.s on Apr 14, 2010 3:32 PM

    Call the function module "MASTER_IDOC_DISTRIBUTE" to create idoc.  Use function module "CHANGEDOCUMENT_READ_HEADERS" to get the change document details.
    Regards
    Vinod

  • How to trigger change documents based on inbound-idoc?

    Hi experts,
    Currently I'm working in on a project where I have to create an interface based on IDOCS. This is an interface for two SAP-HR systems.
    If there are made changes in the dialog (gui) by a user, there will be created a change document, which can be displayed by report RPUAUD00. For the inbound-interface based on idocs it's important that there will also be created a change document in the system based on this idoc. We have tested this, but no change document is created.
    Can anybody help me to solve this problem: "How to create a change document based on the inbound-idoc?"
    Thanks in advance.
    With kind regards,
    Roy

    Thanks for responding. First, I like the idea of defining an event, but I'm still stuck with how to trigger it. I looked at dynamically registering events, and maybe doing something where a click on the graph control registers an event for key presses on the vi. I'd still have to figure out out to terminate the key press event. Unfortunately, (actually it's a feature I like..) there are a number of different ways to complete typing in a scale change. I routinely use ctr-enter (habit from working on a laptop), though enter works fine, and clicking somewhere else is probably the most common method. I am not that familar with User Defined Events, so I may be overlooking something obvious here.
    The graphs are a Bode Plot, with a seperate graph for RPM vs Phase Lag, and RPM vs Magnitude. I want them to always be plotted on the same x-axis. The plot is generated when the user doubleclicks on a dataset. After that, it's just the user looking at it. They can change the axis without any new data being generated.
    Thanks,
    Chris

  • ALE: mapping IDoc fields to change document fields - TBD22 for ADRMAS iDoc

    Hi,
    I am currently try to find a table or way to extract the information of the TBD22 table (ALE: mapping IDoc fields to change document fields) for the iDocs/ Message Types:
    ADRMAS
    INTERNAL_ORDER
    PROJECT
    I am looking for a table that shows me to which SAP R/3 tables and fields the segments and fields of the above mentioned messages will be mapped to.
    When I add one of the above mentioned message types to the table TBD22 selection criteria I always receive the notification: "No table entries found for specific key".
    Could anybody determine Which table I have to use or why I cannot extract this information?
    Thanks in advance!
    Best regards

    Hi,
       Since we can not map the target IDOC when any of the field changes using nodefunctions , you can write UDF and check the same i.e if field1 changes or field2 changes or field3 changes then trigger new IDoc. This is one of the options that you can try...please try it once.
    Regards
    Priyanka

  • Change pointer technique for idocs

    I have to generate idoc whenever some fields of the sales order changes (Transaction VA02)
    I thought of doing this using change documents. There is a standard change document object VERKBELEG   for sales order.
    In transaction BD52 for the message type ORDRSP I have mentioned the fields names as below (my idea is to generate the idoc when these fields of the sales order changes).
    VERKBELEG          VBAP          ABGRU
    VERKBELEG          VBAP          KWMENG
    VERKBELEG          VBAP          KZWI1
    VERKBELEG          VBAP          KZWI2     
    VERKBELEG          VBAP          MATNR
    VERKBELEG          VBAP          PRCTR
    VERKBELEG          VBEP          WMENG
    VERKBELEG          VBKD          KDKG3
    VERKBELEG          VBPA          PARNR
    It seems that the report RBDMIDOC will not support for transaction data.
    When I tried to execute the report RBDMIDOC by giving message type    ORDRSP in the selection-screen it gave the following error
    Message type ORDRSP cannot be sent with change pointers
    Message no. B1157
    Diagnosis
    You attempted to send message tyoe ORDRSP. Unfortunately you cannot choose data for this message type using change pointers.
    System Response
    The system does not carry out the action.
    Procedure
    If message type ORDRSP is for master data, it can be sent directly. If it is for transaction data, the message tyoe is sent automatically via the transaction.
    is there a way to generate idoc via the transaction VA02 (sales order change)  instead of executing the report
    RBDMIDOC

    Hi Srinivas,
    This can be done but some development would be required.
    If you know about requirement routines ( transaction VOFM ) you can create your own requiremnet routine for application V1. For reference see routine 002 for V1 .
    ( program  LV61B002 ). You can create your own req routine say 901 for V1 and then assign it in output procedure in NACE for BA00. Output will be generated only when you pass a SY-SUBRC = 0 from the custom routine that you will create .
    But another problem would be how to determine whether the field values you have mentioned has changed or not.
    You can use user exit MV5AFZZ , subroutine SAVE_DOCUMENT_PREPARE , to analyze your fields .
    Here you have XVBAP[] table with ( user ) changed values in current transaction , YVBAP[] with current database state at runtime. ( same is true for XVBKD & YVBKD ) . You can analyze the values and then set a flag here to say that "Generate Output" or "Supress Output" . This single caharacter flag "X" or space you can pass to ABAP memory , which you can read ( import ) in requirement routine ( VOFM ) and then set SY-SUBRC = 4 or 0 depending on this flag value.
    Above solution will not mean any modification to SAP .
    Otherwise you can also look at OSS note 395569 wherein its a modification but you can achieve desired results.
    ( You can use the code given here as refernce and put this same code with the solution I have proposed above with some additional checks. )
    If answers were helpful reward and close.
    Cheers.

  • Send Storage Bins to external system (change pointer, change document, ...)

    Hello,
    I need to send to my external system the storage bin modifications, namely, insert and delete information.
    I haven't found any User Exits ou BADIs to the LS01 transaction.
    I'm trying to do this using change pointers, but it doesn't seems to exist a standard way to this either, so I've created a custom Change Document for the LAGP table, but there's still no records in the CDHDR or CDPOS tables.
    Is there a way to automatically generate this records without programatically calling the Change Document associated FM?
    What are the options that I have to do this?
    Thanks in advance,
    Rui

    Hello Rui,
    perhaps you can use DBTABLOG (Think about data volume and performance).
    http://help.sap.com/saphelp_40b/helpdata/en/34/60b6bfae724effe10000009b38f91f/content.htm
    Best Regards, Dirk

  • Change Pointer /Change documents for long text

    Hi,
    I wanted to know if we need to do some settings for activating change documents for long text.Presently in WAK2 (retail) when ever i change long text i cant see any change documents for it(though for rest feilds i can see that).When i looked at oss i saw some notes like 849348(around other transactions) which says that change documents are possible for long text. I wanted to know what steps we need to follow to activate it for this transaction.

    Hi lucky,
    I am facing the same problem. Can you please let me know the solution you have used?
    Thanks in advance for your help.
    Navin

  • Change Pointers - adding a new field to existing Change Document

    Hi,
    We have a requirement to capture the changes made to the Material object through the transaction C223. The changes to field MKAL-PRFG_F have to be captured.
    There is an exisitng Change Document Object - MATERIAL. This is included in Message Type MATMAS. These are the steps we have done:
    1. In SCDO - added the Z structure to the Change Document Object - Material. [Z structure contains the field MKAL-PRFG_F. Change pointer option is checked for this Data element.
    2. Created a Z Message Type with reference as MATMAS.
    3. In BD52 - we have listed the fields for the new Z Message Type created.
    4. The Change Pointers - reactivated after the steps are done.
    The changes to the field MKAL-PRFG_F through C223 Tcode are not recorded in BDCPV table.
    Have we missed any steps here?
    Thanks,
    Pallavi

    HI,
    I don't think a new zmessage type is required in this case.. is the structure added to MARA table??The change document programs are there which triggers the iodcs... In SCDO transaction code , click on generation info for MATERIAL.. You will find the includes. The FM MATERIAL_WRITE_DOCUMENT creates entries in CDHDR and CDPOS, if we maintain entries in BD52 , the entries wil be written in BDCP and BDCPS tables.
    Try to add your structure in MARA table as append strucre and then you can debug the IDOC from WE19 and use the FM "MASTERIDOC_CREATE_SMD_MATMAS" and then you also need to switch on Update Debugging on, to debug the changes in update FM   MATERIAL_WRITE_DOCUMENT.
    Please see if the change is reflected or not....
    ELSE.
    may be you need to create a new entry in SCDO and do all the ALE configurations for change pointers.
    Please find the link for change pointers and also you can get lot of information on change pointers in SCN.
    http://help.sap.com/saphelp_nw70/helpdata/EN/12/83e03c19758e71e10000000a114084/content.htm
    Regards,
    Nagaraj

  • Change documents for created for Customer Master

    An existing program makes changes to the Customer master table KNA1. The changes are made at the table level using the UPDATE command. Since the changes are being made at table level, the change documents are not created.
    I need to create IDocs for all changes. So the question is, how to create change documents for changes to the particular fields being UPDATEd in the report program.
    I understand that a BDC program on XD01 screen should have been the best way for this, but I'm here to break-fix and trying to identify solutions with least development effort.

    Hi ganadeep,
    When an application makes any changes to an object it wrties change documents which are stored in the table CDHDR and CDPOS for each change made.
    BDCP table holds the change pointers which point to the change documents in the  CDHDR table.
    Regards
    Parag

  • Display Changes: Change document

    Hi all,
    I have a ALE link established between two partner SAP systems. When I change some field in the e.g. material master, it triggers an IDoc to the partner system and updates the same.
    In the source system the Changes are displayed in the Change documents for the material.
    However in the target system the change does not reflect although the IDoc did update the material.
    I have looked at the concept of change pointer fields maintained for the message type in BD52 in both systems but no help.
    Please advice what is the criteria for logging the change documents.
    Regards,
    Aditya

    Hi Experts
    I am new in ABAP , I need help to developed report for document changes
    I had gone through the tables there are CDHDR and CDPOS , from this tables
    the following items have to be retrive to display the report as in attachement
    These standards reports are taken from RVSD100 and RVSD200 reports which allow viewing changes on a single sales document in online mode howver the selection paratmeters for these two standard reports does not allow the selection parameters by plant code, document number, date ranges and also does not allow multiple sales document to be listed at the same time
    I need a report that will allow them to list the changes made in the contract documents with more ranges options on the report selection parameters
    basically this customised report will retrive all the changes made in sales contract documents within a plat , date ragne and other selection paramters
    The report must allow ALV display also
    sales office code and sales office description
    + contract document number
    sort by date, header data filed name <01> with old and new values changes and username
    sort by date, header data field name <02> with old and new values changes and username
    etc....
    etc...
    can you please help me how to start do we required funtional module etc.,I know it is easy but i need some push to start.
    regards
    Piroz

  • Log HR infotype changes without a Mod like Change Documents

    We need some help with a requirement. We need to monitor HR infotype changes. We would like to be able to trigger a event like a change pointer and IDOC. However, we are trying to stay away from mods to our system. We are needed fields from 0000,0001,0003,0006,0105. Most of the fields do not have Change Documents set and would required us to create a mod to flag the data elements. We also tried to trigger and monitor these changes in ZXPADU02 until we realized that once we get to 0003,0006,0105 in zxpadu02 we don't know what the person is inserting in that specific infotype, because the exit function module does not bring in information on changes to those infotypes. We would really like to be able to trigger off of a event without creating a mod. We would like to not have to run a program to read the logging files because we like the responsiveness and real time actions of triggering and not running a periodic program. We are trying to push these changes out of SAP.
    Thanks

    Have a look at HRMD_A05 this idoc type can transport the infotypes you mentioned and of course you can activate change pointers for that in bd50 (message type hrmd_a)

  • Regarding change document generation

    Hi,
    In t-code SCDO, for one object class STUE_V I have added one new table MAST and generated the same.  But while I execute my t-code CS01, the same is not appearing in exporting parameters in the standard program where it is calling my generated fucntion module.
    Hence it is giving dump.  This is part of BOMMAT idoc change pointer creation.
    Could someone shed some light on this as I am really stuck here.

    Hi
    Have you tried generating after adding the table in the class ? This is more a generation issue. Might be the include LCSVBF30 has not got properly generated.
    What I feel is if you are adding a table to a standard class then you must also change the code yourself and SAP is not changing the where used list of the update function calls.
    Refer
    http://www.scribd.com/doc/12627676/Logging-Using-Change-Document
    http://help.sap.com/saphelp_nw04/helpdata/en/2a/fa015b493111d182b70000e829fbfe/frameset.htm
    http://wiki.sdn.sap.com/wiki/display/ABAP/Change+Document
    note - 0000391833  -  No change documents for object dependencies change
    Regards
    Vijay

  • Problem while generating Update progam for a Change Document Object

    Hi,
    I'm trying to deal with Change Document concept in a R/3 4.6C environment and to establish new Change Document object for my (Z)-table. I haven't using any namespace and created object with name ZTEST. Following the online documentation I came to the point, where I have to generate include program. I made all the nessesary inputs (using Z prefix) but faced
    "Function module name is reserved for SAP"
    Creating everything similarily using some of our registered namespaces (/somenamespace/) I succeed to generate the Update program and to integrate it in my Z-programs as well.
    My question is: is it possible to use Change Document Object-names without predefined namespace - being a regular customer developer, but not an SAP developer - means, if I am allowed to manage programs in the customer namespace (Z,Y, X) only. If yes, how to do this?
    Further (I decided not to open a new thread) - generated Update program uses
    CALL FUNCTION 'xxxxx' IN UPDATE TASK
    for creation of Change Numbers for generated Change Document Object. This CALL doesn't work when I implemented it in my Z-program, but when changed  (IN UPDATE TASK was commented) - everything goes well and the system creates records in CDHDR/CDPOS tables for my object class and table.
    Why is that? According to the documentation I shoud only fill appropriate variables for the Change Document Object (class, tr.code, etc.) and call generated FM, nothing is pointed out about any possible problems? Am I doing something wrong?
    Well, to be precise, I think I have to give a sample:
    1. I have a sample Z-table with few fields (their data elements are marked as Change-Document relevant).
    2. Using own z-progam I created a new record for this z-table. Also fill all the nessesary variables included in the interface of generated FM for Change Document Object (for example - FM-mane CD_CALL_my_object).
    3. I call the CDO FM.
    4. Check what is happening (directly in both tables CDHDR/CDPOS or using FM CHANGEDOCUMENT_READ).
    Further, I perfom the steps from 1 to 4 updating the created in previous loop record in my Z-table.
    In both cases if the FM 'CD_CALL_my_object' is called IN UPDATE TASK nothing happens, but in case of direct call (without addition IN UPDATE TASK) the system behaves as expected. Well, obliously I can change the generated code for our production needs, but it doesn't seems to be the correct decision - in case of next possible modification of the Change Document Object definition, respectively in need of re-generation of the code.
    Any hints are wellcome.
    Thanks in advance.
    Ivaylo Mutafchiev
    Edited by: Ivaylo Mutafchiev on Jan 24, 2008 10:24 AM

    "IN UPDATE TASK" resolved by myself. The one should explicitly call 'COMMIT WORK' from Z-program after CALL FUNCTION '...' IN UPDATE TASK in order to get changes in the CDHDR/CDPOS commited. The key in this issue for me was to check the documentation of CALL FUNCTION :-).
    Regards,
    Ivo

Maybe you are looking for

  • COA to be send to customer while saving delivery.

    Dear Friends, I have a requirement of sending the certificate of analysis (finished product)  to customer while saving delivery document. COA is the developed form (Z development) designed and that output we need to send to customer through email as

  • Blank Acrobat with blank Errormsg in PDF-Preview

    Hi all, i am starting to use Adobe LiveCycle Designer ES Version 8.2.1.3144.1.471865 and Adobe Acrobat 9 Pro Version 9.0.0. Any File i like to see a preview in LiveCycle Designer only shows an Acrobat window with blank screen and blank Errorwindow li

  • Recently Migrated Files - Mail Accounts Grey out Randomly

    I recently migrated files from an older Macbook running Tiger to a newer Macbook Pro running Snow Leopard. Now some of my email accounts grey out when I check email and the accounts that are grey are different each time! I can still retrieve email on

  • Problems when the server is down

    When the server is restarted after a task is assigned, this task saves its state (claimed). After that, when I try to mark that task as completed, the server says that the conversation id is not found. Is that a Bug? or how can I fix that problem? Th

  • Oracle cache - 10g updating...

    Hi all, I have setup a cache using TimesTen in front of an Oracle 10g instance. I am caching a number of tables where I would like to allow updates/inserts within TimesTen to be propogated back to 10g. The reason being I would only like to hold a sub