Change Hieght of Report Portlet
We added a portlet to the portal that runs a report created in Oracle Reports. The problem is that the report that shows up is not big enough and the user would have to scroll around to see the whole report. I changed the width and height of the region but the height of the report never changes.
I can have the user see the whole report widthwise, but how can I change the display properties to show the hieght correctly?
Nevermind - figured it out.
Similar Messages
-
Report Portlets do not refresh data.
How can I refresh a report portlet?
I have created a report and a forms provider based on the same table. I put the portlets on separate TABS on the same PAGE. The report works fine, but when I update the information on the form and return to the report it does not reflect the changes. I have pressed 'refresh', I have gone to another page and come back, no luck. The only way to see the changes is to log out and back in again. Any ideas?
Thanks, DebI had caching turned off. When I turned on both content and page definition, I was unable to query my forms. The forms and reports are on the same page, different tabs. When I select cache page definition only, I get the same results as no caching. The forms will query my data, I can update, but when I return to the reports TAB, the data has not changed. (Yes, I did click refresh.) I have found that if I click the 'Customize' link on the portlet containing the report and then click 'OK' the data will update. This, however gives me a new error that I will worry about later. For now, the users have 'Minimize' but do not have the 'Customize' Link and the 'minimize' link does not refresh the data, nor give me the new error.
-
Disabling the 'Schedule' tab on the Reports Portlet Parameter Form
Hi,
I have deployed several Oracle Reports through Portal using the built in Reports Portlet Parameter Form and I was wondering if anyone knows how to disable the 'Schedule' tab located on this form. I would like users to run the reports but not to schedule them.
ThanksHi .
I forgot to say that, the reports is an XML report .
regards
rajesh
Hi.
I am facing a problem with the parameter form in reports 10g. The number of parameters in this report are huge. After designing the parameter form , i save and close the report. Now if i re-open the report to do changes, the width and height of the parameter form is reduced (which i increased changed previously) and if i click on any field , that specific field is repositioning itself inside the (reduced)border lines.
I request the forum to give a remedy on this issue.
thanks in advance
regards
rajesh -
How to get the customized value of a Report portlet in a page
Hi ,
I have a report portlet and it has a bind variable which users can customize when added to a page. There is a link to a Form page in the report , to which I need to pass the value of bind variable customized by the user. I used :
portal30.wwv_name_value.get_string( l_arg_names, l_arg_values, '<bind variable>');
function, it works ok when we run the report alone .But when we add the report as a portlet in page , it does not return any value. How do I get the customized field value in a page.
nullSAN.
I haven't tested but u can try with the below code...
OATableBean tableBean = ...;
OATableFooterBean tableFooterBean = tableBean.getFooter();
if (tableFooterBean != null)
OATotalRowBean totalRowBean = tableFooterBean.getTotal();
totalRowBean.getValue("Re-Total");
}Regards,
Gyan -
How to schedule the webi report based on data changes in the report data
Hello,
I want to schedule a webi report based on data change in a column in the report.
The scenario is something like below:
1. If a data of a particular column changes from 2 to 3 than I would like to schedule this report and sent it to users mail box.
I know how to apply alerts or schedule a report or data tracking for capturing changes in the report but I dont know how to schedule the report only for data changes.
Anybody done this before.
Thanks
GauravHi,
May be these links can help you:
http://devnet.magicsoftware.com/en/library?book=en/iBOLT/&page=SAP_R_3_Master_Data_Distribution_Defining_Change_Pointers.htm
SEM-BCS: Load from data stream schedule
Attribute Change Run -
Reg: how to change layout in report writer
HI all,
how to change layout in report painter?
regards
JK RaoHi everybody,
I have a report painter using transaction ke30 and I want to change the header layout.
Now it looks like that
|_________|_________|
But i want to add another header row above this row, so it will look like:
|_________________________|
|___________|_____________|
Does anyone know the answer?
Thanks a lot for your response
Edited by: Vo Duy Pho on May 24, 2010 10:29 AM
Edited by: Vo Duy Pho on May 24, 2010 10:37 AM -
Getting my report portlet, to link to my form portlet
I am attempting to put together a portal page that has the
following components:
A- Form Portlet with a Pull Down that links to a
B- Report Portlet built by a SQL Statement that links to a
C- Form Portlet that acts like a Property Sheet from the Report
A drives B that drives C, all within the same page, using page
refreshes, to show the linkage after clicks.
I have been able to put this together because, I have used the
explanation found in the Advanced Portal Presentation put
together by Kenneth Atkins, that can be found at
http://www.arrowsent.com.
It provides a really good explanation on how to link portal
components(forms, reports, etc) using the pdk.
I have attempted to use what he has put together, and in general,
it is all working, as he has explained in your ppt, except the
very last bit. Where B refreshes C
That is, my pull down form refreshes the report, just fine.
and then when I click on my "item" in the report, to refresh my
detail form, it does that, but what it brings, up is the item, I
clicked on previously. It's like the "C" Component wants to show
the previously selected item, rather than the current one.
I am using Portal 3.0.9, on 8.1.7, and this behaviour is
consistent on both Solaris and Win2000
I have included the PL/SQL code that is inserted in "Before page
processing section" of the "C" form.
My guess is, that I have syntax wrong in either the do_event line
or I am not setting the rowid for the auto_query to work
properly.
regards
Franco
=================================================================
================================
PROCEDURE autoquery_task_form(p_session in out
PORTAL30.wwa_api_module_session) IS
v_RowID VARCHAR2(100);
v_Session portal30.wwsto_api_session;
v_st_id varchar2(40); --STEPS.ST_ID%TYPE;
BEGIN
v_Session := portal30.wwsto_api_session.load_session('CONTEXT',
'SESS_PROJECT');
v_st_id := v_Session.get_attribute_as_varchar2('ST_ID');
htp.p('Print Step Id='||v_st_id); htp.br;
BEGIN
SELECT rowidtochar(rowid) INTO v_rowid
FROM STEPS
WHERE ST_ID= to_number(v_st_id);
END;
htp.p('Print Row Id='||v_rowid); htp.br;
-- Tell the component that the query is coming from a link, and
that the rowid
-- is being used to query the correct context record.
p_session.set_value (p_block_name=>'DEFAULT',
p_attribute_name=>'_CALLED_FROM_LINK',p_value=>'ROWID');
-- Pass the rowid of the context record to query.
p_session.set_value (p_block_name=> 'DEFAULT',
p_attribute_name=> '_ROWID',p_value=> v_rowid);
-- Now do the actual query, using the query button processing
in the target module
-- this seems to execute with the rowid in context of the
previous instance i.e, Out of Synch by 1 element in an array
PORTAL30.wwa_api_module_event.do_event('DEFAULT',
'QUERY_BOTTOM', 1, 'ON_CLICK', True, '', p_session);
-- Save the session information, which includes the
p_session.save_session;
END;Hi,
It seems like we have the same problem!!!
Look at http://forums.oracle.com/forums/message.jsp?id=539039 -
How to track personal details changes in the report without using triggers on the database tables
Hi There,
I'm having a requirement to track the oracle HRMS Personal details changes in the report not using the triggers.
ex: if some changes the address of the person, then that changed values should be populated in the report.
Please find below query:
If any of the following columns data is updated, the new value should be populated in the report.
SELECT PAPF.PERSON_ID PAPF_PERSON_ID
, PAPF.EMPLOYEE_NUMBER EMPLOYEE_NUMBER
, PAPF.FIRST_NAME FIRST_NAME
, PAPF.LAST_NAME LAST_NAME
, TO_CHAR(PAPF.DATE_OF_BIRTH ,'DD-MON-YYYY') DATE_OF_BIRTH
, ADDR.ADDRESS_LINE1 ADDRESS_1
, ADDR.ADDRESS_LINE2 ADDRESS_2
, ADDR.ADDRESS_LINE3 ADDRESS_3
, ADDR.TOWN_OR_CITY TOWN
, ADDR.REGION_1 COUNTY
, ADDR.POSTAL_CODE POST_CODE
, ADDR.COUNTRY COUNTRY
, PAY.PAYROLL_NAME PAYROLL_NAME
, PLN_TYP.NAME PLAN_TYP
, PLN.NAME PRODUCT_NAME
, BOF.NAME COVERAGE
FROM PER_ALL_PEOPLE_F PAPF
, PER_ALL_ASSIGNMENTS_F PAF
, PER_ADDRESSES ADDR
, PAY_PAYROLLS_F PAY
, BEN_PRTT_ENRT_RSLT_F PEN
, BEN_PL_TYP_F PLN_TYP
, BEN_PL_F PLN
, BEN_OIPL_F BOIPF
, BEN_OPT_F BOF
WHERE 1 = 1
AND PAPF.PERSON_ID = PAF.PERSON_ID
AND TRUNC(SYSDATE) BETWEEN PAPF.EFFECTIVE_START_DATE AND PAPF.EFFECTIVE_END_DATE
AND TRUNC(SYSDATE) BETWEEN PAF.EFFECTIVE_START_DATE AND PAF.EFFECTIVE_END_DATE
AND PAPF.PERSON_ID = ADDR.PERSON_ID
AND ADDR.PRIMARY_FLAG = 'Y'
AND ADDR.DATE_TO IS NULL
AND PAF.PAYROLL_ID = PAY.PAYROLL_ID(+)
AND PEN.PERSON_ID = PAPF.PERSON_ID
AND PEN.BUSINESS_GROUP_ID = PAPF.BUSINESS_GROUP_ID
AND TRUNC(SYSDATE) BETWEEN TRUNC(PEN.EFFECTIVE_START_DATE) AND TRUNC(PEN.EFFECTIVE_END_DATE)
AND PEN.PRTT_ENRT_RSLT_STAT_CD IS NULL
AND PEN.SSPNDD_FLAG = 'N'
AND ( PEN.ENRT_CVG_THRU_DT >= TRUNC(SYSDATE)
OR PEN.ENRT_OVRIDN_FLAG = 'Y')
AND EXISTS(SELECT PIL.PER_IN_LER_ID
FROM BEN_PER_IN_LER PIL
WHERE PIL.PER_IN_LER_ID = PEN.PER_IN_LER_ID
AND PIL.BUSINESS_GROUP_ID = PEN.BUSINESS_GROUP_ID
AND PIL.PER_IN_LER_STAT_CD NOT IN ('VOIDD','BCKDT'))
AND PEN.PL_TYP_ID = PLN_TYP.PL_TYP_ID
AND TRUNC(SYSDATE) BETWEEN PLN_TYP.EFFECTIVE_START_DATE AND PLN_TYP.EFFECTIVE_END_DATE
AND PLN_TYP.PL_TYP_ID = PLN.PL_TYP_ID
AND TRUNC(SYSDATE) BETWEEN PLN.EFFECTIVE_START_DATE AND PLN.EFFECTIVE_END_DATE
AND PLN.PL_ID = PEN.PL_ID
AND PEN.OIPL_ID = BOIPF.OIPL_ID(+)
AND TRUNC(SYSDATE) BETWEEN NVL(BOIPF.EFFECTIVE_START_DATE,HR_GENERAL.START_OF_TIME) AND NVL(BOIPF.EFFECTIVE_END_DATE,HR_GENERAL.END_OF_TIME)
AND BOIPF.OPT_ID = BOF.OPT_ID(+)
AND TRUNC(SYSDATE) BETWEEN NVL(BOF.EFFECTIVE_START_DATE,HR_GENERAL.START_OF_TIME) AND NVL(BOF.EFFECTIVE_END_DATE,HR_GENERAL.END_OF_TIME)
AND (:P_SYSDATE) BETWEEN TRUNC(PEN.ENRT_CVG_STRT_DT) AND TRUNC(PEN.ENRT_CVG_THRU_DT)
AND (CASE WHEN :P_PAYROLL_ID IS NULL THEN 'Y' ELSE NVL((SELECT 'Y' FROM DUAL WHERE PAY.PAYROLL_ID = :P_PAYROLL_ID), 'N') END) = 'Y'
AND PAPF.LAST_UPDATE_DATE = (:P_SYSDATE) ;
--AND PAPF.LAST_UPDATE_DATE BETWEEN to_date(:P_SYSDATE) and (to_date(:p_sysdate) + INTERVAL '31' Day);
--AND (:P_SYSDATE) = PAPF.LAST_UPDATE_DATE ;
Thankscheck this -
Re: Best Event-Based notifications for Sox Complience? -
Changing a custom report to be time sensitive
Hi
I posted this in FI too thought the MM people might have some inputs as to how to correct the Zvenclass if we use the standard SAP field on the accounting view table LFB1 MINDK minority indicator
We need to change the custom report zvenclass, it is a report that tells us the amount spent for each vendor in a specific class. I have the date/time sensistive information for the amount spent but not the change in vendor class from the vendor master. I need this to be date driven too. As in if a vendor is a small business in 2005 and you change the vendor to be a large vendor in 2011. Then I want the report for dates and values in 2008 to show small business and the dates and values in 2011 to show large business.
The assignment is not time dependent, it has to be manually changed.
I did see through the CDHDR and CDPOS tables, but could not pinpoint to the changes in the valuation classes.
Is there any other way if I can find whether I can find the changes?
Now I did review the values from the custom tables, here I find that there is a difference in the sum totals of the postings when I add up the individual years compared to the consolidated report (for ex: 200720082009 is not equal to 2007 to 2009) so am I right in assuming that the system does account for the changes. Any other help in this regard would be appreciated.
Any inputs on this will be appreciated.
ThanksWe are trying to solve this by altering the code for the report.
Will update if it works though. -
Unable to rename or save changes to Access Reports Access 2010
Unable to rename or save changes to access reports in Access 2010
This just started
Tried changing report name, rename is allowed but does not save
If change made to report does not save
If trying to save as new report name error given saying name conflicts
Queries and tables work fine
Database file resides on server and this happens on all PCs, tried local copy to local machine and that has same problem, compact and repair completes but still same problem
Any help welcomedIs the setup 1 Back end on the server, and 1 each Front end on each PC?
peter n roth - http://PNR1.com, Maybe some useful stuff -
Changes in Crystal reports are not reflecting after publishing
Dear SDN Mates,
We are facing problem with Crystal reports. After making the changes in the crystal reports, it is not reflecting in the portal after publishing. Still it is showing the older version of the report.
Can anyone please help me on this.
Thanks and Regards
Arun SHello Prathamesh,
After publishing the report, we require some changes in the report and doing some modifications in crystal report and again we are publishing this report. After publishing the report for second time, those changes are not reflecting in the BOE portal.
This is happening for all reports. Can you please suggest me on this.
Thanks and regards
Arun S -
Passing multiple parameters between two report portlets on the same page
Hi,
I want to pass multiple parameters between two report portlets on the same page.
I have been succussful passing a single parameter between two portlets. The
following are the steps :
(1) Created first report based on the query
SELECT htf.anchor('http://192.168.0.84:7778/servlet/page?&_pageid=97&_dad=portal30&_schema=portal30&_mode=3&dept_code='||DEPTNO,DEPTNO) Department, ename FROM EMP;
(2) Created 2nd report
select * from EMP where DEPTNO = :dept_code
(3) Added pl/sql code before display page on the 2nd report
portal30.wwv_name_value.replace_value(
l_arg_names, l_arg_values,
p_reference_path||'.dept_code',portal30.wwv_standard_util.string_to_table2(nvl(g
et_value('dept_code'),10)));
(4) Created a page and added these reports as portlets.
Sofar it works fine for one parameter (deptno) . Now I want to add one more
parameter say empno to my first report query and would like to pass both the
parameters deptno and empno to the 2nd report. Please tell me how to pass multiple parameters ?
Thanks
AsimHi,
You will have to do the same thing
The select will be like this
SELECT htf.anchor('http://toolsweb.us.oracle.com:2000/servlet/page?_pageid=97&_dad=mb&_schema=mybugs&_mode=3&dept_code='||DEPTNO||'&empno='||empno,DEPTNO) Department,ename
FROM EMP
In the additional plsql code do the same for empno like this
mybugs.wwv_name_value.replace_value(l_arg_names,l_arg_values, p_reference_path||'.dept_code',mybugs.wwv_standard_util.string_to_table2(nvl(get_value('dept_code'),10)));
mybugs.wwv_name_value.replace_value(l_arg_names,l_arg_values, p_reference_path||'.empno',mybugs.wwv_standard_util.string_to_table2(get_value('empno')));
Thanks,
Sharmila -
How to pass page parameter to report portlet ?
Portal: 9.0.4
RDBMS: 9.0.1.5.0
OS: Windows
REF: How to pass page parameter to report portlet ?
Hi,
I create a Oracle Report as a Portlet in Portal (create Report Definition File Access and check on the option "Publish As Portlet" in the on the last step). My report has an "Additional User Parameter" and I has let it "Visible to user".
When I put this portlet in my Portal page, I can see this parameter in the property/parameters of this page. However I cannot transfer my page parameter to this portlet parameter. Other portlets in this page (non-Oracle-Report portlets) are working fine with my page parameter.
Please advice.I want to make sure we are talking about the same thing:
After you add the portlet to the page, you go to the page properties, then the parameters tab, then there is a section at the bottom called "Portlet Parameter Values" where you can click and expand your portlet to see your portlet parameters.
Is it here where your parameters just don't show up?
If it is, try the following:
- Add the portlet to another page and see if it still behaves the same.
- Mark the parameters in the portlet as being non-public, re-generate portlet (on manage tab), then mark them as being public, re-generate and then try the above again (add to another page). -
Changing datasource of reports in a loop only works for first report.
Hi,
I have code that loops through a list of reports to change the datasource and save the change in the report. The idea is that this can be done at build time so time taken at runtime is only for opening the report and running it.
The problem is that the first iteration of the loop works, and any further ones don't. Apart from closing the client document is there anything else that should be explicitly closed? I don't retrieve any ReportSource from the Client Document so I shouldn't need to dispose of that...I don't think. In particular is there something that should be done to the databaseController retrieved from the clientDoc after each loop?
The code goes like the below:
for(File report : reports){
System.out.println("Preparing report: " + report.getAbsolutePath());
ReportClientDocument clientDoc = CRJavaHelper.getReportClientDocument(
report.getAbsolutePath());
CRJavaHelper.replaceDBConnection(clientDoc, props);
clientDoc.close();
System.out.println("Report " + report.getAbsolutePath() + " prepared.");
getReportClientDocument does this:
ReportClientDocument clientDoc = new ReportClientDocument();
clientDoc.setReportAppServer("inproc:jrc");
clientDoc.open(fullPath,
OpenReportOptions.openAsReadOnly.value());
return clientDoc;
replaceDBConnection does the following:
DatabaseController dc = clientDoc.getDatabaseController();
logonDataSource(dc, username, password);
prepareReport(dc, schema);
ConnectionInfos cis = dc.getConnectionInfos(null);
for (IConnectionInfo oldci : cis) {
IConnectionInfo newci = new ConnectionInfo();
newci.setKind(ConnectionInfoKind.SQL);
newci.setAttributes(propBag);
newci.setUserName(username);
newci.setPassword(password);
dc.replaceConnection(oldci, newci, null, DBOptions._useDefault
+ DBOptions._doNotVerifyDB);
SubreportController src = clientDoc.getSubreportController();
IStrings strs = src.getSubreportNames();
Iterator<?> it = strs.iterator();
while (it.hasNext()) {
String name = (String) it.next();
ISubreportClientDocument subreport = src.getSubreport(name);
DatabaseController sdc = subreport.getDatabaseController();
cis = sdc.getConnectionInfos(null);
for (IConnectionInfo oldci : cis) {
IConnectionInfo newci = new ConnectionInfo();
newci.setAttributes(new PropertyBag(propBag));
newci.setUserName(username);
newci.setPassword(password);
sdc.replaceConnection(oldci, newci, null, DBOptions._useDefault
+ DBOptions._doNotVerifyDB);
clientDoc.save();What's the URL for the site where you are using this? Offhand, it looks like it should work with your first example so you are either placing the script before those elements are loaded or you might try wrapping your current javascript inside the:
$(document).ready(function() {
--- your existing javascript here
This make sure the code runs once all the html is loaded on the page. Without seeing a URL and debugging with the js console in Chrome I can't give you a solid answer.
But, I do know that you can probably do this with a lot less markup. Once we figure out what the actual problem is I have a better solution mocked up for you on jsfiddle.
When looking at my HTML code on jsfiddle, please realize I setup some dummy HTML and removed your tags and added actual values which would be output by your tags. The main thing I did was remove the whole div.more-selection and instead, added a "data-is-selected" attribute on your div.more-option element. Then, in my javascript for each div.my-option element on the page, we loop through them, find the value of that data attribute and hide that div if it's less than 1 (or 0).
Here's the fiddle for you to look at: http://jsfiddle.net/thetrickster/Mfmdu/
You'll see in the end result that only two divs show up, both of those divs have data-is-selected="1".
You can try pasting the javascript code near the closing </body> tag on your page and make sure to wrap my js inside a <script> tag, obviously. My way is neater on the markup side. If you can't get it to work it's likely a jquery conflict issue. My version is using the $(document).ready() method to make sure all the code is loaded before it runs.
Best,
Chris -
1099M - 2008 Legal changes for 1099 Reporting
Hello experts,
I have been using program RFW1099M via Sapscript form to generate the 1099M. Based on note 1279366 on 2008 legal changes for 1099 reporting, sap provided the 1099MISC form in Smartforms.
I don't use Smartforms. Is there any sap 1099M program provided using Smartforms ?
The sapscript form i currently have looks the same as the 2008 1099Misc. So I don't know why i have to use Smartforms. Pls let me know what you think ?
Thanks
JoyceQuestion is closed.
Maybe you are looking for
-
Hi everybody, how can i active the change documents for TA POP2? Thanks in advance
-
received error message - the procedure entry point_objc_init_image could not be located in the dynamic link library objc.dll. unable to launch iCloud. Any suggections?
-
Acrobat 10.1.4 Scan to PDF Issues
Hello, I installed 10.1.4 last night and when I got to work this morning I found that ll users who had Fujitsu scanners (TWAIN) were unable to scan. The latest TWAIN drivers are installed. When a users selectes Create PDF From Scanner (any type B&W /
-
Opening Multiple Windows in Preview
Does anyone know how I can open a bunch of photos in different individual windows without opening each picture individually? When you double click a bunch of highlighted photos all at one time you end up with one picture in one preview window and all
-
Hi, I have some video clips on my Panasonic gf1 camera shot using the AVCHD codec. I can access the files through Log & Transfer window which has an automated import setting to code the file into ProRes422. The original video is shot at 720 at 50p an