How to find all values from Minimum to Maximum?
Post Author: newcruser
CA Forum: Formula
@Minimum
DatePart("h",(Minimum ()))
@Maximum
DatePart("h",(Maximum()))
Post Author: V361
CA Forum: Formula
Use a running total, you can refer to your formula in the running total.
Similar Messages
-
How to get all values from an interval using select statement
Hi,
Is it possible to write a select statement that returns all values from an interval? Interval boundaries are variable.
something like this:
select (for x in 1,1024 loop x end loop) from dual
(this, of course, doesn't work)
The result in this example should be 1024 rows of numbers from 1 to 1024. These numbers are parameters, so it is not possible to create a table with predefined values.
Thanks in advance for your help,
Mia.For your simple case, with a lower boundary of 1, you can use:
SELECT rownum
FROM all_objects
WHERE rownum <= 1024For a set of number between say 50 - 100, you can use something like:
SELECT rownum + (50 - 1)
FROM all_objects
WHERE rownum <= (100 - 50 + 1)Note, that all_objects was used only because it generally has a lot of rows. Any table with at least the number of rows in your range will work.
TTFN
John -
How to pass all values from one node element to created node element?
Hi
I have model node element under which there are 7 values, and I've created value node element and trying to pass the values from the model node Element to this value node element. But instead of passing all the values its listing only one value.
How do we rectify this problem!!!
Thanks in Advance
SrikantHi Anil
I've created the node named: TableNode
and the name of the node from which i want to get the data is : Li_Required_Node
the Node Structure is
Context
|_ Zs_Quantity_Input
|_Output
|_Node_Required_Node
|_Schddt
|_TableNode
|_CmpDate
The Schddt has some 7 values
The code Snippet is as follows:
IPublicPricesComp.ITableNodeElement nodeElement;
IPublicPricesComp.ILi_Required_NodeElement scheduleElement;
int counter3Max = wdContext.ILi_Required_Node().size();
for( int counter3= 0 ; counter3 < counter3Max ;counter3++ )
nodeElement = wdContext.createTableNodeElement();
scheduleElement = wdContext.nodeZs_Quantity_Input().nodeOutput_Contract_Qty().nodeLi_Required_Node().getLi_Required_NodeElementAt(counter3);
nodeElement.setCmpDate(scheduleElement.getSchddt());
wdContext.nodeTableNode().addElement(nodeElement);
On writing the above code and then binding the node to a table column only one value getting displayed
Where can be the error?
Thanks in Advance
Srikant -
How to remove all values from column
Hi all
I have one table and in that i have one column which contain some null value.now i want add a not null constraint on that column but it already contain null values.
how shuld i delete that column value only or how should i proceed now please help meWhat do you mean by REMOVE?
All values for that column are null or not? if not, then can those value removable?
NULL means no value, how can you remove non-existing value?
Update the null column to default value is one way.
the other is to drop the column and add it again together with your not -null constraint.
But I definitely wouldn`t recommend this approach in your case since some of your records have values for that column. -
How to find max value from a list of numbers stored in a varray?
hi,
Can any body help me to get the max value from a list of numbers stored in a varray?
thanks in advance....
regards
LaxmiNarsimhaYes. Could you post what you have tried before we start helping you in this?
-
How To Change 'ALL' Value from Radio button
Is it possible to change the 'ALL' value that is defaulted in the radio button group in BEx Web Designer? Instead of showing as 'ALL' I would like it to display 'Show All Products'
Create a custom Javascript which will replace the text for ALL on the onload event of the web template.
Thanks. -
How to check if all values from a dataset has come to an internal table
How to check if all values from a dataset has come to an internal table ?
Hi,
After OPEN DATASET statement check if sy-subrc = 0 if its success then proceed with split statement and save the dataset values into a internal table and while debugging the internal table you will find that whether all values get into internal table.
Checking sy-subrc after OPEN DATASET statement is must to fill up the values in the internal table.
For e.g.
OPEN DATASET p_inpfile FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc NE 0.
WRITE :/ 'No such input file' .
EXIT.
ELSE.
READ DATASET p_inpfile INTO loc_string.
IF sy-subrc NE 0.
EXIT.
ELSE.
CLEAR loc2.
*Spliting fields in the file-
REPLACE ALL OCCURRENCES OF '#' IN wa_string WITH ' '.
SPLIT wa_string AT const INTO loc2-pernr
loc2-werks
loc2-persk
loc2-vdsk1.
Hope you get some idea.
Thanks,
Sakthi C -
How can i get the all values from the Property file to Hashtable?
how can i get the all values from the Property file to Hashtable?
ok,consider my property file name is pro.PROPERTIES
and it contain
8326=sun developer
4306=sun java developer
3943=java developer
how can i get the all keys & values from the pro.PROPERTIES to hashtable
plz help guys..............The Properties class is already a subclass of Hashtable. So if you have a Properties object, you already have a Hashtable. So all you need to do is the first part of that:Properties props = new Properties();
InputStream is = new FileInputStream("tivoli.properties");
props.load(is); -
How can i get all values from jtable with out selecting?
i have one input table and two output tables (name it as output1, output2). Selected rows from input table are displayed in output1 table. The data in output1 table is temporary(means the dat wont store in database just for display purpose).
Actually what i want is how can i get all values from output1 table to output2 table with out selecting the data in output1 table?
thanks in advance.
rajaYou could set the table's data model to be the same:
output2.setModel( output1.getModel() ); -
How to find all the tables associated for a particular transaction
Hi-
May I know how to find all the tables, related(foreign key) tables for a transaction within SAP GUI?
Up to my technical knowledge, this can be achieved by looking database diagrams from DB level. But that would be for entire database as a whole. What I'm expecting is to see transaction level relative tables that too from SAP GUI. Please share the possibilities if any.
Regards
SekharDear Micky Oestreich
May be we possess expertise or high level experience, it should not show up in our way of communication. Every professional starts with the basic stuff to learn. When the question is raised in such minimum polite way, the same level of courtesy is expected in return. If you felt my question was basic, you might have refused it gently. If you are in good mood or bad mood it doesn't matters.
Hi Vengal Rao
Thanks for your response. It helped me.
Regards
Sekhar -
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. -
How to find these values fall in what time?
Post Author: newcruser
CA Forum: General
From 9 AM to 5 PM time range..how to find these values fall where?.
Is that done using group selection method?. Please give me idea and direction
UserId Type login logout1 1 2008-04-13 09:30:42 2008-04-13 10:30:122 2 2008-04-13 09:30:12 2008-04-13 11:00:323 1 2008-04-13 10:30:32 2008-04-13 12:56:234 2 2008-04-13 10:30:42 2008-04-13 12:00:345 2 2008-04-13 11:30:34 2008-04-13 13:40:236 1 2008-04-13 12:30:43 2008-04-13 13:00:437 1 2008-04-13 13:20:43 2008-04-13 14:45:218 2 2008-04-13 14:30:42 2008-04-13 15:15:599 1 2008-04-13 15:00:42 2008-04-13 16:30:4210 1 2008-04-13 16:20:42 2008-04-13 17:00:00Post Author: newcruser
CA Forum: General
In my case minimum (login) time changes and maximum(logout) time changes everyday.
I want to create from minimum (login) to maximum(logout) for every hour, how many people are online. How to do?.
UserId login logout1 2008-04-13 09:30:42 2008-04-13 10:30:122 2008-04-13 09:30:12 2008-04-13 11:00:323 2008-04-13 10:30:32 2008-04-13 12:56:234 2008-04-13 10:30:42 2008-04-13 12:00:345 2008-04-13 11:30:34 2008-04-13 13:40:236 2008-04-13 12:30:43 2008-04-13 13:00:437 2008-04-13 13:20:43 2008-04-13 14:45:218 2008-04-13 14:30:42 2008-04-13 15:15:599 2008-04-13 15:00:42 2008-04-13 16:30:4210 2008-04-13 16:20:42 2008-04-13 17:00:00
i found minimum (login) and maximum(logout) using below formula. Now i want to find every hour from minimum (login) to maximum(logout) , so i can use each hour value in formula to calculate how many people are online for that particular time. How to do that?.
@Minimum
DatePart("h",(Minimum ()))
@Maximum
DatePart("h",(Maximum())) -
How to get the values from popup window to mainwindow
HI all,
I want to get the details from popup window.
i have three input fields and one search button in my main window. when i click search button it should display popup window.whenever i click on selected row of the popup window table ,values should be visible in my main window input fields.(normal tables)
now i am able to display popup window with values.How to get the values from popup window now.
I can anybody explain me clearly.
Thanks&Regards
kranthiHi Kranthi,
Every webdynpro component has a global controller called the component controller which is visible to all other controllers within the component.So whenever you want to share some data in between 2 different views you can just make it a point to use the component controller's context for the same. For your requirement (within your popups view context) you will have have to copy the component controllers context to your view. You then will have to (programmatically) fill this context with your desired data in this popup view. You can then be able to read this context from whichever view you want. I hope that this would have made it clear for you. Am also giving you an [example|http://****************/Tutorials/WebDynproABAP/Modalbox/page1.htm] which you can go through which would give you a perfect understanding of all this. In this example the user has an input field in the main view. The user enters a customer number & presses on a pushbutton. The corresponding sales orders are then displayed in a popup window for the user. The user can then select any sales order & press on a button in the popup. These values would then get copied to the table in the main view.
Regards,
Uday -
Re: [iPlanet-JATO] Re: Retrieving all Values from a Tiled View
Todd,
Let me try to explain you this time. I have a text field in a TiledViewBean.
When I display the page, the text field
html tag is created with the name="PageDetail.rDetail[0].tbFieldName" say
five times/rows with same name.
The html tags look like this.
<input type=text name="PageDetail.rDetail[0].tbFieldName" value=""
maxlength=9 size=13>
<input type=text name="PageDetail.rDetail[0].tbFieldName" value=""
maxlength=9 size=13>
<input type=text name="PageDetail.rDetail[0].tbFieldName" value=""
maxlength=9 size=13>
When the form is submitted, I want to get the text field values using the
method getTbFieldName().getValues() which
returns an array object[]. This is in case where my TiledViewBean is not
bound and it is working fine.
Now in case when my TiledView is bound to a model, it creates the html tags
as follows.
<input type=text name="PageDetail.rDetail[0].tbFieldName" value=""
maxlength=9 size=13>
<input type=text name="PageDetail.rDetail[1].tbFieldName" value=""
maxlength=9 size=13>
<input type=text name="PageDetail.rDetail[2].tbFieldName" value=""
maxlength=9 size=13>
Now when I say getTbFieldName().getValues() it returns only the first
element values in the object[] and the rest of the
values are null.
May be we need to create a utility method do get these values from
requestContext.
raju.
----- Original Message -----
From: Todd Fast <toddwork@c...>
Sent: Saturday, July 07, 2001 3:52 AM
Subject: Re: [iPlanet-JATO] Re: Retrieving all Values from a Tiled View
Raju.--
I wanted to know how the getValues() method works the reason being,
when the tiled view is NOT bound to a model, it populates all the
fields with the same name as some thing likeI'm afraid I don't understand your point--can you please clarify? Do you
mean "value" instead of "name"?
What are you trying to do? What behavior are you expecting but notseeing?
>
Without further clarification, I can say that the setValues() methodsNEVER
populates data on multiple rows of a (dataset) model, nor does it affect
multiple fields on the same row. Perhaps what you are seeing is theeffect
of default values. Model that derive from DefaulModel have the ability to
carry forward the values set on the first row to other rows in lieu ofdata
in those other rows. This behavior is for pure convenience and can be
turned off, and it is turned off for the SQL-based models.
Todd
[email protected]Hi,
I wanted to know how the getValues() method works the reason being,
when the tiled view is NOT bound to a model, it populates all the
fields with the same name as some thing like
PageDetail.rDetail[0].tbFieldValue
PageDetail.rDetail[0].tbFieldValue
in which case, the getValues() method works fine.
But in case where the tiled view is bound to a model, it populates
with different field names such as,
PageDetail.rDetail[0].tbFieldValue
PageDetail.rDetail[1].tbFieldValue
in this case, the getValues() doesn't work. Any soultion to this?
We are using Moko 1.1.1.
thanks in advance,
raju.
--- In iPlanet-JATO@y..., "Todd Fast" <toddwork@c...> wrote:
Does anyone know of is there a single method to get all values of a
display
field in a tiled view without having to iterate through all the
values ie
resetTileIndex() / nextTile() approach.
ie Something that returns an Object[] or Vector just like ND returned a
CspVector. I tried using the getValues() methods but that allways returns
a
single element array containing the first element.
(I think now, that method is used for multi selecteable ListBoxes)Actually, no. We can add this in the next patch, but for now, I'd recommend
creating a simple utility method to do the iteration on an arbitrary model
and build the list for you.
Todd -
How to find the value of a variable in other program
How to find the value of a variable in other program say I am in a FM and this FM is being called in from other program and I want to know some of the variable details of the program from the FM itself. Imagine if this is a txn. and I need to know the details from some of the programs while executing the same transaction
Regards
VinHi Vinayak,
you will be having your first program values in internal table or some variables,
when you are calling the second program you wii use like this,
SUBMIT <Second Program Name> USING SELECTION-SCREEN '1000'
WITH s_emp(second program select-options) IN t_emp(first program variables)
WITH p_chk EQ t_chk
WITH p_r1 EQ t_r1
WITH p_month EQ t_month
WITH s_cust1 IN t_cust1
WITH p_r2 EQ t_r2
WITH s_cust2 IN t_cust2
WITH s_week IN t_week
AND RETURN.
you have pas like this to get your first program details.
Maybe you are looking for
-
I have two first Gen Apple TV's and a new MAC Book Pro. I have about 600GB of music and 40GB of photos located on an external hard drive (Western Digital). In the past, I have not run into any issues when syncing music or photos. Recently, I get an
-
How can I sync only my music and not my videos
I want to put videos on my iPod but I want to delete them off of my hard drive after and from itunes, but I also want my iPod to automatically sync my music. The problem is that if I have autosync on to update my music then it deletes the videos on m
-
Public Sector Procurement - Origin Acceptance?
My client is a government agency. In the procurement process they have described a process of providing acceptance of goods at the suppliers plant prior to the delivery and receipt at the ordering plant. I have searched for functionality to meet thi
-
XL Reporter Installation error
Hi, I am attempting to install Xl Reporter PL 30 at a site that has SAP B1 2005 SP01 PL 31 and I am getting the following error message at one of the client machines 'SAP Business One DI SDK is required but not found !' This only occurs on one client
-
My Fan(s) have stopped working properly. - How to send in 4 repairs?
I have a HP Pavillion dv6-2111er. I bought it in Russia. The warranty is ofcourse long gone. I, however, live in Belgium. Problem: fans SEEM to still rotate, but very slowly. "Speedfan" shows that they're not rotating at all as the RPM = 0. Because o