Change Documents display with BDT enhancement

Dear all,
I have come across below statement while reading SAP help about BDTs
The BDT offers the display of change documents as a generic service. All application objects and their applications can take advantage of this service through events CHGD1, CHGD2, CHGD3 and CHGD4.
Please guide me how to implement the change document functionality for BDT screen.
Thanks and Regards,
Chandra Madapati
Removed code tags
Edited by: Rob Burbank on Dec 7, 2011 9:29 AM

Hello,
this article is used for Contract Account, but it is similar.
[http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70d0507d-c39d-2b10-a18d-f559293a75ed?QuickLink=index&overridelayout=true]
br dez

Similar Messages

  • 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

  • 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

  • Access and change documents property with KM API

    Hi,
    I am trying to access KM with the KM API to change some document properties.
    I tried following cod, but I get errors for the IUser:
    IService service = PortalRuntime.getRuntimeResources().getService(IUserManagementService.KEY);
    com.sapportals.portal.security.usermanagement.IUser user =  WPUMFactory.getUserFactory().getEP5User((IUser)request.getUser().getUser());
    IResourceContext context = new ResourceContext(user);
    RID path = RID.getRID("/documents/Access/mydoc.doc");
    IResource res;
    res = ResourceFactory.getInstance().getResource(path, context);
    response.write("ResourceDisplay Name"+res.getDisplayName());
    IPropertyName propName;
    propName = new PropertyName("http://sapportals.com/xmlns/cm/rendering","displayname");
    IMutablePropertyMap map = new MutablePropertyMap();
    IProperty property;
    response.write(map.get(propName).toString());
    property = new Property(propName, "Asia");
    map.put(property);
    res.setProperty(property);
    Does anybody have an example code? Or can anybody help me?
    Thank you
    Regards
    Ismail

    Hi,
    This should work:
    com.sapportals.portal.security.usermanagement.IUser user = WPUMFactory.getUserFactory().getEP5User(request.getUser());
    Make sure you added a sharing reference for "com.sap.km.application" in your portalapp.xml.
    Best regards,
    Avishai Zamir

  • Material document display with ordering address

    Hello all,
    When we create a purchase order and do not order from the "main" (VN) vendor but from an ordering address (OA), and post the goods receipt (101) against this PO, then the material document records only the VN number and not the ordered from number. 
    Is there a list/display that shows all material documents for an order from address versus the vendor address?
    Thanks,
    Annabelle R.

    Thank you very much.
    In addition, as per SAP Library:
    Purchasing > Master Records from the Purchasing View > Vendor Master Data > Partner Roles in Purchasing:
    "In the Logistics Information System (LIS) and in the Business Information Warehouse (SAP BW), you can only run analyses for vendors. You cannot run analyses for any of the other partner roles supplied in the standard system."

  • Can't display archive change documents for agreement (COND_B)

    Hello,
    I want to display archive change document for object class : COND_B (agreement) via transaction MEB3:
    The archive works fine, and I can found the archive change documents form SARA.
    (Archive Objetc = CHANGEDOCU
    Archive info structure = SAP_CHANGEDOCU2 (is active))
    But the display from the application transaction : MEB3 doesn't work.
    In the DEBUG:
    the Function module is called automatiquely: COND_B_DISPLAY_DOCUMENT
    THEN SUBMIT RSSCD100
    THEN The function module is called with the no parameter READ_CHANGEDOCU (ie with space value)
    THEN the program reads only from DB
    Question : HOW I oblige the program to read from the archive  (READ_CHANGEDOCU = 'X') ?
    I checked these SAP notes 1050935,1299903, 1308024, 1128954, 1050335
    but no results.
    May be I forgot some customizing ( SARA,, AOBJ )?
    Thanks for your help.

    Hi,
    As I understand, the change documents archived using the CHANGEDOCU archiving object are no longer available using the application object.
    Refer to Notes 1257133 and 140255 where they mention the above point.
    If you want to read change documents along with the application, then you must first archive the change documents along with the application.
    In your case, for agreements, you should use object SD_AGREEM so that the change documents also gets archived along with the agreements. Refer to note 761281 to check whether the archiving class CHANGEDOCU is already defined along with object SD_AGREEM in your system.
    Hope this helps,
    Naveen

  • Cannot clear document posted with FBS1 and Reversed with F.81 in F-03

    We have recently turned on OIM for a Balance Sheet account and are in the process of clearing it.  The postings in this account were generated with FBS1 (Accrual/Deferral Document) and reversed with F.81.
    Majority of the documents displayed with FBL3N cleared no problem after open item management was turned on, however, there are a handful that are not displayed in F-03 (or F.13).
    Please consider the following when answering:
    OIM was turned on for the account using ZRFSEPA02 (Copy of the standard/not-delivered program for turning on OIM).
    All of the entries were reversed with F.81 and the header of the documents does not contain a "Reversal Date".
    I have already tried turning off OIM with ZRFSEPA03 and then turning it back on again with ZRFSEPA02.
    My settings in FS00 are correct for the GL Account.
    Hundreds of items were cleared.  There are 7 documents that don't appear in F-03 or F.13
    Also, please do not give me "Beginner level" information such as "Tick the OIM box for the GL Account in FS00" (You cannot turn on OIM in that manner for an account that has line items posted to it - I have been doing R/3 Configuration for 23 years, so I am an advanced Analyst in the FI/CO Area).
    Thanks - Back to searching OSS!

    Hi,
    Actually when report is executed we get following message
    Do not use the report program to set up open item management for the
    account.
    Create a new account with the correct account assignment. Post your
    items to the new account. If you want to use the original account
    number, you must bring the account balance to zero, change the account
    assignment, and repost the items. You can remove the old items by
    archiving the documents.
    Hence, it is risky to execute this report.
    Are you getting these documents in FB03 ?
    Regards,
    Tejas

  • How to Add a field in Asset 'Change Document'

    Asset Change documents displays only room number & room type in old & new fields. I would like to add fields like BUILDING NAME, ROOM NUMBER, ROOM TYPE & LOCATION STATUS CHANGES.
    Thanks,
    Kiran
    Edited by: kiran dasari on May 26, 2010 12:47 AM
    Edited by: kiran dasari on May 26, 2010 10:49 PM

    Please follow these steps :
    1. Use the user exit AIST0002 and add coding in :
        EXIT_SAPLAIST_002 and EXIT_SAPLAIST_003
    2. Add new fields in CI_ANLU structure
    3. Develop subscreen in function group XAIS
    4. Determine the Layout. Open t-code : AOLK then select Asset Class which you want to implement then click on folder 'General Assignment of layout'. Note the tab layout but the tab layout default is 'SAP'.
    5. Open t-code : AOLA. Copy the tab layout 'SAP' to create another layout ex : 'YSUB'. Then Add a new entry and double-click on the folder 'Tab Page Titles'. You want to put your custom fields in the tab page u201CGeneralu201D. So, select this tab page entry and double-click on the folder "Position of Groups". Here, all the field groups currently residing in the tab-page u201CGeneralu201D are shown. Add an entry for your newly created fields. Select the group box from the list. An entry will come with u201CUu201D padded with the custom subscreen prepared by you. Then, save and come out.
    6. Assign the new layout to Asset Class..Open t-code : AOLK again.
    7. Open t-code : AS01/AS02/AS03 again.

  • A report for the changed document histroy ...

    Hi experts,
    I want to write a program which can display all the delivery documents changed history ...
    Of course i only care the delivery number , qty & date ...
    As i know there has one TCODE : VL22 can display only one delivery document's detail .
    but it is not easy to looking for some delivery documents at the same time ...
    if i want to display all the delivery document how to do it ???
    Has some BAPI i can use in here ????
    Best Regards,
    Carlos

    You can refer to the tables - CDHRD and CDPOS for this.
    In CDHDR pass the Object class = 'LIEFERUNG'
    and  Object value = Your Delivery Number .
    You will get the list of Change Documents. With same information you can go to CDPOS to find out what exactly was changed.
    You can use the following FMs also -
    CHANGEDOCUMENT_READ_HEADERS
    CHANGEDOCUMENT_READ_POSITIONS
    Hope this will enable to you to come up with your own report for viewing history of multiple Deliveries.
    As these CDHDR and CDPOS contains all the change related informations , the performance of your report might be not very impressive if you try to do a wildcard search. Make sure you have some Delivery Numbers with you before you go into CDHDR/CDPOS.

  • Archiving Change Documents

    Hi all,
      I am working with the archive engine. And i am using archiving classes for archiving of change documents (CDHDR/CDPOS). I have made all the customizing that has to be done in the engine. But somehow my change documents after having written into archive file are not getting deleted from the database when the delete phase is executed. Any help would be very useful.
    Thanks in Advance.
    Warm Regards,
    Naveen M

    Hi mahesh,
    i checked in the SARA transaction the DB table names include that table..
    Scenario and problem i am facing:
    I have created a archiving object to archive some data in my project.. and to archive the associated change documents i have created the archiving class... my main header table data is working properly i mean its getting archived and deleted from db also.. but unfortunately the change documents associated with them is not getting deleted after the delete phase..
    And i dont know if they are getting archived as i dont know where in the archive file browser the change documents which are archived can be found.. Even if they are getting archived why are they not getting deleted???
    Thanks in advance..
    Regards,
    Naveen M

  • Regarding a Change Document Function Module ----- VERY VERY Urgent

    I am using a Change Document Function module "CHANGEDOCUMENT_READ". It is taking a long time.
    I am using the parameters:
    Start date is the first date of the current month
    Enddate as last date of the current month
    Object class as 'MATERIAL'
    Table Name as 'MBEW'

    Hi ,
    When you want to read the change documents, please follow the below process.
    1. Read the change documents headers with function modules
    call function 'CHANGEDOCUMENT_READ_HEADERS'
           exporting
                date_of_change             = cdhdr-udate
                objectclass                = cdhdr-objectclas
                objectid                   = cdhdr-objectid
                time_of_change             = '000000'
                username                   = cdhdr-username
           tables
                i_cdhdr                    = gt_cdhdr
           exceptions
                no_position_found          = 1
                wrong_access_to_archive    = 2
                time_zone_conversion_error = 3
                others                     = 4.
    2. From above step you will get data of change documents very quickly into Itab (gt_cdhdr)
    3. Read the details on change documents with functiion module by using Itab in loop for each document.
      loop at gt_cdhdr.
        call function 'CHANGEDOCUMENT_READ_POSITIONS'
             exporting
                  changenumber            = gt_cdhdr-changenr
             importing
                  header                  = cdhdr
             tables
                  editpos                 = gt_cdshw
             exceptions
                  no_position_found       = 1
                  wrong_access_to_archive = 2
                  others                  = 3.
    Above is the best way to read the change documents.
    Rewards please if above info is useful.
    Thanks.

  • Entry Document and Change Document in SAP FM

    Dear Expert,
    In SAP FM when we enter a budget through FMBB, system create the entry document and creates change document automatically with the original document
    could you please explain what is the difference between 2 documents. and justify system behavior when system creates 2 change documents for the same entry document (sometimes)
    Thanks & Regards

    Hi Richa,
    a good place to start would be the Master Guide to NW 7.4 SR1 on SAP Market Place which is here.
    The guide goes through everything for planning a NW installation including of course Portal and planning the Landscape design and architectura questions.
    Best regards,
    Andy.

  • Activating Workflow for Change Documents

    Hi
    I am working in cProjects 4.0 on ECC6.
    I am working on the scenario of automatic email generation when change document is created for project element.
    I have used sample workflow WS28700006 and following settings have been made :
    1. Make the required settings in the SAP menu under Tools → Business Workflow →
    Development → Definition Tools → Events → Event Creation → Change Documents
    →
    a. Overview (transaction SCDO)
    Enter DPR_PROJECTS in the table.
    b. Define Workflow Properties (transaction SWED)
    Enter the following data:
    Change document object DPR_PROJECT
    Leading table in change document DPR_PROJECT
    Change document key with structure DPR_PROJECT
    Action: Change X
    Structure DPR_TS_BUSINESS_OBJECT_KEY
    Function module BAPI_BUS2175_OBJECT_KEY_SET
    c. Linkage (transaction SWEC)
    Enter the following data:
    Change document DPR_PROJECT
    Object category BOR object type
    Business object type BUS2175
    Event CHANGED
    On change X
    In cProjects I have I have attached word document, and another user changed it and changed document again checked in again with overwriting the old one.
    But no workflow triggerd. In SWI1 transaction I cannot see any workflow triggered.
    Is there any problem with workflow and process or changing document in cProjects is not write ????
    Can someone help ????
    Regards,
    Niraj Sikligar

    Hi Niraj,
    Please ensure that you have made IMG setting for cProjects > Basic Settings>'Activate Change Documents'.
    'Change Documents' means that any change in the Project Objects will be recorded, and not the changes in the documents that have been attached.
    I am not too sure about the workflow settings that you have made, but just try with the img activity that I've mentioned. You can test the same by making some changes in Project (  for eg change the Project Status) and save it.
    Let me know if it helps.
    Regards,
    Vivek Pandey

  • Create BO Event via Change Document

    Hello gurus
    I'm having some trouble creating an event via a change document for a custom Z table.  I've already followed the steps outlined in help.sap.com:
    1. Created the change document for the z table and generated the program.
    2. Made the Z table and its data elements relevant for change documents.  Did this through the Technical Settings for table (Log changes checkbox) and data element characteristics.
    3. Made an entry under "CREATE" in SWED for my new change document object, with the z table as the leading table and change document key with structure.
    4. Made an entry for my event in SWEC and linked it for a create of the change document.
    However, the event is not being fired when a new entry is made in the z table.  I set a breakpoint in the funcion module generated for the change document but it's not being detected apparently.
    Are there any further settings I need to look at/change for the change document to activate the event?  Thanks in advance
    Regards,
    Juan Ramos

    Hi Ramki
    Indeed, I consider using SAP_WAPI_CREATE_EVENT much, much simpler, but unfortunately it was another consultant, not me, who built the table, its code, and the code behind the z transaction where the table is used (and he's based offshore).  It was only just now that I also found the code he wrote for the txn. 
    If I would have to add code anyway to make the change document work, I'll just talk to the consultant to have him add the SAP_WAPI_CREATE_EVENT, or I'll just add it myself if I get permission from our development manager.
    Thanks for your help as always!
    Regards,
    Juan Ramos

  • Enhance ZMMJ or Normal Change Document with Custom User

    Hi there,
    I am wondering if it is possible to add a specific field into a change document.
    We have a requirement whereby 2 different testers need to be added to a change. The first tester will perform testing of Development in DEV (as per our custom workflow) and then the second tester will perform the normal testing in QA.
    Now these two testers might not necessarily be the same person or have the same authorization.
    So, my question is that when you are assigning team members to the change (Developer, Tester, Change Manager, IT Operator), is there an option to add another user field here, such as Dev Tester?
    Thank you.

    Hi Bradley,
    SAP Note 1728284 has a PDF Attachment with a detailed description what needs to be done. Please follow this description to adapt your configuration.
    Thanks
    Vikram

Maybe you are looking for

  • Spotlight/Gaming Sweetie Bianca made her MSI Brand Ambassador debut

    (MSI eSport News Report)2014 MSI continuedto popularizing the global professional Electronic Sport (eSport) and made every effort to supporting the worldwide selected eSport gamers and eSport teams. Last year MSI sponsored a popular female eSport pla

  • Microsoft Exchange shared calendars through iCal on iPad or Mac

    This is surely not an original question, but - My company uses Microsoft Exchange.  I have synced it to my iPad for calendar, contacts, and email, and it works very well. We also use shared calendars, and I utilize this feature often via Outlook on m

  • How do I get photos to turn?

    My photos are locked in portrait mode and will not turn horizontally on my iPhone 4.  There is a locked turn icon at the top of my screen. I'm not sure how I locked them or how to unlock them.

  • Add (+) search criteria grayed out

    When searching in a finder window, the normal ( +) button to add search criteria is disabled. I thought maybe I had a corrupt preference file, so I trashed all the .plist files that seemed to relate to the finder. Whe I restarted, the button was back

  • Problems with usa Apple Tv in europe due to PAL/NTSC

    Im thinking about buying one in NY to take it to Spain, is it possible??