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

Similar Messages

  • 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

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

  • TO change the user status in the PM order

    Hi,
    My requirement is that a techician is assiged to do the work using MRS and based on that user status is update in the PM when the save button is clicked on the MRS board.
    Now according to my requirement if anybody click on the save button and the technician is assigned to do the operation is done through MRS than the User status in the PM order should get changed.
    As a part of standard functionality the user status is not updated.
    A new user status is created in the trasaction BS02.
    Can anybody please let us know how to achieve this functionality
    Thanks
    Mohit

    We had a similar requirement and this is what we did :
    1) Set up a task as a reciever for the WORKORDER SAVE event.
    2) In this task called a method of a business object.
    3) In the method called STATUS_CHANGE_EXTERN to change the user status.

  • To get the User status of the Production Order

    Dear all,
    I have a  requiement to get the user status of the production order, This is just below the Status of the Production Order,
    I was able to get the Status of the Production order using the Function Module ( REL MSPT PRC ) etc
    Can any body please help me in fetching this data.
    with rgds
    Ranjith Singh

    Dear,
    Please try with,
    FM 'STATUS_TEXT_EDIT'
    Or See function module PM_ORDER_DATA_READ
    The status maintenace is done by SAPLBSVA
    Use the Tables are :
    JEST - Pass OBJNR of the Production ORDER (AUFK, AFKO tables)
    or from
    TJ02
    TJ02T
    Please take help from technical consultant.
    Hope it will help you.
    Regards,
    R.Brahmankar

  • Grey field for project definition and WBS element

    Dear all,
    I have created a project and WBS element in CJ01. Now I go via CJ02 to the change mode and the project ID and WBS element ID is not greyed out. But I would like that the system shows these key fields as not changeable anymore, only fields like description should be changable. Can you please tell me, which customizing step I missed to get the grey field for project ID/WBS element ID?
    FYI  I do not use a project mask to create the project.
    Thanks for your answer.
    Heidi

    Hi Heidi ,
    I don't think you can grey out the Project Definition and the WBS Element fields after the creation .
    If you want to restrict the users to change the Proj definition and WBS , a better way is through
    Authorization objects and restricting only specified users to change the WBS
    Kish

  • How to use Classification Characteristics for project definition and WBS

    dear all:
    my step is below:
    1,  CT04, create "Characteristic"
    2,  CL02, create "Class". and class type is "14".
    3,  now how to customize to use the class in project definiton and WBS.
    Please explain me all the steps to be required.
    Thanks in advance!

    Hi
    Classification is only assigned for the network profile or in the activity.
    CJ20N  -
    > Extra ---> Classification --- > Classification
    Hope this will help you.
    Regds,
    Uddhab

  • Enhancement for project definition and WBS element.

    Hi Experts,
    I have a client requirement for creation of the custom specific fields for the project definition and the WBS element level called IT relevant and they need to use this fields for the purpose of structured reporting in PS.Can you please guide me as to how do in need to do this.
    When i go in to the transaction CMOD and SAP Program SAPMSMOD it says you are not authorised.Please let me know the process as to how it has to be done.
    Thanks for your cooperation.
    Shivkumar

    Refer the IMG documentation against the SPRO node 'Create Customer-Specific Fields in a Project Definition' and 'Create Customer-Specific Fields in a WBS'.
    Regards
    Sreenivas

  • Extension structure for a bapi to create project definition and wbs element

    Hi,
    is there a bapi that have an extension structure for custom fields, that can be used to create a project with wbs elements.
    thanks for your help.

    i yhink BAPI_PROJECT_MAINTAIN  dont have extension structure, so i cant use it because i have custom fields.
    BAPI_BUS2054_CREATE_MULTI seems meet my requirement because it has extension structure,

  • Set User-status for PP order

    Hi All,
    How can I set the user-status for a PP order, also let me know which user exit suits this requirement, as I know I have to make use of a FM or a BAPI which sets the user-status in the user-exit somewhere.
    Thanks
    Mark

    Hi,
    Try the following enhancements/exits for setting the status for PP order.
    STATTEXT
    CCOWB001
    COIB0001
    Regards,
    Anji

  • User exit to set user status for quote

    Hi,
    I need to update the user status in the header of quotation (using VA22) based on some conditions. I checked the user exit's under 'MV45AFZZ' but no use.
    Could any one please provide me where I can write the code to put the conditions before upating user status in header
    Thanks
    Thang Tran

    Hi,
    Is there anyone can give me some suggestions?
    Thanks in advanced
    Regards,
    Thang

  • User status for Service Issue{for particular Sales order} in CRM

    Hi Experts,
    I've an issue related to the User status in CRM.
    I've a Sales Order and I'm creating a service issue for it in CRM.
    For the service issue number has some user status and I want to know from where it is coming.
    Is there any configuration involved in it, or is it coming from the standard coding part.
    Please let me know how to find the user status for a service issue.
    Thanks
    Subbu

    Thank you PePe,
    I'm asking about the user status not the system status.
    The user status has only the values{open, worked & closed}.
    now for a service issue if it is rejected then the user status are automatically changed into "Closed".
    So if you have any idea in this please help me.
    thanks
    Subbu

  • User status for production order

    From which table i can get the USER STATUS for a  production order?

    Hi
    Use the TableS:
    JEST  - Pass OBJNR of the Production ORDER (AUFK, AFKO tables)
    or from
    TJ02
    TJ02T
    reard if useful
    regards,
    Anji

  • Cannot extract user statuses for Opportunity items

    Hi,
    Standard SAP Extractor does not extract User statuses for the Opportunity Items, Data Source name 0CRM_OPPT_I for 0CRM_C04 icube.
    According the OSS note We have to prepare our own enhancement of the extract structure to include the mapping of the user status group.
    We extended the related structure. There is no problem with this. We need a code sample for mapping of added field to extract structure.
    There is a BAdI for this purpose : CRM_CSDR_BWA_MFLOW
    I need to insert some ABAP code in this implementation.
    Does anybody can give some code sample for this.
    thanks,
    Yigit

    You can also configure the user status for Opportunity Item also. If you want to enhance the dataSource, here is the sample for BAdI:
    method if_ex_crm_bwa_mflow~enhance_data_source .
      data: it_extract type table of CRMT_BW_OPPT_I,
            wa_extract like line of it_extract.
      case i_datasource.
        when '0CRM_OPPT_I'.
          it_extract = ct_data[].
          refresh ct_data.
          loop at it_extract into wa_extract.
    Implement your logic here*****
    All the statuses stores in CRM_JEST table*****
            modify it_extract from wa_extract.
          endloop.
         ct_data[] = it_extract.
        when others.
      endcase.
    endmethod.

  • User status for purchase requisition

    Dear all,
    I have a basic question. I have created a status profile using transaction BS02. Now I want to apply that to purchase requisition. However I could not find any way to assign it to the PR (specially in PR document type).
    Request your inputs in this regard.
    Snigdho

    Stefano,
       I dont think you can control the display mode on just one operation using any of the exisitng user exists or using the user status.
       The only way, that i think would be possible in this cenario, would be to intimate the responsble person or any specific user whenever there is change on the order which has a operation with a specific user status set. You can create a standard task (or workflow) to get this functionality accomplished.
    Thansk
    Narasimhan

Maybe you are looking for

  • Data Adapter is not configuring properly.....

    I have created a BPEL process and added a DB adapter for polling a particular table. and after this created a datasource with jndi name "eis/DB/DAMS" and Next in Weblogic server console --> Deployments --> DBAdapter --> Configurations --> Outbound Po

  • Internal table header structure!

    Hi friends! I am creating a dynamic internal table for WAGE TYPES and the internal table structure is like PERNR WT1500 WT1501. The Wage Types depends on the selection screen and therefore they vary and the dynamic internal table structure is created

  • Creating 10gAS report server cluster

    Please guide us to create 10g Report Server Cluster version 10.1.2.0.2 platform RHEL-4 Regards, Achyot

  • HT2736 Help me!

    Good evening, I ended up making a purchase of the app store gift card $ 10.00 I received the code, I put on iTunes, the first attempt to purchase the application one error appeared. the second attempt, the data is asking for payment. let me know why?

  • HT1212 why the itunes didn't work

    thx