Ajax based report and pagination

Hi I have searched through the web for ajax based report in Apex. I have found the following link as very useful. http://apex.oracle.com/pls/otn/f?p=31517:98
Here content of one page is pulled to the current page. It works fine. Pagination is also working exactly as the Apex reports. But I was thinking of something different, not pulling the content from other page. I have done it myself as follows.
1. Take an HTML region called Parameter
2. Take a select list in the parameter region with LOV query
name : P2_DEPTNO
LOV : Select dname d,deptno r
from dept
3.Take an HTML region
Source : <div id=ajx></div>
4. Create an Application Item called F103_DEPTNO
5. Create an Application Process
Name : getEmpTable
Source:
declare
v_deptno number(3);
begin
OWA_UTIL.mime_header ('text/xml', FALSE);
HTP.p ('Cache-Control: no-cache');
HTP.p ('Pragma: no-cache');
OWA_UTIL.http_header_close;
HTP.prn ('<table>');
HTP.prn ('<tr>');
htp.prn('<th>Employee Number</th>');
htp.prn('<th>Employee Name</th>');
htp.prn('<th>Salary</th>');
htp.prn('<th>Department</th>');
htp.prn('<th>Job</th>');
htp.prn('<th>Hiredate</th>');
HTP.prn ('</tr>');
foR R in (select empno,ename,sal,deptno,job,hiredate from emp where deptno= :F103_DEPTNO )
LOOP
htp.prn('<tr>');
htp.prn('<td>'||r.empno||'</td>');
htp.prn('<td>'||r.ename||'</td>');
htp.prn('<td>'||r.sal||'</td>');
htp.prn('<td>'||r.deptno||'</td>');
htp.prn('<td>'||r.job||'</td>');
htp.prn('<td>'||r.hiredate||'</td>');
htp.prn('</tr>');
END LOOP;
END IF;
HTP.prn ('</table>');
end;
6. Write a javascript Function in HTML Header
Source:
<script language = "JavaScript" type="text/javascript">
function GetEmployees()
var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=getEmpTable',0);
get.add('F103_DEPTNO',html_GetElement('P2_DEPTNO').value);
gReturn = get.get();
document.getElementById('ajx').innerHTML = gReturn;
get = null;
</script>
7. Go to edit page item of P2_DEPTNO and in HTML Form Element Attributes write onchange="GetEmployees()"
8. Run and test.
Ajax based report works fine.
In the link specified above pagination works fine.
In my example very few records will appear but in case there are a lot of records appear then it is a must to manage it with pagination, letting only a few records to appear in each page. But in my example I have no idea how to manage pagination. Need help from the experts. Please notify..
Regards
Hasan Al Mamun
Programmer
Bangladesh Bank
Dhaka, Bangladesh
Edited by: hasan_al_mamun on Jan 19, 2011 10:58 AM
Edited by: hasan_al_mamun on Jan 19, 2011 11:20 AM
Edited by: hasan_al_mamun on Jan 19, 2011 11:24 AM

Hi,
You need to work with ROWNUM of result set. Create two hidden items, one for record_start_rownum and other for record_end_rownum. You need to add where clause to your SELECT query in Application process. Then your query will look like
select *
  from ( select a.*, rownum r
           from ( select empno,ename,sal,deptno,job,hiredate from emp where deptno= :F103_DEPTNO  ) a
          where rownum < :P1_ record_start_rownum )
where r > :P1_record_end_rownumYou may find following asktom link interesting..
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:76812348057
Regards,
Hari

