How to create or update 'change document' for crm order

Hi all,
   i want to create or update change document records via program . And which method could be used (FM or ...) ?
  I find there is a fm 'CRM_ORDER_WRITE_DOCUMENT' . But seems not available?
  any good idea ?
BR.

Hello
You can refer to FM:CRM_ORDER_CHANGE_DOCS_CREATE. In this FM, the change documents are set.
But I don't recommend to create or change standard change document by your own logic because of view of the internal control. Changing the change document by user own logic has possibility to make the falsification.
Regards,
Masayuki

Similar Messages

  • Creating a custom change document for a standard table field

    Hi
    Is it possible to create a change document for a field in a standard table?
    I have searched the forum and only found threads about creating change document to a custom table.
    Will the creation of change documents to a standard SAP table be a modification?
    Thanks.
    Regards
    Sowbhagya.L

    Yes it will be a modification on standard table, but you can always create change document for any field by assigning it to custom change object.
    Regards,
    Krishna.

  • How to config History Log Changes Document for Mkt Plan/CPG/TP?

    Working in SAP 4.0...
    Dear Expert,
    I want to save the document changes for Marketing Plan, Campaign and Trade Promotion.
    How to config the document changes, since the information that recorded not complete.
    Please help....
    BR,
    Robin

    Hello Robin,
    In  CRM 4.0 follow the below path:
    SPRO --> Customer Relationship Management --> Marketing --> Marketing Planning and Campaign Management --> General Settings --> Edit Categories for Change Documents
    Then maintain the entry for application as MKT for each entry, then under object type: CPG, CPT, MPL, MPT, TPM, TPT  and then Check box the entry under change document for all the entries.
    If you want to display the change log history use report : CRM_MKTPL_CD_DISPLAY in CRM 4.0
    Thanks & Regards
    Raja Pamireddy
    CRM Marketing Forum Moderator

  • Change documents for planned order

    HI ,
    My issue is that My client is creating planned orders manually. He is changing them if required( like quantity or dates) . Now he is asking that he require change documents relating to change he has done to the planned order. He wants to mention the reason behind the change in SAP.
    Please help me to resolve this issue
    Thanks in advance
    vinay

    Dear,
    Planned order is a tempapry object...cannot have a change document for that.
    Once production order is created in Std SAP planned order is deleted..what will you do with change number against the pklanned order reference...
    Please advice your client to use production order if required.
    If you want to have that you need to change the SAP std code
    Edited by: Rajesha Vittal on Feb 8, 2008 4:16 PM

  • Change document for internal orders - RKAUFTRAG

    I am trying to trigger a workflow event using change document RKAUFTRAG (internal order).  It works when I change the internal order, but not when I CREATE an internal order.  Any help?

    Hi Kenneth,
    I am facing the same problem for object class RKAUFTRAG, for creation i am not getting the data.
    please let me know the user-exit.
    it will realy helpful for me.
    with regards,
    Debdutta Dey

  • Change Document - for purchase order

    Hi all,
    when i make some changes in the purchase order(ME22N) it is stored in the table CDPOS but when i change the delivery address field this alone is not stored. what may be the reason? and how to do it?
    can anyone help me in this?
    helpfull answers will be rewarded with points..
    Thanks,
    Murali.

    Saquib,
    No, this is not directly linked to the customer or vendor master. What happens is, during PO creation the delivery address is picked up from the address of the plant, but that can be updated via both BAPI and transaction.Each time this address gets changed, SAP generates a new ADRNR and store that address in ADRC.
    This might help you in future in case you face such situation. I faced this only a few months and that's why I remeber this so clearly.
    Murali,
    Please award points and close the thread if it helped you.

  • Change Documents for Sales Order (VA03)

    Hello,
    Is it possible to track changes to the text (VA03 - Header Detail - Text Tab) from a Sales Order by using change documents?
    Thanks in advance for your help,
    CL

    I don't think that is possible. These are getting stored in Longtext (ie STXH & STXL) by retrieving this also we need to use fm READ_TEXT.
    and also in change document table CDPOS fields VALUE_NEW & VALUE_OLD have length limit of 254.

  • Change document for Maintenance Order Basic Start date

    Hi Gurus,
    I want to trace the changes to MO basic start date. But the change document indicator for MO Basic start date is not enabled.
    Is there anyother option to trace the changes to MO Basic start date??
    Thanks,
    Prabhu.

    Prabhu,
    Not all fields are tracked for changes.
    In the past we have developed some functionality to add these missing fields to the change documents.
    In this case you could utilise IWO10009 (at save event) to save the change documents.
    PeteA

  • Using a change document for Z table maintenance generatro to log changes

    Hi Forum,
    I have created a a change document for one of the Z tables now I want to use it in the table maintenance generator of this table so that any changes made to this table using maintenance generator are logged in table CDHDR and CDPOS.
    I am using the event 02     After saving the data in the database
    and have created a new FORM..ENDFORM for this event and it is working fine till here.
    But I am unable to find any table or structure where the information of the action performed in maintenance generator is kept for eg. what action was performed like add, delete or change and on how many records and contents of those records.
    I can update the tables CDHDR and CDPOS only if I have the above information.
    Please guide me as to where can I find all this information within the maintenenace generator program?
    Thank you,
    Anubhav

    Hello Anubhav,
    Are you calling the change document function module in your save event ? The function module needs to be first created using SCDO for your Z table, select the fields on which you want to track the changes.  Auto generate the programs for this change object. Once the FM is generated, you will have to call this FM in your SM30 event.
    The change document tracking also needs to be enabled at the data element level..
    Regards,
    Jay

  • Changes documents for BOM and Routing

    How Can I find the change documents for a BOM and routing?

    Change Documents For BOM
    CS80 - Material BOM
    CV80 - Document Structure
    IB80 - Equipment BOM
    IB81 - Functional Location BOM
    CS81 - Standard BOM
    CS82 - Order BOM
    CS83 - WBS BOM
    Change Documents for Routings
    CA60 - Task List Changes
    CA61 - Routing
    CA62 - Reference Operation Set
    CA63 - Rate Routing
    CA64 - Reference Rate Routing
    Hope the above may help you.

  • Creating business process procedure document for order creation& uploading

    Hi,
    How to create business process procedure document for order creation & upload in the same process node.
    which T-Codes I need to use?
    I have completed following things;
    1) Created Implementation Project
    2) Included order creation business process in the project.
    Regds
    PK

    Hi,
    Chk out these links.
    https://websmp202.sap-ag.de/~sapdownload/011000358700002006042008E/HowTo_Impl_Bus_Proc.pdf
    https://websmp207.sap-ag.de/~sapidb/011000358700006935382005E.sim

  • Proceeding document for service order

    In the case of recall/upgrade for service industry, product service letter can be created as a proceeding document for service order. I used to 0CRM_SRV_PROCESS_H for the service order. The BI content ODS for service order header is 0CRM_PROH. It contains an infoObject for proceeding document 0CRM_PREDOC. But it is not mapped in the transformation.
    I have 2 questions:
    1. which source field should 0CRM_PREDOC be mapped to?
    2. is it possible to include produce service letter in regular service order? The object type for produce service letter is BUS2000210. I noticed only BUS2000116 (service order) is being extracted via 0CRM_SRV_PROCESS_H.
    Thanks,
    Jennifer

    Madhu,
    I am sure you can create a follow-up transaction from a Service ticket to Service Order, All you have to make sure is the setting in IMG for Follow-up are active and right.
    Thanks

  • 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

  • Need to create a Change document for tracking Purpose on standard table

    Hi Experts,
    I am updating a field in standard table so need to create a change document for tracking the changes being done on the field.
    I created the change Document with transaction SCDO but I am stuck at point - How to call that in the report program to enable the change document.
    Please advice.
    Thanks!!

    Hi
    U can assign your transaction to Z-report like this:
    PARAMETERS: TAB1 RADIOBUTTON GROUP R1 DEFAULT 'X',
                TAB2 RADIOBUTTON GROUP R1,
                TAB3 RADIOBUTTON GROUP R1.
    DATA: TABNAME TYPE TABNAME.
    START-OF-SELECTION.
      CASE 'X'.
        WHEN TAB1. TABNAME = 'BSID'.
        WHEN TAB2. TABNAME = 'BSAD'.
        WHEN TAB3. TABNAME = 'BKPF'.
      ENDCASE.
      CALL FUNCTION 'RS_TABLE_LIST_CREATE'
        EXPORTING
          TABLE_NAME               = TABNAME
    *   ACTION                   = 'ANZE'
    *   WITHOUT_SUBMIT           = ' '
    *   GENERATION_FORCED        =
    *   NEW_SEL                  =
    *   NO_STRUCTURE_CHECK       = ' '
    *   DATA_EXIT                = ' '
    * IMPORTING
    *   PROGNAME                 =
    * TABLES
    *   SELTAB                   =
       EXCEPTIONS
         TABLE_IS_STRUCTURE       = 1
         TABLE_NOT_EXISTS         = 2
         DB_NOT_EXISTS            = 3
         NO_PERMISSION            = 4
         NO_CHANGE_ALLOWED        = 5
         OTHERS                   = 6
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.

  • How to create a New Tranport Request for changed  Extract structure

    How to create a New Tranport Request for changed  Extract structure ?
    Hi Experts,
    I have a FI AP Generic Datasource containing extract structure with appended fields.
    It has already been activated and transported to Testing System.
    Now, I am to create a new transport request for this DataSource and Extract structure.
    I do not want to delete and recreate the Generic Datasource.
    I am trying to look at the options in the extract structure top menu from where I can create a new Tranport Request.
    Please let me know the steps
    URGENT

    Hi Dev,
    Once you send the transport request for any data source from Dev to Testing you wont find that again in your Dev (I mean the TR). So, when you change anything for this data source or view now in Dev and try to save it, it will ask for a new transport request and here you can mention a new one starting from View then activate it and go to RSO2 regenerate it and use the same transport request for this too. When you transport this TR to Testing Environment the data source will automatically get changed.
    Hope it helps...

Maybe you are looking for