When executing query...in the result i want to display each row values
Hi All,
When executing query...in the result area i want to display each row values.
Example: query result is like this
Business Area Sales Material
kh02 1000 2000
2000 300
5000 400
6990 1000
Kh03 1400 700
200 500
50 60
but i need like this
kh02 1000 2000
kh02 500 600
kh02 400 300
kh03 1400 700
kh03 200 500
Why i need like this because am exporting to Excel spread sheet and i have to send as i show above ....i am doing manual but the file is very big like 95, 969 records i have to change manual...like this i have to change 8 files.
please advice me easy way
i willl be very gr8ful
Thanks
sidhartha
Hi,
that'S exactly what hide repeated key values does. If this option is on your result is:
Kh02 1000 1500
blank 500 456
blank 600 700
kh03 400 500
balnk 500 600
If you turn it off, the result will be:
Kh02 1000 1500
Kh02 500 456
kh02 600 700
kh03 400 500
kh03 500 600
Exaclty what you want. Try it, it should work
Regards,
Juergen
Similar Messages
-
Stop executing query once the result is more than n rows
Hi,
Is it possible to stop executing a query for a View Object once the result hits n rows?
Any pointers are appreciated
Thank you for your time.
Edited by: user594688 on Sep 12, 2008 8:21 AMRownum is indeed the attribute. If you really want to stop the query after the first n rows, that's pretty much the only way to do it, to my knowledge.
If you're primarily worried about database load, but want to give the user the option to query more rows if and when they really need them, check out the following in the Fusion Dev Guide for Forms/4GL developers:
37.1.5 Efficiently Scrolling Through Large Result Sets Using Range Paging
(Note that this is not the same as simply using a range size, which ADF does by default--the range size simply limits the number of rows displayed ot the user, not the number queried. It's also not the same as setting the JDBC Fetch size, which limits the number of rows loaded into the cache, and therefore onto the app server, at one time, but again not the actual query result.) -
Runtime Error when executing Query in the web
Hello,
when i try to execute a query on the web, i get the error
Exception in BI runtime
Log ID: 005056BD15DA005E000000A900000A3400043C8F00E4DD8B
Initial cause
Message:
'user' missing
Stack trace:
com.sap.mw.jco.JCO$Exception: (101) RFC_ERROR_PROGRAM: 'user' missing
Message:
No connection possible to BI master system VB0CLNT800
Stack trace:
com.sap.ip.bi.base.service.connection.ConnectionException: No connection possible to BI master system VB0CLNT800
Can anyone please tell me , how to fix this ..
Thanks
Rajyou mwy check this to trouble shoot front end
Troubleshoot the SAP NetWeaver 2004s BI Frontend Installation -
Error when executing query in the Web Analyzer...
Hi All,
I am using 2004s and when I try to execute the query in the BEX browser I get the following error. It works well in the Bex analyzer. Do I need to have some java plug ins for this to work?
http://bi6.domain.com:50100/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex%3FQUERY
Thanks,
Arthur.you mwy check this to trouble shoot front end
Troubleshoot the SAP NetWeaver 2004s BI Frontend Installation -
How I can change this query? to get the results I want
This query
select
SHRTGPA_pidm,
SZSTCLA_TERM_CODE,
SHRTGPA_GPA_HOURS
from szstcla,SHRTGPA
where szstcla_pidm = 74246
and SHRTGPA_pidm = szstcla_pidm
and SZSTCLA_TERM_CODE <> SZSTCLA_TERM_CODE_MATRIC
and SHRTGPA_TERM_CODE = SZSTCLA_TERM_CODEreturns
74246 201020 4
74246 201120 4
74246 201110 4
74246 201210 4
74246 201220 4 I want to aggregate so the query will return
74246 201020 4
74246 201120 8
74246 201110 12
74246 201210 16201220 20Hi,
So, instead of shrtgpa_gpa_hours, you want a cumulative total of shrtgpa_gpa_hours, adding up all the previous values.
That's a job for the analytic SUM function:
select
SHRTGPA_pidm,
SZSTCLA_TERM_CODE,
SUM (SHRTGPA_GPA_HOURS) OVER (ORDER BY x) as running_shrtgpa_gpa_hours -- ***** CHANGED *****
from szstcla,SHRTGPA
where szstcla_pidm = 74246
and SHRTGPA_pidm = szstcla_pidm
and SZSTCLA_TERM_CODE SZSTCLA_TERM_CODE_MATRIC
and SHRTGPA_TERM_CODE = SZSTCLA_TERM_CODEwhere x is the expression (or list of expressions) that determines what are the "previous" rows.
I hope this answers your question.
If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
Explain, using specific examples, how you get those results from that data.
Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
See the forum FAQ {message:id=9360002} -
(my yahoo browser is in English but when I click mail the result is HK" and in Chinese. I want English.
Somehow when I log in, the yahoo account changes to "yahoo hong kong" instead of staying at www.yahoo. thanksInterestingly, it appears you did manage to get your podcast accepted in the Store - if you did this with an .html feed I'm a bit surprised it worked. I wonder whether you started with an .xml URL and it got changed by accident?
If you did manage to get the Store to accept a feed with an .html extension then you will need to change its attention to the revised version of the feed. This will mean that you will have to leave the present feed where it is, upload a version with the correct extension (having checked it works) and then add the 'itunes:new-feed-url' tag to the incorrect feed as described in this page:
http://www.wilmut.webspace.virginmedia.com/notes/podcast.html#move
Of course if you managed to change the extension by accident then changing it back should do the job. -
Hello,
Is it possible to submit a list item and at same time query/search the results if parameters are matched.
Example - user logon to site enter search parameters and hit submit button. Once done parameters gets saved in list and shows search results on page. I have been asked to do this with
SP designer and InfoPath doesn’t work due items limits.
Please suggest.
Thanks,
Manish
ManishHi Manish,
may i ask if you need,
when user account click the login button, it will be authenticate the user and then it will show search result page?
may i know how the keyword of words to be put? is it together with the user account box, password and keyword?
or it will be like, after user authenticate, it will redirect to search page, so that user may use the search page to input the keyword?
Regards,
Aries
Microsoft Online Community Support
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
Problem of running the jump query from the result line
Dear expert,
I have a problem when running a jump query from the result line. Apparently, the values of the caracteristics haven't been sent to the jump target. However, the configuration in RSBBS seems to be good as the jump works well from the other lines.
Does anyone have some ideas on that?
Thanks in advance!Hi,
If you are supposed to bring across characteristic values to your target, then you will not be able to jump from the result line. The configuration expects that the values of the characteristic marked as being used in the jump are filled with unique values. When you use the result line as a source for your jump, the values in the result line will most likely be based on the sum of multiple characteristic values.
Hth,
-Jacob -
I pre ordered a album and got songs then it came out so itunes sent me a confirmation and it said to go to available downloads and gave link so I did and it did nothing for me and when I went to the album I wanted it said it was purchased so how do I get my music and don't even see available downloads in the iTunes Store
Check this link, http://www.apple.com/support/itunes/ and go to the contact page.
Sorry, here you go https://ssl.apple.com/emea/support/itunes/contact.html
Message was edited by: ChrisJ4203 -
Error in while Executing Query in the Query Designer
Hi,
I created info Set based two info object and three Data Store Objects. and join condition is Left Outer Join.
there are Business Partner info object, CRM BP Sales View Info Object and Data Store Objects are BP: Roles (0BP_ROLE),Partner: Industries(0BP_IS),CRM Marketing Attributes for Business Partner(0ATR_DS01)
I given some Selection Parameters while executing query in the Query Designer. in That i given city is selection parameters
and i creted variable for this info object.
it gives the Error Messages
Beim Lesen der Daten sind Fehler aufgetreten. Navigation ist möglich
Der Wert "New Delhi " von Merkmal 0CITY40 enthält an der 10.ten Stelle einen Fehler
it is very urgent , can any one help me regarding this.Hi Reddy,
The Error message in english is this
While reading the data mistakes have appeared. Navigation is possible
The value " New of Delhi " from sign 0CITY40 contains a mistake at the 10.ten place
and i think you need to run the change run and run the report with out selecting the variable option.and navigate in the report by filtering the report for your requirement.
Try this and let me know.
Thanks,
RK -
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 a search, when I click on the site I want to go to, it will take me to a different site (like an ask or search type of site, seems like the same 3 or 4 always) when I to go back to the search page ( takes 2 or 3 clicks on the back arrow) and try the site I wanted again it will send me to the wrong site again. I have to do this 3 or 4 times until it will go to the site I want. If I copy n paste the site url in the navigation bar it will go to the site I want, but it's kind of a pain to do that, and I never had to do that before. Also, it does the same thing if I'm using yahoo or google to search. Thank you in advance
Sounds like search redirect malware.
Install, update, and run these programs in this order. They are listed in order of efficacy.<br />'''''(Not all programs detect the same Malware, so you may need to run them all to solve your problem.)''''' <br />These programs are all free for personal use, but some have limited functionality in the "free mode" - but those are features you really don't need to find and remove the problem that you have.<br />
''Note: If your Malware infection is bad enough and you are mis-directed to URL's other than what is posted, you may have to use a different PC to download these programs and use a USB stick to transfer them to the afflicted PC.''
Malwarebytes' Anti-Malware - [http://www.malwarebytes.org/mbam.php] <br />
SuperAntispyware - [http://www.superantispyware.com/] <br />
AdAware - [http://www.lavasoftusa.com/software/adaware/] <br />
Spybot Search & Destroy - [http://www.safer-networking.org/en/index.html] <br />
Windows Defender: Home Page - [http://www.microsoft.com/windows/products/winfamily/defender/default.mspx]<br />
Also, if you have a search engine re-direct problem, see this:<br />
http://deletemalware.blogspot.com/2010/02/remove-google-redirect-virus.html -
I have the newest Ipod touch. It will not let me delete third party apps. When I hold down the app I want to delete it wiggles but there is no X. How do i delete the app still?
I'm having exact same issue! Just upgraded my son's ipod touch to iOS5 and now can't seem to delete any apps from the iPod springboard. Please help!
-
Want to display selected rows of table in another table
Hello all,
On jspx page their is quick query search component clcking on it popup gives result in table format
user can select multiple rows for this I have provided checkbox column which transit variable in my view..
now I want to display selected rows into another table
how I can achieve this functionality...Hi,
You can add the method in the AM, expose them as client interface. In the action listener of the button (of the popup where you are selecting the rows and clicking to continue), execute the method from AM.
Sample,
AM method
public void filterMyTableRows(){
this.getMyViewObject().setWhereClause("transient_attribute='Y'"); // Change according to your view object name and transient attribute name
this.getMyViewObject().executeQuery();
}In your actionListener, add something like
public String commandButtonActionListener() {
BindingContainer bindings = getBindings();
OperationBinding operationBinding = bindings.getOperationBinding("filterMyTableRows");
Object result = operationBinding.execute();
if (!operationBinding.getErrors().isEmpty()) {
return null;
/* your rest of the code goes here..
return null;
}-Arun -
How to display first row value returened from a query as checked as default in a report
How to display first row value returned from a query as checked as default in a report
Example
Parameter 1
Paramerter2
ABD
x(checked)
Test
DEF
JMG
MudassarHi Mudassar,
The issue is caused by the order in which the parameters appear in the report data tab can be difference between our report execution and it failing. In other words, “Parameter2” is execution before parameter “A” due to this issue. We can adjust the parameter’s
order to solve the issue.
If “Parameter2” is parameter “A”, we cannot use that expression. Because fields cannot be used in report parameter expression, if we want to display the first value returned from a query as default value, we have to fill the “Specify values” text box with
the specific value in Default Values dialog box.
Regards,
Alisa Tang
Alisa Tang
TechNet Community Support
Maybe you are looking for
-
Document splitting generate lines with alternative +/- signs (very urgent)
Hi experts, I am facing the above problem when i am clearing the vendor Document clear F-44, After simulate the Entry will be coming, when save the entry we are faced this problem Massage Class GLT0002. Regards gvr
-
Which one has the better GFX card? x1600 w/ 256MB ram or 7600 GT w/ 256MB ram? I will be playing games and doing some 3D modeling/animation with it and I want the best performance in Gaming. (Battlefield 2/2142 and Crysis once it comes out) Thanks in
-
Transmitting MIDI clock from Mainstage - is it possible?
Hi I've just upgraded from Mainstage V.1 to V 2.1.1. I have previously been unable to transmit MIDI clock from MS to external MIDI devices (specifically a DSI Tetra) in order to sync arpegiator, sequencer, LFOs etc. I can't find any mention of it in
-
I remote wiped my ipad 3. its now stuck on the loading ring icon. please help
i remotely erased it. now stuck on loading ring icon.
-
Hi i was testing some members load through ODI, accounts dimension in our planning outline messed up.Most of the accounts moved under one incorrect parent. How can i fix this issue please suggest Thanks,