Show unit results in query
Hello,
I have a requirement where I need to show the results of units in the query. The query result would have multiple units like KG, EA, LB.
But I would want to have the result of each unit at the end. Is this possible in anyway. It should something look like
Material Qty
1111 10 KG
1230 20KG
1222 20 LB
1232 10 LB
1343 10 EA
1232 20 EA
RESULT 30KG
30 LB
30 EA
Thanks,
KK
Hi KK
For this to work unit must be a characteristic that is stored in the infoprovider
Try creating a structure in the rows with 3 RKF, drag in the unit characteristic a restrict to the following:
1. Unit restricted to KG
2. Unit restricted to LB
3. Unit restricted to EA
Then under the RKF include the material characteristic, this will give a break down of material by the above unit types.
Then in the columns include quantity.
Hope this helps
Josh
Similar Messages
-
How to show the result of query in oracle forms 10g to Excel Sheet File
Dear All,
I have query and i want the result to be show in excel sheet file in oracle forms
for example if i have a form with search criteria and when pressed the button of ( export to excel ) the result is
excel file contains the result of the query .The only method to achieve this is with the help of Webutil. Please go through documentation for more help.
Regards,
Manoj Chakravarthy -
Variance Scaling in Query and Web Template Showing Different Results
Hi experts,
I have the following problem - variance scaling in my query and web template are showing different results.
My variance in column is set as follows:
Formula: NODIM(A % B)
Scaling Factor: 1
I have a structure in row that uses Scaling Factor of 1,000.
Let say the value of Column A is 120 and Column B is 100.
When I execute the query, it will show 0.02
However, when I execute the web template it will show the correct scaling i.e. 20.
May I know what can I do to correct above scaling error?
Thank you!You can not remove the scalling factor, but once you check the checkbox below the dropdown menu, the scalling factor will go away.
I checked at my end and when I set the scalling fact as 1, I was getting 9.9% while I was expecting 9900%. When I removed the scalling factor I started getting 9900%.
I would let you know if I came across anything else.
What about the unit of Column A and B. Are they same or different?
- Danny
Edited by: Danny Matt on Jun 22, 2009 1:54 PM -
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 -
hi guys, i just want to show the result in my query:
like,
date 1 june | 2 june | 3 june | 4 june | 5 june | Result
KF 12 | 10 | 08 | 23 | 43 | 'X'
I just want to show the result and i need to hide all the columns ( eg from June 1 to june 5 ).
I'll really appreciate your help.
Thanks.
PS: i have tried hide in "calculate single values" but values did hide though it shows the columns having blank values.One way to suppress detail, and just display Result rows is ot use VBA code to hide rows and or columns. The BEx LEAF KF formula can be used to make it easy to identify Detail vs Result Rows and is one of the ways I use to distinguish which rows to hide, or you could check specific cell values to see if they contain "Result".
-
A very simple analysis in OBIEE11g Employee, Revenue shows No Results.
In the log, copying the SQL query generated and executing it in SQL Developer - runs OK and returns several records.
I've checked the physicall and logical diagrams, data type for the keys... etc.
Pls. Any hint ?
AntonioHi,
Purge cache and try executing the same query, also perform update row count on all three tables in Rpd physical layer.
Regards,
Dpka -
Query not showing detailed result when run through query Designer or Portal
Hi,
There is one query which not showing detailed result while running through Query Designer or run in Portal.
But strange thing is that it is showing the detailed result when i run it through BeX Analyzer.
While all the other queries don't have this problem in system. All showing the correct detailed result.
If anyone have some idea on this issue plz let me know.
Regards,
Javed
Edited by: Javed Akhtar on Jul 7, 2009 3:59 PMHi,
We can do this setting in WAD. Please check the web template and try to remove that setting. When you have hierarchy then we can display only till certain level in portal, this setting is done in web template APIs, but in bex analyzer you can see all the detailed information.
Edited
Go through this thread for some more detailed information
http://help.sap.com/saphelp_nw2004s/helpdata/en/44/7b5f0a95ce12d0e10000000a422035/frameset.htm
Regards,
rik -
How To Make Search Query Showing the Result As List of Buttons.
Can some one give me an idea how to start to make a Search Query showing the results as list of buttons.. i have already have my buttons with names. i just dont know how to make a search query.
this is my on screen keyboard i made..
im making a system that the result were a list of buttons.. showing like this
This was supposed to be the output of the query that i need to do..
Please help me.. i just need a idea or tips how to make this one.Here is code I posted recently for another question
Public Class Form1
Const BUTTON_SIZE As Integer = 20
Const SPACE As Integer = 5
Sub New()
' This call is required by the Windows Form Designer.
InitializeComponent()
' Add any initialization after the InitializeComponent() call.
Dim buttons As New List(Of List(Of MyRadioButton))
For row = 1 To 6
Dim newRow As New List(Of MyRadioButton)
buttons.Add(newRow)
For col = 1 To 6
Dim button As New MyRadioButton()
button.row = row
button.col = col
button.Height = BUTTON_SIZE
button.Width = BUTTON_SIZE
button.Left = col * (BUTTON_SIZE + SPACE)
button.Top = row * (BUTTON_SIZE + SPACE)
button.Name = String.Format("radGr1{0}_{1}", row.ToString(), col.ToString())
Me.Controls.Add(button)
newRow.Add(button)
AddHandler button.CheckedChanged, AddressOf Radio_Change
Next col
Next row
End Sub
Private Sub Radio_Change(ByVal sender As Object, ByVal e As System.EventArgs)
Dim button As MyRadioButton = CType(sender, MyRadioButton)
Dim row As Integer = button.row
Dim col As Integer = button.col
End Sub
End Class
Public Class MyRadioButton
Inherits RadioButton
Public row As Integer
Public col As Integer
End Class
jdweng -
After migrating to oracle10g query is showing wrong result
SELECT PS, SUM(K) FROM
((SELECT 'F' PS, 0 K FROM dual
UNION ALL SELECT 'P' PS, 0 K FROM dual
UNION ALL SELECT 'R' PS, 0 K FROM dual
UNION ALL SELECT 'S' PS, 0 K FROM dual
UNION ALL SELECT 'W' PS, 0 K FROM dual )
UNION
(SELECT process_status PS, COUNT(*) K
FROM production_control p
WHERE p.process_group = 'SA_WEEKLY'
GROUP BY p.process_status))
GROUP BY PS
Wrong Result After Migration
P SUM(K)
W 0
R 0
P 0
F 0
S 254
Correct Result Before Migration
P SUM(K)
F 0
P 0
R 0
S 253
W 0Hi,
>>without order by it was giving correct result in another database.
Correct result ?? How can you know that is the right result ? Don't trust on a order of the rows when selecting, if you not using a ORDER BY clause on your select statement.
>>I am having problem with pariticular database only
This is not a problem. You need specify the ORDER BY clause on this query to guarantee the order of the rows (on all databases) when perform a select statement on this table.
Cheers -
"SUM" keyword does not show results in query manager
Im using the sql keyword sum in my query which displays sum of doctotal for all sales order created by a particular sales employee.. but it is just showing the doctotal row wise. Is there sum limitations on the sql syntax that can be used?
Also is it possible to show the sum of doctotals without callin it at row level,as we are printing redundant data. Im not using PLD as the requirement is just to show the result of the query.
Please help
Regards
ArisTry the query as
select sum(t.total) from
SELECT T0.DocNum, T0.DocTotal,T0.DocTotal - T0.VatSum, T0.DocDate, Sum(T0.DocTotal) as Total,Sum(T0.DocTotal - T0.VatSum) as withoutTax FROM ORDR T0 INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
WHERE T1.SlpName ='Rajesh Nair' and T1.SlpCode -1
GROUP BY T0.DocNum, T0.DocDate, T0.VatSum, T0.DocTotal
) t
or in one query at the end as sum as
SELECT T0.DocNum, T0.DocTotal,T0.DocTotal - T0.VatSum, T0.DocDate, Sum(T0.DocTotal) as Total,Sum(T0.DocTotal - T0.VatSum) as withoutTax FROM ORDR T0 INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
WHERE T1.SlpName ='Rajesh Nair' and T1.SlpCode -1
GROUP BY T0.DocNum, T0.DocDate, T0.VatSum, T0.DocTotal
UNION
select null, null, null, null, sum(t.total), null from
SELECT T0.DocNum, T0.DocTotal,T0.DocTotal - T0.VatSum, T0.DocDate, Sum(T0.DocTotal) as Total,Sum(T0.DocTotal - T0.VatSum) as withoutTax FROM ORDR T0 INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
WHERE T1.SlpName ='Rajesh Nair' and T1.SlpCode -1
GROUP BY T0.DocNum, T0.DocDate, T0.VatSum, T0.DocTotal
) t -
Hi
the query out put displays value is * instead of keyfigure value.
i executed the query
regardsHi,
Please search the forums before posting. This topic has been discussed many times. The * is usually because of mixed units in the query column. Suggest you search the forum for more details.
Cheers,
Kedar -
Overall result in Query designer displaying ' * ' for one kf when executing
Hello
I have a got a kf in which value ' * ' is getting displayed when i have done display overall results for one of my chars. Now what i am hoping is that this can be because there are too many records in the display and the total is too huge and that is the reason it is disaplying * in it. Please can somone guide me if there is some setting that can be doneHi Tom,
This is because you have different unit or currency in the data record and you can not sum it if they are different unit/Currency therefore system is showing you *.
You can try NODIM(KF) and see if it is adding or try currency or unit conversion at query level so that all records in the query have same unit/currency.
Regards,
Kams -
Dont want to show overall result in my report
Hi
Probably quite simple, i just dont fint how to " NOT show overall result in my query"if u have infoobject characteristics on columns, suppress results there also
*helpful answers deserve some points* -
Dba_index_name and dba_ind_columns showing different results
Hi All,
I am confused why it is showing different results:
[email protected]#>select index_name from dba_indexes where table_name='CRBTPROV_FINAL';
INDEX_NAME
CRBTPROV_INDX1
[email protected]#>select index_name from dba_IND_COLUMNS where table_name='CRBTPROV_FINAL';
INDEX_NAME
CRBTPROV_INDX1
MSISDN_IDX
When trying to drop index MSISDN_IDX it gives error:
ERROR at line 1:
ORA-00054: resource busy and acquire with NOWAIT specified
But when trying to check where all the index is used using v$access:
select * from v$access where object='MSISDN_IDX';
no rows selected
Regards,
KirtiIf I run the following query on a 9.2.0.6 database, no index is listed:
select type, count(*) from v$access group by type;CURSOR
FUNCTION
NON-EXISTENT
PACKAGE
SEQUENCE
SYNONYM
TABLE
TRIGGER
VIEW
It seems that index is not taken into account by v$access ? -
Unit Conversion in Query Designer
Hi All,
In one of my report, i have to show the gross weight in column against material which i am reading from material master.
Now the weight is stored in two different unit's KG & G.
But i have to show the weight finally in KG.
Does any body has any idea of performing unit conversion at Query level i.e. in Query Designer.
Thanks.Rakesh the same i am doing, that is reading the weight value from material master through formula variable using replacement path.
Now when i create a key figure like this, there is a tab of 'Conversion' in that there is mentioned the 'Unit conversion'
In there, there are 2 options
1. Conversion type - this is a drop down but with no vlaue
2. Target Unit - Where i selected KG.
But output remains the same, i.e. in KG.
M I missing something ?
Maybe you are looking for
-
Acrobat 9.5 with windows 8.1
anyone have any issues with acrobat not working on windows 8.1
-
New to Premiere Pro, We shoot on DVCam or Mini-DV (which can shoot progressive), very little we shoot is ever for broadcast, most goes straight to DVD for training then archive. Would it be better to shoot in the progressive mode? I hear many editors
-
I am trying to convert a small application from JBuilder to JDeveloper 10.1.3.0.4. It runs fine in JBuilder, but hangs in JDeveloper. The main window comes up, and I make a menus section to bring up the file selection dialog. I get as far as the line
-
Dear, The requirement is to put Cost Center as default in the report ME5A. How to put cost center as default such that when the respective Department Manager run ME5A his PRs will be displayed using that cost center. The second thing is that, we nee
-
Pass parameter to new view in air desktop app
Hi Guys, Have developed a mobile app that uses this code ..... public function generalList_ChangeHandler(event:IndexChangeEvent):void navigator.pushView(Detail, list.selectedItem); .... to pass data from a list item that the user clicks to a new view