Similar Messages

  • Sales hierarchy . role based reports and Data access, Best practice and sol

    Dear all,
    Currently working on a solution for Sales. There a geography and sales position hierarchy.
    e.g. (USA,EU,ASIA) --> EU head -->UK head -->Northern UK head -->London head -->East london--> Postal codes in east london.
    so altogether 7 roles and 7 positions, all these users can see data at it's level and below.
    Also the summary report/ Prompts/ subject area columns for each of these users must be at their corresponding level and just 1 level below.
    e.g. EU head by default must see column EU and country UK, UK head will see report only for UK and Northern UK region and so on.
    After lots of thinking i am planing to take approach of creating 6 sets of similar dashboard/ different prompts/ different global filters/ reports.
    Data level access is not at all issue i am easily able to manage.
    Request experts to guide is there is any other better approach to take for objects in catalog.?
    many thanks in advance.
    Regards,
    Yogen

    Dear Srini,
    Data level Security is not at all issue for me. Have already implement it and so far not a single bug in testing is caught.
    It's about object level security and that too for 6 different types of user demanding different reports i.e. columns and detailed drill downs are different.
    Again these 6 types of users can be read only users or power users (who can do ad hoc analysis) may be BICONSUMER and BIAUTHOR.
    so need help regarding that...as we have to take decision soon.
    thanks,
    Yogen

  • How to create an excel report and send it via email using a BPEL process ?

    Hi Experts,
    I have a requirement to develop a xl report based the data in the DB table. I will have to query the list of records entered / processed during previous day, generated the xl based report and send to users via email.
    I talked to one the experts, he asked me to use the following Adapter and BPEL activities to accomplish it.
                   DBAdapter --> {BPEL  process} --> Java Embedding --> Email Activity.
    Can someone please help me to pass the information retrieved by DBAdapter to Java Embedding and then to email import? I have created DBAdapter and Java Embedding. I don't know, how to retrieve the data read / sent by DBAdapter using Java Embedding. Also please help me to pass the xl attachment to Email Activity.
    Thanks for your help in advance!
    Thanks,
    Harisudhan Selvaraj

    I would suggest something like:
    DBAdapter --> Bpel Process --> File Adapter --> write file to location (you can write in csv which can be imported into xls)
    Read Location --> FileAdapter --> Bpel Process --> Email Activity
    Regards,
    Anshul

  • Sql Query(Updateable Report) with pagination

    Hi,
    We're on APEX 3.2 I have a question on Sql Query(Updateable Report) and pagination. I have an updateable report which we have set to show 20 rows. When the userwhi has more than 20 rows enters the data and clicks next the data disappears. I have been reviewing other posts, but haven't come to a clear conclusion on how to prevent this from happening. I have been trying to use javascript to show a save popup when clicking 'Next' Any help is appreciated.
    Thanks,
    Joe

    any ideas?

  • Compare Java based reporting to OBIEE

    Hello All,
    Due to a lot of misconceptions, my current client thinks that a lot of their problems will be resolved by simply retiring OBIEE and write all the reports in Java.
    Some requirements are unrealistic to ask from OBIEE and some are well...limitations.
    The client has asked us to give him reasons why he still should be on OBIEE. Has anyone done a comparison of Java based reports and OBIEE (or any BI tool)?
    Reasons why OBIEE stands out would also help.
    Thanks all!!

    There are many, many reasons why to use OBIEE. One of the bigger reasons being you don't need to know anything about Java in order to build an Answer Report.
    I've been asked a similar question in the past, to compare OBIEE versus Java based ADF. My response is that they have two completely different purposes.
    --OBIEE is end-user/middle-user driven dashboards and ad-hoc analysis. 
    --Java/ADF is for power-users to pre-constructed reporting systems. (forgive me but I don't know the ad-hoc capabilities of Java/ADF)   
    If your client has full-time java resources to commit to the creation and maintenance of a Java environment, then by all means they should probably go that route. But keep in mind that as new uses want to see different data layouts and different data sets, your java team will quickly become overburdened.
    OBIEE relieves the strain on the java (IT) team and allows end-users to drive reporting with the relatively occasional support by IT.
    Yes, OBIEE does have limitations, but always keep in mind that a) It's an ad-hoc Dashboard framework and not an ad-hoc java framework which has much greater flexibility but requires much more technical expertise b) There is a major release of OBIEE (11g) just around the corner that is about to change the game in terms of how OBIEE can be used. You should have your client stay on board until they can at least see the new features.
    Good luck and if you found this post useful, please award points!
    Best regards,
    -Joe

  • OC4J support Ajax based Application, If yes....give me example

    Hi,
    I did Ajax based application and getting output in MyEclipse with Tomcat server.
    but, same Ajax Program I am running in oracle jdeveloper with OC4J, it's not getting output......
    can anyone help.....what is the reason.....
    regards,
    Abu

    Sorry for posting no code.
    I was hoping it was a common problem with the ajax anyware framework.
    Folow some simple part of the application :
    [JSP BEGIN]
    <aa:zone name="pgoVerbaZone">
                                   <t:dataList var="pgoVerba" value="#{amortizaBean.proAmorPOJO.listaPgoVerba}" rowIndexVar="indice">
                                          <f:verbatim>
                                                <table border="0" cellpadding="0" cellspacing="10" width="100%">
                                                   <tbody><tr>
                                                     <td><label class="label">Valor*</label>
                                                     </f:verbatim>
                                                                        <h:inputText id="valorPagPrinc" alt="Verba Principal e Reflexo - Pagamentos - Valor" value="#{pgoVerba.valorPagPrinc}"
                                                                size="18" onblur="mascara_numero_controle_extra(this, 'dinheiro', true);" onkeyup="mascara_numero_controle_extra(this, 'dinheiro', false);" />
                                                     <f:verbatim>
                                                     <td>
                                                     <label class="label">Tipo*</label>
                                                         </f:verbatim>
                                                         <h:selectOneMenu id="selectTipoPrinc" value="#{pgoVerba.tipoPagamentoPrinc}">
                                                                     <f:selectItems value="#{amortizaBean.listaTipoPagamento}" />
                                                                </h:selectOneMenu>
                                                         <f:verbatim>
                                                       </td>
                                                     <td><label class="label">Data do recolhimento*</label>
                                                      </f:verbatim>
                                                          <h:inputText id="dtRecoPrinc" alt="Verba Principal e Reflexo - Pagamentos - Data Recolhimento" value="#{pgoVerba.dtRecoPrinc}" size="10"
                                                          onblur="verificarData(this);" onkeyup="autoTab(this, 10, event); mask_input_date(this);" maxlength="10"/>
                                                     <f:verbatim>
                                                     </td>
                                                     <td>
                                                     <label class="label">Priorizar juros*</label>
                                                          </f:verbatim>
                                                          <h:selectOneMenu id="selectPriorizarJurosPrinc" value="#{pgoVerba.priorizarJurosPrinc}">
                                                                     <f:selectItem itemValue="-1" itemLabel=""/>
                                                                     <f:selectItems value="#{amortizaBean.listaSimNao}" />
                                                                </h:selectOneMenu>
                                                                 <f:verbatim>
                                                       </td>
                                                     <td width="25%">
                                                          <div align="right">
                                                                </f:verbatim>
                                                                    <t:commandLink id="linkIncluirPgoVerbaAJAX" action="#{amortizaBean.incluirPgoVerbaAJAX}" rendered="#{indice eq 0}">
                                                                         <t:updateActionListener value="#{indice}" property="#{amortizaBean.indicePgoVerba}"/>
                                                                         <h:graphicImage style="border:0" alt="Adicionar Pagamento" url="/common/img/ico_novo.png" />
                                                                    </t:commandLink>     
                                                                 <f:verbatim>
                                                          </div>
                                                          <div align="right">
                                                                </f:verbatim>
                                                                    <t:commandLink id="linkExcluirPgoVerbaAJAX" action="#{amortizaBean.excluirPgoVerbaAJAX}" rendered="#{not(indice eq 0)}">
                                                                         <t:updateActionListener value="#{indice}" property="#{amortizaBean.indicePgoVerba}"/>
                                                                         <h:graphicImage style="border:0" alt="Excluir Pagamento" url="/common/img/ico_excluir.png" />
                                                                    </t:commandLink>     
                                                                 <f:verbatim>
                                                          </div>
                                                     </td>
                                                   </tr>
                                                 </tbody>
                                                 </table>
                                                 </f:verbatim>
                                       </t:dataList>
                                   </aa:zone>
    [JSP END]
    [JavaScript BEGIN]
              // Funções AJAX (AjaxAnywhere)...
              ajaxAnywhere.getZonesToReload = function(url, submitButton) {
                   // Identificando ID do componente disparado (commandButton ou commandoLink)....
                   if ((typeof submitButton != "undefined") && (submitButton.type=="submit")) {
                        componentId = submitButton.id;
                   }else {
                        if (this.findForm().elements["atualizaPagamentoForm:_link_hidden_"] != null) {
                             componentId = this.findForm().elements["atualizaPagamentoForm:_link_hidden_"].value;
                   //execeção
                   if(componentId == 'atualizaPagamentoForm:botaoEnviarAtualizacao' ||
                        componentId == 'atualizaPagamentoForm:botaoEnviarAtualizacaoRateada') {
                        return null;
                   //Zonas que será atualizadas de acordo com as requisições via AJAX.               
                   var zones;     
                   zones = 'zoneMensagem,pgoVerbaZone,pgoCustaZone,' +
                             'pgoDiversosZone,pgoReclamanteZone,pgoReclamadoZone,' +
                             'pgoTercZone,pgoIRRFZone,pgoFGTSZone,diversosZone,historicoZone';
                   setarImagemDeSubmissaoAJAX(componentId);     
                   return zones;
    [JavaScript END]
    [BEAN BEGIN]
    /** AJAX VERBA*/
         public String incluirPgoVerbaAJAX() {
              proAmorPOJO.getListaPgoVerba().add(proAmorPOJO.new PgoVerba());
              return null;
         public String excluirPgoVerbaAJAX() {
              proAmorPOJO.getListaPgoVerba().remove(indicePgoVerba.intValue());
              return null;
    [BEAN END]Well this code runs ok. The Request is Sent, the methods are called, the response is received, but nothing is rendered.

  • Web based reporting engine integrated with APEX

    Hello,
    I would like to use some completely web-based reporting solution for my application. My idea is that I will create some datasource, prepare database query and publish some data columns to end users (datamodel). They will choose from many of prepared data areas, create their own report using some intuitive web-based report designer and save it. I do not need it for any analytic purposes, no dynamic filters, graphs and other widgets, no BI. It will be all only about building text based reports with few dynamic fields (customer address, actual date etc..).
    For example: User will prepare some document (template) with few paragraphs and add some of prepared dynamic fields into it (ie. company name, customer address, repeating table with list of employees, some image). Then he will be able to generate same document for many customers etc..
    I am looking for some simple, user friendly web based application. Some external report builder for example for Jasper reports is not what I am looking for.
    I will need to integrate it with  Oracle 11g XE with APEX 4.2 so some API or URL parameters is must.
    Used reporting engine does not be completely free, but I am able to pay max. $5000 for it
    Do you have some tips?
    Thank you

    This could be a solution for APEX reports (interactive reports). But I want to create more complex reports, not only table based reports.
    I need to create for example invoice report with some dynamic fields (customer, invoice items...), another report can be for example some contract about cooperation with some dynamic fields (contract number, personal information ...).
    These reports will be mostly only text based without any table. See example bellow. How would you generate this kind of letter?
    "Hello <CUSTOMER_NAME>, we would like to offer our new product <PRODUCT_NAME> to you..."
    Where CUSTOMER_NAME a PRODUCT_NAME are prepared fields (from some database tables). It will be something very similar to Microsoft Word automatic mailings. User can generate many text based reports and save them as PDF.
    I need to find some web based product, that will be simple for users and can be integrated with APEX.

  • Updateable Report with pagination(APEX 3.2)

    Hi,
    I am working on APEX 3.2 and I have a question on Sql Query(Updateable Report) and pagination. I have an updateable report which we have set to show 100 rows. When the user has more than 100 rows enters the data and clicks next the data disappears. How can i save first 100 records once i click next ?. Any suggestions will be appreciated.
    Thanks,
    Greenhorn

    Here is what I did to get it to work.
    1. Copy xmlparserv2.jar from my ORACLE_HOME/oc4j/lib directory to my glassfish domains/domain1/applications/fop/WEB-INF/lib directory.
    2. Added the following two lines to the glassfish domains/domain1/fop/apex_fop.jsp before the driver.run() line
    out.clear();
    out = pageContext.pushBody();The second part of solution I found on another forum page.

  • Problem in tabular form based on dynamic view and pagination

    Hi All,
    I have a manual tabular form based on a dynamic view. The view fetches the records based on search criteria given by the user in all cases. But this view fetches ALL records when user clicks on pagination, without considering the search criteria. This is the problem I am facing.
    I am doing the following:
    Since tabular form does not support pl/sql function returning query, I cannot use a table directly. I need my results based on search criteria selected by user. Hence I created a dynamic view and used a "INSTEAD OF UPDATE" trigger to update the table.
    I use a set bind variables procedure, on load before header for setting the variables.
    This view fetches the correct data based on user search always. It creates a problem only in one situation, when using pagination in the report.
    The example can be found at:
    http://apex.oracle.com/pls/otn/f?p=19399:1:
    username = [email protected]
    pwd = kishore
    Here if "manager name" is entered as test, we get 5 records in "Summary of requests" report and 5 records in "Inactive Requests" report. When user clicks on Pagination in any of the reports, ALL the 7 records get fetched in "Summary of Requests" and 6 records in "Inactive Requests". How can I overcome this problem?? The report must consider the search variables even when pagination occurs.
    Is this because, the inbuilt "html_PPR_Report_Page" executes the region query once again by considering all search variables as NULL?
    Backend Code is at:
    http://apex.oracle.com/pls/otn/
    workspace: sekhar.nooney
    Username :[email protected]
    pwd: kishore
    application id = 19399
    My region code is something like:
    select *
    from regadm_request_v
    where access_type = :F110_REGADM
    and status <> 'INACTIVE'
    order by request_id
    My view code is:
    CREATE OR REPLACE VIEW REGADM_REQUEST_V
    AS
    SELECT *
    FROM REGREGOWNER.REGADM_REQUEST
    WHERE upper(employee_name) LIKE '%'||nvl(upper(REGADM_REQUEST_PKG.GET_EMPLOYEE_NAME),'%')||'%'
    AND upper(manager_name) LIKE '%'||nvl(upper(REGADM_REQUEST_PKG.GET_MANAGER_NAME),'%')||'%'
    AND upper(employee_sunetid) LIKE '%'||nvl(upper(REGADM_REQUEST_PKG.GET_EMPLOYEE_SUNET_ID),'%')||'%'
    AND upper(manager_sunetid) LIKE '%'||nvl(upper(REGADM_REQUEST_PKG.GET_MANAGER_SUNET_ID),'%')||'%'
    AND upper(request_date) LIKE '%'||nvl(upper(REGADM_REQUEST_PKG.GET_REQUEST_DATE),'%')||'%'
    AND upper(USAGE_AGREEMENT_RECVD) LIKE '%'||nvl(upper(DECODE(REGADM_REQUEST_PKG.GET_USAGE_AGREMNT_RECVD,'~!@',NULL,REGADM_REQUEST_PKG.GET_USAGE_AGREMNT_RECVD)),'%')||'%'
    AND upper(STATUS) LIKE '%'||nvl(upper(DECODE(REGADM_REQUEST_PKG.GET_STATUS,'~!@',NULL,REGADM_REQUEST_PKG.GET_STATUS)),'%')||'%'
    AND upper(REQUEST_APPROVED) LIKE '%'||nvl(upper(DECODE(REGADM_REQUEST_PKG.GET_REQUEST_APPROVED,'~!@',NULL,REGADM_REQUEST_PKG.GET_REQUEST_APPROVED)),'%')||'%'
    AND upper(nvl(APPROVAL_DATE,sysdate)) LIKE '%'||nvl(upper(REGADM_REQUEST_PKG.GET_APPROVED_DATE),'%')||'%'
    AND upper(APRVL_REQUEST_SENT) LIKE '%'||nvl(upper(DECODE(REGADM_REQUEST_PKG.GET_EMAIL_APPROVERS,'~!@',NULL,REGADM_REQUEST_PKG.GET_EMAIL_APPROVERS)),'%')||'%'
    AND upper(NOTIFY_APPROVED) LIKE '%'||nvl(upper(DECODE(REGADM_REQUEST_PKG.GET_APPROVAL_NOTIFICATION,'~!@',NULL,REGADM_REQUEST_PKG.GET_APPROVAL_NOTIFICATION)),'%')||'%'
    I would be glad for any suggestions.
    Andy/Varad any ideas? You both helped me a lot on my problems for the same application that I had faced before in More Problems in Tabular form - Please give me suggestions.
    Thanks,
    Sumana

    Hi Andy,
    The view and the package for setting bind variables work properly in my entire application other than the pagination. A pity that I came across this only now :(
    I have used this same method for holding variables in another application before, where I needed to print to PDF. I used this approach in the other application because my queries were not within the APEX character limit specified for the "SQL Query of Report Query shared component".
    In this application, I initially had to fetch values from 2 tables and update the 2 tables. Updateable form works only with one table right? Hence I had created a view. Later the design got changed to include search and instead of changing the application design I just changed the view then. Still later, my clients merged the 2 tables. Once again I had just changed my view.
    Now, I wanted to know if any method was available for the pagination issue (using the view itself). Hence I posted this.
    But as you suggested, I think it is better to change the page design quickly (as it would be much easier).
    If I change the region query to use the table and the APEX bind parameters in the where clause as:
    SELECT *
    FROM REGADM_REQUEST
    WHERE upper(employee_name) LIKE '%'||nvl(upper(:P1_EMPLOYEE_NAME),'%')||'%' .....
    I also changed the ApplyMRU to refer to the table.
    Here the pagination issue is resolved. But here the "last Update By" and "Last Update Date" columns do not get updated with "SYSDATE" and "v(APP_USER)" values, when update takes place. Even if I make the columns as readonly text field, I am not sure how I can ensure that SYSDATE and v('APP_uSER') can be passed to the columns. Any way I can ensure this? Please have a look at the issue here: http://apex.oracle.com/pls/otn/f?p=19399:1:
    I have currently resolved the "last update" column issue by modifying my view as:
    CREATE OR REPLACE VIEW REGADM_REQUEST_V
    AS
    SELECT *
    FROM REGADM_REQUEST
    I modified my region query to use APEX bind parameters itself as:
    SELECT *
    FROM REGADM_REQUEST_V
    WHERE upper(employee_name) LIKE '%'||nvl(upper(:P1_EMPLOYEE_NAME),'%')||'%' .....
    And I use the "INSTEAD OF UPDATE" trigger that I had initially written for update. The code is:
    CREATE OR REPLACE TRIGGER REGADM_REQUEST_UPD_TRG
    INSTEAD OF UPDATE
    ON REGADM_REQUEST_V
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    BEGIN
    UPDATE REGREGOWNER.REGADM_REQUEST
    SET MANAGER_EMAIL = :NEW.MANAGER_EMAIL
    , EMPLOYEE_EMAIL = :NEW.EMPLOYEE_EMAIL
    , STATUS_UPDATE_DATETIME = SYSDATE
    , USER_UPDATE_ID = (SELECT v('APP_USER') FROM DUAL)
    WHERE REQUEST_ID = :OLD.REQUEST_ID;
    END;
    Please let me know how I can resolve the "last update" column issue using the table itself. (Just for my learning)
    Thanks,
    Sumana

  • Report attributes - layout and pagination

    When you set the pagination scheme to Row Ranges X to Y(with next and previous links), Number of Rows to 15 and Max Row count to 1000, I need to know what happens with the query. When the user selects the next (or previous) 15 records, does the region's query fire again and query all 1000 (or more) records?
    I hope this makes since. I just need to know if the application is selecting all the records over and over as the user move through the report.
    Thanks

    Thank You, Thank You, Thank You.
    That is indeed the point I am trying to make.
    My report is a SQL Query (PL/SQL Function body returning SQL Query) and is based on information provided in several PopUp LOVs. The more LOVs used, the more information provided to the WHERE CLAUSE, and therefore the less data returned to the screen.
    When the End User produces a small report, they are likely to want to sort it.
    But when they bring back huge amounts of data, they don't want it sorted. Especially not automatically sorted.
    In most cases, this is happening when we are joining two or three tables with say 10 million rows on each table. The join condition is good (meaning there is not a Cartesian Product) but the resultant data is 10 million rows - something you not likely want to sort. Even with a limit on the number of rows returned (Report Attributes - Layout and Pagination - Max Row Count) to something reasonable, like 500, the 10 million resultant rows are first being sorted and then the first 500 returned.
    So, yes, a "sort-enabled" report should NOT automatically sort. Which is what is happening.
    Of course, it might be a good thing to have some sort of Variable that we could set on a page to decide if we want automatic sorting. On most pages, an automatic sort is great - as the amount of data returned will always be small.
    On the pages where I have this problem, it would be great to do the automatic sort when one or more of the PopUp LOVs are populated. So, within a "After Submit" process I might want to turn automatic sorting on.
    Hey, if we are going to ask for an enhancement/change, we might as well ask for something really flexible.

  • OBIEE SSO enabling and role based reporting

    Hi,
    I had installed SOA10.1.3.1.0 and OBIEE10.1.3.4.0 already on my WINDOWS. I understand that I need to install 10.1.4 infrastructure to enable SSO in OBIEE, can you please tell me what is 10.1.4 infrastructure? is it equivelent to Oracle Identity Management Infrastructure and Oracle Identity Federation 10.1.4? I tried to download this from OTN since last night, but the page is always unaccessible. Where can I download 10.1.4 infrastructure except otn?
    I have another question regarding to the role based reporting with SSO. We want users to see different reports based on their roles once they login. What options do we have to implement this? From my understanding, we need to maintain a user role mapping table in our database, create groups in OBIEE and map the user role with the group in OBIEE? Is it true? Are there other options? Is there a existing product we can use to implement this?
    Thanks,
    Meng

    have a look on page 137 and further http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/b31770.pdf

  • 'Hierarchy Based Login' and 'Direct Reports' field in Dim - Position table

    Hello -
    I am trying to build a "My Team's" report, which basically shows the logged in Managers ( and his subordinates) revenues rolled up by default. Then the manager needs to drilldown on his name and see revenues grouped by his direct reports. I am using OBIEE 10G. In the out of the box RPD, there are two fields in the BMM layer called 'Hierarchy Based Login' and 'Direct Reports'.
    1. The 'Hierarchy based Login' field uses the INDEXCOL method to get relevant column from the W_POSITION_DH table based on the the Logged in users hierarchy level (the hierarchy level is stored in a session variable (HIER_LEVEL). This session variable works fine and i have tested the SQL)
    2. The 'Direct Reports' is using the same INDEXCOL method, just that it uses the formula HIER_LEVEL - 1. This works fine as well.
    The issue i am facing is neither of these out-of-the-box fields are assigned to the Position dimension (the position dimension also exists OOTB).
    So basically, i am able to create a manager and his direct subordinate report, but without any drill functionality.
    I am trying to get the report to drill all the way down to the bottom most level of the heirarchy.
    Any help to get this working is much appreciated

    What i meant was neither of these out-of-the box fields are assigned to a Dimension Hierarchy ( there is a hierarchy called 'Position' that already exists out-of-the box). Other fields in the 'Dim-Position' table are assigned to a level in this position hierarchy, except these two. I guess what i am trying to achieve is to dynamically assign the hierarchy level based on the users Hierachy level in W_POSITION_DH table.
    Thanks for spending time to look into my issue

  • Generate reports and sub-reports based on JTable Swing.

    Hello everybody...
    Anyone know like to generate report and subreport dinamicaly using the tool jasper?
    The report will be based on a JTable Swing.
    Java Swing.

    As far as your target platform is supported by Crystal Reports, use it via free API at http://www.must.de/Jareport.htm

  • How to layout a subreport based on main report and another subreport!

    Hello all,
    I got an issue how to capture the value at a run time and loop through group in Crystal Report. My project is complicated (main report and sub report using stored procedure with parameters as datasource and a lot of formula fields pass between main report to sub report, but I try to explain it as simple scenario as following:
    School 1
    Main report layout: (Group by Class)
    ===============================================
    Class A
    Sub report: ( This result from the stored procedure at run time and only having two rows when running stored procedure)
    Boy : 200                  
    Girl : 150
    ================================================
    Class B
    Sub report
    Boy: 50
    Girl: 100
    =================================================
    Class C
    Sub report 
    Boy: 259
    Girl: 80
    Please pay attention on the above layout what I am done on reports. My question is how to produce another report that used the previous values and having the following layout:
    School Summary
    Class  |  Boys  |  Girls  |  Student
    A        |   200    |  150   |     350
    B        |     50    |  100   |     150
    C        |   260    |    80   |     340
    Please give me some ideas how to solve above problem. I know that Crystal Report can use shared variables via formula fields. I am wondering whether or not how to capture the specific value at the run time? Is it posible to make it working in Crystal Report or I have to write a stored procedure in the backend??? Thanks in advance.

    Hi,
    When we look at your report lay out, for each class group you have boys and girls count which is coming from sub report.
    I think you placed the sub report in the Class group and linked with Class.  If that is the case you will get all information in the sub report itself.
    In the sub report, create a running total with shared variables and bring this value to main report to display at the end of the report.
    Eg: To get Class from sub report to main report :
    Whileprintingrecords;
    Shared stringvar class;
    class:=classchar(13);
    Place this formula in your sub report group and create one more formula
    Whileprintingrecords;
    Shared stringvar class;
    class;
    Place this formula in your main report report footer, this will bring your classes into main report. Follow the same process for boys and girls numbers.
    Thanks,
    Sastry

  • (Classic) Report losing pagination on partial page refresh - APEX feature request

    I have a page with both an Interactive Report and some classic Report regions.
    Based on user updates, there are many occasions where I need to do a partial page refresh.
    Thanks to plugin http://www.apex-plugin.com/oracle-apex-plugins/dynamic-action-plugin/refresh-interactive-report-1.0_361.html
    I'm able to refresh my IR, but not my classic report (unless I do a submit of the whole page) without losing pagination.
    Request: Will a Dynamic action 'Refresh without losing pagination' be part of future apex versions?
    Now, in apex 4.2, is there another work around available for classic reports?
    (I use 'submit page' now as action, but it's at least a second slower as a partial refresh, and because I need it on every user update, this second becomes a big addition to user frustration).
    Thanks, JP

    Here is the solution for your problem:
    https://apex.oracle.com/pls/apex/f?p=31517:243
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    https://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494

Maybe you are looking for

  • How can I see My Photo Stream from two Macs associated with the same Apple ID?

    I have a MacBook Pro (my personal machine) and an iMac (our family computer). The iPhoto library housing all of our family photos lives on the iMac. The iPhoto library on my MacBook Pro is currently empty. I have an account on both machines.  I have

  • Adobe Muse: where it must be placed .oam file via FTP???

    I don't use Catalyst or other Adobe devices to publish my Muse sites, but I prefere to use FTP and add any file to respective folder. Now I built an animation with Edge and I have correctly obtained an .oam file. I tried to follow instructions but I'

  • New Best Practice for Titles and Lower Thirds?

    Hi everyone, In the days of overscanned CRT television broadcasts, the classic Title Safe restrictions and the use of larger, thicker fonts made a lot of sense. These practices are described in numerous references and forum posts. Nowadays, much vide

  • SSO using SAML2 in WebLogic Server 10.3 not working

    Dear all, I have tried all possible configuration to configure SSO but with no hope :( My requirement is to configure SSO using SAML2, weblogic 10.3 and 1 domain. I followed the following links in my configuration: 1- http://biemond.blogspot.com/2009

  • IPhone - Lotus Notes - Mac Outlook

    Here's the problem: I have an iPhone5s; I also have a MacBook Pro; I am running the latest OS on both. I also have a client who uses Lotus Notes for their email and calendars and I make extensive use of WebEx GoToMeeting. Everything is/was hunky-dory