Tableview + search help  + bsp application

hi experts,
i am creating a BSP application, where i am displaying data from a database table.
i want to add search help...to sales order numer..so that...i can fetch the data cporresponding to that sales order....
please help me with this query
thanx in advance
regards
kanika

Hi,
Add following line into your program:
PARAMETER p_prog LIKE trdir-name MATCHCODE OBJECT zsh
Regards
Sowmya

Similar Messages

  • Custom F4 help in a BSP application working in Mozilla but not in IE

    Hi,
    I have created a custom F4 help in a BSP application.
    It is working in Mozilla but not in IE. I tried enabling javascript as well but still it is not working.
    Can someone please suggest a possible solution for this?

    Hi,
    See simmilar discussion in thread /thread/1883519 [original link is broken]
    I think this may be helpful for you.
    Thanks,
    Chandra

  • Input Help in BSP application

    Hi,
    I need to associate standard and custom input helps to a custom field in the standard BSP of Opportunity in the Details tab. I don't know nothing about this so where can I find some documentation?
    I want to understand the meaning of:
    Field Name --> Obj. Type
    Method
    Field --> Object ID
    Field Name --> Method
    Example:
    How the standard Input help COMM_BUPA_SEARCH for the field PROSPECT_LIST is linked to the standard Search Help BUPA? 
    How can I create a custom Input help?
    Thanks a lot,
    Sara

    Hi Shailaja,
    I've recuperated the PCUI book and I'm implementing the method FILL_DROPDOWN_LISTBOX but I have an error in htmlb code:
    <htmlb:dropdownlistbox>: (table) Table does not have FIELDNAME column from nameOfKeyColumn attribute
    What does it mean? I'm using the standard BSP so I don't have the html code.
    Have you any idea?
    Thank you for your help,
    Sara

  • Search Help screen in the BSP

    Hi,
    Our requirement is to provide the search help for a field. The Search help pop up should have three input fields 'UserId', 'First Name' and 'Last Name'. The pop up should not be table. In the pop up, we can give some input value and based on that the relevant entry needs to be fetched, then we need to choose that entry. That chosen entry should be moved to our input screen.

    Hi
    please check this thread
    Search Help
    and there is a tutorial in saptutorial which might be helpful
    saptechnical >tutorials>bsp-->f4help
    Regards,
    G. Nikhil Kumar

  • How to create F4 Help of R/3 in BSP Application

    Hi
    I am trying to make a BSP Page on which i have a field which should support F4 search help of R/3.
    When a user presses F4 on that field a popup should open up as it does in R/3 Search help.
    How can i do this in BSP?
    Please reply asap.
    Thankyou.

    Hi,
    I like to suggest an alternative, instead of going for pressing F4, provide a button adjacent to the input field. Upon clicking that button the help page will pop up. For that you need to use Java Script. Write the code for that in onClientClick of that button:
    onClientClick = "window.open('material_help.htm','Material','width=400,height=500')"
    Now in the material_help page you can show a table which shows help data and the user can select from that. To pass the data from that page to your original page you need to use java script once again.
    Hope this helps..
    Regards,
    Ravikiran.

  • Search help in BSP? E.g. employee number etc.

    Hello everyone,
    Before i begin to develop that much, it is worth a question, cos not being able to find something in the docs.
    For things like htmlb:inputField, is it possible to get a standard search help when it is bound to data "types" like PERNR?
    The help says that it only knows basic data type like INTEGER, STRING etc. and that the searchHelp attribute currently only(?) supports a calendar for type DATE (which i successfully implemented months ago).
    I wonder if BSP is leaking such great features that even DynPro (at least those w/o the "Web" prefix, i don not kno) have :-).
    Thank you,
    Timo

    Hallo Timo,
    The only thing leaking at the moment is the NA2 in Hamburg port But you are right, BSP lacks such a F4-help feature. It is something that was always on the plan, but never made it to the door.
    Unfortunately, in this case you will have to roll your own, which means as much as saying "lots of development work". (I see here a small business idea:).
    It is true that CRM did implement such a feature, but it was done specifically for CRM and in their context. Maybe they have a few ideas for you.
    regards, brian

  • How to search string in BSP Application?

    Hi,
    Report ‘RS_ABAP_SOURCE_SCAN’ is to search string in ABAP. How to search string in BSP Application?
    In standard BSP Application is calling another BSP application and this hard coded in application.
    Regards,
    ...Naddy

    Hello Naddy,
    7 Years later and it seems there is still no possible way to search a string in a BSP application.
    Using Report BSP_EXPORT_CLASSES (Uncheck list of packages, provide BSP application name) I was able to download the complete BSP application to my desktop computer; after that I used TotalCommander (free edition) to scan the files for the string. (Mode set to UTF8)
    Ugly workaround but it works.
    Regards

  • Calling SAP GUI Search help from BSP

    Hi,
    Please find my requirement below:
    I have a Sales Order field with a Search button.
    Once Search button is clicked, it should call standard F4 composite search help.
    I have tried calling the search help VMVA for sales order, using the Function Module DD_SHLP_CALL_FROM_DYNP.
    Once search i clicked this FM is called but in CALL SCREEN statement it goes to page error/dump.
    Kindly let me know if there is any other solution for the same.

    Hi
    As far as I am aware there is no standard way of calling a search help from a bsp.  You have to create your own bsp tags to do this.
    Check out this link
    http://scn.sap.com/people/community.user/blog/2006/12/20/bsp-value-help-input-field-and-select-options-ranges
    Darren

  • Help needed urgently in SRMSUS bsp application .

    hello all . we have a requirement where in the bsp application :- SRMSUS needs some modification.
    We need to add select all / deselect all and multirow checkbox select(table view ..).After selecting single records or multiple, user presses delete button which needs to be added as there is no standard button functionality present.
    Now the problem is data is displayed in a tableview. I have enabled the selection option.Also individual rows can be deleted there is a delete icon for indiviual rows. but how can i check the rows which r selected n which r not, for deletion.
    SRMSUS is  MVC based.
    pls need ur inputs asap.
    Thanx in Advance to all...

    You need not to have table event triggered to get the selected rows..
    Once you find the Button event, use the below code to get the selected rows..
        tv ?= CL_HTMLB_MANAGER=>GET_DATA( request = request
                                          name    = 'tableView'
                                          id      = 'tvX' ). " tvX is Tableview ID
        IF tv IS NOT INITIAL.
          table_event = tv->data.
          clear selectedRowIndexTable.
          selectedRowIndexTable = table_event->PREVSELECTEDROWINDEXTABLE.
       ENDIF.
    <b>* Reward each useful answer</b>
    Raja T

  • How to Provide search Help for files on Application Server

    Hi Guys,
                   Can anyone tell me How to Provide search Help for files on Application Server. I have put a file name on selection screen. I want to give search help for files on application server.
    Thanks & Regards.
    Harish.

    Hi Harish,
    Use the following code,
    tables sxpgcotabe.
    data: lt_execprot LIKE btcxpm OCCURS 0 WITH HEADER LINE,
            w_filepath(60)       TYPE c, --> length depending on your Directory path.
      SELECT SINGLE *
        FROM sxpgcotabe
             WHERE name = 'LIST_DB2DUMP'
               AND opsystem = sy-opsys.
      IF sy-subrc <> 0.
        SELECT SINGLE *
          FROM sxpgcotabe
               WHERE name = 'LIST_DB2DUMP'
                 AND opsystem = 'UNIX'.
        IF sy-subrc <> 0.
          MESSAGE e000 WITH 'External operating system command '
                            'LIST_DB2DUMP not found'.
        ENDIF.
      ENDIF.
      sxpgcotabe-parameters = p_filepath. --> provide the directory path.
      CALL FUNCTION 'SXPG_COMMAND_EXECUTE'
           EXPORTING
                commandname                   = sxpgcotabe-name
                additional_parameters         = sxpgcotabe-parameters
                operatingsystem               = sxpgcotabe-opsystem
           TABLES
                exec_protocol                 = lt_execprot 
           EXCEPTIONS
                no_permission                 = 1
                command_not_found             = 2
                parameters_too_long           = 3
                security_risk                 = 4
                wrong_check_call_interface    = 5
                program_start_error           = 6
                program_termination_error     = 7
                x_error                       = 8
                parameter_expected            = 9
                too_many_parameters           = 10
                illegal_command               = 11
                wrong_asynchronous_parameters = 12
                cant_enq_tbtco_entry          = 13
                jobcount_generation_error     = 14
                OTHERS                        = 15.
      IF sy-subrc <> 0.
        MESSAGE e000 WITH text-e01 p_filepath.  "Directory failed
      ENDIF.
    Loop round the directory list, split each line up into a line table
    and get the last data for each line, should be the filename
    Then build the dirlist.
      REFRESH t_dirlist.
      LOOP AT lt_execprot.
        REFRESH t_dirline.
        SPLIT lt_execprot-message AT space INTO TABLE t_dirline.
        DESCRIBE TABLE t_dirline LINES w_nolines.
        READ TABLE t_dirline INDEX w_nolines.
        MOVE t_dirline-data TO t_dirlist-filename.
        APPEND t_dirlist.
      ENDLOOP.
    Here you will get all the files in the directory mentioned in Application server.
    For displaying them as a Search help use the FM '/BMC/ZPOPUP_GET_VALUE'
    Pass the Internal table to this FM.
    Regards,
    Paul.

  • Standard search help need for application directories

    Hi All,
    I have a created ztable.I want to assign a search help to this Z table field.
    I need a search help which contains the apllication directories.
    Is there any standarda serch help avliable to assign the application directories to the Z field of ztable.
    Thanks,

    I don't think there is a standard search help available, but there is a function which provides a F4 dialog box to search app server directories... You can try creating your own search help with it.
    PARAMETERS p_file TYPE dxfile-filename.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    CALL FUNCTION 'F4_DXFILENAME_4_DYNP'
    EXPORTING
          dynpfield_filename = 'P_FILE'
          dyname                    = sy-repid
          dynumb                    = sy-dynnr
          filetype                     = 'P'
          location                    = 'A'
          server                       = '  '.
    filetype: 'P' represents Physical file name; 'L' represents Logical file name.
    location: 'A' represents Application Server; 'P' represents Presentation server.
    P_FILE is parameter name (in your case it can be scree field name)
    dyname = report name
    dynumb = scree number

  • Not able to open BSP application in Internet

    Hi Everyone,
    i have a BSP Application which i have put into a tab strip as a link.But users are not able to open the url though they are able to log on to the standard application (cProjects suit 3.1)
    this is how i did.
    <htmlb:link id        = "Link1000"
                text      = "Company cProjects"
                target    = "_blank"
                reference = "http://hxyz.corp.company.ad:8000/sap/bc/bsp/sap/zzzz_cprojects/default.htm?sap-client = <%=sy-mandt%> " >
    </htmlb:link>
    can anyone let me know what configurations i need to do so as to make it open in internet outside my company's network.
    i checked SICF and application is active.
    Regards,
    Ajay

    Hi Ajay,
    This is sample application (overwrite column 7).
    Page Attribute:
    flights     TYPE     FLIGHTTAB
    ovtab     TYPE     TABLEVIEWOVERWRITETAB
    wa_ov     TYPE     TABLEVIEWOVERWRITE
    Layout:
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <htmlb:content design="design2003" >
      <htmlb:page title=" " >
        <htmlb:form>
          <%
      clear wa_ov .
      data: temp_bee type ref to IF_BSP_BEE .
      data: wf_text type string ,
      wf_url type string .
      wf_text = 'ABC' .
      CONCATENATE 'http://www.google.com/search?q=' wf_text INTO wf_url .
      CALL METHOD cl_htmlb_link=>factory
      EXPORTING
      id            = 'tv1_1_7'
      reference     = wf_url
      target        = '_blank'
      text          = wf_text
      RECEIVING
      element       = temp_bee .
      move: '7' to wa_ov-column_index ,
      '1' to wa_ov-row_index  ,
      temp_bee to wa_ov-display_bee .
      append wa_ov to ovtab .
          %>
          <htmlb:tableView id                   = "tv1"
                           table                = "<%= flights %>"
                           overWriteDefinitions = "<%= ovtab %>"
                           visibleRowCount      = "10"
                           columnHeaderVisible  = "true" />
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    onInitialization Event:
    SELECT * FROM sflight INTO TABLE flights.
    Hope this helps.

  • Passing paramters and calling a PCUI screen from a BSP Application

    Hi,
    We have developed a custom BSP application which displays a list of Opportunities in a HTMLB table view based on a search criteria.
    When I click on a particular opportunity no., I should call a PCUI screen which should display that particular opportunity details.
    Any help is greatly apperciated.
    Thanks,
    Vasu.

    You are going to have to be more specific in what you want.
    First I would read the following pieces of info.  They will help you with general problems, also with creating an Iterator and read the select rows of a table.
    BSP Element - Dynamic tableView with Internal Table
    <a href="/people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator">BSP Programming: HTMLB TableView Iterator</a>
    Just shooting from the hip I am assuming you are clicking on a selected ROW in the tableView where you defined the tableView with <i>selectionMode="SINGLESELECT"</i> and <i>onRowSelection="MySelectEvent"</i> then on the OnInputProcessing Event Handler you read the selected row (see <a href="TableView and selected row)
    So and of course once you read the selected row in the OnInputProcessing event handler you can do further porocessing.
    However if you are wanting to provide the user with the ability to click an icon or text link in the row then please refer to the Iterator for that.

  • Error message in bsp application

    hi
    Im tamil selvan .....this is my first bsp application i created .. but i cant view the output..the default html code itself not executing... i copied the same code in text and saved in html its executing there... i dont know what is the issue..is any system files are missing...plz guide me im new to bsp....first what should i learn ...  the below is the error i pasted...
    Business Server Page (BSP) error
    What happened?
    Calling the BSP page was terminated due to an error.
    SAP Note
    The following error text was processed in the system:
    Die URL enthält keine vollständige Domainangabe (isys-ecc statt isys-ecc.).
    Exception Class CX_FQDN
    Error Name 
    Program CX_FQDN=======================CP
    Include CX_FQDN=======================CM002
    ABAP Class CX_FQDN
    Method CHECK
    Line 10 
    Long text -
    Error type: Exception
    Your SAP Business Server Pages Team

    Hi Tamil,
    welcome to the SAP Community Network. You will find lots of great resources, tips, and examples here.
    Of course to find them you have to look for them. You will find most people more than happy to help you with problems if you first try and help yourself by searching for the solution yourself.
    So please, search the forums for the solution to your problem before you post.
    Cheers
    Graham Robbo

  • Create a table view in my BSP Application!.

    Hi All,
    I am using CRM version 4.0 here i want to crate a new table view in my own BSP Application and want to display in the CRM_IC Application.
    The problem now i am facing is.. there is now provision to create the table view via the wizard. I tried to copy the BSP code, changed the code accordingly also i changed the inheritance for the context node class from
    CL_BSP_WD_CONTEXT_NODE to CL_BSP_WD_CONTEXT_NODE_TV.
    i also copied the iterator attribute.
    still the view is coming with an error saying that page have some problem.
    can anyone suggest any easy method to create the table view!.
    or else can you tell me what i have to do further!.
    Thanks n regards,
    sudeep v d.

    Hi,
    The problem is not only at the .htm page!. I think some changes are required at the context node level. for
    here is the BSP code I m using for displaying the table view..
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <%@extension name="xhtmlb" prefix="xhtmlb" %>
    <%@extension name="bsp" prefix="bsp" %>
    <%@extension name="CRM_BSP_IC" prefix="crmic" %>
    <crmic:tray2 id     = "MoreFields"
                 title  = "<%= otr(crm_ic_appl/BuPaAccount) %>"
                 height = "100%,603"
                 width  = "100%" >
      <crmic:trayBody2>
        <crmic:gridLayout cellSpacing    = "1"
                          columnSize     = "1"
                          rowSize        = "10"
                          height         = "100%"
                          width          = "100%"
                          widthPredefine = "TRUE">
        <crmic:gridLayoutCell columnIndex = "1" rowIndex    = "4" >
            <crmic:tableView design          = "STANDARD"
                             width           = "100%"
                             id              = "Address"
                             table           = "//Address/Table"
                             visibleFirstRow = "3"
                             visibleRowCount = "4"
                             selectionMode   = "LINEEDIT"
                             onRowSelection  = "select"
                             fillUpEmptyRows = "TRUE"
                             headerVisible   = "FALSE"
                                           >
              <crmic:tableViewCols>
                <crmic:tableViewColumn columnName = "STREET"
                                       title      = "<%= otr(CRM_IC_APPL/BuPaStreet_t) %>"
                                       edit       = "TRUE" />
                <crmic:tableViewColumn columnName = "POSTL_COD1"
                                       title      = "<%= otr(CRM_IC_APPL/BUPAPOSTCODE_T) %>"
                                       edit       = "TRUE" />
                <crmic:tableViewColumn columnName = "CITY"
                                       title      = "<%= otr(CRM_IC_APPL/BUPACITY_T) %>"
                                       edit       = "TRUE" />
                <crmic:tableViewColumn columnName = "REGION"
                                       title      = "<%= otr(CRM_IC_APPL/REGION) %>"
                                       edit       = "TRUE" />
                <crmic:tableViewColumn columnName = "REGIONNAME"
                                    title      = " "
                                       edit       = "FALSE" />
              </crmic:tableViewCols>
            </crmic:tableView>
        </crmic:gridLayoutCell>
       </crmic:gridLayout>
      </crmic:trayBody2>
    </crmic:tray2>
    In the above code i have given
    table    = "//Address/Table"
    here the 'Address' is defined as a page attribute type ref to the context node class ( CL_CRM_IC_BUPAMOREADDRESS_CN01 ).
    the same class is used in the CRM_IC application works fine!.
    also i entered the attribute entry for the 'Address' in the _CTXT class the view.
    still the same error 'page  cannot be displayed'.
    what could be the problem anyone plaese help!.
    Thanks n regards,
    sudeep v d.

Maybe you are looking for