Problem with compound objects in IP input-ready queries
Hi, gurus!
I have following problem:
In IP input-ready query I have 2 restricted key figures (KF1 and KF2):
KF1 restrictions:
Char1 = X1
Char2 = 100
KF2 restrictions:
Char1 = X2
Char2 = 100
Char2 is compound with Char1, so KF1 should be restricted as Char2 = X1/100.
That query in example doesn't work, all cells are grey. But, If I'll change restriction of Char2 in any key figures everything will be fine. It looks like the system ignores Char1 restriction. E.g.
KF1 restrictions:
Char1 = X1
Char2 = 101
KF2 restrictions:
Char1 = X2
Char2 = 100
(Ok)
I think it is some kind of system error, but can't find the related Nota. Maybe somebody already solved the same problem?
Edited by: Mikhail Sychev on Jun 28, 2011 8:54 AM
Hi Mikhail,
This is typical issue with compounded infoobjects.
I can think about 2 solutions.
1) Create a hierarchy on the compounded infoobject and restrict the KFs by hierarchy nodes rather than direct filter values on the infoobject.
2) If not, create an nav attribute on the compunded infoobject, in which you have to concatenate values of both the character values like 'X1100'. You this navigational attribute in the keyfigure filter.
Thanks,
Krishnan
Similar Messages
-
Problem with Set/Get volume of input device with single channel
from Symadept <[email protected]>
to Cocoa Developers <[email protected]>,
coreaudio-api <[email protected]>
date Thu, Dec 10, 2009 at 2:45 PM
subject Problem with Set/Get volume of input device with single channel
mailed-by gmail.com
hide details 2:45 PM (2 hours ago)
Hi,
I am trying to Set/Get Volume level of Input device which has only single channel but no master channel, then it fails to retrieve the kAudioDevicePropertyPreferredChannelsForStereo and intermittently kAudioDevicePropertyVolumeScalar for each channel. But this works well for Output device.
So is there any difference in setting/getting the volume of input channels?
I am pasting the downloadable link to sample.
http://www.4shared.com/file/169494513/f53ed27/VolumeManagerTest.html
Thanks in advance.
Regards
Mustafa
Tags: MacOSX, CoreAudio, Objective C.That works but the the game will not be in full screen, it will have an empty strip at the bottom.
I actually found out what's the problem. I traced the stageWidth and stageHeight during resizing event. I found out that when it first resized, the stage width and height were the size with the notification bar. So when I pass the stage into startling, myStarling = new Starling(Game,stage), the stage is in the wrong size. For some reason, I can only get the correct stage width and height after the third resizing event.
So now I need to restart Starling everytime a resizing event happened. It gives me the right result but I am not sure it is a good idea to do that.
And thanks a lot for your time kglad~I really appriciate your help. -
Hi,
I have problem with embedded objects which contained embedded objects.
When I create an Object in the persistent memory and commit this object I get the following error:
ORA-22805: cannot insert NULL object into object tables or nested tables
In the constructor of my persisten object I create the embedded members in the transient memory:
ATestPersObj::ATestPersObj() : m_count(0), m_lang(NULL), m_cost(NULL) {
m_lang = new AEnumLanguage_OraType();
m_cost = new AAmount_OraType();
}Or when I dereference a reference I get this error:
ORA-00600: internal error code, arguments: [kokeicadd2], [16], [5], [], [], [], [], []
Can somebody give me a hint?
I've defined the following Type:
CREATE OR REPLACE TYPE AENUM_ORATYPE AS OBJECT (
VALUE NUMBER(10,0)
) NOT FINAL ;
CREATE OR REPLACE TYPE AENUMLANGUAGE_ORATYPE UNDER AENUM_ORATYPE (
) FINAL " );
CREATE OR REPLACE TYPE ACURRENCY_ORATYPE AS OBJECT (
ISONR NUMBER(5,0)
) FINAL ;
CREATE OR REPLACE TYPE AAMOUNT_ORATYPE AS OBJECT (
CCY ACURRENCY_ORATYPE,
LO32BITS NUMBER(10,0),
HI32BITS NUMBER(10,0)
) NOT FINAL ;
CREATE OR REPLACE TYPE ATESTPERSOBJ AS OBJECT (
COUNT NUMBER(4),
LANG AENUMLANGUAGE_ORATYPE,
COST AAMOUNT_ORATYPE
) FINAL ;
oracle::occi::Ref<ATestPersObj> pObjR = new(c.getConnPtr(), "TTESTPERSOBJ") ATestPersObj();
pObjR->setCount(i+2001);
pObjR->setLang(AEnumLanguage(i+1));
pObjR->setCost(AAmount(ACurrency(), 2.5));
c.commit();
c.execQueryRefs("SELECT REF(a) FROM TTESTPERSOBJ a", persObjListR);
len = persObjListR.size();
{for (int i = 0; i < len; i++) {
oracle::occi::Ref<ATestPersObj> pObjR = persObjListR;
pObjR->getCount();
pObjR->getLang();
c.commit();
With kind regards
Daniel
Message was edited by:
DanielF
Message was edited by:
DanielFHi,
I have problem with embedded objects which contained embedded objects.
When I create an Object in the persistent memory and commit this object I get the following error:
ORA-22805: cannot insert NULL object into object tables or nested tables
In the constructor of my persisten object I create the embedded members in the transient memory:
ATestPersObj::ATestPersObj() : m_count(0), m_lang(NULL), m_cost(NULL) {
m_lang = new AEnumLanguage_OraType();
m_cost = new AAmount_OraType();
}Or when I dereference a reference I get this error:
ORA-00600: internal error code, arguments: [kokeicadd2], [16], [5], [], [], [], [], []
Can somebody give me a hint?
I've defined the following Type:
CREATE OR REPLACE TYPE AENUM_ORATYPE AS OBJECT (
VALUE NUMBER(10,0)
) NOT FINAL ;
CREATE OR REPLACE TYPE AENUMLANGUAGE_ORATYPE UNDER AENUM_ORATYPE (
) FINAL " );
CREATE OR REPLACE TYPE ACURRENCY_ORATYPE AS OBJECT (
ISONR NUMBER(5,0)
) FINAL ;
CREATE OR REPLACE TYPE AAMOUNT_ORATYPE AS OBJECT (
CCY ACURRENCY_ORATYPE,
LO32BITS NUMBER(10,0),
HI32BITS NUMBER(10,0)
) NOT FINAL ;
CREATE OR REPLACE TYPE ATESTPERSOBJ AS OBJECT (
COUNT NUMBER(4),
LANG AENUMLANGUAGE_ORATYPE,
COST AAMOUNT_ORATYPE
) FINAL ;
oracle::occi::Ref<ATestPersObj> pObjR = new(c.getConnPtr(), "TTESTPERSOBJ") ATestPersObj();
pObjR->setCount(i+2001);
pObjR->setLang(AEnumLanguage(i+1));
pObjR->setCost(AAmount(ACurrency(), 2.5));
c.commit();
c.execQueryRefs("SELECT REF(a) FROM TTESTPERSOBJ a", persObjListR);
len = persObjListR.size();
{for (int i = 0; i < len; i++) {
oracle::occi::Ref<ATestPersObj> pObjR = persObjListR;
pObjR->getCount();
pObjR->getLang();
c.commit();
With kind regards
Daniel
Message was edited by:
DanielF
Message was edited by:
DanielF -
Problem with inherited Objects
Hi,
I have a problem with inherited objects inside Flex using
wsdl as the source of the object. The AS-classes are generated
inside Flex Builder 3.
Inside the wsdl I have 2 complex types:
<complexType abstract="true" name="PersistentObject">
<sequence>
<element name="id" nillable="true" type="xsd:string"/>
<element name="insertTimeStamp" nillable="true"
type="xsd:dateTime"/>
<element name="insertUsername" nillable="true"
type="xsd:string"/>
<element name="updateTimeStamp" nillable="true"
type="xsd:dateTime"/>
<element name="updateUsername" nillable="true"
type="xsd:string"/>
</sequence>
</complexType>
and
<complexType name="Contact">
<complexContent>
<extension base="tns3:PersistentObject">
<sequence>
<element name="birthday" nillable="true"
type="xsd:dateTime"/>
<element name="firstName" nillable="true"
type="xsd:string"/>
<element name="lastName" nillable="true"
type="xsd:string"/>
<element name="middleName" nillable="true"
type="xsd:string"/>
<element name="newPassword" nillable="true"
type="xsd:string"/>
<element name="password" nillable="true"
type="xsd:string"/>
<element name="title" nillable="true"
type="xsd:string"/>
<element name="username" nillable="true"
type="xsd:string"/>
</sequence>
</extension>
</complexContent>
</complexType>
The classes in actionscript seem plausable:
public class PersistentObject
* Constructor, initializes the type class
public function PersistentObject() {}
public var id:String;
public var insertTimeStamp:Date;
public var insertUsername:String;
public var updateTimeStamp:Date;
public var updateUsername:String;
and
public class Contact extends PersistentObject
* Constructor, initializes the type class
public function Contact() {}
public var birthday:Date;
public var firstName:String;
public var lastName:String;
public var middleName:String;
public var newPassword:String;
public var password:String;
public var title:String;
public var username:String;
When I want to retreive an object of type Contact, it seems
that only a couple of entries are filled. While debugging the flex
XMLDecoder, I noticed something strange. It seems, like the decoder
is expecting the result xml data to be in alphabetical order:
birthday, firstname, lastname, etc. But since the object is
inherited, the data that is actually received contains elements
from the parent class: birthday, firstname, id, inserttimestamp,
The resulting object has just birthday and firstname filled,
which is somehow wrong. This seems to be a problem inside the
parser itself. What can I do?I am having a problem with an extended class as well.
When I step through the code, everything is going fine and the decoder (mx.rpc.xml::XMLDecoder) sees that the class is an extension and wants to get the values for the superclass first. When it gets into getApplicableValues(), it's looking for the values to be in the order of the definition which would be ok if the values collection didn't include the values from the subclass as well! It goes through the whole definition and doesn't find anything for the superclass because the values aren't where it expects them. When it pops back up to the subclass and starts to decode those values, it finds them because the definition order and values order match.
Is this a known issue? Or, am I misunderstanding something?
Thanks,
Chuck -
Problem with shared objects synchoronization.
I encountered a small problem with shared objects.
I'm working on a program that creates chat rooms of a fixed
size of 30 users. When the 31th user comes, a new room is created.
The idea is that the client first connects to the first room
and checks if it's full by connecting to shared objects. If it is
full, connection is closed and process is reapeated on a new
instance of the application.
I use a function to connect to an instance, which takes as a
parameter a number (1 for instance room_1, 2 for room_2, etc). The
function itself creates the necessary Netconnection and
sharedObject objects.
If a room is full, Netconnections and sharedObjects are
closed and function is called again with another number.
I have no problem for connecting to the first room, but after
closing the first connection and connecting to the new room, there
seem to be some problems with the shared objects (especially,
OnSync doesn't seem to execute again after the connection to the
shared objects of the new instance).
I was wondering if you had any ideas what could cause this.
Is it the use of the same variable names for connecting at two
different shared objects?
Here is the function :
function initStreams(room) {
client_nc = new NetConnection();
client_nc.connect("rtmp://192.168.0.4/Elearning/room_"+room);
in_ns = new NetStream(client_nc);
in_ns2 = new NetStream(client_nc);
Replay_video.attachVideo(in_ns);
out_ns = new NetStream(client_nc);
out_ns2 = new NetStream(client_nc);
in_ns.play("my_recorded_stream");
users_name = SharedObject.getRemote("users_name",
_root.client_nc.uri, false);
users_name.connect(_root.client_nc);
users_language = SharedObject.getRemote("users_language",
_root.client_nc.uri, false);
users_language.connect(_root.client_nc);
users_picture = SharedObject.getRemote("users_picture",
_root.client_nc.uri, false);
users_picture.connect(_root.client_nc);
users_finger = SharedObject.getRemote("users_finger",
_root.client_nc.uri, false);
users_finger.connect(_root.client_nc);
I you need more info, I can post more of the code on the
forum.
Any help would be really appreciatedI don't see any onStatus events in the code you posted above.
If you're defining the onstatus event outside the function, that's
the problem. When you define the shared object, you also need to
define it's onStatus event handler.
Also, you really should wait for the onStatus event of the
netConnection before you connect your sharedObjects. If you try to
connect the SO before the netConnection is established, the SO will
never connect. -
hi all,
i am having a problem with activeX objects.
my activeX ( Tree View) is wrking fine with windows2000
but when i am trying the same code with XP its saying dll missing.
do these activeX depends on OS also..
plz help me.hey Vishwas!
did you register the .dll?
do you work with vb.net?
which ServicePack do you have in Windows XP?
greetz
Matthias -
What is the problem with converting objects with gradients to gradient mesh?
What is the problem with converting objects with gradients to gradient mesh?
slange,
There may arise some smaller corruption states that may be cured by what you did, as you can see in the list. Sometimes, restarting thrice is needed.
The following is a general list of things you may try when the issue is not in a specific file (you may have tried/done some of them already); 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
If possible/applicable, you should save curent artwork first, of course.
1) Close down Illy and open again;
2) Restart the computer (you may do that up to 3 times);
3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
Even more seriously, you may:
6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
http://www.adobe.com/support/contact/cscleanertool.html -
I have too many problems with UserKeyMD Object
Hi everybody!!!......
I've too many problems with UserKeyMD object, this don't work, I have a Application which create the DataBase structure, but when try it for create the user key on "x" field in "ABC" table (x field is present on table, is db_Alpha with 8 chars, subtype is st_None) is raised the problem.
I try to create this way the key (VB example):
Dim oUserKeysMD As SAPbobsCOM.UserKeysMD
Set oUserKeysMD = oCompany.GetBusinessObject(oUserKeys)
oUserKeysMD.TableName = sTableName
oUserKeysMD.KeyName = sKeyName
oUserKeysMD.Unique = BoYesNoEnum.tYES
oUserKeysMD.Elements.ColumnAlias = sFieldName
oUserKeysMD.Add '<- here problem is raised
System.Runtime.InteropServices.Marshal.ReleaseComObject(oUserKeysMD)
I'm work in Delphi .Net and translate the source code of my function to VB.
P.D.:this source code at least work 2 times, but does not use it until today, I do not know because no longer it works now but.
excuse my ingles is very bad
thanks
regards
Francisco Troncoso
Chile.
Message was edited by: Francisco TroncosoHi, I using this names for my tables, fields and keys.
the table name is:
AOTI
the fields names are:
codigo alpha editsize 8
decrip alpha editsize 40
tipo alpha editsize 1 - valid values W, C - Default Value C
grupo1 alpha editsize 1 - valid values Y, N - Default Value N
grupo2 alpha editsize 1 - valid values Y, N - Default Value N
grupo3 alpha editsize 1 - valid values Y, N - Default Value N
grupo4 alpha editsize 1 - valid values Y, N - Default Value N
grupo5 alpha editsize 1 - valid values Y, N - Default Value N
grupo6 alpha editsize 1 - valid values Y, N - Default Value N
grupo7 alpha editsize 1 - valid values Y, N - Default Value N
grupo8 alpha editsize 1 - valid values Y, N - Default Value N
all fields have subtype none and the key name is :
AOPK1
ColumnAlias is codigo, when I try to create the table, fields and key with MetaDataOperatios example I have not problems but I try to create with my application I have the error.
Regards,
Franciso. -
Unposted values are not display in input-ready queries - BRAIN 485
Hi experts,
After installing the support package level from "7.00 SP16" to "7.00 SP21" we meet an issue in our input-ready queries.
When we use the setting "Access Type for Result Values" according to master data in a query with time characteristics in columns, the system error BRAIN 485 occurs & no cells are not displayed.
Any idea ?
Thanks in advance,
LaurentHi raj,
Thanks for your reply.
Please tell me with which BEx patch you have faced this issue.
We are on BI7.0 SP 19.
Thanks.
Regards,
Rik -
Input Ready Queries in Workbook are taking lots of time to save
Hi Folks,
We have workbook which contains input ready queries. When user enter planning values and save the inputted values then it is taking more than 30 minutes to save the data to real time infocube. We have some VBA code on this workbook which is used for formatting and displaying pop-ups when user enters wrong values. Even though we have VBA it should not be taking 30 mins to save.
Please suggest what might have went wrong.
Thanks.
Regards,
RikHi raj,
Thanks for your reply.
Please tell me with which BEx patch you have faced this issue.
We are on BI7.0 SP 19.
Thanks.
Regards,
Rik -
Convert to Formula using input ready queries
Hi,
Has anyone used converting to formula for input ready queries? When I use this for some reason all the values disappear in the rows and columns (including characteristic and key figure values). I would be interested to know if anyone has used this approach successfully.
Many thanks,Also I want to convert this update routine 3.5 to work in 7
fill the internal table "MONITOR", to make monitor entries
IF COMM_STRUCTURE-costelmnt+2(1) = '7'.
IF COMM_STRUCTURE-costelmnt+2(3) BETWEEN '700' AND '774'.
RESULT = '70'.
ELSEIF COMM_STRUCTURE-costelmnt+2(3) BETWEEN '775' AND '789'.
RESULT = '75'.
ELSEIF COMM_STRUCTURE-costelmnt+2(3) BETWEEN '790' AND '799'.
RESULT = '79'.
ENDIF.
ELSE.
CASE COMM_STRUCTURE-costelmnt+2(1).
WHEN '1'.
RESULT = '10'.
WHEN '2'.
RESULT = '20'.
WHEN '3'.
RESULT = '30'.
WHEN '4'.
RESULT = '40'.
WHEN '5'.
RESULT = '50'.
WHEN '6'.
RESULT = '60'.
WHEN '8'.
RESULT = '80'.
WHEN OTHERS.
RESULT = '00'.
ENDCASE.
ENDIF.
if the returncode is not equal zero, the result will not be updated
RETURNCODE = 0.
if abort is not equal zero, the update process will be canceled
ABORT = 0.
The source is KSTAR(costelement) -
Javascript problem with "opener" object
Hello again,
In my quest to reuse some automatic generated bsp code to my own advantage, i encounter a problem with the javascript "opener" object.
I open a new window(win2) for a value help, this should return a value to the calling window(win1). It does so by calling a function in win1. My problem is that i get an error, stating that access to win1 is denied.
opener.focus() works: it sets focus on win1
so the opener object seems fine, pointing to the richt window
opener.functionWin1() does not work:
when i want to call a function from win1 i get the message "access denied", this also happens when i want for instance call a propertie of win1 with for example alert(opener.location);
Does anybody know if there is a special parameter i should set, before i can call functions on the opener page? Or has anybody encountered the same pronlem?
Kind regards,
Martijn de Jong.If you want to set a input field value from a value help page you can write a JS function in the value help page itself, which will take of populating the field in the root page.
See this example script:
<head>
<script language="JavaScript" type="text/javascript">
function fun()
s=window.opener;
txt=s.document.getElementById("<input filed id of the parent page>");
if ( document.form1.row_sel1.value )
txt.value = document.form1.row_sel1.value;
window.close();
</script>
</head>
Refer this thread for further details:
Re: F4 help using javascript
Regards,
Ravikiran. -
Problem when Entering Decimal Values at Input Ready Query
Hi Everyone,
I have created Input ready query but when I am going to enter decimal values in input cell it takes as a round of value.
Example:- If I enter 1.234 value at input cell it takes as a 1 or if I enter 1.789 value then it takes as a 2 at cell.
The technical properties of Key Figure at Info object level is,
Radio Button :- Decimal
Drop Down :- FLTP (Floating Point)
But we want to whatever value will enter at input cell, the same value will save at real time info cube level.
Requirement :- If I enter 1.234 value at input cell it needs to take as a 1.234
Please suggest your comments/views.
Thanks
Kind Regards
AnukulHi Giradkar,
Check the setting of the UOM you are using in table 'T006' there are 2 fields that indicate how to display and how to store the values with respective UOM.
Regards,
Eitan. -
Problem With Compound Primary Key
Hello Experts,
i am facing some probelm with copound primarykey.
the Probelm is
i have data base table which has compound primary key for that one i have created the entity bean(CMP) and primary key of type compound.using this i am able to insert record into databse but for updation i am using
<b>findbyPrimarykey()</b> method ,for that methos i am passing
primary key object with compound key values.
when i am executing this methos it is throwing <b>nosuchobject exception.</b>
what might be the problem
any help will be appriciated
thanks in advance
With Regds
NaiduHi,
Is ur compound primarykey class is something like this?
public class PrimaryKey implements java.io.Serializable {
public String id = "";
public int no = 0;
//a default constructor is required:
public PrimaryKey() { }
// optional constructor fo clients:
public PrimaryKey(String id, int no) {
this.id = smsId;
this.no = no;
public String toString() {
return id + "" + no;
public boolean equals(Object obj) {
if (obj == null || !(obj instanceof PrimaryKey))
return false;
else if ((((PrimaryKey)obj).no == no) && (((PrimaryKey)obj).id.equals(id)))
return true;
else
return false;
public int hashCode() {
return id.hashCode() + no ; -
Help! Problem with reading objects from file
I wrote a "Library" program for an assignment, and one of the requirements is that the library store all of its information to file upon exit, and reload this information from file when run.
Well, the writing to file part is working. I'm using a FileOutputStream object and an ObjectOutputStream object. I can tell from the file size of the .dat file that information is going into it.
But what I can't do is read from file. For that, I'm using a FileInputStream and an ObjectInputStream. I keep getting this exception:
java.io.EOFException
at java.io.DataInputStream.readInt(Unknown Source)
at java.io.ObjectInputStream$BlockDataInputStream.readInt(Unknown Source)
at java.io.ObjectInputStream.readInt(Unknown Source)
at Library.readDataFromFile(Library.java:350)
at Library.<init>(Library.java:63)
at LibraryDriver.main(LibraryDriver.java:6)I looked this exception up and it says it's thrown when a data input stream unexpectedly ends....But I am instantiating the input streams just before I try to read from file:
fileInStream = new FileInputStream(libraryFile);
objInStream = new ObjectInputStream(fileInStream);
Object[] objectArray = new Object[objInStream.readInt()];Both input streams have methods that "return the number of bytes that can be read from this file input stream without blocking". Just for kicks, I tried writing that number to the console.
For the FileInputStream, I get 404 bytes.
For the ObjectInputStream, I get 0 bytes.
So I guess it's a problem with the ObjectInputStream? Anyone have any suggestions as to how I can fix this, please?Yep, here's the relevant code from the writeToFile() method:
for (int i = 0; i < libraryAuthors.length; i++) {
currentAlphaAuthorList = libraryAuthors;
for (int j = 0; j < currentAlphaAuthorList.size(); j++) {
currentAuthor = (Author) currentAlphaAuthorList.get(j);
objOutStream.writeObject(currentAuthor);
objOutStream.flush();
objOutStream.close();
Maybe you are looking for
-
Unable to print wirelessly, printer status is offline???
Every time I try to print wirelessly I get a message stating my printer is offline?
-
Satellite P870 - Touchpad scrolling issues
I have a P870 (PSPLFA-019001) I have been having trouble with the touchpad. If I move the touchpad anywhere the screen scrolls vertically (not just on the right scroll bar) and the mouse is stationary. When I touch the trackpad underneath the clickab
-
Ebuynow product not received and no refund
xxxxxxxxxx invoice was ordered in December and I never received the product or a refund. Skype directed me to their store to order the product so I feel the Skype should be liable for the refund. How is Skype going to return my money?
-
Hi I want to know how to use this setMileage MEMBER FUNCTION. Create or replace Type Body Cart_Type Is Member Function setMileage (self in out Cart_type, InMile varchar2) Return Number Is Begin NULL; <--at the moment I have to use this so it compiles
-
What are the tools for GAP Analysis.
What are the tools for GAP Analysis.