Change Document - bulk of record

Hi,
I have a maintenace screen and changing the exisint value for 10 set of records. Now,  i'm passing these change records to change document f/n mod and the change documents are generated.  when i check cdpos table the change numbers are identifcal. here in this case i'm passing the value as in internal table and not processing in singles.
wanna to confirm if this is a known behaviour or how can i get unqiue change number generated for  the record processed via the internal table?

now creating CD per record to ignore the issues

Similar Messages

  • Objectclass for change documents for contracts using condition record no.

    I want the changes for price, Price per and currency for contract based on the info record number and contion record number.
    Presently i am using object class is COND_A. But if user changes  multiple times price, price per and currency by deleting existing price  and created new price or price per or currency, this case it is saving only latest data based on the change document.
    I want to change the logic as based on the change document, i will display the all changes of price, price per and Currency.
    Could you suggest object class for this?

    Hello,
    Please check with the following user exit for the requirement that you have cited :
    1. USEREXIT_XKOMV_FUELLEN_O_KONP (SAPLV61A) ( RV61AFZB ).
    2. EXIT_SAPLV45L_001
    Kindly check with these two above user exit and let me know if your requirement is fulfilled.
    Regards,
    Sarthak

  • Change Document for IH08 (Equip Record)

    Hello,
    I need to track some specific fields for the equipment record (EQUI) that changes over time. We are currently using Change Documents (CDHDR & CDPOS) in order to achieve this (it worked with the majority of the fields).
    We have been told that we also need to track when an equipment change it status, for instance, the equipment has change from Active (ACTV) to Inactive (INAC). I'm wondering why this type of changes are not being populated neither in the CDHDR table nor CDPOS. I also went to the IH08 transaction -> Extras -> Display Changes and is not reflected there as well.
    Is the equipment status different than the other field changes? What would be the best approach in order to track if a Equipment Status changed?
    Thanks in advance for your time and help.
    Kind Regards,
    CL

    Hi,
    It will provide the current status of equipment
    like
      select        * from  jest into jest up to 1 rows
             where  objnr  = lobjnr
             and    stat   like 'E%'
             and    inact  = space.

  • Quirey regarding BOM change documents display -records  not able to underst

    Hi,
    While viewing Change documents  of BOm through CS03--Environment --change documents    ....the following is being displayed
    what does it really refers to ?
    user id is ofcourse :RNDCORE
    can any one provide some inputs ? what it refers and where to get the entire details of these deleted  ....records ?
    55564677   16.07.2008 12:24:33 RNDCORE      CS02  
    STAS    777M00016605010000013300000267   Deleted
    STPO    777M000166050000013300000266     Deleted
    regards,
    Madhu Kiran

    >    
    > STAS    777M00016605010000013300000267   Deleted
    >
    > STPO    777M000166050000013300000266     Deleted
    >
    >
    >  regards,
    > Madhu Kiran
    Hi,
    It says:
    STAS    777M00016605010000013300000267
    777           -Client
    M             -Material BOM
    00016605  - BOM
    01            - Alternative
    00000133 - Item Node
    00000267 - Counter
    Similarly for STPO    777M000166050000013300000266  also.
    Hope this Clarifies.
    Regards,
    Siva

  • 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

  • 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

  • Call FM of Change Document

    Hi experts,
    I have created a Change Document Object for about 5 tables including 2 Z-tables.
    Before I record the changes, one of the tables may have different kinds of changes.
    For example, some of the entries are inserted, some are updated, and others maybe deleted. Now my question is that how can I recode all these changes which belong to different kinds in one go by calling the FM generated automatically after creating the Change Document Object? Because there are some other tables whose changes also need to be recorded, I can not call the FM several times. Does any1 have some ideas about this?
    Thanks in advance. Points will be rewarded.
    Vincent

    Hi Danijela,
    You can use FM IQAPI_WORD_WRAP to split your text across multiple lines.
    Regards,
    Raj

  • Unable to change document owner

    Hi All,
    I am trying to change document owner of Master Agreement via Contracts.xls file.
            I am getting below error:
            # Record 1. Warning: the item Rama Kishore referenced in column DOC_OWNER_USER could not be found
    Also, I went through various posts and as mentioned in one of the post to assign "Document Owner" role using "user account.xls". But still I was not able to see this role in Security Tab of my user account.
    Another post says to use a template with following fields
           # Field
           # CLASS_NAME
           # PARENT_EXTERNAL_ID
           # PARENT_UNIQUE_DOC_NAME
           # LOOKUP_PRINCIPAL
           # LOOKUP_COLLABORATOR_TYPE
           # LOOKUP_COLLABORATOR_ROLE
           # PRINCIPAL
           # COLLABORATOR_TYPE
           # COLLABORATOR_ROLE
           # REPRESENTING
           # USAGE
           # SILENT
           but it gives error:
           # Failed: object 1: The object referenced in column DOC_TYPE could not be found.
    Please guide me on how to change document owner of an Master Agreement.
    Thanks,
    Saloni

    HI Saloni,
    Try to import the sample workbook  with your Data which I have sent to your email id. While importing select the object type as Master Agreement. Also make sure the user which you are trying to update should be available in the System.
    Let me know if it works.
    Thanks,
    Kushagra A

  • Change/modify  Purchase info records (EINE table)

    Hi,
    Could you pls help to in providing FM to change/modify purchase info record.
    I have tried to use FM - >  ME_UPDATE_INFORECORD
    and ME_DB_UPDATE_INFORECORDS. but, it's not working .
    Kindly advice.
    Regards,
    Bharat

    hi,
    try report <b>RM06IBI0</b> and read docu to that abap
    A.

  • Unable to proceed in change document are not updating in CDHD, CDPOS tables

    Hi all,
    This is a question related to Change document.
    I created one custom Change document object ‘ZBUDGETS’.
    As I am trying to place a trigger on FMIT (Total Funds Management) table I created a Change document object ‘ZBUDGETS’.
    I included some of the authorized fields from FMIT table on which we placed the trigger.
    And of course all those fields are change document enabled in the data element level. I generation of the update program was completed. And I got the function module zbudgets_write_document along with some include programs and structure.
    Everything is fine, But i am unable to get this change document generated information to these tables are CDHDR and CDPOS.
    the problem is when I make any expenditure like PO Posting, it will be logging in the FMIT table and the respective fields also updating. With this the Change document object should trigger and it should send the record in CDHDR and CDPOS tables. This is not happening. If the records are getting updated in the CDHDR and CDPOS tables I can use those include programs and function modules in my program to retrieve the changes in FMIT table.
    Since I am unable to proceed further since the documents are not updating in CDHDR and CDPOS tables.
    Prabhakar

    CDHDR and CDPOS will not be populated with entries only by creating the change document object.Change documents will be written to CDHDR and CDPOS tables only if the function zbudgets_write_document is called in the transaction which updates FMIT.
    You need to find an use exit in the transaction updating FMIT and call the function zbudgets_write_document in that exit.
    Refer the below link http://help.sap.com/saphelp_47x200/helpdata/en/2a/fa01b6493111d182b70000e829fbfe/content.htm
    -Kiran
    *Please reward useful answers

  • Change document display in BDT

    Hi,
    Can some tell me how to display the change document list for the field level in BDT...CHGD1,CHGD2 and CHGD4 are event where i have written the code to display the list..currently it always display a single record list i.e created...it never show that the field that got changed after the create...but for the standard BP field it list show the field level change..it would be helpful if come can help in this. Or provide a sample code that would display the field level change in the list.
    Regards,
    Raghavendra

    Hi,
    I have some problem as you ...
    Do you finally find which code to put in the event please to display the changes...
    I will appreciate your help because I am completely lost with ..
    thanks in advance,
    Marie

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

  • How to create the change document functionality for a dependent objects?

    May I please know how to create the change document functionality for a dependent objects?
    I have done it follow the same process as for business process objects. But when i try to test it in BOBT, there is no records under "FIELD_CHANGE_WITH_FILTER". It seems the change hasn't been recorded.
    If the way I did to create change document for dependent object is correct, please also kindly advise the possibilities for why there is no record during testing.
    thanks in advance.

    I also have some doubts about the business object.In this case,one abstract BO hase a subnode wihich is root extended.I added the change document for this node under the category "root_extended" and then tested the function in BOBT.I got some error message "can't find the root key".Shall i redefine the method /BOFU/IF_CDO_CREATION~IS_CDO_CREATION_ACTIVE so as to solve the problem?
    Thx.

  • Change Document output

    Dear Experts,
    Am using the Change Document FM 'CHANGEDOCUMENT_READ' to fetch the changed fields in my application.
    The table is of structure CDRED and has F_OLD and F_NEW.
    I have to output only fields where the new value has changed from the Old value.
    Since both are of CHAR 254, for example, the amount field value is stored as 0.00 in the F_OLD and there is no value
    in the F_NEW generated by the FM.
    when i compare IF F_OLD ne F_NEW, still the record ouputs because F_OLD has 0.00 and F_NEW spaces.
    Also this is the issue with date values.
    MAJOR concern is the FM is outputting all record fields whose contents have not changed.
    I request if anyone can throw some light on this.
    Regards,
    Sampath
    Edited by: SampathKumarPilla on Nov 26, 2009 5:46 PM

    Halo Sampath,
    They why dont you check if F_NEW is initial .
    This might be  a problem if the user changes the value to None I suppose

  • Archiving documents in SAP Records Management

    Hello experts,
    Does anybody know how to archive documents in SAP Records Management? By default, they are stored somewhere in SAP database. However, based on the SAP documentation, they can be stored also to archive by using ArchiveLink. Where is this configuration done and how? Or do we need some coding here?
    I'm interested in two different solutions:
    1) Document will be stored on an archive server right from the start. By doing this, I no longer need to move the document content myself.
    2) Moving existing Records Management documents to archive. I know there is a program SRM_KPRO_CONTENT_RELOCATION for this purpose, but it doesn't seem to be working without some archiving/RM configuration before somewhere else.
    We are using Records Management as part of Digital Personnel Files and the documents to be archived are completed Adobe forms.
    Best Regards,
    JV

    Hi JV,
    You need to define the repository in OAC0 transaction. As per my analysis now your document are stored in sap database.
    If you are using separate serever then confuigure as follows in OAC0:
    Document area : SAP Records Management
    Storgae type : RFC Archive
    define IP address and port. Then goto CSADMIN and activate the certificate for the same.
    or if using SAP Database then make the changes in above areas.
    Then these archived documents will get saved in content server instead of sap database.
    Hope this will help.
    Regards,
    Ravindra

Maybe you are looking for

  • HT201209 Can I transfer money from one account to another?

    Can I transfer money from one account to another?

  • Monitoring Adapter Engine J2SE

    Hi, I have setupt he SLD Accessor on the J2SE Adapter Engine. If one check in the log the connecting to the SLD is successful. Also the Adapter Engine is registered in the SLD as type XI Adapter Engine in Technical Systems > Process Integration. I ca

  • Macbook Pro 15" high-res 1440 x 900 setting using SwitchResX

    Hi, I have Macbook Pro wiht15" high-res display. But I seems I can set the 1440x900 resolution by default option. There is only 1440x852... thouth I can't understand it. Anyway, someone seems to enable 1440 x 900 resolution with SwitchResX. I also tr

  • IPhoto Hidden Pictures to Aperture

    In transferring from iPhoto to Aperture hidden photos appear open in Library Photos with the label "X" and "iPhoto Hidden" but they are not included in the event. Is there an easy way to hide pictures, and unhide them, in Aperture? How can you get th

  • Installing Adobe reader without access to the internet

    I would like to install Adobe reader on my laptop, but have no internet connexion at home. I downloaded Adobe reader on my USB pen, but when I tried to install it on my laptop, the installation wizard tried to connect to the internet. As it failed, i