Additional field post code 2 in search in webui

Hi,
I am new to crm webui.I need to add the additional field post code to search this field is not available in the context node but is a standard feature.Please tell me step by step.
P.S points will be awarded.

The good news is that the field is in the underlying search function module used by Business Partner Search.
All you need to do is the following:
Add the field
POST_CODE2 data element AD_PSTCD2 to the structure CRMST_HEADER_SEARCH_BUIL.
This should magically make the element available for search and you will only need to configure your screen to have the element bound beyond the context node config.
I believe this should work, based on looking at the code used for the BP search.
Good luck,
Stephen

Similar Messages

  • How can we add additional fields to the BP Search RESULT screen?

    Dear Experts,
    How can we add additional fields to the BP Search RESULT screen so that the BP's being displayed in a search result show maintained values for the particular column/field?
    Thanks!!!

    Hi Laxman,
                           I got same requirement for ibase hierarchy.I want to add new fields in Ibase hierarchy AB.Do you have any idea regarding this.My requirement is that ,i want to dispaly a fields as a check box which display that this component is in under warranty or not by checking the box.Plz tell ,how can i add a new field in tree type context node.I add a new fields using AET ,but that is not available in that AB.
    Thanks
    Vishwas Sahu
    Edited by: vishwas sahu on Nov 17, 2009 1:51 PM
    Edited by: vishwas sahu on Nov 18, 2009 5:22 AM

  • Additional field(company code) in purchase order screen layout

    Hi All experts,
    I have a requirement to set the company code in Purchase order as display field during PO creation or change.
    I have checked in IMG under screen layout for purchase order but  there is no company code field available.
    How can I add the additional field into the screen layout.
    Any inout will be highly appreciated.
    Thank you in advance
    Lost.

    Hi Chee Wan Ng,
    <b>Where</b> exactly you want to set the Company Code field in the Purchase order? Actually this field is already available under <b>Org.data</b> tab in the Purchase Order Creation transaction (ME21N), so you may not require to set the Company Code again.
    Which version of SAP R/3 you are using?
    Hope this helps you, if not, then give us more details to help you better.
    Good luck.

  • Post code search

    Bear with me...
    I have a MySQL table which contains a list of cities, the URL
    of their corresponding image (ie a pic of that city) and the first
    letters of the post codes of that city (eg CF for Cardiff, B for
    Birmingham).
    I have a search form which allows users to search for
    businesses by name and city or postcode.
    I want to insert a dynamic image of the city searched for. So
    far, if the user types "Cardiff" or "cardiff" or "car", the correct
    image appears. If he types "CF" or "cf", he gets the right image.
    BUT if he types "CF24 4AA", he gets nothing.
    In the query advanced panel the SQL looks like this:
    SELECT *
    FROM cities
    WHERE cityforpic LIKE TownPic% OR PostCodeStart LIKE PostC%
    Both variables TownPic and PostC are text, GET their data
    from the same text field, and are set to default value -1.
    So what am I doing wrong???????
    I am wellllllll past my deadline on this one, so any URGENT
    help greatly appreciated and will be rewarded with cyber-cocoa and
    biscuits! ;-P

    Hi mate,
    I have had major problems in this field too.
    I found this on the net:
    http://www.pc-i.co.uk/postcode-distance.php
    I hope it helps.

  • How to add additional fields to zreport which contains standard report code

    Hi Experts,
    In order to add additional fields to standard report i copied the code into zreport but i am unable to  add additonal field into report because the code is looking so complex.
    standard report:AQZZ/SAPQUERY/FKF1============
         or
    sapmenu->accounting->financial accounting->accounts payable->information system->reports for accounts payable accounting->master data->S_ALR_87012087-Addresslist.
    Additional feilds to add is :Region,company code,country
    Please let me know how toidentify ALV and guide me how to solve this.
    Regards,
    naresh.

    Hello Naresh,
    First check whether these three fields are available in the text elements area.
    Please write your code in the subroutine %comp_ldesc.
    Repeat the code for your three new fields
    perform ldesc(rsaqexce) using 'G00010000X010       00  A1'
        %txt1 %txt2 %txt3 'LFA1-LIFNR' LFA1-LIFNR 'LFA1-LIFNR'.
      read table %textpool_langu into %textpool_langu_line
                                 with key ID = 'I' key = 'A01'.
      if sy-subrc is initial. %txt1 = %textpool_langu_line-entry.
      else. %txt1 = %txt_unknown.
      endif.
    So this subroutine will give you the basic list. Now Program is creating ALV with this basic list. So I think you don't need to worry about that. Please have a thorugh look at the code over this perform, and write accordingly.
    I think this is enoogh.
    Please update if you got the solution, which will be informative for others.
    regards,
    Antony Thomas
    Edited by: Antony Thomas on Jul 27, 2010 7:57 AM

  • The right code for an additional field....

    Hi all
    Creating a query, I've written the follow code for the additional field "FATTURATO"
    CLEAR FATTURATO.
    FATTURATO = LFC1-UM01U + LFC1-UM02U +
                LFC1-UM03U + LFC1-UM04U +
                LFC1-UM05U + LFC1-UM06U +
                LFC1-UM07U + LFC1-UM08U +
                LFC1-UM09U + LFC1-UM10U +
                LFC1-UM11U + LFC1-UM12U.
    But the query lists a negative value for the additional field "FATTURATO"
    What modication in the code should I put to change the value in positive?
    Thanks

    CLEAR FATTURATO.
    FATTURATO = LFC1-UM01U + LFC1-UM02U +
    LFC1-UM03U + LFC1-UM04U +
    LFC1-UM05U + LFC1-UM06U +
    LFC1-UM07U + LFC1-UM08U +
    LFC1-UM09U + LFC1-UM10U +
    LFC1-UM11U + LFC1-UM12U.
    FATTURATO * -1.

  • How to create code for an additional field in an info set

    Hello,
    I have an info set in tra SQ02 and the area is HCM with version ERP2004.
    I need to create an additional field to show "Work permit" in ad hoc queries. I know that the infotype 0016 has a standard field P0016-ARBER which contains a date if that person has a work permit. System should select the latest record or the one which is valid during reporting period.
    The requirement for this new field is that it should just has X if the field P0016-ARBER contains a date (i.e. that person has a work permit). If the field  P0016-ARBER is empty, then the new field "Work permit" is also empty. So, the date itself is not enough.
    I am not an abaper. I have tried to create a code for my field but there is always problems with the code. I have tried without the line<i>into</i> but checker says I need to. I have tried different places for statement ENDSELECT but without success. How should I do this?
    What I have so far is (TYOLUPA = Work permit) is shown below:
    select SINGLE ARBER
    into TYOLUPA
    from PA0016
    where pernr = P0016-pernr
    and ENDDA = '31129999'.
    clear TYOLUPA.
    if ARBER ne ''.
    then TYOLUPA = 'X'.
    endif.
    Thanks for your advice!
    Regards,
    Pipsa

    pia,
    In extras tab  create column "workpermit" in infoset and add that column to Field groups.
    Then under record processing event...
    DATA : TYOLUPA like PA0016-ARBER.
    Under Record processing event.
    select SINGLE ARBER
    into TYOLUPA
    from PA0016
    where pernr = P0016-pernr
    and ENDDA = '31129999'.
    if  TYOLUPA  ne ' '.
      WORKPERMIT = 'X'.
    endif.
    Don't forget to reward if useful...

  • Adding code to additional fields in Ad Hoc Query

    Hello,
    I am trying to add code to existing additional fields available in IT0001 - Field SYHR_A_P0001_AF_PL_CTRY.
    I have added code in the field code section, but the field does not get populated.
    I also tried to add code to Start of selection / Record processing sections, but the values are not populated.
    What am I doing wrong?
    Thanks,
    Vaishali

    Hi Vaishali,,
       Your question is not clear, no probs. you plz check  this code !!
      FUNCTION zhrintf_om_pernr_info_adhocqry .
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(FI_PERNR) TYPE  PA0001-PERNR
    *"     VALUE(FI_BEGDA) TYPE  PA0001-BEGDA
    *"  EXPORTING
    *"     VALUE(L_MC_STEXT) TYPE  HRP1000-MC_STEXT
      DATA: dep_text(40) TYPE c,
            l_plans TYPE pa0001-plans,
            l_sobid TYPE hrp1001-sobid,
            l_mc_short TYPE hrp1000-mc_short.
    Get Employee Position ID
      SELECT SINGLE plans
        FROM pa0001
        INTO l_plans
        WHERE pernr = fi_pernr
              AND begda LE fi_begda
              AND endda GE fi_begda.
      l_sobid = l_plans.
    Check if OU is Department
      IF ( l_sobid NE '00000000' ) AND ( l_sobid NE '99999999' ). " Terminated Employee
        WHILE NOT ( ( l_mc_short(1) EQ '2' ) OR ( l_mc_short(1) EQ '1' ) OR ( l_mc_short(1) EQ 'X' ) ).
          SELECT SINGLE sobid FROM  hrp1001
                 INTO l_sobid
                 WHERE  objid  = l_sobid
                 AND    rsign  = 'A'
                 AND    sclas  = 'O'
                 AND    begda LE fi_begda
                 AND    endda GE fi_begda.
          SELECT SINGLE mc_short mc_stext FROM  hrp1000
                 INTO (l_mc_short, l_mc_stext)
                 WHERE  otype  = 'O'
                 AND    objid  = l_sobid
                 AND    begda LE fi_begda
                 AND    endda GE fi_begda.
    Empty l_mc_stext if OU is not Department
          IF NOT ( ( l_mc_short(1) EQ '2' ) OR ( l_mc_short(1) EQ 'X' ) ).
            l_mc_stext = ''.
          ENDIF.
        ENDWHILE.
      ENDIF.
    ENDFUNCTION.
      Regards
    Zulfikhar Ali

  • Sap Query Additional Fields using  Abap Code

    Hi Experts,
    I am relatively new to the world of SAP query (Log Database PNPCE), I have written a number of additional fields to retrieve previous info-type data using the select statement E.G
    prev_endda = p0008-begda - 1.
    SELECT  single bsgrd
          INTO FTE1
          FROM
            pa0008
          WHERE pernr EQ  P0008-pernr
          AND   endda EQ prev_endda
    Although I can retrieve the previous info-type data , I was wondering if there was a easy way where I could take this a step further and show the Previous , Previous record. I.E
    Pernr     FTE Current    FTE1      FTE2
    101              60%          30%       75%
    I guess what I am asking is , is there a way to loop through the HR info-type records, does anybody know if there is a standard function or macro I can use to achieve this.
    Your help is much appreciated.

    Hi ,
    Thanks for our reply.
    I have pasted some example code into my additional field which I have created in SAP Query But im not sure how the loop bit works and how I can populate the additional fields that I have created , could you please explain this
    CALL FUNCTION 'HR_READ_INFOTYPE'
      EXPORTING
        pernr                 = '000000019'
        infty                 = '01'
        BEGDA                 = '18000101'
        ENDDA                 = '99991231'
      tables
        infty_tab             = p0008
      EXCEPTIONS
        INFTY_NOT_FOUND       = 1
        OTHERS                = 2
        LOOP AT p0008.
    NOT SURE WHAT TO PUT IN THIS SECTION *****
      ENDLOOP.
    I have created 3 additional Fields in the infoset Current FTE ,FTE1 FTE2 , and I want to loop through the records and populate the relevant Additional field with the employees FTE  (I only want to populate  where there is a change)
    Sample Data
    Begda              Endda             FTE        Salary
    1/1/2010         31/12/999       60%         19K          (Current  FTE)
    01/08/2009     31/12/2009     100%       27k           (FTE1)
    01/07/2008     31/7/2009         50%       17K          (FTE2)
    Thanks in anticipation
    DM

  • Code for Query Report as additional field

    I need a field in query report which has a simple join of VBUK & LIKP.
    Can't increase join of LIPS as the report changes to item level which I don't want.
    My additional field formula will be VBAP-NETPR X LIPS-LFIMG
    Where
    VBAP-VBELN = LIPS-VBELV   &
    VBAP-POSNR = LIPS-POSNV
    Again where
    LIPS-VBELN = VBUK-VBELN
    Simply to say, my query build to generate Delivery Report which billing not complete. And within that report I want to bring Sales Order Rate * Delivery Qty.

    Dear Sir (Mr.J.R.Kavala),
    I'm really appreciate your effort and thanks for your reply. The report almost done with your coding, but may be it is my fault that I couldn't clearly elaborate what I exactly I wanted.
    According to your code the result brings only 1st lines result ($ 1,500) from LIPS, but the result should be sum up for all the line item instead, that is ($ 25,750). I've tried to make the scenario below for your understand.
    So where should I change the coding if you please advice. Many thanks again in advance.
    Zaied
    ====

  • Help with F4 search on additional field in Infotype 0045

    Hi guys,
    I have created an additional field in Infotype called 'Payee_Key' of type P0057-EMFSL. I have to create F4 help for that field. However when creating F4 help through foreign key it is showing all tha values for EMFSL in the table.
    I want the F4 help to be like Payee Key field of Infotype 0057 , where only specific country values of EMFSL , depending on the employee number are shown. not all values.
    Please help me out. Thanks.
    Edited by: soumyajit DM on Dec 15, 2010 10:42 AM

    Hi Zafar,
    Here is the answer to your question:
    1) Create a class say ZABC_F4 that implements the IF_BSP_WD_CUSTOM_F4_CALLBACK interface.
    2) Create method RETRIEVE_CUSTOM_VALUES with below parameters in that class:
    CT_RESULTS_TAB Changing Type SHSVALTAB
    IR_CUSTOM_REF Importing Type Ref To OBJECT
    IS_SEARCH_HELP Importing Type SHLP_DESCR
    3) Write logic for DB select here and put it in below code:
    select * from abc into LT.
    data:   ls_result LIKE LINE OF ct_results_tab.
       LOOP AT lt ASSIGNING <fs>.
        CLEAR ls_result.
        ls_result-key = <fs_>-field.
        ls_result-value = <fs_>-fieldtext.
        APPEND ls_result TO ct_results_tab.
      ENDLOOP.
    4) Redefine the V-method for that attribute and put below code there:
    DATA:
            ls_map TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping,
            lt_inmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
            lt_outmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab.
        ls_map-context_attr = 'STRUCT.attribute1'.
      ls_map-f4_attr = 'aaa'.
      APPEND ls_map TO lt_intmap.
      ls_map-context_attr = 'STRUCT.attribute2'.
      ls_map-f4_attr = 'bbb'.
      APPEND ls_map TO lt_outmap.
      CREATE OBJECT rv_valuehelp_descriptor TYPE
        cl_bsp_wd_valuehelp_f4descr
        EXPORTING
          iv_help_id        = '(ZABC_F4)'
          iv_help_id_kind   = if_bsp_wd_valuehelp_f4descr=>help_id_kind_comp
          iv_input_mapping  = lt_inmap
          iv_output_mapping = lt_outmap.
    5) Implement get P for value input, as you know.
    Thats it.
    Regards,
    Bhushan

  • Ad Hoc query Addition Field code

    Dear Experts,
    I need amend Ad hoc query to be able to report on Expected End MPP Q0088-EEMPP, It is not a standard field in the infotype for SE16 or SAP Query/Ad Hoc. We need to be able to query off this field. Can someone please point me in the right direction about how to get the calculated value from this field added to queries, or what code is needed.
    I have created an additional field in SQ02, i probably need code to make it fetch the data
    thanks
    haji

    Hi,
    Please take a look at standard function module HR_GBSMP_MPP_DATES. It returns the expected end date.
    Hope this helps.
    Donnie

  • Post code search for N82 maps

    Does any one know how i can do a post code search in the uk for my nokia maps, it only seems to accept american zip codes. Every post code i tryed didnt work.
    Cheers

    If you allow nokia maps to connect to the internet it will search online for detailed information. If you don't allow it to connect it will only search the less detailed info thats included with the maps, this is called searching offline.
    When you run nokia maps it should ask you if you want to go online. Yes allows it to connect, no doesn't allow it to connect.
    If it doesn't ask you go to options > Tools > Go online
    Searching online can incur data charges if data is not included in your tariff.

  • Customer master Post code  and city field Issue

    Hi,
    I am facing a problem with the customer master, In the address tab  postal code N0N 1J2 is giving a default value in the city description tab, However the defaulted value is not the correct one.
    Eg. if post code 123 has to display  DELHI it displays BOMBAY.
    Can you suggest where can i change the defaulted value.  Is there a table entry missing that should allow this city / zip code combination? Where are these settings maintained.
    Rgds

    Hi Prabu,
    Check this link it would be helpful to your solution
    http://forums.sdn.sap.com/thread.jspa?threadID=1962002
    Let me know if your problem is solved
    Regards
    Pradeep

  • How to get additional field from the second list base on lookup information column ?

    Hi everyone,
    Currently I created a SharePoint hosted Apps project and I need to know how can I get additional field from the second list base on lookup information column. example List1 Have 2 columns column1 and column2(Lookup Information from list2 (category)),
    List2 have 3 columns title, and category, and color.  so how can get the title and color from list2 base on this lookup information column (SharePoint Hosted apps and Javascript code)? that is possible?
    Best regards,
    ------------------------------------------------------------ ---Tola---

    You can build one custom lookup control. Refer to the following post
    http://www.stuartroberts.net/index.php/2012/10/03/enhanced-lookup-field-part-1/
    Alternatively, try the following solution from codeplex
    http://sp2010filteredlookup.codeplex.com/
    http://filteredlookup.codeplex.com/
    --Cheers

