Status profile changing on UD in stead of RR

In TC: BS02 Iu2019ve created a status profile with two stages. So the usage decision cannot carried out before all characteristics are closed.
Stage 1: u201CINITu201D
-     Make usage decision (forbidden)
-     Record results (permitted)
Stage 2: u201CQFINu201D
-     Close inspection complete (permitted)
-     Complete insp. - short-term (permitted)
-     Start inv. pstg bef. UsageDec (forbidden)
The status profile does work properly.
My problem is the following:
The status is changing on the usage decision from INIT to QFIN.
Iu2019d like a status change in the inspection lot when the result recording is finished. QFIN triggers an event for a workflow, the workflow must start before the usage decision.
Is it possible to adjust the status profile, that the status is changing at finishing RR? Or is there a function module which can do that? I'm working in 4.7.
Thanks in advance.
Regards,
Rene
Edited by: Rene Fuhner on Apr 1, 2011 10:26 AM

Did you try to select the 'Set' indicator in status 'QFIN' when the business transaction occur like as 'Close inspection - complete' or 'Complete insp. - short-term'?
Regards
Luke

Similar Messages

  • Status profile change

    Hi ,
    On  our solution manager system (which had open tickets) we had to create a new status profile.
    Upon creating same we assigned this new profile to the relevant transaction type.
    Now we notice in our system that this new profile gets attached on to the tickets created newly only and the old messages still run with the old status profile.
    Kindly confirm if this is the expected behavior once a status profile is changed.
    Appreciate  your earliest response.
    Thank you & regards,
    Harshini.

    Hi,
    yes this is the normal behavior.
    Thanks,
    Jansi

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

  • How to change a status profile from existing in CRM 7.0?

    Hi,
    This is the scenario for which I need to change the existing status profile :
    We are using categories such as Maintenance , Approvals etc.
    There is a huge list of options which comes when we choose the category. We have assigned a status profile to each of these categories.
    So for e,g when I choose Maintenance, it also displays other options not related to Maintenance.
    Q 1) how to I change the status profile on this??
    I tried using CRM_STATUS_PROFILE_CHANGE but it doesnot work
         CALL FUNCTION 'CRM_STATUS_PROFILE_CHANGE'
      EXPORTING
        OBJNR                          = iv_guid
        STSMA                          = 'ZV001'
      XNOAUTO                        =
      X_NOACTIVITY                   = ' '
    EXCEPTIONS
       OBJECT_NOT_FOUND               = 1
       NO_STSMA_CHANGE_POSSIBLE       = 2
       STSMA_NOT_FOUND                = 3
       ERROR_OCCURRED                 = 4
       OTHERS                         = 5
    Q 2) If the above is not the right way is there a possibilty to hide the statuses ??
    Thanks and Regards,
    Narayani

    Hi,
    I am not so clear about your requirement, would you please try to make it clearer.
    Which transactions are you assigning the status profile to?
    And what is the "categories" do you mean? As I could guess it is the item within the status profile, isn't it?
    For example you have a status profile defined as
    10 xx01
    20 xx02
    30 Maintenance
    40 xx03
    50 Approvals
    60 xx04
    Is it like the above? Or else, please clarify.
    Thanks,
    Hongyan

  • Change the status profile assigned to the line item from PROFA TO PROFB

    Hi Experts,
    The issue we are having relates more to the fact that the code we have written is changing the item category, however the status profile has already been retrieved from configuration based on the original item category and therefore the status selection that we are getting is incorrect.
    Item Category A -> Status Profile PROFA
    Item Category B -> Status Profile PROFB
    For example we have a line item and item category A is determined through config, this then retrieves its associated status profile PROFA. However we have then coded the system to change item category A to item category B.  However the status profile still remains PROFA.
    We need to find a way to change the status profile assigned to the line item from PROFA to PROFB.
    any quick inputs from any one please......
    Thanks in advance
    hemanth

    Hi
    There is perform which moves the values to VBAP field.
    This PRCTR field is stored in VBAP (i.e., SO line item table)
    USEREXIT_MOVE_FIELD_TO_VBAP
    Hope it works.
    VVR

  • Status Profile : Status not changing in CRM

    Hi Gurus
    Created order with  header status as  as " In process" ,  item status is defaulted  to  " open"  and  order  replicatd to ECC ,  billed aswell .  But  when I checked in  CRM still status  not changing to completed  but retains with In process  at header level & open at item level.
      I would expect order status should be completed at header level & Item level.
    Is there any thing wrong with status profile settings at header  & Item level? , I have created  status profiles with following settings.
    I have  copied standard status profile  " CRMORDER" and assigned to  trasaction type  and made following settings:
    Under Open :   following transactional contorl selected
    To be distributed   :  Selected options "Forbidden " & No active
    Under In process: 
    In process : Selected options " Allowed " & Set
    Undo Rejection :  Selected options " No infulence " & Set
    Under Completed:
    Complete :  Selected options " Allow " & Set
    Created status profile for Item  i.e. copied standard CRMORD_i  and made following changes:
    Under Open : No transaction control selected
    Under In Process : 
    Edit :  Seleted options " No influence" & Set
    Undo Rejection : Selected options " No Influence & Set
    Under Completed:
    Completed :  Selected options " Allowed & Set"
    Rejected :  Selected options " Allowed & Set"
    Actually we are using material which is non deliverable but should be billed, while creating order , I can see staus at item level is open and remains open even after billed in ECC. And also we are mapping  Business activity reasons to order reasons in ECC.
    Is any thing i am selecting wrong options in status profile at header level & item level?  Much appricieated for solution.
    Thanks
    shash

    Hi Gurus
    Created order with  header status as  as " In process" ,  item status is defaulted  to  " open"  and  order  replicatd to ECC ,  billed aswell .  But  when I checked in  CRM still status  not changing to completed  but retains with In process  at header level & open at item level.
      I would expect order status should be completed at header level & Item level.
    Is there any thing wrong with status profile settings at header  & Item level? , I have created  status profiles with following settings.
    I have  copied standard status profile  " CRMORDER" and assigned to  trasaction type  and made following settings:
    Under Open :   following transactional contorl selected
    To be distributed   :  Selected options "Forbidden " & No active
    Under In process: 
    In process : Selected options " Allowed " & Set
    Undo Rejection :  Selected options " No infulence " & Set
    Under Completed:
    Complete :  Selected options " Allow " & Set
    Created status profile for Item  i.e. copied standard CRMORD_i  and made following changes:
    Under Open : No transaction control selected
    Under In Process : 
    Edit :  Seleted options " No influence" & Set
    Undo Rejection : Selected options " No Influence & Set
    Under Completed:
    Completed :  Selected options " Allowed & Set"
    Rejected :  Selected options " Allowed & Set"
    Actually we are using material which is non deliverable but should be billed, while creating order , I can see staus at item level is open and remains open even after billed in ECC. And also we are mapping  Business activity reasons to order reasons in ECC.
    Not sure whether i am  selecting wrong options in status profile at header level & item level? 
    Plz help me on this.
    Thanks
    shash

  • Reg change in the status profile in the process order

    Dear all,
    By default one status profile ZPI0001 has been assigned to an order type ZP10 in a plant, the requirement is at the time of process order creation we want to change the status profile to ZPI0002 and create . this is applicable for one plant only
    Please let me know the settings to be done for that
    Thanks in advance
    Regards
    venkat

    HI Venkat,
    I am not sure why do you need different status profile at the creation of process order...
    First define the status profile ZPI0002 using Tcode BS01/BS02  and assign it  to the order type ZP10 using CORN. The same order type is defined to plant using COR4..Here you can only have only one status profile for each order type, however, you can define different custom user status for the status profile..Say ZOCL - Order Completely closed after system status TECO to stop all goods movements...You can't have separate status profile while creating process order and at other stage of process order..Gurus please correct me if I am wrong..
    Thanks
    Sree...

  • How to Change WBS Element Status Profile

    Dear PS Experts,
    Once Status profile is set for WBS element, system is not allowing to change the same.
    What should I do to change the status profile?
    Moreover I will like to know the Table details in which Status profile details are kept for a WBS Element.
    Thanking you all.

    Hi,
    You can change the status profile on 'Control' tab of Project Definition. But this change will be effective for new WBS elements. I dont think you can change status profile for existing WBS. You will have to delete and re-create them.
    Status proflie for WBS is stored in JSTO table. Get OBJNR for WBS from PRPS table and insert in JSTO table to get status profile.
    Regards
    Shrikant

  • Status Profile - Restrict any changes made in sales document

    Hi SD Guru's
    I have a situation here. I have maintained status profile with one of the status as "REJ - Reject Sales Order". Now when i set that status "REJ" and save the order, and open it by transaction VA02, i can make any changes in the order document such as adding new line item. I want to restrict any changes for this order now. How can i tackle this situation. Can you please help me with the same, its urgent.
    Regards
    Ravi

    Dear Ravi
    This can be controlled in two ways.
    1)  Through User Exit : MV45AFZZ by not allowing the specific users to make changes
    2)   With the help of your Basis Team, authorization of VA02 should not be allowed for the said users.
    Thanks
    G. Lakshmipathi

  • Change in Quotation (VA22) should trigger re-approval in Status Profile.

    Dear All,
    Through Status Profiles we had configured approvals in Quotation.
    Now, Our requirement is to re-trigger for approval when ever any changes are made in the Quotation(VA22) once approved.
    Is there any Standard configuration, through which I can achieve the requirement or should I have to look for any enhancement through user-exit.
    Please Suggest.
    Regards,
    Dilip

    Hi,
    As far as I know, the business transaction Change quotation not available in the status profile for any of the statuses and hence this may not be possible in standard feature.
    You have to enable it only by some coding/customisation. I am not even finding the right user exit for this. But I think if you talk to an ABAPer, either he will tell you a way to include the Business transaction Change quotation to the status profile or to control the status by means of coding.

  • User exit in VA01 for changing the status profile

    Hi Experts,
    I want a user-exit in VA01 wherein i can change the status profile (Screen field name = JOSTD-STSMA ) based on some logic.
    Thanks in Advance:-
    Santosh

    Hi, Santhosh,
    You can use function module "STATUS_PROFILE_CHANGE"
    see the code,
    CALL FUNCTION 'STATUS_PROFILE_CHANGE'
      EXPORTING
        OBJNR                          =  XVBAK-OBJNR
        STSMA                          =  G_STATUS
      NO_CHECK                       =
    EXCEPTIONS
       OBJECT_NOT_FOUND               = 1
       NO_STSMA_CHANGE_POSSIBLE       = 2
       STSMA_NOT_FOUND                = 3
       OTHERS                         = 4
    where G_STATUS is your new status profile. It will update in your screen also.
    Hope this will help u.

  • Changing Sales order Status (Z-Status Profile) without manual intervention

    Hi All,
    I have a  Z-Status Profile created for Sales Order. There are about 6 statuses in this profile. An enhancement requires change of particularly two statuses only by the user exit after certain calcualtions and not manually by any user in any case.
    Can anyone suggest a way to handle this case? If authorization object should be created then based on which fields should this authorization object be created? If not, this there any other way to handle this.
    Thanks,
    Sophia Xavier

    Hi Pete,
    Thanks for your reply. The usage of the User Exit and the Function Module is quite clear. My question is how do we control the change of two statuses only by the User Exit without any manual intervention, i.e., no user should be able to change these two statuses manually,only the program should be able to do this..How do we handle this scenario?
    Thanks,
    Sophia Xavier

  • Change Status Profile

    When sending a Quotation to a potential Customer we would like the User Status of the Quotation to be of such a nature that i cannot be edited (this to prevent differences of what was originally sent to the Customer and what is actually registered in the system).
    If the Customer ask for a new Quotation we then use a new status (Revised Quotation).
    Is there a way of configuring the User Status so that a Quotation cannot be edited while it's being reviewed by the Customer?
    Kind regards,
    Are

    Hi Are,
    I gues as u want to freeze the screen as soon as a particular User Status is chosen,
    If thats the case, refer to the below steps, wd help you. If not, pls revert wid the detailed requirement:
    This can be done through User Status which is avavilable in the Status Profile.
    For eg if you select a User Status "Won" for a transaction say Lead, the document must get freezed and no changes should be possible for the person who are nt allowed to do so.
    Path for the saem: IMG-CRM-Transactions-Basic Settings-Status Management-Define Status Profile(if you wanna create a new profile, or else Copy the particular Status PRofile for that transactions and configure as per our requirements)
    After Getting in the Profile, Double Click on the particular User Status wherein you need the Doc to get freezed, in the new screen click on Create and in Change Document option check the Forbidden.
    This can take care of your issue, i hope.
    revert if any issues.
    Suji

  • Change Status Profile : User Status

    Hello Experts,
    We have created 14 User Status Values for Support Message in Solution Manager
    Status Profile: ZLFN0001 (Copy of SLFN0001) and modified to the requirements.
    Assigned this Status Profile to transaction type Zxxx
    Current settings:
    Status No.--Status-- Lowest -
    Highest -
    Trans.
    10--Status 01-1020--
    20--Status 02 -20--
    50 -
    INPR
    30--Status 03 -30--
    60 -
    INPR
    40--Status 04 -40--
    70 -
    INPR
    50--Status 05 -50--
    50 -
    FINI
    60--Status 06 -40--
    80 -
    INPR
    70--Status 07 -60--
    70 -
    FINI
    80--Status 08--80--
    91 -
    INPR
    90--Status 09--90--
    92 -
    INPR
    91--Status 10--60--
    91 -
    INPR
    92--Status 11--92--
    95 -
    INPR
    94--Status 12--94--
    94 -
    FINI
    95 -
    Status 13----9595--
    FINI
    96--Status 14--9696--
    FINI
    One of our requirements is that when the user status is Changed from "Status 08" to "Status 10", the only possible status available should be "Status 06" and the other statuses(07, 08 & 09) should be inactive or greyed out. Is there a possibility to hide status that is/are not required and the user should be able to see only 1 active status.
    What is the significance of Auth Code and Select Profile? Where do we assign Select profile to a Status Profile?
    Can anyone shed some light on this. Appreciate your response.
    Thanks,
    nancy

    Nancy, hi
    as far as I know, it is not possible to mark a status as inactive in certain cases.
    However, there might be a solution to your question:
    One ofcourse, is to change the order of the statuses so that you don't have to "skip" a status. For instance: switch status 8 with status 9, and change the properties of status 10 so that only status 9 can be reached (lowest status)
    The other option is to use authorizations on statuses, that's were the AUTH_KEY comes in. You can use the standard defined key, or you can create additional authorization keys.
    Let's say you create an additional key called Z_AUTH_1, and link this key to Status 08.
    An end user would then need to have this authorization key value in his role profile (object B_USERSTAT) to be able to set status 08.
    hope this answers your question.
    best regards,
    Jeroen.

  • Change in status profile of internal order

    I've changed the status profile assigned to an order type because of new requirements for disallowed transactions.  The new profile settings/ user status worked for new IO master data created.  However, for existing IO master data, the user status was not updated with the new status profile.  What's the transaction to reconstruct/correct the user status of old IO master data?

    Hi,
    Once you assign the sttus profile for an order type,this should work for all the orders assigned to that specific ord-type.
    create a new session and work.The orders will respond to the new status profile.
    Hope this helps.
    Regards,
    Ramesh

Maybe you are looking for