Need to caliculate char's values
Hi All,
lets say ex:
I hav a Char and its values range is 2000 to 40,000.
and i have Counter , restricted keyfig 's are in Structure Now i want to caliculate Char values into Counter and into restricted keyfig's
example : report output
Counter......char'values........ result
2........... ......2000..............2000
3..................5000..............15000
....etc
Can anyone help me in this
Thanks,
Srini
Hi,
Use formula variable for that through which you can calculate the charcateristic values.
Make a formula in the columns thorugh right click.
Make a formula variable thorugh right click on this formula.
Make it replacement path type.
Then give the "characteristic" name as Counter if counter is char.and you want o multiply counter with char.
For char value do the same make it also as replacement path variable in the next window give "replace with" as key and then in next "dimension" as number .
Now you can use this formula variable for calculation in the formula just multiply it with the counter.
Do remeber to add counter to the columns if it is key figure.then only you will get option to use it in the formula.
this formula will be your result.
Hope it helps
Thanks
Similar Messages
-
CHAR's value in the query but not in the report??
Hi all,
I loaded master data and crm transaction data from ODS to Cube. The data is in the cube but there is no value in my report when running it. EX: there are some CHARs in my report, I checked those CHARs have value in the query but it shows 'not assign' in my report when I run it. What happen?
Thanks.
J.Please see below text and also the sent link..
If a navigation attribute is used in an aggregate, this aggregate has to be adjusted using a change run as soon as new values are loaded for the navigation attribute (when master data for the characteristic belonging to the navigation attribute is loaded.) This change run is usually one of the processes that are critical to the system performance of a production BW system. This is why, by avoiding using navigation attributes or not using navigation attributes in aggregates, you can improve the performance of this process. On the other hand, not using navigation attributes in aggregates can lead to poor query response times. The data modeler needs to find the right balance.
http://help.sap.com/saphelp_nw04/helpdata/en/b2/e50138fede083de10000009b38f8cf/frameset.htm
cheers,
Vishvesh -
As per requirement I need to map Char as KF
Dear Experts,
As per requirement I need to map Char as KF
Char data type Char but need to KF Number
Please Guide me
Regards,
JKDear Rajendra,
Thanku
But as per our client requirement char value 1,5,25, show in report Max ,Min and Avg
Please guide me
Regards,
Jk -
Need to convert a binary value into decimal
Hi i need to convert a binary value which i would be getting as a string object to a decimal value......need code for the same
Check Integer.parseInt
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Integer.html#parseInt(java.lang.String,%20int) -
Urgent please- need help to retreive all values within a range
Hi,
I need to retreive all the values(ID) within a range no matter if it is available in the database or not. I just need this in a sql query not a stored proc.
for ex:
select id, name, age
from employee
where id between (1 and 10)
It returns
id name age
1 x 22
3 y 26
4 z 23
10 c 32
I need a query which should return values as follows.
id name age
1 x 22
2
3 y 26
4 z 23
5
6
7
8
9
10 c 32
quick replies will be appreciated.This is one way of doing
select decode(id,null,lev,id),name,age from employee,(select level lev from dual
connect by level < 11)
where employee.id(+)=lev
The above will display between 1 and 10. If you want to specify some other range then the below query will do,
select decode(id,null,lev,id),name,age from employee,(select level lev from dual
connect by level <=10
minus
select level lev from dual
connect by level <5)
where employee.id(+)=lev
The above query will display between 5 and 10 -
Need to get the selected values from the selectManyShuttle
Hi,
I am using ADF11g newer version.
I have a selectManyShuttle and a command button. Need to insert all the selected values on the right hand side of the selectManyShuttle into a database table.
I created the selectManyShuttle with the values. Need help in getting the values on the right hand side.
<af:selectManyShuttle value="#{bindings.UserMgmtVO1.inputValue}"
id="sms2">
<f:selectItems value="#{bindings.UserMgmtVO1.items}"
id="si6"/>
</af:selectManyShuttle>
Any sample code or link is really appreicated.
ThanksThanks for the reply.
I am using a View Object and I dropped it as SelectManyShuttle
<af:selectManyShuttle value="#{bindings.UserMgmtVO1.inputValue}"
id="sms2"
valueChangeListener="#{POBacking.getSelectedValues}"
valuePassThru="true"
autoSubmit="true">
<f:selectItems value="#{bindings.UserMgmtVO1.items}"
id="si6"/>
</af:selectManyShuttle>
public void getSelectedValues(ValueChangeEvent valueChangeEvent) {
System.out.println("Testing Shuttle");
ArrayList list = new ArrayList(Arrays.asList(valueChangeEvent.getNewValue()));
String val = "";
String sqlStmt = "";
try {
if (list != null) {
for (int i = 0; i < list.size(); i++) {
int l = list.size() - 1;
val = list.get(l).toString(); //returns , delimited string
System.out.println(" value:" + val);
if (val != null) {
val = val.replaceAll("[\\[\\]]", ""); //remove []
StringTokenizer st = new StringTokenizer(val, ",");
int nto = st.countTokens();
for (int j = 0; j < nto; j++) {
String users = st.nextToken().trim();
System.out.println("Users:" + users);
//sqlStmt = " update xxpp_project_clip set clip_status='true', clip_seq = "+j * 10+
// " where project_id = "+rHdr.getAttribute("ProjectId") +
// " and clip_name ='"+ clip_Name +"'";
//System.out.println("sqlStmt:" + sqlStmt);
//stmt.executeUpdate(sqlStmt);
//am.getDBTransaction().commit();
//if (stmt != null)
// stmt.close();
// am.getDBTransaction().commit();
} catch (Exception ex) {
ex.printStackTrace();
I don't see the values in the list.
I gets printed as
value:[Ljava.lang.Integer;@1b10691
Users:Ljava.lang.Integer;@1b10691
how to get the individual values in the list?
Thanks
Saru -
Need to store multiple session values in flex
Hi,
I need to store multiple session values in flex based on the user who logged in.
For Example, if a user logged in as an administrator and in another windows another user logged in as guest, i need to maintain two seperate session for the two different users.
Is it possible for maintaining different sessions.
Expecting your valuable response.
Thanks
Jude PaulLook at Shared Objects. You can store this information in them by creating a unique object for each type of user.
-
I need to know about a value on my credit card .. I do not own
I need to know about a value on my credit card .. I do not own
Sorry, but I do not understand your question. Would you please explain in more detail? If you're not comfortable in English, try posting in your native language.
Regards. -
Need to fetch the column value which is not null
Hi All,
I have table
please find the table with the values
emp
eno ename addr1 addr2 addr3 postcode phone Default
1 null null null null null null Abc
null name null null null null null Abc
null null null null null null 123 Abc
5 null null abcdef null null 123 Abc
i need select the column with value alone.
Is it possible with a query.
My output for 1 row should be
eno,default
1, abc
I dont want to fetch the null value columns. I need to query to fetch for whole table.
Regards,
Mohanarangan KTable values
eno ename addr1 addr2 addr3 postcode phone Default
1 null null null null null null Abc
null NAME null null null null null Abc
null null null null null null 123 XYZ
5 null null abcdef null null 123 XYZ
select from emp where default = 'XYZ'
It should fetch the
O/P:
phone default
123 XYZ
eno addr2 default
5 abcdef xyz
this way my output should appear. can you help me in this -
Error: this type needs one of the following values('true','false')
I'm trying to use <c:if> in a jsp (in Workshop 8.1), as in:
<c:if test="1 == 1">
<!-- something here -->
</c:if>
But, I get the following message when I hover over the error indicator
at the test:
Error: this type needs one of the following values('true','false')
It will actually work if I do:
<c:if test="true">
<!-- something here -->
</c:if>
but, of course, that's useless.
Am I missing something here?David Karr wrote:
> The value of the "test" attribute needs to be an Expression Language expression. Try changing it to "${1 == 1}", and that should work.
Actually, I had tried that, and it would have worked that way if I had
the right taglib declaration -- I had accidentally left in the rt
versions, so a <%= test %> type of expression worked.
But, that's not the way I wanted to do it, so I put the non-rt versions
in, along with tld and jar files that I had in some other directories,
then it worked fine. In the process, when searching my hard drive for
standard.jar, I noticed I had four or five different versions, each with
a slightly different size. Of course, I had to tinker, and downloaded
the zip from Apache, figuring it would be best to have a matched set of
tlds and jars.
And now I get an error that the matching class cannot be found:
> ERROR: response.jsp:1: Package org.apache.taglibs.standard.tag.el.core contains no member type of this name.
and
> ERROR: response.jsp:14: The tag handler class was not found "org.apache.taglibs.standard.tag.el.core.IfTag".
But, if I navigate the standard .jar that is in my WEB-INF/lib
directory, lo and behold, there is the file IfTag.class in what appears
to be the correct package. -
It's mandatory to Create Char and Values in COPA
Hello Expert.
Can any one answer to the question to create Char and values in copaHi,
Based on your required, we may try the following workarounds:
1. Create the sub-reports
Build a report based on the one query/table. Try to keep it simple, just some nice looking rows of data. Ok, save this report.
Build a report based on each additional query/table you have. So, you wind up with
multiple reports.
Create a new blank report, and drag + drop each of those reports into the detail section one after another. The result is all 7 reports will appear as one report.
2. Build a nice large form with multiple large text box or however many different sets of text/comments you want in the reports.
For more detail information, please refer to the following link:
http://answers.microsoft.com/en-us/office/forum/office_2010-access/access-combining-several-query-results-into-1/d2500c81-9bb0-4c6e-a33f-024bf1e2a5f2
Regards,
George Zhao
TechNet Community Support -
Pr00 decimal values needs instead off rounding the value
In export sales Pr00 condition value is rounding off i need to be in decimal values
i have checked in Condition type V/06 rounding fields it is not effecting and also OB90 and OY04
example rounding off 26 USD, but at actual it should 25.58 exchange rate is 43 and qty is 100
can any body suggests where the setting ar requiredHi,
Please check the Rounding rule property of the condition type 'PR00'. It must have been set to Round up rather than Commercial.
Change the Rounding rule property to Commercial. I guess this will solve your purpose. -
Need to Modify a regitry value for a list of computers on my Network
Hey guys, first off I don't have any formal scripting experience, I just try to figure stuff out as needed. Anyway we use Citrix XenApp, and currently all of our computers point to a URL to fetch the assets they need.
I need to switch the URL they are all pointing at.
The registry entry is location here: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\PNAgent\ and there is a string in there called ServerURL and the data value is: http://theOLDurl
At first I was thinking about exporting that key, which works, but I don't know how to execute a .reg file on a list of remote computers, so I thought I would try a powershell script.
I tried the following:
PS C:\> Set-Location HKLM:\Software\Wow6432Node\Citrix\PNAgent
PS HKLM:\Software\Wow6432Node\Citrix\PNAgent> Set-ItemProperty . ServerURL "http://theNEWurl"
I get Set-ItemProperty : Requested registry access is not allowed.
At line:1 char:17 (which is the . )
+ Set-ItemProperty <<<< . ServerURL "http://theNEWurl"
+ CatagoryInfo : PermissionDenied: <HKEY_LOCAL_MACH...\Citrix\PNAgent:String) [Set-ItemProperty], SecurityException
+ FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.SetItemPropertyCommand
I tried it this way as well, with pretty much the same result:
PS C:\> Set-ItemProperty -Path HKLM:\Software\Wow6432Node\Citrix\PNAgent -Name ServerURL -Value http://theNEWurl
I am an administrator, I tried getting creds with my domain admin account, I still get similar errors, what I am doing wrong or am I missing something really easy to make this change happen?
Oh once i figured it out I was planning on using a list of remote computer names like this to put to a list:
Invoke-Command -cn (gc c:\theNEWurlList.txt)I think this is the part that is going to be hard to figure out, I tried:
PS C:\> Invoke-Command -cn (gc c:\newURLlist\list.txt) -cred $cred {pushd;sl HKLM:\Software\Wow6432Node\Citrix\PNAgent;
Set-ItemProperty . ServerURL "http://theNewurl" ; popd}
Right now the c:\newURLlist\list.txt only has one computer in it called remote-computer
Then I get the following error:
[remote-computer] Connecting to remote server failed with the following error message : The client cannot connect to the des tination specified in the request. Verify that the service on the destination is running and is accepting requests. Con sult the
logs and documentation for the WS-Management service running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following command on the destination to analyze and configure the WinRM service: "winrm quickconfig".
For more information, see the about_Remote_Troubleshooting Help topic.
+ CategoryInfo : OpenError: (:) [], PSRemotingTransportException
+ FullyQualifiedErrorId : PSSessionStateBroken
I'm totally lost now and if I cant do computers remotely then the script really doesn't help me much. Ah! Any ideas? -
How can we Restict the Char single value Variables with , , =
Hi Experts,
How can we Restict the Char value Variables with <, >, <= (without selecting Inverval or only passing single value)
For Example
We have a standard Query 0FIAR_C03_Q1005, in this
New Selection
"1 - 15 Days, Posting Date<=Key Date, Clearing Date>Key Date"
This is restricted with the
Clearing(0CLEAR_DATE)
<Clearing key date(0P_KEYD3) It is a single value SAP Exit Varible
PostingDate(0PSTNG_DATE)
<= Posting keydate(0P_KEYD3) It is a single value SAP Exit Varible
When seeing these 0P_KEYD3, 0P_KEYD3 variables in the New selection screen they looks like >0P_KEYD3, <=0PSTNG_DATE
if you define any custom variables these are looks like =ZV_DATE.
to enable < , >, <= symbols for variables what we need to do.
In other way
Say we created one variable ZV_DATE single value, processing type as customer exit.
for this we populated current day,
Now Requirement is we need to display the all the records which are <= current date,
instead of passing low and high values, i want to restrict the calday <=ZV_DATE
New selection
0calday
<=ZV_DATE
How can we achive this, this is how the business content report having the restrictions
Please sugget me.
Thanks
Chandra
Edited by: Chandra Gandla on Jun 18, 2010 11:01 AM
Edited by: Chandra Gandla on Jun 18, 2010 11:01 AMOk,
In the InfoObject 0calday in the query designer under the filter area, under characteristic restrictions right-click over that InfoObject (0calday).
In the next window (select Values for [0CALDAY] Calendar Day in the dropdown box for "Show" choose Value Ranges. Under the word "Between" dropdown box select "Less than or equal to"
Below that word click on the button of the dropdown box Select from list.
In the new window select instead of History Variables and double-click on your variable ZV_DATE.
Click on the right blue arrow to move it to the right.
And there you go.
Tip: It exists a SAP standard variable named 0DAT which is exactly the current date (don't need to use ZV_DATE variable).
Diogo. -
Formula variable to add three char. date value together?
We've been struggling to use formula variable (Replacement Path), but never been sucessful!
We have three row date type of char which are c1, c2, and c3. Now users would like to see a summation of the three date char. We believe we will have to use Replacement Path formula variable for each of the char., but somehow the formula variable always show "X" in column.
Any idea?
Thanks!Hello Kevin,
you can not summ characteristics but only key figures.
if you want to see the summ of a key figure for certain characteristic values you need a restricted key figure (with aggregation type sum) and a selection for your characteristic for the 3 values.
regards
Cornelia
Maybe you are looking for
-
Keychain error -25299 occurred while creating a System Keychain entry for t
Keychain error -25299 occurred while creating a System Keychain entry for the username "Angela Rosario" and URL "afp://Angela%[email protected]/Data". I keep getting the error above every time I try to set up my time capsule Could use some help? Maha
-
Hi, I want to remove a company(created for test purpose) from my company list. How can I do that?
-
ORA-00600: xspggepGenPSErase03 during AW UPDATE
Hello, While refreshing a cube we got this ora - 600 error. ORA-37162: OLAP error XOQ-00703: error executing OLAP DML command "(UPDATE GLOBALDWOLAP.GLOBALHEALTHDWD : ORA-37605: error during OLAP AW UPDATE ORA-00600: internal error code, arguments: [x
-
Cross Tab Column Header and Embedded or Calculated Member
Hello All I am needing some help with a Cross Tab in CR2008. My Cross Tab look as follows: Rows______________Columns ......................................Fiscal Year Account Number...........Summarized Field (Value Field) The report spans three Fisc
-
Original picture changed while saving the edited one
Hi, I am an absolute beginner using Camera Raw. I just edit a picture in Camera Raw 5.7. When I was finished I saved the edited picture using a new name. Unfortunatly the original picture has also changed. So now I have two identical edited pictures