Changing User Status by activity confirmation

Hi Experts,
In my project , User status is maintained for WBS.
My client want to Change the User Status of all the WBS when one activity is confirmed  .
lets get an example: In  project there are WBS A, B and C. In WBS A there are Activity number 1 and 2.
The WBS has user status Z and X. When Activity 1 is confirmed , all the user status of WBS will be Z.
When the acvity 2 is confirmed , all the user status of WBS will be X.
Please help how to do this. is there any enhancement or BAPI.
BR,
Morshed Alam

You have to do development for this. Use BADI "Workbreakdown Update" to change the user status on WBS, whcih can be called during WBS save. The development needs to pick the correct user status from Activities. Status are stored in table JEST.
Hope this helps.
Sarang

Similar Messages

  • How to change user status

    Hi
    I want to change the user status from  X - > Y - > Z  - > X based on config... so in doing that my system status would be set to released.
    I am doing the updation each time from X--> Y and calling  crm_order_maintain, crm_order_save, commit work and save , wait up to 20 seconds, crm_order_initialize.
    Without doing wait up to 20 seconds, i am getting an error "Order cannot be changed" when i am updating the user status from Y->Z next time for same guid object ( contract item ).
    My questions are
    1. How do we identify whether we can change contract, for next user status using any FM.  It says contract cannot be changed as "Transferring not completed". I used FM "CRM_ORDER_CHECK_CHANGE_ALLOWED" , but it always gives message "in transferring in middleware". Is there any other way to avoid wait up to 20 seconds , instead determine whether the contract can be changeable.
    2. Can we update X>Y>Z--->X in single crm_order_maintain.. can system track this changes that contract item has gone through various user status. When i checked it only keeps Y status.  I am passing all user status as active. Can we pass in any other manner?..
    3. When i call order initialize after each update of status , the lock is getting released and for next status chnage when i call order maintain, if some other user opens same contract in that time... lock error comes..  when i pass Keep lock in order initialize it is not working.. does that work and why does its not working....
    Regards,
    D

    Deepthi,
    Dont pass all the statuses at once to CRM_ORDER_MAINTAIN,
    For eg :
    To get to status Z  from X->Y->Z , you can follow below procedure
    take staus - X
    fill it_status and it_inputfields with a record each corresponding to status X.
    Call CRM_ORDER_MAINTAIN
    take staus - Y
    fill it_status and it_inputfields with a record each corresponding to status Y.
    Call CRM_ORDER_MAINTAIN
    take staus - Z
    fill it_status and it_inputfields with a record each corresponding to status Z.
    Call CRM_ORDER_MAINTAIN
    After reching Z , call ORDER_SAVE and COMMIT.
    Please use a internal table for all your status and place the order_maintain in loop , so that each status gets maintained while you navigate to next status.
    Regards,
    Nithish
    Edited by: nithish P on May 17, 2011 8:15 AM

  • LSMW for changing user status on work order(IW32)

    Hi All,
    I have created a LSMW for changing user status on work order using transaction IW32. It does not change the status when i run the LSMW. In the recording for the LSMW, i select the radio button on the user status i want to select.
    When i run the LSMW in the foreground, it does everything except select the correct status.
    Is there a way to fix this or is it a problem with LSMW. I'm using ECC6
    Kind Regards
    Emanuel

    Hi ,
    I am not sure whether it would work with LSMW but if your on ECC 6.00 ,Enhacement Pack 3 then you have BADIs which allow you to make collective status changes in IW38 .The below are those BADIs :-
    BADI_EAM_RIAUFK20_FCODE_CUS1 :Implement Customer Function Code in Order List
    BADI_EAM_RIAUFK20_FCODE_SAP1 :Implement SAP Function Code in Order List
    Else if your on lower version then write up a batch programme which checks the PM Order types with specific status and sets user status using FM STATUS_CHANGE_EXTERN[This is used to set or delete User Status] in SE37 ..
    regrds
    pushpa

  • Change User status of Task of Follow up function

    Hi All,
    Does any one of you know how to change the User status of Task through customizing or programming.
    Basically I want to change User status from 'TINI' to 'TSNT' once the email is triggered. I could send the email but I am unable to change the status.
    Thanks in advance,
    Jagadish

    Hey Thomas,
    This should solve your problem..
    CALL FUNCTION 'CRM_STATUS_CHANGE_EXTERN'
          EXPORTING
            client              = sy-mandt
            objnr               = wa_new_user_status-guid
            user_status         = wa_new_user_status-status
            no_check            = 'X'
      SET_INACT                 = ' '
      SET_CHGKZ                 =
      XNOAUTO                   =
          EXCEPTIONS
            object_not_found    = 1
            status_inconsistent = 2
            status_not_allowed  = 3
            OTHERS              = 4.
    In this FM NO_CHECK parmeter must be set to True, else u wil not be able to set the Status.....
    Sample is given above...
    Reward points for usefull answer...
    Regards,
    Anand...

  • 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

  • Cannot Change Item Status from Active to Inactive

    Dear All
    Cannot Change Item Status from Active to Inactive on Item master screen. can any one provide the steps.
    Best Regards
    Arifuddin

    Check on below link under "Defining Item Status Codes"
    http://docs.oracle.com/cd/E18727_01/doc.121/e13450/T291651T291798.htm#I_t_ditstatus
    thanks

  • *Plant Maintenance: Urgent: User status ECUS active.*

    Dear Gurus,
    One of our customer wanted serial number obligatory in OBD in the repair process.So we made it mandatory in serial number profile.Afterwards he posted some documents.But now he is not able to process those repair orders.He is trying to create OBD and after picking when he tries to post goods issue, system is giving the error as ECUS status is active.And serial number so and so can not be used here.
    So again we changed serial number profile from mandatory to optional while doing PGI. still the system is giving the same error.We checked serial number against that material in IQ02. the status is Repaired. So we are not able to understand from where system is picking ecus status. Because the status of the serial number is showing repr not ecus. I am not able to understand where the system is picking ecus status from.
    So now his all repair OBD transactions got stucked because of this.Please suggest a solution on highest priority.
    He follows the process as given below.
    repair order in VA01.
    do inbound delivery where he has to put serial number which is mandatory here.
    PGR.
    after repair,
    OBD
    PGI.
    Thanks,
    Anand

    hi
    i think once you have delivered the material ,it will create the equipment master record record stating the status as installed at customer site,
    the status you have said i think is user status ,if so kindly change the user status and proceed with the above said procedure
    revert back with any further queries
    regards
    thyagarajan

  • USER STATUS at Activity Level

    I do have user status defined for Activity and it doesn't show up when i set the status. All i see is SYSTEM STATUS and not user status. To see user status i need to click the blue button (with I symbol) and then see it. Why is this happening like this?
    But at Network Header level & WBS level i see both USER STATUS & SYSTEM STATUS.
    Any info will be a great help

    Hi,
    I think WBS and Network are controlling objects in SAP. Activty is related to execution. This may be the reason why SAP has provide detailed ie user statuses at WBS and network level only.
    In my opinion you cant achieve this in standard SAP, you may have to for devlopment of customised screen. User exit CNEX0008 will help you.
    Regards

  • To change user status profile on sales order at run time.

    Hi Experts,
    We have defined status profile for Sales returns ( Doc type RE) which blocks the  return order on creation. There are two statuses here which are to remove the delivery block and to remove the billing block by authorised users.
    The requirement is now to have a three level block ( three statuses ) on the same document. We can create a new status profile and assign it to a new return sales order tpye  but we want to avoid creating new document types. Since this document type is used across various companies in the group we can not assign a new profile on the existing RE document as well.
    My question to all experts is
    Is it possible to dynamically change the status profile assigned to the document type based on characterstics like sales org or company code etc? If any body has done this please let me know the user exit , function module, BADI etc where the necessary coding has been done.
    Helpful answers will be rewarded with points.
    I look forward to your co operation.
    Regards,
    Kartik Shah

    Hi Liam,
    In the Program MV45AFZZ in the FORM userexit_save_document
    you use the following fn module to change the user status
    'STATUS_CHANGE_EXTERN'
    Example
    IF t180-trtyp = 'H'.  "Only creation time
      READ TABLE xvbap WITH KEY matnr = c_matnr.
      IF sy-subrc = 0.  "If above material exist then change status
        LOOP AT xvbap WHERE cuobj NE space
                       AND  matnr =  c_matnr.
          l_objnr = xvbap-objnr.
          CALL FUNCTION 'STATUS_CHANGE_EXTERN'
            EXPORTING
              objnr               = l_objnr
              user_status         = 'E0013'  "Send ej IDOC
              set_chgkz           = 'X'
            EXCEPTIONS
              object_not_found    = 1
              status_inconsistent = 2
              status_not_allowed  = 3
              OTHERS              = 4.
        ENDLOOP.
      ENDIF.
      sy-subrc = 0.  "Restore the previous condition
    ENDIF.
    Reward if helpful *********

  • Change User Status in the sales Order

    Hello Experts,
    I hope that somebody can help me.
    I search to change the field User Status in the sales Order in the transaction VA02 before that the order be displayed.
    I have searched in the UE MV45AFZZ, but i didn't found any form that i can use for my issue.
    I found one form 'USEREXIT_FIELD_MODIFICATION '  by what the program pass when i press enter in the transaction VA02.  but the problem that the status is changed in the data base only and not in the screen. In the screen i have always the same status as what was before, to have the new statut i must leave the transaction and execute it another time.
    I don't want use forms for saving.  What I want is the new status will be set when i press enter in the transaction VA02.
    If doesn't exit one form that can resolve my problem, Can i use the Profile Parameters? In this case How use them?
    Thank you very much.

    Hi,
    U can choose ur status in change status profile. Go to IMG-CRMTransactionsBasic SettingsStatus ManagementChange Status Profile for User Status.
    Here u hv to define ur new status for the transacxtion and assign it to ur transactio. If u r not clear tell.
    Reward points.
    Thanx
    Chinmaya

  • Change user status for WBS Elements

    Hi All,
    I am working on a workflow related to PS milestones.
    When a milestone is achieved the user status has to be set for that WBS element and to all the WBS elements that are next to it.
    I have tried to use the FM (ran FM independently as standalone), CJDW_INTEGRATED_USRSTAT_CHANGE with PROJECT NUMBER as input, but it throws an error NOT FOUND.
    I have gone through the documentation of it also, which says that user has to prefil the structure PROJ before this FM is called, which i could not understand.
    So can please anyone tell me, about the usage of this FM and how to run it so as to change the user status.
    Thank you all in advance,
    regards,
    vijay

    it is possible to have status with radio button and check box, by keeping status with status number and without status number.
    But I doubt about your requirement whether it is possible in standard or not.
    Please search SDN forums for some exit / BAdii which you can modify status profile.

  • User status for order confirmation

    Dear Expert
    My requirement is when system status for maintenance order is CNF and authorize person agreed with all data in confirmation, he will set user status and then only I can complete my order (Teco).
    Till now I created one user status OCAP (operation conf aprroved. ) and I allowded TECO only at this status. when system will have any other user status TECO is forrbiden. and it is working fine.
    but now if my order is not CNF and person approves order(select OCAP) system allow to do TECO.
    How I can stop this?
    I mean if order status is not CNF even person select any user status system should not allow for TECO. If both condition are correct then only system will allow for TECo.
    Please suggest
    Regards,
    Prasad

    solved.
    it is only works for operation
    and not order header

  • Detect change user status on sales order

    Hi,
    I have a requirement that a custom program must start when a user puts a certain user status on a sales order.
    Problem is that I cannot detect on which event I can trigger this custom when the user status is changed. There seems not to be an entry in the change documents table, or an event triggered,...
    Does someone has already encountered such an issue ?
    thanks in advance !
    kind regards,
    Björn

    Hi Carl and Shiromani,
    thank you for your fast reply!
    I guess I will give it a try to do this with functions if I just can get it running with the cl_crm_mktpl_appl_base-class.
    As you suggested Shiromani the Save_and_commit gets an error in the assignment checks in the check_attributes-method.
    So I probably have to take a closer look why this method is returning an error-flag. Unfortunately I am not getting an error message - only an error flag is set.
    I will take a closer look at it today and keep you informed if I find out anything useful.
    Cheers,
    Dennis

  • IDOC for changing user status to 'HIST' on Functional Location

    Hi.
    Can anyone please support me with an inbound IDOC for changing status on existing Functional Location?
    Thanks.

    Hi ,
    I am not sure whether it would work with LSMW but if your on ECC 6.00 ,Enhacement Pack 3 then you have BADIs which allow you to make collective status changes in IW38 .The below are those BADIs :-
    BADI_EAM_RIAUFK20_FCODE_CUS1 :Implement Customer Function Code in Order List
    BADI_EAM_RIAUFK20_FCODE_SAP1 :Implement SAP Function Code in Order List
    Else if your on lower version then write up a batch programme which checks the PM Order types with specific status and sets user status using FM STATUS_CHANGE_EXTERN[This is used to set or delete User Status] in SE37 ..
    regrds
    pushpa

  • User exit to change user status in IQ01/02 after full installation EG31

    Hi Experts,
    In iq01 there are two fields 1 device status 2 user status . device status will be automatically changed (avlb to insl) by system  after full installation  but  i need to change the user status (AVLB, NTAV) in iq01.I have created one bdc for iq02 and that will be properly changing the staus if i run seperately  but when  i am calling this bdc in user exit(EDMDI001,EDMDI002,EDMDI003) this shows one error '
    device is already blocked bu user ---" reason being i have to use that device at the time of full installation and user exit that will change the staus also working on  the same device during full installaion .
    So Please resolve.
    Thanks in advance
    Edited by: dilipgupta on Jan 12, 2011 3:02 PM

    Hello
    dilipgupta
    try this:
    Exit Name           Description
    E07                 IS-U: Geräteinstallation und Anlagenstruktur
    EDMDI001            Kundeneigene Vorschlagswerte für Einbau, Ausbau, Wechsel
    EDMDI002            Kundeneigene Prüfungen für Einbau, Ausbau, Wechsel
    EDMDI003            Kundeneigene Daten zur Warenbewegung bei Ein-und Ausbau
    regards
    Chris

Maybe you are looking for