How to track Service Order Status Change (IW31/IW32).

I have a requirement to send the customer an Email if the status of service order has been changed say from unconfirmed to confirmed. So i have to find out whether the status of the service order has been changed on the current date.
As per my understanding, Changes corresponding to any object are stored in tables CDHDR and CDPOS if the change document creation is enabled for that object. But in case of service order status, the changes are not being captured in these tables because change document creation is not enabled for the data element (J_STONR) of service order status.
Anyone having any knowledge about it please help me.
Edited by: Gagan Garg on Feb 23, 2009 6:52 AM

Hi,
Thanks for your reply. I have found out the way to track the service order changes. Function module STATUS_READ_MULTI can be used for the same. Pass service order number in OBJNR_TAB and the change document for status is returned in JCDS_TAB

Similar Messages

  • Service Order status change thro' Action

    Hi all abaper
    After completing billing, thro the action I am changing service order user status as completed. i hv written my code in class method.
    After billing as action runs my code from method execute and changes the status properly and gets save into system but action status shows incorrectly processed and comes in red colour in action monitor. following is my code   plz help me        
    Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code
    Edited by: Rob Burbank on Oct 13, 2010 11:13 AM

    Are you processing status codes out of sequence?  Talk to your functional specialist or look at the status config for these documents...sounds like you're going to completed without first setting a status code that would have to be there prior to your status code...I seem to recall doing status changes for these documents that were a multi-step process...set TECO, then CLOSED or something like that?

  • Service order status change

    Hi,
    I am working on interfacing CRM with a third party system. The integration should trigger when the user status of the service order change to say "status1" or "status2".
    Also I want to update the user status programatically from another third party system.
    Quetion-
    1. Which function module/BADI can be called to update the User status?
    2. Which function module/BADI will be called after the User status updated?
    thanks in advance,
    KP

    Hello,
    Question 1.
    To update the user status, you can use crm_order_maintain or more specific CRM_STATUS_MAINTAIN_OW.
    Question 2.
    After the user status update, you can use the method after_change of badi CRM_ORDER_STATUS.
    You can also use transaction CRMV_EVENT and create your own after_change event with your own FM.
    Hope this will help you,
    Regards,
    Frédéric

  • How to update the service order status at meter level

    Hi
    I need to fetch one open service order and update the retrieved open service order status at meter level.
    I am trying to do it through BAPI_ALM_ORDER_MAITAIN but i am not able to do it.
    Please let  me know the process how to update.
    Thanks & Regards
    Pallavi

    Hi,
    Check if this code works ...
    REPORT zbapi .
    DATA t_meth TYPE TABLE OF bapi_alm_order_method.
    **Internal table for Operation (BAPI)
    DATA t_oper TYPE TABLE OF bapi_alm_order_operation.
    DATA t_comp TYPE TABLE OF bapi_alm_order_component.
    **Internal Table for Opertaions UP (BAPI)
    DATA t_comp_up TYPE TABLE OF bapi_alm_order_component_up.
    **Internal table for BAPI Return code
    DATA t_ret TYPE TABLE OF bapiret2.
    ***WORK AREA DECLARATIONS
    **Work Area for Hedaer
    DATA:wa_header TYPE caufvdb,
    wa_meth TYPE bapi_alm_order_method,
    wa_op TYPE afvgb,
    wa_comp TYPE resbb,
    wa_comp1 TYPE bapi_alm_order_component,
    wa_comp_up TYPE bapi_alm_order_component_up,
    wa_oper TYPE bapi_alm_order_operation.
    PARAMETERS:TEST.
    ****Fill Method Internal table
    CLEAR wa_meth.
    wa_meth-method = 'SAVE'.
    APPEND wa_meth TO t_meth.
    wa_meth-refnumber = sy-tabix.
    wa_meth-objecttype = 'COMPONENT'.
    wa_meth-method = 'CHANGE'.
    wa_meth-objectkey(12) = '000004000104'.
    wa_meth-objectkey+12(4) = '0010'.
    wa_meth-objectkey+16(4) = '0010'.
    APPEND wa_meth TO t_meth.
    **Component Internal table
    wa_comp1-reserv_no = '0000001072'.
    wa_comp1-res_item = '0001'.
    wa_comp1-activity = '0010'.
    wa_comp1-item_number = '0010'.
    wa_comp1-special_stock = 'B'.
    wa_comp1-requirement_quantity = '15'.
    wa_comp1-stge_loc = '0001'.
    wa_comp1-backflush = 'X'.
    APPEND wa_comp1 TO t_comp.
    **Component Update Internal table
    wa_comp_up-special_stock = 'X'.
    wa_comp_up-backflush = 'X'.
    wa_comp_up-requirement_quantity = 'X'.
    wa_comp_up-stge_loc = 'X'.
    APPEND wa_comp_up TO t_comp_up.
    **Call Bapi
    BREAK-POINT.
    CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
    TABLES
    it_methods = t_meth
    it_component = t_comp
    it_component_up = t_comp_up
    return = t_ret.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.   <--- Hope u r using this too
    regards,
    Naveen
    Edited by: Naveen Deva on Apr 16, 2009 9:12 AM

  • How to fetch service order with partucular system status and user status

    Hello All,
    How to fetch service orders with specific system status and user status.
    thanks

    I want tables or views from where I can fetch service orders. I have to design ALV report based on this.
    I want to fetch released service orders with status INIT and RENT.
    Here, SYSTEM Status = Released and
             USER Status     = INIT
                                        RENT
    So is there any function module available for the same.....

  • Service Order status  Not Changing From Resloved to Closed status

    The service order Status not automatically moving from Resolved to closed after 30days.
    Observation
    We Revived program Z program ,seems to be fine.
    I am set the program in debugging mode for testing the Service orders by  reduce the time duraion for staus resolved to closed, am getting the getting the Error Test determination procedure is not evaluated . 
    Point of dout
    1) Is there any relation between Test Determination Procedure and Z program.
    2) while am checking for Text Customing for Consistency I found an error Log.
    3) While creating Service Order Test field was Mandatory
                      for that have dout about is there any relation between for this program
    Thanks in Advance
    Regards
    Raju.........

    Solved ...
    BD75  (RBDMOIND ) is T-Code and report name ...
    need to schedule ...

  • Query on ZCOMP (Service Order Status) transaction

    Hi,
    While working with ZCOMP transaction (used to generate the Service Order Status Report), is it possible to enter multiple Service Orders at one go and obtain the ZCOMP download data for all the Service Orders together in one spreadsheet?
    Edited by: Ben Harris on Dec 26, 2010 4:12 PM

    Ben,
    When the experts tell you that it is a customer report, they mean that the report was created by your company.  No-one here in these forums knows anything about this particular report.
    You need to approach people in your own company to find out what, if any, authorizations are needed to run this report.  The report may be an ABAP report (ABAP is the SAP proprietary programming language that is the foundation of all SAP programs, whether created by SAP or created by your company).  If it is, to change the report code you would have to be a programmer with an SAP developer's key.
    It is not clear what 'settings' you need to change in the report.  Standard reports within SAP (and most custom reports as well) have one or more selection screen.  In these screens, you can sometimes filter or expand the suite of data that is extracted and displayed in the report.  In most (but not all) reports, anyone allowed to run the report also has the ability to change selection criteria in the selection screen.  I suggest that before you consult with a local developer, you experiment with running the report yourself, using changed selection parameters from the default.  Such experiments are usually conducted in a test system (which I am sure that your company has).
    Your manager should be able to tell you the procedure used by your company to investigate this question.
    Good Luck & Best Regards,
    DB49

  • Generating deltas records after a work order status change

    Hi
    We are currently reporting on Work Order status changes in BW. However, the process team has written an ABAP program that allows users to change a Work Order status or an Opeartion status. Any changes using this method do not trigger a delta record to be written to the Outbound Queue MCEX17 and subsequently we do not pick them up in BW without having to to a re-initialise.
    Could anyone tell me how we could trigger a delta to be written to the Outbound Queue in the same manner as the standard Work Order change transaction IW32.
    Cheers, Mark

    Hi
    I m not sure about functionality though but you can create delta by using FM...
    Search SDN and you will get doc for that..
    Regards
    Guarav
    Assign points if it helps

  • Order Status Change and E-mail Send

    Hello there,
    Is there some ready to use Scenario that checks for an order status change on repository and send an e-mail to the customer?
    Thanks.

    I would contact iTunes:
    Apple - Support - iTunes

  • How to update Sales Order status using  BAPI_SALESORDER_CHANGE

    Hi,
    I want to update Sales Order status using BAPI_SALESORDER_CHANGE, this BAPI is called from middle ware, but there is no parameter to pass the status value to this function, please help me how to update sales order status using BAPI only.
    Thanks
    RK

    Hi,
    Can u give me details of what status u would like to update in sales order.
    If we are able to update the status from VA02, Then BAPI will assist for the same.
    Regards.

  • Update Service order status based on Sales order billing status

    Hi All,
    Pls give some suggestions for below scenario.
    Sales order will be created from Service order.
    Service order should get completed once the sales order is billed fully.
    Billing status is available in Sales order header. When ever billing is created, sales order status get updated.
    Where I need to have the trigger (User exit etc...) to update the service order status w.r.t sales order billing status.
    Rgds,
    Senni.B

    Hi,
    As standard the system update service status, maybe some config is missing. Please check the copy control conditions in SD.
    Hope this help.
    Regards.

  • Hoe to see if an USER-Status of service order is changed

    Hi,
    for service order we use a user-status profile. Every things worcs as we want.
    Now the question is: how can i see if the user-status is changed?
    First i use IW31 to create an service order. Next day the user-status will be changed (IW32).
    Where can i see, that it is changed?
    Regards, Dieter

    When user and system statuses are changed, records of JEST are updated and records are inserted into table JCDS, check this table.
    - JEST - current status
    - JCDS - log of status - with date/time/user
    In transaction IW32/33, you can see the history of statuses: click on "information" icon in status line, then on "display status" screen, go to menu : Extras, Change document, All or For a selected status.
    Regards,
    Raymond

  • How to read service order change document data

    Hi Experts,plz help me,my requirement is to read the service order change document data,for that one i need to read from cdhdr and cdpos tables,so what i need to do.in input parameters for cdhdr table in place of ibjectclass and objectid what i need to pass.plz help me.

    Same for CDHDR and CDPOS.
    OBJECTCLAS = 'ORDER'
    OBJECTID = combination of client(AUFK-MANDT) + Order category(AUFK-AUTYP) + Order number (AUFK-AUFNR)
    for example
    OBJECTCLAS = 'ORDER'
    OBJECTID = '10030004001108788'
    Chaiphon

  • How to create  Service Order  and then Invoice    using   IW31

    I  have  problem  to create   Service Order  and  then Billing,
                   could  anyone tel me ,what is process  flow.
    Thanksa in Advance.

    Hi Suniel,
    PLease take a look at:
    Re: Problem  to create  Service Order  using   IW31 and  then Invoice  for that
    Best regards,
    demas

  • Updating service order status in CRM from R3 after the invoice is created

    Hi all ;
    I need to update the user status of an service order in CRM when the invoice related to it in R3 is created, so I have already know  the service order no .
    How can i achieve this by sending BDOC from R3 to CRM? Which BDOC should i use?and is it enough to fill only status data in BDOC?
    Thanks.

    Hi sushant,
    When the R/3 Order status is set to 'Completed' then the system status for order in CRM system is automatically changed to 'Completed'.
    So firstly check whether the User status ('Completed')in SAP CRM has the Business transaction event set to 'FINI'. So when the system status is set to 'Completed' the user status will also change to 'Completed.'
    Secondly even check what are the statuses of item in the Orders.
    regards,
    Anubhav

