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

Similar Messages

  • Calling a standard search help from MS Office

    One of the companies I work for has integration with Microsoft Office so users can create SAP DMS (document management system for those who aren't familiar with it) entries directly from e.g. Microsoft Word. The integration solution is a custom .Net application.
    In addition to the obvious integration to create the DMS info record and assign the document as an original the integration solution lets the user provide classification data. Some changes are now being planned, and one of them is challenging as a new characteristic (for the classification) will be used to store an organization unit. This is straightforward when the user is in the SAP GUI, as the standard search help can easily be displayed from custom code.
    Being a technology optimist I was hoping that with the new fancy technologies SAP would have provided a way to use .NET integration to display a standard search help from the MS Office integration dialogue - but so far I have not been able to find any information supporting this hope. Luckily I am not the developer working with the integration dialogue, but unless the mentioned possibility exists it looks like we have to resort to passing all organization units to the interface so a hierarchy can be constructed and displayed to the user for selection.
    Another alternative (I think) is to recreate the dialogue as a web dynpro screen, which will give us all the advantages of operating "inside" SAP. However, I am not sure if this is possible either. Can a web dynpro screen be called from an MS Office application (.Net), and can that web dynpro screen return values to the (external) calling application? In my simple view of the world this should be doable, if not otherwise it should at least be possibly by wrapping the screen in a function module that is exposed so the .Net application can call it - either by RFC or as a web service.
    Microsoft Office version is 2003.
    SAP release is ECC 6.0 (Netweaver 7.0).
    I think this is the right forum for my question. My apologies if it isn't (and any guidance towards a more appropriate forum would then be appreciated).

    Not solvable I suppose. There should be a way to close messages without marking them as answered.

  • How can I call a specific search help from and still get all the tabs

    hello
    I use F4IF_FIELD_VALUE_REQUEST to display a specific search help from my program. This search help is included in a collective search help, but only the one specified search help is displayed.
    Is it possible to call the collective search help and display one specific search help ?
    Example: in CRM i have a collective search help BUPA. When F4 is issued from a customer field the search help "Search customer" should be displayed, and not the last search help which was activated - i.e.. "Search employee".
    best regards
    Peter Christiansen

    Hi,
    you can try some thing like this..
          CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
            EXPORTING
              TABNAME           = 'KNA1'
              FIELDNAME         = 'KUNNR'
              SEARCHHELP        = 'DEBI'
            TABLES
              RETURN_TAB        = LT_RETURN
            EXCEPTIONS
              FIELD_NOT_FOUND   = 1
              NO_HELP_FOR_FIELD = 2
              INCONSISTENT_HELP = 3
              NO_VALUES_FOUND   = 4
              OTHERS            = 5.
          IF SY-SUBRC <> 0.
            MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
    Regards
    vijay

  • SAP CRM Search Help - defaulting values in search help screen

    Hi All,
    I am working on search help object in service order(Amount allocation )  BTAMNTALL component view name vIEW:BTAMNTALL/HdrBillplanDet and field name STRUCT.AC_ASSIGNMENT. in that block if we select account assignment type as ERP cost center it will give standard search help in Select account assignment field.
    Its basically calling the standard search help CRMT_AC_ASSIGN_KOSTL_E. After pressing F4 it will display the popup Controlling area cost center and description. Basically I need to default the Controlling area in F4 help based on some logic.I am not sure where to write code for this one.
    Please find the attachment where I need to default the value. any help is appreciated.
    Thanks,
    Sapsar.

    At least can you read the document I provided carefully? the point 2.3.1.2 give you the answer.
    Anyway if the document doesn't specify "defining a default value" but give you some ideas/hints, you only need to use a little your imagination. Like:
    1- Use a custom search help with a constant (static)
    2- Use a custom search help with a search exit to determine the data that you need from the sales org of course you need to add the orgunit as an input parameter for the search help and supress the input parameter which will be determined in the search help exit (dynamic)
    3- Create a value node for the context (hidden) and put the info you need once you select the sales org in the hidden attribute/s, this hidden attributes should be mapped in the get_v method (dynamic, not sure if this will work, I never tried, but will be nice if you try and give us some feedback)

  • Search help from one field used to populate another on subscreen.

    I have a subscreen with 2 fields;  Plant & Batch.   Search help MCH1F displays batches for plants.  When a batch for a plant is selected in the search help for the batch field, I want to populate the plant field in addition to the batch.  The batch number comes back from the search help selection, but I need to get the plant associated with that batch just selected and populate the subscreen plant field.  SET/GET doesn't work either in the screen field setup or abap flow logic.   Any tips would be appreciated.  Thanks.

    Hi Kurt,
    i think that way its not possible but the closest way is
    i HAVE TWO TABLES
    ZPHY
    ZPROC
    I HAVE SCREEN  IN WHICH I HAVE TO GET VALUE FOR  PHY BASED ON ID.
    AND FOR OTHER FIELD IN THE SCREEN I HAVE PROC BASED ON THE ID I USED TO GET PHY AND  FOR THE SAME ID I AHVE MULTIPLE PROC AND I HAVE SELECT ONE OF THOSE , HERE WHEN YOU PRESS F4 IT WILL GIVE ALL THE PROC ASSOCIATED TO
    ID THATI USED IN THE SELECTION OF PHY.
    AND I THINK YOURS IS THE SAME CASE RIGHT.
    FIRST GET
    process on value-request.
    FIELD zabc-def MODULE VALUE_REQUEST_PHYACT.
    FIELD zabc-proc MODULE VALUE_REQUEST_PROC.
    MODULE VALUE_REQUEST_PHYACT INPUT.
    DATA: progname TYPE sy-repid,
          dynnum   TYPE sy-dynnr.
    CLEAR zabc.
    CLEAR : zabc-def, zabc-id, zabc-proc,
    zabc-ZSHECPROC.
    CLEAR FINAL.
    CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
      EXPORTING
        TABNAME                   = 'ZPHY'
        FIELDNAME                 = 'def'
        SEARCHHELP                = 'ZPHY'
      SHLPPARAM                 = ' '
        DYNPPROG                  = PROGNAME
        DYNPNR                    = DYNNUM
      DYNPROFIELD               = ' '
      STEPL                     = 0
      VALUE                     = ' '
      MULTIPLE_CHOICE           = ' '
      DISPLAY                   = ' '
      SUPPRESS_RECORDLIST       = ' '
      CALLBACK_PROGRAM          = ' '
      CALLBACK_FORM             = ' '
      TABLES
        RETURN_TAB                = IT_RETURN4
    EXCEPTIONS
      FIELD_NOT_FOUND           = 1
      NO_HELP_FOR_FIELD         = 2
      INCONSISTENT_HELP         = 3
      NO_VALUES_FOUND           = 4
      OTHERS                    = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    read table it_return4 index 1.
    zabc-def = it_return4-fieldval.
    select single id into zabc-id FROM ZPHY
                          WHERE def = zabc-def.
    FINAL-def = zabc-def.
    FINAL-id = zabc-id.
    HERE BASED ON ID I AM RETRIEVING  DEF FIELD ,THIS IS FROM SEARCH HELP USING SE11.
    AND FOR THE SAME ID I HAVE TO GET PROC FIELD FROM ANOTHER TABLE
    ENDMODULE.                 " VALUE_REQUEST_PHYACT  INPUT
    MODULE VALUE_REQUEST_PROC INPUT.
    DATA : SERVICE LIKE zabc-id.
    select single id into SERVICE FROM ZPHY
                          WHERE def = zabc-def.
    SELECT * INTO TABLE ITAB_TEST4 FROM ZPROC
                      WHERE id = SERVICE.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
      EXPORTING
      DDIC_STRUCTURE         = ' '
        RETFIELD               = 'proc'
      PVALKEY                = ' '
      DYNPPROG               = ' '
      DYNPNR                 = ' '
      DYNPROFIELD            = ' '
      STEPL                  = 0
        WINDOW_TITLE           = 'PROCEDURE'
      VALUE                  = ' '
        VALUE_ORG              = 'S'
      MULTIPLE_CHOICE        = ' '
      DISPLAY                = ' '
      CALLBACK_PROGRAM       = ' '
      CALLBACK_FORM          = ' '
      TABLES
        VALUE_TAB              = ITAB_TEST4
      FIELD_TAB              =
        RETURN_TAB             = IT_RETURN4
      DYNPFLD_MAPPING        =
    EXCEPTIONS
      PARAMETER_ERROR        = 1
      NO_VALUES_FOUND        = 2
      OTHERS                 = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    if sy-subrc = 0.
              clear itab_TEST4.
              read table it_return4 index 1.
                   zabc-proc = it_return4-fieldval.
         read table itab_TEST4 with key id = itab_details-def
             itab_zMOR-def = itab_details-def.
             itab_zMOR-zzfname  = itab_details-zzfname.
            endif.
    SELECT SINGLE ZSHECPROC INTO zabc-ZSHECPROC FROM ZPROC
    WHERE proc = zabc-proc.
    FINAL-proc = zabc-proc.
    final-zshecproc = zabc-zshecproc.
    *********AGAIN THIS IS NOT THE SEARCH HELP FROM SE11
    ENDMODULE.                 " VALUE_REQUEST_PROC  INPUT
    hope this helps
    Thanks

  • Calling the advance search help using f4 help

    Hi
        I have a question.In Items assignemnt blcok  of the opportunity page for product ID field there is an f4 help  associated with it. When we click on f4 help it will open the standard product serach   in a popup where we can serarch for the products. and select the product from results.
      But my requirment is to call  the advance search help  of the products  instead of standard serch  help  in the  popup when we click f4 help and should beable to save the searches and retrive the saved sercahes.
          Can any  one help me out  with this problem
    Thanks,
    Sreekar

    Hi,
    If you do a search on this forum for the terms "search help exit" you will get a few threads that provide details on how you can achieve this.

  • How to call SAP GUI Graphical interface by using SAP ACTIVEX Control?

    Hi,all
    I want to connet my delphi system with SAP system. But we still need to call SAP GUI Graphical interface into our delphi system. Could we use SAP ACTIVEX Control to implement this funciont?
    Or, is there any other method to Call SAP GUI Graphical interface into other system?
    Besides call SAP GUI into IE by using portal
    Thanks and best regards.

    check out this thread
    Re: Calling SAPGUI transaction out of BSP application

  • Call SAP GUI actions from Web UI

    We have upgraded our CRM system from 4.0 to 7.0. In CRM 4.0 we have some complex actions used in service order. We would really like to be able to reuse those SAP GUI actions from Web UI service order since it would require a lot of work to rewrite them in BSP.. Is it possible to call a SAP GUI action from Web UI? How do we do this?
    Regards Andreas
    Edited by: Andreas on Jan 17, 2011 1:58 PM

    That was very helpful information. I can now see the available actions. The problem now is that one of the SAP GUI actions is using dialog program technique, like CALL SCREEN 9001... Is there a way to handle this also from Web UI or is it impossible?
    Thanks and regards
    Andreas

  • Calling SAP GUI Client from a Java Webdynpro app.

    Hello experts,
    We would like to call the SAP GUI client from a java WebDynpro application running without portal or ITS. Can it be done by having a web link, with mime registration in internet explorer to kick off the SAP GUI ? (similar behavior with a SAP favorite link saved on the desktop).
    many Thanks.

    Hi,
    Webdynpro possibilities:
    1. You can try to use LinkToUrl.
    with reference to file://<exefile> or your weblink with the mime type (possibly some java coding can be required; I can try to help).
    2. other option is to use IFrame and you can use either href to your exe or weblink
    Web Explorers:
    1. IE: It should work. if you point to exe file popup window will be displayed asking for action (run, save, cance).
    2. Firefox: the only way I know to make it work is to modify nsHelperAppDlg.js file (if you need Firefox I can tell you how to modify the file).
    Kind Regards, Jack

  • Call SAP GUI txn from WD4A running in the SAP GUI

    I'm somewhat new to Web Dynpro and I'm trying to evaluate the use of WD4A as our main custom screen/txn platform.  I have written a simple application.  I created a transaction code that calls WDYID and launches my WD4A application in the SAP GUI. 
    Our company does a lot of "CALL TRANSACTION" in our normal dynpro development and I need to prove out that it is possible to do the same in WD4A.  I've used the following code to try and call a transaction:
      CALL METHOD lo_window_manager->create_external_window
        EXPORTING
          url           =
    'http://<host>:<port>/sap/bc/gui/sap/its/webgui?sap-client=<client>&~TRANSACTION=VA03'
         title          = 'Display Orderl'
    *    MODAL          = ABAP_FALSE
    *    HAS_MENUBAR    = ABAP_TRUE
    *    IS_RESIZABLE   = ABAP_TRUE
    *    HAS_SCROLLBARS = ABAP_TRUE
    *    HAS_STATUSBAR  = ABAP_TRUE
    *    HAS_TOOLBAR    = ABAP_TRUE
    *    HAS_LOCATION   = ABAP_TRUE
        RECEIVING
          window         = lo_wd_window.
    The problem with this is that when called from the SAP GUI, it launches a browser.  I would like for it to go directly to the WebGUI version of VA03. 
    Is this possible?

    Hi Adam,
    you should be able to suspend to an ITS call.
    - however you might fall foul of a bug - fixed in note 1255292 (Special characters not permitted for suspend/redirect)
    Not sure if this is what is causing the issue...
    Can you not pass parameters to the transaction using the CL_WDR_SAPGUI_INTEGRATION2->FIRE method?
    this is what is called by the FIRE_START_TRANSACTION method, but allows for additional parameters.(I've never used it myself so I'm not sure that it would work, but would be interesting to find out - could you let us know?)
    Cheers,
    Chris

  • Search Help from SAP values using WebDynpro ABAP in ADOBE Interactive Form

    Hi,
    How to populate search help on ADOBE interactive online form which is residing on a WebDynpro ABAP application?
    Thanks & Regards,
    Sandip amar

    HI,
    Adobe from is integraated with R/3 just like smartform.
    So if u use any DDIC tabel field which have inbuilt search help then it will automatically intergrated with Adobe form.
    If not then u have to make at ztable via foreign key or via FM at program level.
    Regards
    ricky

  • How to call a POPUP search window from a tableu00B4s cell (NOT LINK TO ACTION)

    Hello all,
    I have this situation, i need to show as a POPUP a search window from a table's cell, this cell must be an inputfield or any similar kind. I know for something that i read, that this could be done with linktoaction UI, but i don't want to use that because when i select my data result in the search window, this lead selection must appear in the main table. Plis if any of you guys know how to do this or if you have some documentation blogs or whatever information that could help me. that would be great!!!!. I´ll wait for you replies THIS ISSUE IS URGENT!!
    Thanx in advance,
    MC

    Hi,
    Pl go through this links
    /docs/DOC-8061#51 [original link is broken]
    OVS
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/wdjava%20archive/web%20dynpro%20valuehelp%20using%20object%20value%20selector.pdf
    EVS
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/wdjava%20archive/value%20help%20in%20web%20dynpro%20applications.pdf
    Regards
    Ayyapparaj

  • How to call elem. Search help on Button click event in WD appilcation

    Hello All,
    i have requirement to call elem. search help on button click event in WD application. currently i am calling FM  F4IF_START_VALUE_REQUEST but getting the short dump as below,
    The following error text was processed in the system X31 : Screen output without connection to user.
    The error occurred on the application server saps_X31_31 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    SYSTEM-EXIT of program SAPLSDH4
    Function: F4_PRESEL_WITH_TABSTRIP of program SAPLSDH4
    Form: F4PROZ_STEP_PRESEL of program SAPLSDSD
    Function: DD_SHLP_SINGLE_STEP of program SAPLSDSD
    Form: F4PROZ_LOOP of program SAPLSDSD
    Form: F4PROZ of program SAPLSDSD
    Function: F4IF_START_VALUE_REQUEST of program SAPLSDHI
    Method: ONACTIONSEARCH_CUSTOMER of program /1BCWDY/50TU5ZEXF3K0IWCWE153==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/50TU5ZEXF3K0IWCWE153==CP
    Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP
    is there any way to achieve the required behaviour.
    please let me know.
    Regards,
    Chandra

    Hi Friends,
    I have the similar kind of requirement. Upon click on a Button on screen i need to call a search help, and collect one or more selected material numbers.
    The search help is working fine and i am getting the entries with the following code.
    The problem is i am finding extra popup on screen.
    CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
    EXPORTING
    tabname         =  space
    fieldname       =  space
    SEARCHHELP      =  'MAT1'
    MULTIPLE_CHOICE =  'X'
    STEPL           =  0
    value           = 'MATNR'
    *dynpprog        =  progname
    *dynpnr          =  dynnum
    *dynprofield     = 'CARRIER'
    CALLBACK_PROGRAM          = 'ZTEST_1_PRA'
    CALLBACK_FORM             = 'F4CALLBACK'
    TABLES
    RETURN_TAB                = RETURN_TAB
    EXCEPTIONS
    FIELD_NOT_FOUND           = 1
    NO_HELP_FOR_FIELD         = 2
    INCONSISTENT_HELP         = 3
    NO_VALUES_FOUND           = 4
    OTHERS                    = 5.

  • How to create context sensitive help and call the role based help from my Java Project?

    Hello All,
    I am new to Robo Help. I have created a Robo help for my Java Web Applicaion. My application is role base i.e some user's will not see some of the pages of the application. So I want to hide those pages in Robo help as well. I tried creating multiple TOC for different Roles.
    My Question is
    How to call robo Help from my application?(I will be calling using java script. If it is with RoboHelp_CSH.js where can I get that and How to implement it in my project)
    How to implement role based help?
    Thanks,
    Siva.

    I answered that. My point in asking whether it matters was that if it does, then you cannot use content categories and point different users to different categories and not allow them to see the others.
    The alternative, as I said, would be to produce different outputs for each role.
    As it does matter, then using webhelp you will have to use your RoboHelp project to produce a number of outputs, one for each category. Your app would install each webhelp into different folders and when your app determines the user role, you will link to the appropriate help.
    There is another thread running where it has been explained by Willam van Weelden that you can achieve what you want using browser based AIR help. If that form of help can be considered, then the thread is at http://forums.adobe.com/message/4914753?tstart=0#4914753
    Browser based AIR help must be run from a web server. It cannot be installed locally.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • 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

Maybe you are looking for