User Status Profile for Process Order Operations

Hello Experts.
I have a need to set up a User Status at the Process Order Operation level that will prevent operation confirmation when the status is Active .
I have been successful at the following:
   --- Created a new Status Profile (transaction BS02),
   --- Creating a u201CHoldu201D status,
   --- Defined the Influence on Business Transactions,
   --- Set the allowed Object Types for the profile.
   --- In an individual Process Order operation, I can now select the Status Profile, and set the Hold status, and it functions correctly.
My problem is that I canu2019t figure out how to set my new profile as a default for Process Order Operations.  For Production Orders, this is done in the IMG definition for the Order Type (transaction OPJH), updating field T003O-VRG_STSMA.  However the Order Type definition for Process orders (transaction CORN) only has a field for a status profile at the header level.  Iu2019ve searched through Configuration and the Recipe, and the Production Version, and the Control Key, but can find no where to set the default status profile for a Process Order Operation..
As a final desperate act, I manually edited a T003O record for a Process Order Type in our test system, but even this failed to set a default Operation Status Profile for subsequently created Process Orders.
If you have any knowledge about this, then please help.

As of this date, we have still not implemented a fix, but I did get some information from someone else who has.
I'll post his information here for all to see.  Hope you find it helpful.
From: Joe
Yes we managed to do it.
After several false starts and CMOD/projects which suffered because only the default keys (for order number, aufpl etc) were in place and not the actual, we coded up the IN_UPDATE method in the WORKORDER_UPDATE badi. This gives us the final format after the DB save (but before the commit). The update of the STATUS using the SAP std function module was actioned successfully but the status profile was not actually passed through. We assumed that this was because of the update task - so we introduced an INSERT into JSTO instead (a bit naughty I know, but desperate needs etc). If you require anything more let me know.
Best Regards
Joe

