How to get an user field in a sap form

SBO2004
I'm trying to get an user field in a sap form(651).
My code is:
Dim FrmT As SAPbouiCOM.Form
Dim Itm As SAPbouiCOM.Item
FrmT = GestorSAP.SBO_Application.Forms.GetForm("651", 1)
If (Not FrmT Is Nothing) Then       
   Itm = FrmT.Items.Item("U_Project")
End If
Frmt is not nothing, but itm is ever nothing and gives me an exception(item not valid). If i go to sap and look at this form, with debugging info activated, i see:
Form=651 Itm=U_Project Variable=1 OCLG,U_Project
What am i ding wrong?

Hi Miguel Angel.
Try with form "-651".
UDF form is the negative sap form.
HTH
Juli
P.S:I'm not sure your code works, I never work with GetForm method, but yes with UDF form

Similar Messages

  • How to get contents from field of a pdf form?

    Hi Experts,
    I am creating an application in which I have a table in pdf form and the table is bound to a node of the context of the view. Now I want to change value of one column of the table and the updated value is needed in a BAPI, which will be called on a submit button. But How to get this updated value. In WebDynpro JAVA it is done automatically by reflecting back the values to the context node. How to achieve this in WebDynpro ABAP. Please Help.
    Thanks and Regards.
    Vaibhav Tiwari.

    Hi.
    You marked this question as answered. I have the same requirement. Can you please share the solution.

  • How to get the user logged at worklist (Adf Form - Human Task)

    Hi,
    I have an Adf Form Based on Human Task and and need to get the user logged at Worklist Application.
    Anyone know to make this ?
    Thanks.
    Victor Jabur

    Hi, thanks for your reply, but i discover a better way to make this:
    public String getLoggedUserWorklist(){
    String user = "";
    try{
    Map parameters=AdfFacesContext.getCurrentInstance().getPageFlowScope();
    IWorkflowServiceClient wfSvcClient = WorkflowService.getWorkflowServiceClient();
    ITaskQueryService queryService = wfSvcClient.getTaskQueryService();
    String contextId = (String)parameters.get("bpmWorklistContext");
    IWorkflowContext context = queryService.getWorkflowContext(contextId);
    user = context.getUser();
    }catch(Exception e){
    user = "";
    return user;
    }

  • How to get the user entered data?

    Hi all,
    I have created an HTMLB DynPage component.
    In That i have created my input screen with textboxes using response.write method.
    i have added one onConfirm event on which the data whould validate.
    so onConfirm method im trying to get the data with request.getParameter method which returns null...
    how to do...how to get the user entered data to do my validations...can anyone plz advice.
    Thanks,
    Viswes

    Hi
    inputfield or textbox component entered directly using response.write(...) are not htmlb , but html.
    to create portal input field (ie HTMLB), you should do something like
    this in the doProcessBeforeOutput member function
    InputField field1 = new InputField("Id1");
    field1.setSize(8); // 8 characters
    this.getForm().addComponent(field1);
    and in doProcessAfterInput member function
    InputField field1 =
    (InputField) this.getComponentByName("Id1");
    you can then manipulate the content of the field.
    Hope this help,
    Guillaume

  • How to get the user active stauts in jspdynpro

    How to get the user active status in jspdynpro.
    I want check weather a user is active or not (Collaboration Launch Pad functionality)
    in jspdynpage.
    Thank's in advance,
    Mr.Chowdary

    Hi Eddy,
    Here the scenario is to get the data of a field from the user defined table to pass the extracted values as a input to the XL reporter, which will be selected while generating the report.
    It would be great if you provide any solution for this problem.
    Thanks.

  • How to get u00BBshort descriptionu00AB  field in structure u00BBBAPIDFKKCLu00AB in local la

    Hello
    I wander how to get »short description«  field in structure »BAPIDFKKCL« in local language »SK«(Slovakia).
    In SMLT transaction I tried several combination of supplementing Language »SK« (with »EN«) none with success. 
    What do you propose? Which combination of parameters in SMLT for substitution do you propose?

    Hi jan Bo ,
        Did you check the option expert mode:
        If you want to supplement a more precise selection of tables, application tables, for example, use the expert mode of the language supplementation program.
    Proceed as follows:
    1. Choose the following for the language that you want to supplement: Language u2192 Special Actions u2192 Supplementation (Expert).
    2. On the next screen, enter a description of your supplementation. This helps you to recognize the supplementation you have started in the transaction SMLT overview.
    3. In the center of the dialog box, you can specify conditions for selecting the tables you want to supplement. These fields are set with SAP defaults, however, you can change them by choosing Change. The default is set so that if you are logged on to client 000, all cross-client and client-specific tables are supplemented in client 000. In other clients, only the client-specific tables in the logon client are selected for supplementation.
    4. The tables that you want to supplement appear at the bottom of the screen, according to the selection you made by choosing Select. Each table is shown with its table class, a description, the supplementation mode, and the client in which the table will be supplemented. You can use the appropriate pushbuttons to change this list, however, we recommend this for experienced users only.
    You can find this with link :
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/ac5b5193-0701-0010-45a7-98dd573a6785
    under section :
    6.2 Language Supplementation................................................................14
    6.2.1 Starting Language Supplementation..........................................................................15
    6.2.2 Language Supplementation (Expert Mode)................................................................17
    Could you please also check the the below post :
    Re: Complete Language Supplementation ?
    chek the below link for search.... it would also help you for next search
    https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=supplementingLanguage&adv=true&sdn_author_name=&sdn_updated_on_comparator=GE&sdn_updated_on=&start=11
    i also suggest you to check with target client on which you installed language at last.
    Regards,
    S.Manu.

  • How to get all users under an organizations?

    Hello everyone.
    Just want to know if anyone knows how to get all users under a particular organization.
    From the Search User form, I found they may kind of user such attribute conditions:
    MemberObjectGroup
    is in
    XXXX(organization)
    But unfortunately, the "is in" is not a valid AttributeConditionOperator, so besides using "recursive" self-written function, anyone knows any possible buit-in trick?

    Here is my solution:
    <Rule'>
        <RuleArgument name='organization'/>
        <RuleArgument name='context'/>
        <block>
            <defvar name='orgs'>
                <new class='java.util.ArrayList'/>
            </defvar>
            <invoke name='getChildObjectGroupNames'>
                <invoke name='getObject' class='com.waveset.ui.FormUtil'>
                    <ref>context</ref>
                    <s>ObjectGroup</s>
                    <ref>organization</ref>
                </invoke>
                <ref>orgs</ref>
            </invoke>
            <append name='orgs'>
                <ref>organization</ref>
            </append>
            <invoke name='getUsers' class='com.waveset.ui.FormUtil'>
                <ref>context</ref>
                <map>
                    <s>conditions</s>
                    <list>
                        <new class='com.waveset.object.AttributeCondition'>
                            <s>MemberObjectGroups</s>
                            <s>in</s>
                            <ref>orgs</ref>
                        </new>
                    </list>
                </map>
            </invoke>
        </block>
        <MemberObjectGroups>
            <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
        </MemberObjectGroups>
    </Rule>

  • How to get multiple selected fields in list

    Hello all,
    I am trying to get multiple selected value from a list but i dont know how to get multiple selected fields from a list though AS3.
    Actually i want to pass the selected fields to php, so for that i need to get the selections and send to php.
    Thankx..

    i want to put the selected fields of list in an array through AS3....
    actually......i figured it out how to do that...........
    Its simple......use
    list.selectedItems[index]
    and to get the number of items selected......
    list.selectedItems.length
    simple.....

  • How to get the user piveliges in Solaris

    Dear All,
    In solaris how to get the user priveliges,
    Example:lsuser -f "user name"
    In AIX the above command will show the user priveliges,that user having su access or not like that,I want to know in Solaris,i gone through "ppriv" it not giving the valid information.
    Kindly tell me how to get the user priveliges.
    Regrads,
    Venkatachalam.M

    -K- (!),
    I followed your suggestions and it works well now. Do you know why I prefer to see the UI in english ? Because the help and everything else (documentation) is in english making very difficult to find in the french UI what is referred to in the english on-line help.
    Merci de votre aide !
    Christian

  • How to get the User ID's details in SRM Workflow EBP system

    Hi Team
    How to get the User ID's details in SRM Workflow EBP system. Example like i have User ID "BTEMPEST" but i want his full name . so please suggst me how to get the full name of user id where it is maintained.
    Thanks.
    Puneet.

    Thank you very much muthu.
    For your information FM "RSPLPPM_GET_USERDETAILS" is working fine.
    Thanks for quick response.
    Thanks
    Puneet.

  • How to get Active users list in Essbase 6.5.6

    Hi Gurus,
    How to get Active users list in Essbase 6.5.6 version
    I dont find any Esscmd to find active users list....
    i used LISTLOGINS command in ESSCMD but its not helping me out....
    pls suggest me some approach to find active users list.
    Thanks in advance....

    Hi  ,
    Display sessions will give only active users details which are currently connected to the ESSBASE .
    if you need this list ? or  you need the  total list of   security  active users list ?
    if you need the currently connected to the ESSBASE
    if you check  one server  At a time  or you can check the application level also
    1)server level
    display  session all;
    2)application level
    display session on application  'application name ';
    go for the  run command ---> essmsh----->  login;----->enter user name ----> enter password----->enter host (like server name )  then you need to you   above  1 &2  commands
    Thanks,
    suresh

  • [ADF custom task form] How to get logged user in Worklist app?

    Hi!
    How to get the user id, logged in Worklist application in a managed bean? I'm creating ADF task form for human task and i have to know which user is logged in.
    Thx!

    &lt;af:outputText value="Authenticated User: #{securityContext.userName}" id="ot2"/>
    or via standard j2se apis (Subject.getSubject(..))
    hth clemens (http://blogs.oracle.com/soabpm)

  • How to get the user view

    Hi,
    Can anyone say how to get the user view of a user logged in through admin interface.
    I have tried to get the roles of logged in user as below:
    <ref>waveset.roles</ref>
    it did not work..
    Please suggest

    who said you cant create view for logged in user, try the following machi
    <Action id='0' name='User View' application='com.waveset.session.WorkflowServices'>
    <Argument name='op' value='getView'/>
    <Argument name='authorized' value='true'/>
    <Argument name='type' value='User'/>
    <Argument name='id' value='$(WF_CASE_OWNER)'/>
    <Return from='view' to='userview/>
    </Action>
    Rgds,
    Purush

  • How to get the users list that can Add/Remove or modify Vendors in Oracle?

    How to get the users list that can Add/Remove or modify Vendors in Oracle?
    I need to generate a report like name and responsibility. Thanks

    That query gives the Supplier information.
    But what i would be needing is to find out the USERS in oracle who can Add/Modify or Remove Vendors.
    I assume it should be based on the Responsibility.

  • How to get to user startup folder in windows 7

    How to get to user startup folder in windows 7

    Unfortunately your post is off topic here, in the TechNet Site Feedback forum, because it is not Feedback about the TechNet Website or Subscription.  This is a standard response I’ve written up in advance to help many people (thousands, really.)
    who post their question in this forum in error, but please don’t ignore it.  The links I share below I’ve collected to help you get right where you need to go with your issue.
    For technical issues with Microsoft products that you would run into as an
    end user of those products, one great source of info and help is
    http://answers.microsoft.com, which has sections for Windows, Hotmail, Office, IE, and other products. Office related forums are also here:
    http://office.microsoft.com/en-us/support/contact-us-FX103894077.aspx
    For Technical issues with Microsoft products that you might have as an
    IT professional (like technical installation issues, or other IT issues), you should head to the TechNet Discussion forums at
    http://social.technet.microsoft.com/forums/en-us, and search for your product name.
    For issues with products you might have as a Developer (like how to talk to APIs, what version of software do what, or other developer issues), you should head to the MSDN discussion forums at
    http://social.msdn.microsoft.com/forums/en-us, and search for your product or issue.
    If you’re asking a question particularly about one of the Microsoft Dynamics products, a great place to start is here:
    http://community.dynamics.com/
    If you really think your issue is related to the subscription or the TechNet Website, and I screwed up, I apologize!  Please repost your question to the discussion forum and include much more detail about your problem, that could include screenshots
    of the issue (do not include subscription information or product keys in your screenshots!), and/or links to the problem you’re seeing. 
    If you really had no idea where to post this question but you still posted it here, you still shouldn’t have because we have a forum just for you!  It’s called the Where is the forum for…? forum and it’s here:
    http://social.msdn.microsoft.com/forums/en-us/whatforum/
    Moving to off topic. 
    Thanks, Mike
    MSDN and TechNet Subscriptions Support

Maybe you are looking for