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

Similar Messages

  • User status at operation level

    Hi,
    I have created one user status profile and attached in order type. In this profile I have included Operation and Order header as an "Allowed object type"
    My problem is when I am changing  user status at order level , it is not getting changed automatically at operation level.
    Pls suggest me the solution.
    Thanks

    Hi,
    I dont think it is possible .
    A suggestion not sure if it works .
    Assign user status profile operation wise and then have some development to check the operation status and
    then update production order status with same user status you mentioned in operation.
    FM: STATUS_CHANGE_EXTERN will help you to change the user status of order.
    Regards,
    Vishal

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

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

  • 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

  • Planning board user status at operation level

    Hi Guys,
    Our user is not using planning board and therefore system status should not have DISP status as system status.
    Now user needs two profiles in the CM07 bases on the statuses SCH and RFS.
    Profile 1: For operation user status=SCH
    Profile 2: For operation user status=RFS
    I know how to create over all profile for planning board from the below path.
    IMG>Production>Capacity Requirements Planning>Evaluation>Profiles-->Define overall profiles
    Could any one please suggest me where and how to define required user statuses against the profile.
    Thanks,
    Lucky

    Hello,
    Please check the transction BS02. or Below Path in SPRO
    Production Planning for Process Industries>Master Data>Resource>General Data>Define Status Profiles
    Regards,
    Rakesh

  • 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

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

  • 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

  • Regading function module to change User Status IN CJ02

    Hi All,
    I need to chage System status from Budget Assigned(BDAS) to Release. Can any body help me is there any FM to change this status.Tell me ASAP
    Thanks,
    Sagar.

    Hi,
    BAPI_BUS2001_SET_STATUS: For Project Defn, WBS
    BAPI_BUS2002_SET_STATUS: For Networks
    Regards

  • How to change user status in maintenence order

    Hi all,
    I want to change system status in maintenence order by customizing kindly share how we can change it.

    Once you print the order, system status will get changed automatically to PRT.
    What else you are expecting to change?? You can't change the system status by any business transaction as per your wish. System status changes have been defined by SAP directly.

Maybe you are looking for

  • How do I open a pdf in inDesign CC?

    how do I open a pdf in inDesign CC? Thanks!

  • Conversion from DATE to TIMESTAMP datatype

    Hello, My issue is as follows: 1. I have one variable of type DATE, which I assign the value of SYSDATE mydatevar DATE:= SYSDATE;2. I want to find *"today"*, truncated to DAY   TRUNC (mydatevar, 'DD') TRUNC function returns DATE datatype. So I will r

  • Use of ProgressIndicator in Status-BSP

    Hi All, I am writing a BSP-Application using different frames. One of these frames, the status frame, contains the BSP element <phtmlb:progressIndicator>. My intention is, that whenever I press a button on the main frame BSP in order to start a time-

  • Anybody here successfully connect PlayStation 3 to iMac wirelessly?

    I have internet sharing turned on. I have my wireless network set up using the iMac's built-in Airport Extreme Card. My PS3 can find my wireless network and it can obtain the IP address but it can not communicate with the server due to a DNS error. S

  • Problem runing virtualized SAP GUI 7.1 with APP-V 5.0 SP2

    Hello, We have been try to virtualize SAP GUI 7.1 on APP-V 5 SP2, the sequencing with app-v 5 sp2 is successful and SAP can be run correctly on the sequencer machine, however, when the application is streamed to the user and run, it immediately stops