How to add a lookup to the customized jsp

Hi,
I added a menu item, when click on this menu item it goes to the one jsp page(my own jsp page), here I have one field, for this field I want to add a lookup.....
please advice me how to achieve this.....
Thanks.

I was actually trying this with my custom JSP. This shows up a "lookup item" in the jsp with all valid values added in the associated lookup:
Just few points for your reference:
1) Bean-Name = Your bean name
2) Action-Form-Field = Any field from your action form
3) USR_UDF_TESTLOOKUP = OIM field
I actually created a UDF in Users with DB column name='*USR_UDF_TESTLOOKUP*' and of lookup type. All valid values to be shown in the JSP are provided in this lookup only.
4) First-Name = The label which should get displayed when we click on the lookup icon.
5) All remaining fields must be left as it is.
Copy this to any JSP and see it should work.
     <tr>
          <td class="ControlLabel" width="25%">
          Custom Field
          </td>
          <td
          width="35px">
          </td>          
          <td class="ControlLabel">
          <tctags:lookupfield name="*Bean-Name*" property="*Action-Form-Field*"
          windowheight="500"
          windowwidth="500"
     lookupcolumn="USR_UDF_TESTLOOKUP"
          selectionColumn="Lookup Definition.Lookup Code Information.Decode"
          columnLabelKey="First-Name"
          htmlFormName="*Bean-Name*"
          styleClass="Fields"
          iconsrc="images/lookup.gif"
          tabindex="65"
          maxlength="25" />
          </td>
     </tr>
Thanks
Sunny

