Portal Reports-Help

Hello All,
I am working on Reports and I have developed a report based on SQL Query with some binding variables.
I am facing problem with the null values. I guess, the query is not working properly.
Can somebody clarify the fallowing,I have displayed the SQLConditions below which is genarated in the report, when the display SQL query option is checked...
Vendor McKesson
Owner % -------------> what is the meaning of % in the condition. I read it is a space some where in the search . But I don't have blanks in the table.
Coordinator %
Analyst %
Campus %
Department %
Discontinued FALSE
Infrastructure FALSE
Ordering Application Ascending
I want to build the query dynamically, by the values which are provided. Lets say I have given Vendor as 'McKesson' .Then it should retrieve the all the record with vendor = 'McKeson'. others should not validated. Here is my query for reference.....
select P1.APID,P1.APPLICATION,P1.VENDOR,P1.OWNER,P1.WORKGROUP,P1.PAGEGROUP,P1.DESCRIPTION FROM JM_AID.TBLAPPPAGE1 P1
LEFT JOIN JM_AID.TBLAPPPAGE2 P2
ON P1.APID = P2.APID
LEFT JOIN JM_AID.TBLAPPPERSON P3
ON P1.APID = P3.APID
LEFT JOIN JM_AID.TBLAPPDEPT P4
ON P1.APID = P4.ADAPID
LEFT JOIN JM_AID.TBLAPPCAMPUS P5
ON P1.APID = P5.CAPID
LEFT JOIN JM_AID.TBLAPPALIAS P6
ON P1.APID = P6.APID
WHERE P1.VENDOR = :Vendor
AND (P1.OWNER = :Owner OR P1.OWNER IS NULL)
AND ((P3.ROLE = 'Coordinator' AND P3.NAME = :Coordinator) OR (P3.ROLE = 'Coordinator' OR P3.NAME IS NULL))
AND ((P3.ROLE = 'Analyst' AND P3.NAME = :Analyst) OR (P3.ROLE = 'Analyst' OR P3.NAME IS NULL))
AND (P1.WORKGROUP LIKE nvl('%'||:WorkGroup||'%','%'))
AND (P1.PAGEGROUP LIKE nvl('%'||:PageGroup||'%','%'))
AND (P5.CAMPUS = :Campus OR P5.CAMPUS IS NULL)
AND (P4.ADDEPT = :Department OR P4.ADDEPT IS NULL)
AND P2.DISCONTINUED = :Discontinued
AND P1.ISITSINFR = :Infrastructure
Thanks in advance.....

Hello All,
I am working on Reports and I have developed a report based on SQL Query with some binding variables.
I am facing problem with the null values. I guess, the query is not working properly.
Can somebody clarify the fallowing,I have displayed the SQLConditions below which is genarated in the report, when the display SQL query option is checked...
Vendor McKesson
Owner % -------------> what is the meaning of % in the condition. I read it is a space some where in the search . But I don't have blanks in the table.
Coordinator %
Analyst %
Campus %
Department %
Discontinued FALSE
Infrastructure FALSE
Ordering Application Ascending
I want to build the query dynamically, by the values which are provided. Lets say I have given Vendor as 'McKesson' .Then it should retrieve the all the record with vendor = 'McKeson'. others should not validated. Here is my query for reference.....
select P1.APID,P1.APPLICATION,P1.VENDOR,P1.OWNER,P1.WORKGROUP,P1.PAGEGROUP,P1.DESCRIPTION FROM JM_AID.TBLAPPPAGE1 P1
LEFT JOIN JM_AID.TBLAPPPAGE2 P2
ON P1.APID = P2.APID
LEFT JOIN JM_AID.TBLAPPPERSON P3
ON P1.APID = P3.APID
LEFT JOIN JM_AID.TBLAPPDEPT P4
ON P1.APID = P4.ADAPID
LEFT JOIN JM_AID.TBLAPPCAMPUS P5
ON P1.APID = P5.CAPID
LEFT JOIN JM_AID.TBLAPPALIAS P6
ON P1.APID = P6.APID
WHERE P1.VENDOR = :Vendor
AND (P1.OWNER = :Owner OR P1.OWNER IS NULL)
AND ((P3.ROLE = 'Coordinator' AND P3.NAME = :Coordinator) OR (P3.ROLE = 'Coordinator' OR P3.NAME IS NULL))
AND ((P3.ROLE = 'Analyst' AND P3.NAME = :Analyst) OR (P3.ROLE = 'Analyst' OR P3.NAME IS NULL))
AND (P1.WORKGROUP LIKE nvl('%'||:WorkGroup||'%','%'))
AND (P1.PAGEGROUP LIKE nvl('%'||:PageGroup||'%','%'))
AND (P5.CAMPUS = :Campus OR P5.CAMPUS IS NULL)
AND (P4.ADDEPT = :Department OR P4.ADDEPT IS NULL)
AND P2.DISCONTINUED = :Discontinued
AND P1.ISITSINFR = :Infrastructure
Thanks in advance.....

