Reports with many Dynamic Parameter
Post Author: Lalit
CA Forum: Data Connectivity and SQL
Hi
I created a report with 5 dynamic parameter in CR XI. There are total 6 SQL command . First one is used for the report purpose and rest is for parameter of the report. There SQL commands are not linked to each other. Performnce of the report is very slow. Data is coming fine on the report. The Command one is returning around 50000 records.
Paramter are used in record selction to further filter the records
Please help how i can increase the performance .
Lalit
Post Author: yangster
CA Forum: Data Connectivity and SQL
eeekwhy don't you create 5 business view objects based on each of your dynamic promptsthis way you can share these parameters in other reports instead of having them all imbedded inside a single reportyou should also be able to schedule the list of values too so they will load faster
Similar Messages
-
Calling a report that have dynamic parameter from vba
i have this report that have a dynamic parameter , when i call from my application using vba it aske for server name , user id and password , even i have provided the connection string right , so if there is diffrent way to do it can you tell me , because this is killing me from over a month
i have attached the a screen shot and the code is following
thanks
Dim cn As ADODB.Connection
Dim rst As ADODB.Recordset
Dim userinfo As New RetrieveGlobals9.retrieveuserinfo
Dim strsql, sqlDataSource, pwd, userId1, constring, interCompanyID As String
Dim path, userf, userto As String
Public application As New CRAXDRT.application
Public report As New CRAXDRT.report
Private Sub CUPRPayrollReports_Initialize()
sqlDataSource = userinfo.sql_datasourcename
userId1 = userinfo.retrieve_user
pwd = "sql"
interCompanyID = "ASCTR"
End Sub
Private Sub DepartmentWisePrint_Changed()
CUPRPayrollReports_Initialize
path = "C:\Program Files\Microsoft Dynamics\GP\departmentWise.rpt"
Set cn = New ADODB.Connection
constring = "Provider=MSDASQL" & _
";Data Source=" & sqlDataSource & _
";User ID=" & userId1 & _
";Password=" & pwd & _
";Initial Catalog=" & interCompanyID
With cn
.ConnectionString = constring
.CursorLocation = adUseNone
.Open
End With
Set rst = New ADODB.Recordset
strsql = "SELECT * FROM DepWise"
rst.Open strsql, cn, adOpenDynamic, adLockOptimistic, adCmdText
Set report = application.OpenReport(path, 0)
report.Database.SetDataSource rst, 3, 1
report.EnableParameterPrompting = True
ReportViewer.CrystalActiveXReportViewer1.ReportSource = report
ReportViewer.Top = 0
ReportViewer.Left = 0
ReportViewer.Height = 500
ReportViewer.Width = 760
ReportViewer.ScrollBars = fmScrollBarsBoth
ReportViewer.CrystalActiveXReportViewer1.Top = 0
ReportViewer.CrystalActiveXReportViewer1.Left = 0
ReportViewer.CrystalActiveXReportViewer1.Height = 500
ReportViewer.CrystalActiveXReportViewer1.Width = 750
ReportViewer.CrystalActiveXReportViewer1.EnableGroupTree = False
ReportViewer.CrystalActiveXReportViewer1.EnableRefreshButton = True
ReportViewer.CrystalActiveXReportViewer1.EnableExportButton = True
ReportViewer.CrystalActiveXReportViewer1.EnablePrintButton = True
ReportViewer.CrystalActiveXReportViewer1.ViewReport
'If ReportViewer.Visible = False Then ReportViewer.Show
'If ReportViewer.Visible = False Then
ReportViewer.Show
Set rst = Nothing
Set cn = Nothing
End SubHow many tables is there in the report? And, do you have any subreports? I'd recommend gaining experience with this by creating as simple a report as possible - one table - one field, create a recordset, pass that to this report. Does it work? It should. Now we have a bit of confidence and experience, so increase the complexity. But let me know answers to the two Qs above.
Ludek -
Uploading reports that use dynamic parameter values
Post Author: singhal
CA Forum: Deployment
Hi,
I am having difficulty using Crystal Reports Server XI to deploy reports that were made in Crystal Reports XI.
When I create a report that uses a dynamic parameter listing, I get the follow error when I try to install it onto the server:
Failed to read data from report file C:\WINDOWS\Temp\myreport.rpt. Reason: Failed to read parameter object
But if I were to use a static parameter listing, the server will load up the report just fine. Can you please tell me what I am doing wrong and I need to do to fix the problem. As many details as possible would be helpful.
Thanks,
BackPost Author: TAZ
CA Forum: Deployment
Does the issue happen with the built in administrator account? I believe this is a permissions issue and the permissions need to be set in business views.
Regards,
Tim -
How to handle multiple reports with single hyperlink parameter
Please suggest in my drill down report
i have two reports linked with one hyperlink
parameter, how to handle this?
please suggest for popup window with sample solution.
for example
report A--->B--->Chosse Report c or D
based on parameter hyperlink at report B.
Thanks in advance
RajYes U R correct, that
I'm using srw.set_hyperlink in plsql format trigger
to open other reports , now the problem is
how to carry over the hyperlink parameter to popup window
and allow user to choose any reports based on the
parameter value.
for example
report A (Sales person summmary report)
|
| (choose sales person drilled to orders report B)
|
B (report has the hyperlink on order no)
|
|
C,D,E (many reports based on order no
customer,order details,pending items
to be shipped)
Now how to handle the situation from b to c,d,e
I suggest use hyperlink at B to open popup to show
reports C,D,E with the order no has parameter.
please suggest for javascript to open popup window
for reports c,d,e.
Thanks
Raj -
Converting a Crystal Report with Many Sub-Reports into CF Report Builder
I am trying to rewrite a Crystal Reports report which has 11
subreports in CF Report Builder. In the CR report, each subreport
has it's own report footer seciton. I have not been able to find
anything in CF Report Builder that allows me to do the same. Is CF
Report Builder capable of producing a report with multiple
subreports?Having successfully created a report with 5 or 6 subreports
(with each sub-report containing a multiple sub-sub reports) I can
say with confidence, "Yes you can." However the real question you
should ask is, "
Should I create a report with multiple sub-reports in CF
ReportBuilder?" And the answer to that is.... NO, WHAT ARE YOU
CRAZY!
If you have something that works in Crystal Reports I would
suggest you stick with that. Otherwise you're setting yourself up
for a lot of headaches. Now maybe it was because I started using
the report builder that came with MX7, but it seems there are still
quite of few bugs that will leave you shaking your fist at your
computer. If however you do continue and do the CF Report Builder
route, be prepared for your application to crash unexpectedly, and
for many things to not work they way you expect them to. And if you
ever need help good luck. Take the fact that you had difficulty
finding good documentation as a sign of how little Adobe supports
this product.
CF Report Builder is fine for very simple reports, but don't
get fancy with it, you'll only regret your decision in the
end. -
Start NetWeaver 7.10 with many dynamic WP fails
Hello,
we have upgraded a system to Netweaver 7.10 and are now testing the possibilities of dynamic Workprocesses, since they are very interesting to us. According to the SAP, a max. number of 600 dynamic Workprocesses is possible.
We can configure up to 240 Workprocesses (rdisp/wp_max_no=240) and start the application server without any problems.
If we configure over 240 dynamic Workprocesses (e.g. rdisp/wp_max_no=241 or more), the dispatcher fails with the following error message:
ERROR => EvtCreate: Variable Event Keys exhausted [evtux.c 612]
ERROR => DpWpEvtInit: EvtCreate (rc=1) [dpxxwp.c 447]
DP_FATAL_ERROR => DpSapEnvInit: DpWpEvtInit
DISPATCHER EMERGENCY SHUTDOWN ***
increase tracelevel of WPs
No matter which trace we turn on, there is no more information than this.
Has anyone experienced this type of problem before? What could be the problem?
I cannot find any information about this error message.
Here is a summary of the dev_disp Tracefile:
Wed Mar 25 09:33:53 2009
kernel runs with dp version 98(ext=114) (@(#) DPLIB-INT-VERSION-098)
length of sys_adm_ext is 376 bytes
SWITCH TRC-HIDE on ***
***LOG Q00=> DpSapEnvInit, DPStart (37 786492) [dpxxdisp.c 1228]
shared lib "dw_xml.so" version 139 successfully loaded
shared lib "dw_xtc.so" version 139 successfully loaded
shared lib "dw_stl.so" version 139 successfully loaded
shared lib "dw_gui.so" version 139 successfully loaded
shared lib "dw_mdm.so" version 139 successfully loaded
shared lib "dw_rndrt.so" version 139 successfully loaded
shared lib "dw_abp.so" version 139 successfully loaded
shared lib "dw_sym.so" version 139 successfully loaded
rdisp/softcancel_sequence : -> 0,5,-1
rdisp/dynamic_wp_check : 1
MtxInit: 30000 0 0
DpSysAdmExtInit: ABAP is active
DpSysAdmExtInit: VMC (JAVA VM in WP) is active
DpIPCInit2: write dp-profile-values into sys_adm_ext
DpIPCInit2: start server >va25m0_TBX_37 <
DpShMCreate: sizeof(wp_adm) 350416 (1448)
DpShMCreate: sizeof(tm_adm) 64665856 (25856)
DpShMCreate: sizeof(wp_ca_adm) 56000 (56)
DpShMCreate: sizeof(appc_ca_adm) 123200 (56)
DpCommTableSize: max/headSize/ftSize/tableSize=2000/16/2304048/2304064
DpShMCreate: sizeof(comm_adm) 2304064 (1136)
DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=512/48/65584/90400/156032
DpShMCreate: sizeof(slock_adm) 156032 (104)
DpFileTableSize: max/headSize/ftSize/tableSize=40200/16/3859248/3859264
DpShMCreate: sizeof(file_adm) 3859264 (80)
DpShMCreate: sizeof(vmc_adm) 374672 (1864)
DpShMCreate: sizeof(wall_adm) (320048/432336/64/104)
DpShMCreate: sizeof(gw_adm) 48
DpShMCreate: sizeof(j2ee_adm) 2016
DpShMCreate: SHM_DP_ADM_KEY (addr: 700000020002000, size: 72653616)
DpShMCreate: allocated sys_adm at 700000020002010
DpShMCreate: allocated wp_adm_list at 700000020003ed0
DpShMCreate: allocated wp_adm at 7000000200040c0
DpShMCreate: allocated tm_adm_list at 7000000200599a0
DpShMCreate: allocated tm_adm at 7000000200599f0
DpShMCreate: allocated wp_ca_adm at 700000023e05300
DpShMCreate: allocated appc_ca_adm at 700000023e12dd0
DpShMCreate: allocated comm_adm at 700000023e30f20
DpShMCreate: allocated slock_adm at 700000024063770
DpShMCreate: allocated file_adm at 700000024089900
DpShMCreate: allocated vmc_adm_list at 700000024437c50
DpShMCreate: allocated vmc_adm at 700000024437d00
DpShMCreate: allocated gw_adm at 7000000244934a0
DpShMCreate: allocated j2ee_adm at 7000000244934e0
DpShMCreate: allocated ca_info at 700000024493cd0
DpShMCreate: allocated wall_adm at 700000024493cf0
DpCommAttachTable: attached comm table (header=700000023e30f20/ft=700000023e30f30)
DpSysAdmIntInit: initialize sys_adm
MBUF state OFF
DpCommInitTable: init table for 2000 entries
DpFileInitTable: init table for 40200 entries
DpSesCreateTable: created session table at 700000060000000 (len=1324896)
DpRqQInit: keep protect_queue / slots_per_queue 0 / 2001 in sys_adm
DpParseQueueSizeCheck: invalid input 1 (0)
DpParseQueueSizeCheck: error parsing >1<
ERROR => EvtCreate: Variable Event Keys exhausted [evtux.c 612]
ERROR => DpWpEvtInit: EvtCreate (rc=1) [dpxxwp.c 447]
DP_FATAL_ERROR => DpSapEnvInit: DpWpEvtInit
DISPATCHER EMERGENCY SHUTDOWN ***
increase tracelevel of WPs
NiWait: sleep (5000ms) ...
NiISelect: timeout 5000ms
NiISelect: maximum fd=1
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Wed Mar 25 09:34:08 2009
NiISelect: TIMEOUT occured (5000ms)
DpHalt: shutdown server >va25m0_TBX_37 < (normal)
DpJ2eeDisableRestart
DpHalt: switch off Shared memory profiling
ShmProtect( 57, 3 )
ShmProtect(SHM_PROFILE, SHM_PROT_RW
ShmProtect( 57, 1 )
ShmProtect(SHM_PROFILE, SHM_PROT_RD
DpWakeUpWps: wake up all wp's
ERROR => EvtSet: Ill. Event Handle = 0 [evtux.c 1238]
ERROR => DpWakeUpWps: EvtSet (rc=2) [dpxxwp.c 1670]
ERROR => EvtSet: Ill. Event Handle = 0 [evtux.c 1238]
ERROR => DpWakeUpWps: EvtSet (rc=2) [dpxxwp.c 1670]
DpHalt: stop work processes
DpHalt: terminate gui connections
DpHalt: wait for end of work processes
DpHalt: not attached to the message server
DpHalt: cleanup EM
SHM2_EsCleanup: ====================
EmCleanup() -> 0
Es2Cleanup: Cleanup ES2
SemKeyPermission( 65 ) = 0740 (octal)
ShmCreate( 76, 0, 2, 0x11063e460 )
ShmKeyPermission( 76 ) = 0740 (octal)
ERROR => EvtClose: Invalid Event Handle [evtux.c 910]
ERROR => EvtClose: Invalid Event Handle [evtux.c 910]
DpHalt: cleanup event management
DpHalt: cleanup shared memory/semaphores
SemKeyPermission( 1 ) = 0740 (octal)
SemKeyPermission( 6 ) = 0740 (octal)
SemKeyPermission( 7 ) = 0740 (octal)
SemKeyPermission( 8 ) = 0740 (octal)
SemKeyPermission( 69 ) = 0740 (octal)
SemKeyPermission( 70 ) = 0740 (octal)
DpHalt: MiCleanup
ShmCleanup( 62 )
ShmCreate( 62, 0, 2, 0xfffffffffffece0 )
ShmKeyPermission( 62 ) = 0740 (octal)
ERROR => ShmCleanup(62) failed 3 [mpixx.c 3943]
MpiCleanup() -> MPI_ERROR: General error
DpHalt: removing Semaphore-Management
DpHalt: removing request queue
ShmCleanup( 31 )
ShmCreate( 31, 0, 2, 0xfffffffffffecf0 )
ShmCleanup( 10 )
ShmCreate( 10, 0, 2, 0xfffffffffffed70 )
ShmProtect( 10, 3 )
ShmCreate( 10, 0, 2, -> 0x700000000000000 )
DpHalt: closing connect handles (dgm + tcp)
***LOG Q05=> DpHalt, DpHalt ( 786492) [dpxxdisp.c 11179]
DpHalt: *** shutdown completed - server stopped ***
DpHalt: Good Bye .....
Thanks a lot,
Silke BrandtHi André,
how many WP will really use is not sure yet. Right now we are just testing the usage of those dynamic WP, since our main system is not upgraded yet.
On our productive system we have 9 application server with about 600 Users on each server. Additionally we have quite a lot of RFC-load coming in from outside, with tendency rising.
I try to explain a bit of our "problem":
We are a bank, therefore specially days like the first day of a new quarter or a new year is tricky. On those days the nightly processing might run into the morning and the rfc load is very high. On those days it would be very helpful to be able to have more WP available.
I am sure you - as a customer of a bank - would not be very happy if you wouldn't be able to use your online banking on those days, which could happen if not enough WP are available at peak time.
In addition to that, we think about reducing the number of our application servers to not only reduce administration overhead but also to get a better spreading of load on our DB2-Members and Host-Lpars. This is only possible if we are able to configure more than 100 WP per server.
I hope this gave you a little insight.
Greetings,
Silke -
WEBI - how to save a report with a dynamic name
I would like to create a report (pdf) and save it with a specific name :
Example : « Report_Name_YEAR_MONTH.pdf »
« Report_Name_object.pdf » where object came from the report WEBI.
BO Xi propose the %SI_STARTTIME% variable on "date + time" format.
1 - Can I use an other variable in order to have a date with this format : Year + Month ?
2- Can I use an object create on the report WEBI ?Hello,
I tried to save the variant of DEMO_PROGRAM_GET with dynamic selection field (Connection Number) filled. It gets saved without any problem. Just click 'SAVE' and enter the variant name and description.
Thanks,
Venu -
Submit a PNP Report with A Radiobutton Parameter
Hi,
i have a fm to submit a PNP report, i sent selection options parameters but radiobutton parameter wasn't sent.
FUNCTION ZHR_SUBMIT_TO_ZHRSABORDROWDA.
submit ZHRSABORDROWDA
WITH wdaflag = 1
WITH pnppernr in personel
WITH PNPBUKRS in SIRKET_K
WITH PNPWERKS in PERALAN
WITH PNPBTRTL in PERALTA
WITH PNPPERSG in CALIALG
WITH PNPPERSK in CALIALT
WITH PNPABKRS in BORDROA
WITH PNPKOSTL in MASRAFY
WITH PNPTIMR4 = 'X' " pnp radiobutton
WITH P_FPPER = period
AND RETURN
ENDFUNCTION.
How can i send parameter to pnp radiobutton with submit?
Can somebody help me pls?
ThanksYes i solved my problem with that method;
DATA : SEL_TAB TYPE RSPARAMS OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
EXPORTING
CURR_REPORT = 'ZHRSABORDROWDA'
* IMPORTING
* SP =
TABLES
SELECTION_TABLE = SEL_TAB
EXCEPTIONS
NOT_FOUND = 1
NO_REPORT = 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.
LOOP AT SEL_TAB.
CASE SEL_TAB-SELNAME.
WHEN 'PNPPERNR'.
READ TABLE personel INDEX 1.
MOVE-CORRESPONDING personel to SEL_TAB.
MODIFY SEL_TAB.
ENDLOOP.
SUBMIT ZHRSABORDROWDA WITH SELECTION-TABLE SEL_TAB AND RETURN.
i hope it will help you.
Thanks. -
Crystal reports with static list parameter : blank dropdown menu
Hi,
I've created a very simple report displaying customer order (ordr and rdr1)
it has :
parameter DocKey@ used in the selection formula DocKey@=DocEntry
It also has another parameter : static list with 2 entries
- 1 : normal presentation
- 2 : proforma presentation
The user has to choose between option 1 or 2 before displaying the report
Using the report in the Crystal application is OK : i can choose between option 1 and 2 in a dropdown list
If i use the Addin Menu // preview in SAP : i can choose in the dropdown menu
If i import my report in SAP and i try to preview it : the dropdown menu is empty and i cannot select anything
Anyone has the same problem ?
I use SAp SBO 8.8 pl 00 hotfix 14
I 've the same report worrking on a sap sbo 8.8 sp 00 pl 11
thanks for your helpHi and thanks for your help
I've tried with and without default values : no changes
I've tested with the last pl (18) and it works fine : no blank dropdown menu , i can select a value for my static parameter !
Edited by: Antoine TESSIER on Jan 6, 2011 11:47 AM -
Interactive Report with many columns scroll possibility?
Hello,
i have an interactive report that has many columns. As so they cannot fit into a page and a scroll bar is used in the bottom of screen, which is not a desired effect.
What i would like to do (if it's possible) is to have a scroll bar before the pager. Up to now i have found a "fix" for this problem but after the pager and it does scroll the rendering of the report but the pagers' also. My solution is to put the following code in the Region Definition, in Header and Footer group, in Header:
<style type="text/css">
#apexir_DATA_PANEL {
clear:both;
width:1220px;
height:650px;
overflow:auto;
</style>
That was in 3.2. Is there any other option/possibility or idea now with 4.0 ?
TIAHi TIA,
I hope that following link will help you in regards to your query:
Jon Fortney implemented and blogged on it: http://jfortney.blogspot.com/
Alternatively, you can use ExtJS Grid or jQGrid functionality.
This might help, Horizontal Scrollbar required in Interactive Report
Regards,
Bhavin
Edited by: Bhavin on Nov 16, 2010 4:32 AM -
CRVS2010 Beta - Report with many tables
Hi,
I was developing my application first with a test Database with few tables. Now that I am changing to the actual database (with about 200 tables) I noticed that the ReportDocument takes a really long time to load when I tried to access the DataDefinition for the first time.
Is there one way to avoid this?? The tables are all there because I need to have the option the select the table that I wanna use in the application, but after this I just use the table chosen and the linked tables in the Report.
thanksOK where to start...
First the act of adding 200 tables, and I assume none of them are linked is the first problem you are going to have. CR is a relational database reporting tool. Not linking tables generates multiple SELECT statements.
If you only need one or two then use RAS to add the tables and then the fields, Bascially you are creating the report designer for your users. All of the user interface needs to be created by you.
There may be one option that could help but what you are doing is likely never going to be fast....
Open regedit32.exe and go to:
HKEY_CURRENT_USER\Software\SAP BusinessObjects\Suite XI 4.0\Crystal Reports Designer Component\DatabaseOptions
In there you'll find a key called - DoAutoSmartLinking
Set the value to No
What that key does is when a report is open CR tries to link all tables and all fields.
Good luck
Don -
Sum of average in report with many joins
hello all. i have read a few other threads that are similar to my situation but nothing i've found that helps my specific situation. it is probably in part to my lack of expertise but i am pretty much a newbie here so go easy on me.
in summary, i have an employee table (em), a rooms table (rm), and an organizational hierarchy table (org_hier). em and rm tables are joined on the building, floor, and room fields that are in each table. org_hier table can be linked to either em or rm.
basically i am just trying to take the average area of each room (rm.area). here may be multiple occupants in a room and i don't want rm.area to be counted more than once which is the reason for the average. i then want a sum of that average at each level of the org hierarchy by using groups and a grand total at the end. the trick is that i am only looking for rooms that house certain employees, restricted by the em.em_id. that is the only reason for the em table being included.
would you all suggest using subreports somehow or is there a SQL function that would work best? let me know if i am being too vague here. what should my joins be?
thanks in advance,
jsthanks Sharon. i think i'm getting closer to what i need.
should i use the same running total in each group or will i need to create a new running total for each grouping? should the running total evaluate on each record and reset on change of rm.rm_id? is a manual running total different?
right now i am getting the right values at the room level but it is totalling all records of the room area at the floor level, not just the one instance.
i can email a screenshot if it is helpful. thanks for your help so far! -
Why Dynamic Parameter is not working, when i create report using stored procedure ?
Post Author: Shashi Kant
CA Forum: General
Hi all
Why Dynamic Parameter is not working, when i create report XI using stored procedure ?
Only i shaw those parameters which i used in my stored procedure, the parameter which i create dynamic using stored procedure
is not shown to me when i referesh the report for viewing the results.
I have used the same procedure which i mention below but can not seen the last screen which is shown in this .
============================================================================================
1. Select View > Field Explorer2. Right-click on Parameter Fields and select New from the right-click menu.3. Enter u201CCustomer Nameu201D as the name for your parameter4. Under u201CList of Valuesu201D select u201CDynamicu201D5. Under the Value column, click where is says u201Cclick here to add itemu201D and select Customer Name from the drop-down list. The dialog shown now look like the one shown below in Figure 1. Click OK to return to your report design.
Dynamic Parameter Setup6. Next, select Report > Select Expert, select the Customer Name field and click OK.7. Using the drop-down list beside select u201CIs Equal Tou201D and using the drop-down list, select your parameter field (it should be the first field). 8. Click OK to return to your report design and see the parameter dialog.The parameter dialog will appear and show you a dynamic list of values that is updated each time your run your report. It couldnu2019t be easier! In our next tutorial, we will be looking at how to use this feature to create cascading parameter fields, where the values are filtered by the preceding selection.
Dynamic Parameters in Action
My question is that whether dynamic parameter is working with storedprocedure or not.
When i added one table and try to fetch records using dyanmic prameters. after that i am not be able to find the dynamic parameter option when i referesh my report.
One more thing when i try the static parameter for my report, the option i see when i referesh the screen.
Please reply soon , it's urgent
Regards
shashi kantHi Kishore,
I have tested the issue step by step by following you description, while the first issue works well in my local environment. Based on my research, this can be caused by the lookup expression or it indeed return Male value based on the logic. If you use the
expression below, it will indeed only return the Male record. So please try to double-check the record in the two datasets and the expression in your environment:
=lookup(first(Fields!ProgramID.Value,"DataSet1"),Fields!ProgramID.Value,Fields!Gender.Value,"DataSet2")
As to the second issue, please try to use the following expression:
=Count(Lookup(fields!ProgramID.value,fields!ProgramID.value,fields!Gender.value,"DataSet2"))
Besides, if this issue still exist, in order to trouble shoot this issue more efficiently, could you please post both the .rdl file with all the size properties to us by the following E-mail address? It is benefit for us to do further analysis.
E-mail: [email protected]
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
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. -
IMPORT from database with dynamic parameter list
Hi Gurus,
Iu2019m having problems during import from a cluster table.
I wanu2019t to do an import with a dynamic parameter list, but I cannot get it to work.
Sample code ********
DATA: BEGIN OF st_key,
report LIKE rsvar-report,
variant LIKE rsvar-variant,
END OF st_key.
DATA dirtab1 LIKE cdir OCCURS 10 WITH HEADER LINE.
DATA dirtab2 LIKE cdir OCCURS 10 WITH HEADER LINE.
st_key-report = 'ZPRG'.
st_key-variant = 'VAR1'.
IMPORT DIRECTORY INTO dirtab1 FROM DATABASE vari(vb) ID st_key.
IMPORT DIRECTORY INTO dirtab2 FROM DATABASE vari(va) ID st_key.
DATA: tmp_var(100) TYPE c.
This works - P_BWTAR is a parameter from the selection screen registred in VARI
I'm getting the content of the field in tmp_var
IMPORT p_bwtar TO tmp_var FROM DATABASE vari(va) ID st_key.
This does not work - the parameter P_BWTAR is in the dirtab2-name
I'm not getting the content
LOOP AT dirtab2.
IMPORT dirtab2-name FROM DATABASE vari(va) ID st_key.
ENDIF.
ENDLOOP.
I have tried the syntax IMPORT (dirtab2-name) ........
but this fails the syntax check.
Please - if you have any suggestions :o)
Best Regards,
VibekeDear Vibeke,
Could you please explain us how you solved the problem because you have the same issue ?
thanks a lot
KR
véronique
Maybe you are looking for
-
Maybe someone can help me with the following problem. My Nokia N70 is flat dead, it won´t switch on. It went like this.. The battery had to be charged. After it indicated that the battery was charged, I tried to switch it on. I saw two nokia logo´s b
-
Problems with cmdlets within the Exchange 2013 powershell
Hi, i've following problem: I can't access all possible powershell cmdlets within the exchange powershell. For example following cmdlet is missing: "Get-Queue". Also we have trouble with some other cmdlets: Get-Mailbox only lists one of 30 mailboxes
-
Migration SAP SolMan 7.1 MSSQL 2008 R2 Enterprise Edition to MSSQL Standard Edition
Hello, I try to migrate a SAP SolMan 7.1 on Windows MSSQL 2008 R2 ENTERPRISE EDITION to MSSQL 2008 R2 STANDARD EDITION. In the source system (MSSQL 2008 R2 ENTERPRISE EDITION) there is "table compression" and "partitioning" active. the MSSQL STANDARD
-
Ora.asm -init failed on second node root.sh
Hi All, Installing Grid Infrastructure for a 11gr2 Cluster on two nodes Oracle Linux 5 + Vsware vSphere v4, shared disk on same host machine. When run root.sh, first node was success but the second node got following error message (actually the first
-
Restrict Blank value in a custom table field.
Hi All, I have a custom table with some fields with check table search help. One of the field I want to make it value required field. For example Field u2018Cu2019 should have value (no blanks or Spaces). Field u2018Cu2019 has a check table search he