Search Help for transaction code KE53

Hi Experts,
I want to add one more elementary search help in already existing search help PRCT for tcode KE53.
This is a collective search help. I am trying to create an elem. searh help which includes 3 input fields
Profit Center (PRCTR), Text desc. of Profit Center (LTEXT), and Company Code (BUKRS). But the problem is PRCTR & BUKRS are in table CEPC_BUKRS and PRCTR & LTEXT in table CEPC. Then how do i club the 3 in a single elem help. Do i have to use Search Help Exit. I have created a FM in which i have written a select query as follows:
SELECT APRCTR ALTEXT B~BUKRS
       FROM CEPCT AS A
       INNER JOIN CEPC_BUKRS AS B
       ON APRCTR = BPRCTR
       INTO CORRESPONDING FIELDS OF TABLE ITAB.
ITAB is the table in FM. The FM also includes the changing parameters :SHLP & CALLCONTROL and tables SHLP_TAB & RECORD_TAB (but i dont know the use of the parameters). How do i proceed.
I dont have any idea about search help exits. Also there is no table which includes PRCTR, BUKRS and LTEXT.

Hi,
No need to write a search help exit. You can instead give a database view in the selection method. This database view can be a join on the tables CEPC  and CEPC_BUKRS.
Refer to the search help PRCTN which uses a database view as the selection method.
Since this is a standard search help, you will have to use append search help technique. Refer to this link for [enhancing the standard search help|http://help.sap.com/erp2005_ehp_04/helpdata/EN/1f/29ef5777df11d2959800a0c929b3c3/frameset.htm].
regards,
Advait
Edited by: Advait Gode on Dec 30, 2008 9:45 AM

Similar Messages

  • Search help for material code in VA01

    Dear Experts,
    In VA01 tcode in item level if user press f4 in the material code then we will get all the f4 helps for few fields.Now i need to add one more field  mtart from mara table  in the existing  search help of material code.
    plz suggest me how can i proceed.
    If u have any documets regarding adding one more fied to existing search help plz send me.
    Thanks & Regards,
    farook.
    Edited by: farook shaik on Aug 18, 2009 8:58 AM

    Hi,
       You can do that using search help exits you would find several threads already posted to the forum for this like below:
    Link[Search Help Exits|Search Help Exit;
    Regards,
    Himanshu

  • How to build search help for company code (BUK) in SRM

    Hello,
    I am new to SRM and was wondering if any have come across similar requirement. I am a workflow developer and we are building a custom table to derive deadline escalation timelines. We are also adding a field in our custom table for company code so that we can have company specific deadlines. table T001 is empty in SRM and hence we are unable to use F4 (search help). Is there existing functionality in SRM that gets this search from the backend ECC system and displays when F4 is pressed. How can I use that functinoality?
    Appreciate any info folks.
    Thanks again.
    Samir

    Hi
    Which SRM version are you using ?
    <b>Related links -></b>
    Re: Search Help on SRM front end screen
    F4 Help for WBS Element
    Re: Company Code defaults
    Re: Search help for Custom Item level field
    Custom field in SRM as a dropdown field with values stored in R/3
    Calendar help for Date i/p field in SRM 5.0 shopping cart
    Company code
    Problems assigning values via F4 or search help
    Also There is a standard table in SRM which contains Plant data ->
    <b>BBP_LOCMAP</b> (Mapping Table Business Partner --> System --> Location)
    Try creating a  custom search help based on this Table, defined as selection method and assign the same to the related field.
    Do let me know.
    Regards
    - Atul

  • Search Help for Company Code from Backend

    Hi experts,
    How can I make a SH for company code from backend system? I already made a SH for account assigments from backend with USAGE_SH_F4  functioanality, but i don't know whether I can use it for Company code or not? And how?
    Best Regards,
    Mikhail.

    I need functionality where I will manually maintain backend system, and then I need bind search help for this backend system with my input field for web dynpro. For Account Assignment I use this: http://scn.sap.com/community/srm/blog/2014/01/08/standard-account-assignment-search-helps-in-custom-srm-developments
    But what should I use for company code?

  • Search help for  transaction XD02

    Hi experts,
         For the transaction XD02(change customer screen),when i select the customer from f4 help,the customer number is not being auto populated in the screen.so could you please tell me how to rectify this.
    Thanks in advance
    Akmal

    Hi,
    This is the standard behaviour. When you select F4, it will throw you a selection screen. Based on the inputs you give in the selection screen, it will give you the list of customers. Based on that value, you can select the customers you want to change.
    Hope this helps you.
    Reward if this helps you

  • IW31- How to add Search help for User specific fields in IW31 transaction.

    Hi Experts,
    I have to add Search help for standard fields USR00 to USR10 fields in IW31 transaction.
    Is there any user exit for this requirement.
    Please reply, it will be very helpful for me.
    Regards,
    B. V. Rao

    Bala,
    See the following user-exits:
    IWO10015: F4 Help for user fields on operation
    IWO10016: Customer enhancement to check operation user fields
    PeteA
    [www.pjas.com]

  • Search help for field in Standard Transaction

    Hi Experts,
          We have a requirement to have an F4 search help for a standard field .
    ( Plant, werks, Tx AS01 ). This field is not associated with any standard search help, but it throws F4 values programmatically .
       We need to associate a standard search help ( BETR_BUKRS ) with this Plant field.
    1. How to proceed abt it ( As it is a part of module program , can we straight away associate with the search help in the property ) ,it is a  field of standard Transaction .
    2. If we include search help above, what will happen to the already existing F4 functionality ? Can we have both in tabs ?
       Thanks a lot,
    ~Abap Lover

    Hi Seshatal,
         Thanks for the input, but this field does NOT  have any ON VALUE REQUEST event associated with it ....
       as soon as F4 is hit, it goes to Function help_start ,so I don't think we can make any changes here as it is standard .
       I think including a standard search help will help....how to achieve this ?
    Thanks,

  • Transaction VB02 - Search help for product hierarchy

    Hi Experts,
    I have a requirement to add a search help for product hierarchy in transaction VB02. Has anybody done this before? I am not able to assign the program & screen to a Z package.
    Thanks,
    Vitz.

    there are already search helps attached to it.. which fields exactly are you talking about?
    try to find BADI for that screen

  • Attaching Search Help for screen field in standard transaction

    Dear All,
    I want to attach my own custom search help for field 'Requiremenr Tracking Number (BEDNR) in PO (ME21n).
    How can i do this?
    Pls gv the stps.
    Thanks a lot.
    Kind Regards.

    Prasad, you know, when I search forum for answers, I'm really disappointed when I see people have found a solution but don't share, and as the thread was maybe one year old or later, I don't feel to ask because the guy probably don't remember what he did. So giving a little explanation immediately is always a very good idea.

  • Search Help for requisitioner in T/code ME51N

    Dear all,
    Is there any way to include the search help for requsitioner ME51N?
    Thank you

    Dear all
    Is there any way to include the search help for requsitioner in purchase requisition - ME51N?
    Thank you

  • Need some help in creating Search Help for standard screen/field

    I need some help in adding a search-help to a standard screen-field.
    Transaction Code - PP01,
    Plan Version - Current Plan (PLVAR = '01'),
    Object Type - Position ( OTYPE = 'S'),
    Click on Infotype Name - Object ( Infotype 1000) and Create.
    I need to add search help to fields Object Abbr (P1000-SHORT) / Object Name (P1000-STEXT).
    I want to create one custom table with fields, Position Abb, Position Name, Job. Position Abb should be Primary Key. And when object type is Position (S), I should be able to press F4 for Object Abb/Object Name fields and should return Position Abbr and Position Name.
    I specify again, I have to add a new search help to standard screen/field and not to enhance it.
    This is HR specific transaction. If someone has done similar thing with some other transation, please let me know.
    There is no existing search help for these fields. If sm1 ever tried or has an idea how to add new search help to a standard screen/field.
    It's urgent.
    Thanks in advace. Suitable answers will be rewarded

    Hi Pradeep,
    Please have a look into the below site which might be useful
    Enhancing a Standard Search Help
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/daeda0d7-0701-0010-8caa-
    edc983384237
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee93446011d189700000e8322d00/frameset.htm
    A search help exit is a function module for making the input help process described by the search help more flexible than possible with the standard version.
    This function module must have the same interface as function module F4IF_SHLP_EXIT_EXAMPLE. The search help exit may also have further optional parameters (in particular any EXPORTING parameters).
    A search help exit is called at certain timepoints in the input help process.
    Note: The source text and long documentation of the above-specified function module (including the long documentation about the parameters) contain information about using search help exits.
    Function modules are provided in the function library for operations that are frequently executed in search help exits. The names of these function modules begin with the prefix F4UT_. These function modules can either be used directly as search help exits or used within other search help exits. You can find precise instructions for use in the long documentation for the corresponding function module.
    During the input help process, a number of timepoints are defined that each define the beginning of an important operation of the input help process.
    If the input help process is defined with a search help having a search help exit, this search help exit is called at each of these timepoints. If required, the search help exit can also influence the process and even determine that the process should be continued at a different timepoint.
    timepoints
    The following timepoints are defined:
    1. SELONE
    Call before selecting an elementary search help. The possible elementary search helps are already in SHLP_TAB. This timepoint can be used in a search help exit of a collective search help to restrict the selection possibilities for the elementary search helps.
    Entries that are deleted from SHLP_TAB in this step are not offered in the elementary search help selection. If there is only one entry remaining in SHLP_TAB, the dialog box for selecting elementary search helps is skipped. You may not change the next timepoint.
    The timepoint is not accessed again if another elementary search help is to be selected during the dialog.
    2. PRESEL1
    After selecting an elementary search help. Table INTERFACE has not yet been copied to table SELOPT at this timepoint in the definition of the search help (type SHLP_DESCR_T). This means that you can still influence the attachment of the search help to the screen here. (Table INTERFACE contains the information about how the search help parameters are related to the screen fields).
    3. PRESEL
    Before sending the dialog box for restricting values. This timepoint is suitable for predefining the value restriction or for completely suppressing or copying the dialog.
    4. SELECT
    Before selecting the values. If you do not want the default selection, you should copy this timepoint with a search help exit. DISP should be set as the next timepoint.
    5. DISP
    Before displaying the hit list. This timepoint is suitable for restricting the values to be displayed, e.g. depending on authorizations.
    6. RETURN (usually as return value for the next timepoint)
    The RETURN timepoint should be returned as the next step if a single hit was selected in a search help exit.
    It can make sense to change the F4 flow at this timepoint if control of the process sequence of the Transaction should depend on the selected value (typical example: setting SET/GET parameters). However, you should note that the process will then depend on whether a value was entered manually or with an input help.
    7. RETTOP
    You only go to this timepoint if the input help is controlled by a collective search help. It directly follows the timepoint RETURN. The search help exit of the collective search help, however, is called at timepoint RETTOP.
    8. EXIT (only for return as next timepoint)
    The EXIT timepoint should be returned as the next step if the user had the opportunity to terminate the dialog within the search help exit.
    9. CREATE
    The CREATE timepoint is only accessed if the user selects the function "Create new values". This function is only available if field CUSTTAB of the control string CALLCONTROL was given a value not equal to SPACE earlier on.
    The name of the (customizing) table to be maintained is normally entered there. The next step returned after CREATE should be SELECT so that the newly entered value can be selected and then displayed.
    10. APP1, APP2, APP3
    If further pushbuttons are introduced in the hit list with function module F4UT_LIST_EXIT, these timepoints are introduced. They are accessed when the user presses the corresponding pushbutton.
    Note: If the F4 help is controlled by a collective search help, the search help exit of the collective search help is called at timepoints SELONE and RETTOP. (RETTOP only if the user selects a value.) At all other timepoints the search help exit of the selected elementary search help is called.
    If the F4 help is controlled by an elementary search help, timepoint RETTOP is not executed. The search help exit of the elementary search help is called at timepoint SELONE (at the
    F4IF_SHLP_EXIT_EXAMPLE
    This module has been created as an example for the interface and design of Search help exits in Search help.
    All the interface parameters defined here are mandatory for a function module to be used as a search help exit, because the calling program does not know which parameters are actually used internally.
    A search help exit is called repeatedly in connection with several
    events during the F4 process. The relevant step of the process is passed on in the CALLCONTROL step. If the module is intended to perform only a few modifications before the step, CALLCONTROL-STEP should remain unchanged.
    However, if the step is performed completely by the module, the following step must be returned in CALLCONTROL-STEP.
    The module must react with an immediate EXIT to all steps that it does not know or does not want to handle.
    Hope this info will help you.
    ***Reward points if found useful
    Regards,
    Naresh

  • Dynamic search help for one field of the SM30 generated maintenance view

    Hi experts,
    I have one Z* table with three fields. For that table I have generated maintenance dialog in SE55 so I can now run the maintenance in SM30. My requirement is: as soon as a user enters a value for the first field, the search help for the second field should be depended on the value in the first field. Let's say when user entered value 01 into the first field then the search help for the second field should be S_HLP01. For other values entered into the first screen the search help for the second field should be S_HLP02. Both search helps are standard (the names differ).
    Is there any change how to achieve this without making completely new dynpro transaction?

    Hi ,
    You can try it this way.
    pass your match-code( search help to function ) HELP_VALUES_GET_WITH_MATCHCODE and get the value and update it in  your screen field.
    But you have to modify the flow logic in POV event. it would be better if you create your own transaction because once the maintenance is regenerated your modified flow logic will vanish

  • Search Help for Cost center

    Hi All,
    I have 2 questions
    1) we dont have any default cost center maintained any where in the org-structure (PPOMA_BBP), howeverwhenever I go for shopping I can see a cost center  along with GL account, ( I know GL acct is coming from "determine GL account for prod-cat" settings in IMG), but what about cost center where is it coming from ??
    2) second, when we do search help for cost center's in shopping application, we are able to see all cost centers from the back end which I guess is good, but we can see even those cost centers which are blocked!!!, why is this happening ??,
    Thanks.

    Hello,
    For First::
    In general the CO Area (here: cost center) is derived from R/3 Backend Enterprise
    Structure and should be re-determined if another acc. objects is
    entered that belongs to a different CO Area. Please also check the
    settings in R/3 Backend IMG, path:
    ->Enterprise Structure ->Assignment ->Controlling
    ->Assign company code to controlling area
    The company code is assigned to the CO Area through the following
    assignment:
    ->Materials Management
    ->Assign purchasing organization to company code
    The CO Area is in general the organizational object in
    highest (CO) level. Assignments to other MM/CO objects are located
    in lower Enterprise hierarchy level. Hence, the CO Area does not
    change if a different CO object of a lower level (here: cost center)
    is assigned to a SRM document.
    For Second::
    The only possibility I see is to set the message to error message in
    the customizing in the backend. The message number is KI 170. When you
    look at the long text of this message in transaction SE91 in the
    backend, you will find the description where to look in the customizing.
    When you have set this message to ERROR, then no purchase order will be
    created in the backend. Instead the shopping basket gets the status
    'ERROR' and the administrator will recieve a work item in his inbox.
    Then he can check the backend and either post the purchase orders again
    after solving the problem, or he can delete the shopping baskets.
    Please check the note for more infos or the documentation.
    Setting the message KI 170 to error message will solve your problem.
    See note 333136.  I would think that if you create
    a PO directly in the backend if you do not have the message configured
    as and error you will be able to create the PO.
    I hope this information helps.
    Kind regards,
    Gaurav

  • Search Help for Vendor Feild not getting populated in the Screen Element

    Hi Everyone,
    In transaction Miro, I get a POP-UP for Invoicing Party i.e. Vendor and Users required a custom search help.
    The Search help for Vendor(LIFNR) is KRED_C and i appended a Z search help under this.
    Now that the search help exists and I can drill down the values too but when i select/choose any value,  that value is not getting populated in Screen feild.
    is there any validation I need to do for this.
    Please suggest me... I checked SDN there are many things but i couldn't figure out wat i need to do and where I need to modify.
    Regards,
    Raj

    Dear Hema,
    Could you please tell me how many internal tables you are using to store the data for display.
    I observerd that you have lt_stock and lt_mat2 declared in the part of the program
    >DATA: lv_stock TYPE lty_stock.
    >DATA: ltmat2 TYPE TABLE OF lty_mat.
    you have displayed above, however you are also using ls_stock and lv_stock .
    >IF p_ztotal = ' '. "line
    >WRITE 18 ls_stock-matnr.
    >WRITE 38 lv_stock-strgr.
    >
    >ELSEIF ztotal = 'S'.                             "subtotal
        >WRITE: 15 ls_stock-nrmit.
        >WRITE 32 lv_stock-dispo.                    
        >WRITE 43 lv_stock-fevor.                      
      >ELSE.                                            "total
        >WRITE: 15 'TOTAL'(016), ls_stock-prgrp.
    >
      >ENDIF.
    Are those for displaying some other information?
    Also the problem of display you are facing can also be because there are no records to be displayed which satisfies the selection criteria.
    Best Regards,
    Rajesh.
    Please reward points if found helpful.

  • Search help for SKAT-SAKNR OR SKAT-SAKNR is not working

    Hi All,
    I have created a Search Help for F4 in a dialog program for SKAT-SAKNR OR SKAT-SAKNR. While i click F4 on that field, it displays blank values.
    Here is the module:
    module HELP_FOR_SAPGL_ACC input.
      CLEAR t_SAPGL.
      SELECT  SAKNR TXT20
        FROM  SKAT
        INTO  CORRESPONDING FIELDS OF TABLE t_SAPGL UP TO 1000 ROWS
        WHERE SPRAS = SY-LANGU.
       WHERE L_GL_ACC = v_FIELD_VALUE-FIELDVALUE.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
        DDIC_STRUCTURE         = ' '
          RETFIELD               = 'SAKNR'
        PVALKEY                = ' '
         DYNPPROG               = PROGNAME
         DYNPNR                 = DYNNUM
         DYNPROFIELD            = 'SKA1-SKANR'
        STEPL                  = 0
        WINDOW_TITLE           =
        VALUE                  = ' '
         VALUE_ORG              = 'S'
        MULTIPLE_CHOICE        = ' '
        DISPLAY                = ' '
        CALLBACK_PROGRAM       = ' '
        CALLBACK_FORM          = ' '
        MARK_TAB               =
      IMPORTING
        USER_RESET             =
        TABLES
          VALUE_TAB              = t_SAPGL
        FIELD_TAB              =
        RETURN_TAB             =
        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.
    endmodule.   
    In the above code I am selecting 1000 rows from SKAT table and in the Search Help Popup it is also displaying 1000 rows but all are blank.
    Please help me.
    Regards,
    Avaneet

    Hi check my weblog on search help exit codeing..
    https://wiki.sdn.sap.com/wiki/x/du0
    \* Prepare for output
    CALL FUNCTION 'F4UT_RESULTS_MAP'
    TABLES
    shlp_tab = shlp_tab
    record_tab = record_tab
    source_tab = lt_result
    CHANGING
    shlp = shlp
    callcontrol = callcontrol
    EXCEPTIONS
    illegal_structure = 1
    OTHERS = 2.
    IF rc = 0.
    callcontrol-step = 'DISP'.
    ELSE.

Maybe you are looking for

  • Generation of access report CNRCRMPRCUST999 failed.

    Dear Gurus,          I’ve createe one pricing condition table in Dev environment and now I’m trying to transport it in Quality environment. This table is for CRM only. In development every thing working fine but while transporting in Quality I got th

  • Problem with some queries after migration from MS Access

    Hi everyone! We've just finished a migration from a MS Access database and we notice some errors when running some queries like : Query1: SELECT A.field1, A.field2, B.field1 as FieldTmp FROM A,B where (B.field1 <=10); Query2: SELECT Query1.field1, Qu

  • Getting Data From MySQL Database using Dreamweaver CS4 Built In Functions

    Hi, I am really in need of some help if you don't mind. I basically have a website with user regsitration system etc and so on. I basically connected to my Data Base in Dreamweaver CS4 and now want to use the tools in Dremweaver CS4 to display Data f

  • Firewire cable - How many pins?

    I am trying to connect my Panasonic HDC-SD9 video camera to my Mac. Consequently I am in the market for a firewire cable. I have presented with a couple of choices, 4 to 6 pin and 6 to 6 pin. Which do I need?

  • Adding audio suddenly creating video gap

    I'm working on a slide show and it was going really well until today. The video is finished, with transitions, effects, etc., and I've been adding audio over the past couple of days. Today, I added a couple of songs and they did fine, then I added an