PM order for set/reset  user status

I have one requriement like this I need to update the user status for  many operations  of single PM order at a time when user sets or resets the status. Kindly let me know is there any function module or any bapi for this or can you suggest me how to proceed with the further actions to handle this.
thanks in advance for your help.

Hi Jaya,
Before i tell you the FM, there is something u must know about changing the user statuses in PM.
User statuses are sequential in nature. Eg, if current user status is 15 and you want to set the new status to 30, you must set it to 20, then 25 and then finally 30.
For this you must first fetch all the valid statuses for the PM order depending on its status profile.
Next, call the following FM repeatedly each time passing the next status number in sequence until you reach the desired status number:
'STATUS_CHANGE_EXTERN'.
Hope this is helpful.
Thanks,
Sonal

Similar Messages

  • BAPI/FM for setting the user status for the Project definition and WBS elem

    Hi,
    I have to set the User Status for the Project Definition and the WBS elements in that project.
    The User status to be set is the same for the project and wbs elements.
    Please let me know if there is any BAPI/FM to set the user status..
    Thanks in advance.
    Regards
    Shiva

    Hi Shkithija,
    There is a dump encoutered in the form "PS_FLAG_GET_GLOBAL_FLAGS" for 'chk_precommit_ok' in the "BAPI_PS_PRECOMMIT".
    But it is showing SY-SUBRC = 0 when used along with BAPI_TRANSACTION_COMMIT.
    May i know what are input parameters we need to pass it to "BAPI_PS_PRECOMMIT".
    Do you have any idea.
    Please let me know
    Regards
    vishnu

  • Set a User Status for Quality Notifications only if they are "Activated".

    Hello experts:
    I need to be able to set a User Status for Quality Notifications only if they are "Activated".
    When defects are recorded for an inspection lot, a "Defect Notification" is created which can be activated to become a "Quality Notification".  Initially, the only difference between the inactive "Defect Notification" and the active  "Quality Notification" is that  the system status DEFR is active for the "Defect Notification", but is cleared when the notification is activated.
    So, I'm looking for the business process associated with the Activation to use as a trigger for my own user status.
    I checked the business rules for status DEFR and found that the following processes clear this status
      PMM1 -  Postpone Notification
      PMM2 -  Put Notification In Process
      PMM3 -  Assign Order
      PMM6 -  Put Notification In Process Again
    Any Ideas ?

    Perhaps some additional information would help you understand what I need to do.
    For notification type F3, we are recording all defects found in production.
    Most of these are expected defects that result in a minor reduction in yield.
    For this type of defect, we do not activate the notification, and the inspection lot is closed automatically at the end of production.
    However, sometimes defects are observed of an unexpected type or a higher than expected quantity.
    When this happens we manually activate the notification and assign tasks to find and correct the cause.
    It is only for these activated notifications that I want to automatically set a user status, which among other things, will prevent the notification from being closed until some other actions are complete and a different user status is selected.
    The function of the user status currently works exactly as I want, but if it is set as the initial status for all F3 notifications, it is also preventing the un-activated defect notifications from automatically closing.  I therefore want to use the Activation event as the trigger to set my user status.

  • The possibility to hide for displaying a user status in work order

    Hello gurus,
    I have following issue:
    It is possible to hide only for displaying a user status in a work order when it's active?
    br,
    Laurentiu

    See my [recent post|https://forums.sdn.sap.com/click.jspa?searchID=25309331&messageID=7376021] which references user-exit STATTEXT.
    PeteA

  • How to restrict manual setting of User Status?

    Hi,
    I have created an User Profile where a particular User Status is "set" based on the Business Transaction "Release".
    However, we are also allowed to set this User Status manually without carrying out the Business Transaction "Release".
    How do I restrict manual setting of those User Statuses that are "set" based on a Business Transaction?
    Raj

    Pete,
    I did read that post. But it is about providing authorisation to set a Status for an User.
    The case I am referring is, an User Status is auto set by a Bus. Trans Release. But I am also permitted to set the status transition manually. This way, Users tend to skip Releasing the Service Order. This is affecting upstream processes.
    Is there a way where we can restrict manual setting of User Statuses that have to be normally auto set by Bus. Transactions?
    Raj

  • System Status MSPT cannot set a user status

    When creating a user status for PM orders (transaction OIBS) we have a user status WOM (waiting on material). The user status profile is assigned to the PM order Object type. We want the user status WOM to be automatically set when the system status MSPT is active. However, there is no business transaction for "missing parts" or "material shortage", etc. How can I get system status MSPT to set a user status automatically?

    Marc,
    If its not possible by business transaction, then you will need to develop something.
    Its pretty straight forward by utilising user-exit IWO10009 and function module STATUS_CHANGE_EXTERN
    PeteA

  • Solution for inheritage of user statuses in a WBS hierarchy

    In a SAP 4.6C system I have set-up a specific user status profile for the WBS-hierarchy of a project. The intention is that at the highest WBS-level the user-status is changed manually and that the statuses of the lower WBS-elements will be changed automatically (just like the system statuses). As far as I know
    this is not standard SAP and has to be developed
    Is there anyone who has dealt with the same problem? How do you have handled this: user-exits, substitution etc.?
    I hope somebody can help me.
    Regards,
    Paul

    Dear Hensgens
    You might know that as of release 4.70 the functions 'set & pass user status'
    and 'revoke & pass user status' are part of the standard.
    Please refer to note 486765.
    There is the possibility to do a downgrade of this functionality, we are aware that other customers have done so.
    Regards
    Martina

  • Print automaticly order production after an user status modification

    Hi all,
    I launch and print the order production with the user status 4, and I want to print it again when user modify the status to 8.
    Do you have any idea ?
    Thanks
    Regards
    Pierre

    Pierre,
    Use program "PPPRBSEL" with a custom defined Selection Profile to select production orders if you want to pick the orders based on the required user status and also activate check box for "Reprinting", this program can also be scheduled to run in background to automatically print.
    Regards,
    Prasobh

  • Sales order not set to complete status in CRM from R/3

    Hi Gurus,
    I need some advice. We are working on CRM 2007 and the issue we are facing is....when a sales order is created in CRM it gets successfully copied over to R/3. It is then processed in R/3 and is then set to a Completed status. But this status is never updated across to the original sales order in CRM which hence stays in Incomplete status...
    We know this is a config issue and we have also looked at program "CRM_SET_STATUS_COMPLETED" but can anyone point us where exactly we need to change the configuration.
    Thanks,
    Sushant.

    Hi sushant,
    When the R/3 Order status is set to 'Completed' then the system status for order in CRM system is automatically changed to 'Completed'.
    So firstly check whether the User status ('Completed')in SAP CRM has the Business transaction event set to 'FINI'. So when the system status is set to 'Completed' the user status will also change to 'Completed.'
    Secondly even check what are the statuses of item in the Orders.
    regards,
    Anubhav

  • Authorization for changing the user status

    Hi all,
    I need to give authorization in such a way that after the initiator has creataed a DIR...:
    1. When it goes to the next approval, the person should be only able to change the user status and save.
        he should not be allowed to change anything else.
    I have tried using different authorization objects but none of them worked. Is there any tcode in DMS for just approving the DIR (changing it to next available user status), similar to release strategy. For ex ME29N for approval of PO (Purchase order) ?
    Thanks
    Anish

    Hi Anish,
    Based on your requirement, I would like to suggest to go by workflow to approve the document..
    With the help of workflow, you can approve the document in workflow inbox itself (workitem), no need to go to DIR, the status will get automatically change in the DIR.
    for this you have to use function mudule (set/get next status).
    you can do this by taking the help of Workflow consultant and abap.
    regards,
    nitin
    award point if useful

  • How to set a user status (complete) when ever system status is set complete

    Experts,
    We have configured status profile and few user status (say open, pre-release, complete) and assigned the status profile to the item category(zxxx).
    The problem we have is if we have a service order that is created with the item (item category zxxx) -- Say the header status is open and the item status is pre-release. Now end user comes and sets the header status to completed - then the item status is still set pre-release. It is not changing to complete as expected.
    Yes,  the Item system status is set to completed but not the user status. How do I configure to set a complete user status when the header and item system status are set to completed.
    Thank you
    Edited by: ram on May 4, 2010 8:51 PM

    I am not sure if this can be "reverse engineered" in Status profile.
    But here is some hint. You can use the BAdI CRM_ORDER_STATUS mehtod AFTER_CHANGE and actually break when the Header status is changed, and set the item status as desired.

  • Set a User Status depending on System Status

    Hi,
    I would like to activate a user status of the sales document depending on the Rejection Status.
    Do you know how this could be done?
    Thanks
    Edited by: mforman on Feb 25, 2011 11:54 AM

    I've created a Status Profile with the Object Types: Sales Order header and Sales Order item.
    But I don't know which Business Transaction I should allow/set in order to get this status set once a rejection reason is assigned to an item.
    Any suggestion? Or workaround?
    Thanks

  • Making a transaction read-only for a particular user status

    Hello,
            I have a requirement wherein I need to make an opportunity read-only if it is saved with the user status set to 'Lost'. I tried setting the 'Forbidden' flag for 'Change Document' for this status but the problem is that the transaction gets locked even before saving it.
    I have a 'Reason' field where I have dropdown values for the 'Lost' status. But when I try to select a reason, error message appears as: 'no changes possible in document'.
    Is it possible via configuration to have the transaction locked only after it is saved with user status 'Lost' and not immediately on setting the status?
    Regards,
    Aditya Mishra

    2 ways to achieve it...
    1. the document editing can be controlled based on its status i.e. standard auth objects exist to control so that user is not able to make changes with this status.
    2. implement BADI CRM_ORDER_AUTH_CHECK
        put your logic to check the document status and accordingly reutrn FALSE if you do not want user to open it in edit mode.
    hope this helps.
    rgds

  • How to add new actions in customization setting of user status ?

    Hii All
    I am tring to use user status for blocking the creation of new breakdown notification if one breakdown ntification is already pending on it. I want to set equipment under Breakdown status on equipment  when breakdown notification created on it, but when i check for setting the action in user status customization setting, cannot locate the create notification there action there & also cannot add the same in it.
    Can any body tell me how new action can be added there??
    Regards

    Makarand Gurjar,
    You won't be able to do this with user-statuses.
    See your other [VERY similar post|Blocking of Equipment for Notification creation;
    PeteA

  • FM/BAPI for deleting Equipmet User status

    Hi Guys
    I am looking for a way to delete the equipment user status (the second box in IE02). I used a BDC for setting it and it works fine but I want to delete it now and I have no clue how.
    I checked all the FM's related to STATUS and I found that internal status is the system status and the ext. status is the user status.
    Anyone has experience in Equipment Sales?
    Would appreciate your help.
    Thanks
    Sameer

    Hello,
    The rules, defining user statuses of an equipment, are defined by PM functional consultant (customizing SPRO).
    As i know, it is not possible to delete equipment external status.
    Using IE02, you can change equipment user status as defined by functional consultant.
    In your other thread "How to delete equipment user status?", Pete Atkin has given a lot of interesting informations (for example, to change user status equipment use FM STATUS_CHANGE_EXTERN).
    Cordialement,
    Chaouki.

Maybe you are looking for

  • Apple TV cannot connect to iMovie Theater Channel

    My Apple TV (3rd generation) CAN connect to My Music, My Films etc... but CANNOT connect anymore to the iMovie Theater Channel. The Apple TV is up to date and its "region" is correct. It happened when I updated my iMac to Yosemite and to the new iMov

  • UnmarshalException while using prop  java.rmi.server.ignoreStubClasses=true

    I have created a test program to check the behaviour of setting the java.rmi.server.ignoreStubClasses property to true on the server side and not setting this flag on the client side. This requirement is due to updation of an already running system,

  • Backup files are now Unix Executable files

    I backed up my iPhone on my laptop (pc) but when i but transferred all my iPhone backup files to my iMac there was a couple of folders that are now Unix Executable files which are coincidentally are the same backups that I cant use to restore my iPho

  • Since the 4.4.4 update my camera no longer works.

    All I get is a black screen and a message that says camera error please restart.  I never had an issue with the camera until this update.  It did not work the first time I tried to use it, it failed.

  • Is Oracle Discover able to run in another Application Servers?

    Hello All! I am involved in a consulting project, our customer does not have Oracle 9IAS and even does not care about it. He has bought Oracle 9i release 2 and Oracle internet developer suite. I want you , if it is possible, to go direct to the point