Similar Messages

  • How to add F4 help for the custom field of a custom table

    Hi All,
    How to add F4 help to the custom table field? in the table maintainance when user clicks on F4 i want to provide possible values for this field I am trying to write the code in the screen of table maintainace like the following
    PROCESS ON VALUE-REQUEST.
      FIELD ZTEST_MAH_F4-KUNNR MODULE zVALUE_kunnr .
    But when i am double clicking on module it's giving options to create include program but after that it's giving user is currently editing the table i am not getting this can some body clarify my doubt it's gr8 if some body give some examp code
    Thanks&Regards
    mahesh

    Hi,
    Create a subroutine under the event and call the following FM
    1. Select all the related data into an itab, for ex i_kunnr
    2.    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
          EXPORTING
        DDIC_STRUCTURE         = ' '
           retfield               = 'KUNNR'
        PVALKEY                = ' '
           dynpprog               = sy-repid
           dynpnr                 = '1000'
           dynprofield            = <selection screen field>
        STEPL                  = 0
        WINDOW_TITLE           =
        VALUE                  = ' '
           value_org              = 'S'
        MULTIPLE_CHOICE        = ' '
        DISPLAY                = ' '
        CALLBACK_PROGRAM       = ' '
        CALLBACK_FORM          = ' '
        MARK_TAB               =
      IMPORTING
        USER_RESET             =
          TABLES
           value_tab              = <b>i_kunnr</b>
        FIELD_TAB              =
           return_tab             = < return table >
        DYNPFLD_MAPPING        =
         EXCEPTIONS
           parameter_error        = 1
           no_values_found        = 2
           OTHERS                 = 3

  • How to add Column field in the custom Query Link search page as a header

    Hi,
    I have created a Query page link in web layout editor. Now, I want to customise the view of the result. I see an option to change the "Text1" and "text2", but how do I add other fields as a colum in the search result ?
    The only column I see by default Id, Title, release date and author. I want to see some of the custom metadata in the search result. I don't wan't to apply user specific custom search page.
    Overall, I want a common search view across all the user such that each user doesn't have to create a custom search view.
    Please help.
    Thanks

    hi
    By adding context node, you will not be able to fetch value. To fetch value in BTSubject, you need to have following nodes in your context node.
    Node          Relation                  Higher level node
    BTAdminH
    BTBOSSet  BTHeaderBOSSet   BTAdminH
    BTSubjectSet BTSubjectSet_A BTBOSSet
    BTSubject BTSubjectAll  BTSubjectSet_A
    Right now you dont have BTBOSSet and BTSubjectSet in your view. That is why component is unable to pull data in BTSubject.
    My suggestion would be to create cuco with above nodes
    Bind BTAdminH with BTAdminH of Component controller
    and bind BTSubject of details view with BTSubject of your Cuco.
    If you want code code gp catalog as it comes in complaint then there is seperate procedure for that.
    Best regards
    Pankaj Kumar

  • CRM  IC Winclient - How to add new fields in the BP Search of TRX CIC0

    Hello Experts,
    I want to know how to add new fields in the BP Search of TRX CIC0. In the HTML that we're using here I need to add the URL of the BP.
    Can you help me?
    Thanks in advance.
    Caíque Escaler

    Hi
    make append to tables in se11 - CCMBP1FIELDS, CCMBP2FIELDS
    in spro in Define customer-specific search control -> mark fields with X.
    and enhance html template CRM_CIC_SEARCH_DISPLAY. -> tcode smw0, look for package CRM_CIC_COMPONENTS for html CRM_CIC_SEARCH_DISPLAY. export it from SAP, edit, and import.
    you will need to enhance function module used for searching - you will find him in spro in Search Strategies.
    Regards
    Radek

  • How to add new fields in the EBP front end..

    Hi All,
    Can any one let me know the process of how to add new fileds in the shopping cart creation screens by using the "Tag Browser" option in the Object navigator.
    Best Regards,
    Mahesh. J

    Hi
    <b>Please go through the following links for more details and examples -></b>
    http://help.sap.com/saphelp_47x200/helpdata/en/a2/8c6eeb2d8911d596a000a0c94260a5/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/d3/5ecbe22a8a11d5991f00508b6b8b11/frameset.htm
    This will definitely help.
    <u>For adding customer fields to the Shopping cart, you need to refer SAP OSS Bote 672960 and 485891.</u>
    Do let me know, incase you need any other details.
    Regards
    - Atul

  • How to add a validator to a custom tag

    Hello,
    I would like to know how to add a validator to my custom tag as an attribute.
    <mytags:custom validator=???/>
    Thanks.
    Sebastien

    Are you wanting to use one of the JSF validators or a home brewed one?

  • How to add an embedded report to custom UI?

    Dear colleagues:
    Since now I am doing investigation on this:How to add an embedded report to custom UI , so do you have some guideline doc for this?
    Requirement is:
    Customer want to add a custom report to a custom FS page. And it has some standard fields from contract. So do you have any ideas about this?
    Thanks & Best Regards,
    Qiang

    Hi Jens,
    Attachment is the guideline for how to add an embedded report to custom UI. However, so far as i know, there still a limitation that is about inport parameter.
    For example, now can show all data of accounts. but i just only want show one account data when click account. so you can share to us if you have any idea about it.
    Thanks &Best Regards,
    Qiang

  • How to add more comments in the Nomination Header notes tab

    Short Text 
    How to add more comments in the Nomination Header notes tab 
    In the nomination screen, there are the tabs for header and item notes.
    Within each of those tabs, there are categories for the type ofcomments. Currently in the nomination maintenance screen header notes
    there are onlythree comment categories are available 1) General comments 2) Carriercoment 3) Shipper Comment and We would like add more comments in this
    section. In the configuration we couldn't find a place where we can add
    more customer specific comments. Can we add comments in the header
    notes tab and if so where can we add the additional comments ?

    Hello Giri,
    You could try the following to create new text types for nomination header.
    1) Execute transaction SM31
    2) The view here is V_TTXIDI
    3) Click on maintain .
    4) Create new entries .
    5) Since you want to add new more comments in the nomination header enter the text object as OIJRCODE_H
    6) Enter a text ID starting with Z
    7) Enter a description and save the new entry.
    In case you want to add new comments at the item level use the text object as OIJRCODE_I.
    When you restart the transaction O4NM again you will see the new entry added.
    This will solve the issue.
    Regards,
    Sandil

  • How to add 2 rows in the form layout?

    In the detail page,form layout only one row pick up from database and it displays please anyone have idea about how to display 2 rows or 3 rows in a page?
    how to add 2 rows in the form layout?
    It's very urgent
    Thanks in advance

    No. You can only achieve this with smart custom templates. Here is sample code which will display multiple employees in form layout:
    <af:forEach items="#{bindings.EmployeesTable.rangeSet}" var="row">
    <af:panelForm rows="1" maxColumns="2" width="10%" id="RegionsFormItems">
    <af:inputText id="EmployeesEmployeeId" value="#{row.LastName}" label="EmployeeId" .... />
    <af:selectInputDate id="EmployeesHireDate" value="#{row.HireDate}" label="HireDate" ...... >
    <af:convertDateTime pattern="#{nls.datepattern}"/>
    </af:selectInputDate>
    </af:panelForm>
    </af:forEach>
    Steven Davelaar,
    JHeadstart Team.

  • How to add a page in the SAP Scripts

    Hi All,
    I want to know how to add a page in the sap scripts. there is already sap script developed by some other person.
    Now I have to add a page in front of that and have to add some more data.I added a page in page windows but thats not at all working.
    Please help me out in this.
    Thanks,
    Praveen

    new page will create in sap scripts using new page command.
    you have to set condition like after some number of records displayed in page new page has to be trigger.
    ex:YOU HAVE SO MANY RECORDS FOR PRINTING BUT YOU WANT TO DISPLAY 100 RECORDS IN FIRST PAGE REMAINING IN SECOND PAGE LIKE THAT.
    Here you can use NEW PAGE COMMAND .
    IT IS OPPOSITE PURPOSE OF PROTECT AND ENDPOTECT.
    Reward if useful.

  • How to add log messages in the sever/webui objects?

    Hi,
    I am new to the OA Framework.
    Can any one share any information in how to add log messages in the sever/webui objects?
    What are the beans I need to use to show in the diagnostic page?
    Can I get sample code for this log staments?
    Thanks in advance,
    Padma

    Hello. This forum is for reporting problems with the published Oracle documentation. You have a better change of getting a reply if you post your question on the Database - General forum.
    Regards,
    Diana

  • In Third Party sales order processing how we come to know that the customer

    Hi SAP SD Gurus,
    In Third Party sales order processing how we come to know that the customer is recived the Goods from the vendor?
    Thanks & Regards,
    Sreenivas.P

    From a high level view, the behavior should work like this:
    -  Sales order placed from customer PO via Tcode VA01. Purchase Requisition created upon saving the order
    -  Purchase order created with reference to Purchase Requisition via Tcode ME21N
    -  Receive confirmation from vendor that goods have shipped via EDI
    -  Create invoice receipt to vendor via Tcode MIRO
    -  Create billing document to bill customer via VF01

  • How to add an item into the Newsstand

    How to add an item into the Newsstand.  Please do NOT reply using  "tech-language." Use standard- normal everyday English. Thanks,
    Don Otlin
    Franklin Square, NY

    Open Newsstand. Tap on the "Store" button in the upper right. Any newspaper or magazine you download from the store will appear in Newsstand.

  • How to add new fields to the system form (Ex.expenses to a/r invoice form)

    hi
    can any one tell me how to add new fields to the system form (Ex.expenses to a/r invoice form)
    i want to add expenses field to system a/r invoice form and connect data base also.
    i used the code of samples\11.system form manipulation(vb.net) but i'm not able to get it....so can any one help with code or concepts.
    reply soon plz..
    thankQ

    If I understood you correctly, you are just trying to add new fields to the invoice form and then use them in your form. you should first go and add the field to your tables, which you would do by going to Tool --> User Defined Fields --> Manage User Fields. There are different documents or categories given. For ex. for invoices, Sales Orders you would add your field under the Marketing Documents. If you want the field to be just one per invoice, add it to the Title, otherwise if you want a field per invoice or Sales Order line, add it to the Rows section. Once you have done that then you can just create a edit box or drop down to represent the field and set the datasource for that to your field. If you want example code to do that, let me know.

  • How to add new fields to the DME file in F110

    Hi,
    We have a requirement add new fields to the file that is used in  F110.
    .I did go in to DMEE transaction but I hae no idea how to add new fileds to the existing file.
    Can anybody please help me in resolving the issue.
    Thanks
    Venkat
    Edited by: Venkat R on Jun 8, 2009 8:45 AM

    Hi,
    There is no function module for that, We have created our own function module and attached to that field.
    Refer the below code. This will fetch the document number.
    DATA: lwa_item   TYPE dmee_paym_if_type,
            l_fpayp   TYPE fpayp,
            l_fpayhx TYPE fpayhx,
            first_flag TYPE c,
            lv_lifnr   TYPE lifnr,
            voucher_id TYPE string,
            voucher TYPE string,
            invoice_id TYPE belnr_d,
            voucher_len1 TYPE i,
            voucher_len TYPE i.
      TYPES:
      BEGIN OF lt_regup,
            xblnr TYPE xblnr1,
            belnr TYPE belnr_d,
      END OF lt_regup.
      DATA: lt_regup TYPE STANDARD TABLE OF regup,
            lv_regup TYPE regup.
    Hope this helps.
    Raja.A
    Edited by: Raja.A on Feb 16, 2011 7:17 PM

