Table for "documents change" with statuses

Hi,
I need a table where all the status changes for a service order (ticket) are stored (with dates).
I know of CDHDR table, but there are no entries for statuses?
Any idea?
Thank you,
Borut

Thanks!
I think this table will do the job.
Kind regards,
Borut

Similar Messages

  • Joining vbak to cdhdr table for document changes

    Hi Expert
    I am hanging for a week in this project please need some advice
    I want to join vbak table with cdhdr and select
    vbak.vkbur (plant) and want to show that vkbur in the internal table of it_cdhdr
    so as to select only those plant belong to vkbur so how can I join base on the below coding................
    REPORT ZCHGDOC
    NO STANDARD PAGE HEADING LINE-SIZE 120.
    WRITE: sy-title, 40 'Page', sy-pagno.
    ULINE.
    TABLES: CDHDR,
             CDPOS,
             t001w,
             "VKBUR,
             "VBELN,
             VBAK,
             VBAP.
    SELECTION-SCREEN BEGIN OF BLOCK DOCUMENT WITH FRAME TITLE TEXT-701.
    SELECTION-SCREEN END OF BLOCK DOCUMENT.
    SELECT-OPTIONS:
                     V1 FOR VBAK-VKBUR,
                     S_WERKS for T001W-werks,
                     objectid for  cdhdr-objectid,
                     udate for cdhdr-udate.
    PARAMETER: USERNAME LIKE CDHDR-USERNAME.
    DATA: BEGIN OF IT_VBAP OCCURS 0,
             OBJECTCLAS LIKE CDHDR-OBJECTCLAS,
             OBJECTID LIKE CDHDR-OBJECTID,
             VBELN LIKE VBAP-VBELN,
              END OF IT_VBAP.
    DATA: BEGIN OF IT_CDHDR OCCURS 0,
             OBJECTCLAS LIKE CDHDR-OBJECTCLAS,
             OBJECTID LIKE CDHDR-OBJECTID,
             CHANGENR LIKE CDHDR-CHANGENR,
             USERNAME LIKE CDHDR-USERNAME,
             UDATE LIKE CDHDR-UDATE,
             UTIME LIKE CDHDR-UTIME,
             FNAME LIKE CDPOS-FNAME,
             TABNAME LIKE CDPOS-TABNAME,
             TABKEY LIKE CDPOS-TABKEY,
             VALUE_NEW LIKE CDPOS-VALUE_NEW,
             VALUE_OLD LIKE CDPOS-VALUE_OLD,
    END OF IT_CDHDR.
    DATA: WA LIKE LINE OF IT_CDHDR.
    DATA: WA LIKE LINE OF IT_CDPOS.
    DATA: BEGIN OF IT_CDPOS OCCURS 0,
             OBJECTCLAS LIKE CDHDR-OBJECTCLAS,
             OBJECTID LIKE CDHDR-OBJECTID,
             CHANGENR LIKE CDHDR-CHANGENR,
             TABNAME LIKE CDPOS-TABNAME,
             TABKEY LIKE CDPOS-TABKEY,
             FNAME LIKE CDPOS-FNAME,
             VALUE_NEW LIKE CDPOS-VALUE_NEW,
             VALUE_OLD LIKE CDPOS-VALUE_OLD,
    END OF IT_CDPOS.
    Move-corresponding it_cdhdr to wa.
    Move-corresponding it_cdpos to wa.
    SELECT OBJECTCLAS
            OBJECTID
            CHANGENR
            USERNAME
            UDATE
            UTIME FROM CDHDR
            INTO CORRESPONDING FIELDS OF TABLE IT_CDHDR
    WHERE OBJECTCLAS = 'VERKBELEG' or
          objectclas = 'BETRIEB'
          ORDER BY UDATE.
    WHERE OBJECTCLAS = 'VERKBELEG'
    OR OBJECTCLAS = 'BETRIEB' ORDER BY UDATE.
    Filter data based upon Plant selection criteria.
    IF NOT S_WERKS[] IS INITIAL.
    DELETE IT_CDHDR WHERE NOT OBJECTID IN S_WERKS.
    ENDIF.
    IF IT_CDHDR[] IS NOT INITIAL.
       SELECT OBJECTCLAS
              OBJECTID
              CHANGENR
              VALUE_NEW
              VALUE_OLD
              FNAME
              TABNAME
              TABKEY
              FROM CDPOS
              INTO CORRESPONDING FIELDS OF TABLE IT_CDPOS
              FOR ALL ENTRIES IN IT_CDHDR
              WHERE
              OBJECTCLAS = IT_CDHDR-OBJECTCLAS
              AND OBJECTID = IT_CDHDR-OBJECTID
              AND CHANGENR = IT_CDHDR-CHANGENR.
              "or tabname = 'VBAP'.
       SORT IT_CDPOS BY OBJECTCLAS OBJECTID CHANGENR.
    ENDIF.
    Add tables CDPOS DATA TO CDHDR.
    DATA: INDEX TYPE i.
    LOOP AT IT_CDHDR.
       INDEX = SY-TABIX.
       READ TABLE IT_CDPOS WITH KEY OBJECTCLAS = IT_CDHDR-OBJECTCLAS
       OBJECTID = IT_CDHDR-OBJECTID
       CHANGENR = IT_CDHDR-CHANGENR BINARY SEARCH.
       IF SY-SUBRC = 0.
         IT_CDHDR-VALUE_NEW = IT_CDPOS-VALUE_NEW.
         IT_CDHDR-VALUE_OLD = IT_CDPOS-VALUE_OLD.
         MODIFY IT_CDHDR INDEX index TRANSPORTING value_new value_old.
       ENDIF.
       WRITE:/ SY-DATUM,SY-UZEIT,
              50 'DOCUMENT CHANGE REPORT',
             80 'Page', SY-PAGNO,
    "  WRITE: / SY-REPID
              50 'DETAIL REPORT BY PLANT '.
       SKIP.
       ULINE.
    *& T O P - O F - P A G E *
    WRITE:/ 'UDATE:' ,SY-DATUM.
    FORMAT COLOR 4 INTENSIFIED on.
    Write: /35                           ' DOCUMENT CHANGES REPORT '.
       WRITE: /5 'DOCUMENT-NO'.
    20 'TABNAME', 30 'TEXT_CASE', 50 'FNAME'.
       WRITE: /5 'DATE',  20 'FNAME', 45 'CHANGE-NO',65 'OLD-VALUE',80 'NEW-VALUE',95 'USER-NAME'.
       ULINE.
       LOOP AT IT_CDHDR INTO WA.
       on change of wa-objectid.
       Write: / wa-objectid UNDER'DOCUMENT-NO' ."color col_key.
       ENDON.
    ULINE.
         " CDPOS-tabname UNDER'TABNAME', CDPOS-TEXT_CASE UNDER'TEXT_CASE',CDPOS-fname UNDER'FNAME'. "color col_key ,
         write: / wa-udate dd/mm/yyyy under'DATE' NO-GAP,wa-fname under'FNAME' NO-GAP,wa-changenr under 'CHANGE-NO',
         wa-value_old under'OLD-VALUE' LEFT-JUSTIFIED NO-GAP,
         wa-value_new under'NEW-VALUE' LEFT-JUSTIFIED NO-GAP ,wa-username under'USER-NAME' NO-GAP.
    ENDON.
    Move-corresponding it_cdhdr to wa.
    *Write: / wa-objectid UNDER'DOCUMENT-NO' "color col_key.
    *" CDPOS-tabname UNDER'TABNAME', CDPOS-TEXT_CASE UNDER'TEXT_CASE',CDPOS-fname UNDER'FNAME'. "color col_key ,
    *write: / wa-udate dd/mm/yyyy under'DATE' NO-GAP,wa-utime under'TIME' NO-GAP,wa-changenr under 'CHANGE-NO',
    ltrim(wa-value_old) under'OLD-VALUE' NO-GAP,
    *wa-value_new under'NEW-VALUE' NO-GAP ,wa-username under'USER-NAME' NO-GAP.
       ENDLOOP.
    ENDLOOP.

    Hai everybody.
    I am new to this forum. i got a job in abap recently. The below is my requirement.I want solution for this one. Anybody plz help me.
    The change logs were captured in DBTABLOG for table ZWPRFRUND (in transaction ZWPG).
    The only report which is currently used to get the change logs is RSVTPROT
    Now my requirement is,
    we need to display the change logs in the form of ALV.
    We should divert the changes to CDHDR table instead of DBTABLOG, then we can use the RSSCD100 to display change logs.
    The Important items for the change LOG needed in case of changes to table in “ZWPG” are,DATE ,TIME,USER,FIRST NAME,FILED NAME,OLD VALUE,NEW VALUE
    The above fields need to be displayed in the grid. In the above list “FIELD NAME” denotes any field of the table in the transaction in “ZWPG”
    Thanks & Regards,
    Sujatha.T.

  • 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

  • Tables for Documents&doc. type assigned to Equipment master

    Hi
    I need a table for Documents&d oc. type assigned to Equipment master .I have tried in ITOB, EQUI, DRAW. i could not find this
    Thanks
    Seenu

    hi
    yes you can use object key, it  is the one which relates with the equipment ( object key <b>EQUI</b>)
    regards
    thyagarajan

  • Log for document change details

    Hi,
    I am able to get the document change date in BKPF. But I am looking for detail log for document change. In which table i can get this.
    Thanks

    Hi,
    check tables CDHDR and CDPOS, maybe you find what you are looking for.
    BR Christian

  • WIP calculation for Prod.order with status DLV

    Dear experts,
    Is there any way to change WIP calculation method for Prod.order status ?
    In t-code OKGC:: By default system will set:
    Order status      Status number         RA type
    REL                          2                             WIP Calculation on Basis of Actual Costs
    DLV                          3                            Cancel Data of WIP Calculation and Results Ana
    PREL                  1                            WIP Calculation on Basis of Actual Costs
    TECO                  4                            Cancel Data of WIP Calculation and Results Ana
    I can not change any thing in t-code OKGC (gray after insert: CO, RA version, RA key).
    As I understanding: Prod.order with status DLV will not be considered to calculate WIP.
    But I want to calculate WIP for Prod.order with status DLV. Could you pls guide me how to configure the system?
    Thank you!

    Hi,
    I suppose it is positive variance as the yield from the order is 10 pieces more than the planned quantity of 1000 and it is always a variance and no WIP involved in this case. It can be settled to FI/PCA and to CO-PA by variance categories (if you have configured accordingly)
    Therefore the accounting entry would be:
    1. Delivery to stock of 10 pieces:
    FG Debit
    Change in Stock Credit
    2. Variances will post the difference:
    Change in Stock Debit
    Price Difference is Credit
    Concerning the valuation method it needs to be tested before it can be implemented.
    Kind Regards
    Umapathi G

  • WIP calculation for Prod.order with status TECO

    Hello all.
    My question is the similar to WIP calculation for Prod.order with status DLV
    But I need that
    - if the Production order has status TECO - the system calculate WIP
    - if the Production order has status DLV u2013 the system settle the order.
    1.     I try to change u201CStatus Numberu201D in TCODE OKGC. But I have receive two different result:
    - if I change u201CStatus Numberu201D for status DLV from 3 to 2, then during WIP calculation of the order with status DLV u2013 WIP have been calculated.
    - but if I change u201CStatus Numberu201D for status TECO from 4 to 2, then during WIP calculation of the order with status TECO u2013 WIP have been CANSELED.
    2.     I try to change results analysis key for status TECO from u201CZu201D to u201CFu201D in TCODE OKG3. BUT during WIP calculation the system create error message KJ 363 which require that results analysis key must be change to u201CZu201D
    How can I resolve my problem?

    Hi,
    I don't have the answer if the requirement is that even after producing the materials, till the time accountant checks the order and does this action, it should remain in WIP. Honestly it doesn't make any sense to me or i have not understood this problem. Anyways as per my current understanding I can suggest the following process for your scenario.
    Once production is stopped in between the process, the order should be in PDLV status (partial confirmations happened in the order)
    Now go and clear the reservations manually from the production order .( delete the component line items from the order). Now depending on whether you are following WIP at actual cost, system will post the difference between credit and debit of that production order as WIP for the month end process.
    Once Accountant okays the entries in the production order, he can do the TECO and settle the order. Now WIP will be reversed and variance will be posted.
    To avoid the already produced goods mixing up with your other stock, u might want use Quality Management with the help of your PP consultant.
    Best Regards
    Vimal

  • What are the tables for documents in PP Orders

    Hi all,
    What are the tables for Document Items (type D) in PP orders ?
    Regards,
    Magda

    Welcome to SCN, please refer to the rules of engagement, link at the top of every forum, please search before asking basic questions.
    Thread locked.
    Thomas

  • Tables for PO changes and message output

    Hi Experts
    I wish to capture the changes in PO in the respective change out put. For this purpose, i need to fetch the relevant infmrmation applicable for the change output.
    Please let me know the appropriate tables for:
    -PO changes -item and header
    -PO message output
    Warm regards
    ramSiva

    Hi,
    Please check the following link :
    [Re: PO not showing Header Changes Log]
    Hope it helps,
    Best regards
    Amit Bakshi

  • SMS_STATE_MIGRATION_POINT Health check failed for port 80 with status code 500

    My SMS_STATE_MIGRATION_POINT gets a red cross because the health check of the SMS_STATE_MIGRATION_POINT is “sometimes” failing. I don’t understand why its fails sometimes? Any suggestions.
    gr, Iwan
    Health check operation succeeded SMS_STATE_MIGRATION_POINT 4/15/2010 2:51:29 PM 22044 (0x561C)
    Completed availability check on local machine SMS_STATE_MIGRATION_POINT 4/15/2010 2:51:29 PM 22044 (0x561C)
    Call to HttpSendRequestSync succeeded for port 80 with status code 200, text: OK SMS_STATE_MIGRATION_POINT 4/15/2010 2:56:29 PM 22044 (0x561C)
    Health check operation succeeded SMS_STATE_MIGRATION_POINT 4/15/2010 2:56:29 PM 22044 (0x561C)
    Completed availability check on local machine SMS_STATE_MIGRATION_POINT 4/15/2010 2:56:29 PM 22044 (0x561C)
    Checking store for cleanup of failed or stale state stores... SMS_STATE_MIGRATION_POINT 4/15/2010 3:01:29 PM 22044 (0x561C)
    Call to HttpSendRequestSync failed for port 80 with status code 500, text: Internal Server Error SMS_STATE_MIGRATION_POINT 4/15/2010 3:01:29 PM 22044 (0x561C)
    Health check request failed, status code is 500, 'Internal Server Error'. SMS_STATE_MIGRATION_POINT 4/15/2010 3:01:29 PM 22044 (0x561C)
    STATMSG: ID=6207 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_STATE_MIGRATION_POINT" SYS=SWAMS0083 SITE=P01 PID=13560 TID=22044 GMTDATE=Thu Apr 15 13:01:29.777 2010 ISTR0="500" ISTR1="Internal Server Error" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_STATE_MIGRATION_POINT 4/15/2010 3:01:29 PM 22044 (0x561C)
    Completed availability check on local machine SMS_STATE_MIGRATION_POINT 4/15/2010 3:01:29 PM 22044 (0x561C)
    Call to HttpSendRequestSync succeeded for port 80 with status code 200, text: OK SMS_STATE_MIGRATION_POINT 4/15/2010 3:06:29 PM 22044 (0x561C)
    Health check operation succeeded SMS_STATE_MIGRATION_POINT 4/15/2010 3:06:29 PM 22044 (0x561C)
    Completed availability check on local machine SMS_STATE_MIGRATION_POINT 4/15/2010 3:06:29 PM 22044 (0x561C)
    Call to HttpSendRequestSync succeeded for port 80 with status code 200, text: OK SMS_STATE_MIGRATION_POINT 4/15/2010 3:11:29 PM 22044 (0x561C)
    Health check operation succeeded SMS_STATE_MIGRATION_POINT 4/15/2010 3:11:29 PM 22044 (0x561C)
    Completed availability check on local machine SMS_STATE_MIGRATION_POINT 4/15/2010 3:11:29 PM 22044 (0x561C)
    Call to HttpSendRequestSync succeeded for port 80 with status code 200, text: OK SMS_STATE_MIGRATION_POINT 4/15/2010 3:16:29 PM 22044 (0x561C)
    Health check operation succeeded SMS_STATE_MIGRATION_POINT 4/15/2010 3:16:29 PM 22044 (0x561C)
    Completed availability check on local machine SMS_STATE_MIGRATION_POINT 4/15/2010 3:16:29 PM 22044 (0x561C)
    Call to HttpSendRequestSync succeeded for port 80 with status code 200, text: OK SMS_STATE_MIGRATION_POINT 4/15/2010 3:21:29 PM 22044 (0x561C)
    Health check operation succeeded SMS_STATE_MIGRATION_POINT 4/15/2010 3:21:29 PM 22044 (0x561C)
    Completed availability check on local machine SMS_STATE_MIGRATION_POINT 4/15/2010 3:21:29 PM 22044 (0x561C)
    Call to HttpSendRequestSync failed for port 80 with status code 500, text: Internal Server Error SMS_STATE_MIGRATION_POINT 4/15/2010 3:26:29 PM 22044 (0x561C)
    Health check request failed, status code is 500, 'Internal Server Error'. SMS_STATE_MIGRATION_POINT 4/15/2010 3:26:29 PM 22044 (0x561C)
    Completed availability check on local machine SMS_STATE_MIGRATION_POINT 4/15/2010 3:26:29 PM 22044 (0x561C)

    I'va got the following event in my security event log this is strange because the Windows Firewall is off and the problem is not always there, 8 out 10 time the health  checks passes.
    Log Name:      Security
    Source:        Microsoft-Windows-Security-Auditing
    Date:          4/15/2010 7:01:27 PM
    Event ID:      5159
    Task Category: Filtering Platform Connection
    Level:         Information
    Keywords:      Audit Failure
    User:          N/A
    Computer:      ********
    Description:
    The Windows Filtering Platform has blocked a bind to a local port.
    Application Information:
     Process ID:  13560
     Application Name: \device\harddiskvolume2\programs (x86)\microsoft configuration manager\bin\i386\smsexec.exe
    Network Information:
     Source Address:  0.0.0.0
     Source Port:  9000
     Protocol:  17
    Filter Information:
     Filter Run-Time ID: 0
     Layer Name:  Resource Assignment
     Layer Run-Time ID: 36

  • Table for EDM Profile with Installation or Device numbers

    Hi
    Can anybody answer Table for EDM Profile with Installation or Device numbers?
    Thanks in advance.
    DGR

    Hello,
    You allocate the profile to a register so you want to have your logical register number.
    If you have the equipment number you could go to table ETDZ or call FM ISU_DB_ETDZ_SELECT and fetch the registers.
    If you want to see the table of profile allocations you can check table EPROFASS.
    If you use IS-U-EDM the tables which contains informations about profile values are EPROFVAL*...
    Hopefully some of this infomation is useful for you.
    Regards
    Olivia

  • Function module for FI document change with G/L line items

    Hi!
    Does anybody know how to change FI document with G/L line items (fields like XREF3, SGTXT, ZUONR - generally speaking, all the fields can be changed with FB02)?
    FM FI_DOCUMENT_CHANGE has needed functionality and works well for account payables and account receivables line items, but it doesn't handle general ledger line items.
    Regards,
    Maxim.

    Hello!
    The function has some mandatory fields to use:
    I_AWTYP -> get value from BKPF-AWTYP for the specific document;
    I_AWREF -> number of the document to change;
    I_AWORG-> concatenate document's company with respective year;
    Then, only one of the following fields should be filled:
    i_lifnr,
    i_kunnr,
    i_obzei,
    i_buzei.
    You can find the relevant data for this fields in BSEG.
    The structure I_BSEGC should be filled with data you think appropriate. I didn't tested it, but i think the first fields are sufficient.
    Then, add lines (1 for each field you wish to change) in table T_ACCCHG.
    However, you should notice that you're not allowed to change all fields. For instance, KKBER is one of the fields that is forbidden to change in this FM.
    Hope that helps.
    Rui Delca Mendes

  • Table for Delivery changed data

    Dear Gurus
    There is a requirement to create a z report based on delivery details. As according to the business process, the delivery weight is changed by z activities somedays after creation of delivery. Is there any table from which i can get the previous (old) value of weight which is now replaced by new weight value. (As this can be seen in delivery change data details, it shows the previous weight value and new weight value but i cant find the table for it)
    Thnx in advance
    Deepak Mehmi

    Hi
    Since Lakshmipati has already answered the question just to add on in CDHDR with VL02N you can find the object class as LIEFERUNG for any change in net weight. You can query in CDPOS with object class as LIEFERUNG as Object class and Object Id as the delivery number (with preceeding zeros-to make it 10 digits). The FNAME would be BTGEW for gross weight and NTGEW would be for net weight. The VALUE_NEW would give the new value and VALUE_OLD would give the old value.
    Thanks
    Indranil

  • Text Mail for every change in status

    Dear All,
    I know how to trigger mail with smart form for change in status. But I want to trigger sort of alert through mail to respective user. Which will intimate user for change in new status. How can I do that?
    In SCOT -> SMTP i have changed PDF to TEXT.
    Regatrds,
    Nikhil

    You can setup a mail action in the action list with the CRM configuration in SPPFCADM for the respective message types.  I do recommend that if you have a CRM person there that they be the one to make the adjustments and it should be something that they would be able to understand as all the Service Desk and Maintenance Optimizer and ChaRM are just CRM Transactions so you can create an unscheduled mail option with a SmartForm back-end that triggers when the status is changed which will result in an email - these can be specifc to the partners but you must have the email addresses setup in the BP Employee Role and in the SU01 User record for the same.
    Sorry that I can't be more specific but there are a number of actions, programming and conditions to setup to make this work.  Hopefully you do have a CRM person around that you can borrow for a little to help you along.

  • Update the table when Document successfull with BDC

    Hi,
        I am changing the Billing document header and item level using BDC call Transaction. When the document is success fulley saved at that time I have to modify the flag in the table with 'X', when it fails or if it has errors I have to set the Flag as 'F'. Could please any body tell me how can I do this.
    Thanks & Regards
    Venkat

    Hi,
    In the call transaction do the following :
    Data : it_msg type standard table of bdcmsgcoll.
      CALL TRANSACTION VA01 USING it_bdcdata
                       MODE   'N' 
                       UPDATE 'A'
                       MESSAGES INTO it_msg.
    READ TABLE it_msg INTO  wa_msg WITH KEY msgtyp = 'E'
                                              msgtyp = 'W'.
    if sy-subrc eq 0.
    update ZTABLE set flag = `F`
            where <condition>.
    else.
    update ZTABLE set flag = `X`
            where <condition>.
    endif.
    Best regards,
    Prashant
    Message was edited by: Prashant Patil
    Message was edited by: Prashant Patil

Maybe you are looking for