Search help is populating the input field with wrong data

Hi Guys,
I have created a ZCITY table for which has below 2 field
ZZCITY (Code ) (5 Char) u2013 Key field
ZZNAME (City Name ) (40 Character)
I have added a custom field ZZCITY & ZZNAME in CI_CATSDB. Funtional guy has configured to make ZZNAME as  VISIBLE  and ZZCITY is HIDDEN on CAT2 screen in Data Entry area.
I created search help on table ZCITY with export parameters as  ZZCITY and ZZNAME.
In SE11, I have mapped the export parameters with CI_CATSDB
Now in tcode CAT2, when I press F4 on City Name field, the list is displayed with City code and City names. And when I select any city code, the ZZNAME is populated by City code instead of City name.
I want that City Name should be populated in ZZNAME and City Code should be populated in hidden field ZZCITY.
Please tell me how I can fix this problem.
Thanks in advance.
mini

Hi
Try selecting the Improting Check box aswell. if a screen field is hidden or display mode we can not use F4 help for that field.
you can also take the help of DYNP_READ_VALUES to get the selected value before PAI
Check whats happening in Debug.
Cheers
Ram

Similar Messages

  • In CAT2 - The search help populating the input field with wrong data

    Hi Guys,
    I have created a ZCITY table for which has below 2 field
    ZZCITY (Code ) (5 Char) u2013 Key field
    ZZNAME (City Name ) (40 Character)
    I have added a custom field ZZCITY & ZZNAME in CI_CATSDB. Funtional guy has configured to make ZZNAME as  VISIBLE  and ZZCITY is HIDDEN on CAT2 screen in Data Entry area.
    I created search help on table ZCITY with export parameters as  ZZCITY and ZZNAME.
    In SE11, I have mapped the export parameters with CI_CATSDB
    Now in tcode CAT2, when I press F4 on City Name field, the list is displayed with City code and City names. And when I select any city code, the ZZNAME is populated by City code instead of City name.
    I want that City Name should be populated in ZZNAME and City Code should be populated in hidden field ZZCITY.
    Please tell me how I can fix this problem.
    Thanks in advance.
    mini

    Hi,
    Search helps have a one to one relationship with a screen field.  To achive what you are trying to, I would have ZZCITY and ZZNAME side by side, and i would have a drop down only only ZZCITY.  The key of the table will be ZZCITY. So when you chose the record, The city will populate in ZZCITY and you can make use of user exit EXIT_SAPLCATS_002 to populate the name automatically in the ZZNAME field.
    thanks.
    JB

  • Populated the new field with historic data

    HI,
    I have a data for 2 years now I am enhancing the data source how can I populated the new field with historic data.Is it by
    1)deleting all the data in BW side and the doing an init then setting up a regular delta
    2)running a repair full request with selection condition.
    or is there any other option available? which is the best scenario to load these historic data?
    Regards,
    Ravi

    Hi,
    I think your datasource is already in production, and you want to data only from today onwards for enhanced fields, i.e. historical data is not required for enhanced fields..
    1.Fix ECC down time for 20 to 30 munities
    2. Keep all objects on Qty system in ECC and BW.
    3.Run Delta laods in BW for 2 to 3 times.So with this step you can clear SMQ1 and RSA7. Check the entries in RSA7, if it is ZERO then it is fine.
    4. Move DS from ECC Qty to ECC PROD .
    5. Replicate in BW.
    6. Move all BW objects from BW Qty to BW Prod.
    7. Delete Init load in InfoPackage level (Not in ODS/CUbe).
    8.Load Init without DataTransfer.
    9.Then Run Delta.
    10. Next day on wards deltas will come as usual.
    If you need Historical data also.
    1.Delete data in Cube.
    2.Fix Down Time and load Init then Delta.
    Check
    SAP Note 328181 - Changes to extraction structures inCustomizing Cockpit
    Thanks
    Reddy

  • How we can attach search help directly to the table field / structure field

    Hi All,
       Can you please let me know the step by step procedure of How we can attach search help directly to the table field / structure field.
    Regards,
    jaya

    Hi Jaya,
    1. Create a search help using SE11.
    2. Include this search help in the field of table in SE11. There is a tab in the table defination where you can specify the search help.
    Even you can specify search help at data element level, screen field level.
    Reward points if useul.
    Regards,
    Atish

  • Replace the empty field with below data content field in xml pub report

    Hi Gurus,
    Please give me the solution for the Replacement of empty field with below data content field in XML PUBLISHER REPORT.
    ex:
    Name:Philips.M
    Address 1:XP APPTS,
    Address 2:S:R ROAD
    Address 3:
    COUNTRY:INDIA
    Here i have to get only address 1,address 2 and the COUNTRY data.I dont want to display Address 3 field here.
    Thanks,
    David

    I'm not sure if this answers your question but you could try putting out the address all in one item in the SQL eg somthing like:
    address1 || DECODE(address1, NULL, NULL, 'newline character') ||
    address2 || DECODE(address2, NULL, NULL, 'newline character') ||
    address3 || DECODE(address3, NULL, NULL, 'newline character')
    where 'newline character' is somthing like CHR(12)
    Dave

  • Popup not populating the originating field with selected results

    Customized setting browser.link.open_newwindow.restriction 0.
    Popups from searchable fields open in new tab BUT they do not populate originating field with results.
    "Diabetes" in search box get choices 250 2504 check choice Hit confirm and search box should have a number 250
    Worked in FF3 not 8.

    Tried that but not working.
    It works fine if I default the newwindow.restriction to 2.
    BUT I like the way the windows tab with 0 AND it used to work in FF3.
    Tried to find safe mode, but FF9 not listed in my programs (FF3 was).

  • Reply to email populating the to: field with users own address!

    Hello
    I have one user who is having an issue with replying to emails.
    When he replies, his own email address is automatically inserted into the To: field.
    The user doesn't want to send himself a message each time while replying.
    Is there a setting that the user may heve enabled, or any other advice on the isue would be appreciated.
    Thanks
    D

    It's synced with Exchange, everythings working ok, just this little issue...

  • Messed up the pacman DB with wrong date set in bios [solved]

    Solved by reinstallation and some searching around for a few hours.
    Last edited by MoonSwan (2008-07-27 02:05:20)

    WonderWoofy wrote:I think you may find relevant information here.  I ahve seem many of these threads in the forums lately.  Are you dual booting w/ another operating system... in particular, one that uses localtime for the hardware clock (and there is only one that does this).
    Thanks I'll look at that entry. Still I'd like to point out that this page clearly says that the timezone is to be set in rc.conf, which is a bit confusing. I must've followed this guide to get to my current configuration. I am dual booting with multiple other systems (xubuntu, win7, puppy, crunchbang) so from what I've read win7 might be the problem, but I haven't started it since i installed arch and my time has been off from the start.
    Should I simply use NTP now that pacman is working again?
    Thanks
    Last edited by miek (2012-09-03 17:41:56)

  • Search Help to display 2 different fields/values

    Hi Everyone,
    I am going to use a search help for a certain screen transaction using a search help. A certain input field should have an F4 function (using list box). The values to be displayed after F4 input should be the Business Object type and BP number. This input field is can display either of the two fields.
    How can I do this? Do I need to create a new search help for this? Business Object is from table SWOTIP field OBJTYPE and BP Number is form table BUT000 field PARTNER.
    Kindly help me on this.
    Thanks and regards,
    RE

    Hello Ashish,
    The input help should have two possible values. It may be the Org unit number or the Business Partner number.
    As for my experience in search help, the only thing I know about it is to set a reference db table then the field which is to be displayed during F4. For example, an input help requires a Plant number, the search help will have a reference table (selection method) T001W and a parameter of field WERKS.
    What if the input field can contain either an org unit number OR a business partner number, how should I create the search help? What should be the selection method (table name) to be filled? Is it the BUT000 (for bus partner) or HRP1001 (for org unit)?
    Thank you very much for your attention.
    Regards,
    RE

  • Search help for custome field with different data type

    Hi Friends,
    I have Created a  custom table in which i have created a field is
    ZMATLONG which stores material number.
    Now the data element is zdmat which is of char 40..
    Now i want to give search help for this field ZMATLONG..
    I have tried many ways giving search help to this field
    a) i Tried to attach the standard search help of MATNR ie : MAT1 but its showing me data type inconsistancy
    b) i created a zsearch help and in the selection method i have used database table mara , again here iam getting the same error data type inconsistancy...
    Now how can i give the search help like matnr field to my custom field ZMATLONG...
    How can i do it..?
    Thanks in Advance..
    Regards
    Kumar

    Hi,
    MATNR ahs length 18 and ZMATLONG has length 40.So due to this u cannot use MAT1 search help.
    best way would be cope MAT1 into Z search help. Then in the search help parameter change the data element of field
    MATNR as ZMATLONG.
    Now if you assign Z search help to ZMATLONG  it will work.
    I tried this its working fine.
    Shanmugavel Chandrasekaran

  • How do you wrap the text on an input field with type="button"

    I want to put 2 lines of text on an input field.
    The button size is fixed at 75 and if there is more than 10 characters it truncates the text.
    The input field is defined as :
    <input type="button"
    value="CI<br>Discrepency"
    class="buttons75x75"
    onclick="javascript:callForm('ciDiscrepency');"/>
    If you can show me how, I would really appreciate it.
    -Gary

    Dug up the code I used to do this a while back:
    //The style sheet
      <style type="text/css">
        .buttonUp {
          border-style:outset;
          border-width:2px;
          width:3em;
          float:left;
          padding:2px;
          background-color:#ccc;
          text-align:center;
        .buttonDown {
          border-style:inset;
          border-width:2px;
          width:3em;
          float:left;
          padding:2px;
          background-color:#ccc;
          text-align:center;
    </style>
    //... Example buttons
      <div class="buttonUp" onmousedown="this.className='buttonDown';"
                            onmouseup="this.className='buttonUp';"
                            onclick="alert('Clicked on Small One');">He</div>
      <div class="buttonUp" onmousedown="this.className='buttonDown';"
                            onmouseup="this.className='buttonUp';">Hello</div>
      <div class="buttonUp" onmousedown="this.className='buttonDown';"
                            onmouseup="this.className='buttonUp';">Hello World</div>
      <div class="buttonUp" onmousedown="this.className='buttonDown';"
                            onmouseup="this.className='buttonUp';">Hello<br/>World</div>
      <div class="buttonUp" style="width:5em;" onmousedown="this.className='buttonDown';"
                            onmouseup="this.className='buttonUp';">Hello World</div>You could put any javascript you want on the onclick event, so you would call the javascript you previously used to submit the form and set the input name. In this example I had all the buttons be a fixed width, if you leave out the width in the style sheet then the block will snap to fill the same width as the text inside it, much like normal buttons do. The difference is, with a fixed width then text wrapping occurs automatically (like in the 3rd button) while without a defined width the div will only display a second line when the line break is added. Note the the fixed width can be over-ruled by an inline style if needed (last sample).
    The website I pointed to before has a simpler solution (less javascript events needed). An implementation for his approach would be:
    //The style sheet
      <style type="text/css">
        .button {
          border-style:outset;
          border-width:2px;
          color:#000;
          float:left;
          padding:2px;
          background-color:#ccc;
          text-align:center;
          text-decoration:none;
          display:block;
        .button:active {
          border-style:inset;
          border-width:2px;
          color:#000;
          float:left;
          padding:2px;
          background-color:#ccc;
          text-align:center;
          text-decoration:none;
          display:block;
      </style>
    //... Example buttons
      <a class="button" href="#" onclick="this.blur();alert('Now you clicked linkey');return false;">Hello<br/>World</a>Same deal here with the fixed-width vs.fit-to-content. I add the 'return false;' to the list of the onclick commands so IE doesn't make the 'link clicked' noise and the URL doesn't go to thispage.html#.
    All these buttons work in FireFox 2, IE 7, and Safari 3 if they are running in STRICT mode. The button colors and borders don't precisely match FF and IE buttons, but they are close (although they aren't close at all to Safari buttons).

  • Populating the screen field when the cursor moves to that field

    hi every one,
    I want to populate the screen field(MODULE POOL) When the cursor moves to that field.
    So can any one help me out with this.
    EXAMPLE..
    I want to populate 'S10_TOT_PRICE' (Total Price). When the fields like 'S10_PIECES' (Number of Pieces) will be entered. I want to populate 'S10_TOT_PRICE'  without pressing any button on the screen nor when enter is hit. When the field 'S10_PIECES''  will be entered with some value and the cursor moves to 'S10_TOT_PRICE' . The Total Price field should be populated. Please help me out with this.
    THANKS & REGARDS.
    Mahanta.
    POINTS WILL BE REWARDED.

    Sorry but look at this SAP documentation <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/54/0608162d0711d295520000e8353423/frameset.htm">User Actions on Screens</a>
    Extract :
    <i>User Actions on Screens
    There are various ways in which users can interact with screens.
    Filling Input Fields
    Users can enter values in any input field on the screen, or change the value using the mouse, in the case of radio buttons and checkboxes. The contents are placed in the corresponding screen field. Filling an input field does not normally trigger the PAI event. Exceptions to this are Checkboxes and Radio Buttons with Function Codes and input fields with Drop Down Boxes.</i>
    So, i fear that you cannot "take hand" when user fill a numerical field to perform calculations and update the screen.
    Regards

  • Search help Enhancement for the Material Number (MAT1 - Search help name)

    Hi ,
    In my Requirement if the user clicks on the Material Number Search help(eg in ME51N - T.code: Material )
    It will shown a additional Search help along with the existing one.
    That search help would have input parameter fields as Material Number , Material Group , Material description , Plant and storage location.
    The output screen has to display the Available Quantity for the input  material, plant and  storage location.
    The available quantity has to calculated from various Tables like mard , mssq etc.
    My question is how to display the available quantity in the search help screen, i tried with search help exit but not successful.
    I am displaying the remaining fields(except available quantity)  using database view from different tables like Mara , Mard ,Makt.
    where to write the Logic for the Available Quantity to display it in search help.
    Thanks and Regards,
    Prakash K

    Hello,
    if this search help is collective then you could delete standard single (SAP allows maintain collective search help with out object key registration) one and insert custom search help which has the same structure plus additional field.
    best regards,

  • How can we change the input field on a view stop showing zeros

    Hello,
           To make screen look consistent with other character input field. How can we change the input field on the view stop displaying zeros even though the data type is NUMC and data type should not be change?
    Edited by: sap_learner on Mar 25, 2010 5:44 PM
    Edited by: sap_learner on Mar 25, 2010 5:49 PM
    Edited by: sap_learner on Mar 25, 2010 5:55 PM

    hello Manas Dua,
                           Thanks for your help. I am able to resolve my problem.
    My code will help  the future comers to resolve this kind of issues.
    *The code is applied to method WDDOINIT of the default view.
      DATA lo_nd_terms_input    TYPE REF TO if_wd_context_node.
      DATA lo_nd_terms_input_i TYPE REF TO if_wd_context_node_info.
      DATA lv_zeros             TYPE wdy_attribute_format_prop.
      lv_zeros-null_as_blank = 'X'.
      lo_nd_terms_input = wd_context->get_child_node( name = wd_this->wdctx_input ).
      lo_nd_terms_input_i = lo_nd_terms_input->get_node_info( ).
      lo_nd_terms_input_i->set_attribute_format_props(
        EXPORTING
          name              = `ENTER THE ATTRIBUTE NAME`
          format_properties = lv_zeros     ).
    Edited by: sap_learner on Mar 26, 2010 5:02 PM

  • F4 Help for a dynamic input field( class CL_DD_INPUT_ELEMENT)

    Hi all,
    I am programming a dynamic document which has several input fields on it. I want to program F4 helps for these fields, does anyone have an idea how I can do that?
    I have the idea to program a button(class CL_DD_BUTTON_ELEMENT) next to the input field and manually program an F4 help in the event handler of the button. But I do not know how I can handle pattern entries with '*' etc. in the input field. Is there a function module which could give me an F4 list(F4IF_INT_TABLE_VALUE_REQUEST could not be used, because it needs a dynpro field as a return field, which we do not have in this case).
    Kind Regards,
    Sükrü

    hi
    good
    SELECTION-SCREEN DYNAMIC SELECTIONS FOR NODE|TABLE node.
    allows you to define further nodes for dynamic selections. If the node has type T, you can use TABLE instead of NODE. The user can then decide at runtime the components of the node for which he or she wants to enter selections. Dynamic selections require special handling in the database program
    F4 HELP->
    AT SELECTION SCREEN ON VALUE REQUEST FOR P_SACHA.
        PERFORM VALUES_SACHA.
    THANKS
    MRUTYUN^

Maybe you are looking for

  • Multiple Domain Files

    A lot of questions are asked in this forum about managing multiple domain files and splitting existing ones. The "solutions" seem to be either to use an application such as iWebsites or to duplicate the domain file into folders and delete the appropr

  • Dynamic creation of page items

    How can I create page items dynamic, if I have their number and their titles in a page item?

  • How to open an InDesign file without .indd extension?

    Hi, I am trying to open an InDesign file which does not have the extension .indd. I can open the file from InDesign's File-> Open menu item. But if I try to open programmaticaly it says the file format is not supported. I tried using SDKLayoutHelper:

  • Iwork 09 installation error

    iWork installs successfully but then when I try to open it, I get the following Process:         Numbers [1131] Path:            /Applications/iWork '09/Numbers.app/Contents/MacOS/Numbers Identifier:      com.apple.iWork.Numbers Version:         ???

  • Can't Fast Forward/Slow down in iMovie

    I have the new iMovie and i took a video on my laptop with the iSight camera and will not let me speed up. Please help!