Column sort and pass parameter

Hi,
Is it possible, in tabular form, using the "sort" option to add a parameter to the column title link?
Thanks,
Paulo

Hi,
In the fieldcatalog of the field set these value.
fieldcate-no_out = 'X'.
fieldcate-tech = 'X'
Cheers,
Vasanth

Similar Messages

  • Column Sorting and Rowspanning not working in OBIEE 11g (worked in OBI 10)

    Hi all,
    i have a report with columns like this:
    Customer Nbr. | Customer Name | Salesorder | EBIT | EBIT (Total p. Customer)
    In the table view i have a total sum line at customer level.
    The column "EBIT (Total p. Customer)" is an Aggregate with Formula (SUM(Invoices.Ebit) BY Customer."Customer Nbr.") which is exactly the same value as in the report sum line (column EBIT).
    This Aggregate colum is only for sorting purposes and is hidden in the view.
    The business case is:
    "We want to see the EBIT per Salesorder for each customer, sorted from worst to best customer.
    So i sorted by "EBIT (Total p. Customer)" ascending in criteria tab and adviced answers to show the sum for each customer (column customer nbr.) in the table definition view.
    OBIEE 10 behaviour: Answers shows all customers sorted by EBIT (Total p. Customer), i see one line for each salesorder, the customer columns are rowspanned over all salesorder lines and there is exactly on sum line after each customer.
    OBIEE 11 behaviour: Answers shows all customers sorted by EBIT (Total p. Customer), i see one line for each salesorder BUT there is one sum line after each salesorder too. So there is no sum at customer level but on salesorder level
    Any idea how to solve this?
    BTW:
    1.) I still tried to place this column as the first (left) column in the report to get the right sorting ... with no success.
    2.) Sorting data at BI Server level is NO option since there are some other reports with different sorting requirements
    While searching in "Oracle Support" i found document ID: 1371247.1 "OBIEE 11g: How To Apply a Custom Sort in Answers" which says "... The functionality to custom sort in Answers does not currently exist There is an enhancement request for this functionality. For more information, see Bug 13261597 - be able to apply a custom sort in answers ..."

    Did you ever get an answer to your question? We are seeing the same issue.

  • How to call form and pass parameter from OA Page

    Hi,
    I have one requirement to call a custom form from OA page by clicking the button and the same time i need to pass one parameter from this
    oa page to that form.
    how to do this by personalization?
    i surfed lot and i got some idea, some one said "pass the value as global variable and receive the global parameter when the new form instance trigger" .
    Can anyone please give about about this ?
    Thanks in advance,
    SAN

    This seems to be related to EBS and since this forum is dedicated to Fusion you might want to post the question to E-Business Suite forums and
    Support forum for EBS customizations.
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • How to call PL/SQL function and pass parameter to ODI variable?

    Can I call PL/SQL function and assign a return value to an ODI variable? Also can I assign ODI variable to IN paramter and assign OUT parameter to ODI variable? What ODI doc has that information?
    Thanks

    Hi,
    Refer this http://odiexperts.com/how-to-use-plsql-procedures-and-functions-in-odi
    Thanks,
    Sutirtha

  • Execute and pass parameter to external program

    hi all,
    i need to wrap a program using java.
    i would like to write a java program able to ask for user input as soon as wrapped command ask for.
    from the user point of view the behaviour should be the same.
    example
    program to be wrapped: mycommand.exe
    mycommand synopsis
    mycommand file1: mycommand ask for a string and writing it in file file1
    i would like to execute mycommand file1
    in a java program getting the orginal behaviour.
    so...
    String command = "mycommand file1";
    Process process = Runtime.getRuntime().exec(command);
    // from now on somebody can help me?
    thank you
    Luca

    lrasco wrote:
    i would like to write a brute force password cracker (for my own use, i forgot a password).
    rar ask user for password, if ok exit 0 otherwise exit 1 (i suppose).
    my program execute rar, which sholud ask for password, pass a password, check for exit code, then exit or continue.That tells us what you're trying to accomplish, not what problems you're having.
    For the record, I'm extremely skeptical of your claim that this is for the legitimate use of recovering your own password. The proper approach would be to contact the admin to reset it.
    Of course, trying to brute force crack a password by executing an interactive program like this will be extremely slow anyway. Assume a 6 letter password over the 62-character space of uppercase, lowercase, and digits. There are 62^6 = 56,800,235,584 possible passwords. On average, you'll have to search through half of them, which is 28,400,117,792. If you can do 100 / sec., then that will take 28400117792 / 100 / (60 x 60 x 24 x 365) = 9 years.
    EDIT: Stupid math operator markup.
    Edited by: jverd on Jan 13, 2010 11:20 AM
    EDIT: fixed math error
    Edited by: jverd on Jan 13, 2010 11:21 AM

  • Open popup window and passing parameter to the popup

    Hi, I want to open a popup whenever a button is pressed (the page number is 10)
    my first attempt was to make a process which have a button condition (after submit)
    BEGIN
    htp.p('<script type="javascript/text">');
    htp.p('javascript:popupURL(
    "f?p=&APP_ID:12:&APP_SESSION.::NO::P12_PERSON::PERSON_ID")');
    htp.p('</script>');
    END;
    I want to pass the value
    from
    page 10 item :PERSON_ID (initial page)
    to
    page 12 item :P12_PERSON (this is the popup page)
    I also made a branch for the button which redirect to page 10, since no button can be left without any branch or redirect.
    the problem is, I dont see any popup was opened. Is there something wrong on my syntax?
    thanks for your attention, I appreciate any suggestion
    danny

    Thanks many many thanks for your help Varad, I'm still having problem with the JS though
    About the popupname I found another function on apex js documentation, the function name is popUpNamed(url,name). Now I don't have any problem with the date picker anymore.
    My JS look like this now
    <script type = "text/javascript">
    function buildURL()
    var pg = $x('P10_SHOWROLLELIST').value;
    var prsn_id = 'P'+ pg + '_PERSON';
    popUpNamed('f?p=&APP_ID.:' + pg + ':&APP_SESSION.::NO::' + prsn_id + ':&PERSON_ID.', 'Rolle' );
    </script>
    but still it seems like this line" var pg = $x('P10_SHOWROLLELIST').value;" still produce an error on my side. I tried to change pg into a fix value for eg: '12' and it works.
    P10_SHOWROLLELIST is a select list which return a value
    this is the query of the select list
    SELECT 'Mitarbeiter' AS D, '12' as R
    FROM persrollemitarbeiter
    WHERE person = :PERSON_ID
    UNION ALL
    SELECT 'Student' AS D, '13' as R
    FROM persrollestudent
    WHERE person = :PERSON_ID
    UNION ALL
    SELECT 'Mentor' AS D, '14' as R
    FROM persrollementor     
    WHERE person = :PERSON_ID
    UNION ALL
    SELECT 'Korrektor' AS D, '15' as R
    FROM persrollekorrektor
    WHERE person = :PERSON_ID
    UNION ALL
    SELECT 'Tutor' AS D, '16' as R
    FROM persrolletutor
    WHERE person = :PERSON_ID
    danny
    Edited by: user8241814 on 26.06.2009 07:56

  • Interactive Report wide Column Sorting hangs in Internet Explorer

    I have an application that contains an interactive report. The Column Sorting and Filtering functions work fine in Firefox. However, if I try to sort a wide (110 byte - it contains a hyperlink) column in Internet Explorer, APEX produces the 'loading data' image and then hangs. Even a sort of a narrow (3 byte) column is noticeably slower in Internet Explorer than in Firefox.
    We are running APEX 3.1.1 on Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production with the Partitioning, OLAP, Data Mining and Real Application Testing options

    Hello,
    I answer you over your post.
    Joe Bertram wrote:
    Hi,
    That's an interesting issue. What kind of images are these? Are they the default images installed or are they your custom set of images?The images are png files included as they were icons into the table.
    >
    You say the images disappear when you sort the report. Does it happen when you sort on demand in the dashboard or when you sort it in the report itself? Or both?Only when sort from the dashboard. From the report itself, the answers works fine.
    >
    What are your environment details?Server:
    OBI 10.1.3.4.1.090414.1900
    Windows 2003 server
    JDK 1.6.0.17
    Thin Client:
    Internet explorer 8
    >
    Thanks for the extra info.
    Best regards,
    -JoeIt happens also in other two environments (Development and Pre-production) with the same SW architecture.
    Thanks for your time.

  • Help me in passing parameter

    <%@ page import="java.net.*" %>
    <%@ page import="java.util.*" %>
    <%@ page import="java.io.*" %>
    <%@ page import="java.sql.*" %>
    <html>
    <head>
         <title>Untitled</title>
    </head>
    <body>
    <%
         Vector mail = new Vector();
         try{
         Class.forName("com.mysql.jdbc.Driver").newInstance();
         catch (Exception E) {
         out.println("Unable to load driver.");
         E.printStackTrace();
         try{
              Connection C = DriverManager.getConnection("jdbc:mysql://localhost/attendance","root","");
    %>
    <div align="center"><font size="+6">Student BarList</font><br>
    In this page will display out the student that attendance NOT MORE THAN 70%. The Student Below is NOT ALLOW to take exam for the relevant subject.
    The student whoever not satisfy with the bar can negotiate with the lecturer of the relevant subject.<p/>
    The student below will be bar from the relevent subject:
    <%Statement S = C.createStatement();
                   ResultSet rs = S.executeQuery("SELECT * FROM bar");
                   ResultSetMetaData rsStruc = rs.getMetaData();
    out.println("<table bgcolor=red cellpadding=10 cellspacing=1 size=70>");
                   out.println("<tr bgcolor=red>");
                   int colCount = rsStruc.getColumnCount();
                   String colName = "";
                   for(int i=1;i <= colCount; i++){
                   colName = rsStruc.getColumnName(i) ;
                   out.println("<td><B><font color=white>" + colName + "</font></b></td>\n");
                   out.println("</tr>");
                   while (rs.next()) {
                   String email=rs.getString("email");
                   mail.addElement(email);
                   out.println("<tr bgcolor=ffffff>");
                   for(int i=1;i <= colCount; i++){
                   colName = rsStruc.getColumnName(i) ;
                   String fld = rs.getString(colName);
                        out.println("<td>" + fld + "</td>");
                   out.println("</tr>");
                   out.println("</table>");
                   rs.close();
                   C.close();}
    catch (Exception E) {
         out.println("SQLException: " + E.getMessage());
         for(int i=0; i< mail.size(); i++){
    String add= mail.elementAt(i)+",";
    out.println(add);
         %>
    <form action="simplemail.jsp" method="post">
    <input type="text" name="address" value="<%=add%>">
    <input type="submit" name="send" value="Send Mail">
    </body>
    </html>
    what problem with my page i want to read the vector data then set it inside the variable (e.g [email protected],[email protected]) then put it into the textbox and passing parameter to next page.. how i gotta solve this problem?

    i have to use the hidden input html to send the vector to the next page but found out the problem "Type mismatch: cannot convert from String to Vector"
    <%@ page import="java.net.*" %>
    <%@ page import="java.util.*" %>
    <%@ page import="java.io.*" %>
    <%@ page import="java.sql.*" %>
    <html>
    <head>
    <title>Untitled</title>
    </head>
    <body>
    <%
    Vector mail = new Vector();
    try{
    Class.forName("com.mysql.jdbc.Driver");
    catch (Exception E) {
    out.println("Unable to load driver.");
    E.printStackTrace();
    try{
    Connection C = DriverManager.getConnection("jdbc:mysql://localhost/attendance","root","");
    %>
    <div align="center"><font size="+6">Student BarList</font><br>
    In this page will display out the student that attendance NOT MORE THAN 70%. The Student Below is NOT ALLOW to take exam for the relevant subject.
    The student whoever not satisfy with the bar can negotiate with the lecturer of the relevant subject.<p/>
    The student below will be bar from the relevent subject:<br/>
    <%
    Statement S = C.createStatement();
    ResultSet rs = S.executeQuery("SELECT * FROM bar");
    ResultSetMetaData rsStruc = rs.getMetaData();
    out.println("<table bgcolor=red cellpadding=10 cellspacing=1 size=70>");
    out.println("<tr bgcolor=red>");
    int colCount = rsStruc.getColumnCount();
    String colName = "";
    for(int i=1;i <= colCount; i++){
    colName = rsStruc.getColumnName(i) ;
    out.println("<td><B><font color=white>" + colName + "</font></b></td>\n");
    out.println("</tr>");
    while (rs.next()) {
    String email=rs.getString("email");
    mail.addElement(email);
    out.println("<tr bgcolor='ffffff'>");
    for(int i=1;i <= colCount; i++){
    colName = rsStruc.getColumnName(i) ;
    String fld = rs.getString(colName);
    out.println("<td>" + fld + "</td>");
    out.println("</tr>");
    out.println("</table>");
    rs.close();
    C.close();}
    catch (Exception E) {
    out.println("SQLException: " + E.getMessage());
    //String add = "";
    //for(int i=0; i< mail.size(); i++){
    //add = mail.elementAt(i)+",";
    //out.println(add);
    %>
    <form action="simplemail.jsp" method="post">
    <input type="hidden" name="address" value="<%=mail%>">
    <input type="submit" name="send" value="Send Mail">
    </body>
    </html>the vector should be pass to this page:
    <%@ page import="java.util.*, javax.mail.*, javax.mail.internet.*" %>
    <%
    Vector to2= new Vector();
    to2=request.getParameter("address");
    //String subject=request.getParameter("subject");
    //String message2=request.getParameter("message");
    for(int i=0; i< to2.size(); i++)
         String add = (String)to2.elementAt(i);
         System.out.println(add);
    Properties props = new Properties();
      props.put("localhost:25","localhost:25");
      Session s = Session.getInstance(props,null);
      MimeMessage message = new MimeMessage(s);
      InternetAddress from = new InternetAddress("albert");
      message.setFrom(from);
      InternetAddress to = new InternetAddress(add);
      message.addRecipient(Message.RecipientType.TO, to);
      //message.setSubject(subject);
      //message.setText(message2);
    message.setSubject("Bar exam acknowledgement");
    message.setText("You been bar from the exam, please check on the student attendance online for more information");
      Transport.send(message);
    %>
    <html>
    <p align="center">A Message has been sent.<br>Check your inbox.</p>
    <p align="center"><a href="mail.html">Click here to send another!</a><br>
    </p>
    </html>please help me!!! i stuck in this oledi

  • JTable allows sorting and filtering at same time

    Hi All:
    Any one has experience about having a JTable allows column sorting and row filtering at same time ?
    I've got JTable allows sorting, as well as a JTable allows filtering; but had a hard time to combine these functionality together. It seems I can't use separate TableModel since I need perform these two operations together on on JTable.
    any help is going to be greatly appreciated!

    Have a look at the QuoteTableModel at www.javapractices.com/Topic162.cjp
    (almost at the bottom of the page)

  • Embedded images disappear on column sorts when viewing SSRS via url in an iframe

    RE:   SQL Server - 2008 R2  Reporting Services
    We deliver an ASP.Net MVC (5) application and some of the views show/display SSRS report via url in an iframe (so the report is displayed vi the web viewer).   There are images in the header of some of these reports which display correctly on the initial
    view, but "disappear" when the user uses a report column sort and/or changes the report zoom (via the SSRS web viewer toolbar). There are other quirky behaviors as well (depending on the browser), but we are dealing with IE versions 8 thru 11.  I've
    already set the ReportViewer.aspx to use <meta http-equiv="X-UA-Compatible" content="IE=7">, and our application pages/views use <meta http-equiv="X-UA-Compatible" content="IE=edge">.
    Does anyone have a "fix" for this? I know it's related to the ReportViewer.aspx and displaying the report(s) in an iframe, but I can't seem to find any information on how to fix the issue.

    Hi,
    According to your description, when you preview report through url in an iframe, the embed images can be displayed, images can’t be displayed after users used sort and changed report zoom.
    To troubleshoot the problem, please refer to the following steps:
    Run the report in Business Intelligence Development Studio (BIDS) to make sure that the images can be displayed correctly.
    The issue may be relevant to compatibility of browser, please use different browser to check whether the issue persists.
    If you are using embedded image of jpg type, please change the extension of the image to png.
    Set the ReportViewer.aspx to use <meta http-equiv="X-UA-Compatible" content="IE=8">.
    Here is a relevant thread you can reference:
    https://social.technet.microsoft.com/Forums/en-US/56650bf4-e65d-4f84-8ac0-a57cb26543b2/image-disappears-when-sorting-in-ssrs-for-server-report-on-report-vieweron-aspx-page?forum=sqlreportingservices
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.
    Wendy Fu
    TechNet Community Support

  • Pass column-name as a parameter to reports

    Hello,
    the code below calls a report. But now I want to sort the rows in the report. For example I have a text-item in my form-modul. If I type a column-name and press the button then the rows should be sorted in the report. Is it possible tp pass column-names as parameter to reports?
    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    BEGIN
    repid := find_report_object('STATIONSTOPOLOGIE');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,RUNTIME);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'html');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rep_oracle-dev');
    -- SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no pdeptno='||:dept.deptno);
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    IF rep_status = 'FINISHED' THEN
    WEB.SHOW_DOCUMENT('http://oracle-dev:8888/reports/rwservlet/getjobid'||
    substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=rep_oracle-dev','_blank');
    ELSE
    message('Error when running report');
    END IF;
    END;

    Hi,
    the work has been done in reports. You can use a lexical parameter in reports to add a condition for sorting to the query like:
    select .. from .. where ... &p_order.
    Then add another parameter to the report (for example p_param). Fill p_param via your interface in forms (SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER, ....) with the column name. Then build a report trigger like:
    if :p_param is null
    then
    :p_order:= null;
    else
    :p_order:= 'order by '||:p_param;
    end if;
    But have a look, that p_param can only get correct values.
    Rainer

  • Count number of columns in query passed as PLSQL parameter

    Hi All,
    I am using a PLSQL package to generate excel file in a Database directory, to generate file i am passing sql query and number of columns manually in a parameter.
    Now i want to automate it and do not want to pass "Number of Columns" as parameter.
    HOW CAN I CALCULATE NUMBER OF COLUMNS IN PASSED QUERY.
    Note: query can contain functions ( to get description or any other data)
    Many Thanks in advance

    http://saubbane.blogspot.com/2011/01/how-to-find-column-count-of-query.html
    Along with Re: Dynamic Fetch on dynamic Sql and just below this post, Blushadow's original run_query (from which I nicked!).

  • Passed parameter value to be checked with the retrieved column value

    select app.compositename,
    (select distinct stringvalue from WFMESSAGEATTRIBUTE where taskid = APP.taskid and name = 'approverPayload') as APPROVERPAYLOAD,
                                     from DEVT_SOAINFRA.WFTASK APP
                                   where APP.TEXTATTRIBUTE6 not like 'Product Data%'
                                   and (:P_REQUESTTYPE like '%JobCha%')
                                   and (:P_APPROVERID is null or
                                                   upper(nvl(APPROVERPAYLOAD,'-1')) like upper(:P_APPROVERID || ',%') or
                                                   upper(nvl(APPROVERPAYLOAD,'-1')) like upper('%,'||:P_APPROVERID ||',%') or
                                                   upper(nvl(APPROVERPAYLOAD,'-1')) like upper(:P_APPROVERID)
                                                                             above is my query and iam retriving approverpayload based on below select statement
                                                                             (select distinct stringvalue from WFMESSAGEATTRIBUTE where taskid = APP.taskid and name = 'approverPayload')
                                                                                                                and in the where conditions can i check the passed parameter :P_APPROVERID exists in the APPROVERPAYLOAD as i have tried below
                                                                             and (:P_APPROVERID is null or
                                                   upper(nvl(APPROVERPAYLOAD,'-1')) like upper(:P_APPROVERID || ',%') or
                                                   upper(nvl(APPROVERPAYLOAD,'-1')) like upper('%,'||:P_APPROVERID ||',%') or
                                                   upper(nvl(APPROVERPAYLOAD,'-1')) like upper(:P_APPROVERID)
                                                                                                                is my attempt correct if not can any one suggest me how to write it so.

    You cannot use the column alias in the same level in the where clause as you are doing it. It needs to be done one level higher. So it will look something like this.
    select * from
       select <column_name> <new_column_alias>
       from <table_name>
    where <new_column_alias> <operator> <condition>Regards
    Raj

  • Issue on How to mimic Deski document from CMS to local machine, pass parameter, execute and save in a mutiple report format then store in a network drive.

    Post Author: usaitconsultant
    CA Forum: JAVA
    Would you know if there's a way to mimic Deski
    document from BOXI server(CMS) to local machine, pass parameter, execute and
    save in a mutiple report format then store in a local drive or network
    drive? Most examples and tutorials in BO XI R2 I've seen are scheduling while drilling report is for web intelligence only and not desktop intelligence.  Please let me know your ideas. I would really appreciate your help. Thanks.

    Post Author: usaitconsultant
    CA Forum: JAVA
    Hi Ted,
    Thanks for the reply.The file is not available in the server. Though, I checked CMS and I found an instance in history tab and the status is failed with error below. 
                Error Message:
                A variable prevented the data provider Query 1 with BANRRD30 from being refreshed. (DMA0008).When I checked my codes, I found out that the object Im using is for web intelligence data provider. However, I cannot find any documentation and example for passing parameter values in desktop intelligence data provider. Any idea on this? You think this is not suported by Report Engine SDK?Thanks.    

  • Can't pass parameter's to a transaction in a new win and skip first screen.

    Dear experts,
    I'm trying to open a  transaction('CV04N') in a new window from a screen that has input box and a pushbutton. I'm trying to pass parameter(DOKNR/'CV1') into the new transaction and skip the first selection-screen. I tried to use Get/Set parameter and that didn't work.
    Also i tried to passing values with batch input and that did pass my values but without skipping the first screen and also it froze the transaction.
    Is there anything I can do to fix this problem?

    Hi Gershon Osmolovski,
    Alvaro is right, CV04N needs to press Execute button. So you need to use Batch Input. If it doesn't work, there must be an error in your code, what messages are returned by SAP? I have tested right now, SAP leaves immediately after the selection screen because there is a code that stops the program if it detects it runs using batch input (SY-BINPT system field). So, you should run CALL TRANSACTION with OPTIONS FROM structured data object (data type CTU_PARAMS, see ABAP documentation for more information), with component NOBINPT='X'. Be careful as an ALV grid is then displayed, you can only simulate the buttons so I advise you to indicate the exaction selection in the selection screen, then press "select all", and execute the function you want.
    If you need more help, paste your code, only useful part.
    BR
    Sandra

Maybe you are looking for