How to include a field in the search criteria.

Hi,
In B2B, there is a requirement In Account Details.jsp ,  to add a new field "Your reference". this field should haev the value same as  from the order creation page:Your referene field.  This field should not be included in the result list. This should be used as a search criteria. I have added that YOUR Reference Field in Account Details.JSP,.Now i need use it for search criteria.C
Could you kindly suggest me how this field can be included in the search critertia in Funciton Module "Zb2b_Account_Details.
Thanks & Regards,
Sujitha. S
Edited by: Sujisruthy on Jun 16, 2010 1:23 PM

Hi,
Please see documentation of enhancement MM06E005 (transaction SMOD).          
Userexit EXIT_SAPMM06E_016 is a component of enhancement MM06E005.            
With that enhancement, you can                                                
  -   Maintain/supply your own customer fields                                
  -   Update your own customer-specific tables                                
You cannot:                                                                   
  -   Change standard fields                                                  
  -   Change data that depends on the document header in the items            
  -   Change data that depends on an item in the document header                                                                               
Please have a look at Business Add-In (BAdI) ME_PROCESS_PO_CUST.              
Regards,
Edit

Similar Messages

  • Custom field in the search criteria of contract management in SRM - POWL

    Hi,
    I have to add a custom field in the search criteria of the POWL query for Contract Management. I have done adjusting of the POWL by adding the custom field in the /SAPSRM/S_POWL_RESULT_CTR and /SAPSRM/S_SEARCH_RESULT_CTR. I have created entries in TREX and Field cat but still the field is not visible in the query.
    Please let me know how can i get the visibility of custom field on the POWL query for contract.
    Regards,
    Geeta

    Hi,
    Try to delete powl query cache using report POWL_D01.
    Regards,
    Marcin

  • Add a field in the Search Criteria in POWL for Invoice

    Hi,
    I am trying to add a field  or change Selection Parameters in Search criteria POWL for Invoice. But for SC, PO and Confirmation I can do it from DB Criteria. But for Invoice  I implemented these BADI's  and its not triggering.
    /SAPSRM/BD_POWL_CHNG_CUF_SRCH
    /SAPSRM/BD_POWL_CHNG_SELCRIT
    Any idea why its not trigeering? Am I missing anything?  I appreciate your help.
    Thanks,
    Carl
    Edited by: Shears80 on Sep 28, 2011 9:40 PM

    Hi Cral ,
    Add a field in the Search Criteria in POWL for Invoice
    append the custom attributes in this structure
    /SAPSRM/S_SEARCH_RESULT_INV
    goto tcode  sm30  /SAPSRM/V_SRC_CR enter the filed for  BO/ BUS2121(select the business object based on the requirement)
    the creation type must  be suitable  for the type
    criterion name : zzfield
    criterion name : parameter
    structure : /SAPSRM/S_SEARCH_RESULT_INV
    field name : zzfield
    this are the feeder class for invoice .
    /SAPSRM/CL_CLL_POWLT_INV_PROF
    /SAPSRM/CL_CLL_POWLT_INV
    /SAPSRM/CL_CLL_POWLT_INV_S
    based on the powl query you need to do the enhancement in the feeder class .
    Thanks & Regards
    Pradeep Kumar Dondeti

  • How to display additional fields in the results a 'search user'?

    This may be a newb question but how can I display additional user attributes in the results of a user search in the admin console?
    i.e. more than just the standard fields of: User ID, First Name, Last Name, Status, Enable, Disable, Unlock and Delete.
    I would like to include some UDFs that I have defined for the create user form e.g. personnel number.
    Thanks,
    Bernie

    Thats not gonna work for sure. Thats to include additional attributes in the search input parameters drop-down. There is another procedure to do that, but not very sure if it works or not because once I was decompiling the code and found that it doesn't have an implementation. You can anyway try it out, the worst would be that you would not be able to see the column headings, but try atleast:
    And thats through the use of properties file. Open up ** and search for the following section-
    *#global.request.users.selectedListDisplayFields=*
    *#global.request.users.selectedListDisplayFields.lables=*
    Remove the comments and update it to below-
    global.request.users.selectedListDisplayFields=USR_UDF_EMPID
    global.request.users.selectedListDisplayFields.lables=global.xmlmetadata.users.USR_UDF_EMPID
    where USR_UDF_EMPID is the UDF and global.xmlmetadata.users.USR_UDF_EMPID is its associated translation.
    Thanks
    Sunny

  • How to change the desription of a standard SAP field in the Search Help

    Hi All,
    In Table T023T there is a field WGBEZ60(Long text describing the material group) and the data element of the field is WGBEZ60.
    Requirement is to change the description of the field WGBEZ60.The desription of the  field is - Description 2 for the material group.
    But the user want as - Description for the material group. He dont want 2 in the description.
    we are using this field in the search help of Material group for the transaction ME21N and ME51N.
    So please tell me how can we change the description of the field in the Search help.
    Thanks.
    Regards,
    Peeyush

    As search help uses data element , it shows its keyword. So you have to do modification to that keyword.
    - Go to CMOD
    - from top menu GOTO -> Text enhancements -> Keywords -> Change -> type WGBEZ60 -> change the description -> Save and add it to transport
    - now use that data element either on the screen or search help. It will have the descripiton modified.
    Regards
    Marcin

  • CRM  IC Winclient - How to add new fields in the BP Search of TRX CIC0

    Hello Experts,
    I want to know how to add new fields in the BP Search of TRX CIC0. In the HTML that we're using here I need to add the URL of the BP.
    Can you help me?
    Thanks in advance.
    Caíque Escaler

    Hi
    make append to tables in se11 - CCMBP1FIELDS, CCMBP2FIELDS
    in spro in Define customer-specific search control -> mark fields with X.
    and enhance html template CRM_CIC_SEARCH_DISPLAY. -> tcode smw0, look for package CRM_CIC_COMPONENTS for html CRM_CIC_SEARCH_DISPLAY. export it from SAP, edit, and import.
    you will need to enhance function module used for searching - you will find him in spro in Search Strategies.
    Regards
    Radek

  • How to Including custom text in the step "User Decision"

    Hi All
    Please help me in this regards I got problem
    How to Including custom text in the step "User Decision"
    Regards
    Poonam
    Edited by: Julius Bussche on Feb 2, 2009 1:59 PM
    Please use the corect forum, meaningfull subject titles and use the search before asking questions

    Hi Poonam,
    If I understood your problem correctly...
    When you create a user decision a screen will appear.
    In the decision tab under Title you can give your custom text.
    Even if you want to give some variable (value of which will be determined at runtime) you can give that as well.
    Like you have created a container for BOR objects MAT_DETAIL, in that object there is a field MATERIAL.
    You can define your custom text as below:
    Title: Would you like to create new material or display material &
    Parameter 1:  &MAT_DETAIL.MATERIAL&;
    In Title you can give as max. as 4 &(ampersand). And each & will be replaced by each Parameter at runtime in same sequence.
    In parameters you use to select the container defined by you earlier.
    Hope this will help.

  • Adding a new field to the search help exit

    Hi friends,
    adding a new field to the search help exit. How does it work ?
    Thanks in advace
    Ilhan

    The search help exit allows you to modify functionality of search help. If you add a new field to the
    parameter list that is not contained on the selection method you can manually populate it within the search
    help exit.
    This  would be performed within the u2018STEP DISPu2019 section. Once within this section all search help
    data has been retrieved and is stored in table RECORD_TAB (record_tab-string) as one long string value.
    Therefore you need to read table SHLP in-order to locate position of value within string.
    Example:
    To find position of personnel number (PERNR) within elemenory search
    help M_PREMN you would use the following code:
    Loop at record_tab.
         read table shlp-fielddescr into wa_shlp
                                       with key tabname   = 'M_PREMN'
                                                fieldname = 'PERNR'.
    You could then use this information in the following way, for
    example, to find a persons organisation unit:
          select  orgeh endda
            up to 1 rows
            from pa0001
            into (ld_orgeh,ld_endda)
           where pernr eq record_tab-string+wa_shlp-offset(8)
                                                      u201Cpernr length is 8
           order by endda descending.
          endselect.
          select single orgtx
            from t527x
            into ld_orgtxt
           where orgeh eq ld_orgeh and
                 sprsl eq sy-langu and
               ( endda ge sy-datum and
                 begda le sy-datum ).
    If you have added a new field to the end of the parameters list
    the next step is to populate it by adding this data to the end of
    the record_tab string:
      concatenate record_tab-string ld_orgtxt into record_tab-string.
      modify record_tab.
    endloop.

  • How to  include a report  into the  SAP-SCRIPT

    plz tell me 
    How to  include a report  into the  SAP-SCRIPT
    ASAP

    creat a z report like this....................
    REPORT  zmmgl_picklist1.
    TABLES : likp,ltap,ltak.
    data : lv_NUM1 type c .
    data : lv_NUM type c.
    *&      Form  get_data1
          text
         -->IN_DATA    text
         -->OUT_DATA   text
    FORM get_data1 TABLES in_data STRUCTURE  itcsy
                         out_data STRUCTURE itcsy.
    READ TABLE in_data WITH KEY name = 'LTAP-VBELN'.
    lv_NUM = lv_NUM1 + 1.
    out_data-name = 'lv_NUM'.
      out_data-value = lv_NUM .
    APPEND out_data.
    endform.
    *&      Form  get_data
          This form is to read  details from  LIKP    *
         -->IN_DATA    text
         -->OUT_DATA   text
    FORM get_data TABLES in_data STRUCTURE  itcsy
                         out_data STRUCTURE itcsy.
      READ TABLE in_data WITH KEY name = 'LTAK-VBELN'.
      Select single bldat from likp into likp-bldat where lgnum = ltap-lgnum.
      out_data-name = 'LIKP-BLDAT'.
      out_data-value = likp-bldat.
      APPEND out_data.
       READ TABLE in_data WITH KEY name = 'LTAK-VBELN'.
      Select single vstel from likp into likp-vstel where lgnum = ltak-lgnum .
      out_data-name = 'LIKP-VSTEL'.
      out_data-value = likp-vstel.
      APPEND out_data.
    READ TABLE in_data WITH KEY name = 'LTAK-VBELN'.
      Select single kunnr from likp into likp-kunnr where lgnum = ltap-lgnum.
      out_data-name = 'LIKP-KUNNR'.
      out_data-value = likp-kunnr.
      APPEND out_data.
    ENDFORM.                    "get_data.
    after this go to the script editor......
    /: perform get_data in program zmmgl_picklist1.
    /: using &ltap-vbeln&                 (Reference field.this field          should be there in both program and script.....)
    /:changing &likp-bldat&         
    /:changing &likp-vstel&
    /:changing &likp-kunnr&
    \[removed by moderator\]
    Regards
    Anbu
    Edited by: Jan Stallkamp on Jun 10, 2008 2:26 PM

  • How to include a date range in Search Help

    Hi All,
    I need to include a range for a date field in a Search help.
    That is I have to add From Field and To Field for the same field in the search help.
    Please advise.
    Regards.

    If you are going to add an entirely new field (not existing in the SAP standard search), try using EEWB and for the query on that field would be a modification to the Model access class.
    Regards,
    Shailaja

  • How to include new fields in PRICAT

    Hi,
    My aim is to import a new field to the PRICAT price catalogue, and be able to
    maintain this field in transaction W_PRICAT_MAINTAIN.
    I have entered the new field in table PRICAT_K003 (using an append structure),
    and have used the Badi implementation WRF_PRICAT_DIALOG to include the new field in the ALV report definition for transaction W_PRICAT_MAINTAIN. For this purpose I also included the field in structure WRF_PRICAT_K003_STY.
    However, when trying to make the necessary changes to copy the field content  from PRICAT_K003 to the new screen field, I encounter a few problems.
    For this I have created a new Badi implementation for Badi definition
    WRF_PRICAT_POOL, method IF_EX_WRF_PRICAT_POOL~EXTEND_ARTICLE_MASTER.
    This method uses parameter io_inbound_item (type ref to CL_INBOUND_ITEM). The field doesn't seem to be visible in any of the available structures in this method. I have attempted to include the new field in some of the other structures (in addtion to WRF_PRICAT_K003_STY), but have been told by the system not to do this.
    Any suggestions on how to solve this problem?
    If there is anybody out there who have a description on how to import new fields
    into PRICAT and further on to the article master, I would very much appreciate if you could pass it on to me.
    Best regards,
    Per Erik Fjelde

    Hi,
    I have a similar problem with inbound pricat. I extended PRICAT_K003 with a few custom fields. These fields are filled using a BAPI table extension and implementing IF_EX_PRICAT_IN_EXTIN. The fields show up correctly in W_PRICAT_MAINTAIN and are also filled when I look in the database table. But when I create an article master from an entry in the pricate catalogue, all custom fields are cleared. I wanted to use IF_EX_WRF_BADIPRE_POST_MAT~PRICAT_PRE_POSTING_PROCESS to transfer the custom fields to MARA, but the incoming structures of the method only include blank custom fields.
    So I found IF_EX_WRF_PRICAT_POOL, but it's methods include only structures which are not extendable. So I don't see how I can preserve the data in my custom fields.
    Per Erik, have you found a solution for your problem?
    Is there anybody else out there who knows how to transfer custom fields from the price catalogue to material master data?
    Best regards,
    Holger Merk

  • How to validate input fields as the user is filling up a form with jQuery?

    Hello EA friends.
    Someone has experimented on how to validate input fields as the user is filling up a form with jQuery?, if the field is numeric and insert an A for example, an alert appears showing "insert a number" or not allowed to enter anything until a number is entered.
    Thanks and regards.
    Fer

    Hi Sudeshna.
    Sorry for not responding on time, how can I be included in this code?
    sym.setVariable("typeActivity", "input")
    var Element_1=document.createElement(typeActivity);
    $(Element_1).css({"text-align": "center"});
    //Answer
    sym.setVariable("Answer_1", "4");
    sym.$("box_1").append(Element_1)
    This code is on my creationComplete and it works fine.
    Would greatly appreciate your help.
    Regards.
    Fer García

  • Add new Search Field in the Search Page

    Hi all,
    I needed to add a new search field in the search page, for the same i appended the search structure and added the required field.
    Then in Config i made it available. The field type is input field of type BU_PARTNER.
    The issue is when i make the same field display in UI it apears as Blank Drop down, it should come as input field.
    I tried to make it input via get-p as well but still it is DDLB.
    I also tried via Design layer, but it has not changed to Input.
    Please suggest how to proceed further.
    Regards,
    Vandy

    Hi,
    Just a thought, Did you remove the field and reassign it to the configuration view after you made the changes???
    Regards
    Rekha Dadwal

  • How to control and use the search criteria values "%" ?

    Hi,
    When I searched some information in my employee name. I filled in search criteria values "%" and selected the "Go" button to see the result. But I got errors that the search criteria values should not begin with a "%" or "_" for at least one if the listed fields.
    How to control and use the search criteria values "%" ?
    Thanks,
    sinolee

    sinolee,
    These kinds of details are mentioned in Dev guide. Always have a look into dev guide before posting.
    --Shiv                                                                                                                                                                                                                                                   

  • Change the Order of Fields in the Search Lookup Form

    Hi guys,
    The end user has requested me to change the order of the fields in the Search Lookup Form. I haven't found any configuration to change this order, so I changed the JSP (tjspLookupFormTiles.jsp) as below:
    <bean:define id="colIDsObj" name="lookupFieldForm" property="columnIDs"/>
    <%
    //Sort Column IDs
    String[] colIDs = (String[]) pageContext.getAttribute("colIDsObj");
    colIDs[0] = "Lookup Definition.Lookup Code Information.Decode";
    colIDs[1] = "Lookup Definition.Lookup Code Information.Code Key";
    %>
    Is there any property where I can change this order without change the JSP File?
    Thanks,
    Renato.

    I had a similar requirement in the past, but could not find any other way for doing this. It does not reverse the order even for lookup fields on USR forms, for which the encode and decode values are defined in formmetadata.xml. Changing jsp seems to be the only way, unless someone else knows better.

Maybe you are looking for