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?

Similar Messages

  • 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

  • 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

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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • Issue regarding CRM service order status profile

    Hi Guys,
    Currently we are working on CRM 5.0 now the problem is when we create a service order then the sytem is throwing an error stating that
    Diagnosis
    Some system statuses cannot be set manually, but can only be set internally by the system. This is the case for status Contains Errors.
    Technical Note
    The maintainability of the system status is specified by SAP in the system table CRMC_STATUS_PROC. Every change to this table is a modification - SAP cannot take over maintenance for errors that result from changes made to this system table
    we have defined a new status profile for service order which consists of
    User Status                                                             System status
    1. In Process                                                            In Process
    2. Solved                                                                  Finished
    3. Defered                                                                 Finished
    kindly give your valuable inputs regarding this
    Regards
    Basavaraj patil.

    Hello Basavaraj,
    Please refer the following link
    http://help.sap.com/saphelp_nw04/helpdata/en/0e/830b378a50fc5be10000009b38f839/frameset.htm
    using status profiles for authorizations
    Status profile tables
    regards,
    Muralidhar Prasad.C

  • Service Order status update function module ?

    Hello,
    We are looking for a Function/BAPI anything to update the line item status of a Service Order .We are using this Service Order in the CRM_IC (Interactive Center) Web Client Implememtation.
    Thanks
    Manoj

    Manoj,
    You could use CRM_STATUS_UPDATE, but if you use that function, the update will probably not be send through the flows of CRM (=> dependent systems, like MSA, will not be updated).
    If you want the update to pass through the CRM flow, you'll have to use the standard Bapi to maintain orders (CRM_ORDER_MAINTAIN) or the inbound XIF-function which might be easier to use: CRMXIF_ORDER_SAVE.
    The first is based on tables which contain the changes, the second is based on a bdoc-structure that you'll need to fill for yourself.
    Grtz,
    Michael.

  • CIC0 - Service Order status NTUP inactive

    Hi,
    When creating a Service Order by IW31 (Order) or IW36 (Sub Order), the System Status appears NTUP ACTIVE, but when the same action is performed by CIC0 both orders are created without System Status NTUP.
    Our CIC0 use the function ISU_CREATE_ORDER, from the method CreateByOrderCode of the object ISUSMORDER.
    Do you know if this is a standard diference between IW31 and method CreateByOrderCode ? Or is there any oss note to correct this issue?
    Thank you in advance for your help.
    Regards,
    Nicolás.

    There are any help for me with this issue?
    Thanks a lot.
    Regards,
    Nicolas.

  • Sale Order Status Change after delivery of materials from projects

    have ETO sccenario which consists of all modules such as SD,PS.PP etc. Materials will be procured from external vendors & manufactured inhouse through project systems. After delivery of materials from project systems, billing & invoicing will be done at sales level.
    On delivery of materials from projects, sale order status remain open. Request you to look into the matter & suggest about status change of sale order after delivery / billing.
    Regards,
    Ranjan

    Hi,
    In sale order, WBSE is assigned. Delivery of materials are through cns0. then subsequently picking / packing / billing will happen at sales level. Billing is of delivery related. Please suggest to fix the issue.
    Thanks & Regards,
    Biplab Ranjan

Maybe you are looking for