Add new dropdown value in search criteria for Invoices

Hello,
I want to add one more value in Drop-Down box of the search criteria of invoices.
As on now there are 2 DropDown boxes
in Your Referance No
in Transaction No
(New)
in Order No (This will have search value as "Sales Order No")
Can anyone tell how to add this inw value?
I have created YDocumentListSelectorForm.java extending DocumentListSelectorForm.
public static final String INORDERNO = "inorderno";
if("inorderno".equals(attribute))
          documentListFilter.setId(attributeValue);
YBillingStatusCRM.java is created which extends BillingStatusCRM.class
com.sap.mw.jco.JCO.Function billingListJCO = connection.getJCoFunction("YCRM_ISA_INVOICE_LIST_GET");
if(billingList.getFilter().getExternalRefNo() != null && !billingList.getFilter().getExternalRefNo().equals(""))
          importParams.setValue(billingList.getFilter().getExternalRefNo(), "ORDERNO_FROM");
Accessing it in JSP organizer-content-doc-search.jsp
YDocumentListSelectorForm yform =
    (YDocumentListSelectorForm)pageContext.findAttribute("YDocumentListSelectorForm");
<option value="<%=YDocumentListSelectorForm.INORDERNO%>" <%=form.isAttribute(form.INORDERNO) ? "selected" : ""%>> New Value</option>
Regards,
Shaun
Edited by: Shaun07 on Aug 5, 2010 7:29 AM

Hello,
I want to add one more value in Drop-Down box of the search criteria of invoices.
As on now there are 2 DropDown boxes
in Your Referance No
in Transaction No
(New)
in Order No (This will have search value as "Sales Order No")
Can anyone tell how to add this inw value?
I have created YDocumentListSelectorForm.java extending DocumentListSelectorForm.
public static final String INORDERNO = "inorderno";
if("inorderno".equals(attribute))
          documentListFilter.setId(attributeValue);
YBillingStatusCRM.java is created which extends BillingStatusCRM.class
com.sap.mw.jco.JCO.Function billingListJCO = connection.getJCoFunction("YCRM_ISA_INVOICE_LIST_GET");
if(billingList.getFilter().getExternalRefNo() != null && !billingList.getFilter().getExternalRefNo().equals(""))
          importParams.setValue(billingList.getFilter().getExternalRefNo(), "ORDERNO_FROM");
Accessing it in JSP organizer-content-doc-search.jsp
YDocumentListSelectorForm yform =
    (YDocumentListSelectorForm)pageContext.findAttribute("YDocumentListSelectorForm");
<option value="<%=YDocumentListSelectorForm.INORDERNO%>" <%=form.isAttribute(form.INORDERNO) ? "selected" : ""%>> New Value</option>
Regards,
Shaun
Edited by: Shaun07 on Aug 5, 2010 7:29 AM

