Adding Z field in Opportunity search and result view BT111S_OPPT/Search

Hi,
I have been searching this forum on adding Z fields in search and result view but couldnt find the precise information.
We have Z field in ultimately residing in BUT000.
Now when this field is used in BP_HEAD_SEARCH for search and result, it could be easily done via configuration. (since the field was added to CRMT_BUPA_IL_HEADER_SEARCH during EEWB extension.
Now, the requirement is to add the fields in Opportunity BT111S_OPPT/Search & BT111S_OPPT/Result.
I am confused with regard to the approach we need to use to get this field in search and result.
I thought the easiest option is to add the Model node and and give the BOL attribute. This works fine but I can't see this field (with dynamic getter/setter) in the UI configuration.
During the attribute creation wizard, I gave BOL entity as BTQROpp (system defaulted) and the relation was
BTADVSOpp/BTOrderHeader/BTHeaderPartnerSet/BTPartnerAll/BTBusinessPartner/ZZZGEOG_REGI
is this correct? or am I doing something wrong?
Why can't I see the fields in configuration?
So alternatively I created a field through AET and i could see this field is in the structure and in UI config, but what logic I need to put to retrieve the value?
Any advice?
Many thanks in advance for your help
Rakesh

Hi Rakesh,
Please follow below steps:
1. Append your custom field to structure associated with your search/result structure.
2. After you append this field to structure, this field would be available in context node.
3.  Check if the field is reflected in available fields in configuration.
4. If field is not present in configuration then please follow steps stated by me in:
Re: New Column can not be added in chtmlb:configTable
5. Once you add this field to design layer, you would be able to configure it to your search query. Check if your query works with this field.
If not then please go through below forum :
Re: BADI for Claims search in trade promotion management
Let me know if this helps.
Regards,
Bhushan

Similar Messages

  • Best approach to add Z custom field to IC Agent Inbox search and results view

    Hi Experts,
    We are having a requirement to add a Z custom field to IC Agent Inbox search and results view. I got multiple forums and ideas, but looking for the best approach for handling this. I am sure, you experts, would have already done this.
    Thanks in advance.
    Regards
    Siva

    Hi Sivakumar,
    AET is the best way by far to create a custom field in this area. It is easy and simple.
    Also, field once added in one business object it can be used at different objects as well.
    There is also a demo available for AET on sdn.
    Please let me know if any more help is required.
    Thanks,
    Bhushan

  • Custom component Search and Result view using value node :pls help

    Hi Experts,
    I am creating a Custom component with Search and Result view using value nodes.
    This is the code I wrote in the Search button event handler method.
    The data which gets in lv_search I need to put in lv_col .
    Can somebody guide me for this.
    Points will be awarded .
    METHOD eh_onsearch.
      DATA : lv_current TYPE REF TO if_bol_bo_property_access,
             lv_search  TYPE zcrm_orgstruct_search,     "Search value node structure
             lv_result  TYPE zcrm_orgstruct_result,         "Result value node structure
             lv_col     TYPE REF TO if_bol_bo_col.
      lv_current ?= me->typed_context->search->collection_wrapper->get_current( ).
      CALL METHOD lv_current->get_properties
        IMPORTING
          es_attributes = lv_search.
      me->typed_context->searchresult->collection_wrapper->set_collection( lv_col ).
      op_toresultview( ).
    ENDMETHOD.
    Regards,
    Lakshmi

    Hi Lakshmi,
    Could you please share with us how it was solved.
    "CALL METHOD lv_current->get_properties
    IMPORTING
    es_attributes = lv_search."
    Did you get any values in lv_search ?
    Because while using value nodes for search view (which inherits from advance search controller  class), the above method does not return any search values entered in the fields.
    Please let me know how did you solve it.
    Thanks & Regards
    Vidhya

  • Adding Custom Field to Shopping Cart and PO, Classic Scenario

    We are running SRM 7.0 with ECC 6.0 as the backend and using the Classic scenario. I want to add a custom field to the shopping cart and have the data transfer over to a custom field (of the same name) on the purchase order to the ECC side. I have already added the field to the shopping cart and have the data saving successfully there on the SRM side. What I am having trouble with is getting the data from the custom field to go over to ECC on the purchase order.
    I have extended the Shopping Cart and Purchase Order item structures through configuration on SRM. This has added the fields to the INCL_EEW_PD_ITEM_CSF_SC and INCL_EEW_PD_ITEM_CSF_PO structures, as described in note 672960 (do i need to extend the PO structure on SRM if using the Classic scenario?). I have also extended the CI_EKPODB and CI_EKPODBX structures on ECC as described in note 458591. So the placeholders are there.
    I feel like there must be something I am missing. The OSS note 458591 suggests that just adding the fields to the needed structures will cause the data to transfer, but this does not appear to be the case.
    I have an implementation of BBP_CREATE_BE_PO_NEW that I can use, but do not see where to add the data in the output parameters of that BADI. Is there a BADI I need to implement on the ECC side?
    Any help in this issue would be greatly appreciated.

    Dug around a little bit more and stumbled onto this article which solved it for me: [How to transfer custom fields from SRM to ECC|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20b36c12-685f-2c10-4fb4-ba2e0b969c27?quicklink=index&overridelayout=true]
    In BADI BBP_CREATE_BE_PO_NEW I had to add some code to fill in the CS_PO1_DOCUMENT-EXTENSIONIN parameter table with the structure for the BAPI_TE_MEPOITEM structure on the ECC side. The tricky part is creating a string representation of that structure with the correct offset. And it isn't as easy as just counting up the number of characters in SE12. For example, looking at my BAPI_TE_MEPOITEM structure in SE12, my custom field appears to start on character 157, but in reality, I had to offset the writing of my value to character 143. I guess it depends on what types are in there.
    But once that gets figured out, it works well. As long as the custom field is added correctly to the CI_EKPODB append structure (which is appended to BAPI_TE_MEPOITEM), the data gets tranferred over in the ExtensionIn table, and SAP automatically knows what to do with the data as long as you have everything in ExtensionIn aligned correctly.
    Thanks for the help everyone!

  • Product Delivered Status Date should be there in Standard Search and Result screen of Service Order. Product Delivered Time should be Available in Result screen and In Result screen there should be facility to filter on basis of Time

    Hi team,
    Product Delivered Status Date should be there in Standard Search and Result screen of Service Order. Product Delivered Time should be Available in Result screen and In Result screen there should be facility to filter on basis of Time.
    How to add this in search result screen.configuration is it possible? or any changes in development.
    Compnent - BT116S_SRVO
    Thanks
    Kalpana

    Hi Kalpana
    Please reread my comment. I said to try and populate "Requested End" Date.
    Make sure the date profile assigned to the transaction includes this Date Type.
    If you can populate this either manually or programmatically the solution should be quite forward.
    If you cannot do this, only then should you look at making any significant sort of enhancement.
    Regards
    Arden

  • Create URL,Telephone number as paramater Account Search and result based on parameter of telephone number ?

    Hi Experts,
    create URL,Telephone number as paramater Account Search and result based on parameter of telephone number ?..
    Previous my thread was locked...Now i want to say thanks to KALYANI L and Richa Dameja,..Now This code i have followed now its working fine..Thanks Great help to Kalyani L..and Richa Dameja.. i have implemented the DO_INIT_CONTEXT.....Now getting result...
    As suggest Kalyani L i have implemented DO_INTI_CONTEXT method,Now its working fine....
    Thanks For support.
    Thanks
    kalpana
    Message was edited by: Andrei Vishnevsky
    Disussion is locked.
    Reason: Re: create URL,Telephone number as paramater Account Search and result based on parameter of telephone number ?

    Hello Kalpana,
    I've already locked your previous discussion and thought that I gave pretty clear warning.
    First of all "do my job" posts are not welcomed on SCN.
    Second point: you're incorrect in choosing SCN space with such questions. Here is a little which is related to IC in your task.
    Third point is that if somebody has an answer to your exact question then he will give you it if he wants. There is no reason to post-post-post messages asking for help or hurry. Your "urgent requirement" is not the reason either.
    Fourth one is: according to The SCN Rules of Engagement you need to do the search before posting. Almost all of your questions regarding this topic has an answer already.
    Locking the discussion again. If you continue to post such questions I will need to report this situation to SAP CRM space editors and global moderators.

  • After upgradataion ,In testing phase- after search ,in result view we are getting some unwanted data ' +++++" should be added in Name .how to remove it.can you please help.

    Hi Team,
    After upgradataion ,In testing phase- after search ,in result view we are getting some unwanted data ' +++++" should be added in Name .how to remove it.can you please help.
    I want to remove ++++ in that column.

    Hi Kalpana,
    Please provide additional information for community users to relate this issue. Info like versions (old & new), the object which has this problem or component/view name will be useful to get the answers.
    Regards,
    Shobhit

  • Want to switch off the general search and open the advanced search

    Hi All,
    I want to switch off the general search and open the advanced search when i load my application. For this I have followed the steps previously posted in the forum.
    I have created a version(0001)  and for that version i have checked the open advance search. If i do this way it works perfectly but when i click on the result list the detail tab does not come. But when i remove this settings and go through general search both the advance search and the general search works properly. I am able to get the details tab.
    Why am I not getting the details tab if i open the advanced search directly. Please give your inputs.
    Thanks & Regards,
    Anuradha.P

    Hi Anuradha.
    Please check the following thread:
    URGENT!!! Show Advance Search in INIT event
    Best regards.
    Armando Rodriguez.

  • Adding new field in search help result view

    Dear Experts,
    I want to include one more field in search help result. The field shoud give description.
    How can i do this in UI result view?
    If I try to add attribute in result view, the result view is of type table, and it does not allow us to add value node. It will allow us to add model attribute. If I add attribute in search help resut table view then will i be able to see it in table form.
    Thanks and regards
    Pankaj Kumar

    Hi Pankaj,
    Its not that difficult.
    There are two ways
    1. You can enhance your Result BOL object through EEWB and append your z-field to std. BOL result object. This then appears automatically for your result context node and then you can pull it to the view in config tool.
    2. Directly go to your context node class (CN00 , CN01 etc ) , now copy method GET_S_XYZ , paste it and rename as GET_yourfieldname. Similarly copy SET_S_XYZ, GET_M_XYZ and GET_I_XYZ and paste and rename. Once activated. Quit the component browser completely. Open again using bsp_wd_cmpwb. open you view and then your node. You can find you new attribut present as struct.YourField.
    You can then copy code from available setter-getter methods for this attribute. You must handle setter getter by urself in this case. In may std. nodes, this is done for description field. I have personally done this for product descripton field.
    if you dont want the field to be part of structure ( i.e. as struct.Yourfield ) then you can also copy paste GET_XYZ, SET_XYZ methods. your filed then do not appear as Struct.YourField but it just appears as YourField name under context node.
    Hope this helps you.
    Thanks & Regards.
    You can check PRODUCTDESCRIPTION  attribute of BTAdminI node of BT115QIT_SLSQ/Items  view of BT115QIT_SLSQ component. They have added it the same way as i described above. You see the GET_ method to see how they are retrieving product description. In my object, i wrote direct query to Comm_prshtext table to retriev short_text by passing product guid and then assigen it to value variable of Get method.
    Edited by: suchita P on Sep 20, 2008 2:22 AM

  • Help creating search and results function for my site. Please help!

    Hi guys,
    I'm making an eCommerce/PayPal website for some products I'm selling. The website is currently built with PHP and HTML.
    I want to add a search box so people can search for what the specifically want - then the results page will display a list of the products with links to the products' individual pages.
    From what I understand this will almost certainly need to be database driven. My only problem is that I barely know where to start.
    I've created a database on my host and have created dummy pages of how I want everything to look.
    Each product will need 3-5 search terms attached to them.
    Can someone please tell me where to begin and how difficult what I want to achieve will be?
    Thank you and I hope to hear from you.
    SM

    The solution is database-driven only if the information about your products is in a database.
    There are two approaches for a mySQL database, using the LIKE query and using MATCH AGAINST. These are SQL, not PHP, but the search results are processed by PHP.
    There are plenty of tutorials on the web for these two methods. I prefer MATCH AGAINST, but it is a little bit more involved than LIKE.

  • Adding Amount field in BSEG table and display it single line item?

    hi experts,
           I am doing credit / debit form now my requirement is
                                               According to BELNR , GJAHR,BUKRS i want to find credit amount for this selection cretiria.
                         so i want to add all the lines of amount filed for a particular BELNR and display it as single line.
    so i am getting data from print program like this
    SELECTION-SCREEN BEGIN OF BLOCK b0 WITH FRAME TITLE text-001.
    SELECTION-SCREEN SKIP 2.
    PARAMETERS: p_belnr LIKE bkpf-belnr OBLIGATORY,
                p_bukrs LIKE bkpf-bukrs OBLIGATORY,
                p_gjahr LIKE bkpf-gjahr OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK b0.
    SELECT SINGLE *
                   FROM bkpf
                   INTO  i_bkpf
                   WHERE belnr = p_belnr
                         AND ( blart = 'DG' OR blart = 'ZG' )
                         AND bukrs = p_bukrs
                         AND gjahr = p_gjahr.
    IF sy-subrc = 0.
        SELECT  *
              FROM bseg
              INTO  table it_bseg
              WHERE belnr = i_bkpf-belnr .
      ENDIF.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname                 = 'Z_CREDIT_DEBIT'    " p_name
      VARIANT                  = ' '
      DIRECT_CALL              = ' '
        IMPORTING
          fm_name                  = v_form_name
    EXCEPTIONS
      NO_FORM                  = 1
      NO_FUNCTION_MODULE       = 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.
    CALL FUNCTION v_form_name
    EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
      CONTROL_PARAMETERS         =
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
      OUTPUT_OPTIONS             =
      USER_SETTINGS              = 'X'
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
      TABLES
        i_bkpf                     = i_bkpf
        i_bseg                     = i_bseg
    EXCEPTIONS
      FORMATTING_ERROR           = 1
      INTERNAL_ERROR             = 2
      SEND_ERROR                 = 3
      USER_CANCELED              = 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.
    so my I_BSEG containing all line items of particular BELNR . with the field SHKZG  iam  getting only credit line items .
      now i want to do is add all credited amount and display like this in a table.
    against ref#  (BSEG-REBZG) ! details (BSEG-SGTXT)!  amount
    124569                                   10%discount                950.00(total amount ie sum of all lines amount for a BELNR)
                                                                                    10.00(total tax amt ie sum of   all lines of tax amount for a BELNR)                                                                               
                                                                                    960.00

    hi arun,
             i used collect in smartform my procedure is like this .
                   i am getting data into i_BSEG because i declared like this in TABLES parameter
                      i created a loop .
                             in that i mentioned like I_BSEG into WA_BSEG.
                                   then i created a program lines here i mentioned like this.
                                                  COLLECT WA_BSEG INTO IT_BSEG.
               but because of BUZEI "Number of Line Item Within Accounting Document .it is not same it is varying for every credited time that means for every line of BELNR. thats why it is not adding it is just appending .
    so pls tell me any other chance to find sum .
    because i want to sum up all credted amount and display it in single line
    ie first column REBZG "Number of the Invoice the Transaction Belongs to(against ref) i want to display once .
    And Second column  SGTXT "item text(details) for amount once and for tax amount once
    And Third column Amount first line consists total amount & second line consists total for tax amount
    regards,
    satheesh.
    [email protected]
    any doubts chat me regarding this post.

  • Help with intricate search and results display

    Hi All,
    I am looking for help with a problem I have, my knowledge on Numbers is limited, I have learnt a lot by trial and error but I do not know where to start on this problem.
    What I am trying to do is display result from sheet 1 onto sheet 2 when I enter the letters of the REFERENCE into cell C3. Below is an example of the result I am tring to achieve -
    SHEET 2
    Reference
    AB
    Reference
    SZone
    Parts
    LZone
    Parts
    AB10
    3
    75
    2
    100
    AB10
    3
    75
    2
    100
    AB10
    3
    75
    2
    100
    AB10
    3
    75
    2
    100
    AB11
    3
    75
    2
    100
    AB11
    3
    75
    2
    100
    AB11
    3
    75
    2
    100
    AB11
    3
    75
    2
    100
    AB12
    3
    75
    2
    100
    AB12
    3
    75
    2
    100
    AB13
    3
    75
    3
    75
    AB13
    3
    75
    3
    75
    AB14
    3
    75
    3
    75
    AB14
    3
    75
    3
    75
    AB15
    3
    75
    1
    200
    AB15
    3
    75
    1
    200
    AB16
    3
    75
    3
    75
    AB16
    3
    75
    3
    75
    AB21
    3
    75
    3
    75
    AB21
    3
    75
    3
    75
    AB22
    3
    75
    3
    75
    I have searched for AB by entering it in cell B3 on Sheet 2, an auotmatic search has been carried out on Sheet 1 and all the columns have been brought into sheet 2 with the corresponding data and placed under the COLUMN HEADERS. I have over 4000 lines on Sheet 1, although the most result that will ever be pulled through will be 150.
    When the data is pulled in I will need to do other calculation in the COLUMNS F, G and H so the data need to only be mapped to COLUMNS A to E.
    Also I want to be able to use this spreadsheet on my iPad.
    Has anybody got an idea/solution that will help.
    Thanks in advance.
    Ian

    Ian,
    We've had a recent report of troubles with large tables in the iOS version of Numbers, so you may want to consider ways to accomplish your goals without the full 4000-row set of data.
    I re-read the problem statement in your original post and see that I should have known that you were needing a solution for both platforms. But, I'm still not clear on what part you have figured out and what part you still need help with. We often refer to your second table as a "Breakout Table". There are different ways to program it. My favorite is to add a column to the main table that identifies rows that meet the transfer criteria and assigns them a serial number to help determine where they should go in the second table.
    Here's an example:
    In the new column on the right edge of the table T1, the expression is:
    =IF(ISERROR(FIND(T2 :: $A$1, A)), "", COUNT($F$1:F1))
    Note that the first cell in the Aux column is seeded with a zero.
    The expression in the body cells of the second table, T2, is:
    =INDEX(T1, MATCH(ROW()-1, T1 :: $F, 0), COLUMN())
    Note that the search term is to be entered into Cell A1 of table T2.
    Does this give you a start?
    Jerry

  • ADDING TWO FIELDS TO MASTERDATA 0MAT_PLANT AND MAKE THEM AS INFO-OBJECTS.

    Hi Bw Experts,
    I have a Problem , I.e. How to add Two filelds i.e. reorderpoint and maximum stock level in Standard data source 0MAT_PLANT_ATTR for Master data 0MAT_PLANT.
    If Extract structure doesn’t contain these fields then I Can go for Data source enchancement. It’s ok.
    But this Extract structure(BIW_MARC_S) is having these fields reorderpoint and Maximumstock level and not showing me in Data source 0MAT_PLANT_ATTR and  also  not showing me in Hide and selcetions, if it shows me in Hide (selected ) then I  can able to  change it. (By unselcet check box from Hide).
    These fields reorder point and maximum stock level should be maintianed as attributes of 0MAT_PLANT. (IN BW SIDE)
    Friends another Problem is in Bw side  my client want it should display as info-objects. Is it possible ?
    Because these attributes are key-figure attributes and K.F. attributes can’t be maintain as navigantional attributes.
    Any help would be really appreciated.
    Thanks in advance for your support.

    Hi vinod,
    My doubt is these fields already available in Extact structure biw_marc_s but not available in data source 0mat_plant_attr.
    I can go for data source enhancement when there is no fields availble in Extract structe right.
    but fieds reorder point (mabst) & maximum stock level (minbe) are available in Extract Structure.
    2) IN bw side i can create these  two infoobjects (reorder point and maximum stock level) as key figure infoobjects but they can't be maintained as navigatinal attributes to act as info object individually right.
    Please  help me out or Please pass through this message to your freinds .
    It's urgent Please.
    Thanks in advance,
    Kumar.

  • VT01N User exit for adding additional field to VTTP table and populate the

    Hi,
    Can any one sujjest what is the use exit/bapi when we add(append) a custom field to vttp table to populate the incremental number  based on ship to address when we create a shipment..
    need user exit in ...............to populate data to vttp table custom field when we append......

    hi,
    check these exits for vt01n.
    Transaction Code - VT01N                    Create Shipment
    Enhancement/ Business Add-in            Description
    Enhancement
    V56USVDP                                Preparation for updating new objects for transport?
    V56USVDO                                Update new objects for transport
    V56USTAT                                User-individual definition of transportation planning status
    V56UNUMB                                Shipment number allocation
    V56UDLUP                                Obsolete as of 4.6C: Delivery Update on Delivery Routines
    V56UCHCO                                Check shipments are complete
    V56UCHCH                                Shipment processing: Check whether changes were made
    V56TDLIF                                Filter Delivery Items for Shipment
    V56SLDET                                Shipment processing: Leg determination
    V56MVT04                                Extensions for Collective Processing of Shipments
    V56LOCID                                Shipment Processing: Determine Location Identification
    MV56AINI                                Initialization of transaction control for transportation
    V56AFCCH                                Shipment processing: Check function code allowed
    V56AGTAR                                User Exit for Filtering Shipping Unit Calculation
    V56ARCHV                                Customer-spec. checks for archiving shipments
    V56ATKTX                                Change the number of lines for text input in shipment
    V56BMOD                                 Transportation processing: Field modification
    V56DISTZ                                Shipment Processing: Determine Distance
    V56FCOPY                                Shipment processing: Copy delivery data
    V56FSTAT                                Shipment processing: Activities when setting a status
    V56L0001                                Status of Shipments for a Delivery
    V56LDELI                                Read Delivery Data for Shipment Processing
      Business Add-in
    BADI_LE_SHIPMENT                        BadI: Shipment Processing
    BADI_V56N                               User Exit for Message Determination: Shipment

  • What are the two fields in mm sales and plant view

    hi
    if we did not maintained availability check 01individual reqt , 02 collective reqt, these two we did not maintain for TOR then what system wont check.  what will happen with effect of these. any one know about this

    Hi ,
    Any agreements you made with the customer about deliveries also affect the result
    of the availability check.
    Depending on the agreements for partial/complete delivery in the customer
    sales order, you can deliver an order in one complete delivery or several partial
    deliveries.
    In a complete delivery, all items with the order quantities are delivered.
    For partial deliveries you can distribute items or quantities of one order on several
    deliveries.
    Communication between sales and distribution and procurement is carried out
    via requirements.
    The transfer of requirements type can influence the availability check.
    The employee responsible for materials planning receives information about
    sales orders in the system and the quantities that SD needs in order to deliver
    these orders.
    The material for the order can come from in-house production or external
    procurement.
    If there is insufficient material available, purchase orders can be made via
    materials planning.
    This is the significance of the availbility check .
    Sail

Maybe you are looking for