To update user status of an operation in Plant maintenance

Hi
      I ma trying to update the user status of an operation of an order using function module status_update but it is not working properly. Although the same function module is working fine for updation of user status of order. Can somebody please tell me some other function module to update the user status of operations?
Thanx in Advance.
Richa.

Hi Richa,
I have the same requirement like which you had. updating the operation user status in work order.
How did you attend this requirement. Please let me know your solution.
Thanks in advance.

Similar Messages

  • User Exit to update user status at VA01/VA02

    Hi Expert
    Please help identify any User Exit to update User Status stored in tables (JSTO/JEST), at time of sales order (Business Object 2032) creation / change.
    Requirement is to set check mark on a specific user status in case of a material master is missing HTS code.
    Regards-Aamir

    Hi,
    If your requirement is to set the check the HTS field in the material master, you can make the field as Mandatory without which the  Material cant be saved
    You can make this field mandatory in OMS9 transaction code with field status as 89 and the field is MARC-STAWN
    Please revert if you need more details
    regards,
    santosh

  • STATUS_UPDATE error to update USER STATUS - Update termination error

    Hi All,
    I am using status_update FM in sales order user exit MV45AFZZ in a perform routine for updating user status in line item for sales order. There are 4 custom statuses created for the sales order line item. 1,2 3, and 4 by configuration. My job is to select one of those based on user selection.
    Scenario: During change order process using  VA02, I have to change the existing status to a third status when user selects the second one. That is for example, in VA02, user selects status 4 from previous status 3, and save, I have to make the status 4 inactive and save the new status 2 instead of 3 though user selected 3. How do I achieve this.?  ????Any programming example is really appreciated. Thanks!!!
    I am right now using STATUS_READ and reading the existing status 4. Then making it inactive using status_update FM. And updating the new status 2 as active one and 3 as inactive again. Two inactive updates and one active update is throwing an update termination error while saving the sales order.
    Any help is really appreciated. 
    Thanks
    Ricky

    Hi ricky,
    For saving any changes you need to have a Z-table.
    In programs we can't store the user selection. In your case you can create a z-table and store the status there and delete the last status. The process would be faster as you will always have one record in the table.
    . One more advantage is you can even track the changes through the Z-table(User who is changing it.)
    Hope this solution will surely help you.
    Cheers
    Suvi

  • [svn:bz-trunk] 10020: Had previously updated user-agent string for Opera 10 in resources/config/ services-config.xml on DataServices/trunk.

    Revision: 10020
    Author:   [email protected]
    Date:     2009-09-04 07:35:51 -0700 (Fri, 04 Sep 2009)
    Log Message:
    Had previously updated user-agent string for Opera 10 in resources/config/services-config.xml on DataServices/trunk. Forgot to do this for the file on BlazeDS/trunk.
    Modified Paths:
        blazeds/trunk/resources/config/services-config.xml

    Revision: 10020
    Author:   [email protected]
    Date:     2009-09-04 07:35:51 -0700 (Fri, 04 Sep 2009)
    Log Message:
    Had previously updated user-agent string for Opera 10 in resources/config/services-config.xml on DataServices/trunk. Forgot to do this for the file on BlazeDS/trunk.
    Modified Paths:
        blazeds/trunk/resources/config/services-config.xml

  • Work orders and updating user status (via IW32)

    Hello All,
    I was given a design to create a program that will retrieve all open work orders. The program needs to check on all the purchase orders for that work order to check if order quantity matches the received quantity and the invoice quantity. If it matches, I will do an IW32 to change the user status to 'AIP' (All Invoices Paid). If there are no invoices or purchase orders, I will again, do an IW32 to change the user status to 'AIP'.
    And since this is my first time to work on a PM ticket, I'm not very familiar with the tables being used. I've tried looking for a list of PM tables. One table I got is AUFK (Order Master Data). I searched through the table and it has the fields for Sales Order Number (KDAUF) and Item Number (KDPOS). Is this the Purchase Order related to the work order? Also, is there a way I can see or verify it through a transaction? I tried looking into transaction IW33 but I couldn't find any Purchase Order Number there. Also, how do you know if a work order is open or not? Is there a field that indicates it?
    I was thinking if there are any BAPI's I can use to change a work order's user status instead of doing a CALL TRANSACTION 'IW32'? I saw a function module, RFC_CHANGE_PM_ORDER, that does a remote function call to IW32 but this has dialogs. I'd appreciate any input.
    Many thanks in advance!
    Regards,
    Kristine

    Hi
    You can use the BAPI - BAPI_ALM_ORDER_MAINTAIN to maintain orders.
    Given below few order related tables
    AUFK     -Production order headers
    AFIH     -Maintenance order header
    AUFM     -Goods movement for prod. order
    AFKO     -Order header data PP orders
    AFPO     -Order item
    RESB     -Order componenten
    AFVC     -Order operations
    AFVV     -Quantities/dates/values in the operation
    AFVU     -User fields of the operation
    AFFL     -Work order sequence
    AFFH     -PRT assignment data for the work order(routing)
    JSTO     -Status profile
    JEST     -Object status
    AFRU     -Order completion confirmations
    This may help you.
    Thanks & Regards,
    Govind.

  • How to update user status in CRM Order depending the delivery status in R/3

    Hi All,
    In my scenario the partial delivery allowed to the customer while creating the CRM Order. But as per my requirement the status should be updated when the complete order and delivery takes place.
       Let me describe you clearly:
    Suppose I want to deliver 5 quantities products to the customer but initially I want to deliver only 3 quantities and rest 2 quantities later. When I do the post goods issue of 3 quantities in R/3 system the status should not change in CRM system. When I will do the rest 2 quantities in post goods issue in R/3 then the user status should change in CRM Order. But in current when I do the delivery of 3 quantities the user status is changing in CRM Order.
    I need the user status should change in CRM only when the entire deliverytakes place in R/3.
    Thanx
    Chinmaya

    Whenever an item is fully delivered, by standard, a "Completely Delivered" status will be updated into the item. If the I suppose by referring to that you will know an item is partial or completely delivered. When all items in the order is fully delivered, the standard header status will set to "Completed". So, you will also know if the whole order is partial or completely delivered.
    If you want to add a user status, the simplest, you can make use of the ORDER_SAVE Badi. Just call the function CRM_STATUS_MAINTAIN_OW. You can update both header and item status.

  • User status for an operation

    Hi all,
    I have 3 queries-
    1) What is the meaning of business transaction "GOODS MOVEMENT" in BS02-status profile / user status screen
    2) I have an order with 2 operations in it.
    I have created a user status for the "PP/PM operation" business object type and the following business transactions are marked as forbidden.
    Confirm transaction
    Delete operation
    Determine costs
    Goods Movement
    Partially confirm operation
    I want that when the status is assigned to the operation the system that the system should not any confirmation, goods movement (issue/resceipt), activity posting for that operation.
    When i assign the user status and make the confirmation by co11 then such messege is issued by the system which is OK.
    But when i issue the component by 261 mvt type by mb1c to the order, the system carries out the transaction.???
    How it is??
    I think this issue is carried out at order level that is why it is.
    3) What is the meaning of all the business transactions in bs02 screen???
    Regards,
    MHP

    Hi Rajesh,
    Thanx for the reply. I'd rewared  with the points.
    I am not clear from ur answers as follows.
    ANS 2-- I AM NOT CLEAR THAT IN MB1A WHEN SYSTEM WILL ALLOW & WHEN SYSTEM WILL NOT ALLOW??
    U MEAN TO SAY IF IT IS PLANNED THEN SYSTEM WILL ALLOW & IF IT IS UNPLANNED SYSTEM WILL DISALLOW. IS IT SO??
    BUT THEN WHAT IS THE USE OF FORBIDDING "GOODS MOVEMENT".
    ANS 3-- I KNOW WHAT U HAD REPLIED WITH. BUT I WANT THE MEANING OF ALL
    BUSINESS TRANSACTIONS
    REGARDS,
    MHP

  • How to update user status in the QM notifications

    Dear Experts,
    PLz tell  how to update/change user status in the QM notifications..I have maintained the user status profile and assigned the same to the notification type,but user status are not getting updated in the notifications..
    Thanks in advance
    Ankush

    Hi,
    SPRO - Quality Management - Quality Notifications - Overview of Notification Type.
    In that select the concerned notification and click on the status profile and there you can assign the status profile for the concerned notification Type.
    There will be two types,
    status profile for notifications and status profile for tasks, assign as per the requirement.
    Regards,
    Naveen.

  • Updating User Status and Status Profile for a Project

    Hi,
          I am creating a Project using  BAPI_BUS2001_CREATE.
          which uses a structure  BAPI_BUS2001_NEW for storing details of a New Project.
          It <b>does not have fields for User Status and Status Profile</b> , if any one of you worked on Project Systems, please tell me is there any way to update these 2 fields.
      I have tried lot of FuncModules and BAPIs which deal with PROJECT CHANGE and PROJECT MODIFY but none of them has these 2 fields.
    Please provide me some solution for this.
    Thanks in Advance.

    Hello,
    U need to do like this:
      PERFORM CHANGE_STATUS_CLSD.
    FORM CHANGE_STATUS_CLSD.
      DATA: LR_PROJ LIKE PROJ,
            WA_JEST LIKE JEST,
            LT_PRPS LIKE PRPS OCCURS 0 WITH HEADER LINE,
            LT_JEST LIKE JEST OCCURS 0 WITH HEADER LINE,
            RA_PRPS TYPE RANGE OF POSID WITH HEADER LINE.
      CLEAR: LR_PROJ.
      SELECT SINGLE * FROM PROJ INTO LR_PROJ WHERE PSPID = SP_PSPID.
      IF SY-SUBRC = 0.
        SELECT * FROM JEST INTO TABLE LT_JEST WHERE OBJNR = LR_PROJ-OBJNR.
        LOOP AT LT_JEST INTO JEST.
          IF JEST-STAT = 'I0001' OR JEST-STAT = 'I0002'.
            JEST-INACT = 'X'.
            UPDATE JEST.
          ELSE.
            JEST-INACT = SPACE.
            UPDATE JEST.
          ENDIF.
        ENDLOOP.
        CLEAR: LT_JEST.
        REFRESH: LT_JEST.
        SELECT * FROM PRPS INTO TABLE LT_PRPS WHERE PSPHI = LR_PROJ-PSPNR.
        IF SY-SUBRC = 0.
          SELECT * FROM JEST INTO TABLE LT_JEST FOR ALL ENTRIES IN LT_PRPS
                                                WHERE OBJNR = LT_PRPS-OBJNR.
          LOOP AT LT_JEST INTO JEST.
            IF JEST-STAT = 'I0001' OR JEST-STAT = 'I0002'.
              JEST-INACT = 'X'.
              UPDATE JEST.
            ELSE.
              JEST-INACT = SPACE.
              UPDATE JEST.
            ENDIF.
          ENDLOOP.
        ENDIF.
        LOOP AT LT_PRPS.
          CLEAR WA_JEST.
          SELECT SINGLE * FROM JEST WHERE OBJNR = LT_PRPS-OBJNR
                                      AND  STAT = 'I0046'.
          IF SY-SUBRC NE 0.
            WA_JEST-MANDT = SY-MANDT.
            WA_JEST-OBJNR = LT_PRPS-OBJNR.
            WA_JEST-STAT = 'I0046'.
            WA_JEST-INACT = ' '.
            WA_JEST-CHGNR = '001'.
            INSERT INTO JEST VALUES WA_JEST.
          ENDIF.
        ENDLOOP.
        COMMIT WORK AND WAIT.
      ENDIF.
    ENDFORM.                    " CHANGE_STATUS_CLSD
    REagrds,
    Vasanth

  • Update User Status as FIU in CJ20N for Networks & Activities

    Hi Friends,
       I need to Update the User Status as FIU for all Networks & Activities under a WBS Element
    I am executing the function module I_CHANGE_STATUS and able to set the status in Database level
    but when i am opening that particular Network in CJ20N and watching the Status
    it is not updating to FIU
    Please Guide me ASAP
    Thanks,
    Ganesh

    hi dinakar,
    Am using the TCODE : RECN, when i update or modify the real estate contract  ex: name to name1 when i save... the status shoud shoud change from create to modify as i have modified.
    i have seen your answer and i am sure that you can help me in this case.
    your help is much appreicated....as it is SAP STANDARD i have a badi called BADI_RE_CN_CN. can i use this badi... if so where can i change and add my code... as i am new to badis your detailed info will be really helpful.
    looking for ur valuble answer,
    thanks,
    pasala.

  • Issue with CRM_STATUS_CHANGE_EXTERN - Not updating user status immediately

    Hi Everyone,
    I need to set a user header status in CRM based on the delivery block selected in ECC sales order. for example, If the delivery block is A2 then user status should be E0008(Image review) etc. For this to happen in the transaction CRMD_ORDER, in save userexit I am reading the shipping data and based on the delivery block, I set the user status using FM "CRM_STATUS_CHANGE_EXTERN".
    When I open the sales order again using CRMD_ORDER, I could see the old status still remaining but when I go to change mode, the user status is reflecting correctly. Can someone pls help me how I can fix this i.e status should change to correct one soon after I open the sales order in CRMD_ORDER.
    Thanks,
    Dharmendra G

    After call of CRM_STATUS_CHANGE_EXTERN you need to call BAPI_TRANSACTION_COMMIT.
    call function 'CRM_STATUS_CHANGE_EXTERN'
        exporting
            objnr               = iv_guid
            user_status         = iv_status
        exceptions
            OBJECT_NOT_FOUND    = 1
            STATUS_INCONSISTENT = 2
            STATUS_NOT_ALLOWED  = 3
            OTHERS              = 4
    if ( sy-subrc = 0 ).
        call function 'BAPI_TRANSACTION_COMMIT'
            exporting
                wait  = ABAP_TRUE
    else.
        "!+ Handle error
    endif.
    Best regards,
    Tomas.

  • Update User Status at Service Desk Solution Manager SP17

    Hi, my name is Tomas Piqueres and I'm working with Solution Manager SP 17.
    Service Desk scenario is working but I have an issue that I explain below:
    I have a message that I'm not able to solve, so I send it to SAP. When SAP returns it to me, I have two status for the same message:
    -User status
    -Status SAP
    The job "refresh message status" is working, so Status SAP is refreshed successfully. The problem is that when Status SAP changes, the User Status doesn't change automatically.
    Please, could you help me?
    Thanks and regards,
    Tomas.

    Hey Rohit,
    I believe your first issue has been answered correctly. As far as your second issue is concerned.
    The SAP Status field only gets filled up when the message is forwarded to SAP Support. This field is set by SAP Support itself. You dont need to manage it.
    As far as Reported by is concerned, thats what you have to configure. For that to be working you first need to create business partners of your users in the satellite system. Eg.  If you are raising a message from userA from your production system. You need to create a business partner of that user in Solution Manager. A unique ID is maintained related to the user and system. Also you will have to maintain his "employee data" , specifically his SAP user id.
    Hope this helps.
    Regards,
    Bilal Nazir

  • BAPI_ALM_ORDER_MAINTAIN Operation User Status Update

    Hi All,
    I am trying to use this BAPI_ALM_ORDER Maintain to update the user status at the Operation level, but am facing the following issue:
    In the IT_METHODS table, I am passing the USERSTATUS CHANGE (with the right object key - aufnr + vornr), and SAVE Method.
    And am filling the User Status table (IT_USERSTATUS) with the correct user status to be updated at the Operation Level.
    But when I execute the BAPI - it throws an error saying that the User status XXXX doesnt exist in the XXXXXX (This is the wrong profile. This profile is at the Header level and not at the operation level) Profile.
    So somehow its trying to update at the Header level and not at the operation level.
    Any idea what can be the reason?
    Regards
    Ankur

    Hi,
    BAPI_ALM_ORDER_MAINTAIN user status Change
    check out this link..
    Thanks & regards.

  • BAPI_ALM_ORDER_MAINTAIN - Change User Status in Operation u00BF?

    IT´S POSSIBLE CHANGE USER STATUS OF THE OPERATION?
    I SEE THAT FILL IT_METHODS AND IT_USERSTATUS BUT ONLY CHANGE THE USER STATUS OF HEADER ORDER.
    ANY CAN HELP ME?
    THANKS IN ADVANCE.

    Hi,
    Use the FM "ALM_ME_ORDER_CHANGE"
    There you can change the operation details including the User status.
    Hope this may help you.
    Regards,
    Smart Varghese

  • How to modify operation user status

    Hi Team,
    I am created an order from IW31. Is there any way to change the user status of its operation.
    I mean I am looking for any enhancement or BAPI by which I can change the user status of operation.
    Mainak

    Hi
    BAPI to change user status is "BAPI_ISUSMORDER_USERSTATUSSET"
    and BAPI to change system status "BAPI_ISUSMORDER_SETSTATUSTECHN"
    Thanks,
    Prajakta

Maybe you are looking for