Maybe you are looking for

  • Weird siebel 8.0 console mode installation problem on OEL 4

    Hi There, When I tried to install Siebel 8.0 SIA build on Oracle Enterprise Linux (OEL 4), I encountered a weird problem. It is a sandbox for QA to do testing, everything is on the same machine: oracle database 10.2.0.3, gateway, siebel server and SW

  • Payment block key not editable in FB02

    Hi, I have problems relating to payment block key. In particular, documents with posting key = 09 seems to have this field (BSEG-ZLSPR) hidden in FB02. How can I have that field editable? Thanks a lot for your help, Gabriele

  • Crystal 2008 - How to use the total revenue in a formula

    Hi, Experts, With Crystal report 2008, I created Income Statement in the following steps: 1. select the Journal Entries within a date range 2. group accounts by their father accounts 3. summarize father accounts under Revenue and Expense ( then I got

  • Encoder issue?

    I have checked all the online forums, even beyond the official "adobe" forums, with no help. Here is my situation: I have used Adobe Media Encoder to "encode" all my footage from Premiere CC to .m2v files (the mpeg 2 for video files, recommended for

  • Can't find 7110 firmware update

    Good morning everybody. As title said, I have tried to find the last available firmware update for 7110, but couldn't find any. Anyone knows where I can find them? Thanks a lot.