Getting wrong values for decimal value in Bex report
Hi,
I am getting some problem in Bexreport decimal values.
In ODS i am able to look the values for this key figure
(Total PO Release Val)= 140.692,00,the same value in Bex report looks like this $ 140,692.00.
Here one calculation is going with these above values
% Used = 'Total PO Release Val' / 'Target Value' * 100
as per ODS value calculation it is correct = 140.692/1000 * 100 =14.692
as per Bex it is coming like this = 140,692.00/1000 *100 = 142.692.
in Bex report Percentage valus is not considering value is taking as 140,692.00 rather than 140.692.I mean to say decemal values are ignoring while calculation in Bexreport.can you any please advice me how to comeout of this problem.Appreciate your help.
Regards
Ramesh
<i> "(Total PO Release Val)= 140.692,00,the same value in Bex report looks like this $ 140,692.00."
</i>
How do you check the ODS value? The amount will only have two decimal places after it, so you can't have a value like 140.692,00. It seems to be an issue of user's decimal notation (where decimal is represented by comma, and thousand seperator by '.'). Go to user profile, change this setting (in default tab) to correct one (ie decimal being represented by '.') and login again and check it. The value that you see in ODS is 'one hundred forty thousand six hundred ninety two, the same that you get in Bex, only the representation is different).
Similar Messages
-
How to get the leading zeros for decimal values?
Hi,
How i wil get the leading zeros for decimal values.For CONVERSION_EXIT_ALPHA_INPUT it is not working.Now iam using overlay condition for getting leading zeros.But iam getting the value like 00013.500.But as per my requirement i want to display this value 0000013.5.
my code is
overlay w_MetLife_detail-rdempsalary with '000000000'
data :rdempsalary type char9
Please help me on this.
Regards,
SujanHi
For more info,
The function of the statement UNPACK is based on the fact, that the BCD display of a decimal place corresponds to the second half-byte of code of a digit in the most character representations. This conversion is commonly called "unpacking".
The statement PACK to pack is obsolete and can be replaced by MOVE.
If destination is specified as untyped field symbol or as untyped formal parameter and is not flat and not character-type during execution of the statement, then an untreatable exception occurs in Unicode programs. In non-Unicode programs, an exception occurs only with deep types, whereas flat types are treated as character-type types.
Example
After the assignments,char1 and char2 contain the values "123.456" and "0000123456".
DATA: pack TYPE p LENGTH 8 DECIMALS 3 VALUE '123.456',
char1 TYPE c LENGTH 10,
char2 TYPE c LENGTH 10.
MOVE pack TO char1.
UNPACK pack TO char2.
Regards -
Leading Zeros for Decimal values
Hi,
In my requirement i need to add leading zeros for Decimal values.
For Example.
If the value is = 0.00 then my Target value should be = 000000000000.00
Regards,
Anil.Hi Anil,
You have to use conversion exit ,
Kindly go through this link below:
Re: Conversion exit: numbers in database, two decimals on screen
Hope it helps
Regards
Mansi -
Wrong type for decimal on PpostgreSQL
I am faced with fixing a bug which says that
[i]The torque-generated sql scripts contain a wrong type for decimal on PostgreSQLwhere we get DECIMAL instead of DECIMAL(16,4), which is equivalent to INTEGER.
It is working fine for other database like oracle, db2 etc.
There seems to be the problem in torque-gen-3.1 jar because it
works fine if we use torque-gen-3.2.
torque-gen-3.1 doesent seem to deal with size attribute for postgresSQL.
I am trying this for the past 3 days but still havent managed to get any solution.
Pls help,Thanks in advance.
Regards,
jaayit works fine if we use torque-gen-3.2That looks like a solution to me. What's your problem
with it?Actually my Boss is not agreeing.He says we have to make changes
only in torque-gen-3.1 only , not to use torque-gen-3.2 -
How to set a new value for formula field in crystal reports xi?
<p>How to set a new value for formula field in crystal reports xi?</p><p>//formula</p><p>{@description}</p><p> </p><p>exemplo in VB6</p><p>crxSubreport.FormulaFields.Item(1).Text = "'Subreport Formula'" or</p><p>crxSubreport.FormulaFields.Item("description").Text = "'Subreport Formula'"</p><p>How to in JRC?</p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p>
Hi,
This functionality is known to be very important and is a key part of the next major release of the JRC planned for the first half of 2008.
Regards,
<p>Blair Wheadon</p>
<p>Product Manager, Crystal Reports</p> -
BW Macros for Advanced Formatting of BEX Reports
Hi BW Gurus,
Would like to bring to ur attention for a small solution which i have proposed for SAP Tech Ed. As a BW consultant, you would have come across a situation where you had to decide a reporting tool that was flexible, reliable, user friendly, less expensive and that can be used with less training but still have all the features of Excel.
Topic : BW Macros for Advanced Formatting of BEX Reports
Abstract : The workshop will help you to provide advanced formatting with Bex Reports. You will also learn how to add and retain Formats in Bex reports with BW Macros. Advanced formatting includes retaining of formats with excel shawdow boxes, automatic print settings, comments, hiding rows or columns, adding calculations, changing color, maintaining report titles. etc. The solution will help the business users/ power users to maintain different formats of a report without going for any 3rd party tools like Crystal or Business objects. As most of the business users are familiar with Excel, it would be easy for them to maintain or change the reports rather depending on IT for each change.
For additional details please have a look at this
http://www.netsaptech.com/sdn/BWMacrosforFormatting.pdf
If you feel that this presentation is going to help you dont forget to vote the presentation at sdn.sap.com for SAPTech Ed 2006 - Las Vegas.
For details on how to vote click the below link.
http://www.netsaptech.com/sdn/sdn.htm
Bio of the Author.
http://www.netsaptech.com/resume/MMDinesh_Org.doc
Regards,
Dinesh MukunduHI ,
Can you please send me the link where I can see the material for formatting of BEX reports...
I tried opening the link which u had sent i your post but it is not opening....
thanks,
Nip -
Getting VFS manager for client J2E_iom_D failed: Activity report (get open
Getting VFS manager for client J2E_iom_D failed: Activity report (get open activities for current repository and user) failed: Internal Server Error
I cannot sync with dtr and moreover the tracks which i deleted still shows up in DTR folder and i am not bale to delete it.
Please help....
GeorgeNetWeaver Sneak ... SP 16: table PVC_ACTVERSVIEW missing i got answer from this.
Had to redeploy sda and it solved all probs .it was the prob with WAS... -
Getting VFS manager for client EED_diarough_D failed: Activity report (get
Hi,
I'm using NW 2004s SP9. While trying to check in the activities in NWDI from NWDS I'm geting the following error messege:
" Getting VFS manager for client EED_diarough_D failed: Activity report (get open activities for current repository and user) failed: Internal Server Error"
Can you please help to resolve this issue.
Regards,
SubhayuNetWeaver Sneak ... SP 16: table PVC_ACTVERSVIEW missing i got answer from this.
Had to redeploy sda and it solved all probs .it was the prob with WAS... -
Condition value of Tax gets wrongly added to Total value of Contract
Hi All,
I'm currently investigating an issue where there are 2 line items in an SAP Sales Contract. There is a human error in the second line where the billing end date is less than billing start date in the billing plan. Consequently, the second line has null Outgoing target value.
However, the header Total value in the Contract gets wrongly calculated as Basic condition value of 1st line + Condition value of tax condition type of line one due to this. When I modify the billing end date for the second line item to be a date greater than the billing start date, the above problem disappears and the total value of the contract does not include the tax component.
For eg.
Normal Error free Contract
Total Value at Header = 700.00 EUR
Material Outgoing Target val
Item 0010 MAT1 450.00 ( 450 + 50 (tax ) )
Item 0020 MAT2 150.00
Contract with billing plan error in second line
Total value at Header = 550.00 EUR
MAterial Outgoing target val
Item 0010 MAT1 450.00 ( 450 + 50 (tax ) )
Item 0020 MAT2 0.00
Any inputs would be most welcome.
Regards,
Venkatesh.Got the solution by making the condition type as manual.
Thanks.
Dhruba -
Custom thousand separator for decimal values.
Hello esperts,
I have a a WD app with a decimal context attribute, I have already a Simple Type that formats the decimal so the thousand separator is a coma (,) and the decimal separator is the dot (.)
I want to know if it is possible to change the thousand separator to dot and the decimal separator to comma without changing the user's language. Or even use whatever character I want to be the thousand separator e.g. @ | ¬ whithout changing the data type (decimal).
Thanx in advance.
JVHi Siarhei,
I dont want to use calculated fields, nor strings because I need the values of the decimal attribute. I will be desplaying these decimal values through a table and sorting functionality is a must. So as you should know, if I have 1, 2, 3, 20 and 100 and convert them to string, on sort it will be incorrect because of string sorting ( 1, 100, 2, 20 and 3).
Basically my requirement is to be able to change the decimal presentation without changing the user's locale or language. I don't know if that's possible.
Say, I select an option on my application that says "comma separated thousands", the decimal values will be presented this way ###,###,###,###.00 or when the user selects the option "dot separated thousands", the decimal values will be presented like this ###.###.###.###,00. I already tried to format the last reprersentation but I get java.lang.IllegalArgumentException: Malformed pattern. I have already checked the DecimalFormat API, so I know the pattern is incorrect, still I'm looking if by chance I'm forgeting something else to do in order the application to work as I spect.
Thanks!
JV -
Query - select values for variables form list / Bex 7
Hello together,
when I open a query in the 'Business Explorer Analyzer 7' and I want to select the values for my variables from list, BW shows always the values from history.
Is it possible to change this? I want to see always the single values.
Thanks and best regards.
JörgHello Jörg
The variable values in history are shown in drill down button of variable input box, whereas a button beside it will show a list of values when clicked. These are F4 value help selections.
How is variable created? Please create variable with basic settings as
'single value'.
Regards,
Asit Ramteke -
I am making my own database table.which data type shuld I use to display decimal values.I used FLTP but its display is not very clear.
My values are like1234.56
Thanksassign decimal place while creating domine.
as per ur req.....
if it is usefulll.Plz Reward
Regards
Anbu -
Hi,
I am having a problem.. the decimal values that I have on flat file is not upload to a table properly
Table
==============================
SQL> desc intfc_splitfactor
Name Null? Type
UDC_DIVISION VARCHAR2(50)
DMDUNIT VARCHAR2(30)
ITEM VARCHAR2(30)
LOC VARCHAR2(10)
EFFDATE DATE
QTY NUMBER(20,5)
SPLIT_FACTOR NUMBER(20,5)
Control File
================
LOAD DATA
INTO TABLE scpodintfc.intfc_splitfactor
APPEND
TRAILING NULLCOLS
UDC_DIVISION CHAR TERMINATED BY ",",
DMDUNIT CHAR TERMINATED BY ",",
ITEM CHAR TERMINATED BY ",",
LOC CHAR TERMINATED BY ",",
EFFDATE DATE 'MM/DD/YYYY' TERMINATED BY ",",
QTY DECIMAL EXTERNAL TERMINATED BY ",",
SPLIT_FACTOR DECIMAL EXTERNAL
datafile
===============
2,1103,110308PM,LO,07/02/2006,1026,0.25
2,1103,110308PM,LO,07/30/2006,2916,0.5
2,1103,110308PM,LO,08/27/2006,8007,0.4
2,1103,110308PM,LO,10/01/2006,3750,0.297
2,1103,110308PM,LO,10/29/2006,873,0
2,1103,110308PM,LO,11/26/2006,349,0
2,1103,110308PM,LO,12/31/2006,482,0.5
2,1103,110308PM,LO,01/28/2007,539,0.4
2,1103,110308PM,LO,02/25/2007,3906,0.5
2,1103,110308PM,LO,04/01/2007,12148,0.4
2,1103,110308PM,LO,04/29/2007,7574,0.4
2,1103,110308PM,LO,05/27/2007,4536,0
2,1103,110308PM,LO,07/01/2007,1763,0
2,1114,11148PM,LO,07/02/2006,632,0
===================================
after inserting
===================================
select SPLIT_FACTOR from intfc_splitfactor
.00
.00
.00
.00
.00
.00
.00
.00
.00
.00
.00
.00
.00
.00
.00
.00
.00
.00
.00
.00
.00
.00
Can any one help to resolve this issue!!
Thanks
IndraneelYou could restructure you control file to:
LOAD DATA
INTO TABLE scpodintfc.intfc_splitfactor
APPEND
fields termianted by ","
TRAILING NULLCOLS
UDC_DIVISION CHAR,
DMDUNIT CHAR,
ITEM CHAR,
LOC CHAR,
EFFDATE DATE 'MM/DD/YYYY',
QTY DECIMAL EXTERNAL,
SPLIT_FACTOR DECIMAL EXTERNAL
) -
Sql server max function for decimal value
dear team
i have column which contains decimal value eg,
QuestionMasterId Studentid Score
19 1 9.01,
19 2 9.02,
19 3 9.35,
19 4 8.04,
i have to display the max score - that student score but when i am using the following query it is returning the int value
DECLARE @MAX decimal
SELECT @MAX=max(Score) from [QuestionPaperwiseScore] where QuestionMasterId=19
print @MAX
select Studentid,Score,@MAX-Score as diff from [QuestionPaperwiseScore] where QuestionMasterId=19
kindly helpTake a look at
BOL again. The default scale is 0. Thus it behaves like an INT.
DECLARE @Sample TABLE
QuestionMasterId INT ,
Studentid INT ,
Score DECIMAL(3, 2)
INSERT INTO @Sample
VALUES ( 19, 1, 9.01 ),
( 19, 2, 9.02 ),
( 19, 3, 9.35 ),
( 19, 4, 8.04 );
DECLARE @MAX DECIMAL(3,2);
SELECT @MAX = MAX(Score)
FROM @Sample
WHERE QuestionMasterId = 19
SELECT @MAX;
SELECT Studentid ,
Score ,
@MAX - Score AS diff
FROM @Sample
WHERE QuestionMasterId = 19 -
Convert Voltage values to Decimal values.
I need to convert voltage values/range to decimal values/range.
Example: I read voltage (range 0 to 1.0volts) form DAC and covert it corresponding decimal value (decimal value range is 0 to 16000).
0 decimal = 0 volts
16000 decimal = 1.0volts.
Thanks for the help.I'm not sure how you'd get a value of 16000 out of the 2620 as that is only a 12-bit DAC that will produce values from 0 to 4095. Here's the transfer function directly copied from page 12 of Linear's datasheet.
Charles Chickering
Architecture is art with rules.
...and the rules are more like guidelines
Attachments:
TransferFunction.JPG 17 KB
Maybe you are looking for
-
Hello, I hope someone here can help me out. I want to create a report that lists all machines that have not made contact in over a year. Two options within the report criteria are Last Load Date and Last Scan Date, but I cannot find a Last Contact Da
-
Dear forum participants, Please, I need your help. I have a white MacBook with OS Snow Leopard, has lately presented the following problem that I can not solve. Using the Safari browser and Google as a search engine, I notice that the links of the si
-
Hello, My question pertains to flash CS4 I was wondering if someone knows of a way to make the objects move in "squiggly" motions. I have some movie clips that I want to motion tween, but I want it to appear as though they are being looked at throug
-
Su internet ci sono mille discussioni a riguardo, e sopratutto sono molto contrastanti. La mia domanda è: posso attaccare all'imac 21' l'xbox 360?? usandolo come schermo per giocare in 1080 HD?? o no?? Gli adattatori funzionano? é vero che gli adatta
-
OK first my specs AMD 3700+ 2GB Corsair Ram Asus A8R-MVP Geforce GTS 8800 Ive only ever worked with on board audio before so wasn't sure exactly how you installed this but I followed the instructions so a T and to be honest it's not so hard to insert