Maybe you are looking for

  • Keys on my Keyboard don't work?!

    Ok, be gentle, i have no clue... For the past day now, *my full stop*, *question mark-forward slash*, and the *letter 'p'* and also my *arrow button's* , and *Cap's lock* button's... DON'T WORK!!!? And it's driving me mad! (currently i am copy and pa

  • Grey Window - Does not open after Running a Form

    Hello! I have the following problem: I just installed Oracle 9i-Developer Suite. After installing it, I wanted to run a form (also made in Forms 9i). So, I selected one form , connected to the database and Run it. The first time, a dialog appeared in

  • How do i save a proof of payment off of a safari tab, IPAD?

    I got a proof of payment open on one of my tabs on safari, but it doesnt want to give me and option to save it - it only keeps on looking for a printer. How do I save info from a tab on safari from my Ipad? any info would be much appreciated, cheers

  • Error message starting up Satellite L730

    Hey guys, I've encountered a problem with my satelitte L730. Whenever it turn the laptop on, an error message comes up Saying: For Atheros PCIE Ethernet controller V2.0.2.3 Check Cable connection PXE-MOF: exiting intel PXE ROM. No bootable device --

  • The search function in mail has virtually stopped working

    What's going on????  I can no longer find anything using the search function in Apple Mail Version 5.2 (running on OS 10.7.4). If I put in the name of someone I have exchenged maybe 500 emails with, it only finds one or two, or maybe none.  The same