XL Report - Value Saving option
Hello Alll
I have Created an XL report which works fine but the only problem is the value displayed are in =ixGet("17832.15") format
currently the user have to copy the value and save them as "Vales" to get on 17832.15. how can we avoid this manual work?
thanks in advance
Sandeep
HI,
I think your code is right but check the following.
CASE LV_UCOMM.
WHEN '&IC1'.
READ TABLE DISP INDEX SELFIELD-TABINDEX.
CASE SELFIELD-FIELDNAME.
WHEN 'TXZ01'.
WA_PARAMS-SELNAME = 'TK_MATNR'. " Is this select option in report ZVISRM06IBP0??
WA_PARAMS-KIND = 'S'.
WA_PARAMS-SIGN = 'I'.
WA_PARAMS-OPTION = 'EQ'.
WA_PARAMS-LOW = DISP-MATNR. " Check if this field is getting values
APPEND WA_PARAMS TO I_PARAMS.
WA_PARAMS-SELNAME = 'IF_LIFNR'. " Is this select option in report ZVISRM06IBP0??
WA_PARAMS-KIND = 'S'.
WA_PARAMS-SIGN = 'I'.
WA_PARAMS-OPTION = 'EQ'.
WA_PARAMS-LOW = DISP-LIFNR. " Check if this field is getting values
APPEND WA_PARAMS TO I_PARAMS.
CALL FUNCTION 'SUBMIT_REPORT'
EXPORTING
REPORT = 'ZVISRM06IBP0'
SKIP_SELSCREEN = 'X'
TABLES
SELECTION_TABLE = I_PARAMS[]
EXCEPTIONS
JUST_VIA_VARIANT = 1
NO_SUBMIT_AUTH = 2
OTHERS = 3.
IF SY-SUBRC = 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Regards and Best wishes.
Similar Messages
-
Missing Parameter Values CR2008 Optional Parameter
Hi,
I am getting "Missing Parameter Values" error
"CrystalDecisions.CrystalReports.Engine.ParameterFieldCurrentValueException: Fehlende Parameterwerte. ---> System.Runtime.InteropServices.COMException (0x8004100E)"
if I try to export a Report with an optional Parameter without setting the parametervalue.
The Report works fine with ReportViewer.
If I uncomment the "Parameterpart" and set a parametervalue it works fine, but it should works without a parametervalue too, its optional.
I have tried many for a long time and read many Websites but it does not work !
I use WinXP SP2 CR2008 with C# .NET 2.0 VS2005
CrystalDecisions.CrystalReports.Engine.dll version 12.0.2000.683 Date: 2008-03-01
CrystalDecisions.Shared.dll version 12.0.2000.683 Date: 2008-03-01
Sorry my English is very Bad !
Thanks a lot!
ExportFormatType ExportType = ExportFormatType.PortableDocFormat;
ReportDocument RD = new ReportDocument();
RD.Load("C:\\ParaTest01.rpt");
string strServer = "<ServerName>";
string strDB = "<DBName>";
string strUser = "<UserID>";
string strPW = "<PW>";
RD.SetDatabaseLogon(strUser, strPW, strServer, strDB);
//ParameterFieldDefinitions crParameterFieldDefinitions = RD.DataDefinition.ParameterFields;
//ParameterFieldDefinition crParameter1 = crParameterFieldDefinitions[0];
//ParameterValues crParameter1Values = crParameter1.CurrentValues;
//ParameterDiscreteValue crDiscrete1Value = new ParameterDiscreteValue();
//crDiscrete1Value.Value = "GER";
//crParameter1Values.Add(crDiscrete1Value);
//crParameter1.ApplyCurrentValues(crParameter1Values);
RD.ExportToDisk(ExportType, "C:\\Test2.pdf");
RecordSelectionFormula in Report:
(not HasValue({?Land}) OR {tab.location_code} = {?Land}) and
{tab.sup} = "XXX" and
{tab.Accounting_Period} = "200801"You need to be careful when using optional parameters. If you are using the optional parameter in a record selection formula you'll need to check and make sure it has a value before you use it. There is a function call HasValue() that you can use to do this.
If you have an optional parameter in the record selection formula and you don't pass a value you'll need to make sure your selection formula can be completed with out it.
This is an excerpt from our help file.
Crystal Reports supports optional parameters. An optional parameter is a prompted value that does not have to be supplied by the user.
Report designers should provide some guidance to the end user that a parameter is optional by adding this information to the prompt text.
Optional parameters are treated by Crystal Reports as optional anywhere within the report that they are used. You cannot set one instance of the parameter to optional and another to mandatory.
Note: After you set a parameter to optional, if you use the Select Expert, the system will automatically add the selection formula for you using the HasValue() function.
The Formula Workshop Editor does not automatically add the formula. Only the Select Expert automatically adds the formula for you.
If you change the parameter from optional to mandatory, the HasValue() function is not automatically removed from your formula.
Handling a parameter with no value
When the report engine evaluates any formula which references an optional parameter that does not have a value, it generates a runtime error. All formulas that reference an optional parameter should first use the HasValue() function to check if that parameter has a value before evaluating it. This includes record selection formulas and saved data formulas.
Note: The system will not automatically drop a statement from the SQL WHERE clause. It is the report designeru2019s responsibility to decide which statement to leave out based on HasValue() testing. -
Report prints Saved Data not Refreshed Data
We were running VS 2005 and using the Basic CR 2005 Basic that comes with it. We upgraded to use CR 2008 and found MANY issues after we went live in production that were apparent in the development. This has caused a lot of stress with us as well as our users. Iu2019ll summarize everything we found, possible workarounds and the open issues including the Printing/Loading of Saved Data.
First, it was reported that printing changed. It turns out when PrintMode = u2018PDFu2019 (default setting) it now asks after you choose u2018EXPORTu2019 (use to be u2018OKu2019) that it asks to Open or Save the Adobe. When our customers were running 20 some reports at a time and we had hundreds of users, this became a nuisance for the heavy reporting users and a training issue in general for us. With research, I found that we can change the PrintMode to be u2018ActiveXu2019. This was much better when we were testing. However, in Production it became a nightmare. If the user is on a Domain that disallows itu2019s user from installing software or if the user has tight security settings, this became a nightmare.
The second thing reported was that it was exporting to the wrong format. It was exporting into RPT format. It turns out with CR2008, it automatically defaults to RPT and the new pop-up, doesnu2019t isnu2019t clear to the user they even have a choice (the pop-up is much prettier, but it doesnu2019t look like a dropdown anymore). In addition, they reported it was taking twice as long to export (we think it was related to export file type now). With CR2005 Basic, it would have no default selection and if the user didnu2019t pick one, it would remind them they need to pick one. After much research, I found there is no way to customize the operation of the export without writing my own export. My users 90% of the time want to export to PDF and Excel the rest of the time. Since we arenu2019t using a CR Server like product, they NEVER will do RPT. There is no way with CR2008 to limit this list or to default the File Format. So now, if they forget to select the type, they get the wrong file format instead of being reminded to select one. Since the new pop-upu2019s dropdown selection isnu2019t easily apparent, this was a BIG issue for us. Since I have close to 300 reports on 7 websites, this will be a lot of work for me to write my own code and change all the ASPX page to use my own control.
The third thing reported was that the default name on Exporting was changed. Export uses the ID property of the Crystal Report Viewer as the default name of a file on export. When it replaced the viewer on all our pages, it set the ID to CrystalReportViewer1 instead of preserving the original ID. We now have to go back and change them to what we wanted manually. BEAWRE of this! For our power users who wanted to export 40 reports they now have type the name in manually on all of them. What took minutes now takes over an hour for them to do, until we can fix all the pages.
Now it was reported that some reports are showing OLD data. It turns out there shows Saved Data from design time. In our site, we have a parameter page which getu2019s user selected parameters, save to a session and then load the report page using the session variables, and then redirect them to the report page which on page load we set the reports parameters. We use the CrystalReportSource using ODBC. The report has all the connection information. Well if the user happens to select the same parameters I used at design time, it wonu2019t pull the data from the database. They see our test data instead which is garbage. If they select different parameters, display the report and then go back and select the original parameters, they will get the correct data. This can be catastrophic for us! So I added at the beginning of the Page Load before setting parameters the following:
If Not Page.IsPostBack Then
CRSServiceAlertsReport.ReportDocument.Refresh()
End If
This seemed to work. A pain to add on every report page though when it wasnu2019t necessary before. But then I just got called this morning and they say when they print, it prited the OLD data. It seems the refresh pulled new data and updated the display in the viewer but the ActiveX print still used the original Saved Data! I couldnu2019t find a solution for this. I found switching PrintMode back to u2018Pdfu2019 worked but now I have the extra click issue again, which I described above. I tried setting the reports u2018Discard Saved Datau2019 option but it still had the data!
In the end, had I known about all these issues I would have NEVER upgraded to CR2008. Iu2019m still looking for help on getting by the following:
u2022 Stop using Saved Data at runtime (either on Display or Print)
u2022 Getting the PrintMode=u2019Pdfu2019 to just pull up Adobe in Open mode without prompting the user.
u2022 Remove File Type options from Export
u2022 Set the default File Type options to nothing or something I want.
Another nice feature to have would be the ActiveX control for printing to be part of the .NET Framework so users donu2019t need to download it. Come on BO is a big company Iu2019m sure they can work with MS. What is that method to clear Saved Data; I looked and couldn't find it. I never had to call one in the prior version of CR 2005 Basic in .Net. With the .NET controls, it always refreshed the data before. This is a change in behavior for me.
As for the Print using Adobe, with CR2005 Basic, it didn't prompt the user to Open or Save before. This is new behavior. It used to just open the report in Adobe in memory before without this specific prompt (it did have the first prompt for All or specific pages, but it would just open after that). This is a change in behavior from prior versions and it has caused me several issues.
Many users don't like change and I didn't know to communicate this to them. They were taken by surprise. We'll learn to live it I guess, but I would ask you just to consider, why have an option to "Save" to PDF when you choose to print? I would think you would use Export if you want to save. It would never hurt to add an option to allow alternatives either.
As for including with .NET Framework, it was just an idea. I know how hard it can be working with third parties. However, given that CR Basic comes with it, I thought it may be possible to work with them. The better the integration the better the product is for the developers. I was thinking the button could call JavaScript/Java to print instead of an ActiveX, or some other method. Since I donu2019t know how the Control works, I couldnu2019t say. It just would be nice. I had a smiley face after that request, it didn't come out right when I saved the post.
I still don't understand why .Refresh will update the data in the viewer but printing using the ActiveX Control will still print the saved data instead of refreshed data. Since I never used this in the prior version I don't know what it would of done or not, but it just doesn't seem right it shows one set of data, and prints another.
In addition, why the designer still saves data with the report when you state not to, I think may be a problem still.
Edited by: Thomas Johnson on Nov 21, 2008 12:26 PM -
Print or download ALV report with sort options
Dear friends,
How i can download into excel or print ALV report with sort options, like customer name column with similar values should not repeat in the print out or download file.
Regards,
Praveen LoboHi Praveen,
Use this code, its working:-
*FOR SORTING DATA
DATA : it_sort TYPE slis_t_sortinfo_alv,
wa_sort TYPE slis_sortinfo_alv.
* SORT W.R.T. CUSTOMER NAME
wa_sort-spos = 1.
wa_sort-fieldname = 'NAME1'. "field customer name
wa_sort-tabname = 'IT_KNA1'. "internal table with records
wa_sort-up = 'X'.
APPEND wa_sort TO it_sort.
CLEAR wa_sort.
"this will sort the ALV o/p for customer with same name
"now the name will not be repeated
"records with same name will be grouped
* DISPLAY RECORDS IN ALV GRID
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid "report id
it_fieldcat = it_field "field catalog
it_sort = it_sort "sort info
TABLES
t_outtab = it_kna1 "internal table
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
ENDIF.
Hope this solves your problem.
Thanks & Regards,
Tarun Gambhir
Edited by: Tarun Gambhir on Dec 31, 2008 1:13 PM -
How to disable "Enter Parameter Values" for optional paramters?
I'm having issues getting the Crystal Reports .NET Viewer to suppress the "Enter Parameter Values" dialog for optional parameters. I have templates created using Crystal Reports 2008 and am linking against the CR for VS 2010 runtime.
Within the report template the optional paramter has "Optional Prompt" set to "True". This particular parameter also allows multiple values and is used in record selection. Within the record selection it is using HasValue().
It seems the parameter is set up properly as I have other parameters that are set within the code that are not prompted for. If I pass in the optional parameter through the code the "Enter Paramater Values" dialog also does not appear and the report is generated correctly. All of the parameters are set using ParameterFields and they are set before the ReportSource is set.
Looking through the .NET API documentation it seems like the CrystalReportViewer should have an "EnableParameterPrompt" property that would do what I want however it doesn't seem to be a valid parameter as I get compile errors when I try to use it... Not sure if it matters or not but I am using managed C++ and our application is built using Visual Studio 2005. Could that maybe have something to do with it?
Thanks,
-BenOK, I'm going to answer my own question as with a little more digging I was able to find out that I needed to set some stuff on the report document to specify that there are no values. Still not sure why "EnableParameterPrompt" is not valid for me though as it seems like that would work as well. At any rate here is what I needed to do:
ReportDocument->ParameterFields[<Optional Parameter Name>]->CurrentValues->Clear();
ReportDocument->ParameterFields[<Optional Parameter Name>]->CurrentValues->IsNoValue = true;
-Ben -
How to interprete db_stats report for -m option
Hi
please help me to interprete the db_stats report (for -m option).
What is the total number of pages created by DB? (It is "Current page count" or "The number of page allocations").
what is " Total number of times hash chains searched for a page" , "Total number of hash chain entries checked for page" and " Requested pages found in the cache" ( we see really huge numbers there when XML file size is increased)
Thanks,
SanthoshHi Santhosh,
Here are some explanations on the memory pool (cache) statistics:
- “The number of page allocations” (st_alloc)
This accounts for the total number of page allocations made by BDB. We allocate pages in the memory pool when we create, open and rename a file in the memory pool, when we get a page from a database file, when we resize the memory pool, when we create and extend the free page list, etc. This value is grow-only.
- “Current total page count” (st_pages)
This represents the number of pages found in the cache (both clean, with non-updated content, and dirty, with updated content). So, this equals the sum of the “Current clean page count” (st_page_clean) and the “Current dirty page count” (st_page_dirty).
- “Requested pages found in the cache” (st_cache_hit)
This represents the total number of requests for database pages that were satisfied with pages existing in the memory pool. The percent value represents the cache hit rate, that is, how many requested pages were found in the cache, and it’s calculated using the formula “st_cache_hit / (st_cache_hit + st_cache_miss)”.
- “Requested pages not found in the cache” (st_cache_miss)
This is the total number of requested pages that were not served directly from cache and had to be read from disk. You can determine a miss rate value, using the following formula: “st_cache_miss / (st_cache_miss + st_cache_hit)”; or, you may substract the hit rate from 100%. A higher hit rate means a hotter cache; details on how to appropriately size the cache is here:
http://www.oracle.com/technology/documentation/berkeley-db/db/ref/am_conf/cachesize.html
- “Number of hash buckets used for page location” (st_hash_buckets)
We organize and manage the cache buffer space using hash buckets; each hash bucket has a hash chain associated where its entries (hash chain entries) refer to buffers in the memory pool space. Thus, this value represents the number of hash buckets we’re using for administering pages in the memory pool.
- “Total number of times hash chains searched for a page” (st_hash_searches)
This value accounts for the total number of times we’ve inspected the hash chains when searching for a page in the cache (memory pool).
- “Total number of hash chain entries checked for a page” (st_hash_examined)
This value represents the total number of entries in cache’s hash bucket chains we’ve examined when looking for a page.
When the container’s/database’s size increases, the number of pages that comprise the file will increase as well. The statistics you’ve mentioned are grow-only, so their values increase during the lifetime of the application.
Let me know if this information is helpful and if you need further clarification.
Regards,
Andrei -
How to find report values using report writer
hi,
Please help me.
How to find report values using report writer
Regards,
RRK.
Edited by: Alvaro Tejada Galindo on Feb 6, 2008 12:01 PMThanks all for the reply.
I am trying to solve a problem where report parameter value that is set at Management Console is wiped out after calling replaceConnection.
databaseController.replaceConnection(oldConnectionInfo, newConnectionInfo,
null,DBOptions._doNotVerifyDB);
We have to support changing database connection from a java utility
class. But once replaceConnection is called all existing static parameter values are lost. To fix this issue we thought of getting parameters and values before calling replaceConnection and setting it after replaceConnection.
Version is CS2008 SP3 - version 12.3.0.601
If there is any other option of fixing the original wipe out issue?
ParameterValues.getValues() didn't return value. I will try ParameterValues.getCurrentCalues() but the document says ParameterValues.getValues() is equivalent to the IParameterField.getCurrentValues() method unless it is empty, in which case it is equivalent to the IParameterField.getDefaultValues() method.
So getCurrentValues() may not work. -
FSG:EXPAND PARENT VALUE PROFILE OPTION 에 대한 설명
제품 : FIN_GL
작성날짜 : 2004-10-14
FSG:EXPAND PARENT VALUE PROFILE OPTION 에 대한 설명
==============================================
PURPOSE
FSG 작성 시 'FSG: Expand Parent Value' profile 의 역할에 대해 설명한다.
Explanation
FSG:Expand Parent Value profile 은 FSG report 작성시 parent value 를 child ranges 로 부터 sum하여 가져 올 것이냐 아니면 parent vlaue 에서 가져 올 것이냐를 결정한다.
Example
Example 1
FSG:Expand Parent Value = Yes
Summary Flag = Yes
Parent Value belongs to a Rollup Group
Result:
FSG looks for summary accounts that have this parent value for this segment.
It does not expand the parent value into its child ranges.
Example 2
FSG:Expand Parent Value = Yes
Summary Flag = Yes
Parent Value does not belong to a Rollup Group
Result:
FSG expands the parent value into its child ranges, then looks for
summary accounts that have values for this segment that are within
these child ranges. (The summary template associated with this summary
account would have to have a 'D' for this segment.)
Example 3
FSG:Expand Parent Value = Yes
Summary Flag = No
Parent Value belongs to a Rollup Group
Result:
FSG looks for detail accounts that have this parent value for this
segment. It does not expand the parent value into its child ranges.
It is never going to be successful.
Example 4
FSG:Expand Parent Value = Yes
Summary Flag = No
Parent Value does not belong to a Rollup Group
Result:
FSG expands the parent value into its child ranges, then looks for detail
accounts that have values for this segment that are within these child
ranges.
Example 5
FSG:Expand Parent Value = No
Summary Flag = Yes
Result:
FSG looks for summary accounts that have this parent value for this
segment. It does not expand the parent value into its child ranges.
Example 6
FSG:Expand Parent Value = No
Summary Flag = No
Result:
FSG expands the parent value into its child ranges, then looks for
detail accounts that have values for this segment that are within
these child ranges.
Reference Documents
Note 1012620.102I have followed the following notes but it didn't help me
R12: FSG: PERF0005 Error Detected In GET_DEF_LDGS - ORA-01403: No Data Found Common Issues [ID 1368691.1]
Generating a FSG Report Application Does Not Find Profile Values for RG_LOGFILE_DETAIL_LEVEL and EXPAND_PARENT_VALUE [ID 165339.1]
does anyone know how to solved the problem ??If none of the docs help, please log a SR.
Thanks,
Hussein -
In my MacBook Pro(10.7.5), finder is crashing after logging in. It is showing crash report with Relaunch option, when i click on Relaunch option finder is working properly but i am unable to see Top bar(Apple logo, Date and Wifi etc... bar). Even in safari address bar, TextEdit not accepting any text means when type something not showing up and also i am unable operate any thing from keyboard. Plz help me…..
One thing that you can try is installing a 'fresh' version of OS X Lion. Boot into your Recovery partition (holding down the command and R keys whilst booting) and elect to install OS X from the Recovery screen. You need not erase your hard drive and you should not lose any of your data.
Oh, and just as a precaution, I would use Disk Utility, once you're in Recovery mode, to verify your hard drive before trying to install the OS again.
Clinton -
How to get the last "reported" value in a cross tab
Dear all,
based on a BeX Query Universe I have built a report with a cross tab in webI.
Maybe you can help me with the following issue. There I have a problem: I want to get in the Total-column always the last reported value, e.g. for Number Total Customers "66", not for Mar or Apr, because they are null.
Calendar Month |Jan| |Feb| |Mar| |Apr| |Total|
Number Total Customers |54| |66| | | | | 66
Number Active Customers |57| |71| | | | | 71
I hope that you understand my problem and could help as soon as possible.
Thanks a lot in advance for your support.
Best regards.
Edited by: HOLWUE on Feb 8, 2010 1:40 PMHi,
If this question is related to Webi then post in the below forum.
http://scn.sap.com/community/businessobjects-web-intelligence/content?filterID=content~objecttype~objecttype[thread]
Regards,
Sujit. -
HELP! Indesign Saving options turn in-active
After working on a file for days all of the sudden my saving options (Indesig>File>Save) all turn light grey en in-active. Now my file is totally useless! Even after closing (and non-saving) an re-opening. So unless i save a new version every hour or something its impossible to trust my file/software...
This seems to be a known bug. For the moment the workaround when it happens is to export as .idml. See Remove minor corruption by exporting
-
Invalid value in OPTION field of value table for IN itab operator. operato
Hi,
I am working on SELECT-OPTIONS to accept single and multiple values for company code. I am using CREATE_RANGE_TABLE and ADD_SELECTION_FIELD and all is good but I was prompted with error "Invalid value in OPTION field of value table for IN itab operator. operator" when I enter 2 single value.
SIGN OPTION LOW HIGH
| |CN01| |
| |SG02| |
However, below combinations working good for me and I don't get the above error.
SIGN OPTION LOW HIGH
I |BT |CN01|CN02|
| |SG02| |
SIGN OPTION LOW HIGH
| |SG02| |
I am using below coding.
DATA:
ls_cmp_restrictions TYPE if_wd_select_options=>t_complex_restrictions,
ls_rsoptions TYPE rsoptions.
CLEAR ls_rsoptions.
ls_rsoptions-bt = abap_true.
ls_rsoptions-cp = abap_false.
ls_rsoptions-eq = abap_true. " for enable only single value*
ls_rsoptions-ge = abap_false.
ls_rsoptions-gt = abap_false.
ls_rsoptions-le = abap_false.
ls_rsoptions-lt = abap_false.
ls_rsoptions-nb = abap_false.
ls_rsoptions-ne = abap_false.
ls_rsoptions-np = abap_false.
ls_cmp_restrictions-m_exclude = ls_rsoptions.
CLEAR ls_rsoptions .
ls_rsoptions-bt = abap_true.
ls_rsoptions-cp = abap_false.
ls_rsoptions-eq = abap_true. " for enable only single value*
ls_rsoptions-ge = abap_false.
ls_rsoptions-gt = abap_false.
ls_rsoptions-le = abap_false.
ls_rsoptions-lt = abap_false.
ls_rsoptions-nb = abap_false.
ls_rsoptions-ne = abap_false.
ls_rsoptions-np = abap_false.
ls_cmp_restrictions-m_include = ls_rsoptions.
* Create a reference to range table
lr_field = wd_this->m_helper->create_range_table( `BUKRS` ).
* Add the select-option to the group
wd_this->m_helper->add_selection_field(
i_id = `BUKRS`
i_value_help_structure = 'P0001'
i_value_help_structure_field = 'BUKRS'
it_result = lr_field
i_no_intervals = abap_true
i_no_extension = abap_false
i_complex_restrictions = ls_cmp_restrictions
i_use_complex_restriction = abap_true ).
FREE lr_field.
Edited by: Girish Nabar on Jul 22, 2011 12:35 PMHi Girish,
People are answering not for points, just to share the knowledge.
And I think the way of structure is wrong. i think we cannot pass two single values in your way. am not sure about .
low means it will accept single value. for one record in sign structure.
wait for other replys.
Regards
Srinivas -
How can we pass the master report value in to detail report
Hi All,
My question is how can I pass the master report value in to detail (Child) report filter?
I mean I have one master report if I click on employee name then I have to pass the employee id in to details report filter. Then detail report will display data for that particular employee.
How can I achieve this one in OBIEE?
Please help me to resolve this issue. Thanks in advance for your time and support.In that case, you should look at using Go Url. In your column formula for the employee name, create a hyperlink to the detail report and pass the employee id.
Take a look at this post: Re: Dyanmic display of the Image Link URL
Thanks! -
In Oracle 10g, How to call a report since an option of a menu (*.mmb)
Hello
In Oracle 10g, working since the browser, how to call a report since an option of a menu (*.mmb)? I know to call it in a form (*.fmb), therefore uses the fields bean area and the objects reports, but in a menu there is not neither canvas, neither fields, neither reports. Someone would be able to help me with that?
Kisses. Thanks.
AnnieI understand that you had sent me everything,
I sent for example to you that, no to insert it in your item's menu code,
then,You have to modify it.
... but
a menu (mmb) doesn't have to define him reports
objects... then, what parameter I send to the
function FIND_REPORT_OBJECT:
This is not true
Try out this, and then let me know
You do not need to have a report object defined in the menu. It is enough to have it in forms.
I tried to call a report from the menu in the folowing way:
I created a menu and wrote the following code in one item:
DECLARE
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
BEGIN
repid := find_report_object('report2');
SET_REPORT_OBJECT_PROPERTY(repid, REPORT_EXECUTION_MODE, RUNTIME);
SET_REPORT_OBJECT_PROPERTY(repid, REPORT_COMM_MODE, SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'pdf');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'reportserver1');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESNAME,'C:\p.pdf');
v_rep := RUN_REPORT_OBJECT(repid);
END;Then I created a form with a report object called report2.
I attached the menu to this form and while running this form, I was able to successfully run the report.
In your case, you have to make sure that you have the dummy report object in each form that will have this attached menu.
You can replace by the actual report name as you have written in the code.
Regards -
Barcode in BusinessObjects report becomes text when report is saved as PDF
We have a BusinessObjects report that produces information as both text and barcodes. The barcode portion uses the "Code 3 of 9" (Code 39) font to represent the information. When the report is saved as a PDF from BusinessObjects, the barcode portion appears as text. Has anyone experienced this with BusinessObjects, and is there a solution?
Thanks.
Richard E. Adams
Applications Developer
Las Vegas Valley Water District
Las Vegas, NV
(702) 856-3627Post Author: Ted Ueda
CA Forum: JAVA
The PSReportFactory service, CR Page Server, is only for viewing Crystal Report formats, and not instances in other formats.
For the other formats, ensure you list the SI_FILES property in the InfoStore query, then cast the resulting InfoObject to IContent. The IContent interface support methods to stream the file content from the File Repository Server.
Sincerely,
Ted Ueda
Maybe you are looking for
-
Installing on Macbook Air 4,2 - why can I not get this done?
I am trying so desperately to install Arch and dual-boot on my Macbook Air. I'm not an Arch noob - I promise. I've installed and loved arch on my old laptop a couple years back but that was not a mac. I've been here but all it says is that this "w
-
Creating an XML file using Java Standalone
Hi, My problem is - 1) write a java stand alone retrieving data from database and put the data in XML format (i.e; we have to create an XML file). How to do this? Could any one of you please suggest me how to code or can i have any links that refer t
-
which adobe acrobat program/software includes conversion of a .pdf into a .jpg or .tiff?
-
My apple TV has been working ok and suddently it can see many options like movies, etc, but when I try to actually donload and look at one it is not there. Somehow it can get a look aat some of the movies, but when I tryo to purchse will not download
-
How to change Object Stroke Color and fill Color?
Hi to all i need to change fillcolor & stroke color of Object here i wrote code that tried but it is not myDoc = app.activeDocument; var dd = myDoc.colors.add({name:"PANTONE Black C", model:ColorModel.spot, colorValue:[0, 13, 49, 98]}); app.findObjec