Bex not showing the Exact decimal values
Hi,
I have a situation here where I created a formula variable Average. I have declared that formula with the help of one replacement path variable.
Now My question is when i execute the query, I am seeing the values for that formula varibale but these are getting rouding off.
let say if I the result of the formula varibale is 3.2 it is rounding off to 4.
formula variable is 2.8 it is rounding to 3.
I have checked the query properties by putting the decimal places, but still it is showing the same. I have also gone through the forums and I understood that we need to maintain values in T006 or goto SPRO and maintain Unit of measure there you have to give No of decimals. But here my question is what UOM i need to consider because its just a formula which contains numbers 3, 4, 5 and it is calculating on those. those values are nothing but the feedback survey results.
can anyone let me know how should i procced with that. whcih UOM should i consider and also what is the ISO code to be maintained? or is there any another solution for my problem where i can see the decimal places.
Thank you !!!
Hi,
select the number under unit/currency while creating the formula variable.
then check the query in RSRT.
Similar Messages
-
I've created SPD 2013 workflow and deployed them onto that document library, This workflow execute on item update event. When updating library item, workflow triggered and completed successfully but workflow status column is not
showing the Internal Status values rather it is showing the Stage information. I've unchecked the "Automatically update stage name on workflow status" and republished the workflow. After that, it is still showing the stage information. Any help
is really appreciated.Hi Venkadesh,
It is by design that 2013 workflow will show stage name in the workflow status column when
Automatically update the workflow status to the current stage name is checked.
And the workflow status column will be blank when Automatically update the workflow status to the current stage name is unchecked.
For existing workflows, the workflow status will still exists with the previous values after unchecking Automatically update the workflow status to the current stage name.
We can use Set Workflow Status action to update the workflow status value based on our needs.
Best regards,
Victoria
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
JClient: after INSERT and COMMIT does not show the primary textfield value
1. In my JClient master-detail form: When I insert a new record, enter data, and commit the changes... the master-panel's primarykey textfield is BLANK, when it should show the new auto-incremented number from the MySQL database. I have to close and open the form again to refresh that field again.
2. In order to properly save new records in the detail-panel, I have to insert and save the above master-panel first. Is this the way JCLient handle master-detail forms?
Thanks.Hi. Thanks for sharing your advice.
Re my problem,
if we have to refresh data by requery,i suggest you should use the way below:
private JUNavigationBar navBar = new JUNavigationBar(true,false,true,false,true);
navBar.setModel(JUNavigationBar.createPanelBinding(panelBinding, navBar));
// after insert ,call this method
navBar.doAction(navBar.BUTTON_EXECUTE);Tried this out but my textfield still won't get refreshed. Here is the code I came up with:
private JUNavigationBar navBar = new JUNavigationBar() {
public void doAction(int button) {
if (button == JUNavigationBar.BUTTON_INSERT) {
super.doAction(button);
navBar.doAction(navBar.BUTTON_EXECUTE);
return;
super.doAction(button);
};Re your problem,
I am developing application with JDev + MySQL,encounted another problem,
how can i get the primary key supported by auto_increment column after insert?
i constructed a vo whose sql statement is
select last_insert_id() as last_id to get the value of auto_increment column.
i found it can't get the right value unless commit the transaction.
Would u please tell me your way?Based on what I experienced, we dont have to do the SELECT statement above. MySQL does auto-increment the primarykey but the JClient form just cant show it immediately, unless we close and re-open the form.
What did I do to refresh the primarykey during insert? Please note that I got this solution accidentally coz I'm still a newbie in Java.
A user want to add a record:
1. He presses the Insert button.
2. He enters data into a component (ex. textfield)
3. The component's action-performed event is fired, and the following code is run:
DCJboDataControl dc = (DCJboDataControl)panelBinding.getDataControl();
ApplicationModule am = dc.getApplicationModule();
Transaction tr = am.getTransaction();
dc.commitTransaction();
ViewObject vo = am.findViewObject("TblaccountsView1");
vo.executeQuery();
vo.last();It simply commits the transaction, goes to last (new) transaction, and lets the user continue his data encoding.
Hope it helps and I hope theres an even better way to do this. -
DP96 does not show the billing request value in simulation or update mode
Hi SD experts,
Another RRB related question.
Unlike DP91 (individual BR) which you can run in simulate and see the amount to be billed, qty to be billed and net value before creating the billing request, this does not appear to be possible with DP96 (collective BR), even though the net result (after runing in update mode) is the same.
Have queried this with SAP who have said this is not supported.
Are there any BADIs or exits available which would allow these values to be shown in the ALV display when run in test mode? The retrieval would have to access saved data (from VPKHEAD) or dynamic data according to the option selected in the selection screen.
Thanks in advance for any advice or suggestions on how to do this.
Regards,
Guy HIntonHi Guy
what you need to do is this. run DP96 and choose "save extract" in the options on the selection screen. In the detail lst you then get a message "Extract saved" for each processed contract item.
This will save the amounts to be billed in the cluster of tables VPKHEAD, VPKSDITEM, VPKDI and links to the dynamic item AD01DLI as well as contracts VBAK, VBAP and projects PRPS.
These tables happen to be used in DP91 to store extracts as well. You will get a popup for all those contracts asking you "Do you want to use saved data?" now.
What that ultimately does is that DP96 creates all the data holding cost & associated revenue.
All you need to do then is create a bespoke report or SAP Query (or whatever you want to use), join the named tables and present it to your user. This way I created a Revenue forecast report which shows all revenue for time worked/cost incurred which we should be invoicing in the current financial period, but haven't created the billing requests or invoices yet.
As said I just used SQ03/SQ02/SQ01 to create a simple infoset and query and it works a treat . Example of th join seen below. Note that you may have to alter joined table according to your needs potentially.
Bjorn -
Select list with URL redirect - not showing the same display value selected
Hi
I have several select lists with URL direct on my page similar to this
for p6_queries item the LOV is
select QUERY_NAME display_value, 'f?p='
|| :APP_ID
|| ':'
|| 6
|| ':'
|| :APP_SESSION
|| '::::p6_queries:'||QUERY_ID||'#qtables' return_value from .....
I am assigning a return value to the item p6_queries. But when the page is redirected, I dont see the selected value as selected in the list. Instead it goes to the null display text. Can any one help me on this?The problem is that your setting the item value to value of query_id. But your select list has the value of each item as the URL so it will never match and show you what you selected.
The best thing to do may be to change your select list from a "redirect to URL" to "submit page", make it a normal query:
select QUERY_NAME display_value, QUERY_ID return_value ...
Then create an "On Submit: Before Computation" branch:
Target Type: URL
URL Target: f?p=&APP_ID.:6:&SESSION.::&DEBUG.::P6_QUERIES:&P6_QUERIES.#testing
Condition Type: Request = Expression 1
Expression 1: P6_QUERIES -
Field Explorer in Crystal Reports does not show the same names as Bex Query
Hi
I have crystal reports, I can retrieve data from BW Bex Query. But in the field explorer it does not show the names as in the Bex query designer.
In the Bex query designer a field will have the following technical name 0Debitor and the description is Customer.
It shows in crystal reports in the field explorer twice as D[0DEBITOR]D and D[0DEBITOR]D. It also does not seperate key figures and characteristics.
I would like it to display the field explorer as shown in this blog.
/people/ingo.hilgefort/blog/2008/02/19/businessobjects-and-sap-part-2
Thanks in advanceHi,
take a look here:
/people/ingo.hilgefort/blog/2008/02/19/businessobjects-and-sap-part-2
make sure you are using the MDX Driver and what happens is that you will see several fields per characteristic. example: one for the key, one for the description, several if modelled for the display attributes
Ingo -
ME23n , Does not shows the values correctly in print preview
Hi,
When viewing a PO using ME23n , it does not shows the values correctly in the print preview.
For example;
This is the vendor & its address. (check attached image img1.jpg)
ZERANDIB BUSINESS APPLIANCES
Number-122/A
PO BOX 41,112,REID AVENUE
COLOMBO-04
When displaying the print preview, it shows only some parts of the above address
Shows only; (check attached image img2.jpg)
ZERANDIB BUSINESS APPLIANCES
PO BOX 41,112,REID AVENUE
These values are getting from a table called LFA1. I have checked that table & in that table all the values exists correctly.
I have noted issue is with, having only a single word. (If address or name having only a single word, that is without spaces, it will not going to show in the print preview) -
In the above example, it is not showing Number-122/A and COLOMBO-04 (Its a single word. No spaces there)
If its like --> Number - 122/A & COLOMBO - 04 , then it will display in the print preview correctly (where there are spaces after - mark)
check img3.jpg
If its having more than one word, then it will display correctly in the print preview. As below;
ZERANDIB BUSINESS APPLIANCES
Number - 122/A
PO BOX 41,112,REID AVENUE
COLOMBO - 04
If its 2 or more words, it shows correctly.
If its 1 word, then its not showing!
Why it is happening like that? Any ideas how to resolve this issue?
regards.
zerandibIt turns out that this problem went away after the program crashed. Everything seems to be working well now.
-
In smartforms the quantity field is not showing the perfect value .
In smartforms the quantity field is not showing the perfect value because the point is shifting left
insted of showing 8.10 it is showing 80.00.Hi,
Dont use the quantity field same as that it come from interface Fm declare one field for quantity in the global settings and write the logic to pass the value to that field and pass that global value to the particular texts...same is the case with currency fields also.
Regards,
Rohan. -
The parameter 'host_name_full' of ICM not showing the right value
Hi ,
The parameter 'host_name_full' is not showing the correct value.
It is still showing the value as fully qualified domain name, where as we have reverted the setting some time back .
can anyone let me knwo from where does it pick up the value from .
and how can i Edit the value to show the correct value
Thanks
NikhilHi Nikhil,
Check this 2 links will be useful to u r query...
http://help.sap.com/saphelp_nw04/helpdata/en/e7/7af83b0255a206e10000000a11402f/content.htm
http://www.basisconsultant.com/modules.php?name=Content&pa=showpage&pid=12
Regards,
Sridhar -
Do not show the # values should be replaced with blank at report
Dear All,
There is a requirement do not show the null (#) values at report level for characterstics fro example for onedocument there is no notification type in report for that document it is coming with null value but i do not want that null value in report it should be blank
any suggestions please,mostly provide the information at report level,but at cube level any options at the time loading( through start routine)
Thanks & Regards
sathishHi Satish,
There is one tcode where u can keep ur symbol defined say blank to show in report when null values occur... i didnt rememeber tcode i will tell you as soon i get it....
but it will effect not only this query but all the queries so it is upto u....
and at cube level u can write a routine to check ...
if this field value is initial .
change it with blank
else
leave it.
hope it helps...
regards
vamsi
Edited by: vamsi talluri on Mar 15, 2009 10:33 PM -
Query is not showing the values - authentication error
Hi,
After running a query it is not showing the values and showing <b>"You do not have the authorization for the selected component."</b>
Diagnosis
You do not have the authorization for the selected component.
System response
The selected component cannot be edited.
Procedure
lease speak to the person responsible for authorization, if you require authorization for the editing of this component. The function is protected by the object "Business Explorer - components" with the following fields:
InfoCube ZPLAYOPPT
Type of a component REP
Component PLAYBOOK_OPPT_1
Activity 16
Notification Number BRAIN 800
<b>Can u pls tell me the solution.</b>Thanks and Regards,
Giri.Go to SU01, look at your authorization profile for which roles you are given. Then, go to PFCG and check out the roles and how they are defined. It is possible that you are not authorized to view application area, infocube, certain characteritics etc.
Hope this helps,
Regards,
Petter -
How to get the exact decimal places displayed while exporting to Excel?
Hi All,
I have a requirement to display the exact decimal place values in my report. In my pivot table, i duplicated a column named order number and converted to percentage by applying these conditions Show Data As-> Percent Of-> Column. I got a resultant column with one decimal point. As i needed two decimal points i took the xml of the report and changed the minDigits='2' and maxDigits='2' values like this. After that i got the accurate answer. But when i export it as excel sheet it is not showing the % column properly. The values after 0 is not getting displayed. Any solution for this?
Thanks in Advance
ThenmozhiHi Thenmozi,
You can try adding the below statement in the Custom CSS section of the your column properties.
mso-number-format:"\@"
Edit your report--> Criteria-->which column you want to display in excel click column properties --> select CCS--> Paste here above code.
Second way:
Edit your report --> criteria-->click fx option for your column and apply the below code.
2. '<span style="display:none"> </span>' || CAST(your column name AS CHAR)
Award points it is useful.
Thank,
Satya -
Urgent BEX Report Showing the Wrong data
Hi Experts,
In my Cube the data is available curreclty, but where as my bex report showing the wrong data.
like xeample:
Infocube
Material Plant Year Units Qty
000000000002001032 003 2006 BAG 1,500
But in bex i took the same selection's, but it displays as
000000000002001032 003 2006 BAG 2
i am Unable to trace this
any help plzzz
AnilHi,
since Quantity(units PC??) can not be in decimals,Bex will round off 1.5 to 2 in bex report.
Use NODIM function i.e. NODIM(Qty) instead of Quantity.
NODIM function is available under data functions of Formula builder.
From context menu fo KF structure>new formula>NODIM(Qty).
or
try by setting Decimal places to 2 or 3 in KF properties in Bex Query.
hope this helps.
Message was edited by: Murali -
Why this query does not show the result?
Why the query with the schema prefixed does not show the result and the query without schema display the correct results?
SQL> select data_object_id,object_type from dba_objects where object_name='HR'.'JOBS';
select data_object_id,object_type from dba_objects where object_name='HR'.'JOBS'
ERROR at line 1:
ORA-00933: SQL command not properly ended
SQL> select data_object_id,object_type from dba_objects where object_name='HR.JOBS';
no rows selected
SQL> select data_object_id, OWNER, object_type from dba_objects where object_name='JOBS';
DATA_OBJECT_ID OWNER OBJECT_TYPE
69662 HR TABLE
OE SYNONYM
SQL> SELECT USER FROM DUAL;
USER
SYSHi,
the column object_name refers to a object_name which is 'JOBS', the column owner refers to the owner 'HR', the value isn't stored together, so you have to select the two columns. It is the same behaviour as every other table/view. Have a look at the values in the view DBA_OBJECTS.
Herald ten Dam
Superconsult.nl -
How to get the Exact Measurement Values.
Hi Scripters,
I want to get the exact values shown in the Control Panel. Please see the screenshots below.
I have written the JS code is here. But I want need the exact panel values in shown the above snapshots.
var myImages = app.activeDocument.links;
for(i = myImages.length-1; i >= 0 ; i--){
var myImage = myImages[i];
myImage.show();
alert(String(myImage.parent.itemLink.parent.geometricBounds[3]-myImage.parent.itemLink.parent.geometricBounds[1]) + " × " + String(myImage.parent.itemLink.parent.geometricBounds[2]-myImage.parent.itemLink.parent.geometricBounds[0]));
thx,
csm_philThere are 12 points in a pica.
You need to divide the points by 12 and tack the modulus of 12 onto that:
function getPicas(points){
return "" + Math.floor(points/12) + "p" + points%12;
alert(getPicas(504));
alert(getPicas(104.16));
Maybe you are looking for
-
After Effects CS6 and Premiere Pro CS6 Long Startup and Application Hang
Problem: After Effects and Premiere Pro CS5.5 and CS6 are very slow to start all of a sudden. Around 5 minutes to get to/by the intro dialogue box. For AE, the majority of the time is spent on the "initializing user interface." Then, if I can make
-
Swap PC Card Slot on T61P?
When I ordered my T61p I made the mistake of ordering the wrong option for the PC Card Slot. I accidentally ordered the Smart Card Slot instead of the Media Card Slot. 1. Is this swappable by me? 2. If yes, does anyone know the part # for the Media
-
Is this bug of password security in Acrobat 9?
If you set password to "abcde" you can release it by input just "mz". Or when longer password like "ABC-123456." then just input "x" to unsecure it. I test on Acrobat 9.3.4. If so, it is easy to unsecure all of secured pdf.
-
Rate of Exchange (BBPKF-KURSF)
HI, I have to take this feild from the inputfile & process thru FB01 tcode. So whatever format this field come in , I have to display it according to the GUI settings of the user who runs this interface. How do I do this ...?? Thank You, SB.
-
Opening VI block diagram engaging remote instrument control
This is a phenomena that doesn't seem to cause any major functionality issues - but I'm still curious how opening the block diagram window of a VI can automatically engage remote control of any connected instruments that are powered up - even when th