How to retrieve the User Status on WBS Elements

Hello,   could someone please tell me  how to retrieve the User Status for WBS Elements using ABAP?  Which table stores this information.
Thanks.

if you have the OBJNR there was also another FM status  in Se37 [link>>|http://sap.ittoolbox.com/groups/technical-functional/sap-dev/changing-status-620444]
also look in the similar requirement [discussion|http://sap.ittoolbox.com/groups/technical-functional/sap-bw/wbs-user-status-262089]

Similar Messages

  • How to retrieve the user input in One Step Screenflow

    Hello all,
    I am new in KM. I would like to ask in One Step Screenflow, I have add a inputfield into the ConfirmComponent. How can I retrieve the user input?
    public IRenderingEvent execute(IScreenflowData sfd) throws WcmException
              inp.setLabel(new Label("Delegation:"));
              ConfirmComponent cc = new  ConfirmComponent(ConfirmComponent.OK_CANCEL,this.context.getLocale(),inp);
              String sRid = (String)this.values.get(0);
              RID rid = RID.getRID(sRid, null);
              OneStepScreenflow oscf = new OneStepScreenflow(sfd,this.getAlias(),rid,cc);
              return oscf.execute();
    In the IRenderingEvent , How to retrieve the user input?
    public IRenderingEvent execute(IResource res, Event event ) throws WcmException
              if (event instanceof ConfirmEvent)
                        ConfirmEvent cce = (ConfirmEvent)event;
                        if (ConfirmEvent.CHOICE_YES.equals(cce.getChoice()))
                                  return new InfoEvent(Status.OK, "Done !");
                        else if (ConfirmEvent.CHOICE_NO.equals(cce.getChoice()))
                                  return ConfirmComponent.onNo(event, res.getContext().getLocale());
                        else if (ConfirmEvent.CHOICE_CANCEL.equals(cce.getChoice()))
                                  return ConfirmComponent.onCancel(event, res.getContext().getLocale());
              return new InfoEvent(Status.ABORT, "Aborted.");
    Many Thanks,
    Sunny

    Hello yoga,
    Many Many thanks for your reply again.
    I have just try the class in the thread link.
    There is a error
    "The project was not built since its classpath is incomplete. Cannot find the class file for javax.servlet.http.HttpServletRequest. Fix the classpath then try rebuilding this project."
    The errors occurs because of "extends OneStepComponent"
    public final class NewConfirmInputComponent extends OneStepComponent
    Where can find javax.servlet.http.HttpServletRequest to include it in my classpath?
    Thanks
    Sunny

  • PS-Relationship between the system status in wbs elements and activities.

    Relationship between the system status in wbs elements and activities.
    We have the following requeriment with the system status in PS. We have a project with complete technically status and we want to undo the complete technically status in one activity without changing the complete technically status in the WBS element or the project.
    The reason is that after putting the complete technically status, users have to change the values in the P.O. We don´t want "open" all the project and we only need to "open" the activity where the P.O. are in.
    Is that possible? How is connected the system status between activities, wbs elements and the project son I can change the status in the below step without changing the higher steps?
    Thanks in advance.

    Hi Bala
    Yes, you have put it rather correctly.
    We use WBS elements for booking and posting time (client requirement). So what I am looking for is WBS Elements with the system status TERL (Time and Expense Released).
    I talked of the deletion flag also, because a WBS element flagged for deletion can't be used. It's one of the criteria to screen the WBS elements.
    I hope it's clearer now.
    Vinitha.

  • How to retrieve the users that are following a document using JSOM / REST APIs in SharePoint 2013

    Hi everyone,
    Does anyone know how to use JSOM / REST APIs to retrieve the users that are following a specific document in SharePoint 2013? 
    Thanks in advance,
    Nam

    Hi Nam,
    Please use the sample code to get the followers for the document. Courtesy: Mokhtar
    Bepari 
    using Microsoft.SharePoint.Client;
    using Microsoft.SharePoint.Client.Social;
    ClientContext clientContext = new ClientContext("http://URL");
    SocialFollowingManager followingManager = new SocialFollowingManager(clientContext);
    SocialActorInfo actorInfo = new SocialActorInfo();
    actorInfo.ContentUri = "<documenturl>"; //set the document url.
    actorInfo.ActorType = SocialActorType.Document;
    //By using the GetFollowed method you can get the people who the current user is following.
    ClientResult < SocialActor[] > followedResult = followingManager.GetFollowed(SocialActorTypes.Users);
    //By using the GetFollowers() method you can get the people who are following the current user.
    ClientResult < SocialActor[] > followersResult = followingManager.GetFollowers();
    clientContext.ExecuteQuery();
    Once you get the resultset you can iterate like below:
    foreach(SocialActor actor in followedResult)
    string name = actor.Name;
    string imageURL = actor.ImageUri;
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • How to change the user status from CJ01 transaction

    Hello All,
    I am doing a BDC in CJ01 transaction where there is a field called "User Status" .
    This field is not editable. However the requirement is to populate this field with some value based on some other entries.
    Is there any Function module / BAPI to update user status from CJ01.
    Thanks in advance.
    Regards
    Indrajit

    Hi Anbu
        Thanks for your kindness.
         I had got the proper badi definition ( RECN_CONTRACT ) before. I have try to implement the badi in my implementation YCL_IM_RECN_CONTRACT and below is my example codes. It can update the user status when the SAVE button is pressed. My example codes are below:
    METHOD if_ex_recn_contract~check_all.
      DATA:
          cl_recn_contract   TYPE REF TO cl_recn_contract.
      DATA: r_status_mngr TYPE REF TO if_reca_status_mngr.
      DATA: lv_status_profile TYPE j_stsma.
      DATA: lt_status TYPE re_t_status,
                ls_status TYPE LINE OF re_t_status.
      DATA: r_message TYPE REF TO if_reca_message_list.
      cl_recn_contract ?= io_object.
      CHECK if_before_store = 'X'.
      CALL METHOD cl_recn_contract->if_reca_has_status~mo_status_mngr->get_current_status
        IMPORTING
          ed_status_scheme = lv_status_profile
          et_status        = lt_status.
      lv_status_profile = 'ZBCIA01'.
      CALL METHOD cl_recn_contract->if_reca_has_status~mo_status_mngr->set_status_profile
        EXPORTING
          id_status_profile = lv_status_profile.
      READ TABLE lt_status INTO ls_status INDEX 2.
      ls_status-stat = 'E0001'.
      ls_status-inact = ''.
      MODIFY lt_status FROM ls_status INDEX 2.
       CALL METHOD cf_reca_message_list=>create
         RECEIVING
           ro_instance = r_message.
      CALL METHOD cl_recn_contract->if_reca_has_status~mo_status_mngr->set_status
        EXPORTING
          it_status           = lt_status
          if_only_user_status = 'X'
          io_msglist          = r_message.
      REFRESH lt_status.
    ENDMETHOD.

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

  • How to retrieve the user id that is visiting my web page

    Hello,
    I wonder if somebody could help...
    I have an applet in one of my web pages.
    I would like to control who is visiting that applet , and with "who" I mean the user id that he/she used to logon to the PC. So what I want is to keep in a file , all the users id that are accessing to that page.
    Is this possible? How can I get the user id from an html page?
    Thanks in advance and regards,
    Patty

    If your applet is being run by people all over the web, then the "user ID" isn't going to be very meaningful to you. And frankly the ID that I use to log on to my home PC is none of your business anyway.
    However if your applet is to be used in a company intranet, where user IDs are meaningful and not duplicates, you can useSystem.getProperty("user.name")to find that out. You will have to sign your applet for that to work, which means that the user will have to click on a box approving potential security issues before your applet will run, but that should not be a problem in a company intranet environment.

  • U00BFMultiple user status for WBS Element?

    Hello,
    I need to create multiple user status for a WBS element.
    I'm using the BAPI: BAPI_BUS2054_SET_STATUS
    CALL FUNCTION 'BAPI_BUS2054_SET_STATUS'
         Importing
           return = ls_returnbapi1
        TABLES
    I_WBS_SYSTEM_STATUS =
            i_wbs_user_status = it_wbs_user_status"--> This table contais 2 record, with the same WBS elements and diferent status
           e_result = it_result.
    I put several rows (two)  in the table it_wbs_user_status., I put two rows,  the WBS elements for the same item with two different status, but I get error because it says that the WBS  element is repeated.
    ¿Can you have multiple user status for the same element PEP? I try it in the transaction CJ20N too, and I don't Know.
    Thanks.

    In transaction CJ20N you can change user status for each WBS elements.
    Menu --> Edit --> Status --> User Status --> you can choise betwen "Set" or "Set & Pass On".
    I want BAPI, function , etc.... that do the same thar "Set" , not "Set & Pass On".
    BAPI_BUS2054_SET_STATUS = "Set & Pass On"
    Thanks

  • How to find out System Status of WBS Elements?

    Hi PS Experts!
    Please help me on my query.
    I want to get a list of WBS elements whose status is Released and can be used.
    If I try to search the table PRPS, it can only help me in finding WBS elements without deletion flag, with RA Key and so on.
    But the System status (such as Blocked for use) etc. is not present in the table.
    The one way I know is to get Object Number of WBS element from PRPS Table and insert it in JEST Table to get system status.
    Or alternatively, I give the WBS element no. in CJ20N t-code, and then check for System Status.
    These 2 methods work, if I do it one WBS Element at a time. If I need to get thousands of WBS elements in such a fashion, it's tedious.
    So could anyone help me on this issue?
    Thanks in advance,
    Vinitha.

    Hi Bala
    Yes, you have put it rather correctly.
    We use WBS elements for booking and posting time (client requirement). So what I am looking for is WBS Elements with the system status TERL (Time and Expense Released).
    I talked of the deletion flag also, because a WBS element flagged for deletion can't be used. It's one of the criteria to screen the WBS elements.
    I hope it's clearer now.
    Vinitha.

  • How can i set automatic change of user status(for WBS)?

    Hi,
    Everytime when i create invoice for customer shipment using transaction code VF01, i need to change user status of WBS element manually in project to INTG in order to recognize the revenue. Is there any possiblity to change user status of WBS automatically after invoicing?
    If it is, could any one please help me to resolve this problem?

    I have Compressor 4 already, defined an own parameter set there (with 1024x680 resolution) but this was not displayed as an option in FCP X. I want to produce my resolution directly from FCP X, not produce it in another resolution and then convert it via Compressor. Let alone the fact that non of the FCP-included resolutions has a width-to-height ratio of 3:2 like mine. The solution would be to know where FCP stores its presets and to be able to modify them or add new presets.

  • The user status and system status

    hi, expert.
    1.  how to bind the user status and the system status.
    2.  if the status of the network is "CRTD", the status of  WBS can't be "TECO".
    how to customize.
    Please explain me all the steps to be required.
    Thanks in advance!

    Hello
    Define User status in OK02. Define various statuses and number them. Then double click on each status n you will be taken to transaction control screen. Here click on create tab and then set the influencing statuses for each system status. However this will be individual for WBS and Network.
    Define them seperately for WBS and Network
    Thanks

  • Remove the user status in Sales order

    how to remove the user status in sales order header? could you give the function module or BAPI to get this?

    Hi,
    You Can try this-
    BAPI_SALESORDER_CHANGE,
    FM 'I_CHANGE_STATUS'
    Regards,
    Sujit

  • Search help for user field for WBS element

    Hi,
    how can I add a search help to one of the user fields for WBS elements without modification? Is there an exit which I can use? I want to have a search help for field PRPS-USR02.
    Thanks for your help.

    Hi
    Create an elementary serach help using the Table USR01 or USR03
    see the steps
    1) Elementary search helps describe a search path. The elementary search help must define where the data of the hit list should be read from (selection method), how the exchange of values between the screen template and selection method is implemented (interface of the search help) and how the online input help should be defined (online behavior of the search help).
    2) Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.
    3)An elementary search help defines the standard flow of an input help.
    4) A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.
    5)A collective search help comprises several elementary search helps. It combines all the search paths that are meaningful for a field.
    6)Both elementary search helps and other search helps can be included in a collective search help. If other collective search helps are contained in a collective search help, they are expanded to the level of the elementary search helps when the input help is called.
    CREATION:
    Go to SE11  Tcode
    select search help
    give the 'z' search help name and create
    select the selection method ur table name eg : 'mara'
    dialog module 'display value immediately'.
    add the field whatever u want and lpos = 1 and spos = 1 and check import and export parameter.
    where left position when displaying and spos = search position
    and then save and activate ..
    See the links:
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm
    https://forums.sdn.sap.com/click.jspa?searchID=3173469&messageID=2176485
    https://forums.sdn.sap.com/click.jspa?searchID=3173469&messageID=3601619
    pls go through this for search help creation
    http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm
    Search Help Exits:
    Re: dynamic values for search help
    Re: Dynamic search  help
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee52446011d189700000e8322d00/content.htm
    http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_exit.htm
    https://forums.sdn.sap.com/click.jspa?searchID=4390517&messageID=1712818
    Regards
    Anji

  • Problem in catching the User status of a WBS Element

    Hi All,
          In CJ20n transaction we need to catch the User status for a particular WBS element when it gets changed to 'Technically Completed(TECO)' so that we can create an asset.
         At present we are using the method <b>'AT_SAVE'</b> of the BADI <b>'WORKBREAKDOWN_UPDATE'</b> in which we are unable to catch the user status since the user status is not getting updated in the JEST table at that time.
        We have tried calling a function module in Update task but in that also the JEST table is not getting updated.
    Please provide us the solution.
    Thanks and Regards,
        Siva

    Hi Siva,
    Try the following BADIs
    WBS_FIELDS_FOR_ASSET
    WBS_MULTIPLE_ECP
    If these do not solve your purpose, then there is a work around..
    1). Goto the transaction CJ20n -> goto the User Status Screen -> On the User Status check box press F1 -> Goto technical information. Get the Structure and field name of the Status.
    2). This structure will be filled up with the current value during the program execution. You can get the value from this Structure.
    Hope it helps...
    Lokesh

  • CHARM: How the user status is updated for the documents

    Hi Experts,
    I want to know how a particular status is set for a document. In the configuration, we maintain status table where in all the statuses are defined and hence the same is assigned to the document. We also make use of default method in one of the actions, such as:
    Sets user status according to container element USER_STATUS
    How a status is set for each action in the action list? Do we pass any value to the above mentioned method so that it can set the same?
    If I am not wrong, this default method simply sets the user status according to the value available in USER_STATUS (as per the description of the method). But, where we are setting this variable/element?
    May any one please help me understand this? Your help will be highly appreciated.
    Regards,
    Faisal

    Hi Faisal,
          I dont know if I get your question very well, but in transaction SPPFDCADM you cant control this method. For example, select CRM_ORDER, then "Define Action Profile and Actions", select "SDHF Actions" , then "Action Definition", select "IN PROCESS", then "Processing type", there if you hit "Display definition" you will see the parameter this action is sending to the method (the parameter is the user status to be set).
    Hope that helps,
    Federico

Maybe you are looking for