Focus on parameter

I use built-in parameters ASP.NET prompt. Is it possible to set focus on first parameter (e.g. text box) if prompt web page appears ?
Thanks.

I would recommend to post your question in the CR .NET programming forum and close the current thread:
Here is the link to the forum:
SAP Crystal Reports, version for Visual Studio
Regards,
Stratos

Similar Messages

  • Parameter form focus

    Hi there,
    Application Server Forms and Reports 10.1.2.3
    Windows Server 2003 R2 SP2
    Forms Applet version is : 10.1.2.3
    Java Plug-in 1.6.0_18
    Using JRE version 1.6.0_18-b07 Java HotSpot(TM) Client VM
    After migrating to forms 10g when the parameter form is displayed to users in a browser the focus is not in the text box like it was in the 6i client.
    Is there any way to have the focus so the user doesn't have to click the mouse in the text box?
    Thanks,
    faoilean.

    Anyone have ideas as to how I might do this as of yet I cannot find a solution.
    Thanks

  • Focus on CR parameter

    I use Crystal Reports built-in parameters ASP.NET prompt. Is it possible to set focus on first parameter (e.g. text box) if prompt web page appears ?
    Thanks.

    Please see this post for more info: Welcome and Rules of Engagement

  • How to add landing page s-parameter to a form submission?

    Hi,
    Really hoping somebody can help me. This is something I have seen used in many of my previouse roles and I would like to introduce it to my current position but am a bit lost. We develop our website inhouse and are currently in the process of migrating it to Dreamweaver CSS, which I am unfamiliar with.
    What I want to do is introduce a tracking code that allows me to see excatly where the original click came from on all Email submissions (conversions).
    What i would like to happen is, when a lead form from our website is submitted there is a hidden default field that comes through to us on the Email submission. That field should (if all goes to plan) pull the S parameter from the URL of the landing page. This S parameter is a code that I have generated and placed in the destination URL of all PPC ads and campaigns (as below)
    I believe I have the correct piece of script ,  I’m just not sure how to place it and what I need to amend within it .
        <form action="jspostto.htm" method="get">
            <input type="hidden" id="hiddenParameterValue" name="hiddenParameterValue" />
            <input type="submit" value="Submit" />
        </form>
        blah<br />
        <script language="javascript" type="text/javascript">
            document.getElementById("hiddenParameterValue").value = getParam("f");       
        </script>
    An example of the kind or code I am putting in is www.sapphiresystems.com/uk/sunsystems/index.htm?s=GUKAOOH02&K={keyword} in the destination URLs of PPC campaigns and Facebook links to the website as such www.sapphiresystems.com/sapb1/index.htm?s=FBSAPBOX.
    Really appreciate any help or insight you can offer,
    Many thanks
    Kiti

    Hi Both,
    Apologies, yes we are on PHP,
    This is what is really throwing me off .... i don't know what WEBBOT is? I have posted everything that was between form tags, just incase i let anything important out.
    Again really appreciate all the help and advice,
    Thanks , Kiti
    <!--webbot BOT="GeneratedScript" PREVIEW=" " startspan --><script language="JavaScript" type="text/javascript"><!--
    function FrontPage_Form1_Validator(theForm)
      if (theForm.Name.value == "")
        alert("Please enter a value for the \"Name\" field.");
        theForm.Name.focus();
        return (false);
      if (theForm.Email.value == "")
        alert("Please enter a value for the \"Email\" field.");
        theForm.Email.focus();
        return (false);
      if (theForm.Heard_Sapphire.selectedIndex < 0)
        alert("Please select one of the \"Heard_Sapphire\" options.");
        theForm.Heard_Sapphire.focus();
        return (false);
      if (theForm.Heard_Sapphire.selectedIndex == 0)
        alert("The first \"Heard_Sapphire\" option is not a valid selection.  Please choose one of the other options.");
        theForm.Heard_Sapphire.focus();
        return (false);
      return (true);
    //--></script><!--webbot BOT="GeneratedScript" endspan --><form method="POST" action="../../_derived/nortbots.htm" onsubmit="location.href='../../_derived/nortbots.htm';return false;" language="JavaScript" name="FrontPage_Form1" webbot-onsubmit="return FrontPage_Form1_Validator(this)" webbot-action="--WEBBOT-SELF--">
        <!--webbot bot="SaveResults" U-File="../_private/form_results.csv" S-Format="TEXT/CSV" S-Label-Fields="TRUE" startspan B-Reverse-Chronology="FALSE" S-Email-Format="TEXT/PRE" S-Email-Address="[email protected]" B-Email-Label-Fields="TRUE" B-Email-Subject-From-Field="FALSE" S-Email-Subject="Sapphire Website - SunPlanning demo request" S-Builtin-Fields U-Confirmation-Url="thanks_demo.htm" --><input type="hidden" name="VTI-GROUP" value="0"><!--webbot bot="SaveResults" endspan i-checksum="43374" -->
        <table border="0" width="724" id="table6" height="681" cellspacing="0" cellpadding="0">
         <!-- MSTableType="nolayout" -->
         <tbody><tr>
          <td bgcolor="#FFFFFF" colspan="8" height="145" valign="top">
       <p style="margin-right: 25px; margin-top: 0; margin-bottom: 0; margin-left:18px; line-height:14pt">
       <b><font face="Arial" style="font-size: 14pt" color="#003366">Demo
       SunPlanning</font></b></p>
       <p style="margin-right: 25px; margin-top: 0; margin-bottom: 0; margin-left:18px; line-height:14pt"> 
       </p>
       <p style="margin-right: 25px; margin-top: 0; margin-bottom: 0; margin-left:18px; line-height:14pt">
       <font style="FONT-SIZE: 8pt" face="Arial">Please complete this short
       form and, upon receipt of your request, we’ll send you through your
       a link to your online demonstration. </font></p>
       <p style="margin-right: 25px; margin-top: 0; margin-bottom: 0; margin-left:18px; line-height:14pt"> 
       </p>
       <p style="margin-right: 25px; margin-top: 0; margin-bottom: 0; margin-left:18px; line-height:14pt">
       <font face="Arial">
       <span style="font-size: 8.0pt; font-style:italic">We respect your
       privacy. We do not share your details with anyone outside Sapphire.
       </span></font></p>
          </td>
          </tr>
         <tr>
          <td bgcolor="#FFFFFF"> </td>
          <td bgcolor="#FFFFFF" style="border-top: 1px dotted #C0C0C0"> </td>
          <td bgcolor="#FFFFFF" style="border-top: 1px dotted #C0C0C0"> </td>
          <td colspan="2" bgcolor="#FFFFFF" style="border-top: 1px dotted #C0C0C0"> </td>
          <td bgcolor="#FFFFFF" height="19" style="border-top: 1px dotted #C0C0C0"> </td>
          <td bgcolor="#FFFFFF" height="19" style="border-top: 1px dotted #C0C0C0"> </td>
          <td bgcolor="#FFFFFF" height="19" style="border-top: 1px dotted #C0C0C0"> </td>
         </tr>
         <tr>
          <td bgcolor="#FFFFFF"> 
          </td>
          <td bgcolor="#FFFFFF" align="left">
          <span style="font-weight: 700">
          <font face="Arial" style="font-size: 8pt" color="#003366">
          Title</font></span><font face="Arial" style="font-size: 8pt; font-weight: 700" color="#003366">:</font></td>
          <td colspan="6" bgcolor="#FFFFFF" height="23">
           <select size="1" name="Title0" style="font-family: Arial; font-size: 8pt; background-color: #F4F4F4">
          <option>Mr</option>
          <option>Mrs</option>
          <option>Miss</option>
          <option>Ms</option>
          <option>Dr</option>
          </select></td>
         </tr>
         <tr>
          <td bgcolor="#FFFFFF"> 
          </td>
          <td bgcolor="#FFFFFF" align="left">
          <p>
          <font face="Arial" style="font-size: 8pt; font-weight: 700" color="#003366">
          Name:</font></p></td>
          <td colspan="6" bgcolor="#FFFFFF" height="23">
          <font color="#003366">
           <!--webbot bot="Validation" b-value-required="TRUE" --><input type="text" name="Name" size="35" style="font-family: Arial; font-size: 8pt; background-color:#F4F4F4">  </font>
          <font color="#FF0000" face="Arial" style="font-size: 8pt; ">
          * Required Field</font></td>
         </tr>
         <tr>
          <td bgcolor="#FFFFFF"> 
          </td>
          <td bgcolor="#FFFFFF" align="left">
          <p>
          <font face="Arial" style="font-size: 8pt; font-weight: 700" color="#003366">
          Title:</font></p></td>
          <td colspan="6" bgcolor="#FFFFFF" height="22">
          <font color="#003366">
           <input type="text" name="Position" size="35" style="font-family: Arial; font-size: 8pt; background-color:#F4F4F4"></font></td>
         </tr>
         <tr>
          <td bgcolor="#FFFFFF"> 
          </td>
          <td bgcolor="#FFFFFF" align="left">
          <p>
          <font face="Arial" style="font-size: 8pt; font-weight: 700" color="#003366">
          Company:</font></p></td>
          <td colspan="6" bgcolor="#FFFFFF" height="22">
          <font color="#003366">
           <input type="text" name="Company" size="35" style="font-family: Arial; font-size: 8pt; background-color:#F4F4F4"></font></td>
         </tr>
         <tr>
          <td bgcolor="#FFFFFF"> 
          </td>
          <td bgcolor="#FFFFFF" align="left">
          <p>
          <font face="Arial" style="font-size: 8pt; font-weight: 700" color="#003366">
          Email Address:</font></p></td>
          <td colspan="6" bgcolor="#FFFFFF" height="23">
          <font color="#003366">
           <!--webbot bot="Validation" b-value-required="TRUE" --><input type="text" name="Email" size="35" style="font-family: Arial; font-size: 8pt; background-color:#F4F4F4"> </font>
          <font color="#FF0000" face="Arial" style="font-size: 8pt; font-weight: 700"> 
          </font><font color="#FF0000" face="Arial" style="font-size: 8pt; ">
          * Required Field</font></td>
         </tr>
         <tr>
          <td bgcolor="#FFFFFF"> 
          </td>
          <td bgcolor="#FFFFFF" align="left">
          <p>
          <font face="Arial" style="font-size: 8pt; font-weight: 700" color="#003366">
          Telephone:</font></p></td>
          <td colspan="6" bgcolor="#FFFFFF" height="22">
          <font color="#003366">
           <input type="text" name="Telephone" size="20" style="font-family: Arial; font-size: 8pt; background-color:#F4F4F4"></font></td>
         </tr>
         <tr>
          <td colspan="8" bgcolor="#FFFFFF" height="19"> </td>
         </tr>
         <tr>
          <td bgcolor="#FFFFFF"> 
          </td>
          <td bgcolor="#FFFFFF" align="left" style="border-top: 1px dotted #C0C0C0"> 
          </td>
          <td bgcolor="#FFFFFF" style="border-top: 1px dotted #C0C0C0"> 
          </td>
          <td bgcolor="#FFFFFF" style="border-top: 1px dotted #C0C0C0"> </td>
          <td bgcolor="#FFFFFF" style="border-top: 1px dotted #C0C0C0"> 
          </td>
          <td bgcolor="#FFFFFF" height="20" style="border-top: 1px dotted #C0C0C0"> </td>
          <td bgcolor="#FFFFFF" height="20" style="border-top: 1px dotted #C0C0C0"> </td>
          <td bgcolor="#FFFFFF" height="20" style="border-top: 1px dotted #C0C0C0"> </td>
         </tr>
         <tr>
          <td bgcolor="#FFFFFF"> 
          </td>
          <td bgcolor="#FFFFFF" align="left">
          <font face="Arial" style="font-size: 8pt; font-weight: 700" color="#003366">
          Address 1:</font></td>
          <td colspan="6" bgcolor="#FFFFFF" height="23">
          <font color="#003366">
           <input type="text" name="Address1" size="30" style="font-family: Arial; font-size: 8pt; background-color:#F4F4F4"></font></td>
         </tr>
         <tr>
          <td bgcolor="#FFFFFF"> 
          </td>
          <td bgcolor="#FFFFFF" align="left">
          <span style="font-weight: 700">
          <font face="Arial" style="font-size: 8pt" color="#003366">
          Address 2</font></span><font face="Arial" style="font-size: 8pt; font-weight: 700" color="#003366">:</font></td>
          <td colspan="6" bgcolor="#FFFFFF" height="23">
          <font color="#003366">
           <input type="text" name="Address2" size="30" style="font-family: Arial; font-size: 8pt; background-color:#F4F4F4"> </font></td>
          </tr>
          <tr>
          <td bgcolor="#FFFFFF"> 
          </td>
          <td bgcolor="#FFFFFF" align="left">
          <font face="Arial" style="font-size: 8pt; font-weight: 700" color="#003366">
          Town:</font></td>
          <td colspan="6" bgcolor="#FFFFFF" height="22">
          <font color="#003366">
           <input type="text" name="Town" size="22" style="font-family: Arial; font-size: 8pt; background-color:#F4F4F4"></font></td>
           </tr>
           <tr>
          <td bgcolor="#FFFFFF"> 
          </td>
                <td bgcolor="#FFFFFF" align="left">
          <font face="Arial" style="font-size: 8pt; font-weight: 700" color="#003366">
          Post Code:</font></td>
          <td colspan="6" bgcolor="#FFFFFF" height="23">
          <font color="#003366">
           <input type="text" name="PostCode" size="10" style="font-family: Arial; font-size: 8pt; background-color:#F4F4F4"> </font>
          <font color="#FF0000" face="Arial" style="font-size: 8pt; font-weight: 700"> </font></td>
             </tr>
         <tr>
          <td bgcolor="#FFFFFF"> 
          </td>
          <td bgcolor="#FFFFFF" align="left" style="border-bottom: 1px dotted #C0C0C0; border-top-style:none; border-top-width:medium"> 
          </td>
          <td bgcolor="#FFFFFF" style="border-bottom: 1px dotted #C0C0C0; border-top-style:none; border-top-width:medium"> 
          </td>
          <td bgcolor="#FFFFFF" style="border-bottom: 1px dotted #C0C0C0; border-top-style:none; border-top-width:medium"> </td>
          <td bgcolor="#FFFFFF" style="border-bottom: 1px dotted #C0C0C0; border-top-style:none; border-top-width:medium"> 
          </td>
          <td bgcolor="#FFFFFF" height="20" style="border-bottom: 1px dotted #C0C0C0; border-top-style:none; border-top-width:medium"> </td>
          <td bgcolor="#FFFFFF" height="20" style="border-bottom: 1px dotted #C0C0C0; border-top-style:none; border-top-width:medium"> </td>
          <td bgcolor="#FFFFFF" height="20" style="border-bottom: 1px dotted #C0C0C0; border-top-style:none; border-top-width:medium"> </td>
         </tr>
         <tr>
          <td bgcolor="#FFFFFF"> </td>
          <td bgcolor="#FFFFFF" align="left"> </td>
          <td bgcolor="#FFFFFF"> 
          </td>
          <td bgcolor="#FFFFFF"> </td>
          <td bgcolor="#FFFFFF"> 
          </td>
          <td bgcolor="#FFFFFF" height="19"> </td>
          <td bgcolor="#FFFFFF" height="19"> </td>
          <td bgcolor="#FFFFFF" height="19"> </td>
         </tr>
         <tr>
          <td bgcolor="#FFFFFF" valign="top"> 
          </td>
          <td bgcolor="#FFFFFF" valign="top" align="left">
          <p>
          <font face="Arial" color="#003366" style="font-size: 8pt; font-weight: 700">
          Notes/Additional
          Info:</font></p></td>
          <td colspan="6" bgcolor="#FFFFFF" height="84">
          <p>
           <textarea rows="5" name="Notes" cols="40" style="font-family: Arial; font-size: 8pt; background-color:#F4F4F4"></textarea></p></td>
         </tr>
         <tr>
          <td colspan="8" bgcolor="#FFFFFF" height="19"> </td>
         </tr>
         <tr>
          <td bgcolor="#FFFFFF"> 
          </td>
          <td bgcolor="#FFFFFF" align="left" style="border-left-width: 1px; border-right-width: 1px; border-top: 1px dotted #C0C0C0; border-bottom-width: 1px"> 
          </td>
          <td colspan="6" bgcolor="#FFFFFF" height="22" style="border-left-width: 1px; border-right-width: 1px; border-top: 1px dotted #C0C0C0; border-bottom-width: 1px"> 
          </td>
         </tr>
         <tr>
          <td bgcolor="#FFFFFF"> 
          </td>
          <td bgcolor="#FFFFFF" align="left">
          <p>
          <font color="#003366" face="Arial" style="font-size: 8pt; font-weight: 700">
          How did you find us? </font>
          </p></td>
          <td colspan="6" bgcolor="#FFFFFF" height="22">
          <font color="#003366" face="Arial" style="font-size: 8pt; font-weight: 700">
           <!--webbot bot="Validation" b-value-required="TRUE" b-disallow-first-item="TRUE" --><select size="1" name="Heard_Sapphire" style="font-family: Arial; font-size: 8pt; background-color:#F4F4F4">
          <option>Please Select...</option>
          <option>Advertising</option>
          <option>Direct Mail</option>
          <option>Email Promotion</option>
          <option>Other</option>
          <option>Press Article</option>
          <option>Recommendation</option>
          <option>Web Search - Google</option>
          <option>Web Search - Bing</option>
          <option>Web Search - Other</option>
          <option>Web Search - Yahoo!</option>
          </select> </font>
          <font color="#FF0000" face="Arial" style="font-size: 8pt; ">
           * Required Field</font></td>
         </tr>
         <tr>
          <td bgcolor="#FFFFFF"> </td>
          <td bgcolor="#FFFFFF" align="left"> </td>
          <td bgcolor="#FFFFFF"> </td>
          <td colspan="2" bgcolor="#FFFFFF"> </td>
          <td bgcolor="#FFFFFF" height="19"> </td>
          <td bgcolor="#FFFFFF" height="19"> </td>
          <td bgcolor="#FFFFFF" height="19"> </td>
         </tr>
         <tr>
          <td bgcolor="#FFFFFF"> </td>
          <td bgcolor="#FFFFFF" align="left"> </td>
          <td bgcolor="#FFFFFF" colspan="6">
          <input type="submit" value="Submit Enquiry" name="Enquiry" style="float: left; font-size:8pt; font-family:Arial; color:#FFFFFF; font-weight:bold; background-color:#FF6600"></td>
         </tr>
         <tr>
          <td width="17"> </td>
          <td width="158" align="left"></td>
          <td width="136"></td>
          <td width="34"></td>
          <td width="137"></td>
          <td height="1" width="40"></td>
          <td height="1" width="174"></td>
          <td height="1" width="30"></td>
         </tr>
         </tbody></table>
       </form>

  • SSRS Designer - XML Datasource - Parameter passing XML gets encoded, causes error on WS Request

    Hello,
    I am attempting to query a List from SharePoint using the XML Datasource. I am forced to use this datasource as our infrastructure team will not be upgrading our SSRS 2008 farm to SSRS 2008 R2 anytime soon. 2008 R2 has Native SharePoint
    List Datasources ( which works great FYI ). I already completed the report using the Native SP List DS, only to find out that my timing was not so great as 2008 R2 was not in production yet... /sigh, communication... anyways...
    I have successfully queried the List using the XML Datasource. It is only when I try to use the CAML query in the query parameter that it fails. So, here is my Query:
    <Query>
    <SoapAction>http://schemas.microsoft.com/sharepoint/soap/GetListItems</SoapAction>
    <Method Namespace="http://schemas.microsoft.com/sharepoint/soap/" Name="GetListItems">
    <Parameters>
    <Parameter Name="listName">
    <DefaultValue>{DD3DE881-1F9D-4016-AD73-F7E1D9340880}</DefaultValue>
    </Parameter>
    <Parameter Name="query">
    <DefaultValue>
    <Query>
    <Where>
    <Gt>
    <FieldRef Name="Modified" />
    <Value Type="DateTime">2011-03-01</Value>
    </Gt>
    </Where>
    </Query>
    </DefaultValue>
    </Parameter>
    </Parameters>
    </Method>
    <ElementPath IgnoreNamespaces="True">*</ElementPath>
    </Query>
    I will be replacing that hard date with something like =DateAdd("d",-7,Now()) later, but focusing on the task at hand...
    Here is the error ( trimmed so you don't need to read the whole stack ):
    <soap:Body>
    <soap:Fault>
    <faultcode>soap:Server</faultcode>
    <faultstring>Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.</faultstring>
    <detail>
    <errorstring xmlns="http://schemas.microsoft.com/sharepoint/soap/">Element &lt;Query&gt; of parameter query is missing or invalid.</errorstring>
    <errorcode xmlns="http://schemas.microsoft.com/sharepoint/soap/">0x82000000</errorcode>
    </detail>
    </soap:Fault>
    </soap:Body>
    The key to that error is:  Element &lt;Query&gt; of parameter query is missing or invalid.
    So I see that it is being encoded, so I decided to capture the actual Webservice request with Fiddler:
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <GetListItems xmlns="http://schemas.microsoft.com/sharepoint/soap/">
    <query>
    &lt;Query&gt;
    &lt;Where&gt;
    &lt;Gt&gt;
    &lt;FieldRef Name="Modified" /&gt;
    &lt;Value Type="DateTime"&gt;2011-03-01&lt;/Value&gt;
    &lt;/Gt&gt;
    &lt;/Where&gt;
    &lt;/Query&gt;
    </query>
    <listName>{DD3DE881-1F9D-4016-AD73-F7E1D9340880}</listName>
    </GetListItems>
    </soap:Body>
    </soap:Envelope>
    So now that we know that somehow the XML parameter of "query" is being encoded. How do I tell the SSRS designer that for this XML datasource's dataset query, I do not wish to encode that parameter?  I have searched all day today and came up with
    very little. I found a few posts with a simliar question, but no solution was ever mentioned.
    The closest to a likely solution was this Post :
    http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/8a9ba2fc-26cd-423e-bbbf-a16b5c9722f5/
    in particular this phrase interested me:
    "Query parameters of type Msxml2.DOMDocument30 are passed as XML. Parameters of type String which happen to contain XML are passed as strings and are XML encoded in the SOAP message. The function CXml(String) converts a string
    into an Msxml2.DOMDocument30 and can be used in query parameter expressions."
    Similar to the poster of that question, I also cannot find a way to define the parameter as an XML type or the use of this mysterious CXML() function in the expression builder...
    I'm looking for a Microsoft resource to tell me whats going on here, but if anyone else has a workaround or an idea, I would be happy to try it out.
    Regards,
    -Ryan, Solution Architect

    Hi Ryan,
    Thanks for your question, from your statement, it seems that you want to give a default value for the parameter named query, right? If so I would recommend you achieve this requirement in report level, please follow these:
    1. Create a parameter named Date, select Date/Time as data type.
    2. Move to Default values tab, then click Add button ->type in  =DateAdd("d",-7,Now())  as defult value's expression.
    3. Right-cilck the dataset, and then select DataSet properties.
    4. Move to Filters tab, click add button to add a filter.
    5. In the drop-down list of Expression, select Modified datefield with Date/Time datatype.
    6. Type in =Parameters!Date.Value in value's textbox.
    Similar thread, please get a reference from this
    http://social.technet.microsoft.com/Forums/en-US/sqlreportingservices/thread/24d30b00-139e-4487-9fb1-02f460b432f9
    If you have any question, please feel free to ask.
    Thanks,
    Challen Fu 
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Focus on JOptionPane

    I have a problem.
    If I want to change something within a table, a JOptionPane opens, in which i can enter some values.
    But if I switch to another program over the task bar while the JOptionPane is still open, and I return to my Java program over the task bar, the main window has the focus and the JOptionPane is hidden. During this, the user has no posibillity to close the program. The only possibility to get the JOptionPane back is by ALT+TAB!
    Is it possible, that the JOptionPane will over the task bar?

    Just to easy, that it is really embarassing:
    JOptionPane.showMessageDialog(frame,"Message");
    The first parameter is the parent container. If you pass your main frame, it is modal and in front of the frame!

  • SSAS report action to pass multi-value list of dimention key values to a SSRS report parameter

    This was originally posted on StackOverflow and suggested I try here as well.
    I want to create a report action in an SSAS OLAP cube that generates a list of formatted values to pass into an SSRS report parameter that accepts a multi-valued parameter list.  This would be applied at the
    cell level in the SSAS action.  I have found a solution that gets me most of the way:
    How to Pass Multiple Values from an SSAS Report Drill Through Action to an SSRS Multi-Value Parameter, but not quite.  The action does appear in Excel and works
    if I run the action from a cell that is at or below the dimension attribute I am generating the list for, in this case,
    Account Key.
    Below is a link to a screen capture (unable to embed it due to lack of reputation) showing the action and dimension structure in Excel.  The action works as long as I run it at the
    Account Key level or below.  I want to be able to run it at higher levels, such as
    Account Major and still have it generate all then related Account Key values for the SSRS report parameter.  Running it at the higher
    Account Major level does not trigger the report to run.
    Excel Action Screen Shot:
    http://i.stack.imgur.com/QCGSp.png
    Below is the MDX I am using to generate the value for the report parameter:
    UrlEscapeFragment(
    GENERATE(
    DESCENDANTS(
    [Account].[Account Key].CurrentMember,
    [Account].[Account Key].[Account Key]
    [Account].[Account Key].CURRENTMEMBER.Name,
    "&rp:Account="
    I am hoping that I can somehow modify the MDX above to make it return all the
    Account Keys for any attribute of the Account dimension when ran from any measure cell, not just when ran at self and children of
    Account Key in the pivot table.
    Also, if it helps, I can execute the following MDX query on the cube and get the results I am looking for.
    WITH MEMBER [Measures].[Account Key List] as
    GENERATE(
    DESCENDANTS([Account].[Account].CurrentMember, [Account].[Account].[Account]),
    [Account].[Account].CURRENTMEMBER.NAME,
    "&rp:Account=")
    SELECT {[Measures].[Account Key List]} on 0,
    ([Account].[Account Company Number].[Account Company Number],[Account].[Account Major].[Account Major]
    ) on 1
    FROM [Company 10 Action Demo]
    Below are partial results:
    10.116&rp:Account=10.116.010
    10.117&rp:Account=10.117.010&rp:Account=10.117.020
    10.120&rp:Account=10.120.005&rp:Account=10.120.006&rp:Account=10.120.010&rp:Account=10.120.020&rp:Account=10.120.030&rp:Account=10.120.040&rp:Account=10.120.050&rp:Account=10.120.060&rp:Account=10.120.380&rp:Account=10.120.999
    10.123
    Questions
    Any ideas what I might need to do to get Account Key to be returned for any attribute of the
    Account dimension?
    Would I possibly have to alter my Account dimension in the cube to get this to work?
    Thanks in advance.
    Edit 1 - Adventure Works Cube Version
    I was unable to get the suggested answer with the "Exists" function to work.  To better demonstrate this issue, I have recreated it using the Adventure Works Cube.
    I will focus on the Customer dimension, specifically the Customer and
    Education attributes.  I created a report action called Test Report Action.  Below is the XML created for it in the cube.
    <Action xsi:type="ReportAction" dwd:design-time-name="f35ad5ee-5167-4fb8-a0e0-0a74cc6e81c6">
    <ID>Report Action 1</ID>
    <Name>Test Report Action</Name>
    <TargetType>Cells</TargetType>
    <Target></Target>
    <Type>Report</Type>
    <ReportServer>SQLSERVER</ReportServer>
    <Path>ReportServer?/Test Report</Path>
    <ReportParameters>
    <ReportParameter>
    <Name>Test Customer Existing</Name>
    <Value>UrlEscapeFragment(
    GENERATE(
    EXISTING DESCENDANTS(
    [Customer].[Customer].CurrentMember,
    [Customer].[Customer].[Customer]
    [Customer].[Customer].CURRENTMEMBER.Name,
    "&amp;rp:Customer="
    )</Value>
    </ReportParameter>
    </ReportParameters>
    <ReportFormatParameters>
    <ReportFormatParameter>
    <Name>rs:Command</Name>
    <Value>Render</Value>
    </ReportFormatParameter>
    <ReportFormatParameter>
    <Name>rs:Renderer</Name>
    <Value>HTML5</Value>
    </ReportFormatParameter>
    </ReportFormatParameters>
    </Action>
    Below are the steps to re-create the issue.
    Connect to the cube in Excel
    Add dimension Customer -> More Fields -> Customer
    Add measure Internet Sales -> Internet Sales Amount
    Right-click Internet Sales Amount cell, select "Additional Actions" -> "Test Report Action" and see customer values created for URL 
    When the action is ran at this point with Customer, I see the values created in the URL shown message box (since there is no SSRS report server at location specified).
    Now the part I'm unable to resolve
    Remove the Customer dimension and add Customer -> Demographic -> Education
    Right-click Internet Sales Amount cell, select "Additional Actions" -> "Test Report Action"
    Nothing happens. If I ran the action on the cell next to "Bachelors", I would want it to build up all the list of all the "Customers"  that make up the "Bachelors" in the
    Customer dimension as part of the report parameter.  If no attributes where used in the cube from the
    Customer dimension for that cell, then I would like it to return "All Customers", or something similar to show that all customers are included in the aggregations.
    I am not too MDX savvy, thus far.  I think I need to somehow join the
    Customers to Internet Sales Amount in the Generate function portion.  I have tried several different combinations of the
    Customer dimension and Internet Sales Amount, along with various functions to see if I could get this to work with no success.  I am hoping that someone more knowledgeable the me will have a solution.   If you need more details,
    please ask and I will provide them.

    Simon,
    Thanks for you help with this.  This morning I found a workaround.  Below describes what that is.
    What I ended up doing was getting a list of values from a degenerate dimension that I could use to pass to SSRS to get a list of transactions for a report.  Below is how I did this, in relation to the Adventure Works cube using the degenerate dimension
    Internet Order Details.
    WITH MEMBER [Measures].[Order Param List] AS
    GENERATE(
    EXISTS([Internet Sales Order Details].[Sales Order Number].[Sales Order Number].Members, ,
    "Internet Sales"),
    [Internet Sales Order Details].[Sales Order Number].CurrentMember.Name,
    "&rp:OrderNum=")
    SELECT {[Measures].[Order Param List], [Measures].[Internet Sales Amount]} ON 0
    ,([Date].[Calendar].[Date]) ON 1
    FROM [Adventure Works]
    This will get a list of Sales Order Number in a text string, separated by "&rp:OrderNum=" for each measure of
    Internet Sales. This would allow me to create an SSRS report to bring back detail information for each
    Sales Order Number. Below are some sample results.
    May 16, 2007 SO50493&rp:OrderNum=SO50494&rp:OrderNum=SO50495&rp:OrderNum=SO50496&rp:OrderNum=SO50497&rp:OrderNum=SO50498&rp:OrderNum=SO50499&rp:OrderNum=SO50500 $12,157.80
    May 17, 2007 SO50501&rp:OrderNum=SO50502&rp:OrderNum=SO50503&rp:OrderNum=SO50504&rp:OrderNum=SO50505&rp:OrderNum=SO50506&rp:OrderNum=SO50507&rp:OrderNum=SO50508 $13,231.62
    May 18, 2007 SO50509&rp:OrderNum=SO50510 $4,624.91
    With this, I can then create a Report Action in SSRS with a Parameter Value of
    UrlEscapeFragment(
    GENERATE(
    EXISTS([Internet Sales Order Details].[Sales Order Number].[Sales Order Number].Members, ,
    "Internet Sales"),
    [Internet Sales Order Details].[Sales Order Number].CurrentMember.Name,
    "&rp:OrderNum=")
    The way I was going about it before was flawed, as I was trying to get a list of the granular values from each dimension used to build the measure value and pass each one of those as separate parameters. I just needed to set something unique for each fact
    measure transaction that represents the value and uses that in a query parameter for the SSRS report.

  • How to get a parameter without name in JSP?

    hi everyone, My question is how to get a parameter without name in JSP? I have two pages, 1.html and 2.jsp.
    in 1.html, I embeds some Javascript codes in HTML contents like below ( changed < to ( , > to )):
    function toSubWin( obj )
    window.open('test.jsp?'+obj.firstChild.toString(),'sw');
    (a onClick='toSubWin(this)'style="background:green")focus(/a)
    How can I get the parameter in 2.jsp?
    THANK YOU IN ADVANCE!!

    Does obj.firstChild.toString() evaluate to a "name=value" type of String ?
    Or better what does obj.firstChild.toString(),'sw' evaluate to ? It has to end up in a name=value format, else its just gibberish appended to the url.
    In the jsp, you have to obviously know the name to get the parameter. There's a getParameterNames() method which returns you a Collection of parameter names as Strings, you could probably use that to retrieve the param values.
    Then there's a getParameterMap() method which returns an immutable Map containing parameter names as keys and parameter values as map values. The keys in the parameter map are of type String. The values in the parameter map are of type String array.
    However to what ends you employ them in a program which doesnt know its inputs is a different story.
    cheers,
    ram.

  • How do i stop the search tab from changing other tabs other than just the one with focus?

    everytime i use the search bar located next to the web address, it will change other tabs to the results of my search and not just my tab of focus. how do i stop this? it's never done this before and has only started doing it this week.

    Hello and thanks everyone for your replies.  I was able to get it working using the Optimizer method.  I'll look into setting it in the Distiller though.  We'll also make sure everyone that modifies the pdf's have a more recent version of Acrobat because the older versions are giving a "bad parameter" error message.  This solves that but better to upgrade.
    I'm converting from Word to pdf and the security gets set on the pdf because that is the files we use externally.  I just don't want anyone changing the content; we figured the pdf is a bit more secure than the MS Word security!
    Thanks again!

  • ADF Task Flow Binding - Refresh ifNeeded being invoked even WITHOUT any Parameter change

    Using JDeveloper 11.1.1.6.0
    Issue: Task Flow Binding property "refresh = ifNeeded" seems to be triggered even without the mutation of the input parameter.
    As per definition, "ifNeeded: refresh the ADF Region if the value of a task flow binding parameter changes." (Reference: 17.5 Refreshing an ADF Region)
    Now for the setup which reproduces the issue.
    I'll focus at the fragment bounded task flow level and will skip the jspx side.
    taskflow: main-flow.xml
    contains a single fragment mainFgmt.jsff
    has a managed bean defined SampleBean.java as pageFlow scope.
    taskflow: sub-flow.xml
    contains a single fragment subFgmt.jsff
    has an inputParameter SampleBean.java (because it is an input parameter, by default it will be at pageFlow scope)
    !important - has a nested taskflow (task flow call as defined in the component pallete) called inner-flow (see below)
    the nested taskflow is the default activity
    the nested taskflow has an outcome pointing to subFgmt where outcome = "return"
    taskflow: inner-flow.xml
    contains a single fragment called stop.jsff
    has a return activity without outcome = "return"
    stop.jsff has a navigation pointing to the outcome.
    Finally mainFgmt.jsff has a task flow binding (pageDef)
    with id = "sub-flow.xml"
    refresh = "ifNeeded"
    parameter SampleBean being submitted as sub-flow's input parameter. (id=sampleBean, value=#{pageFlowScope.mainSampleBean})
    Assume that code compiles.
    In this scenario where the only tricky condition is the inner nesting (defined by !important), when the inner nesting decides to invoke its outcome to visit sub-flow's fragment, mainFgmt is restarting its taskflow which makes sub-flow start over again.
    Another way of saying it is, if sub-flow starts a nested activity and that nested activity exits out to utilize sub-flow's view. The high level definition which is mainFgmt's refresh ifNeeded is restarting sub-flow.
    In the above example if you notice, the bean (SampleBean) is not really being utilized except that it is completing the purpose of refresh=ifNeeded. This scenario is only to simplify the setup - in practical use this bean will be mutated to be utilized as a refresh mechanism.
    Now interestingly, if I change the pattern a bit then the issue will not happen:
    Don't use the nested taskflow (inner-flow) as the default activity, let a fragment of sub-flow hold the initial view.
    Navigate to the nested flow.
    Exit nested flow.
    Everything works.
    Now in this scenario, it seems like the sub-flow needs to have a view established first for it to be properly be used.
    So my questions are as follows:
    Can I consider the behavior of the refresh=ifNeeded as a bug in this usecase?
    Would it be better to utilize a different way of refreshing (maybe combination of refresh condition) to get around the issue?
    Is the use of the task flow as defined logical or does it cross any boundary or best practice that might be causing this behavior?

    Hi,
    actually you lost me in your description due to complexity. I lived under assumption that sub-flow already is a region on a view in main flow, but then you sad that
    "!important - has a nested taskflow (task flow call as defined in the component pallete) called inner-flow (see below)"
    which then confused me as to I have no idea if inner flow now is the second level nesting or first level nesting (should be second level nesting). If sub-flow is a region then having "has an inputParameter SampleBean.java (because it is an input parameter, by default it will be at pageFlow scope)"  is an unnecessary broad scope because the region wont live longer than view scope.
    Anyway, it seems that a region refresh is triggered by the lifecycle involved, which can be by design or a bug. I suggest you file a Service Request with support and provide a test case as purely from the description, its hard to parse and understand what is going on.
    Frank

  • Buttons in ALV Grid cell need focus to be clicked :-(

    Hi,
    I have an ALV Grid with single cells displayed as buttons (dependend on the data in the corresponding row). Unfortunatelly the button-cells need focus to be clicked. So you need two clicks: one to get the focus to the desired cell and one to really click the button.
    Any ideas how to make this work with one single click ? (Setting a hotspot does not work, cause hotspots have the same problem.)
    Regards,
    Tobi

    Hello Tobias
    The proposal by Naimesh is valid for CL_GUI_ALV_GRID, too. You may have a look at sample report ZUS_SDN_ALVGRID_EVENTS_HOTSPOT. Put the focus on any non-button cell and next click on any customer button.
    *& Report  ZUS_SDN_ALVGRID_EVENTS_HOTSPOT
    *& Thread: Buttons in ALV Grid cell need focus to be clicked :-(
    *& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1009251"></a>
    REPORT  zus_sdn_alvgrid_events_hotspot.
    DATA:
      gd_okcode        TYPE ui_func,
      gt_fcat          TYPE lvc_t_fcat,
      go_docking       TYPE REF TO cl_gui_docking_container,
      go_grid1         TYPE REF TO cl_gui_alv_grid.
    DATA:
      go_table              TYPE REF TO cl_salv_table,
      go_grid_adapter       TYPE REF TO cl_salv_grid_adapter.
    DATA:
      gt_knb1          TYPE STANDARD TABLE OF knb1.
    PARAMETERS:
      p_bukrs      TYPE bukrs  DEFAULT '2000'  OBLIGATORY.
    *       CLASS lcl_eventhandler DEFINITION
    CLASS lcl_eventhandler DEFINITION.
      PUBLIC SECTION.
        CLASS-METHODS:
          handle_hotspot_click FOR EVENT hotspot_click OF cl_gui_alv_grid
            IMPORTING
              e_row_id
              e_column_id
              es_row_no
              sender,  " grid instance that raised the event
          handle_button_click FOR EVENT button_click OF cl_gui_alv_grid
            IMPORTING
              es_col_id
              es_row_no
              sender.
    ENDCLASS.                    "lcl_eventhandler DEFINITION
    *       CLASS lcl_eventhandler IMPLEMENTATION
    CLASS lcl_eventhandler IMPLEMENTATION.
      METHOD handle_hotspot_click.
    *   define local data
        DATA:
          ls_knb1     TYPE knb1,
          ls_col_id   TYPE lvc_s_col.
        READ TABLE gt_knb1 INTO ls_knb1 INDEX e_row_id-index.
        CHECK ( ls_knb1-kunnr IS NOT INITIAL ).
        CASE e_column_id-fieldname.
          WHEN 'KUNNR'.
            SET PARAMETER ID 'KUN' FIELD ls_knb1-kunnr.
            SET PARAMETER ID 'BUK' FIELD ls_knb1-bukrs.
            CALL TRANSACTION 'XD03' AND SKIP FIRST SCREEN.
          WHEN 'ERNAM'.
    *        SET PARAMETER ID 'USR' FIELD ls_knb1-ernam.
    *        NOTE: no parameter id available, yet simply show the priciple
            CALL TRANSACTION 'SU01' AND SKIP FIRST SCREEN.
          WHEN OTHERS.
    *       do nothing
        ENDCASE.
    *   Set active cell to field BUKRS otherwise the focus is still on
    *   field KUNNR which will always raise event HOTSPOT_CLICK
        ls_col_id-fieldname = 'BUKRS'.
        CALL METHOD go_grid1->set_current_cell_via_id
          EXPORTING
            is_row_id    = e_row_id
            is_column_id = ls_col_id.
      ENDMETHOD.                    "handle_hotspot_click
      METHOD handle_button_click.
    *   define local data
        DATA:
          ls_knb1     TYPE knb1.
        READ TABLE gt_knb1 INTO ls_knb1 INDEX es_row_no-row_id.
        CHECK ( ls_knb1-kunnr IS NOT INITIAL ).
        SET PARAMETER ID 'KUN' FIELD ls_knb1-kunnr.
        SET PARAMETER ID 'BUK' FIELD ls_knb1-bukrs.
        CALL TRANSACTION 'XD03' AND SKIP FIRST SCREEN.
      ENDMETHOD.                    "handle_button_click
    ENDCLASS.                    "lcl_eventhandler IMPLEMENTATION
    START-OF-SELECTION.
      SELECT        * FROM  knb1 INTO TABLE gt_knb1
             WHERE  bukrs  = p_bukrs.
    **  TRY.
    **      CALL METHOD cl_salv_table=>factory
    ***      EXPORTING
    ***      LIST_DISPLAY   = IF_SALV_C_BOOL_SAP=>FALSE
    ***      R_CONTAINER    =
    ***      CONTAINER_NAME =
    **        IMPORTING
    **          r_salv_table   = go_table
    **        CHANGING
    **          t_table        = gt_knb1.
    **    CATCH cx_salv_msg .
    **  ENDTRY.
    **  go_table->display( ).
    **  go_table->get_metadata( ).
    **  EXIT.
    * Create docking container
      CREATE OBJECT go_docking
        EXPORTING
          parent = cl_gui_container=>screen0
          ratio  = 90
        EXCEPTIONS
          OTHERS = 6.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * Create ALV grid
      CREATE OBJECT go_grid1
        EXPORTING
          i_parent = go_docking
        EXCEPTIONS
          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.
    * Set event handler
      SET HANDLER:
        lcl_eventhandler=>handle_hotspot_click FOR go_grid1,
        lcl_eventhandler=>handle_button_click  FOR go_grid1.
    * Build fieldcatalog and set hotspot for field KUNNR
      PERFORM build_fieldcatalog_knb1.
    * Display data
      CALL METHOD go_grid1->set_table_for_first_display
        CHANGING
          it_outtab       = gt_knb1
          it_fieldcatalog = gt_fcat
        EXCEPTIONS
          OTHERS          = 4.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * Link the docking container to the target dynpro
      CALL METHOD go_docking->link
        EXPORTING
          repid                       = syst-repid
          dynnr                       = '0100'
    *      CONTAINER                   =
        EXCEPTIONS
          OTHERS                      = 4.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * ok-code field = GD_OKCODE
      CALL SCREEN '0100'.
    END-OF-SELECTION.
    *&      Module  STATUS_0100  OUTPUT
    *       text
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'STATUS_0100'.
    *  SET TITLEBAR 'xxx'.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    *       text
    MODULE user_command_0100 INPUT.
      CASE gd_okcode.
        WHEN 'BACK' OR
             'END'  OR
             'CANC'.
          SET SCREEN 0. LEAVE SCREEN.
        WHEN OTHERS.
      ENDCASE.
      CLEAR: gd_okcode.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Form  BUILD_FIELDCATALOG_KNB1
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM build_fieldcatalog_knb1 .
    * define local data
      DATA:
        ls_fcat        TYPE lvc_s_fcat.
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
    *     I_BUFFER_ACTIVE              =
          i_structure_name             = 'KNB1'
    *     I_CLIENT_NEVER_DISPLAY       = 'X'
    *     I_BYPASSING_BUFFER           =
    *     I_INTERNAL_TABNAME           =
        CHANGING
          ct_fieldcat                  = gt_fcat
        EXCEPTIONS
          inconsistent_interface       = 1
          program_error                = 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.
      LOOP AT gt_fcat INTO ls_fcat
              WHERE ( fieldname = 'KUNNR'  OR
                      fieldname = 'ERNAM'  OR
                      fieldname = 'BUKRS' ).
        IF ( ls_fcat-fieldname = 'BUKRS' ).
          ls_fcat-style = cl_gui_alv_grid=>mc_style_button.
          " column appears as button
        ELSEIF ( ls_fcat-fieldname = 'KUNNR' ).
          ls_fcat-style = cl_gui_alv_grid=>mc_style_button.
          ls_fcat-hotspot = abap_true.
        ELSE.
          ls_fcat-hotspot = abap_true.
        ENDIF.
        MODIFY gt_fcat FROM ls_fcat.
      ENDLOOP.
    ENDFORM.                    " BUILD_FIELDCATALOG_KNB1
    Regards
      Uwe

  • Lose of focus (mouse click/enter key)

    Hello,
    we have a problem customers are complaining about for quite a while now, but despite our efforts, we can not fix it or at least determine with certainty the problem cause.
    We have an application launching forms apps, and from time-to-time we completely lose the focus on this form (generally after typing ENTER in a filter), I mean by focus, we cannot click anymore (cursor seems to stay on a object), we cannot press enter anymore (we get a 'Not defined key function') and so on...
    I heard somewhere that it could be due to 'KEY-OTHERS' trigger not handling correctly the ENTER-KEY. But I need this trigger for my filters, or is there another way? KEY_ENTER does only navigate from field to another.
    I found something which was able to remove focus lost (kind of a hack while trying to fix this on an on), but the problem is I had to remove this, because it blocks the opening of new windows or popups. It was a mouse-click trigger on forms triggers level:
    Go_Record(:System.Mouse_record);
    Go_Item(:System.Mouse_Item);
    But this blocks any window opening, and it also blocks some other tools we have developed.
    Thanks,
    Best regards,
    G.
    EDIT: Forms 11g, and I am pretty sure we had not that much problems with 10g
    EDIT2: I read the same kind of topics in the forum, but no patch seems to help
    AND we use JRE 1.7....
    Edited by: lakers on Jan 14, 2013 11:56 PM
    Edited by: lakers on Jan 14, 2013 11:59 PM

    this problem occurs with some of versions of JRE. Try with JRE JInitiator 1.3.1.22. Also unstalled all others JRE if exists.
    A file called fmrpcweb.res has also been provided which gives the Microsoft Windows client/server keyboard mappings. To use this file, rename fmrpcweb.res to fmrweb_orig.res, and copy fmrpcweb.res to fmrweb.res. Alternatively, use the term parameter as described above.
    By default, whether deploying client/server or over the Web pressing the ENTER key takes the cursor to the next navigable item in the block. To override this default behavior it is necessary to modify the forms resource file to revise the key mapping details.
    Modify fmrweb.res and change the Forms Function Number (FFN) from 27 to 75 for the Return Key. The line should be changed to the following:
    10 : 0 : "Return" : 75 : "Return"
    By default, the line is displayed with an FFN of 27 and looks as follows:
    10 : 0 : "Return" : 27 : "Return"
    This line should NOT fire the Key-Enter trigger since the Return or Enter key is actually returning the Return function represented by the FFN of 27. The FFN of 75 represents the Enter function and fires the Key-Enter trigger.
    http://docs.oracle.com/cd/E24269_01/doc.11120/e24477/configure.htm#i1077054
    please mark correct/helpful if problem is solved..
    Edited by: Askdineshsinghminhas on Jan 15, 2013 5:28 AM

  • InputField focus issue in ECC 6.0

    We are upgrading from 4.7 to ECC 6 - I have a BSP app which is behaving differently in ECC 6.  When tabbing between inputFields within an iterator, the first tab will place the cursor focus around the inputField, then the second tab will place the focus inside the inputField.  You cannot start typing into the inputField until the 2nd tab.  This is very annoying and confusing to the user.  Is there anyway to change this behavior so that the cursor focus moves inside the field on the first tab?  This does not seem to happen with inputFields which are not within an iterator.  This does not happen with 4.7.  Any insight would be greatly appreciated.
    Lisa

    Raja,
        Thanks for your reply.  But I have about 9 different data screens, and do not wish to hard-code the tabbing via javascript for each one.  This seems like alot of work to make tabbing to the next field work correctly (like it does in any normal HTML page).  I would like to be able to tab thru all data entry fields within my iterator, moving to the next field with only one TAB.  This works outside of an iterator, and works in previous versions of SAP.  But I have to TAB twice now to get to the next field.  Is there a new parameter on the inputField or Table definition which might override this behavior?  I can't imagine any situation where I would want to TAB to the cell holding the inputField, rather than to the inputField itself.  Has anyone else encountered this behavior?
    Thanks,
    Lisa

  • Call a Form using Webutil from the Menu loose focus on the applet

    Hello,
    I have the following problem:
    When calling a form using webutil from the menu the focus on the applet (I mean the Forms Application window) is lost and I have to click on the window to get back the focus on the application.
    Any advice ?
    Env: Forms 9i / Webutil 1.06
    Rgds,
    Philippe

    Try to use the NO_HIDE parameter in the CALL_FORM() built-in.
    Call_Form( 'the_form', NO_HIDE ) ;Or maybe, in the[b] When-New-Form-Instance trigger of the called form, return the focus to the calling form
    Go_Form( Get_Application_Property( CALLING_FORM ) ) ;Francois

  • Can a method be an input parameter?

    inside
    ActionPerformed(ActionEvent e) {
      Object src = e.getSource();
         PlcManager.setWaitCursor(this);  
         try{
              if(src == getBtnInquiry()){     
                   onActionInquiry(true);
                   saveLogFile();
         } catch (Exception ex) {
                   ex.printStackTrace();
         } finally {
                   com.hmm.manager.PlcManager.setDefaultCursor(this);  
    }I want to make it as:
    ActionPerformed(ActionEvent e) {
          Object src = e.getSource();
          showWaitCursor(getBtnSave(), onActionSave());
    }Putting aside the tidieous issue of what is PlcManager,
    private void onActionSave()  {
      System.out.println("SAVE!"); 
    }just focus on the method can have another method as an input parameter.
    Please, let me know asap. Thanks -

    // *** Your Interface ***
    public interface BtnAction
        public void doAction(); // Put any signature you like
    // *** Implementing classes
    public class BtnDelete implements BtnAction
        public void doAction() // Use signature from interface
            // Do your button delete
        // Can have other methods
    public class BtnSave implements BtnAction
        public void doAction() // Use signature from interface
            // Do your button save
        // Can have other methods
    public class BtnPrint implements BtnAction
        public void doAction() // Use signature from interface
            // Do your button print
        // Can have other methods
    public class BtnInquiry implements BtnAction
        public void doAction() // Use signature from interface
            // Do your button inquiry
        // Can have other methods
    // Etc...in your Pic thingie...public void showWaitCursor (JButton button, BtnAction action) // Can have other parameters or signatures...
        // Yada yada yada...
        action.doAction(); // Call the polymorphic method with your signature
    }and to call:// Yada yada yada
    BtnSave saveBtn = new BtnSave();
    // Pass saveBtn as a BtnAction interface; the BtnSave doAction will be invoked.
    showWaitCursor (new JButton(), saveBtn);Note that the Btnxxxx classes can still extend another class as well as implementing your interface. They can even implement other interfaces as well.

Maybe you are looking for

  • PO by material group.

    Hi, when I create a PO to buy by material group, system creates always a new inforecord also when I use the same material group. How can I solve this problem so that system will update the same inforecord ? Note that I use the same vendor and the sam

  • Error:INTERNAL.SYSTEM_NOT_CONFIGURED_AS_XMB

    in http->xi->file when i use http sender adapter with http client i got the error message as follow: <SAP:Error><SAP:Category>XIServer</SAP:Category> <SAP:Code>INTERNAL.SYSTEM_NOT_CONFIGURED_AS_XMB</SAP:Code> <SAP:Stack>System not configured as Integ

  • Java.lang.nullpointerexception in Guided Procedure

    Hello Guru's, We have integrated a WD4J application in Guided Procedure. And within this application there is a Submit Button, on clicking it we are getting Java.lang.NullPointerException. The same application works fine for other users, only 1 user

  • Service com.sap.aii* does not in service list for PI Post installation

    Hi Experts, When I check the PI post installation, in my visual admin Cluster->Server->Service->Delpoy (Application) the required service "com.sap.aii* and com.sap.xi*" does not exist in the list. How to deploy these mandatory services to my J2EE ser

  • How so I drag and drop a card from my email list into a group?

    Hi, when I try to drag and drop a card into a group folder it will not accept it. What am I doing wrong? Thank you. Jim