Parameter for Xl Reporter
Sir/Mam
I build one xl report in xl reporter but i whant make parameter for ther posting date wise i tried all way but its not work it only genrated all data in that company i whant tosort repot about ther posting date how can do it. i maked parameter also but it not sort please reply with perfect solution
It will not be easy to describe the complete process to make parameter working for XLR. However, could you share your steps tried so far. That might save a lot unnecessary explanations.
Thanks,
Gordon
Similar Messages
-
How to create a user parameter for a report
Hi,
I am writing a report in ORACLE 6.0, and I need to create a user
parameter for my report.
My database includes fields: item_id, item_cost, and item_desc.
What I want to do is: set up a user parameter for item_cost, and
the report will prompt the user to enter number into this
parameter, then the report will display item_id and item_desc
depending the user-entered item_cost.
thanks.
JunMy SQL code is below:
select item_id, item_invo, item_desc
from tb_item
where item_invo=:p_1
but I got an error message:
REP-0788:Warning: The value of restricted LOV parameter p_1 is
not among the selectedble values.
Would you help me again? Thanks.
Jun -
Hi,
I need embed a BI Report in a factsheet of CRM 2007. I have absolute no idea about BI. So, now I have a stupid question.
Given a BI-report-ID ,e.g.
0TPLB_0CSALMC02_Q009_V01, but it is still necessary to fill out the so called parameters for BI-Report-URL. How can I know, which parameters are to be passed? Where can I find the parameter?
Thanks in advance
yyHello Holger,
it is a pretty good hint. thanks and point awarded!
I looked through the web API reference, mentioned in IMG guide . But I have still the question:
Does a BI report accept only specific parameters ? just like a method , function ....
I mean, whether there is a table, where all corresponding parameter are listet for each BI-report ID .
Additionally,
Where are some specific parameter names declared? For example "0Country". How can I know, that the "0Country" refers exactly to country, instead of other concepts.
Thanks a lot
Siwei -
About passing multiple values in parameter for oracle report
https://docs.google.com/file/d/0B0dx7wf68mD0QzdpbWU4UGNURTQ/edit
Hi all,
i want to pass multiple value using , to separate them 1,2,3....
here is my query
SELECT DISTINCT
oh.header_id
,oh.org_id
,to_char(oh.ordered_date,'DD-MON-YYYY') d_date
,to_char(oh.ordered_date+31,'DD-MON-YYYY') d_validity
,oh.ship_to_org_id
,oh.invoice_to_org_id
,oh.cust_po_number d_po_num
,rcust.customer_id AS customer_id
,oh.order_number d_salesorder_no
,oh.cust_po_number d_project
,oh.attribute1 second_addr
,oh.attribute2 remark1
,oh.attribute3 remark2
,substr(oh.transactional_curr_code,1,3) as currency
,tyl.name ordertype
,oh.salesrep_id
,rat.name as d_payment_term
,rat.description d_payment_desc
,rsa.name
,rsa.email_address as sales_phone
,rcust.customer_name||' - #'||rcust.customer_number d_to_custname
,rcust.customer_name d_cust_sign
,rcust.attribute1
,rcust.customer_number
-- ,raddr.ship_to_flag
,oh.sold_to_contact_id AS attn_id
,rcust.party_id
,tyl.name AS SO_type
-- ,net_org.ORG_LOGO
FROM
oe_order_headers_all oh
,ra_customers rcust
,ra_addresses_all raddr
,ra_site_uses_all rsite --double_line
,ra_terms rat
,hz_party_sites hps
,hz_contact_points hcp
,ra_salesreps_all rsa
,oe_transaction_types_tl tyl
-- ,apps.ar_contacts_v acv
-- ,net_org
WHERE oh.sold_to_org_id = rcust.customer_id
AND oh.payment_term_id = rat.term_id(+)
--AND rcust.customer_id = acv.customer_id(+)
AND oh.salesrep_id = rsa.salesrep_id
AND oh.order_type_id = tyl.transaction_type_id
AND rcust.party_id = raddr.party_id
AND raddr.address_id = rsite.address_id
AND rcust.party_id = hps.party_id
AND hps.party_site_id = hcp.owner_table_id(+)
AND hcp.owner_table_name(+) = 'HZ_PARTY'
--AND hcp.contact_point_type (+)='PHONE'
AND tyl.LANGUAGE = userenv('LANG')
--AND raddr.ship_to_flag IS NULL
AND upper(tyl.name) in ('SW SALES CONTRACT','SW-NSC SALES CONTRACT','TILES SALES CONTRACT','VBP SAMPLE ORDER', 'VBP INTERNAL ORDER')
AND oh.order_number =:P_CONTRACT_NO
and oh.org_id = :P_ORG_ID
--and net_org.org_id = :P_ORG_ID
&CP_Param
and after para form
function AfterPForm return boolean is
begin
:CP_Param := 'where oh.order_number in ('||:P_CONTRACT_NO||')';
return (TRUE);
end;
it said ora-00933 but my query can run i dont need the multiple values para, can anyone help me how to modify the report so it can pass multipel values thanksHI I tried changing the parameter width to a larger value, it can output , and the field where I show the order_number i used source P_CONTRACT_NO,
it will display as 102005000,102005001 and I also tried using the column from the query directly, it will be separated , it has some other problem
I have the header part and main part,
and also there are page numbering, with the order number field set as order_number it will output single number , but the page order is wrong
102005000,102005001 will be like header page: 102005000 1/4 102005001 2/4, main page 102005000 3/4, 102005001 3/4
DO you have any idea how I can set the page numbering setting so it will output as header page:102005000 1/2 102005000 2/2
header page:102005001 1/2 102005001 2/2
?? thanks -
Placing a parameter for a report in header when no XML data returned
Good Afternoon ~
I have a request from a user that requires the need to place a reports parameters in the header of the report even though the report may return no data. Example of this would be a missing time card report.
I have only seen the use of this when there is data returned. If the report returns no data there is no XML.
I have no idea how I would accomplish this. Any suggestions I can get on this is much appreciated. How would I capture the parameter used?
Thank you much!
GApparently I am not notified of these updates. Sorry this took me a bit to get to you.
The report data is using an Oracle Report to generate the XML. All other formatting is done in BI Publisher. -
Little help for calling report from a form
hi,
I AM NOT ABLE TO CALL THE REPORT WITH THE FOLLOWING CODE. PLEASE TELL ME WHERE I AM DOING WRONG! THANKS A LOT!!
It is Oracle 9i and Reports 6i.
-> I have a form with only one BUTTON.
-> I have a REPORT with only one USER PARAMETER 'P_1' which is a number.
-> I have only one query INSIDE the report. It is "SELECT * FROM EMP WHERE EMPNO = :P_1'
-> I added the report to form in the OBJECT NAVAVIGATOR of FORM and the NAME OF REPORT is 'REOPRT4'
here is the code on the form:
================================
When_button_pressed
DECLARE
vid report_object;
vname varchar2(100);
BEGIN
vid := find_report_object('Report4');
vname := run_report_object(vid);
END;
==================================
-> the FORM and REPORT are in "c:\helloworld" directory.
-> the error I am getting is 'internal pl/sql error'
-> I WANT THE USER TO ENTER THE RUNTIME PARAMETER FOR THE REPORT AT RUNTIME, so no need to worry about supplying the parameter through code!!!
Thank You very much. I appreciate your kind help!!I think that you have to add some code, see page 15 in this:
http://otn.oracle.com/products/forms/pdf/277282.pdf
Helena -
In Drill through report pass hyperlink value as parameter to another report using ssrs 2008 R2
Hi All,
I have one drill through SSRS report in which if I click one hyperlink in the summmary report it should be passed as parameter for detail report, like this....
Summary:
AccountType
A1
A2
If I click A1 then that should be passed as parameter to detail report and display A1 data in detail report
If I click A2 then that should be passed as parameter to detail report and display A2 data in detail report.
Please give me some ideas or expression code to achieve this in using SSRS 2008R2. Its very urgent.
Thanks,
RH
sqlThanks the folowing is my source data for the parameter I am including to the drill through
SELECT DISTINCT
case
when EA_STATUS in ('E4', 'U4', 'P5', '02', '03', '04','B2','B3','B4','12')
then CAST('Project' AS VARCHAR(15))
else CAST('Non-Project' AS VARCHAR(15))
end as EA_PROJECT_GROUP_DESC
FROM TEAMS.FMPROD_V_EA
As you can see it has only 2 values.So how do you suggest I wirte the expression to include in the report.
The name of the parameter I will be using is EAProjectGroup.but below is the error I am getting trying to run the report
rsMissingFieldInDataSet] The dataset Trends contains a definition for the Field EA_PROJECT_GROUP_DESC. This field is missing from the returned result set from the data source.
[rsErrorReadingDataSetField] The dataset Trends contains a definition for the Field EA_PROJECT_GROUP_DESC. The data extension returned an error during reading the field. There is no data for the field at position 45.
Preview complete -- 0 errors, 72 warnings
what does the position 45 mean? -
How to create own Selection Parameter for ME2M list
Dear Sir,
We use ME2m tcode for getting list related to Purchase Order . We have been told that we can create our own "SELECTION PARAMETER" for ths report . Kindly guide us as what steps need to be done for this pl .
With Thanks and Regards
Sonia Mittalyou can also set a variant for the existing / default ME2M screen
fill all the required entries then click on GOTO >>Variants >Save as Variant
next time when you run T code ME2M, you can select the variant and run the t code
hope this will help you -
Hi,
I have two SCCM environments under same active directory domain and one service account have been used for SCCM configurations on both the environments (QA and PRODUCTION). I am facing similar error as mentioned above while trying to fetch reports on
PRODUCTION site, but the QA site is working fine, though same service account have been used for configuring both. While looking at the reportserverservice_<date> log on my Production DB server i see the following error
"processing!ReportServer_0-3!2124!01/02/2015-09:09:30:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: , Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during
report processing. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot read the next data row for the dataset DataSet1. ---> System.Data.SqlClient.SqlException: Conversion failed when converting the nvarchar value 'Override
Default' to data type int."
My DB and SCCM primary site are different and the reorting services point is installed on remote DB server. Please help me resolving the issue.
Troubleshooting performed:
1.Disabled the registry key 'EnableRbacReporting' from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\SRSRP to 0 and then restarted SSRS service and the reporting worked for some minutes after that the registry key reverted back to 1 automatically and
reporting started throwing errors again.
2. Checked with the permissions on DB whether or not 'sysadmin' role is assigned to the SCCM service account.
3. re-registered the SQL management Provider WMI class.
mofcomp.exe “C:\Program Files (x86)\Microsoft SQL Server\110\Shared\sqlmgmproviderxpsp2up.mof”Hi All,
Finally found exact solution to the reporting error.
Error: while launching SCCM reports (both from Console and web based) an unexpected error occured with error message as "The DefaultValue expression for the report parameter ‘UserTokenSIDs’ contains an error: A specified logon session does not exist.
It may already have been terminated. (rsRuntimeErrorInExpression)"
Solution: This is password replication issue for the domain account used to configure reporting services point in SCCM. If your SQL SSRS reporting services instance and databse runs with local default account whereas the reporting services point on SCCM
primary site is configured with domain account, (As in My case) you need to perform the following in order to get rid of the error.
Launch 'Reporting Services Configuration Manager' from the SQL SSRS box(either Local or Remote), Connect to Report Server Instance->Go to 'Execution Account' tab->Specify the 'Execution Account' as domain account and password which is used to configure
Reporting Services Point in SCCM Primary Site, and then click apply.
Now Lauch the report either way (Web based or from Console), the error will disappear and all your default reports will execute perfectly as before. -
One parameter for multiple Crystal reports in Publication
Does anyone know if it is possible to enter one identical parameter for multiple Crystal reports in publication when scheduling? BOE 3.1 SP3 Windows, Java.
To elaborate I am creating publication with multiple reports, each report has one parameter and this parameter is identical in every report in publication. So instead of entering this parameter many times I would like to enter once.
If yes point me in the right direction to get the how to or post the steps.Daniel,
Thank you so much for your answer. It was very helpful. In the end, it didn't work but it helped me figure out what was happening. I use a different form for the reports and I had it coded in the form which report to use. I created a second form for the second crystal and then I used an if statement to choose the form and it worked like a charm.
Thanks so much again! -
How to make a common parameter for two subreports in the main report.
Hi,
I have a crystal report which has 2 subreports in it. Both the subreports have the same code and I need to create a parameter for Project Cost in both the subreports for filtering the data.
When i create the same parameter in both the subreports, i see two parameters with same name on my prompt page while refreshing the report. however I just want 1 parameter on my prompt page and data should get filtered in both the reports.
Can anyone please suggest something, How can I do that? is there a way for sharing same parameter between two subreports?
Thanks!
Neha.hi Neha,
here's how to do this:
1) create a new parameter with the same name on the main report
2) right click on your first subreport and choose Change Subreport Links
3) in the Field to Link To list drag over your new main report parameter
4) open the Subreport Parameter Field to Use select menu and choose your subreport parameter
5) repeat steps for the 2nd subreport
now you'll only get prompted once.
cheers,
jamie -
- I have a Product list box (asp.net) used as multiple selected values for a parameter.
- The Product ID is defined in the Oracle procedure as NUMBER data type.
- In my crystal report, I have a parameter field allow multiple values as p_product_id type as Number. This is the code in my Record Selection Formula for the report:
({?p_product_id}[1] = -1 OR {Procedure_name.product_id} in {p_product_id})
- In C#, this is my code
List<decimal?> productUnit = new List<decimal?>();
int counter = 0;
decimal prod;
for (int i = 0; i < lstProducts.Items.Count; i++)
if (lstProducts.Items[i].Selected)
if (decimal.TryParse(lstProduct.Items[i].Value, out prod))
productUnit.Add((decimal?)prod);
counter++;
if (counter == 0)
productUnit.Add(-1);
ReportingDAO rDataFactory = new ReportingDAO();
retVal = rDataFactory.GetProductReport(productUnit);
public CrystalDecisions.CrystalReports.Engine.ReportDocument GetProductReport(List<decimal?> productUnit)
CrystalDecisions.CrystalReports.Engine.ReportDocument retVal = new rptProductDownload();
ReportLogon rptLog = new ReportLogon();
rptLog.Logon(retVal, "RPT_PRODUCT_DOWNLOAD");
retVal.SetParameterValue("p_product_id", productUnit);
I keep having the "Value does not fall within the expected range" when I debug. My question is, is the data type I used for procedure/Crystal report/ and C# correct ? I always have problem with the data type. Any help would be
appreciated
Thank youHi progGirl,
Thank you for your post, but Microsoft doesn't provide support for CrystalReport now. Please post your question in SAP official site here:
http://forums.sdn.sap.com/forum.jspa?forumID=313
Thank you for your understanding.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Parameter REPORT for the Report Web item in the Web template is empty or mi
Hello,
I tried to create a Web-Template (WAD). By executing the report, I get the selection screnn, but by confirming the selection I get the following message:
Web Item Report Error
Web template error in specifications for the Web item report
Parameter REPORT for the Report Web item in the Web template is empty or missing
Use the BEx Web Application Designer to add parameter REPORT to the report Web item in the Web template, and assign a report name to the parameter
Contact your system administrator. This error was recorded
What can I do to solve this error?
Thanks!
XmchXAs DP_1 Type Query_view_Data_provider, I have assinged a Query Designer Query wich works fine, if I execute it as QDR.
The entry Query_view_Data_provider makes sense for me, but what do I need to maintain for the type "Filter"?
Thanks!
XmchX -
Crystal Report Dynamic Parameter for SAP B1 version 8.8
Hi, does anyone have problem with the dynamic parameter prompt for Crystal Report in SAP B1 version 8.8?
For example:
1. For static parameter that allows multiple value --> In SAP B1 v8.8, there is a check-box and a "..." button next to it. When you click the "..." button, a new window appear with a list of values to choose.
2. For static parameter that does not allow multiple value --> In SAP B1 v8.8, there is one field with a drop-down menu.
3. For dynamic parameter that allows multiple value and does not allow range values --> In SAP B1 v8.8, just one field for us to key in the value. Shouldn't this be the same as No. 1?
4. For dynamic parameter that does not allow multiple value and does not allow range values --> In SAP B1 v8.8, same as No.3 above. Shouldn't this be the same as No. 2?
How do I get no. 3 dynamic parameter that allows multiple value and does not allow range values to have a check-box and a "..." button next to it to allow us to select multiple values?Hi Shwu Hua Gan,
Thank you for your reply.
Please forgive me as I don't really understand what you are saying here. To be honest, I'm very new to Crystal Report and my understanding of CR is just the very basics. I'm actually not from a technical background which makes it more difficult.
In your reply:
Ie, you create a parameter in Crystal report, and by using the token eg:Mytest@select * from OCRD, it gives you the benefits of selecting the list from the database.
How do you do this by using the token? All I did is just select the parameter type (dynamic) and then select the table. When I preview the report in SAP B1 8.8, it doesn't prompt me like how I expect it to be. It is a blank field that I have to key in the value myself and then only the report will generate. Sometimes I don't remember what value to key in, so I have to do a formatted search for the blank field. After the report is generated, I can reselect the value (multiple values) from the CR viewer panel toolbar and refresh the report. -
How to use the region parameter of main report for subreport chart titles?
I am using Crystal Reports 11.
I create 1 main report with 10 sub-reports that contain cross-tabs & charts. The main report has a parameter regarding 3 different areas: region1, region2, and region3.
I use the method of adding the u2018regionu2019 parameter of main report to the selection formula of the sub-reports. So, I can select 'region' from main report to controll outputs in sub-reports by region.
I use formulas for chart titles, e.g.:
Select {Product Code}
Case 'a111':
u2018Region1 u2013 a111 Counts'
Case u2018b222u2019:
u2018Region1 u2013 b222 Counts'
u2026
u2026
Default:
u2026
Since I pass the u2018regionu2019 parameter of main report to sub-reports, I have to change chart titles dynamically based on the region I select.
How can I use the region parameter from main report in the formulas to get chart titles dynamically?
Thank you in advance.Thank you.
I am not using Chart Title with "Chart Expert".
I am using a formula for chart titles, e.g.:
Select {Product Code}
Case 'a111':
u2018Region1 u2013 a111 Counts'
Case u2018b222u2019:
u2018Region1 u2013 b222 Counts'
u2026
u2026
Default:
u2026
I drag this formula above the charts and it looks like a dynamic title. So, for product a111, the chart title would be "Region1 u2013 a111 Counts"; for product b222, the chart title would be "Region1 u2013 b222" Counts; and so on ...
Because I pass the region parameter from master report to subreport, I want to change the region part of the chart titles dynamically.
For example,
when select Region1, the chart titles should be: "Region1 u2013 a111 Counts"; "Region1 u2013 b222"; ...
when select Region2, the chart titles should be: "Region2 u2013 a111 Counts"; "Region2 u2013 b222"; ...
I want to add the region parameter into the tiltle formula.
How should I do?
Maybe you are looking for
-
When I'm on microsoft word on my macbook air and get to the bottom a the page, a new page does not come up. i have to manually insert one. so then when i go back to edit my work and add something in what ever was at the bottom of the page disappears.
-
[DW-8]Hacer encuesta
Hola a todos: Tengo el siguiente codigo para hacer encuestas //recibo el voto $voto = $_POST["voto"]; //recibo el id de la encuesta $encid = $_POST["encid"]; $servidor="localhost"; $usuario="root"; $password=""; $base="bd"; $SQLid = mysql_connect($se
-
Hi Expert, I have some subcontractor related problem. In subcontracting process component to be supplied by " Third party" not by our company,we create the purchase order and given the delivery address to the subcontractor address. in this process wh
-
I have searched the forums, etc and cannot find the answer to a question. I am creating a SD Quotation with the BAPI CreateFromData2. The quotation is being created except for the execution of the Configuration process to populate selection data as
-
I have a i phone and my partner have a samsung .. can i use facetime with her if she not using iphone