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.

Similar Messages

  • Report for the changes made in Purchase Order

    Hi Friends,
    In my location, changes are made to the purchase orders as and when required. Is there any report which shows the changes made to the Purchase Orders?? I am aware of the Item changes option in the Purchase Order.
    Thanks in advance..
    Regards,
    Phani

    Hi,
    You have to develope an own ABAP report for this, based on the change tables CDHDR and CDPOS
    CDHDR - Header Change
    CDPOS - Item Change
    EREV - Version Change
    Check the link
    Purchase order change log
    Regards
    KK
    Edited by: Kishore Kumar Galla on Apr 5, 2010 1:16 PM

  • Open multiples reports for the same document

    Hi,
       I created 3 PLD reports for PO, I am wondering in SDK, how can I open all 3 PLD reports when I click on the preview button for a PO document?
       Thanks
    Chris

    Hi Chris,
    You cannot. I use Crystal Reports when I need to open more then one document layout at the same time.
    Regards,
    Vítor Vieira

  • 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

  • 'creation date of the change document' in me23n or me22n

    hi experts,
                   i want a help from you to find out where ( in which ) table the  'date'  field is getting stored.if u go to me23n and give a po number and go to menu bar  environment --> header changes, then we can find 'creation date of the change document', i need to capture that date when status is 9. can any one tell me where that date is stored

    Hi Kiran,
    You can search for table CDHDR & CDPOS for the change documents.
    where CDHER-OBJECTCLAS = EINKBELEG
    OBJECTID
    Regards,
    Anbalagan

  • Report for abserving changes made to the customer master and moniter

    Report for abserving changes made to the customer master and moniter and detail
    Please send with t. code.

    Hi Dhari,
    Well the requirement seems very simple but its not as simple as it looks.
    i have an idea not sure whether it gonna work or not. you need to build a history cube as if i understand your requirement then for any selected period you wanna see the change in wage type or pay rate for each employee if any.
    1. pick up an cube that builds on emp transaction data.
    2. add the 0empoyee Md, wage type and pay rate from MD to the cube and fill the cube
    3.so now every day or in scheduled time interval the MD will load and the corresponding the TD will be loaded to the cube.
    4. create a info object say indicator and add it to the cube
    5.while loading the data to the cube everyday in tranformation check if for same employee there is a change or not in the wage type and pay rate. If so set the indicator to 1.
    4.now build one more cube for holding the changed records from this cube and call it say zhrchange
    5. now pull the date, year and related emplyee information for the emplyee to the zhrchange for those with indicator 1.
    6. before the next load happen, rememrbe to set the indicator to 0 before checking the conditoin in the transformation routine , so that only if the conditoin satisfy then only it will be 1 else it will be 0.
    now the cube zhrchange has all the changed records with time stamp and you can base your query on that to get the changed values in specific time period
    hope this helps.

  • How to get the Change Document Header details for a given date

    Hi All,
    Can anyone help me on this Change Document Header details(CDHDR).
    Better way to pull the information of Change Document Header details(CDHDR). No Index is maintained for the tables.
    So please suggest better Optimising techniques to get the Change Document Header details(CDHDR).
    Using this Function module : CHANGEDOCUMENT_READ_HEADERS how to import the DATE_OF_CHANGE.
    Thanks in advance
    Regards
    Chakri

    HI,
    Go through the documenattion of the FM u can get the details.. and also where used list
    Regards,
    Nagaraj

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

  • My tab default is1.25 which is too big for the A5 document I'm working on, how do I change the default tab so that I don't have to reset each individual line?

    My tab default is1.25 which is too big for the A5 document I'm working on, how do I change the default tab so that I don't have to reset each individual line?

    Hi Hannah,
    Inspector > Text > Tabs Button > Tab Settings > Default Tabs.
    To set a tab stop on the go, click in the ruler.
    If you can't see the ruler, Menu > View > Show Rulers.
    To set tab stops for lines (paragraphs) you have already typed, select those paragraphs and set them all at once.
    Also, have a look at Menu > Pages > Preferences > Rulers.
    Regards,
    Ian.

  • Sales document report for all open documents

    hi i need the code for sales document report for all open documents is sd
    ...      can anyone help me out.
                                     thanks in advance

    Try transaction VA05. In that choose "Open Orders" along with other selection criteria.
    If you want the Open sales order qty in output and its not displayed, do the following.
    Sales -> System modification -> create new fields ( without condition technique) -> New fields for lists.
    You can change V05TZZMO and structure VBMTVZ from there or use SE38 / SE11.
    For both you'll need an object registration in OSS.
    Hope this helps.
    Thanks,
    Balaji

  • Internal Order Report - For the documnets when the cost ele. was not create

    Hi,
    We created internal orders for tracking capital expenditure relating to assets. At that time, we were not created asset GL's as cost element. Recently we created asset GL's as cost elements (category 90).
    Now we are getting the internal order report after creation of cost element for the transactions done thereafter. We mentioned the internal order number in PO but not in accounting document earlier. Now we are maintaining internal order number in accounting document also.
    So when we run OKBA we are getting CO document but, it is not tracking against internal order (since order number was not mentioned earlier). We executed one MM document in which internal order was mentioned through OKBB but there is no change in the internal order report.
    Is there any possibility to get the internal order report for the transactions done before creation of cost element.
    Please guide me
    Best Regards
    Madhusekhar Gupta G

    Hi,
    Thanks for your quick replies.
    Can we get the report as follows.
    1. Total Po's value for the internal Order (through Table EKKN)                                                      xxx
    Less: Value already posted to Internal order after creation of cost elements (S_alr_87013019)  xxx
    Less: Total Value to be invoiced (Tcode -ME2N)                                                                             xxx
    Net amount to be posted to Internal Order manually                                                                        xxx
    Is it correct?
    Regards
    Madhusekhar Gupta G
    Edited by: gms gupta on Feb 20, 2012 4:33 PM

  • Report for the cost for replacing the defective goods free of cost

    hi guru's,
      iam having the qury that iwant to create a report for the free of cost .For the senario that company wants the report for replacing the defective goods free of cost .pls help me out .IN SD module
    Edited by: joe mm on May 13, 2008 3:35 PM

    Dear joe
    I am sure, for giving free of cost, you should be having different document types like sale order for free goods, billing with no value.  So thru VF05, by selecting the billing document type, you can generate a report.
    thanks
    G. Lakshmipathi

  • Tables for PIR change documents

    Dear Experts ,
    I need to know the tables for PIR change documents , as shown in t code ME14.
    Can anyone please let me know the same ?
    Regards
    Anis

    Hi,
    Check below tables
    CDHDR- Change document Header
    CDPOS- Change socument Item
    SAM

  • Customized report for BOM changes

    Hi PP Gurus,
    My client is not having ECM. he want to create one Z report for BOM changes. I checked tables MAST, STKO, STPO, CDPOS and CDHDR. In CDPOS I can see replaced component and replced quantity. But if I deleted any component or inserted any new component I can not see this in any table. Please suggest me how can I track such changes without ECM.
    Jayesh Narvankar
    SAP PP

    Dear ,
    You can try to develope a report with the help of you ABAPer with following FM /BAPI :
    CSAP_MAT_BOM_MAINTAIN
    CSAP_MAT_BOM_OPEN
    CSAP_BOM_ITEM_MAINTAIN
    CSAP_MAT_BOM_CLOSE
    Refer this experts theards on this issues : Deletion of BOM item using BAPI/FM
    If you need to go ahead with ECM , you refer  our earlier posting in the same issue :
    Changes in Production Orders
    Regards
    JH

  • Concept of the change document table BWFI_AEDAT ???

    concept of the change document table BWFI_AEDAT and the use of the 60 day (user definable) parameter ???
    does this table hold the time stamps for deltas ???
    Could anybody elaborate on this ??
    Was going through some of the posts and came across this...

    Seems one of the 4 replaced positions is going to be filled after all
    Sorry for this aside, couldn't resist

Maybe you are looking for