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.

Similar Messages

  • Changed document for custom fields

    Hi All,
    For business transactions we can see <b>changed documents</b> under <b>Extras</b> menu.
    I have custom tabs & custom fields in business transaction. We need to see the custom field changes by value & user in the above menu. Is it possible? how?
    thanks,
    Bhushan

    Hi Murlidhar,
    My question is related to SAP CRM. The notes you suggested are not for CRM.
    Others, do you have any idea how to add/show records in "Extras-> Change Documents" of business transactions like Sales order, activities for custom fields not using EEWB.
    thanks,
    Bhushan

  • Displaying change documents for custom fields  in FPP2

    I have added a new subscreen to the Business partner via BUPT. The new fields are on a custom table. I have created change documents for the new fields and all that is working fine - details are being written to CDHDR/CDPOS as expected. In the standard FPP2 transaction the user can select Extras / Partner changes which will display a list of the change documents. This does not include my custom fields.
    Does anyone know if it is possible to include my custom field changes in this list? I have searched several forums but cannot find any reference to this.

    Hi,
    Fix a break-point in the following function modules and check whether you are passing custom fields
    CHANGEDOCUMENT_SINGLE_CASE
    or
    CHANGEDOCUMENT_MULTIPLE_CASE
    SAP uses the above said function modules to update change documents. Its have two import paratmeters
    WORKAREA_OLD
    WORKAREA_NEW 
    or
    TABLE_OLD          
    TABLE_NEW 

  • Creating Change Document for Custom Field in Table PROJ

    Hi,
    We have a few Custom Fields in Table PROJ.
    What needs to be done so that every time a particular custom field  is changed, change document in table CDHDR and CDPOS are created.
    Regards,
    Tarun Bahal

    Hi Tarun,
    Please refer [Link1|https://help.sap.com/saphelp_nwmobile71/helpdata/en/2a/fa018f493111d182b70000e829fbfe/content.htm] & [Link2|http://help.sap.com/saphelp_erp2005/helpdata/en/db/7a2a40ce93185de10000000a1550b0/content.htm]
    Hope this helps!
    Regards
    Shital

  • 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

  • Change documents for hr fields

    Hi All,
    I have a requirement in which we need to get the changes happening at field level in some Employee related (like PA0002) HR master data. We have checked that related fields, in those data elements check box is not enabled. For those changes we need to create interface program.
    I already created change document object in scdo T-code. For triggering the generated function module there is no relevant user-exit.
    For this we found one way of keeping the event trigger at database table level, and we found that we need to keep the form routine AB. But we don’t have any idea about the process methodology.
    Could you please tell me how to write the code in that related process routines in the standard tables? Or if there is another way is available to trap the changes at field level.
    Thank You.
    Regards,
    Srinivas.
    Edited by: Mike Pokraka on Aug 19, 2008 3:47 PM

    Hi ,
    Were you able to solve this problem , I am facing the same right now , Please advice .
    Sudheer

  • Change documents for customer Z table - serious help wanted

    Hi all,
    I am no beginner and I don't expect any comments from beginners.
    Situation: My customer wants to replace the material valuation transactions MRN1 MRN2 MRN3 due to bad performance and locking problems with own developed programs.
    The valuation results will be stored in a customer Z-Table on a monthly base. For auditing and transparency purposes, this Z-table has to get a change object and the update routines will have to write change documents.
    Due to the expected size of the new Z-table, it is not advisable to simply switsch on table logging.
    In this huge project (and in none I participated!) nobody ever implemented the change document process for a Z-table. <b>BUT EVERYBODY CAN TELL YOU THI IS NO PROBLEM AT ALL.</b>
    I read some documentation at SAP and serached for threads or blogs here. I could not find anything desribing that in depth.
    So before I start, I'd be happy to get some hints from people who created own change documents and implemented the process. Links to documentation and other helpful pages are also welcome.
    If I can keep the process simple, I'd like to create a BLOG on this - because I think, in the future it will get more and more difficult to pass the auditing process with undocumented features and uncontrolled table changes.
    TIA.
    Regards,
    Clemens

    Hi,
    Please check this thread.
    http://www.sapdevelopment.co.uk/tips/changedoc/cd_createch.htm
    Once you create your change document object using generate update pgm option then  please check the WRITE document fm.
    I have done this long back i am updating CDHDR and CDPOS for 2 table YATT and YATTPLANTS. Here YATT have single record (header table) and YATTPLANTS have multiple records (item table)
    function yatt_write_document           .
      call function 'CHANGEDOCUMENT_OPEN'
        exporting
          objectclass             = 'YATT           '
          objectid                = objectid
          planned_change_number   = planned_change_number
          planned_or_real_changes = planned_or_real_changes
        exceptions
          sequence_invalid        = 1
          others                  = 2.
      case sy-subrc.
        when 0.                                   "ok.
        when 1. message a600 with 'SEQUENCE INVALID'.
        when 2. message a600 with 'OPEN ERROR'.
      endcase.
    if upd_yctc                           ne space.
       call function 'CHANGEDOCUMENT_SINGLE_CASE'
         exporting
           tablename              = 'YATT                          '
           workarea_old           = o_yatt
           workarea_new           = n_yatt
            change_indicator       = upd_yattc
            docu_delete            = 'X'
         exceptions
           nametab_error          = 1
           open_missing           = 2
           position_insert_failed = 3
           others                 = 4.
        case sy-subrc.
          when 0.                                "ok.
          when 1. message a600 with 'NAMETAB-ERROR'.
          when 2. message a600 with 'OPEN MISSING'.
          when 3. message a600 with 'INSERT ERROR'.
          when 4. message a600 with 'SINGLE ERROR'.
        endcase.
      endif.
      if upd_yctcauthplnts                  ne space.
        call function 'CHANGEDOCUMENT_MULTIPLE_CASE'
          exporting
            tablename              = 'YATTPLANTS                 '
            change_indicator       = upd_yattplants
            docu_delete            = 'X'
          tables
            table_old              = yyattplants
            table_new              = xyattplants
         exceptions
           nametab_error          = 1
           open_missing           = 2
           position_insert_failed = 3
           others                 = 4.
        case sy-subrc.
          when 0.                                "ok.
          when 1. message a600 with 'NAMETAB-ERROR'.
          when 2. message a600 with 'OPEN MISSING'.
          when 3. message a600 with 'INSERT ERROR'.
          when 4. message a600 with 'MULTIPLE ERROR'.
        endcase.
      endif.
      call function 'CHANGEDOCUMENT_CLOSE'
        exporting
          objectclass             = 'YATT           '
          objectid                = objectid
          date_of_change          = udate
          time_of_change          = utime
          tcode                   = tcode
          username                = username
          object_change_indicator = object_change_indicator
          no_change_pointers      = no_change_pointers
        exceptions
          header_insert_failed    = 1
          object_invalid          = 2
          open_missing            = 3
          no_position_inserted    = 4
          others                  = 5.
      case sy-subrc.
        when 0.                                   "ok.
        when 1. message a600 with 'INSERT HEADER FAILED'.
        when 2. message a600 with 'OBJECT INVALID'.
        when 3. message a600 with 'OPEN MISSING'.
    *    WHEN 4. MESSAGE A600 WITH 'NO_POSITION_INSERTED'.
    * do not abort, if positions are not inserted!!!
        when 5. message a600 with 'CLOSE ERROR'.
      endcase.
    endfunction.

  • Capture Change history for customized field- MM02.

    Hi Friends,
    I have created one sub screen with one field i.e., Warranty card No. This will be stored in MARC-ZZMAT1. Change history cannot be capturing for this field. If I made any changes (MM02), we required to capture the changes history. 
    Please advise where I need to be configured to achieve the above requirement.
    Best regards,
    Raman.

    Hi Raman,
    When you define the field (SE11), in the further characteristics tab there is a field Change Document. This needs to be checked
    Kindly do this and check
    prasanna

  • 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.

  • Change Documents for the table EKET

    Hi ,
    We create a purchase order from ME21N . We do have some data for delivery schedule for the data .
    This delivery schedule data gets stored in tabe EKET . When this PO is processed from V_V2 the dates
    in the  delivery schedule are overwritten and he new values will be even in the table EKET .  When I follow  
    the navigation  Environment -> Item Changes  I dont see the changes documents for these fate fields . I did
    debug through the FM   EINKBELEG_WRITE_DOCUMENT to see but it looks like it is not captuirng the fields .
    Now my requirement is to find where the change documents can be found for the date changes in the delivery
    schedule tab in the PO .  The fields of interest are  :
    EKET-SFLDT , EKET-DAT01, EKET-MBDAT , EKET-LDDAT , EKET-WADAT .
    I tried for some OSS notes too, but in vain . Can anyone please help to find out how we find the changes documents for these fields .
    <b>Also please tell me if there are any OSS notes which explain us to extend the table EKET .</b>
    Thanks and Regards ,
    Varun  .

    HI ,
    I did check the table CDHDR and CDPOS and also the change document is checked for the data element but no change documents are stored in CDHDR and CDPOS .
    <b>Did anyone ever extend the tabke EKET ? Any OSS notes available for this .</b>
    Regards ,
    Varun .
    Message was edited by: varun sonu

  • Change document for NETWR_AK

    Hi,
    I thinking activated Change document flag for data element NETWR_AK (Net Value at Sales order header). Now if I change the price of an item or add a line item in a sales order,there is no change document created for it in CDPOS (Obviously the net value of the sales order will change).
    I would expect a change document to be created in Table CDPOS every time the Net value of the Sales order is changed.
    What is the implication is i mark the change document for this field, because when i try to activate it, it will warn me the dependability of this field to other table and structure which is quiet a lot....Will it jam my CDPOS in future?
    Thanks in advance for any help.

    I need this help because I need to create a SO history log report that captures this netwr value..the current standard in SAP is capture for item line....
    Or anyone with a SO history log report smaple also can reply me....
    Regards,
    Raymond

  • 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

  • Change documents for article

    Dear all,
    Some of the change documents for articles look like the one below. What is the way to find out what kind of change was performed on 10.04.2014?
    Thank you very much!
    Regards,
    Miro

    Hi Miro,
    I understand your request.
    But you will not find any additional information, which data was changed.
    As said before: a field was changed for which no change document is written. So, the only thing documented was the change of MARA-LAEDA (as for this field, change document is written).
    Regards
    Tobias

  • Creating change documents for VDH1N-customer hierarchy

    Hi
    i need to create change documents so that i can read the changes and extend DEBMAS06 to send customer hierarchy data to non-sap system using IDOC.
    can anyone let me know how to create change documents to customer hierarchy ...

    Hi
    i need to create change documents so that i can read the changes and extend DEBMAS06 to send customer hierarchy data to non-sap system using IDOC.
    can anyone let me know how to create change documents to customer hierarchy ...

  • Change document for LIKP

    Dear Experts,
        I need to create a customizing change event for LIKP,
    but I couldn't find the change document for LIKP.
        Did anyone has ever create change doc. for LIKP and
    share experience ?
    thanks in advance.
    Minter

    Dear Ramki,
           Thanks for ur first reply.But after I create event
    for the object LIEFERUNG, I could not see fields for table LIKP in SWEC.
    Regards,
    Minter

Maybe you are looking for

  • Multiple Vendor Sub Ranges in single PO

    Dear MM experts My question is regarding Vendor Sub Range. We can specify VSR in item details in PO. Below are the doubts: 1. Can we have multiple VSR in the sme PO? 2. How the system behaves if there are more than 2 currencies involved. Example: USD

  • Can't change default user name on Authentication dialogs

    Due to a corrupt user account, I had to create a new user account. I specified a "2" at the end of my full name i.e. "Full Name 2" because I couldn't use the same full name as the corrupt account. I still haven't deleted the old corrupt one yet just

  • Problems with JRE installation 1.6.0_18 in silent mode

    Hi! I have problems with installing the JRE from the cmd line in silent mode and in a directory with spaces in the path. If I remove the spaces in the INSTALLDIR, the JRE installs in the directory I have specified but not when I use spaces in the pat

  • 10.6.4 deleted most startup items

    Hi there, I installed 10.6.4 yesterday without any error messages. After the reboot I realized that most of my startup items have vanished. How could that happen? Does anyone know the physical folder where these items are normanlly stored? Thx! Jan

  • Password-Protected Sparsebundle won't mount in Snow Leopard...?

    Hi guys - I've searched for a few hours now and haven't found anyone with my exact issue... It's pretty simple: I created a password-protected sparsebundle file on my idisk so I can access important documents at work and at home. Since upgrading to S