How to use p_mainsearch parameter in basic search for a report with bind variable?

Hello,
I'd like to extend the basic-search in content-area elements to extra records in my own tables.
So I'd like to use the p_mainsearch-urlparameter (which holds the searchtext of a basic search) into a bind variable of my own report. My report will be on an extra tab on the search-page.
Especially I don't know how to transfer the value of p_mainsearch into the bind variable of the report.
Has anyone done that so far?
Example?
Thank you,
Joerg

I found out the following way:
1.)Report
1.1)SQL-Query:
select * from <owner>.<tablename> where UPPER(column) like '%'||UPPER(NVL(:searchtext,'abczyx123098'))||'%'
(Note: bind variable is :searchtext).
1.2)in "before displaying page"-section in "additional plsql" add the following:
if length(get_value('p_mainsearch')) >= 3 then
portal30.wwv_name_value.replace_value(
l_arg_names, l_arg_values, p_reference_path||'.searchtext,
portal30.wwv_standard_util.string_to_table2(get_value('p_mainsearch')));
end if;
1.3) publish as portlet
2.) Integrate the report-portlet into a new tab on search page. Run basic search.
Change to the tab with the portlet.
For me it is solved.
Joerg.

Similar Messages

  • How to use Crossbow Xmesh WSN LabVIEW drivers for downstream communication with motes

    Hello,
    I am trying to use LabVIEW Crossbow Xmesh WSN  driver for downstreaming commands but driver programs are not working.
    I am interested in changing node (Iris mote with MDA300 board) update rate from LabVIEW program running on host PC .
           I have  used  Set node update rate.vi  with  open stream.vi and start stream.vi  in proper sequence and developed a program to change node update rate. When program is run no error is shown but node update rate is not changed.
          Pl suggest what I should I do.
    What is the function of  WSN write VIs (WSN write Raw 1sensor1point). For what type of message this is used. 
    I  want to actuate relay on MDA300 with mote id 2. What VIs (from driver ) I have to use and how to issue command related to it.
    Incase any one can help I will be grateful
    Roop 

    Hi Arjun,
    I am sending you snap shot of VI developed to change node update rate.and also the heirarchy of drivers  VIs used in the program for  better understanding .
    In case you can figure out why the command  message send  is unable to communicate with mote .
    Also for downstream communication with motes the packet format used is described in Moteworks user manual from MiMSic.com
    I think the developer of these drivers can help you  out in solving my problem.
    Thanks
     Roop
    Attachments:
    sreenshot to arjun ni for checking downstream comm.doc ‏288 KB

  • How do I delete Templates?  I search for the templates with finder, in library, applications, logic, project templates. But, I can't find my templates there.

    How do I delet templates? I can`t find the templates with finder. I try in Libary, applications, Logic, Project templates. But, I can`t find my templates there. I find Logics templates, compose, explore and produce.

    pauloman80 wrote:
    User-created templates are located in username > Library > Application Support > Logic > Project Templates.
    Hi
    Note that in Lion OS, the User Library is hidden by default.
    Use the Finder:Go Menu (hold down Option to add the User Library to the menu).
    CCT

  • How to use quota on a desktop folder for all users with File Server Resource Manager.

    Hi there,
    I'd like to know if there is a posibility to use variables in the path with File Server Resource Manager if you want to set the quota.
    The path I'd like to use is d:\home\%username%\desktop.
    Like to hear from you all if there is a solution or workaround for this one :)
    Thanks for your time.
    Ben.
    Ben van der Meer

    That's a question about Automator, so I'd pop that one here
    http://discussions.apple.com/forum.jspa?forumID=1339
    Regards
    TD

  • How to use shared parameter on request set

    Hi
    I have a request set with two stages
    First stage contains From Date and To date where i have named the shared parameter as StartSP and EndSP
    i have to use these shared parameter in one of the query in next stage where my Type is SQL Statment and i have these two date fields From date and To date in next stage as well where i am able to retirve the values from previous stage
    based on these values i need to get the name in next parameter where my Type is SQL Statment
    select name from tablename where '02-MAR-09' > =start_Date and '29-MAR-09' <=end_Date
    I have written SQL as
    select name from tablename where StartSP > =start_Date and EndSP <=end_Date but it throws an error.
    I need the values of 02-Mar-09 and 29-Mar-09 from StartSP and EndSP
    Appreciate if any one has idea about this.

    hi user;
    please check:
    http://download-west.oracle.com/docs/cd/A60725_05/html/comnls/us/fnd/repset04.htm
    http://download-east.oracle.com/docs/cd/A60725_05/html/comnls/us/fnd/10gch609.htm
    Also you can check this search:http://www.google.com.tr/search?hl=tr&source=hp&q=How+to+use+shared+parameter+on+request+set+&meta=&aq=f&oq=
    Hope it helps
    Regard
    Helios

  • How to use a parameter  of a report program from selection screen in a dialog program

    how to use a parameter value(entered ) of a report program from a selection screen in a dialog program.
    I have to fetch the value entered in the parameter of report program and display it in a dialog program

    Hi Aasim,
    Just mention like below in your ABAP report.
       PARAMETERS: p_aufnr TYPE aufnr MEMORY ID ord.
    and mention the same memory ID name in the module pool screen property it automatically populates the value to and fro

  • How to use a parameter of a report program in a dialog program

    how to use a parameter of a report program in a dialog program.
    I have to fetch the value entered in the parameter of report program and display it in a dialog program

    Hi Aasim,
    Just mention like below in your ABAP report.
       PARAMETERS: p_aufnr TYPE aufnr MEMORY ID ord.
    and mention the same memory ID name in the module pool screen property it automatically populates the value to and fro

  • How to use a parameter in a report program in a dialog program

    how to use a parameter in a report program in a dialog program

    Hi Shaikh,
    Post it in http://scn.sap.com/community/abap
    "ABAP Development".
    sree

  • How to use dynamic parameter when a report is created using Stored Procedures

    Hi all,
    any one have the idea of how to use dynamic parameter in crystal report XI R2
    when report is created using Stored Procedure.
    Regards
    shashi kant chauhan

    Hi
    You can create an SQL command in Database Expert > Expand your datasource > Add command
    Then enter the SQL query that will create the list of values to supply to the user
    eg select field1,field2 from table
    Then edit the parameter of the report.  These will be the SP parameters adn can be seen in field explorer.
    Change the parameter type to Dynamic
    Under the word Value click on Click here to add item
    Scroll down to your Command and select one of the values that you want to appear in the list
    e.g field1
    Then click on the Parameters field - this is essential to create the param
    You can edit other options as required
    That should do it for you.
    I must say that i use CR 2008 connected to Oracle 10g SP, but i reckon this will work for SQL DB and CR XI as well
    Best of luck

  • Query with bind variable, how can use it in managed bean ?

    Hi
    I create query with bind variable (BindControlTextValue), this query return description of value that i set in BindControlTextValue variable, how can i use this query in managed bean? I need to set this value in String parameter in managed bean.
    Thanks

    Put the query in a VO and execute it the usual way.
    If you need to, you can write a parameterized method in VOImpl that executes the VO query with the parameter and then call that method from the UI (as a methodAction binding) either through the managed bean or via a direct button click on the page.

  • How to set the password encrytacion a database. Accdb from Visual Basic 2010 for a report. Rpl

    I want to know how to set the password encrytacion a database. Accdb from Visual Basic 2010 for a report. Rpl

    You have to connect via ODBC, then use code along the lines of what is described here:
    http://scn.sap.com/thread/3526924
    by me on March 28 and Jan on March 29.
    Also see KBA: 1686419 - SAP Crystal Reports designer does not recognize Access *.accdb file
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • How can I get (using API) the current sort column for some report

    hello,
    How can I get (using API) the current sort column for some report ? For example something like "fsp_sort_1_desc" - if the user sorts by the first column ?
    I cannot use the :REQUEST for this, sometimes the current sort column is not in the :REQUEST, but it is still active.
    I thought it was posssible by using
    APEX_UTIL.GET_PREFERENCE (
    p_preference IN VARCHAR2 DEFAULT NULL,
    p_user IN VARCHAR2 DEFAULT V('USER'))
    RETURN VARCHAR2;
    function, but I don't really know which preference should I pass as parameter.
    looking in WWV_FLOW_PREFERENCES$, i saw preferences_names like FSP4000_P527_R6281510839654570_SORT , I'm not sure how this name is formed.
    I'm using generic columns for that complex report (which has a flexible number of columns shown), and the idea is that sometimes I have to overwrite that sort column, in case the user chose the version of the report with fewer columns than the previous one.
    Can I get (using API) a list of all preferences set for some user ?
    Thank you,

    seems that it is FSP<app_number>P<pagenumber>R<regionnumber>_SORT.
    is there anyplace where I can get these kind of things documented ?
    Thank you.

  • How do I ask photoshop elements to search for and only add pictures on my computer?

    How do I ask photoshop elements to search for and only add pictures on my computer?

    vbond0071 a écrit:
    Please tell me its a simple fix???
    [email protected]
    My suggestion:
    Read the help file carefully:
    http://helpx.adobe.com/elements-organizer/using/workspaces.html
    Now have a look at the the organizer display layout. Just over the main display panel where thumbnails are shown, there is a drop-down menu to choose the sort order. I assume you are on a recent version of Elements? If you are on PSE12 or 13 you can choose the chronological order (ascending or descending), the filename order, or the import batch. Additionally, if you are viewing an album you can have a manual custom sort.
    My other advice is that before you use the organizer, you take the time to read this help file carefully:
    Elements Organizer Help | Creating and editing catalogs
    The organizer is a very power tool if you understand what it can do and if you don't have misconceptions about how it works. It's a powerful toolset  based on catalogs. It can handle and manage folders and files, but that's not its main purpose. Its ability to manage the information included in the exif metadata of your files and the important information you enter with categories, keywords, captions, notes, ratings or the way you include pictures in albums, creations, stacks or version sets is very powerful.

  • Can anyone give me simple instructions on how to use more than one ipod on the same computer with itunes? Both my daughters have ipods, my wife has one

    Dear All
    Can anyone give me simple instructions on how to use more than one ipod on the same computer with itunes. My daughters have a different generation 'nano' each & my wife a 'shuffle'?
    Many thanks

    Click here for options.
    (69081)

  • How to use airport time capsule on a dell portable pc with windows 7 taking in consideration that Time machine doesn't run with Windows ?

    how to use airport time capsule on a dell portable pc with windows 7 taking in consideration that time machine doesn't run with Windows ?

    TM does not work like that.
    If you want files to use later.. do not use TM.
    Or do not use TM to the same location. Plug a USB drive into the computer and use that as the target for the permanent backup.
    Read some details of how TM works so you understand what it will do.
    http://pondini.org/TM/Works.html
    Use a clone or different software for a permanent backup.
    http://pondini.org/TM/Clones.html
    How to use TC
    http://pondini.org/TM/Time_Capsule.html
    This is helpful.. particularly Q3.
    Why you don't want to use TM.
    Q20 here. http://pondini.org/TM/FAQ.html

Maybe you are looking for