Using Search Help from another client?

HI guys,
I have a requirement where I have to use a search help available in another client in one of my input parameters on a selection screen.
My report is in SRD system but the search help is in ECC.
The search help is actually PRPM <== Matchcode for WBS elements
...Is it possible to do so?
I hope you guys can guide me . Thanks guys!

Thanks guys
Well, the reason being...they want to use PRPM because they would like to allow users to search for the WBS element as well as filter by Person Responsible.
Currently, I'm doing it like this
CALL FUNCTION 'BBP_GET_BACKEND_SYSTEMS'
    TABLES
      et_logical_systems = lt_logical_sys
      et_messages        = lt_logical_msg.
  IF lt_logical_msg IS INITIAL.
    READ TABLE lt_logical_sys INTO ls_logical_sys INDEX 1.
    IF sy-subrc = 0.
      MOVE ls_logical_sys-logsys TO lw_logical_sys.
    ENDIF.
  ENDIF.
  CALL FUNCTION 'RFC_GET_TABLE_ENTRIES'
    DESTINATION lw_logical_sys
    EXPORTING
      table_name = 'PRPS'
    TABLES
      entries    = lt_entries.
  IF lt_entries[] IS NOT INITIAL.
    LOOP AT lt_entries INTO ls_entries.
      ls_wbs-posid = ls_entries+11(24).
      ls_wbs-post1 = ls_entries+35(40).
      APPEND ls_wbs TO lt_wbs.
    ENDLOOP.
*       F4 for WBS pop up.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
      EXPORTING
        retfield     = 'POSID'
        window_title = text-012 "WBS Element
        value_org    = 'S'
      TABLES
        value_tab    = lt_wbs
        return_tab   = lt_return_tab.