Maybe you are looking for

  • Autoinvoice Group Rules - Grouping of multiple Sales Orders

    I have this requirement to group invoices by subinventory, ship-to address and PO number, all these coming from the Order Entry form. What it means is that multiple Sales Orders having the same subinventory, ship-to address and PO number and also wit

  • How to get maps on my native iPhone application

    Hello, I m working on an application where i need to display the complete map on the application. I dont have any idea abt this. Kindly let me know how can i get the map so that i can display it on my application. I m working on an iPhone simulator.

  • Partial page refresh

    Hi everybody, Well, I want to create a real-time region, like refreshing second per second. I found in this forum something about PPR templates. But what is this? How can I use this? Where I find this? I'm using the Apex 4.0.2 version. Thanks guys Ra

  • BaseResourceException- 2 phase committ Problem.

    Hi, Scenario: I have a method which calls an external service (BAPI) and another method which calls a database table. Problem: I get the below Exception. ResourceException occurred in method ConnectionFactoryImpl.getConnection(): com.sap.engine.servi

  • Quicktime Pro will not export - it hangs with 'initializing'...

    I got a new iPod video for Christmas. I downloaded iTunes (7.0.2) and then upgraded to Quicktime Pro using the quicktime installed on my Windows PC (7.1.3). I fired up quicktime and tried to export several different AVI files to ipod format. Every ti