Adding Parameters to an UI command

hi,
I am trying to add some parameter to an UI command which changes the UI for the search screen. We have a customised search screen which we want to all the places from any body can use the search functionality.
The three parameters i want to change is
a) SearchPluginName
b) SearchComponentName
c) rndLayoutSet
I know that there is a Parameters property in the UI command but even after giving that its not reflecting in the front end.
Thanks
Regards
Prakash

Hi Prakash,
I'm not sure if I understand you correctly.
If you would like a different layout for the search result you basically dont use parameters on commands (which one do you mean) but use different iViews and set these parameters you mentioned as iView parameters.
There is a howto-guide "Configuring the Last10Documents Scenario" available. Please have a look at http://service.sap.com/nw-howtoguides -> Portal, KM, and Collaboration -> KM which shows how to use different layouts for the search result.
Kind regards,
Roland

Similar Messages

  • Adding New Applications to Voice Command on N95

    Is there a way of adding new applications to the list of available applications that could be controlled by Voice Command?
    I appear to have a pre-configured list that I can't add too.
    I'd like to be able to activate Google Maps for example, but that application isn't in the pre-configured list of applications that could be set for Voice Command.

    want to konw how to Adding New Applications to Voice Command
    My E71 can't control FM radio by voice

  • What are REQUEST_NO and PAGENO parameters in WebAD url commands?

    Hi,
    I cannot find any documentation on what are <b>REQUEST_NO</b> and <b>PAGENO</b> parameters in WebAD url commands and how to use them.
    Like in this case:
    http://..../sap/bw/BEx?SAP-LANGUAGE=E&PAGENO=1&REQUEST_NO=0&CMD=PROCESS_VARIABLES&SUBCMD=VAR_SUBMIT&...
    Will appreciate any hints!
    Vitalik

    This is a pretty normal thing to have to do, even on a form you can't guarantee all the values will be returned (unchecked checkboxes for instance won't ever send a value).
    In my code I am checking to see if these params are in
    the url or not:
    arg1 = request.getParameter("arg1");
    if(arg1 == null)
    do something1;
    arg2 = request.getParameter("arg2");
    if(arg2 == null)
    do something2;
    Just change your logic a little:
    // If the param is passed, get the value ...
    if (request.getParameter("arg1") != null)
        arg1 = request.getParameter("arg1");
    else // No parameter "arg1" passed ...
        // do something

  • No value for given parameters error when using command parameters in RDC.

    I am trying to create a report using RDC with a parameter in the query, but I keep getting "No value for given parameters" error.  Here is the code I use:
    Dim creport As CRAXDDRT.Report
    Dim appn As CRAXDDRT.Application
    Dim datcmd1 As New ADODB.Command
    Dim adocn As New ADODB.Connection   
    Dim sqltext As String
    Dim x As CRAXDDRT.ParameterFieldDefinition
    Set appn = New CRAXDDRT.Application
    Set creport = appn.NewReport
    Set x = creport.ParameterFields.Add("test", 2)
    x.AddCurrentValue 0
    sqltext = "SELECT Name FROM TestTable WHERE ID={?test}"
    Set adocn = New ADODB.Connection
    adocn.Open "Provider=SQLOLEDB;Data Source=myDB;UID=xxx;PWD=xxx;"
    Set datcmd1 = New ADODB.Command
    Set datcmd1.ActiveConnection = adocn
    datcmd1.CommandText = sqltext
    creport.Database.AddADOCommand adocn, datcmd1
    creport.SaveAs "test", crDefaultFileFormat
    Set datcmd1 = Nothing
    Set adocn = Nothing
    Set creport = Nothing
    Set appn = Nothing

    Hello, Paul;
    If you add your database connection to the command object and put fields on your report without the parameter, do you get the report you expect?
    These are version 8/8.5 samples but the code is the same:
    [Note 1|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
    [Note 2|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
    Once you have added the database connection follow that with the parameter code.
    [Note 3|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
    [Note 4|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
    If you add the parameter and put the field on the report, can you pass the value successfully?
    Elaine

  • How to set plug-in Java Runtime parameters on JRE setup command line

    Hi all:
    I need to install JRE and set the Java Runtime Parameters -Xmx
    by command line ..
    I mean I don't want enter Control panel and set this parameter manually in Java Runtime Parameters textBox..
    thanx.
    Best regards
    w.shiha

    Documentation for controlling the installation is sadly lacking in detail. This is the best I have seen for the Windows environment:
    http://java.com/en/download/help/silent_install.xml
    But, there are numerous other PROPERTY variables that are not discussed. Particularly annoying is the addition of yet another JavaUpdate item with the release of 1.5.0_05. If you can get more information, please post a link to it here.

  • Different parameters for different sheets- Command Line Script

    Hi,
    I am using command line script to run my discoverer report.
    I have 5 sheets in the workbook out of which, 2 has a PeriodID parameter, and the other 3 sheets does not have parameters.
    Is it possible to execute this scenario.
    This is the script i use:
    string8 = "C:\oracle\BIToolsHome_1\bin\dis51usr.exe /connect uname/pwd@instance /apps_gwyuid APPLSYSPUB/PUB /apps_fndnam APPS /apps_user /apps_responsibility Resp_Name /opendb workbook /sheet sheet1 /sheet sheet2 /sheet sheet3 /parameter PeriodID 2008004 /sheet sheet4 /parameter PeriodID 2008004 /sheet sheet5 /export XLS file_name /batch"
    Your inputs are highly appreciated.
    Thanks.

    Hi
    No, you cannot do this. You have to supply the parameters to each worksheet separately, even though different worksheets may use the same parameter(s).
    Best wishes
    Michael

  • Adding Parameters in a Filter

    On a scale of one to "Dear God, what is that *thing*!?", how bad is
    it to add parameters to an HttpServletRequest in a Filter?
    I'm not entirely sure why there isn't an addParameter method in
    the request class, so it's hard for me to judge. Is it an optimization,
    or part of the contract?
    Also, does anybody have a good name for such
    a class? :)

    I'm not entirely sure why there isn't an addParameter
    method in
    the request class, so it's hard for me to judge. Is
    it an optimization,
    or part of the contract?There are two types of values that can exist in HttpServletRequest: parameters and attributes. The parameters are the values that are sent from the client side (in submit) and these values can't be modified. Also no other parameters can be added on server side in the request object. Their scope is request.
    The attributes are the values that can be added to the HttpServletRequest on the server side. They can be removed. They exist in the request only during the first forward (Attributes are reset between requests).
    So, it sound like a contract.
    If you need in the request an attribute (that behave as previously described), it is not uncommon to set it in a filter class.
    >
    Also, does anybody have a good name for such
    a class? :)The name of the class generally depends on the functionality the class encapsulates. Fiters names generally ends with 'Filter': "SessionFilter".

  • Adding Parameters to RXi Report

    Hi All,
    I need to do a modification to Receipt Register Report in AR. This report is a spawned program. I need suggestions to modify this program. The requirement is I need to add the company segments low and high as parameters. I have modified the package to suit my requirement. But while running with out giving values to the company segments the program running smoothly. But if I give values to the company segment the program ends up with the error message "ORA-01006: bind variable does not exist". But I have added my requirement in all the stages of the package. Please help me out.
    Thanks,
    Raja

    Hi Praveen,
    This report is used by standard functionality for Mass change in Background. Since caller program again can only be enhanced at end. Then how will I tell stardard code to call the Z program instead of standard one?
    One alternative is to do the create Z program and do same functionality for our custom attributes. Then call this program also in same caller program. But this will be too much of processing overhead and may consume more time to process.
    Regards,

  • Adding parameters to xcelsius dashboard

    Hello All,
    I am new to xcelsius and would like to have advises and help regarding my needs.
    I have selected the columns which I want from the "Universe Query" and get the data in the excel sheet in xcelsius. Now, I have added a scorecard and it is reading perfectly from the xcel sheet. The user had requested for additional requirements that they want parameters to select the dates which they want for example "1-1-2011"-"2-1-2011"-"3-1-2011"-"10-1-2011". So, how do I implement this? Any advises? Tutorials?
    Thanks for the help

    Hello Maas,
    I think there are several ways to do so, but I can only think about two ways by the moment:
    One way is by using a Selector component, select as Labels the colunm with the dates, and on Data Insertion, Insertion Type select Filtered Rows. This option will filter the Source Data you select from the choosen date, and use the Destination to put it on another sheet. Then you can create your Charts over this flltered data.
    The other way is by using the query filter, as explained below:
    http://myxcelsius.com/2008/12/25/part-ii-live-dashboards-using-bo-liveoffice-creating-a-liveoffice-document-and-connect-it-to-businessobjects-universe-data/
    http://myxcelsius.com/2009/01/04/create-an-xcelsius-2008-dashboard-bound-to-live-office-data-using-prompt/
    Hope it helps!
    Regards.
    Bruna Dupim

  • Adding parameters to button programmatically

    H All,
    I have an requirement to pass the parameters of an single row selected by user to the next page. It is an advance table in iReceivables page. I have created an button in the advance table using personalization and when the user clicks on the button the values(1 to 3) will be forwarded to the next page.
    Can some one assist me on how to add parameters to an button programmatically.
    Regards,
    Ramakrishnan

    You cannot achieve this without Action (PPR)
    1. You need to extend the controller and programmatically configure the PPR on Button Click.
    Add Following code in PR:
    OAButtonBean button = (OAButtonBean) webBean.findChildRecursive("<ID of Button added by personalization>") ;
    // Assuming you need to pass just one parameter, PK of VO.
    Hashtable paramsWithBinds = new Hashtable(1);
    paramsWithBinds.put ("PKparam", new OADataBoundValueFireActionURL((OAWebBeanData)webBean,
    "{$<View Attribute name of the PK>}"));
    button.setFireActionForSubmit("<EVENT NAME OF PPR ON BUTTON CLICK>", null, paramsWithBinds,false, false);
    2.
    Add following Code in PFR:
    if("<EVENT NAME OF PPR ON BUTTON CLICK>".equals(pageContext.getParameter("event"))) {
    System.out.println("WE ARE IN HANDLE OF BUTTON CLICK");
    System.out.println( pageContext.getParameter("PKparam")) ;
    // PKParam is set in PR for the Primary Key of VO.
    //Now you can pass this as a parameter to your Next page.
    Regards,
    Prince
    http://princekapoor82.blogspot.com
    typo fixed.
    Edited by: Prince on Oct 11, 2011 11:20 PM

  • Adding parameters to Netbeans generated code

    I'm new to Netbeans and I'm sure this functionality exists, I just don't know what properties to select...
    I'm using the MigLayout and cannot figure out how to get the .add(Component) to pass additional parameters in the generated code.
    Netbeans Generated Code: jPanel4.add(jButton1);
    Desired Code:  panel.add(comp3, "wrap");
    There are custom code options for "pre-adding" and "post-adding" however that puts code in the lines above/below the .add(component) line. XXX.add(...) can take one - several parameters, how control them in Netbeans? I am finding the Netbeans support documentation to be extremely difficult to search and google usually turns up better results.
    Any suggestions??

    Thanks for the reply...
    Following these instructions,
    Right clicking on Component in the Object Browser
    Selecting Customize Code (edit only edited text on the component)
    I could only edit:
    jPanel4 = new javax.swing.JPanel();
    jRadioButton1.setText("jRadioButton1");
    but not:
    jPanel4.add(jButton1);
    Have a screen capture but don't see a way to attach files...

  • Adding Filter to use Unix command

    Hi Experts,
    Where I can get the information about adding the filters for using the Unix commands.
    I have seen the following Filter to use to unix command in one program.
    Eg: open dataset <dsn> for input in text mode filter <b>'dos2ux'</b>.?
    Here "dos2ux" is a filter Unix command they used in that program.
    Please let me know.
    thanks,

    Hi
    You can execute an operating system command in the OPEN DATASET statement using the FILTER addition:
    The following example works under UNIX:
    DATA DSN(20) VALUE '/usr/test.Z'.
    OPEN DATASET DSN FOR OUTPUT FILTER 'compress'.
    OPEN DATASET DSN FOR INPUT FILTER 'uncompress'.
    The first OPEN statement opens the file ‘/usr/test.Z’ so that the displayed data can be read into it in compressed form.
    The second OPEN statement opens the file ‘/usr/test.Z’ so that the data is decompressed when it is read from the file.
    regards
    austin

  • Passing Multiple Parameters values to a command- ORA-00907

    I am trying to create a report in CR2008 using a SQL query against an Oracle 9i database. The field ( im."Report_No") I am using the parameter ({?CaseNo}) on is a VarChar, even though it only contains numbers. The number is 9 digits in the database (like 123456789), but is used differently by the users (12-456789) omitting the 3rd character. The query below works with a single value in the parameter, but returns ORA-00907 when multiple values are used.
    SELECT im."Report_No"
    --, ic."Report_No" Redundant from IM
    , im."Reported_Date"
    , im."Assignment"
    , CASE
    WHEN ip."Address" IS NOT NULL
    THEN ip."Address"
    WHEN ip."Address" IS NULL
    AND ia."Address" IS NOT NULL
    THEN ia."Address"
    WHEN ip."Address" IS NULL
    AND ia."Address" IS NULL
    THEN im."Location"
    END Address
    , CASE
    WHEN ip."City" IS NOT NULL
    THEN ip."City"
    WHEN ip."City" IS NULL
    AND ia."City" IS NOT NULL
    THEN ia."City"
    WHEN ip."City" IS NULL
    AND ia."City" IS NULL
    THEN im."City"
    END City
    , CASE
    WHEN ip."State" IS NOT NULL
    THEN ip."State"
    WHEN ip."State" IS NULL
    AND ia."State" IS NOT NULL
    THEN ia."State"
    WHEN ip."State" IS NULL
    AND ia."State" IS NULL
    THEN 'NV'
    END State
    , CASE
    WHEN ip."ZIP_Code" IS NOT NULL
    THEN ip."ZIP_Code"
    WHEN ip."ZIP_Code" IS NULL
    AND ia."ZIP_Code" IS NOT NULL
    THEN ia."ZIP_Code"
    WHEN ip."ZIP_Code" IS NULL
    AND ia."ZIP_Code" IS NULL
    THEN im."ZIP_Code"
    END Zip_Code
    , ip."First_Name" || ' ' || ip."Last_Name" Name
    , ip."Involvement"
    FROM "TIBURON"."RP_INMAST_VIEW" im
    INNER JOIN "TIBURON"."RP_INCASE_VIEW" ic
    ON im."Report_No" = ic."Report_No"
    INNER JOIN "TIBURON"."RP_INPER6_VIEW" ip
    ON im."Report_No" = ip."Report_No"
    LEFT OUTER JOIN "TIBURON"."RP_INADRS_VIEW" ia
    ON ip."INPER6_ID" = ia."INPER6_ID"
    WHERE im."Report_No" IN (substr({?CaseNo}, 1, 2))|| '0' || (substr({?CaseNo}, 4, 6))
    AND ip."Involvement" = '{?InvCode}'
    Thanks in advance for any help.
    Edited by: James Cody on Dec 29, 2011 8:49 PM

    Hi James,
    Does the query accept commad separated values? Could you check if the query runs fine (with multiple values passed as a command separated string) on the database (using SQL+)?
    -Abhilash

  • Need Help Adding Parameters to addWatermarkFromText using VBA

    After three days of banging my head on a wall, I got this to work:
    Public Sub AddText()
        Dim pdApp As Acrobat.AcroApp
        Dim pdDoc As Acrobat.AcroPDDoc
        Dim jso As Object
        Set pdDoc = CreateObject("AcroExch.PDDoc")
        pdDoc.Open ("c:\Test\Test.pdf")
        Set jso = pdDoc.GetJSObject
        jso.addWatermarkFromText ("Test")
        pdDoc.Save 1, "c:\Test\Test.pdf"
        pdDoc.Close
        Set pdDoc = Nothing
        MsgBox "Done"
    End Sub
    However, every time I try to add parameters to jso.addWatermarkFromText I get an error message - something is wrong with my syntax I suppose but i have tried every example I could find and nothing is working for me.  Please help - all of the default parameters are find, just need the text to be at the top of the page, not the center.

    Where did you get the impression that you can execute JavaScript in Acrobat
    using this method? You really (let me repeat that REALLY) have to read the
    SDK documentation. There no no way around that. Anything that is not
    described in the documentation will not work. There is only one way to
    execute JavaScript using the IAC API, and that is using this call:
    http://livedocs.adobe.com/acrobat_sdk/11/Acrobat11_HTMLHelp/IAC_API_FormsIntro.108.45.html
    However, in this case there is no need to use the executeThisJavaScript
    function, you can use the JSO to add your watermark. Everything you need is
    in the documentation, and as I mentioned before, there is no way around
    reading and understanding the docs. You cannot just google your way through
    a complex problem and try to piece together a solution based on bits and
    pieces you find online. Why do I know this? Because oftentimes I get called
    in after somebody tries that approach to save some money. I then get to
    clean up the mess they made, and then it's not going to be cheap... And
    this is one of the reasons why people are reluctant to provide code samples
    in this forum.
    Using a complex API as the Acrobat SDK requires you to climb a pretty steep
    learning curve, and you have to spend weeks and months (and sometimes
    years) reading and experimenting until you understand how things work. And
    that is why it's usually cheaper and faster to hire somebody to do that
    work for you.
    Back to  your  problem. What have you tried? I only remember seeing your
    call to addWatermarkFromText using just the text argument. BTW: There was
    no need to start a new thread, you should have kept everything in the first
    thread you started, this way everything is in one place. If you've posted
    more in the other thread, then you are making it much harder for us to
    provide help.
    So again, what have you tried and what results have you gotten? What error
    messages did the system produce? When? When you compiled the code, or when
    you tried to execute it?
    Karl Heinz Kremer
    PDF Acrobatics Without a Net
    PDF Software Development, Training and More...
    [email protected]
    http://www.khkonsulting.com
    On Sat, Jul 27, 2013 at 8:31 AM, I Love Mustangs

  • Parameters in a OleDb Command Transformation

    Hi there,
    In order to prevent lookup errors in a lookup transformation, I've decided to go for an OleDb Command Transformation.
    This transformation should check the lookup and, if it turns out to be null, ir returns a dummy value. Otherwise, it would return the lookup value.
    This should be done by doing something like this:
    select coalesce( (select ID_Table2 from ID_Table2 where FK_Table1 = ?), 0)
    suposing Table2 has an atribute called "FK_Table1" that should match a column in the data flow.
    Now, such command result in this message:
    "An OLE DB record is available. Source "Microsoft SQL Native Client" Hresult: 0x80004005 Description: "Syntax eror, permission violation, or other nonspecific error".
    But, it I remove the coalesce and type the following command:
    select ID_Table2 from ID_Table2 where FK_Table1 = ?
    It presents me no errors and allows me to continue.
    Did i did anything wrong or is this something that is not possible to be done?
    I know i have the option to use a script task to do this operation, but that would turn the maintenance process a little more difficult.
    Otherwise, i know i could also re-direct the error from the lookup transformation and handle it. Though, my package has about 10 lookups and that would turn my package a lot more complex than
    Thanks in advance
    Best Regards
    André Santana

    Andre,
    You have more than one option to return a dummy value if the lookup fails. Here is one:
    1.       Configure the lookup component error output to 'ignore failure'; the place a derived column after the lookup to replace the nulls in the lookup column by the dummy value
    As Phil says, OLE DB command will perform the operation for every row then the performance is worse than using Lookup transform

Maybe you are looking for

  • Batch job creation for sending email if the invoice is aged

    Positive confirmation: Send system notification to the requestor if: a) An invoice is received and GR is not yet posted in the ECC system. b) An 'aged' invoice and GR is not yet posted in the ECC system. This requirement is for USA only. i.e., we hav

  • How do I disable the credentials prompt on Lion/ML for common tasks?

    I am a long time PC user and have always used Microsoft operating systems, mainly since that was where I started 20 years ago. Although I know I'll never get away from MS products I have, for various reasons, decided to move to a Mac for my day-to-da

  • Subscription paid but account inactive - Payment ...

    Hi username - anup_nz 400 mintues India subscription I had paid for the 400 mintues to India - The amount has been withdrawn from the account and payment reference received-but yet I am unable to make calls with my subscription.  I have been waiting

  • 10gR1 OEM can not verify Solaris 10 host. 10gR2 agent can upload though

    Got following error when tried to verify Solaris 10 host. I have 10gR1 (1.0.3) fresh installation without patch on server 1. Recently I installed 10g R2 agent on a Solaris 10 server 2. The agent can upload data back to the OMS without problem. But af

  • Palm Desktop 4.1.4e vs. 4.1.4

    I have a Tungsten T5 since November 2004 and have Windows XP Home.  The Desktop software version says 4.1.4 and it's dated 9/30/04 @ 8:33pm.  Also HotSync Manager is 6.0.1 dated 6/9/04 @ 3:16 pm.  How can I determine if I have version "e" of the 4.1.