Similar Messages

  • 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

  • Transfer values from one search help to another

    Is it possible to transfer values from screen of one search help to another. For example if I have the vendor master search help (XK02) and I go to the elementary search help "Vendors by Material" . On this screen I enter some data in the Material number field. Now  when I do an F4 on the material field on this search help I will get the collective search help for Material number. My requirement is to have the material number from the first search help to be carried over to the second search help. Is there any way possible. I am manipulating my custom search helps through the search help exits(fetching data etc).

    Hi Deepak,
    Not very sure, but I think if you write code in search help exit, this may be possible. Use GET PARAMETER... SET .. in the exit to pass the values between search help.
    Regards,
    Atish

  • Using SEARCH HELP exit in dependency of other parameters from my dynpro.

    Hello experts,
    how can I access the values of input fields (parameters or select-options) from my dynpro?
    I need to build a F4-help in dependencie of another field on the screen with help of the F4 - exit. I think this should be possible.
    If I do test the search help with SE11 it works fine. All parameters from screen are given in SHLP_TAB[1]-INTERFACE (the parameter of my f4-help-exit)
    The short example explains the problem more detailed.
    REPORT  test_dynpro_events_ck.
    PARAMETERS ea1 TYPE my_char_10_ck DEFAULT 'here I push F4' MATCHCODE OBJECT MY_F4_HELP_CK.
    PARAMETERS ea2 TYPE my_char_10_ck DEFAULT 'this is the value I need to generate the F4 help of field ea1'.
    MY_F4_HELP_CK:
    import: EA1 and EA2
    export EA1
    Many Thanks
    Christian

    Thank you so far.
    But how are these parameters passed to the search help without using global set/get parameters or DYNPRO_READ_VALUE? Why can I put these parameters to my search help as input parameters ... seems to be useless if I use search help on Selection-Dynpros?
    Is there not a better way to deal with search-helps which are dependent from other input fields? Btw. I need the value without passing PAI and PBO.
    In my Example:
    doing some text inputs in field EA2 -> hit search help on EA1 -> need a selection dialog in dependency of the input in EA2. This can not be that complicated?
    Many thanks
    Christian

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

  • MIGO: Searching batches via classes using search help MCH1 (incl. SH MCH1C)

    Hello everyone,
    I have a strange issue in MIGO on our Development server, and was wondering if anyone else had ever encountered similar problems.
    In MIGO, when we choose "Goods issue", and "Other", we enter the material number, plant and storage location. After pressing ENTER, the "Batch" tab appears allowing us to enter the batch. Now, searching for the batch creates a problem, and here is the process:
    1. Press F4 on the "Batch" field - this envokes the Search help procedure.
    2. Enter the class and the class type on the next screen and press ENTER. A subscreen appears with the class characteristics.
    3. Without filling out any of the characteristics, press "Find in initial class" button.
    In the bottom part of the screen, the system creates a split to display the results in a form of ALV list, BUT no results are ever displayed.
    Here is another piece of information which might be useful. The version of the DEV installation is ECC 6.0, and the patch level for Logistics and Accounting is SAPKH60009. The patch level of the corresponding IDES system is SAPKH60006, and in the IDES system we have no problems with this search through MIGO.
    This tells me that there might be a problem caused by the upgrade - but that's not sure, and that's why I ask if anyone else had run into such an issue.
    I am an ABAPer, so I approached this problem first by comparing the search helps of the two versions. The collective SHelp is MCH1, but searching batches via classes uses the elementary SHelp MCH1C. I found some differences in the elementary SHelps' function exits, these are included in the SAP note 1020405, and have no effect on the functionality. I even tried "downgrading", and using the search help from IDES, but still got no results. I decided that this was not causing the problem.
    Can anybody suggest what might be the cause of the problem? Our MM people tell me there is no customizing for this process, and that it worked on IDES from the very beginning without any problems.
    Thanks in advance!
    Srdj

  • How to use Search help PRCTR_EMPTY in Web dynrpo ABAP

    Hi,
    I have a requirement to use search help PRCTR_EMPTY as F4 help for an InputField in my application. But, in the F4 help, if I select "Profit Center Via Standard heirarchy" and search, it is giving me the following error:
    "Sending of dynpro SAPLSPO4 0300 not possible: No window system type specified"
    Here the search help is trying to call a R/3 screen from web dynpro.
    Pelase suggest me if there is any other way to use this search help in web dynpro.
    Thanks,
    Manogna

    hello,
    Any search help where R/3 screen is called, will not work in WD ABAP environment. You can create search help using OVS and follow the similar way of data selection as in search help.
    Regards
    Vishal kapoor

  • How to use search help in ECC6.0 reports without matchcode.

    How to use search help in ECC6.0 reports without matchcode.
    Select-options: O_SHIP FOR KUNWE MATCHCODE OBJECT DEBI  is in 4.6c.

    we can use on value request for that.
    report zrich_0001 .
    tables: t001.
    data: begin of it001 occurs 0,
    bukrs type t001-bukrs,
    butxt type t001-butxt,
    ort01 type t001-ort01,
    land1 type t001-land1,
    end of it001.
    select-options s_bukrs for t001-bukrs.
    initialization.
    select bukrs butxt ort01 land1 into table it001 from t001.
    at selection-screen on value-request for s_bukrs-low.
    call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    exporting
    retfield = 'BUKRS'
    dynprofield = 'S_BUKRS'
    dynpprog = sy-cprog
    dynpnr = sy-dynnr
    value_org = 'S'
    tables
    value_tab = it001.
    start-of-selection.
    refer to this thread:
    On value request?

  • How to use search help in layout of se51

    how to use search help in layout of se51.

    Hi,
      One of the important features of screens is that they can provide users with lists of possible entries for a field. There are three techniques that you can use to create and display input help:
    Definition in the ABAP Dictionary
    In the ABAP Dictionary, you can link search helps to fields. When you create screen fields with reference to ABAP Dictionary fields, the corresponding search helps are then automatically available. If a field has no search help, the ABAP Dictionary still offers the contents of a check table, the fixed values of the underlying domain, or static calendar or clock help.
    Definition on a screen
    You can use the input checks of the screen flow logic, or link search helps from the ABAP Dictionary to individual screen fields.
    Definition in dialog modules
    You can call ABAP dialog modules in the POV event of the screen flow logic and program your own input help.
    These three techniques are listed in order of ascending priority. If you use more than one technique at the same time, the POV module calls override any definition on the screen, which, in turn, overrides the link from the ABAP Dictionary.
    However, the order of preference for these techniques should be the order listed above. You should, wherever possible, use a search help from the ABAP Dictionary, and only use dialog modules when there is really no alternative. In particular, you should consider using a search help exit to enhance a search help before writing your own dialog modules.
    Input help from ABAP dictoinary
    http://help.sap.com/saphelp_47x200/helpdata/en/9f/dbaa5435c111d1829f0000e829fbfe/content.htm
    Field Help on the Screen
    http://help.sap.com/saphelp_47x200/helpdata/en/9f/dbaa6135c111d1829f0000e829fbfe/content.htm
    Field Help in Dialog Modules.
    http://help.sap.com/saphelp_47x200/helpdata/en/9f/dbaac935c111d1829f0000e829fbfe/content.htm
    Regards,
    Vara

  • CHARM error - No Target system for Normal transport generated from another client

    Hi Gurus,
    This is regarding normal change. We have two clients in development. (Workbench and Customizing)
    We were trying to do Automatic import from development client to Quality. When importing the job, I’m getting an error related to Project Status switch. "you cannot import any request for the project at the moment" It works fine for another development client and we can see the target system in Project status switch.
    But, checking the Project Status switch, looks like there’s no Target System defined for Normal transport generated from another client of development.
    I attached some screenshots related to this.
    Can you please help how to add a target system for another client of development ?
    Regards,
    Salman

    yes, client 110 is present in the task list of the project. yes route is defined because it is working for urgent change

  • Only Using Search Help Value When Entry Value

    Hi Experts,
    I'm using search help at my screen field for entry value. But I dont want to entry value with using hand/finger/manuel.
    I want to use only search help at my field.
    Is this possible?
    Best regards.

    Thanks All for answers.
    I mixed your solution and I find new way for my issue.
    I did like this.
    I added Input/Output Field at screen and I did input properties false.
    And I added button near the I/O Field.
    I wrote at PAI - User_Command for button on click.
    May there is different way but so my solution.
    My draft code below.
        WHEN '&BTN_PREPARE'.
       DATA : BEGIN OF ITAB OCCURS 0,
          KTANIM TYPE CHAR9,
          IPTPKOD LIKE ZKZN_004-IPTPKOD,
          KYPTYPEID LIKE ZKZN_004-KYPTYPEID,
          FIILOLS LIKE ZKZN_004-FIILOLS,
    END OF ITAB.
          CLEAR : ITAB.
          REFRESH : ITAB.
          SELECT IPTPKOD KYPTYPEID FIILOLS
          INTO CORRESPONDING FIELDS OF TABLE ITAB
          FROM ZKZN_004
          WHERE SILINDI = ''.
          LOOP AT ITAB.
            CONCATENATE ITAB-IPTPKOD ITAB-KYPTYPEID
            INTO ITAB-KTANIM SEPARATED BY SPACE.
            CONCATENATE ITAB-KTANIM ITAB-FIILOLS
            INTO ITAB-KTANIM.
            MODIFY ITAB.
          ENDLOOP.
          DATA : DFIES LIKE DFIES OCCURS 0 WITH HEADER LINE,
                 DDSHRETVAL LIKE DDSHRETVAL OCCURS 0 WITH HEADER LINE,
                 DSELC LIKE DSELC OCCURS 0 WITH HEADER LINE.
          CLEAR   : DFIES, DDSHRETVAL, DSELC.
          REFRESH : DFIES, DDSHRETVAL, DSELC.
          CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
            EXPORTING
              RETFIELD        = 'KTANIM'
              VALUE_ORG       = 'S'
            TABLES
              VALUE_TAB      = ITAB
              FIELD_TAB         = DFIES
              RETURN_TAB      = DDSHRETVAL
              DYNPFLD_MAPPING = DSELC.
          BREAK MELIHM.
          READ TABLE DDSHRETVAL INDEX 1.
          IF SY-SUBRC = 0.
            ZKZN_DATA01_S01-IPRJSCR01 = DDSHRETVAL-FIELDVAL.
          ENDIF.

  • Any Functions can I use Search Help on VALUE-REQUEST in PAI.

    Hi~!!  Experts.
    I want to know some functions or methods of Search Help.
    I have made a ZHxxxx Search Help in SE11.
    And I applied a screen field by using screen painter.
    But I want to fill up the other fields, using selected value.
    So I made a Module under th  PROCESS On VALUE-REQUEST.
    unfortunately, I can't use no more The Search  that I made.
    I want to using the Search Help(ZHxxxx), and I want to fill up the other fields by using that's values.
    I guess some F4 functions can use Search Help. Right?
    Anyone know how to deal it.  Please answer me,.     The program Type is Module Pool program.

    Hi Insik,
    Proceed as below :-
    First of all declare the module below in the flow logic of your screen then create it in your main program.
    You declare the module in the PROCESS ON VALUE-REQUEST.
    PROCESS ON VALUE-REQUEST.
    FIELD TXT_DOCNO MODULE VALUE_BELNR.
    You also need to create an internal table where you wil store results of the select query fired below in the module.
    Here you will get a F4 help on the filed Document Number(TXT_DOCNO) based on the field Company code (TXT_CODCO)
    MODULE VALUE_BELNR INPUT.
    progname = sy-repid.
    dynnum = sy-dynnr.
    CLEAR: field_value, dynpro_values.
    field_value-fieldname = 'TXT_CODCO'.
    APPEND field_value TO dynpro_values.
    CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
    EXPORTING
    tabname = 'BKPF'
    fieldname = 'BUKRS'
    dynpprog = progname
    dynpnr = dynnum
    dynprofield = 'TXT_CODCO'.
    CALL FUNCTION 'DYNP_VALUES_READ'
    EXPORTING
    dyname = progname
    dynumb = dynnum
    translate_to_upper = 'X'
    TABLES
    dynpfields = dynpro_values.
    READ TABLE dynpro_values INDEX 1 INTO field_value.
    SELECT BUKRS BELNR
    FROM BKPF
    INTO CORRESPONDING FIELDS OF TABLE it_doc1
    WHERE BUKRS = field_value-fieldvalue.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    retfield = 'BELNR'
    dynpprog = progname
    dynpnr = dynnum
    dynprofield = 'TXT_BELNR'
    value_org = 'S'
    TABLES
    value_tab = it_doc1.
    ENDMODULE. " VALUE_BELNR INPUT
    Regards
    Abhii

  • 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

  • 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

  • Using Time Machine from another machine to restore Library Folders

    I am using TM from another machine, (which has died) to restore folders onto a working system, some of the folders i need are in the User Library, but how do i display the User Library in TM?
    Thank You
    John

    Hello,
    I have now noticed that the cmd+shift+g method works OK if you are doing a standard restore from the TM on the current system, but does not work when using a TM from another machine. I do not know enough about Unix file structures to specify the correct file under these circumstances, any help woudl be grateful
    Thanks
    John

Maybe you are looking for