Problems in extracting changed documents

Hi Experts,
I am new to sdn and this is my second post, My requirement is to extract changed documents from CRM to BW as they are neither stored in any database tables nor i think i can fetch them through function module but I can view them in for example in Business Partner transaction under Extras menu->changed documents i can find the records which i need to pull , would anyone suggest me what are the steps I need to follow in order to extract them to BW.I appreciate it in advance and If you need any additional information let me know.
Thanks
Regards
Kishore

Hi Marco,
when i checked to know where exactly the changed documents are stored after choosing Change Documents in Extras menu I see a structure CDRED in technical Information screen after pressing F1 on any field in changed documents but when I check in CDHDR or CDPOS I didnot see the documents which I am expecting. Would You please suggest me some steps how to pull records using structure CDRED or If I am wrong please correct me as I am new to CRM BW and also I appreciate if you would explain me in detail.
Thanks
Regards
Kishore.

Similar Messages

  • Problem in transporting change document

    Hi guys,
    I have created one change document for customized field.
    I m getting problem while transporting this change document.
    The view is not generating in production system.
    Function group is coming blank for change document object in production.
    Is there other way of generating the change document ???
    Kindly reply.
    Regards,
    Siya

    Check this.
    1. Deletion flag is set or not.?
    2. Execute MCDOKDEL and check for the document
    3. Archiving path Storage Path location.?
    Thanks
    S.N.

  • Problem while creating change document

    hi all
    i am creating change document for master data like project type , project applicant
    but i am unable to complete it as i am very new to ABAP
    can any one give me step-by-step procedure to do the same?
    I have followed the procedure given in sap Liabrary i.e.
    1 -  Define the change document object
    2 -  Check in the Dictionary, whether the data elements of the fields which are to
          be logged are flagged appropriately.
    3 -  Generate the update.
    4 -  Program the appropriate calls in your program.
    But then i got stucked on point 4...what exactly I need to do in that?
    Regards
    Sheetal

    Hi,
    The table you have used is having the key which comprises both MANDT and ID. However, while writing the code you must have used only the ID. The system takes MANDT and ID both as the key fields.
    This may be the reason of the error you are encountering.
    Thanks,
    Jyoti

  • Problem in archiving change document

    Hi Experts,
    While doing function ' check in archive ' (CV02N) I am getting error that "problem in archive path"
    Can anybody tell me what may be the problem for this and how to overcome the same?
    Please do the needful.
    Thanks and best regards,
    Pravee

    Check this.
    1. Deletion flag is set or not.?
    2. Execute MCDOKDEL and check for the document
    3. Archiving path Storage Path location.?
    Thanks
    S.N.

  • Urgent: Extraction of CRM Survey  and change documents

    Hi BW Experts,
    My requirement is to extract CRM Survey which is linked to Activities as XML file and Change documents from CRM to BW. I know what are the datasources we need to use inorder to extract the Survey data to BW some of them are : 0SVY_DATA_1;0SVY_QUEST_TEXT and 0SVY_ANSWER_TEXT but I am confused in mapping Survey questions to BW as they may be of 200 char do we need to split them or is there anyother way we can map please would anyone suggest me steps to extract the Survey data from CRM to BW i.e from activation to Cube mainly I am worried about how do we map Survey questions to BW objects.
    And also I need to extract Change documents,i.e changes made to the created opportunity,activity transactions, from CRM to BW as the changes are not stored in DB tables but we can view them in extras menu->change documents I think they are linked to transaction number but i donot know how to pull them to BW.Would anyone put some light on it. I appreciate it in advance.
    Thanks in advance
    Regards
    Kishore.

    Hi Kishore,
    I have no experience in CRM extraction in BW.
    Did you try to use 'Propose Transfer Rules' function to map objects from extract structure to the comm structure. I am assuming that you have activated all the required Business Content and replicated your extract structures.
    Why do you want to map field by field? May be I did not understand your question?

  • SCDO - Change Document

    Hye,
    Facing problem with the change document with update status. The tables CDHDR & CDPOS are getting updated , however my custom table ZEMPTABL is not getting updated with new values.
    The steps for creation i followed is as:
    1) Custom table : ZEMPTABL with Change document ticked for data elements
    2) SCDO - Object created.
    3) My program which calls function module for write document:
    REPORT  ZMSR_TRACKCHNG_CUSTOMTBL.
    TABLES : ZEMPTABL.
    DATA : GS_EMPTABL LIKE ZEMPTABL,
           LS_EMPTABL LIKE ZEMPTABL.
    DATA : T_CDTXT TYPE STANDARD TABLE OF CDTXT WITH HEADER LINE.
    BREAK-POINT.
    SELECT SINGLE * FROM ZEMPTABL INTO GS_EMPTABL
      WHERE EMPNUM = '101'.
    LS_EMPTABL = GS_EMPTABL.
    GS_EMPTABL-EMPNUM = '101'.
    GS_EMPTABL-EMPNAME = 'TET'.
    T_CDTXT-TEILOBJID = 'ZTEST_TABL_CHNG'.
    T_CDTXT-TEXTART = 'TEST'.
    T_CDTXT-TEXTSPR = 'EN'.
    T_CDTXT-UPDKZ = 'U'.
    APPEND T_CDTXT.
    CALL FUNCTION 'ZTEST_TABL_CHNG_WRITE_DOCUMENT'
      EXPORTING
        OBJECTID                         =  'ZTEST_TABL_CHNG'
        TCODE                            =  SY-TCODE
        UTIME                            =  SY-UZEIT
        UDATE                            =  SY-DATUM
        USERNAME                         =  SY-UNAME
       PLANNED_CHANGE_NUMBER            = ' '
       OBJECT_CHANGE_INDICATOR          = 'U'
       PLANNED_OR_REAL_CHANGES          = 'U'
       NO_CHANGE_POINTERS               = 'U'
       UPD_ICDTXT_ZTEST_TABL_CHNG       = 'U'
        N_ZEMPTABL                       =  GS_EMPTABL   "new values
        O_ZEMPTABL                       =  LS_EMPTABL  "old values
       UPD_ZEMPTABL                      = 'U'
       LV_OPT                           = ' '
      TABLES
        ICDTXT_ZTEST_TABL_CHNG           =  T_CDTXT
    COMMIT WORK.
    WAIT UP TO 3 SECONDS.
    Can anyone let me know why the table is not getting updated with new values

    You should have TWO function modules to call, like
    * Update Database Table(s)
    CALL FUNCTION 'ZTEST_TABL_CHNG_UPDATE' IN UPDATE TASK
         EXPORTING
              n_zemptabl                 = gs_emptabl  "new values
              o_zemptabl                 = ls_emptabl  "old values
              upd_zemptabl               = 'U'.
    * Insert Change Document(s)
    CALL FUNCTION 'ZTEST_TABL_CHNG_WRITE_DOCUMENT' IN UPDATE TASK
         EXPORTING
              objectid                   = 'ZTEST_TABL_CHNG'
              tcode                      = sy-tcode
              utime                      = sy-uzeit
              udate                      = sy-datum
              username                   = sy-uname
              planned_change_number      = ' '
              object_change_indicator    = 'U'
              planned_or_real_changes    = 'U'
              no_change_pointers         = 'U'
              upd_icdtxt_ztest_tabl_chng = 'U'
              n_zemptabl                 = gs_emptabl  "new values
              o_zemptabl                 = ls_emptabl  "old values
              upd_zemptabl               = 'U'
              lv_opt                     = ' '
         TABLES
              icdtxt_ztest_tabl_chng     = t_cdtxt.
    COMMIT WORK.
    Regards
    Raymond

  • Displaying change documents(MM03) in Material master

    Hi All
    One User having problem in displaying change documents(MM03) made by the some of the users for the materials
    (It is not the authorization as he is provided with the same to diplay the change doc)
    Kindly let me know how i can view the change docs made by all the uesrs
    Thanks
    Regards
    Manju

    Hi,
    You can check the MM04 Transaction to check the Changes for Material master.
    System will display the date, time & user name who changed the material, if you click the line then system will display all the details for the changed material master.
    rgds
    Chidanand

  • Problem with Change Document FM  - Not all fields are tracked in CDPOS

    Hello everybody,
    Using transaction SCDO and following necessary steps described in forum, I have created a change document ZFBR to track changes of a table ZFBR. The problem is, the generated FM ZFBR_WRITE_DOCUMENT does not track changes of some fields of the table (inserts are always ok, problem is with updates). After some debugging I realized that the FM DDIF_NAMETAB_GET was returning the table DFIES_TAB where the LOGFLAG was empty for some fields (which are not tracked) so that changes of these fields were not visible in table CDPOS. However, fields with LOGFLAG = 'X' are tracked succesfully (changes are visible in table CDPOS).
    I did not specify any fields to be get logged or not during the steps in SCDO (can we do such a specification anywhere?), does anyone know why the field LOGFLAG has the value '' (space)?
    Best regards;
    Ozcan.

    Hi again,
    The problem has been solved.
    The data elements used in a table are the reason for the problem I have described above. When displaying the details of a data element, under tab "Further Characteristics" , the "Change Document" checkbox has to be selected to enable change document tracking. I have copied the problematic data elements with Z prefix and made the necessary enabling. I have replaced the data elements with their Z equivalents.
    Best regards.
    Ozcan.

  • 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

  • Problem in multiple item for change document objects

    hi gurus,
    I have created change document object in tcode SCDO . It had giveN function module /TMW/CHG_OBJ1_WRITE_DOCUMENT.
    CDPOS AND CDHDR tables are updated with changed data. now i am trying to display all old and new data in se38 program.
    here my problem is when ever i changed multiple  item data , my program showing first item details only . I need to show all item data when ever i changed parallel . please help me where is my problem .
    thank you

    I think this is issue with function module generated thru SCDO Please check in your function module inside that the following function modules are used
    CALL FUNCTION 'CHANGEDOCUMENT_OPEN'
    CALL FUNCTION 'CHANGEDOCUMENT_MULTIPLE_CASE'
    CALL FUNCTION 'CHANGEDOCUMENT_CLOSE'
    if not then there may be issue with SCDO

  • Create Change document update problem

    Hi Abap expert,
    I am a newbies in the ABAP world, recently i got some requirement to synchronize data from customize table.
    i already create new change document object (SCDO) and also generate update program and others step
    like BD
    The problem is thet the tables bdcp / bdcps do not have any data  after i make any changes to the table . Is there some missing link,
    is that requirement can be done ?
    Thank you and Best Regards
    Fernand

    If its a warning you can simply you can ignore the same.
    If its a hard error, make sure your function group / module name starts with a Z / Y.
    If its still gives a error, use the naming convention something like this
    ZXX_XXXX or YXX_XXXX...
    Regards,
    Ravi
    Note - Please mark all the helpful answers

  • CTBW - extraction of "Change Documents" from Classification or time-depende

    Hello,
    I want to extract classification-data from class 023 from our R3 701 to BW 700.
    Unfortunatley I can extract via T-Code ctbw only 'active' data but i would like to extract also the "Change Documents" - mapped to batch or material-document / ~item.
    Do you have any idea for a standard-solution?
    Thomas

    change documents are not "standard" extractable... reason is probably that all change documents (irregardless of which object) are stored in 2 (or 3) big tables

  • CR10----WORK CENTER CHANGE DOCUMENT PROBLEM

    HI FRIENDS,
    CR10 SHOWS U THE CHANGE DOCUMENT FOR WORK CENTER.
    I HAVE ALREADY TICKED THE CHECK BOXES IN OP40 TO REFLECT CHANGES MADE IN WORKCENTER TO THE DOCUMENT SHOWN IN CR10.
    NOW MY PROBLEM IS WHEN I M CHANGING DATA IN ANY FIELD IN WORKCENTER ITS NOT GETTING REFLECTED IN CR10.
    THE DATA IS GETTING REFLECTED ONLY WHEN I CHANGE RULE FOR STANDARD VALUE MAINTENANCE. (FIELD NAME-----VGMXX).
    WHAT SHOULD I DO SO THAT DATA WILL REFLECT IN CR10 WHEN I CHANGE ANY FIELD IN WORK CENTER.
    PLEASE GUIDE........

    Dear Nitin,
    Sorry for thge late reply.
    Please follow the link below.
    http://help.sap.com/saphelp_47x200/helpdata/en/b1/c0384f439a11d189410000e829fbbd/frameset.htm
    You can do this with the help of ABAPPERS.
    Regards
    Kannan
    Reward if useful.

  • Number range "change document" problem

    Hi
    Some body has changed the number range group in production server for specific order type.Can i trace the user id who has done this changes, is there any log generated for number range group changing as no transport request is generated.
    I have checked  "utilities-change document" in OION but no log is generated.
    Regards
    Santosh

    hi
    if the group has been changed ,system will certainly write the change documents .in OION from menu Goto>change documents
    Also i think it will create the request also ,after changing the value from OION screen choose Interval>Transport ,and press yes in the corresponding dialog box system will prompt the request no
    check and revert back
    regards
    thyagarjan

  • How to use change document object ?

    Friends,
    I am learning to use the Change Document object for one of my Z table. I have created a change doc object using SCDO. I have now written a test report in which i am issuing the SELECT statement for fetching old and new values from the Z table and passing them to the FM generated by SCDO.
    I am not able to see the changes in the CDHDR and CDPOS tables. I am doubtful abt the values being passed to the FM. Here are the values i am passing:
    CALL FUNCTION 'YTEST_WRITE_DOCUMENT'
      EXPORTING
        objectid                      = 'YTEST'
        tcode                         = 'se38'
        utime                         = sy-uzeit
        udate                         = sy-datum
        username                      = sy-uname
      PLANNED_CHANGE_NUMBER         = ' '
       OBJECT_CHANGE_INDICATOR        = 'U'
      PLANNED_OR_REAL_CHANGES       = ' '
      NO_CHANGE_POINTERS            = ' '
       UPD_ICDTXT_YTEST               = 'U'
        n_ztest_cle                   = wa_ztest_cle
        o_o_ztest_cle                 = o_ztest_cle
      UPD_ZTEST_CLE                 = ' '
      tables
        icdtxt_ytest                  = itab_cdtxt.
    Is the object ID the same as the Change Document Object name ??
    Please help.
    Thanks,
    Ram.

    Well, i found a way out for the problem i was facing. I was not setting the "UPD_ZTEST_CLE " FM parameter. When i set it to 'U', the changes got reflected in the CDHDR and CDPOS tables.
    Can i reward myself as i solved this by myself ???

Maybe you are looking for

  • File to RFC problem

    Hi Friends, I am doing a scenario CSV File to RFC. This is for SO creation in R/3 thru RFC. I was provided with a wrapper RFC which internally calls the Sales order create BAPI. Now my problem is When I go to SE37 and test the function module the SO

  • How to automate the Export Window feature?

    How can I automate the Export Window (while in the All Computers view) feature? I've looked in the Automator program but the Export Window Action is unavailable. Can someone point me in the right direction?

  • Aperture Serial Number

    I recently purchased a new Macbook Pro.   I used the migration assistant and transferred all data from a Time Machine backup.   Everything seems to be working just fine except for Aperture.  It wants a serial number.   I still have my old computer so

  • Ascii Backup: Writing block

    Hello, We are exporting data out of Hyperion Planning/Essbase into a flat text file. However we are experiencing the error: Ascii Backup: Writing block that is preventing this extraction to occur. Is anyone familiar with this error and can give me so

  • Data Source Identification

    Dear Experts, Can you please let me know how can we find out wether the Data source is a BI Data source or 3.x data source, for both the data sources when i right click there is a provision to Create a DTP so just confused is there any other way that