How to Maximize a report in run time previewer
Hi all,
I want to maximize my report automatically during run time in the report previewer (I am calling this report from a form).
Thanks
Asad.
Thanks for ur reply.
Hello Asad,
It is possible to maximize the run time previewer when calling reports from forms. U need to set a parameter named 'MAXIMIZE' to do that.
I m attaching a code sample for u. This is working in my production environment.
DECLARE
pl_id ParamList;
BEGIN
pl_id := Get_Parameter_List('setProposal');
IF NOT Id_Null(pl_id) THEN
Destroy_Parameter_List( pl_id );
END IF;
pl_id := Create_Parameter_List('setProposal');
// This parameter is set to hide parameter form at run time
Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
// This parameter is used to maximize previewer window at run // time
Add_Parameter(pl_id, 'MAXIMIZE', TEXT_PARAMETER, 'YES');
Run_Product(REPORTS, 'sample.rep', SYNCHRONOUS, RUNTIME,
FILESYSTEM, pl_id, NULL);
END;
Feel free to contact me if u need anymore assistance.
Take care and bye
Similar Messages
-
How to configure oracle 6i report server run time component with application server
we got oracle 6i report server for developing the web based reports for our undergoing product. we r succesed in developing the web based reports using oracle 6i report server.But we r facing problems while deploying the product with oracle reports at clients place,why because the client does not have the oracle 6i report server. To solve this problem we have to configure the oracle 6i report server run time component with application server at client side , but we are unable to configure this component(that is CGI handler).
You can run multiple instances of Reports Server in 6i.
In tnsnames.ora, for each server, have a different name and each listening to different port.
For example,
server1.world = (ADDRESS = (PROTOCOL = TCP)(Host = myhost.mydomain.com)(Port = 1949))
server2.world = (ADDRESS = (PROTOCOL = TCP)(Host = myhost.mydomain.com)(Port = 1950))
Also, if you want to know about Reports Server Clustering, you may refer to "Publishing Reports" document on OTN:
http://otn.oracle.com/docs/products/reports/pdf/A73173_01.pdf -
How to Load a Panel during run time from a CVI dll
Hi,
I want to execute/load a panel during runtime, from a CVI dll function.
my CVI dll "test.dll" has "READ_PAN" function. while executing this function from a Test Stand Action step i want Configure Panel (from FR_GUI.uir) to pop up.
can you please suggest me how can i do this from my "test" project of CVI.
int __stdcall __export RunFRConfig (CAObjHandle step,CAObjHandle thisContext)
ERRORINFO errorInfo;
char errMsg[1024];
int pan;
pan = LoadPanelEx (0, "FR_GUI.uir", READ_PAN, __CVIUserHInst);
DisplayPanel (pan);
RunUserInterface();
DiscardPanel (pan);
return 0;
Error:
// sprintf(FinalErrMsg,"Configure Error: %s",errMsg);
return -1;Thanks for ur reply.
Hello Asad,
It is possible to maximize the run time previewer when calling reports from forms. U need to set a parameter named 'MAXIMIZE' to do that.
I m attaching a code sample for u. This is working in my production environment.
DECLARE
pl_id ParamList;
BEGIN
pl_id := Get_Parameter_List('setProposal');
IF NOT Id_Null(pl_id) THEN
Destroy_Parameter_List( pl_id );
END IF;
pl_id := Create_Parameter_List('setProposal');
// This parameter is set to hide parameter form at run time
Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
// This parameter is used to maximize previewer window at run // time
Add_Parameter(pl_id, 'MAXIMIZE', TEXT_PARAMETER, 'YES');
Run_Product(REPORTS, 'sample.rep', SYNCHRONOUS, RUNTIME,
FILESYSTEM, pl_id, NULL);
END;
Feel free to contact me if u need anymore assistance.
Take care and bye -
Modify the title of a wad report at run time.
Hello Gurus,
i have a query in a report which lists the products.On clicking on a product, it takes me to anthr template which has the details of that product.The current scene is that whenever the user selects a product its detail report opens in a new browser.
The requirement is to display the name of the product in the tiltle bar of the browser.
I have the value of prod selected in a var(thru ABAP code), how can i set the title of the summary report at run time??
Please send suggestions ASAP.
Thanks
Regards,
priyaHi Priya,
insert a text element into your detail web template and surround it by
<div id="someid" style="display:none">
<!-- your text element -->
</div>
The text element should display the value of the selected product and its property "ONLY_VALUES" should be set to "X". Now you can access the value of your selected product via JavaScript:
<script language="JavaScript">
function getSelectedProduct() {
var selectedProduct = document.getElementById("someid").innerHTML;
return selectedProduct;
</script>
Now you can set your title with the selected product.
I hope this helps a bit.
Greetings,
Daniel -
HOWTO: Control Printer Attributes for a Report at Run Time Reports 6i
HOWTO: Control Printer Attributes for a Report at Run Time
Like page width , height etc
my problem is i had installed a printer and it is set for
printing different reports ( like invoice slips , legal size ,
A3 etc ) each time i have to manually set the page settup from
printer folder .instead if there is an option to set the printer
attributes from Reports 6i it is great
rajeshAll the Printer Setup(Page Height and Page Width) must be set in
the Reprot Program. These can be set at the Layout-Main Section
in the Object Navigator.
hth -
How to create transparent image at run-time?
How to create transparent image at run-time? I mean I want to create a (new) transparent image1, then show other (loaded) transparent image2 to image1, then show image1 to a DC. The problem is - image1 has non-transparent background...
i'm not sure, but you can set the alpha value to 0 in all pixels which are 'in' the background..
greetz
chris -
How to pass column name at run time in function.
how to pass column name at run time in function as parameter.
thank in advance
pramod patelHello,
Using dynamic sql you can pass column name to function. well I am not getting what you really want to do ? Please write in more detail. By the way I am providing one example here. see it uses dynamic sql.
Create or replace function fun_updtest (p_columnname_varchar2 in varchar2,
p_value_number in number)
return number is
v_stmt varchar2(500);
begin
v_stmt := 'update emp
set '||p_columnname_varchar2||' = '||to_char(p_value_number)||'
where empno = 7369';
execute immediate v_stmt;
return 0;
commit;
end;
call to this function can be like this..
declare
v_number number;
begin
v_number := fun_updtest('SAL',5000);
end;
Adinath Kamode -
How to know what reports are running by looking at SSReproting Services to see what reports are running and also any clue of which application is using the reporting services?
To see what reports are running, take a look at the execution log views that are available in the database. Which views that are available are dependent on your version of SSRS.
http://technet.microsoft.com/en-us/library/ms159110.aspx
To see which application is using SSRS is a little more difficult. You can turn HTTP logging on, which will give you an idea of where connections are coming from, so you can see IP addresses. You can also look at the execution log view to see
user accounts. So, depending on your environment and use of service accounts, this could be easy, or difficult.
http://technet.microsoft.com/en-us/library/bb630443.aspx
If all else fails you can look for clues in the SSRS logs. Good luck... -
Determine fields in a report at run time
I am using Crystal XI R2 for reporting ina an a VB.net application.
I want to be able to determine which fields are in a report at run time to provide a list to the user for filtering purposes. I can list the available fields of the database table that the report is hooked into but they might not all be on the report.
Which Objects and/or Methods are used to determine this?
Can someone provide an example?
Thanks ahead of time.You will have to use the RAS InProc SDK. RAS Developer help files are here:
https://boc.sdn.sap.com/developer/library
Samples:
https://www.sdn.sap.com/irj/boc/businessobjects-samples?rid=/webcontent/uuid/b02c1cac-ad86-2b10-88ae-cb36551bab06 [original link is broken]
Intro article:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10b840c0-623f-2b10-03b5-9d1913866b32
In a nut shell though, your code would be similar to the below (except for a subreport object, you'd be lookign for a db field object.;
Dim crSections As Sections
Dim crSection As Section
Dim crSubreportObject As SubreportObject
'set the crSections object to the current report's sections
crSections = crReportDocument.ReportDefinition.Sections
'loop through all the sections to find all the report objects
For Each crSection In crSections
crReportObjects = crSection.ReportObjects
'loop through all the report objects to find all the subreports
For Each crReportObject In crReportObjects
If crReportObject.Kind = ReportObjectKind.SubreportObject Then
'you will need to typecast the reportobject to a subreport
'object once you find it
crSubreportObject = CType(crReportObject, SubreportObject)
'open the subreport object
crSubreportDocument = crSubreportObject.OpenSubreport(crSubreportObject.SubreportName)
'set the database and tables objects to work with the subreport
<your .SetDataSource code here>
Next
End If
Next
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports] -
How to call abap proxy at run time?
hello frnds,
i m working on a scenario in which whenever Invoice is saved in SAP R/3 at that time same data should go to Oracle DB. i m using ABAP proxy on SAP R/3 side and JDBC receicver adapter on oracle side of XI.
so to post data i need to call ABAP Proxy whenever invoice is saved.. i have tried to find out save event for invoice but not able to get... can anybody tell me the solution that how i can call proxy at run time?
thanx in advance.
Regards,
Hetal.....Hi Audumbar,
Check these ...
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
/people/siva.maranani/blog/2005/04/03/abap-server-proxies
/people/vanita.thareja2/blog/2006/05/23/bpm-sending-message-asynchronously-and-getting-the-response-from-synchronous-system-using-abap-proxies
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
cheers,
Prashanth
P.S Please mark helpful answers -
How to use Crystal Reports XI release 2 Preview with Lotus Notes Scripts ?
<br />Hi all,<br /><br /> How to use Crystal Reports XI release 2 Preview with Lotus Notes 7 Scripts ?<br /><br /> <br /><br />Thank's <br />
Hi,
we are using Lotus Notes and Crystal Reports for preview and printing reports from our Lotus Notes Applications. We use the RDC object model. For previewing the reports we export them in an pdf-file and then start the PDF Reader to show the Preview. This works fine.
But with Crystal Reports > 11 the RDC Object Model is no longer supportet, so we look for another way to preview and print our reports.
I try to preview a report build with crystal report XI release 2 in my thick client (Lotus Notes) using java reporting component JRC, this report uses an native xml file as datasource. If the datasource is saved with the report everything works fine, but otherwise I have the following error:
JRCAgent1 detected an exception: javax.xml.namespace.QName: method getPrefix()Ljava/lang/String; not found
I also tried the .jars from Crystal4Eclipse. Doesn't work. When I use Eclipse to view the report everything works fine. The class QName exitsts in the jaxrpc.jar and in the xbean.jar, but only in the xbean.jar a Methode getPrefix exists.
This is what we tried:
Works fine with RDC. Doesn't work with JRC until now.
Did this help you ?
Perhaps you con help me with the JRC, because I'm a java newbee so any ideas could be helpful.
Oliver
<p><a href="http://www.cominform.de">www.cominform.de</a></p> -
How to design report at run time SSRS
most of the time we point store procedure or table and then SSRS report designer show us field and we just drag drop those field on to report designer surface. after all we call those report programmatically and pass parameter and report shown on report
viewer.
now my company want that customer will customize the report who will see the report. they want to display all the fields in a form and just customer will select each field and place on report designer surface and give some input like filter condition like
date range or employee id etc and report will be shown. also at run time if customer want they can add text or move existing field etc.
i do not have any idea how could i do this with SSRS. if this is possible with SSRS then please guide me in such a way as a result i can start the job or if possible give me few relevant url of that kind from where i can get the idea. thanksYou can also use report builder application to get most of these functionality. For that you'll just create and deploy a report model with required attributes from involved entities.
Then use can consume the model within report builder and add required fields to report,filter etc
see below videos for more details
http://technet.microsoft.com/en-us/sqlserver/dd430326.aspx
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
OBIEE 11g How to Exclude/Include Multiple columns on BI Report at Run Time
OBIEE 11g How to Exclude/Include Multiple columns on BI Report at Run Time
Exclude:
you Can exclude columns in either Table view or pivot table view by placing those columns in Excluded section but you will notice that it will appear in bi server parsed sql query.
Not sure you were asking about runtime??
would you please explain your question!!
Thanks
NK
Edited by: DNK on May 8, 2013 9:48 PM -
How to determine itab type at run time
I need to write a subroutine that organizes data in internal tables for presentation by a smartform. There are a few similarly structured internal tables all with the same field name ("recipe_type") by which the data is sorted. My problem is that how I can determine the type of the itab inside my subroutine at run time? Is it ever possible in ABAP?
The subroutine code is attached below. Thanks for any help.
FORM beautify_itab TABLES itab_in TYPE table
USING v_type TYPE any
CHANGING itab_out TYPE table.
Data declaration
DATA: v_data_row LIKE LINE OF itab_in, " THIS WON'T COMPILE!
v_blank_row LIKE LINE OF itab_in. " blank row
Organize the display of the table data
LOOP AT itab_in INTO v_data_row.
IF v_type <> itab_in-recipe_type. " 'recipe_type' is the sort key for the incoming itabs
v_type = itab_in-recipe_type.
IF sy-tabix > 1.
APPEND v_blank_row TO itab_out.
ENDIF.
APPEND v_data_row TO itab_out.
ELSE.
CLEAR v_data_row-recipe_type.
APPEND v_data_row TO itab_out.
ENDIF.
ENDLOOP.
ENDFORM. "beautify_itabThe following code does what I want, but only if the input itab structure is declared first in the program. It won't work if the itab is declared as itab_in TYPE TABLE OF sflight. This is because the function 'GET_COMPONENTS_LIST' only can load the structure of a field declared explicitly in the program. Does anybody know of any method to load the structure of an itab based off a dtab?
Thanks you guys for answers. Points have been rewarded.
*& Report Z_GET_ITAB_TYPE_AT_RUN_TIME
REPORT z_get_itab_type_at_run_time.
DATA: BEGIN OF itab_in OCCURS 0,
seatsocc_b LIKE sflight-seatsocc,
fldate LIKE sflight-fldate,
END OF itab_in,
itab_out TYPE TABLE OF string,
wa_itab_out TYPE string.
SELECT seatsocc_b fldate
INTO TABLE itab_in
FROM sflight
WHERE carrid = 'AA' AND
connid = '0017'
ORDER BY seatsocc_b.
PERFORM beautify_itab
TABLES
itab_in
USING
sy-repid
'itab_in'
'SEATSOCC_B'
CHANGING
itab_out.
LOOP AT itab_out INTO wa_itab_out.
WRITE: / wa_itab_out.
ENDLOOP.
*& Form beautify_itab
text
-->ITAB_IN text
-->V_KET_FIELD text
-->ITAB_OUT text
FORM beautify_itab TABLES itab_in TYPE table
USING v_prog_name LIKE sy-repid
v_itab_in_name TYPE any
v_key_field_name TYPE rstrucinfo-compname
CHANGING itab_out TYPE table.
DATA: itab_fields TYPE TABLE OF rstrucinfo,
v_field_name LIKE rstrucinfo-compname,
v_old_key TYPE string,
v_field_value TYPE string,
v_data_line TYPE string,
v_tabix LIKE sy-tabix,
c_blank_row TYPE string VALUE ''.
FIELD-SYMBOLS: <fs_field>,
<fs_data_line>,
<fs_field_list> TYPE rstrucinfo.
gets all of the components of a structure
CALL FUNCTION 'GET_COMPONENT_LIST'
EXPORTING
program = v_prog_name
fieldname = v_itab_in_name
TABLES
components = itab_fields.
LOOP AT itab_in ASSIGNING <fs_data_line>.
v_tabix = sy-tabix.
LOOP AT itab_fields ASSIGNING <fs_field_list>.
v_field_name = <fs_field_list>-compname.
ASSIGN COMPONENT v_field_name OF STRUCTURE
<fs_data_line> TO <fs_field>.
v_field_value = <fs_field>.
IF v_key_field_name = v_field_name.
IF v_old_key <> v_field_value.
v_old_key = v_field_value.
IF v_tabix > 1.
APPEND c_blank_row TO itab_out.
ENDIF.
ELSE.
CLEAR v_field_value.
ENDIF.
ENDIF.
CONCATENATE v_data_line v_field_value INTO v_data_line
SEPARATED BY space.
ENDLOOP.
APPEND v_data_line TO itab_out.
CLEAR v_data_line.
ENDLOOP.
ENDFORM. "beautify_itab -
Post Author: Sherif_hfm
CA Forum: General
Hi every onewhen I use Crystal Reports 9 or 10 I can Generate Reports and view at run time without I need to save it but now with Crystal Reports2008 I can not do that , If anyone know how to make that in Crystal Reports2008 please replythanksKi Klassal,
For user simulation you could use a tool such as LoadRunner, this would enable you to action specific tasks i.e.
User Logons
Report Refreshes
Report Schedules
If you run this against "multiple users" you need to pay attention to your use of the WAIT time parameter, i.e. how long the application waits before user clicks, typically 5-7 seconds for the wait time should be sufficient.
SAP does not provide any specific documentation around this type of performance activity, but you could also gather valuable information by using our Remote Support Component tools:
The Remote Support Component is a wonderful new product that enables an SAP BusinessObjects Enterprise administrator to:
u2022 save time and effort thus reducing cost of ownership
u2022 identify and resolve performance issues to makes things go faster!
u2022 Be proactive and not reactive
And itu2019s completely free!
Only for SAP BusinessObjects Enterprise XI 3.1 SP2 and SP3 customers.
Central Monitoring 24 x 7
u2022 Just one location not multiple
u2022 No more log files
u2022 End to end converge
Guided Analysis
u2022 Dashboard of all components
u2022 Traffic Lighting
u2022 Historic and Live
Saving you time and effort
u2022 Root Cause Analysis with u2018Live traceu2019
u2022 Auto uploading of your configuration
u2022 Be proactive, not reactive
An introduction to the benefits of using Remote Support Component for SAP Business Objects Enterprise. The recording is 4 minutes and 30 seconds long: https://sap.emea.pgiconnect.com/p84837556/
I hope this is a very helpful answer to you.
Kind regards,
John
Maybe you are looking for
-
Inline XML Publisher PDF rendered using IFRAME in Self Service
Hi, We have created an XML Publisher Report (PDF) which renders inline in a SelfService Page. When we click on the Save Icon in the IFRAME, The File Name is really long including the Applications URL, DBC File, File Name etc. Ex: http___it21.marvell.
-
Macbook Pro starting to run slow
Hi everyone, I have a macbook pro that is running Snow Leopard 10.6.8 with a 2.4 GHx internal core 2 duo and 4 GB of memory. I have had it for 2 years and its starting to run slowly. When it first boots up it seems to take forever and also when it sh
-
Hi, I have an abstract class with two methods, one of which is abstract and should be implemented by subclasses. abstract class Foo() { abstract double calculateParameter(); final double getParameter() { if (hasBeenCalculated) {
-
URL building from javascript parameter
code]<script type="text/javascript"> function getURLParam(strParamName){ var strReturn = ""; var strHref = window.location.href; alert('Hello'); alert(strHref); if ( strHref.indexOf("?") > -1 ){ var strQueryString = strHref.substr(strHref.indexOf("?"
-
Resonating Feedback with EMU 404
G'day, This has only happened a handful of times and I have managed to stop it (generally) by rebooting or force-quitting. Now, for some reason, my computer wants to do it all the time - just wondering if there is a solution other than taking my hamm