Similar Messages

  • Running Discoverer reports into portal using SSO portal login - help

    Hi,
    I am trying to run disco reports into oracle portal using discoverer portlet providers -list of worksheet. What I want to achieve is as follows
    1) login to portal using SSO userid /pwd - Done
    2) Enable discoverer for SSO - Done
    *3) Use discoverer list of worksheets to show reports into portal but want to filter the list of worksheet to currently logged in portal user. This so that users looged in only sees the reports to which they have access in discoverer - Need Help*
    *4) Once user runs this report then I want to filter the discoverer data based on users login or portal group - Help*
    Can someone please help with issue no 3/4 urgently.
    Mant thanks
    Ganesh

    Hi Michael,
    Assuming I have created the private connections using CAPI I still have my doubts as follows
    Do I have to then login as each portal user and add the list of worksheet portlet for each user and selecting
    "check the box called Display a different list of worksheets by allowing users to customize database connection and then check Show a default list of worksheets using connection, changing the connection to user's connection."
    Considering we have 500+ users this will be huge cumbersom task for me.
    Also when I tried to do this before loggin as each portal user when I logged in as second portal user I could see the list of worksheet portalet added by the first user which means I have to edit it but even that was not possible because it would not let me edit as only the page own whi created the portlet was allowed to edit (that is the first user)
    OR
    Do you have to give portal user permission to edit the page so that they can log on themselve to add the list of worksheet portlet on the page by selecting their private connection and selecting
    "check the box called Display a different list of worksheets by allowing users to customize database connection and then check Show a default list of worksheets using connection, changing the connection to user's connection."
    Finally I know someone has made it work using URL links and it works as follows
    1) Map the portal and disco user into a table
    2) Create disco private connections
    3) when portal user loggs in and click on "Show my discoverer report" it then runs a PL/SQL package which in turn identifies the private connection details and creates a URL out of it as follows
    [http://portal.ccm.ac.uk/discoverer/app/partialConnect?password=IRTIMUDV123_=qplus=VDUMITRI=browser_selected=connect=RELATIONAL=QPRIS=viewer]
    clicking on this link open discoverer with private list of workbook/worksheet.
    Please advise which way should I follow.
    Thanks
    Ganesh

  • No data in Portal Report but have data in Bex Analyzer

    Hi experts,
    I have problem regarding portal reports. When you view the report using the bex analyzer, there is data. But when you view the report in the portal from iview, there is no data.
    Please help experts.
    Thanks

    Hi Emmanuel (that's weird, I am an Emmanuel too! and we both have Filo origins),
    There can be heaps of reasons for this.
    1) Please try to run the query in transaction RSRT by entering the query name and clicking "Java Web". See if that gives you results. If that gives your results, then the iView that was saved in the portal might need some reconfiguration. Check it out.
    2) Check the logic of your user exit variables. The sequence of the I_STEP calls is a bit different if you run a query in the Portal. For example, if you don't have a mandatory variable in your query, then the olap engine will call I_STEP=1 to 3 before it shows the variable screen. This behaviour is not documented in help.sap.com. However, it does work that way.
    3) Try to check the caching settings for your iView. It might be caching the result. You can change this in Content Administration in the portal.
    Try the above and see if it helps. Otherwise, post another message.
    Cheers.

  • How do I display blob (image) in a Portal Report

    I am using 9ias 10222 and portal 30983 and I have a table that stores an image as a blob and have a varchar field to store the mime type. I have created a form to upload the image and can then query the form to display the image.
    How do I dislay the image in a Portal Report/Dynamic Page Component. I have followed note 68016.1 but the retrieve_img_data procedure does not work it gives a wwv-11230 error.
    Any ideas? Any help would be appreciated.
    Thanks
    Belinda

    Hi,
    Can you display what code you used for this? I followed note 172045.1 and everything compiles properly but when I run the report, I just get a box with a red X in it, like it is not finding the picture. I ran the procedure that downloads the image and it works fine from there. Thanks.

  • How to give the table in a Portal Report an ID?

    I have a report created in Oracle Portal 10.1.4 using the standard Portal Report feature. The results are output in HTML as a table. How do I give the table an ID attribute?
    This is what teh output looks like now:
    <TABLE border="1" cellspacing=0 cellpadding=2 SUMMARY ="Printing Table Headers">
    <TR>
    <TH nowrap><FONT CLASS="PortletHeading1">Heading 1</FONT></TH>
    <TH nowrap><FONT CLASS="PortletHeading1">Heading 2</FONT></TH>
    <TH nowrap><FONT CLASS="PortletHeading1">Heading 3</FONT></TH>
    <TH nowrap><FONT CLASS="PortletHeading1">Heading 4</FONT></TH>
    </TR>
    <TR BGCOLOR=#BBBBBB>
    <td align="center"><FONT CLASS="PortletText1">Value r1v1</FONT></TD>
    <td align="center"><FONT CLASS="PortletText1">Value r1v2</FONT></TD>
    <td align="center"><FONT CLASS="PortletText1">Value r1v3</FONT></TD>
    <td align="center"><FONT CLASS="PortletText1">Value r1v4</FONT></TD>
    </TR>
    <TR BGCOLOR=#BBBBBB>
    <td align="center"><FONT CLASS="PortletText1">Value r2v1</FONT></TD>
    <td align="center"><FONT CLASS="PortletText1">Value r2v2</FONT></TD>
    <td align="center"><FONT CLASS="PortletText1">Value r2v3</FONT></TD>
    <td align="center"><FONT CLASS="PortletText1">Value r2v4</FONT></TD>
    </TR>
    </TABLE>

    Hi,
    you can increase the table size by using the table properties.
    table properties-->Additional formatting options--->give the values of height and width like 800,600 etc.
    mark if helpful/correct...
    thanks,
    prasanna

  • Display portal report in new window

    In 9.0.2, I have a sql based portal report displayed on my page. I would like to create links that open up a new report in a different browser window. Is this possible? For example:
    My 1st report lists the Deptno, Deptname in a tabular display. I created a link on the Deptname that calls up all employees in the department. I want that report to show in a new window. When I select a different Deptno, it should re-display with the correct employees.

    Not familiar with using this:
    wwctx_api.get_proc_path(p_url =>
    Can you give me a little help. Here is my SQL curentky be processed on the graph.
    select 'STARS3.ADMIN_DAILY_ATT_DET.SHOW?p_arg_names=v_student_id&p_arg_values='||replace(:student_id,'%','%25') ||
    '&p_arg_names=v_atcode_desc&p_arg_values='||replace(replace(C.atcode_desc,'%','%25'),' ','%20')||'&p_arg_names=_v_atcode_desc&p_arg_values=%3D'
    the_link,
    the_name,
    count(*) the_data

  • User id passed from Portal report?

    How do I capture the user id of the OID user that is running a portal report?
    I would like to pass this userid to a backend procedure.
    Thanks in advance for any help offered!

    You can use it either in a sql query (in a column in a select statement or where clause) or in plsql (Additional PLSQL tab in the report wizard.) Here are a few simple examples:
    select * from yourtable y where UPPER(y.username) = portal.wwctx_api.get_user
    select sysdate todays_date, portal.wwctx_api.get_user user_name from dual
    DECLARE
    v_userid NUMBER;
    BEGIN
    v_userid := portal.wwctx_api.get_user_id;
    htp.p(v_userid);
    END;

  • Portal report

    hi
    iam using portal bi7.0 netweave
    and iam new in using this poral i have only user to access some report area and iam able to navgite thourgh it
    but the thing is that
    how to make report or manage it and how to work with iview ..???
    if any one have guide document to work with this portal screen plz send to me
    best regards

    Hi,
    in SAP NetWeaver 7.0, portal integration is a required component for using the new functions of the BEx Web (such as the Report and Analysis Web items). This new Web runtime is now based on the technology of SAP NetWeaver Portal.
    Web templates for the new Web runtime from SAP NetWeaver 7.0 are different from Web templates from SAP NetWeaver 2004.
    iViews with content from BI are now called BEx Web Application iViews (previously SAP BW Report iViews). A BEx Web Application iView can have one of two versions: BEx Web Application for a Web template from the new Web runtime from SAP NetWeaver 7.0, and BEx Web Application (SAP BW 3.x format) for a Web template from a previous Web runtime from SAP NetWeaver 2004 or lower.
    In addition to the integration of content from BI from SAP NetWeaver 7.0 into the portal in SAP NetWeaver 7.0, the integration of content from BI from SAP BW 3.x into the portal in SAP NetWeaver 7.0 is also supported.
    The Business Explorer portal role has been changed. Two additional portal roles have also been created, Business Planning and Business Intelligence. All portal roles show, for example, how a user can work with content from BI in the portal.
    http://help.sap.com/saphelp_nw70/helpdata/en/10/7f1042197de42ce10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/33/39fa40ee14f26fe10000000a1550b0/frameset.htm
    Regards
    Andreas

  • Refresh portal report

    I have a portal report that displays emp info:
    Emp Name ID Dept
    This is displayed as a portlet on a page. The same page has a portal form that allows entries of new employees. When a new employee is entered on the form I would like to refresh the portal report showing the new info. Is this possible?

    Hi,
    We also want that a report which is in a portlet should get refreshed either automatically or atleast when the user click on the refresh button in the browser, but as per our observation it is not happening.
    If some body has a clue please let us know.
    As a workaround, instead of pasting the report in the portlet, we have provided a link (with the help of menu) in the portlet. so whenever a user clicks on the link, the report get displayed with the latest data.
    Regards
    Deepak

  • How can I generate portal report that give list of iviews-roles-users

    Hello,
    I need to generate a portal report that will list all roles and iviews that assigned to them.
    iviews can be assigned direclty or trough worksets/folders/pages.
    Is there a way I can create such a list? Is it requires development? If so, Is anybody already deveopled such a report and can share the code?
    Thanks
    Ami

    Hi Ami,
    I cannot assure that this can be achived with portal application. Coz we are trying to get iviews n role info assigned to users. i.e. Portal object info.which is not stored in d server as it appears to end users. it will be stored as PCD ID based., not name based.
    The requirement might need to develop Portal Applicaion at SAP NWDS but, i am not sure of displaying iviews. Also we can get the Role IDs of assigned role but not Role.
    http://help.sap.com/javadocs/NW04S/current/se/com/sap/security/api/UMFactory.html
    Please follow UME API to achive this.
    IUserFactory userfactory =  UMFactory.getUserFactory();
    IRoleFactory rolefactory = UMFactory.getRoleFactory();
    IRoleSearchFilter rolefltr = rolefactory.getRoleSearchFilter();
    rolefltr.setMaxSearchResultSize(2000);
    ISearchResult result = rolefactory.searchRoles(rolefltr);
    while (result.hasNext())
      String uniqueid = (String) result.next();
      IRole role = rolefactory.getRole(uniqueid);
    The same thing can be applied to get users info i.e. Portal users list.
    Hope this helps you.
    Good Luck!
    Regards,
    Shaila

  • Integration problem: BW-BPS and portal reporting (ports)

    Hi,
    I have a question regarding to the integration of BW-BPS with the new portal. We have a BPS application with several planning interfaces (BSP) for the input of planning data. For reporting we are using the new portal functionality (BEx WAD templates). The BSP pages (ABAP) and the portal (JAVA) are working on different ports. We have integrated relative links into our BSP pages (/irj/servlet/prt/portal …) for the “link” between reporting and planning.
    This was working fine until yesterday when we implemented the new support package 13 for BI. Before, it was possible to execute the portal reports with the BSP port. Now, this does not work anymore. --> Error “the page cannot be displayed”
    The problem is that we are using a lot of these relative links within our BSP pages and they are all obsolete now.
    We can not use absolute paths because we have a “3 stage architecture” (with 3 different machines and 6 different ports).
    Does anybody know how we could solve this problem on the server side (port mapping, etc.)?
    Any help would be appreciated.
    Thanks and regards,
    Markus

    Hi,
    I thought this was a portal or IE browser issue, because I CANNOT see graphics but everybody else CAN!
    Regards,
    SS

  • Running Portal Reports in Batch

    I have managed to get Portal Reports run in batch.
    Is there any way of programatically running Portal reports in batch to allow them to be run overnight say, and then the results could be added to content areas like in Reports Server reports for viewing during the day.

    Use run_report (or run_product for older versions of D2K) with batch, and eventually asynchronous.
    You also need to pass your report a parameter-list that should contain the destype and desname system parameters. Read the help for more on "paramlist".
    Regards,
    BD
    null

  • Customize portal report layout

    Is it possible to customize the report layout ?
    I don't want a plain table layout.
    Can someone tell me where I can find documentation on how to customize portal report layout?
    Thank U.
    Regards Cecilie

    Hi,
    You can customize the Report Layout by using
    the Custom option in the Report Layout section
    while creating the Report.
    It allows to write your own HTML code to define the Layout.
    The three Layout options which can be used are:
    Tabular
    Form
    Custom
    Hope this Helps
    Thanks
    Vineet

  • Printing Portal Reports

    Does anyone have a deployed method of having a "Print" button once a report is displayed from Portal? Maybe such as a javascript that send the report to users local printer.
    Would like to have documents stored in portal, query, display as report then option to "print" hard copy.
    Thanks In Advance,
    Curtis Alphin

    Hi Dibor
    Can you help me explain about this portal report thing?
    i need to do the same thing?
    Can i output to pdf?
    thks for help

  • Email Portal Reports as Attachement

    Hi,
    i need to send the output of a portal report (in tabular form) as a EMAIL attachement..
    wud be greatful if any one can help me with this
    Thanx in Advance
    Bijesh

    Hi,
    You need to specify the MIME type , you can have your message body in HTML format.
    Please check the UTL_SMTP code examples at
    http://otn.oracle.com/sample_code/tech/pl_sql/htdocs/Utl_Smtp_Sample.html.
    Hope it will Help
    Thanks
    Vineet

Maybe you are looking for

  • Need a more effective way to kill ipv6...

    In a previous episode, I explained that I needed to kill ipv6. At one point, I did this by blacklisting the relevant module. After support was integrated in the kernel, I switched to using net.ipv6.conf.all.disable_ipv6 = 1 in sysctl.conf. This has b

  • Best way to transfer from mid 2012 macbook pro retina to new mid 2014 macbook pro

    I'm updating to a new 2014 macbook pro.  am i better off using a migration assistant from one to another, or restoring from Time Machine (with ethernet to thunderbolt adapter)?  Or some other method? thanks, ptkmac

  • How do I create a web link??

    How do I create a web link?? I want to be able to take some text or an image and have it link to a website. Seems simple, but am unable to do this and searching online I haven't found any solutions. I have tried copy and paste from word, create in Ac

  • Email address as an User in ADF application.

    Hi All, We have a requirement in our ADF application by creating usernames as an email address .We created an ADF application and deployed on the server by creating some users in the jazn-data.xml in our project code with the users as "admin1","admin

  • Data pump export reliable when database is in use?

    Can anyone tell me if the expdp utility for 11g is reliable when the database is up and running? How does it keep the tables static? Thanks for taking my question! Kathie