Similar Messages

  • Setting Default Values in Search Criteria for COSTCENTER

    Hi ALL,
    I need Help for setting default values in search criteria for COST CENTER.
    Basically the issue is when creating a Shopping Cart, i need to assign a COST CENTER at Item level under COST ASSIGNMENT Tab.
    While searching the cost center i need to default the following fields in my search criteria based on the Login User :
    1. Controlling Area,
    2. Language Key.
    Please suggest some solution.
    Thanks & Best Regards,
    Surya

    Hi Vani,
    Sorry for the delay reply and Thanks a Lot for your timely support......I would like confirm once again is the name of the BADI is <b>bbp_f4_read_on_exit</b> or <b>bbp_f4_read_on_entry</b>. In this BADI i've not found a method to default Controlling Area. Can you please suggest me which method i can use.
    Thanks & Regards,
    Surya

  • How to add one more values in Search Criteria,

    Hi All,
    OAF page Search Criteria :
    Search By "name"only Available already have in the search criteria .we are need to add Description in search criteria .How to add one more filed “Description” in Search Criteria,
    Please Help Me
    Thanks
    Rajavel

    "Set the Search Allowed property to True for any LOV result items you want to present to the user as searchable values. These items are listed in the search poplist the user sees in the LOV window.
    At a minimum you must set the Search Allowed property to True for the the result table item corresponding to the LOV field on the base page.
    This is from the devguide, I suggest you read it once at least if you have started work on the framework.
    Tapash

  • How to add standard "reason" field as search criteria for service orders?

    Hi,
    I would like to add the criteria "reason" in search tool for service orders.
    Would it be standard or woudl it need development?
    Many thanks,
    Eli

    Hi Eli,
    Please go to the web ui configuration and search reason feild is available for the config view. If it is available please move from hidden to visible. If it is not available you can add using development or AET to add that feild in the view.
    Regards,
    karthik J

  • Using a Dropdown Value to Set Criteria for Queries

    Hey,
    I am first trying to create a Dropdown box, should I just use HTML or should using APEX components... The values are stored in a table.
    I want to have the users have the ability to select a value from the drop down, and depending on what value they picked, it would display reports for that value selected either on a seperate tab or the same tab.
    Could you guys help me figure this one out?
    Basically I don't want to change my queries everymonth, since the value that users would select is a month value. Any ideas?
    Any help is appreciated... Thank you.

    Hi Max,
    First, if you are using an APEX development environment, by all means, use the APEX components. They make life a lot easier compared to hand coded HTML.
    Next, the ability to configure an SQL WHERE clause with the selection from a drop down list is a "bread and butter" APEX function. For example, if you have an LOV with the months in it (P10_MONTH), then you could put the following line in your report's WHERE clause:
    AND :P10_MONTH = EXTRACT (MONTH FROM YOUR_DATE_COLUMN)
    This assumes that the LOV that is bound to P10_MONTH has an ID and a DESCRIPTION where the ID is configured to be the month's number (1 for Jan, 2 for Feb etc).
    Note that for production code you would also have to handle the year as well.
    It sounds like you are new to APEX. If so, take some time to work through the two day developer document. This is a very quick (couple of days) way to get up and running with APEX. In general, the learning curve with APEX is much much easier that with environments like J2EE and .NET.
    For your immediate project, look explicitly for the terms "bind variable" and List of Values (LOV).
    Hope this helps,
    Cheers,
    Patrick Cimolini

  • New search criteria for old (standard) node?

    Is it possible to create script, which adds new search criteria for old (standard) node?
    CustomSearchExtensionHandler.jsx gives example of custom search criteria for custom node. But it is not clear for me, how to add new search criteria over standard XMP fields.

    Hi,
    First you create your own table (with fields like Vendor No and Name), in which you wants to store your Value range for that Vendor and fill this table with all the values for that vendor(your own set of values).
    Using this table create an Elementary search Help from SE11 and you can use that search help for the Vendor field where ever you use.
    This works fine.
    Regards,
    Anji

  • 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

  • Search criteria for standard field

    Hi All,
    we have a requirement in loyalty management employee search screen we couldn't find a custom field called occupation, But in create employee screen it's come. please suggest solution for add this standard field in search criteria.
    Regards
    Praveen.

    Hi praveen,
    I am providing some screen shots
    click on new entries after that will get below screen some times check box checked so only i told to check if it is unchecked is not an issue so  u need to check in structure level.

  • Search criteria for insert/update bdoc

    Hi All,
    In our set up we have ecc to crm replication of BP. If one goes and checks the extension data of a stuck bdoc it has an Object Task- Insert or Update.
    Can someone help me with search criteria so that i can pull out bdocs which have an Insert as the Object task ??
    We have search criteria for errored/intermediate state bdocs; for inbound vs outbound; bdoc type etc etc..
    Need one based on Insert/Update Task so that any new data replication if stuck with its very first bdoc( Insert type) can be immediately queried.
    Regards
    Abhinav

    Hello Abhinav,
    I do not think that we have such a search criteria to search for BDocs based on the Task Type, which comes under the
    data part of the BDoc.
    One alternative way is to find out in which table these data gets stored and write a program to fetch the revelent Bdocs.
    Hope thisl helps!
    Best Regards,
    Shanthala Kudva

  • 11.5.9/OAF 5.7 : how to add new fields in iProc "search results" page

    We need to add new fields into iProc "search results" page - "Personalize Self-Service Defn" is et, we can enter the personalization screens (from both the "master" link at top/right page level or from the link above the region) - anyway cannot find how to add new fields. Do we have to go to AK developer and/or XML files or is it feasable from OAF (as it is with 11510) ? TIA.

    It depends on what fields you want to add.
    1. If Oracle has included the fields, just render them via personalizations
    2. If they are brand new fields:
    a) you will need to extend the VO (I do not know the exact name).
    b) change the query to get your extra db columns if necesary
    c) add transient attributes to the VO and map them to b).
    d) Then you need to add the items via personalization and map them to the attributes you created in c)
    Check on metalink for the lates version of OAF Dev Guide and Personalization guide.
    Thanks
    Sandeep

  • Add new status values to "documentation tab" in solar02

    HI,
    I want to add new status values for the documentation tab in solar02.
    can anyone tell me the process for the same?
    thanks,
    basis admin

    Hi,
    If you're reffering to the documents status you can define custom ones at:
    Transaction SPRO
      button "SAP Reference IMG"
        Navigate through:
    -SAP Solution Manager Implementation Guide
      -SAP Solution Manager
        -Cross-Scenario Settings
          -Document Management
            -Status for Documents
    options:
    *Define Status Values for Documents
    *Assign Status Values for Read Authorization
    *Define Document Status Schemes
    *Assign Status Scheme to Documentation Type
    Please read these Steps and you'll be able to configure these status.
    Kind regards,
    Fabricius

  • How to add new line item using BAPI BAPI_CONTRACT_CHANGE for contract-ME32K

    HI Experts,
    how to add new line item using BAPI: BAPI_CONTRACT_CHANGE for existing contract.
    Requirement:
    Already the contract having two line items using ME31K.
    Custom program has to add new line items in existing contract.
    Thanks,
    Sendil

    I got the solution:
    We can do like this:
    1. Get all details using details, BAPI_CONTRACT_GETDETAIL.
    2. After getting results, append new line item. Then use your BAPI.
    Check this posting program.. where this bapi is used, use the same coding technique.
    IDOC_INPUT_PURCONTRACT_CHANGE

  • Additional search criterias for opportunities: SYS_PROBABILITY, MilestoneDt

    Dear experts,
    we need additional search criterias for opportunities
    1.) we need to be able to search for the standard field of SYS_PROBABILITY
    2.) we need to be able to search for milestone dates we defined
    Do you have any idea how to handle these?
    Thanks in advance,
    BR Matthias

    Dear Shiromani,
    thanks for your input.
    I know about the possibilities of using AET, but the field I need: SYS_PROBABILITY does not show up in the available fields to be added.
    Furthermore we dont want to make our self generated fields searchable, but we want to search for specific Milestone Dates we customized.
    Any ideas?
    Thanks, BR Matthias

  • How can we find search criteria for Mask and Namedsearch

    Hi Gurus,
      I got a doubt while working with the concept of mask and namedsearch. I defined a search criteria and stored the result under a mask or namedsearch. After some time if i call the mask/namedsearch where can we see the search criteria. Can anybody make me clear about this.
    Thanks
    Ravi

    Hi Ravi,
    You can see the search criteria for Named Search. Suppose you search for a field in free form search and then include all these records in your Named Search. Now in order to see the search criteria and enhance it. You need to go to>Menu bar>Search>Restore Named Search>Press Named Search(Name Given By you). Now you will able to see in free form search or any other search criteria which you included in for your Named Search.
    Regards,
    Mandeep Saini

  • How to add new fields to picklist of search criteria for opportunities

    Hi Friends,
    Could you please tell me how to add new fields to the picklist of search criteria of Opportunities in WEBCLIENT(CRM 2007).
    Regards,
    Vijay

    Dear Vijay,
    We are facing the same problem over here.
    Have you managed to find a solution? Please share
    BR,
    Rohit

Maybe you are looking for