Similar Messages

  • User status profiles for work orders and sub-orders

    Hi Experts,
    I have the following question regarding status profiles for SAP PM work orders (but I guess it relates to all user status profiles).
    Customizing
    A status profile is defined for order type "PM_A", which contains an authorization key "OP" for certain user states (to be set by the ordering party)
    Situation
    The ordering party A creates an order of type PM_A for contractor B, and B then creates a sub-order of type PM_A for contractor C
    Problem
    - If I assign the authorization key "OP" only to roles of party A, then party B can't set the user states reserved for the ordering party (correct for the order A->B, but not for the sub-order B->C)
    - If I assign the authorization key "OP" to roles of party A and party B, then B could set certain user states reserved for the ordering party in the order A->B, which is also wrong
    Question
    Is there a way to restrict sub-orders differently than "non-sub-orders", or do I have to create a "sub-order order-type" for each order type, in order to assign them different status profiles and authorization keys?
    Thanks a lot!

    hi
    since you have 3 roles to be assigned to the same order type with different authorization ,it is better you create an seperate order type for sub order and assign the user status with authorization for B and C
    regards
    thyagarajan

  • User Status Profile for Purchase order

    hi
    Can any one help me how to created user statuses other than system status for Purchase order? where to assign it to PO document type.
    Rajendra

    Dear Rajendra,
    I'm not sure there a standard field for user status in PO, you have to custom it, but it's not recommended.Perhaps u should check what if the critical use for this user status before u    continue to custom.
    regards

  • Object Types in User Status profile for Investment managment

    Is there any one who has idea about what object types should I select in User Status Profile for Investment management . this is very urgent .
    Regards
    Rama Shanker Sharma

    Dear Ram,
    User Status can be maintained in the system as foll
    Maintain the Status Profile first in OK02
    Status no       Status        Short text         Initial status flag    lowest    Highest
    10                  NBU            Not Budgeted             ^                10          20
    20                  BUD           Budgeted                                      10          20      
    in
    Status
    NBU
    maintain the required fields as required by your process requirement
    Material purchase order
    Material purchase requisition
    Partially release project
    Release etc
    and define each line item weather it should be No influence/Allowed/Warning/Forbidden/No Action/Set/Delete
    Repeat the same logic for
    Status
    BUD
    I hope this solves your problem, if not please write in detail your requirement.
    Regards,
    Vikat Verlekar

  • User Status Profile for Notification PM

    Dear Masters,
    I know the steps to create the user statuses and user status profile for notification but I want a brief description on maintaining the user statuses. Can i have any document that can explain me the user statuses.
    Hope to find the reply soon. Thanks in advance.
    Chin2

    Hi Naveen,
    Thanks for such a valuable reply, this document is very much helpful to me. See the below example i am showing for the status profile i have created
    STATUS PROFILE:  ZP-NOTIF
    Status number        Status     description                                          Init      Lowest       Highest      position     priority
             1                    OPEN       Open Notification                                no        1                   1                 1               1
             2                    RUNG      Equip. Running Condition                    no         1                   2                1               1                
             3                    NRUN      Non-Running Condition                       no         1                   2                1               1                
             4                    CLSD      Closed                                                 no         1                   2                1               1                
    When I am trying to set the first status (OPEN) to the notification, it works fine but even after I am assigning the order to this notification, put notification in process, assign equipment I cannot set the next status (i.e., RUNG) it is showing me the following error:
    "Status RUNG is not allowed (QNF 100000000000) "  -> -> 
    Diagnosis
    The user status 'RUNG' has reference number 02.  In the current object status 'QNF 100000000000', the reference number of a status may not be higher than 01.
    Procedure
    You can only set user status whose reference number is not higher than 01.
    please help me solving this question its a bit urgent.
    Thanks once again for your replies.

  • How to use the selection profile and status profile for production order?

    Hi expert,
       I want to know how to use the selection profile and status profile for production order. what's the usage for these two selection profile and status profile ?
      Please help me.
      thanks in advance.
      george.shi

    Hi George,
    There are are two types of statuses.One is system status and second one is user status.These statuses will tell us current situation of an order.
    We can't change system statuses.But we can create our own statuses through status profile.With this profile we can control user statuses.
    In this status profile,
    1.We define the sequence in which user statuses can be activated,
    2.We define initial statuses
    3. Allow or prohibit certain business transactions.
    Selection profiles are used to select the objects (say production orders) with different status combinations.We assign status profiles to selection profiles in BS42 T-Code.
    Regards,
    Raja.
    Edited by: Rajarao on Oct 30, 2008 6:21 AM
    Edited by: Rajarao on Oct 30, 2008 6:22 AM

  • Automatic Selection of  "User Status Profile" for Inspection lot

    Hi all,
    I have created "User Status Profile" for particular plant to block UD if Results are not recorded ; I want this 'User status profile' to be selected automatically in record usage decision screen - qa11 of inspection lot .Please let me know how to go about this?
    Thanks
    Veeresh

    You can call the inspectiion whatever you want up to I think 6, (maybe 8) characters.
    You can use 04pppp where pppp = your plant ID.  So 041000, 042000, 042010, 043000, 043140, etc...
    In the insepction type setup in the material masters you can set the inpsection type you want to use in that plant as the "preferred" one by checking that box in the inspection setup in the material master.
    FF

  • User status transfer for sales orders from ECC to CRM

    Hi,
    We use business process with CRM sales orders that are transfer to ERP.
    Users can change user status in the sales orders in ERP.
    How we can replicate custom user status from ECC Sales Order to CRM Sales Order?
    What is the steps to do this for CRM 7.0?
    Denis

    Hi,
    We are creating quotation ZPQT in CRM which is then get replicated to ECC on saving it on “Accepted” status. In ECC we then create sales order of type ZPOR. Sales order gets replicated in CRM and also updates document flow. This sales order is called as “Project Sales Order”. PS team assigns WBS element to this order and does billing later on. Upon billing document is created sales order status in ECC changes to “Completed”. This is system status. But the issue is status of order ZPOR is CRM remains in status “Inprocess”. We want it to change to “Completed”.
    We have similar scenario with order type ZOR. In this order after delivery and billing ECC assigns status “Completed” to sale order and same gets replicated to CRM.
    In CRM for user status Completed we have assigned system status as FINI. Both ZPOR and ZOR has same status profile assigned at header and item level.
    Our concern is if status is changing back in CRM for ZOR then why not for ZPOR. What is stopping system to do so?

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

  • Status profiles for sales order

    Dear all:
      I use  status profiles to do sales order approve(BS02)
    who can tell me which business transaction can settle Sales Order can or not make to MD04?
    the standard business transcation:
    Acct. assignment order/project
    Activate final billing doc.
    Actual activity allocation
    Actual overhead (periodic)
    Actual settlement
    Automat. WIP/results analysis
    Change configuration data
    Complete
    Confirm order
    Create billing document
    Create changeable copy
    Create delivery
    Create inquiry
    Thanks a lot .

    hi,Imran  and rohit rathi
    thank you very much for you help,
    maybe I have't depict the problem,
    I use user status profiles to do sales order approve, i have defined a status profiles and assigned it to sales document type ,  i have defined two statuses  A00 and B00 in the  status profiles .
    I hope if the sales order in status A00,it'can make to MD04,when the sales order approved to status B00,It can make to MD04.
    but I don't know which business transaction  shoud I choose when defining the profiles' status A00 by t-code BS02.
    thanks and Best wishes.
    zeng
    Edited by: zeng zeng on May 31, 2008 11:37 AM

  • Status Profile for Internal Order

    Hi,
    Please tell me during creation of new status profile for new internal order type under status I have mentioned LKD - Locked and PLIM - Write plan line item. What should be used its corresponding Business Transactions with No Influence, Allowed, Warning, Forbidden, No Action which i need your valuable suggestion for our new implementation project.
    Best Regards,
    Samrat

    Hi Anand,
    My query is while creating Status Profile in tcode OK02, there are various business transactions are available under status which one is No Influence or Allowed or Warning or Forbidd etc. I need to know the actual business transactions required for the status profile. Presently I have mentioned two business transactions which are Release and Write plan line item under status LKD(Locked). Release indicator is "Not Influence" and "Set". And Write Plan Line Items checked only "Allowed" as business transactions. But another user status "PLIM" I am not able to incorporte business transactons. While click on new entries A to W business transactions are appearing which are all "No Influence". But after saving the screen and back from the screen records(Business transactons) are not being saved properly.
    I want to know the actual reason... Kindly need your suggestion...
    Best Regards,
    Samrat Roy

  • Different user status profile for network header and activities

    Hi everyone!
    Is there any way to define different user status profile at network header level and at network activity level? As far as I know, it is only possible to enter a user profile at network type level, and both netwok headers and activities use the same statuses. Does it work this way?
    Thanks!
    Regards.
    Edited by: Thalos on Jul 2, 2011 12:27 AM

    Hi Punith, Hi abdul!
    Thanks for the reply!
    I've gone through the OPSC, but the thing is that here you define a user status profile at network plant level. But I need to define it at network activity level.
    The reason why I need this is because we have types of activities. We use network activities for client activities, for internal activities, to identify and follow-up risk management, etc. Each group of activities -since they have different usages- has different user status associated. But as I don't have any way to assign different user status profiles, all the activities have the same statuses, although  they will only use some of them.
    Thanks!
    Regards,
    Thalos.

  • User Status Profile for an Installed Base

    hello everybody!
    I need your help! I want to assign a User Status for an Installed Base, Anybody knows what is the step by step for this?
    I already have the User status profile, but i dont know where I can assign it into de Ibase.
    I think is into this Dialog step but I'm not sure. This is SAP CRM 7.0.
    Thank you so much for your help, regards!

    Hi,
    You need to add the below Object Types in your user status profile.
    Go into your user status profile and click on the Object Types as highlighted below and then enable the list of object types. Then you will be able to see the status profile in the IBase header.
    Enable these object types for IBase.
    Allowed Object Types
    General Object
    Ibase Header
    Product Master Data
    Regards,
    Siraj

  • Prevention of delivery when using "user status profile" for a sales order?

    Hi,
    I have used "user profile status" in the sales order "as a work flow" for releasing the sales order.
    The user profile are as follows
    a) 10: created
    b) 20: Released
    But I believe I am still able to create the delivery when the order status is still "10" created.
    Any advise, user exit or workaround or should this happen.
    Usefull answers will be rewarded.
    Thanks

    Dear Rajiv,
    Please go through this SAP help link it will help you about Status Management in the sales order processing.
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/560629545a11d1a7020000e829fd11/frameset.htm
    I hope htis will help you,
    Regards,
    Murali.

  • Inactive user status profile for order

    Hi All
    In CRM quotation, the initial user status 'Quotaion created ' is active.Now using a BADI on customer expected price mismatch I am adding 'price mismatch' user status.Requiremnt is I need to have one user status active at any instance. I am trying to inactive the 'Quotaion created' status but not able to. I tried using CRM_STATUS_CHANGE_EXTERN,but not successful. Can anybody please help..
    Regards,
    Sai Prasad

    When you activate another user status the revious should be set to inactive by standard. You can have only one active user status, while on other hand you can have several active system statuses.
    If you use function CRM_STATUS_CHANGE_EXTERN to set new user status, the current user status wil be automaticaly set to inactive. If you test it from se37, don't forget to use also BAPI_TRANSACTION_COMMIT.
    Regards.

