CR2008 and SAP BW - Only limited number of values for static parameter
Hello Experts,
we have the following constellation / problem:
- SAP Query BW 7.0 with variables
- a report built upon this query with Crystal Reports 2008
- now if we execute the report and try to fill in the parameters (= SAP BW variables), not all values are displayed for selection and there seems to be no possibility to further scroll down; e.g. the months 01.1993-08.2006 are displayed, but not later than 08.2006
This is really a problem for us since the users won´t be able to select e.g. the desired time range !
I read already the SAP notes 1218588 and 1211902 and I 'implemented' 1211902, but still only a few values are displayed (the same as before I changed the values for BrowseTimeout and MaxNBrowseValues). Besides that, in the solutions in the SAP notes Crystal Reports 2008 is not explicitly mentioned (so I manually created the DWORD-keys).
Many thanks for your help in advance !
Frank
See
CR2008 and SAP BW - Technical Values for variable values not displayable ?
for the answer.
Similar Messages
-
I am trying to download and purchase Captivate 7 and see that only Captivate 8 is available for purchase. Am I missing something???
Hi Jillaine
I spent a whole day trying to get my hands on Captivate 7! I finally got it at a decent price from buy.com (Rakuten.com), which is an authorized Adobe Reseller. The product was fulfilled by a third party but it is genuine and I am very happy with the purchase. Hope this helps! -
Just bought WPS Reader + and I've only gotten a "loading" window for last hour. Can anyone help or explain?
First off, KONGRACHULATIONS!!!
Next, if you can't even drive to the library, David Pogue's excellent Missing Manual books are also available for either online (Safari service, unrelated to Apple's browser) or computer (PDF) viewing. Just be sure to get the right ones for your Mac's operating system (10.5 = Leopard, 10.6 = Snow Leopard, 10.7 = Lion, exact info available in the About this Mac item on the Apple menu).
http://shop.oreilly.com/category/browse-subjects/apple-mac/mac-os-x.do -
- 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. -
Post Author: ckwizard77
CA Forum: Crystal Reports
HELP!!
I have been knocking my head against a wall trying to figure out how to pass multiple values to 1 parameter and how to add it to the parameter collection. I have code so if I pass single values for each parameter it works fine. I am passing the parmeters and values in a pipe delimited string through a url where it gets parsed and pass in here.
Any help would be greatly appreciated.
Here is the single param code:
Public Sub SetParamValues(ReportName, strParamName, ParamValue) Dim i,reportInterface, ParamName,strSubReprotName,CurrentValues Set reportInterface = reportObject.PluginInterface("") Set reportParameters = result.Item(1).PluginInterface("Report").ReportParameters For i=1 to reportParameters.Count if ReportName <>"" then strSubReprotName=reportInterface.ReportParameters.Item(i).ReportName if strSubReprotName=ReportName then ParamName = reportInterface.ReportParameters.Item(i).ParameterName if ucase(ParamName)=Ucase(strParamName) then Set CurrentValues = reportInterface.ReportParameters.Item(i).CurrentValues CurrentValues.Clear() Dim newSingleParameter Set newSingleParameter = ReportInterface.ReportParameters.Item(i).CreateSingleValue newSingleParameter.Value = ParamValue reportInterface.ReportParameters.Item(i).CurrentValues.Add newSingleParameter reportInterface.ReportParameters.Item(i).PromptOnDemandViewing=false iStore.Commit result End if End if Else ParamName = reportInterface.ReportParameters.Item(i).ParameterName Set param1 = reportInterface.ReportParameters.Item(i) if Ucase(ParamName)=UCase(strParamName) then Set CurrentValues = reportInterface.ReportParameters.Item(i).CurrentValues CurrentValues.Clear() Set newSingleParameter = ReportInterface.ReportParameters.Item(i).CreateSingleValue newSingleParameter.Value = ParamValue reportInterface.ReportParameters.Item(i).CurrentValues.Add newSingleParameter reportInterface.ReportParameters.Item(i).PromptOnDemandViewing=false iStore.Commit result End if End if NextEnd SubThat Makes sense.
thanks a lot !
Well now are at it, mind if I ask you another quick question:
If I make an option in the multiselect list called ALL which should return all the results:
as should act like this
select * from dept;
you solution was:
select * from dept
where INSTR(':'||:P1_EMPNO||':', ':'||empno ||':') > 0
Can I modify this to return all the rows ? -
CR2008 and SAP BW - Technical Values for variable values not displayable ?
Hello Experts,
we have the following constellation / problem:
- SAP Query BW 7.0 with variables
- a report built upon this query with Crystal Reports 2008
- now if we execute the report and try to fill in the parameters (= SAP BW variables), only the (SAP) description of each value is displayed
Since it is common for the business users to communicate with the key instead of the description (e.g. Project 50010001 instead of Project 'something etc something'), it is necessary for us to give them the opportunity from a list that contains the key (maybe as well as the description) instead of only the description. Is there a possibility in SAP BW or Crystal Reports 2008 to make that possible ?
I tried to do it in the infoobject, in the query, in the 'options'-section of Crystal Reports and in the properties of the parameter field itself, but to no avail.
Many thanks for your help in advance !
FrankHello Experts,
I facing a problem.
I have a crystal report based on a BW Query. It has one parameter called Country.
Eg:
Until now, in BW query country variable has the following values.
USA
JAPAN
GERMANY
Now, from this fiscal year we have the following values for country variable
USA
JAPAN
INDIA
GERMANY
UK
I am trying to edit the list of values for the country variable in crystal reports. It is not getting reflected in SAP BW. I also tried refreshing it several times.
Can any one Please help.!!
Regards
NMU -
I have had a ipod touch for a few years( 4th generation) and now withing 10 minutes of use it heats up very warm and only holds it's charge for about a hour if im lucky any help?
The Basic Troubleshooting Steps are:
Restart... Reset... Restore from Backup... Restore as New...
Restart / Reset
http://support.apple.com/kb/ht1430
Backing up, Updating and Restoring
http://support.apple.com/kb/HT1414
If you try all these steps and you still have issues... Then a Visit to an Apple Store or AASP (Authorized Apple Service Provider) is the Next Step...
Be sure to make an appointment first... -
Why cannot I use hidden or display only item to store value for insert?
hi, Gurus:
I have a question:
I implemented a form with report region in a page, the update works OK, but the add function has a problem:
There is a column, offender_ID, which is a foreign key for another table, it should not be null during insert. However, even I pass the offender ID from master page when user click the create button, and it did shows in the form, it must be a text filed to insert successfully, why cannot I use hidden or display only item to store this value for insert? (If I use hidden or display only item, insert won't be successful, apex reports I tried to insert a null value to offender_ID column.)
Many Thanks in advance.
SamHi,
There is a column, offender_ID, which is a foreign key for another table, it should not be null during insert. However, even I pass the offender ID from master page when user click the create button, and it did shows in the form, it must be a text filed to insert successfully, why cannot I use hidden or display only item to store this value for insert? (If I use hidden or display only item, insert won't be successful, apex reports I tried to insert a null value to offender_ID column.)I think both hidden and display items have attributes that can cause problems because of different ways these items function than non-hidden and non-display-only items function. Display Only items have a "Setting" of "Save Session State" Yes/No? That can be a problem.
Would you do this? Make these items regular items instead and see if you can get those working. Then, we will try to change the fields back to hidden or display only.
Howard
Congratulations. Glad you found the solution.
Edited by: Howard (... in Training) on Apr 11, 2013 10:26 AM -
My iPhone doesn't tell me Who is calling several times and only gives me the number. What can I do to see the owners names?
if you have verizon as your provider
Dial *228 from your iPhone.
When prompted, select option 1.
When complete, you will hear a confirmation message.
Force the Contacts, Messages, and Phone applications to close using the following steps:
Ensure that you have recently opened the Contacts, Messages, and Phone applications.
From the Home screen, double-click the Home button to display the recently used apps.
Tap and hold the icon for the Contacts application until a red minus appears.
Tap the red minus to close the app.
Repeat the previous step for the Messages and Phone applications.
Tap the Home screen to return.
Turn iPhone off and then back on -
When I try to access certain listings on eBay I get the following message:
"Unfortunately, access to this particular listing or item has been blocked due to a Paris commercial court decision that bans trade of certain authentic perfumes and cosmetic products on eBay because of French selective distribution laws. eBay is appealing this ruling but is nevertheless required to enforce it. We are blocking your viewing in an effort to comply with this court decision. Regrettably, in some cases, we may prevent users from accessing items that are not within the scope of the decision because of limitations on existing technology."
eBay support told me it is because they think I am in France or because I am using a French ISP. I am in London and am using the British ISP, Bethere. What can I do to convince them that I am in England?
The URL quoted is just an example. It happens frequently with other listings.This is what I get:
ISP: Be Un Limited
Organization: Be Un Limited
Connection: Broadband
Services: None Detected
City: Horsham
Region: West Sussex
Country: United Kingdom
It can't be a problem with my ISP or my IP address since it only happens with Firefox. When I try out the same listings with other browsers it doesn't happen. eBay said Firefox must be making it seem as though I am in France. Goodness knows how or why?? -
Limitted number of members for Entity
Hi all,
I am creating my application, but my client has more than 11.000 members for the Entity dimension. Is there any limitation in the amount of members that I can create for Entity? Do you think It will affect in the efficency of my apllication?
Thank you.
EduHi,
There is no virtual limit in terms of number of members in a dimension. But having this many entities creates practical difficulties I think. Managing the workflow could be extremely difficult. Aggregation times might be horrendously long if parent levels are stored. If you have parent levels dynamic, report retrieval gets affected.
You can however get over the difficulties by optimising dimensions and keeping the block size very low (about 10 kb). It'd be wise to keep number of dimensions also limited. Additionally infrastructure to support such big application must be carefully designed. In short, yes, it is possible to have this many entities but extra care is required.
Cheers,
Alp -
I need to show grouped id and only the max order value for each unique id
select distinct
Table1.id,
Table1.id +' - '+ Table1.VisitNumber +' : '+ Table1.Priority as UidVisitKey,
Table1.VisitNumber,
DATEDIFF(d, [dob],[Visite_dte])/365.25 as Age_On_Visit,
Table1.Priority,
Table1.OrderOfVisit,
Table1.OrderOfVisit + ' - ' + Table1.Notes AS VisitNote,
Table1.Visitor_FName,
Table1.Visitor_SName,
Table2.dob,
Table2.sex,
Table1.Visit_dte,
into #Temp1
FROM Table1 INNER JOIN
Table2 ON Table1.id = Table2.id
WHERE Table1.LeaveDate IS NOT NULL
and Table1.LeaveDate between DATEADD(mm,-1,DATEADD(mm,DATEDIFF(mm,0,GETDATE()),0))
and DATEADD(ms,-3,DATEADD(mm,0,DATEADD(mm,DATEDIFF(mm,0,GETDATE()),0)))
select #Temp1.id, max(#Temp1.[OrderOfVisit]), #Temp1.VisitNote
from #Temp1
group by #Temp1.id, #Temp1.OrderOfVisit, #Temp1.[VisitNote]
ORDER BY #Temp1.id
drop table #Temp1
---I need to show grouped id and only the max OrderOfVisit for each unique id, and the VisitNote for each OrderOfVisit
----------------need help-------------Sounds like this
select distinct
Table1.id,
Table1.id +' - '+ Table1.VisitNumber +' : '+ Table1.Priority as UidVisitKey,
Table1.VisitNumber,
DATEDIFF(d, [dob],[Visite_dte])/365.25 as Age_On_Visit,
Table1.Priority,
Table1.OrderOfVisit,
Table1.OrderOfVisit + ' - ' + Table1.Notes AS VisitNote,
Table1.Visitor_FName,
Table1.Visitor_SName,
Table2.dob,
Table2.sex,
Table1.Visit_dte,
into #Temp1
FROM Table1 INNER JOIN
Table2 ON Table1.id = Table2.id
WHERE Table1.LeaveDate IS NOT NULL
and Table1.LeaveDate between DATEADD(mm,-1,DATEADD(mm,DATEDIFF(mm,0,GETDATE()),0))
and DATEADD(ms,-3,DATEADD(mm,0,DATEADD(mm,DATEDIFF(mm,0,GETDATE()),0)))
select id,OrderOfVisit,VisitNote
from
select #Temp1.id, #Temp1.[OrderOfVisit], #Temp1.VisitNote,ROW_NUMBER() OVER (PARTITION BY #Temp1.id ORDER BY #Temp1.[OrderOfVisit] DESC) AS Seq
from #Temp1
)t
WHERE Seq = 1
ORDER BY id
drop table #Temp1
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Reminders are not appearing in Mail - and its the only way to set labels for flags.
Every place I look for information about how to set the labels for flags in Mountain Lion Mail shows that they're editable once you click "show" next to "REMINDERS" in the sidebar. However, my sidebar has no "REMINDERS" heading, and there seems to be no preference or option anywhere related to this. I upgraded from Snow Leopard today; I had reminders showing (as "To Do's"). I really really want to change the labels on the flags because they're useless otherwise.
Am I the only one with this problem?Flags and reminders are no longer coupled in Mountain Lion. So I'll try to explain how to see your flagged messages.
You can see a sidebar in Mail that looks like this. Yours may not display the "Flagged" row yet. I'll explain that in a minute, If you don't see this sidebar, make it visible by clicking that arrow on top that would say "Show" if the sidebar were invisible (it says "Hide" here):
You can flag a message by clicking the "Flag Selected Message" in your favorites bar, which should appear just above the screenshot. Once you have at least one flagged message, the "Flagged" row shown above will appear.
I hope this helps. -
Viewing only x number of digits for double or float
I was wondering if I had a float or a double, and lets say I didn't want to see all those decimal places, is there a way for me to limit the number of decimal places that is outputted to like 3 or 4 instead of 10? Thanks for the help.
oh...
you probably wanted to know how to, lol
go to:
http://forum.java.sun.com/thread.jsp?forum=31&thread=313399
cheers. -
I've made custom User and UserStore classes.
Now I'm trying to register or login with a user, but I get the error
'Incorrect number of arguments supplied for call to method Boolean Equals(System.String, System.String, System.StringComparison)'
The error is on line 411:
Line 409: }
Line 410: var user = new User() { UserName = model.Email, Email = model.Email };
--> Line 411: IdentityResult result = await UserManager.CreateAsync(user);
Line 412: if (result.Succeeded)
Line 413: {
The problem is that I can't really debug UserManager's methods, because it is in a closed DLL.
I get this same error on
UserManager.FindAsync(user), UserManager.CreateAsync(user,password), UserManager.Create(User user)
Now the error doesn't occur when I log in with an External Login, like Google, which also uses methods from UserManager. Entering the email works
as well, but when the user has to be created from an External Login with the inserted email, it gives the CreateAsync error
too.
How can I fix this? Do I need to create my own UserManager? Or do I need another solution entirely?
Packages (relevant):
package id="Microsoft.AspNet.Mvc" version="5.1.2"
id="Microsoft.Owin" version="2.1.0"
id="Microsoft.AspNet.Identity.Core" version="2.0.1"
UserStore.cs
public class UserStore :
IUserStore<User, int>,
IUserPasswordStore<User, int>,
IUserSecurityStampStore<User, int>,
IUserEmailStore<User, int>,
IUserLoginStore<User, int>
private readonly NFCMSDbContext _db;
public UserStore(NFCMSDbContext db)
_db = db;
public UserStore()
_db = new NFCMSDbContext();
#region IUserStore
public Task CreateAsync(User user)
if (user == null)
throw new ArgumentNullException("user");
_db.Users.Add(user);
_db.Configuration.ValidateOnSaveEnabled = false;
return _db.SaveChangesAsync();
public Task DeleteAsync(User user)
if (user == null)
throw new ArgumentNullException("user");
_db.Users.Remove(user);
_db.Configuration.ValidateOnSaveEnabled = false;
return _db.SaveChangesAsync();
public Task<User> FindByIdAsync(int userId = 0)
int userid;
if (userId == 0)
throw new ArgumentNullException("userId");
return _db.Users.Where(u => u.UserId == userId).FirstOrDefaultAsync();
User.cs
public class User : IUser<int>
public User()
UserLogins = new List<UserLogin>();
public int UserId { get; set; }
public string UserName { get; set; }
public string PasswordHash { get; set; }
public string SecurityStamp { get; set; }
public string Email {get; set; }
public bool IsEmailConfirmed { get; set; }
int IUser<int>.Id
get { return UserId; }
public ICollection<UserLogin> UserLogins { get; private set; }
public async Task<ClaimsIdentity> GenerateUserIdentityAsync(UserManager<User, int> manager)
// Note the authenticationType must match the one defined in CookieAuthenticationOptions.AuthenticationType
var userIdentity = await manager.CreateIdentityAsync(this, DefaultAuthenticationTypes.ApplicationCookie);
// Add custom user claims here
return userIdentity;
Startup.Auth.cs
public partial class Startup
// For more information on configuring authentication, please visit http://go.microsoft.com/fwlink/?LinkId=301864
public void ConfigureAuth(IAppBuilder app)
// Configure the db context and user manager to use a single instance per request
app.CreatePerOwinContext(NFCMSDbContext.Create);
app.CreatePerOwinContext<ApplicationUserManager>(ApplicationUserManager.Create);
// Enable the application to use a cookie to store information for the signed in user
// and to use a cookie to temporarily store information about a user logging in with a third party login provider
// Configure the sign in cookie
app.UseCookieAuthentication(new CookieAuthenticationOptions
AuthenticationType = DefaultAuthenticationTypes.ApplicationCookie,
LoginPath = new PathString("/Account/Login"),
Provider = new CookieAuthenticationProvider
OnValidateIdentity = SecurityStampValidator.OnValidateIdentity<ApplicationUserManager, User, int>(
validateInterval: TimeSpan.FromMinutes(20),
regenerateIdentityCallback: (manager, user) => user.GenerateUserIdentityAsync(manager),
getUserIdCallback: (id) => (Int32.Parse(id.GetUserId())))
// Use a cookie to temporarily store information about a user logging in with a third party login provider
app.UseExternalSignInCookie(DefaultAuthenticationTypes.ExternalCookie); (...)
Any help or ideas are greatly appreciated!
Kind regards,
NilsHi,
According to your description, I am afraid your problem is out of support in C# forum. For ASP.NET question, please go to
ASP.NET Forum to post your thread.
Best Wishes!
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. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and
makes it easier for other visitors to find the resolution later.
Maybe you are looking for
-
Hi, I just downgraded to XP Pro (dual boot with Windows 7) my N200 0769, erasing recovery partition with Vista and re-partitioning HD. All is working perfectly, but there is the Lenovo recovery screen when I boot the laptop. Obviously I can't recover
-
Email sound/vibrate problem
Ever since upgrading to 2.01, I've noticed that when an email is detected, the phone only vibrates and fails to sound the usual tone, though in settings tone is on, as is vibrate. Anyone have any fixes, please?
-
Print playlist looks okay, print result worthless
When exporting the playlist to PDF everything looks fine. But when looking at the final print result, all images are there but not a single letter .... v 11.0.3 windows 7 - 64 bit
-
Itunes 64bit installer wont start on my Windows vista/7 64 bit computers. You double click and nothing happens. You right click and run as administrator nothing happens. I've tried formatting the machines and re downloading it from apple.com and stil
-
Facebook does not open after ios upgrade yesterday 3/12/14
Upgrades ios 3/12/14 and now Facebook does not open.