Reports - value gets rounded
In reports, whenever I write a program unit
for any field. In the program unit any numeric value defined gets rounded whereas the value is with some decimal value.
eg 12.57 becomes 13. Tell me why and how to
solve this problem
Hi Vijay,
In Query designer, select you rquery, and for this keyfigure right -> properties -> change the decimal places to 3 digits
if the key figure have -Ve value and it needs to display in front of keyfigure (-1246.00)
Query properties -> Value display -> here you can select required option.
if -ve is not there in cube but displaying in report, check whether any formula for this keyfigure
Regards,
Daya Sagar
Similar Messages
-
FSD Value getting rounded off in ECC
Hi Experts
I am facing an issue at the time of transferring the FSD document from TM to ECC. My FSD has 3000 USD value (approx) but at the time when it goes to ECC this value gets converted to 30 USD only i.e. the Service PO & Service entry sheet gets created for 30 USD only.I am using only one charge type FB00 is my TCM.
I am not able to figure out how is the automatic rounding taking place. Even the payload from TM is bringing this value (3000) to ECC.
Note: My FSD doc currency and company code currency are same.(USD)
Would request your comments or inputs on this
Thanks
Edited by: Sanjeev Bose on Jan 20, 2012 9:57 PMHi Michael
Thanks for your reply
Well somehow i was able to resolve this but this is not supposed to be required.Anyhow i feel there might be a bug.
Anyways, i went down to the ECC>IMG>SAP Netweaver>general settings>Currencies>Set decimal places for currencies>Maintain blank OR zero for USD.
That somehow resolved our issue.But i seriously dont think this should have been done. Maybe it just worked.After going into deep we found that if no entries are being maintained in the table TCURX then the system will be default taking a rounding upto 4 decimal places for the document currency that you are using.
Thanks
Sanjeev Bose -
R/3 report & BI report values getting different
hi gurus,
I am not getting proper values in both r/3 & Bi reports. both are not getting same.
Bi i am using multiprovider with 1cube and ods.
when i am searching r/3 report talling ods values
and bi report tally with multiprovider values.
what might be the problem.
what i have to do to get b oth same.r/3 and bw.
points full will be assigned.
shilpaHI,
This is may be cecause of your Identification mapping in Multiprovider.
So Please check how you mapped while creating the MP.
Eg:
Cube1 is having
Material
Plant
Batch
Cube1 is having
Material
Plant
Batch
Division
Location
In your mapping you mapped
Cube1 Material = Cube2 Material
Cube1 Plant = Cube2 Plant.
In this you need to check,so based on this selection the report will display only if the Matreial and Plant wxits in both Cubes.
So check it.
Thanks
Reddy -
Problem in formula:value getting round off
Hi All,
I need to divide 2 keyfigures and fill it in one keyfigure..
What i am doing , In transformation i have 2 fields in datasource one is value and other is quantity and i am mapping these 2 fields with one keyfigure in ODS..
I am creating formula in rule in which I am dividing value by quantity (value/quantity) but when i am running DTP and loading data the value in my keyfigure is coming after rounding off... like
I have value 4,311,781.58 and quantity 16,200.000 , if i divide i should get 266.159
but in my ODS this value is coming as 266.16..
Please advise how to remove this roundoff functionality...
Regards
ShwetaHi shweta,
You have two options in this case.
1. Go to your created key figure. After clicking on change go the tab 'Additional properties".
There you can see Decimal Places under business explorer. you can change the number of places if you know to what places you need the calculated value.
2. Go to your created key figure. After clicking on change go to the first tab Type/unit and change your data type to FLTP- Floating point number.
Hope it helps.
Thanks,
Rahul -
How to get the last "reported" value in a cross tab
Dear all,
based on a BeX Query Universe I have built a report with a cross tab in webI.
Maybe you can help me with the following issue. There I have a problem: I want to get in the Total-column always the last reported value, e.g. for Number Total Customers "66", not for Mar or Apr, because they are null.
Calendar Month |Jan| |Feb| |Mar| |Apr| |Total|
Number Total Customers |54| |66| | | | | 66
Number Active Customers |57| |71| | | | | 71
I hope that you understand my problem and could help as soon as possible.
Thanks a lot in advance for your support.
Best regards.
Edited by: HOLWUE on Feb 8, 2010 1:40 PMHi,
If this question is related to Webi then post in the below forum.
http://scn.sap.com/community/businessobjects-web-intelligence/content?filterID=content~objecttype~objecttype[thread]
Regards,
Sujit. -
Update button in sql report for each row can only get the report value
I have to added Update for each row of records like:
select a.*,'Update' button from (
select c.*,d.login from country c,champ d
where c.champ_id=d.champ_id(+)
order by c.name) a
then go to the report->edit button ->Column Link
I added some items P40_REGION, P40_CHAMPID,P40_ACTIVE,P40_CODE and assign the value like #region#,#active# ,#code# to these item, but when I click the update button in the report I found the values such as #region#,#active# ,#code# is the report value not the select list selected value(the region, active column are displayed as select list lov).
Can anyone tell me how to sort this knid of problem?
Thanks a lot!Sorry, it doesn't work. I also tried apex_application.g_f01(i), but not everytime I can get the value or get the incorrect value. If you have time you can try to create it like what I have described. Our team use two days now but still can not sort this problem.
-
BOM component Qty is getting rounded to next value in Process Order and BOM
We are in ECC 6.0, and maintaining BOM where Item quantities are decimal places e.g 0.3lb with respect to Hader qty. Now when we are craeting process order or exploding in CS11, we are seein that item quantities are getting rounded to next full integer e.g 1, 2 or 3.
What could be the reason for this behaviour.In standard "lb' doesn't have decimal point
If you want decimal point
go to CUNI
select the mass
you can find the lb
maintain the decimal point as 3, & decimal point rounding as as 3, system will show 3 decimal point in process order and in CS11 -
Bex report values are changing
Hi experts,
In the cube we are having a qty field value as 0.652, but in the bex report it is showing as 1. And if the value is 0.4152 it is showing as 0.
How to get the exact values those are 0.652 and 0.4152 to the bex reports.
Regards,
Nishuv.Hi Nishuv,
The Values are getting rounded off for the key figure ... In the tab for key figures use display key figure decimal places upto three ...u may keep display as one digit keep the decimal part also then it wont be rounded... hope it helps
Regards
vamsi
Edited by: vamsi talluri on Dec 24, 2008 1:10 PM -
How to get rounding diffrence for agreement?
I am passing 3 parameters to this function
1.Agreemnt number
2.Start date
3.End date
I want to calculate Rounding difference for the each agreement.
Here Problem is, when executing this function; I am getting correct value first time.
While executing second time it thing, it shows different value as result.
Can anybody solve this?
Or give me another idea to get rounding difference instead of using this function?
FUNCTION ysdf_rebate_settlement_amount.
""Local Interface:
*" IMPORTING
*" VALUE(IV_AGREEMENT) TYPE KNUMA
*" VALUE(IV_FROM_DATE) TYPE DATUM
*" VALUE(IV_TO_DATE) TYPE DATUM
*" EXPORTING
*" REFERENCE(EV_ACCRUED_AMOUNT) TYPE KWERT
*" REFERENCE(EV_SETTLED_AMOUNT) TYPE KWERT
*" REFERENCE(EV_ACCR_REV_AMOUNT) TYPE KWERT
*" EXCEPTIONS
*" NO_AGREEMENT
*" NOT_SALES_VOL_DEPENDENT
*" OTHER_ERRORS
DATA:
lv_accrued_amt TYPE kwert,
lv_settled_amt TYPE kwert,
lv_reversal_amt TYPE kwert,
lv_kawrt TYPE kawrt,
lv_kbetr TYPE kbetr,
lv_kstbs TYPE kstbs,
lv_kwert TYPE kwert,
lv_datab TYPE datum, "Start date
lv_datbi TYPE datum, "End date
lw_kona TYPE kona,
lw_t6b1 TYPE t6b1,
lw_konp TYPE konpdb,
lw_s060 TYPE s060,
lt_konp TYPE STANDARD TABLE OF konpdb,
lt_s060 TYPE STANDARD TABLE OF s060,
lt_scales TYPE STANDARD TABLE OF condscale,
lt_xvakes TYPE STANDARD TABLE OF vakevb.
CLEAR :
ev_accrued_amount,
ev_settled_amount,
ev_accr_rev_amount.
Validate agreement number and get agreement details.
SELECT SINGLE *
INTO lw_kona
FROM kona
WHERE knuma = iv_agreement
AND abtyp = c_abtyp_a. "Rebate Agreement
IF sy-subrc NE 0.
Rebate agreement & does not exist!
MESSAGE e061(yfr2sd) WITH iv_agreement
RAISING no_agreement.
ENDIF.
SELECT SINGLE * FROM t001
WHERE bukrs = lw_kona-bukrs.
Start date = later of the requested start date
and the agreement start date.
IF iv_to_date > lw_kona-datbi.
lv_datbi = lw_kona-datbi.
ELSE.
lv_datbi = iv_to_date.
ENDIF.
End date = earlier of the requested end date
and the agreement end date.
IF iv_from_date < lw_kona-datab.
lv_datab = lw_kona-datab.
ELSE.
lv_datab = iv_from_date.
ENDIF.
Retrieve configuration data once and keep in global variables
for better performance when repeated calls are made.
IF r_kobog_excl[] IS INITIAL.
PERFORM get_global_data.
ENDIF.
Agreement must be completely dependent on sales volume.
IF lw_kona-kobog IN r_kobog_excl.
MESSAGE e062(yfr2sd) WITH iv_agreement
RAISING not_sales_vol_dependent.
ENDIF.
Get a list of condition record numbers for the given agreement
PERFORM get_condition_numbers USING lw_kona iv_from_date iv_to_date.
Read condition records and scales.
CALL FUNCTION 'SD_KONP_SELECT'
EXPORTING
scale_read = 'X'
TABLES
condition_item = lt_konp
condition_number = r_knumh
condition_scale = lt_scales.
Accrual amount calculation for all conditions.
LOOP AT lt_konp INTO lw_konp.
konp = lw_konp.
CLEAR lw_s060.
Determine the turnover for rebate
CALL FUNCTION 'SD_BONUS_TURN_OVER'
EXPORTING
agreement_waers = lw_kona-waers
condition_krech = lw_konp-krech
condition_item = lw_konp-kopos
condition_number = lw_konp-knumh
period_datab = lv_datab
period_datbi = lv_datbi
agreement_knuma = lw_kona-knuma
IMPORTING
turn_over = lw_s060.
Errors?
IF NOT lw_s060 IS INITIAL AND
lw_s060-krech IS INITIAL.
MESSAGE e779(vk) RAISING other_errors.
ENDIF.
If condition is active (not logically deleted).
IF lw_konp-loevm_ko = space.
record found?
IF lw_s060-knumh IS INITIAL.
lv_kstbs = 0.
lv_kawrt = 0.
ELSE.
lv_kawrt = lw_s060-kawrt_k.
lv_kstbs = lw_s060-kstbs.
ENDIF.
IF lw_konp-stfkz = 'D'.
Tiered scales calculation
CALL FUNCTION 'SD_GRADUATED_SCALE_EVALUATION'
EXPORTING
i_arrangement = lw_kona
i_condition_record = konp
i_scale_base = lv_kstbs
i_condition_base = lv_kawrt
i_bukrs = lw_kona-bukrs
i_currency_date = lv_datbi
i_value_rounding = c_yes
i_t001 = t001
IMPORTING
e_arrang_value = lv_kwert
TABLES
t_condition_scale = lt_scales
EXCEPTIONS
error_message = 1.
ELSE.
Determine condition rate (non-tiered calculation)
CALL FUNCTION 'SD_BONUS_RATE_FROM_SCALE'
EXPORTING
condition_record = konp
scale_base = lv_kstbs
IMPORTING
bonus_rate = lv_kbetr
TABLES
condition_scale = lt_scales.
Determine rebate amount for the condition
CALL FUNCTION 'SD_BONUS_VALUE_CALCULATION'
EXPORTING
calculation_rule = lw_konp-krech
condition_base = lv_kawrt
condition_type = lw_konp-kschl
currency = lw_kona-waers
currency_date = lw_kona-datbi
price_currency = lw_konp-konwa
price_unit = lw_konp-kpein
price_uom = lw_konp-kmein
cumul_currency = lw_konp-kwaeh
rate = lv_kbetr
sales_organization = lw_kona-vkorg
IMPORTING
bonus_value = lv_kwert
EXCEPTIONS
error_message = 01.
ENDIF.
IF sy-subrc <> 0.
Error?
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
RAISING other_errors.
ENDIF.
Percentage?
lv_accrued_amt = lv_accrued_amt + lv_kwert.
clear lv_kwert.
IF lw_s060-krech NE c_krech_a.
lv_reversal_amt = lv_reversal_amt + lw_s060-rrwrt.
ENDIF.
ELSE.
Clear the values
CLEAR: lv_kawrt, lv_kstbs, lv_kwert, lv_kbetr.
ENDIF.
ENDLOOP.
SELECT SUM( vbap~netwr )
INTO lv_settled_amt
FROM vbak
INNER JOIN vbap
ON vbapvbeln EQ vbakvbeln
INNER JOIN vbkd
ON vbkdvbeln EQ vbakvbeln
WHERE vbak~knuma = lw_kona-knuma
AND vbak~auart IN (c_auart_b1,c_auart_b3)
AND vbap~abgru EQ space
AND vbkd~fbuda BETWEEN iv_from_date
AND iv_to_date
ev_accrued_amount = - lv_accrued_amt.
ev_settled_amount = lv_settled_amt.
ev_accr_rev_amount = lv_reversal_amt.
ENDFUNCTION.
Regards,
RonnCan you provide more details that's a very vague question. You research industry vendors such as MobileIron, Zenprise, AirWatch, BoxTone, etc. or configure your own server and push configuration profiles. Apple themselves do not offer any services of their own that they resell.
-
how can I get round the problem I have with itunes. I have bought and downloaded various tracks to my library. When I try to sync my iphone from my PC I get a message on screen saying that it is not authorised to play them and tells me to authorise the computer by clicking store, entering apple id and password then clicking authorise this computer. I do that then get a message saying that my computer is already authorised yet when I try syncing the track again the same thihng happens. Im getting nowhere!
If only some of the songs on an album are giving you the authorisation message, that suggests those song files are damaged.
If your country's iTunes Store allows you to redownload purchased tracks, I'd delete your current copies of the dodgy tracks and try redownloading fresh copies. For instructions, see the following document:
Downloading past purchases from the App Store, iBookstore, and iTunes Store
Otherwise, I'd report the problem to the iTunes Store.
Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
Find the items that are not playing properly. If you can't see "Report a Problem" next to the items, click the "Report a problem" button. Now click the "Report a Problem" links next to the items. -
How to find report values using report writer
hi,
Please help me.
How to find report values using report writer
Regards,
RRK.
Edited by: Alvaro Tejada Galindo on Feb 6, 2008 12:01 PMThanks all for the reply.
I am trying to solve a problem where report parameter value that is set at Management Console is wiped out after calling replaceConnection.
databaseController.replaceConnection(oldConnectionInfo, newConnectionInfo,
null,DBOptions._doNotVerifyDB);
We have to support changing database connection from a java utility
class. But once replaceConnection is called all existing static parameter values are lost. To fix this issue we thought of getting parameters and values before calling replaceConnection and setting it after replaceConnection.
Version is CS2008 SP3 - version 12.3.0.601
If there is any other option of fixing the original wipe out issue?
ParameterValues.getValues() didn't return value. I will try ParameterValues.getCurrentCalues() but the document says ParameterValues.getValues() is equivalent to the IParameterField.getCurrentValues() method unless it is empty, in which case it is equivalent to the IParameterField.getDefaultValues() method.
So getCurrentValues() may not work. -
Problem Transall Oracle, get rounded, floating point numbers
I use Transall Oracle. and i have a problem with this function:
Format$(1234.56,"#,##0;(#,##0)")
The doc Transall, say that the result is 1,235 or in the case of a
negative number, (1,235).
It is incorrect, because the software transall, dont get rounded, and process *1,234*.
It is a bug ??? I need to work with round number. , is there another option?Hi,
I am unable to reproduce the problem that you are describing. Perhaps this was a problem that was fixed in a newer release of Transall than you have. For instance, when I compile and run the code:
Public Sub Run()
Dim Result As String
Result = Format$( 1234.56, "#,##0;(#,##0)")
*WriteConStdOut( "Result is " & Result & CRLF)*
End Sub()
the screen shows:
Result is 1,235
If you are only interested in obtaining a rounded value, the Transall documentation lists three different rounding functions: Round(), Round45(), and Round45A(), with Round45() rounding in the manner that most of us commonly think of as rounding. -
Hi Gurus,
I have write a copa report , i have assigned in KE4I sd condition type to value filed, so +/- are assigned in PR00 and VPRS condition typs ..still i am getting wrong value ..ie Reversal document value also add to the report ex billing document Rs 2500 and reversal document Rs 2400/- but in COPA report value is Rs 4900/- why and where my config or report was wrong
let me know.
Regards
VinuHi
Presently in costing sheet there are two continuous processes, both are considered as SFG (semi finished goods). The SFG 1 material in first process is the BOM part of the second process SFG 3 material. Both process has different cost centres, overheads and cost elements.
Now the second process of SFG material takes more than 9 months. So want to show this WIP under maturation stock, as separate stock under new SFG 2 material, with some value addition (considered as activity). This new process related SFG 2 material BOM will contains the first process SFG 1 material. And this new SFG 2 material code will be the part of BOM of the last process SFG 3 material.
Now there are 1 issues we are facing.
1st query:
In quality server after transporting the request from Development, Price difference account is generated while production of the 3rd Process SFG 3 material.
Production made for 1000 AL Qty (Base Qty of BOM 1000 AL and Costing lot size 1000 AL ) and in the entry we are getting the Price difference entry as shown below.
Dr. Inventory SFG3 - 105,897.43
Cr. Incr/Decr/Cons SFG 3 - 105,900.00
Cr. Price difference - 2.57
Cr. Inventory SFG2 - 94,550.00
Dr. Incr/Decr/Cons SFG2 - 94,550.00
Standard cost of SFG 3 for 1000 AL is 105,897.43 and Standard cost of SFG 2 for 1000 AL is 94,550.00
May i know why the price difference account is picked up while doing the production of existing material SFG 3, when there is no such difference in development server. And no Price difference account in Quality server before introducing the new process?
Regards
Vinu -
How to use NODIM func with out it's values being rounded
I created a new calculated key figure in Query Designer 3.x, and used the function NODIM() - Value with out dimensions. When I use this function, the values are rounding off to the nearest value.
For example, I have a value 0.000075 US$, when I use NODIM function the value is displayed as 0.000080. Value is getting rounded to nearest value.
I tried using absolute value it did not work.
Can any one tell me how to use NODIM function with out it's value being rounded to nearest value.
Thanks,Hi,
According to your description, you might want that "Notice" field has a default value when form is created and users can be able to change the value of that
field.
As a workaround, you can add an action rule in “Name” field via InfoPath to fill the default value in “Notice” field only when “Name” field is not blank and “Notice”
field is blank.
Settings of the rule are as below, you can modify it based on your need:
Here is a link about how to add an action rule in InfoPath form, you can use it as a reference:
https://support.office.microsoft.com/en-us/article/Add-rules-for-performing-other-actions-5322d726-b787-4e5f-8d37-ba6db68b451d?CorrelationId=8a64c12f-aa60-4d90-b1f9-a44fcc4e74b5&ui=en-US&rs=en-US&ad=US
Best regards
Patrick Liang
TechNet Community Support -
Amount getting rounded to hundreds in BSEG table
Hi,
I am passing an entry in TWD currency for 1000, but in BSEG table the field WRBTR gets updated as 10.
Any idea why this is happening so?
My conversion rate and exchange rate factors for this currency is 1:1 only
Regards
MalathiHi
The decimal notation is correct in su3 under default tab. For other currency my value is getting displayed with comma's and decimals.
Also the amount entered is only 1000 and not 10. For all the entries we have passed in TWD, BSEG-WRBTR is getting rounded to hundred's
Let me know on why this is happening
Regards
Malathi
Maybe you are looking for
-
Sample code to call web dympro from event
Hi. I have a web dympro form. I want to call this form with dynamic url to which I want to pass parameter transaction_id. For example url http://www.zzz.com&transaction_id=7712 I created new button and event in component from which i want to make a c
-
Display Resolution always resets after reboot
Every time I reboot, my monitor resolution in the system preferences is reset to 640x480. This is starting to become EXTREMELY annoying. This has only started happening since my upgrade to 10.4.4 and has continued thru 10.4.5 . Does anyone know why t
-
Database is High Protection Mode
Dear Friends, I configured dataguard standby database in oracle 11g.Then i did the following scenario's. 1)I changed the protection mode to "High protection". 2)Shutdown the standby database. As per the document, The primary database shutdown when st
-
what is the main function of the ioctl function?
-
Hello ! I created 2 text entry fields on a form. Both contains a numeric value of the same LOV (a "from" field and an "to" field). Putting the focus in one of them results the selected value filled into the relevant field in Forms 6i. Now I want ot m