Maybe you are looking for

  • Data back up from Single User Mode

    Hello, I have a problem with my 700 MHz iBook, dual USB, with OS X 10.3.9. Unfortunately the OS doesn't start up because of "overlapped extent allocation" problem... I would like to re-install the complete OS but before doing it, I would like to back

  • Can I send a preview of an iWeb website to a PC user prior to going live?

    I have a completed site in iWeb that needs to be previewed by another member of my group prior to publishing the site live. He is a PC user. Is there a way to show him a preview of the site prior to uploading it to ftp and going live? thanks! Todd

  • Viewing RAW file thumbnails in Adobe Bridge

    Hello folks have a problem which is driving me crazy and I'm hoping someone might be able to give me some pointers. Until recently I was able to view my NEF RAW files as thumbnails in Bridge, click on them and they open in camera raw fine. But all of

  • Cash account is required. Choosing a different account may cause inaccuraci

    "A cash account is required. Choosing a different account may cause inaccuracies in the cash flow report. Continue?" I am getting this warning when doing a deposit(credit card). I have never got this message before. Recently upgraded from 2007A SP0 P

  • Upload file box off screen

    I've recently had trouble with my macbook while uploading files. I click on the "upload file" button and the box that pops up that lets me choose a file is so large that the bottom is off the screen. This means that I can't click on "upload" or "canc