Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
Johny.Eduardo
Starting Member
3 Posts |
Posted - 2012-11-03 : 19:27:03
|
Hi Experts, After deploying the reports that developed using reporting service, the result of the view report in the internet explorer is different with the result of view report in the visual studio. here is the visual studio view report result and IE view report result screen capture that available in this link:http://scn.sap.com/thread/3261168I am using windows pro 7 and sql 2008 r2 standard edition. My SAP B1 is SAP B1 8.82 PL08. Please help how to make the view report in the IE as same as view report in the visual studio ? I appreciate your help so much. Thank you Johny27 Views |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2012-11-03 : 22:45:26
|
can you post whats the expression used for showing description?------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
|
|
Johny.Eduardo
Starting Member
3 Posts |
Posted - 2012-11-04 : 09:25:30
|
quote: Originally posted by visakh16 can you post whats the expression used for showing description?------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/
Hi Visakh,Thank you for your prompt reply.Here is the expression I am using:update #COAStructset AcctName = case levels when 1 then '' + AcctName when 2 then ' ' + AcctName when 3 then ' ' + AcctName when 4 then ' ' + AcctName when 5 then ' ' + AcctName else '????????????????????????' endHere is scn link that showing the screen capture of the expression:http://scn.sap.com/thread/3261168The complete scripts are as follows:create table #COAStruct (ID int identity(1,1),AcctCode nvarchar(20),AcctName nvarchar(200),FormatCode nvarchar(20), levels int, SortingCode nvarchar(100),FatherNum nvarchar(20) )declare @level table (ID int identity(1,1),AcctCode nvarchar(100), AcctName nvarchar(100))insert into @levelselect AcctCode,AcctNamefrom OACTwhere levels = 1declare @Count intselect @Count = count(*)from @leveldeclare @Step intset @Step = 1declare @AcctCode nvarchar(100)while @Step <= @Countbegin select @AcctCode = AcctCode from @level where ID = @Step insert into #COAStruct select AcctCode,AcctName,FormatCode,levels,'',FatherNum from oact where AcctCode = @AcctCode exec "@SING_GEN_COA_SUBPROC" @AcctCode insert into #COAStruct select AcctCode,'Total '+AcctName,FormatCode,levels,'',FatherNum from oact where AcctCode = @AcctCode set @Step = @Step + 1endupdate #COAStructset SortingCode = [DBO].[@SING_UDF_PADL] (cast(ID as nvarchar(20)),'0',10)update #COAStructset AcctName = case levels when 1 then '' + AcctName when 2 then ' ' + AcctName when 3 then ' ' + AcctName when 4 then ' ' + AcctName when 5 then ' ' + AcctName else '????????????????????????' enddeclare @CharLen intdeclare @TotalString nvarchar(30)if @Levels = 1begin set @CharLen = 10 set @TotalString = '-Total 'endelseif @Levels = 2begin set @CharLen = 12 set @TotalString = '- Total 'endelseif @Levels = 3begin set @CharLen = 17 set @TotalString = '- Total 'endelseif @Levels = 4begin set @CharLen = 22 set @TotalString = '- Total 'endelseif @Levels = 5begin set @CharLen = 27 set @TotalString = '- Total 'endPlease help me to solve this problem. Thank youRegads,Johny |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2012-11-04 : 11:25:08
|
why not do the spacing inside report using SSRS expression? you can use Spaces() function for that------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
|
|
Johny.Eduardo
Starting Member
3 Posts |
Posted - 2012-11-04 : 17:16:13
|
quote: Originally posted by visakh16 why not do the spacing inside report using SSRS expression? you can use Spaces() function for that------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/
I have used it but it is not working. The report still shows different result of view report. I have checked that the both view reports are same if I am using SQL 2008 and windows 7 ultimate.Is it bugs in the SQL 2008 R2 ?Thanks and Rgds,Johny |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2012-11-05 : 21:12:56
|
I'm aware any bugs like that. It might have to do with browser i guess. Try in lower version of IE and see------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
|
|
|
|
|
|
|