Problems in User-Selection
Hi All,
i have a problem with one of our users (Customer).
this user gets always this message by opening the smi overview (customer).
"No active queries are assigned to you. Please inform your system administrator."
What can i do? I test it with the profile "sapall". with this configuration, this message wasn't send.
Thanks for your help
With best regards
Hi Benjamin,
I am facing the same issue "No active queries are assigned to you. Please inform your system administrator.".
Though there is a difference in my case. I have created the whole application and I am getting the above error.
I tried looking for the role SAP_LIME_USER but in system its not maintained though the authorization object CA_POWL is present.
As I myself have done the complete development so as per my understanding this authorization object is assigned to me and the applicaiton should work for me but still I am getting the error.
Is the role and authorization object only reason for which we get "No active queries are assigned to you. Please inform your system administrator" error ?.
I have also not assigned any specific role while defining the query through POWL_QUERY .
Is it that I am doing any thing wrong?.
Please advice.
Thanks,
Imran
Similar Messages
-
Problem with User Defined Second Selection Screen
Hi Gurus,
I have a problem with the selection screen selections. My requirement is that , User when he selects a check box on the main selection screen ( which is 1000) then at the at-selection event, another screen (whose number is 2000) will be called and it has some parameters to enter values. My problem is that how to get the values from this second screen and use them in the in my program. There is an execute button on the second selection screen and when i click that, nothing is happening.
Can anybody suggest me how to get the values from this screen which we called, and entered values in that screen. How to use these values and is there any way that we can do this.
Thanks in advance for helping me out.
Regards,
Srinivas.Use <b>DYNP_VALUES_READ</b> FM to read the values from your dynpro screen...
Like this...
DATA: ls_dyname TYPE d020s-prog,
ls_dynumb TYPE d020s-dnum.
gt_dynpfields TYPE STANDARD TABLE OF dynpread WITH HEADER LINE.
ls_dynumb = '0112'.
gt_dynpfields-fieldname = 'RF05A-NEWKO'.
APPEND gt_dynpfields.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = ls_dyname
dynumb = ls_dynumb
TABLES
dynpfields = gt_dynpfields
EXCEPTIONS
invalid_abapworkarea = 1
invalid_dynprofield = 2
invalid_dynproname = 3
invalid_dynpronummer = 4
invalid_request = 5
no_fielddescription = 6
invalid_parameter = 7
undefind_error = 8
double_conversion = 9
stepl_not_found = 10
OTHERS = 11.
Greetings,
Blag. -
Problems in Opening same jspx in different modes based on user selection
Hello,
I'm using JDeveloper 11.1.1.4.0
Following is my use case and problems with each of the solutions that I have tried so far.
1. Screen1 displays 4 af:tables. Right cilck of each table is a separate context sensitive menu.
2. Using context sensitive menu items, user should open ReplyScreen and ConfirmScreen. Each of these screens support different functinoality however,
they share quite a few common fields and functionality (variables).
3. User should be allowed to work with each of the screens simultaneously.
4. For simplicity, only 'Reply' and 'Confirm' modes are mentioned. However there are going to be 3 additional modes such as 'Correct', 'View' and 'Delete'.
From code maintenability perspective, each of the 'Mode' specific screens should be a result of a single JSPX and bean.
Solutions tried:
1. Create a single JSP. Maintain the common variables in session.
Problem: When user opens ReplyScreen, common variables are initialized. However, when he opens ConfirmScreen without closing ReplyScreen, common variables
get overwritten.
2. Create a single JSP. Maintain the common variables in Iterator, along with all the values fetched from DB.
Problem: Same iterator object is shared amongst both pages.
Question:
1. How to create a single JSPX and attach each of its 'modes' (ReplyScreen and ConfirmScreen) to different Iterator objects?
Any help will be appreciated...
Thanks,
Rohit
Edited by: rohit6699 on Nov 18, 2011 1:15 AM
Added tagsTry creating a bounded taskflow that relies on parameters to define what it shows and how it behaves.
The taskflow can use its own memory and transaction scope as needed and therefor you should be able to have multiple instances of it open with different behaviors.
Learn more about taskfllows and regions here:
http://www.oracle.com/technetwork/developer-tools/adf/learnmore/adfinsider-093342.html#a2 -
Hi,
i have a dimension table with month_key having values (201201,201202,201203.......202011,202012) and month name ( Jan 12, feb 12,......NOV 20, Dec 20) and a fact table with columns (month_key ,measure_types, Amount)
My requirement is to create a power pivot report in which when a user select a month from the filter, the report should display the (selected month+18 ) month's data against each type . when JAN 12 is selected ,the jan 2012 +18 = june 2013
, month name should be populated with months till june 2013 only .
i tried creating calculated column"END DATE " in the fact table with dax expression to calculate the 18th monh from the current month as below
month_key END DATE
201201 201306
201202 201307
and thought of filtering the table with month key <= ENDDATE but it is not working as expected. could you please guide me on this ? Is there any time intelligence function that serve the purpose . Iam using excel 2010
..hence could not do any calculation on the report side also. please suggest .
Thanks in advanceDo you need to show the measure calculated for those 18 months as a total on 1 row, or do you need to select a single month and then display on row filters 18 distinct rows?
The first is trivial as driezl has suggested.
The second will require a second calendar table.
I created this example workbook for a coworker who had a similar problem. You will have to use the disconnected table as your filter and pull your related table onto the rows.
Finally, the easiest way to deal with the sort of date arithmetic you need to do is to restructure your date table to have a series of "Sequential" fields. These fields should be the number of units of time since the beginning of your calendar.
For example, consider a calendar starting on January 1, 2010. For January - December 2010, [MonthSequential] = 1, 2, ..., 12. For January - December 2011, [MonthSequential] = 13, 14, ..., 24, and so on, incrementing by 1 for each sequential month in time.
Assuming you have this set up in your date tables (one related to your model - DimDate - and one disconnected - DisconDimDate) your measure would look like this:
18 Month Measure:=
CALCULATE( [Measure]
, FILTER( DimDate
, DimDate[MonthSequential] >= MAX( DisconDimDate[MonthSequential] )
&& DimDate[MonthSequential] <= MAX( DisconDimDate[MonthSequential] ) + 18
Please review this example along with the workbook I have linked above. -
Hi all,
I've got a JTree that represents a sort of data that I'm going to change dynamically in my application. I'd like to reset the selection of the user to the leaf she has selected before the change to the tree structure.
First of all my tree uses DefaultMutableTreeNode to build each node, and each DefaultMutableTreeNode contains a SingleKeyValue object, that is a key-value object (two strings) and that has an hashcode defined as follows:
public class SingleKeyValue extends BaseKeyValue{
* The key of the database object.
protected String key = null;
* The description of this object.
protected String value = null;
public int hashCode() {
return this.key.hashCode();
I hope the hashcode can help me finding the right object even when its value changes (but the key is the same). The construction of the tree is the following:
DefaultMutableTreeNode root = new DefaultMutableTreeNode("The root");
// iterate and build each node
SingleKeyValue object = new SingleKeyValue("key","value");
DefaultMutableTreeNode node = new DefaultMutableTreeNode(object);
root.add(node);
DefaultTreeModel model = new DefaultTreeModel(root);
JTree tree = new JTree(model);
so the tree is associated to a DefaultTreeModel. Then, when I need to change something in the tree I rebuild the tree and all leafs (with the SingleKeyValues) and rebuild the model:
TreeModel treeModel = this.myTree.getModel();
TreeSelectionModel selectionModel = this.myTree.getSelectionModel();
DefaultTreeModel defaultTreeModel = null;
DefaultTreeSelectionModel defaultTreeSelectionModel = null;
TreePath selectedPath = null;
TreeNode root = null;
Logger.info("SimpleTreePanel.refreshDatabaseView: treemodel "+treeModel + " selectionModel " + selectionModel);
if( treeModel != null && treeModel instanceof DefaultTreeModel ) {
defaultTreeModel = (DefaultTreeModel) treeModel;
root = this.getRoot();
// get the selection
if( selectionModel != null && selectionModel instanceof DefaultTreeSelectionModel ){
defaultTreeSelectionModel = (DefaultTreeSelectionModel) selectionModel;
selectedPath = defaultTreeSelectionModel.getSelectionPath();
Logger.warn("Selection path of the tree: "+selectedPath);
// rebuild the tree
defaultTreeModel.setRoot(root);
// set the selected element
defaultTreeSelectionModel.setSelectionPath(selectedPath);The problem is that after the above code the tree is all closed, no leaf are selected. I guess the problem is with the SingleKeyValueObject because I've tried the default model and it works with, for example, simple strings. Any idea about?
Thanks,
LucaHere's a complete test program that creates a few SingleKeyValue objetcs (objects with a key and a description) and that then places them into a JTree using the DefaultMutableTreeNode. After that, the selection of user is took and one node is changed, but while the selection is working, the reload/refresh of the tree is not.
Any idea about how to work on it?
public class SingleKeyValue extends BaseKeyValue{
* The key of the database object.
protected String key = null;
* The description of this object.
protected String value = null;
// constants related to the type of the table this object refers to
public static final String COMPETENCE = "competenza";
public static final String FAMILY = "famiglia_competenza";
public static final String ROLE = "ruolo";
public static final String PROVINCE = "provincia";
public static final String KNOWLEDGE = "titolo_studio";
public final static String OBJECTIVE = "obiettivo";
public final static String PERSON = "persona";
public SingleKeyValue( String key, String value, String table){
super();
this.key = key;
this.value = value;
this.SQLTable = table;
* @return the key
public final String getKey() {
return key;
* @param key the key to set
public final void setKey(String key) {
this.key = key;
* @return the value
public final String getValue() {
return value;
* @param value the value to set
public final void setValue(String value) {
this.value = value;
* Shows this element.
public String toString(){
String ret;
if( this.showKey ){
ret = this.label + this.key +" { "+ this.value +" }";
else
ret = this.label + this.value;
// trim the string
if( ret.length() > this.maxLength )
return ret.substring(0 , this.maxLength);
else
return ret;
* The hash code of this object is the hash code of the key.
* @return the hash code of the key of the object
public int hashCode() {
return this.key.hashCode();
* Returns true if the object passed is a single key value equals (i.e., with the same key) of this one.
public boolean equals(Object o){
if( o== null || (! (o instanceof SingleKeyValue) ) ) return false;
else
return (this.hashCode() == o.hashCode());
public static void main(String argv[]) throws Exception{
SingleKeyValue skv1 = new SingleKeyValue("Key1","Description1", SingleKeyValue.COMPETENCE);
SingleKeyValue skv2 = new SingleKeyValue("Key1a","Description1a", SingleKeyValue.COMPETENCE);
SingleKeyValue skv3 = new SingleKeyValue("Key1b","Description1b", SingleKeyValue.COMPETENCE);
SingleKeyValue skv4 = new SingleKeyValue("Key2","Description2", SingleKeyValue.COMPETENCE);
SingleKeyValue skv5 = new SingleKeyValue("Key2a","Description2a", SingleKeyValue.COMPETENCE);
SingleKeyValue skv6 = new SingleKeyValue("Key2b","Description2b", SingleKeyValue.COMPETENCE);
DefaultMutableTreeNode rootNode = new DefaultMutableTreeNode("root");
DefaultMutableTreeNode node1 = new DefaultMutableTreeNode(skv1);
DefaultMutableTreeNode node2 = new DefaultMutableTreeNode(skv2);
DefaultMutableTreeNode node3 = new DefaultMutableTreeNode(skv3);
DefaultMutableTreeNode node4 = new DefaultMutableTreeNode(skv4);
DefaultMutableTreeNode node5 = new DefaultMutableTreeNode(skv5);
DefaultMutableTreeNode node6 = new DefaultMutableTreeNode(skv6);
rootNode.add(node1);
node1.add(node2);
node1.add(node3);
rootNode.add(node4);
node4.add(node5);
node4.add(node6);
JTree tree = new JTree(rootNode);
JFrame f = new JFrame("Tree try");
f.add( new JScrollPane(tree) );
f.setSize(300,300);
f.setVisible(true);
System.out.println("Please select a node within 10 seconds");
Thread.sleep(10000);
// now get the user selection
TreeModel treeModel = tree.getModel();
TreeSelectionModel selectionModel = tree.getSelectionModel();
DefaultTreeModel defaultTreeModel = null;
DefaultTreeSelectionModel defaultTreeSelectionModel = null;
TreePath selectedPath = null;
TreeNode root = null;
if( treeModel != null && treeModel instanceof DefaultTreeModel ) {
defaultTreeModel = (DefaultTreeModel) treeModel;
// get the selection
if( selectionModel != null && selectionModel instanceof DefaultTreeSelectionModel ){
defaultTreeSelectionModel = (DefaultTreeSelectionModel) selectionModel;
selectedPath = defaultTreeSelectionModel.getSelectionPath();
// rebuild the tree
node1.setUserObject(new SingleKeyValue("key20","key changed",SingleKeyValue.FAMILY));
defaultTreeModel.reload();
// set the selected element
defaultTreeSelectionModel.setSelectionPath(selectedPath);
} -
How to avoid the user selecting a different path in my installer
Hello again all you helpful forum-goers!
I have an application and a corresponding installer, and then I have a separate installer putting some support files in the same directory. My problem is that if the user selects a different path to which to install my primary application, the secondary installer will not put the required support files in the same spot.
Now, I think I've figured out how to get the user-selected path from the "Run executable at the end of installation" option in the Advanced pane of the LabVIEW installer configuration, and I can pass that in to my secondary installer, and that should fix the problem. However, what I'd really like to do is just not give the user the option to install my primary application in a different directory to begin with. I've looked, but cannot find any way to do that.
Does anyone know of any way to not present the option to install an application in a different directory when using the LabVIEW installer?
Thanks in advance for any suggestions,
-JoeBen64,
That's great! Thank you so much for your quick reply. The only reason I haven't already accepted that as my solution is that it requires a manual post-compile change to a text file. Ideally I'd prefer not to have to remember to do that every time I rebuild my installer. Is there any way that you know of to automate the process?
If not, I'm happy to have a good solution even if it takes an extra step each time to implement.
-Joe -
Problem in AT selection screen validation
Hi,
I am having problem in AT SELECTION SCREEN Validation.
I have 2 radiobutton and 6 parameter. if i click first radio button all the 6 radiobutton should enable and take the user input, that is working fine for me.
if i click second radiobutton , out of 6 , 3 parameter should disable and remaining 3 should enable. thats also working fine.
My problem is program has written the validation for this 3 parameter in the AT SELECTION SCREEN.
For first radioutton all the validation working fine, for second validation as soon as i press the radiobutton it will display error message. Based on 2 parameter user is filling value for 3 rd parameter.
I want the same validation to be done for second radio button after user pressing enter.
PARAMETER: p_single RADIOBUTTON GROUP rad1 DEFAULT 'X' USER-COMMAND f1,
p_multi RADIOBUTTON GROUP rad1.
PARAMETERS: s_pwwrk LIKE plaf-pwwrk.
PARAMETERS: p_lgort LIKE plaf-lgort.
PARAMETERS: p_kostl LIKE cobl-kostl.
here is my code:
AT SELECTION SCREEN.
CLEAR t001w.
CLEAR t001k.
CLEAR marv.
SELECT SINGLE * FROM t001w WHERE werks EQ s_pwwrk.
IF sy-subrc NE 0.
MESSAGE e999 WITH 'Plant' s_pwwrk 'does not exist'.
ELSE.
SELECT SINGLE * FROM t001k WHERE bwkey EQ t001w-bwkey.
SELECT SINGLE * FROM marv WHERE bukrs EQ t001k-bukrs.
IF p_budat0(4) NE marv-lfgja OR p_budat4(2) NE marv-lfmon
IF marv-xruem IS NOT INITIAL.
IF p_budat0(4) NE marv-vmgja OR p_budat4(2) NE marv-vmmon.
MESSAGE e999 WITH p_budat4(2) p_budat0(4)
'is closed.
Please try again.'.
ENDIF.
ELSE.
MESSAGE e999 WITH p_budat4(2) p_budat0(4)
'is closed.
Please try again.'.
ENDIF.
ENDIF.
ENDIF.For your Case ,
If i understand clearly,You can do the validation when you want on AT SELECTION SCREEN ON WP_FIELD.
If you say your validation to be done only for Selection of Second Radio Button, then..
AT SELECTION SCREEN.
if p_multi eq 'X'. "<- Make Validation to be done only if user select Second Button
CLEAR t001w.
CLEAR t001k.
CLEAR marv.
SELECT SINGLE * FROM t001w WHERE werks EQ s_pwwrk.
IF sy-subrc NE 0.
MESSAGE e999 WITH 'Plant' s_pwwrk 'does not exist'.
ELSE.
SELECT SINGLE * FROM t001k WHERE bwkey EQ t001w-bwkey.
SELECT SINGLE * FROM marv WHERE bukrs EQ t001k-bukrs.
IF p_budat+0(4) NE marv-lfgja OR p_budat+4(2) NE marv-lfmon
IF marv-xruem IS NOT INITIAL.
IF p_budat+0(4) NE marv-vmgja OR p_budat+4(2) NE marv-vmmon.
MESSAGE e999 WITH p_budat+4(2) p_budat+0(4)
'is closed.
Please try again.'.
ENDIF.
ELSE.
MESSAGE e999 WITH p_budat+4(2) p_budat+0(4)
'is closed.
Please try again.'.
ENDIF.
ENDIF.
ENDIF.
endif. -
Customizing user selection fields of Logical database PNP
Dear Gurus,
I had made a z-copy of payslip program for incorporation of Logo. Now we need to put this report in Enterprise Portal (EP). Now since we would not want any user to view any other person's payslip, I need to disable the selection field (PERNR) for user selection.
Problem is this field for user selection is coming from standard Logical Database (LDB - PNP) used in the program. So how can I make this field hardcoded as sy-uname and non-modifiable without making z-copy of LDB-PNP.
Also I wish to harcode Payroll Area writing some code (from table PA000) but again I cannot write this in std. PNP LDB and writing it in driver program will not help.
Thanks in advance.
Regards,
AmitWrite the highlighted coding in initialization ...
initialization .
select single pernr from pa0105
into pernr-pernr
where usrid = sy-uname.
if sy-subrc = 0.
PNPPERNR-sign = 'I'.
PNPPERNR-option = 'EQ'.
PNPPERNR-LOW = pernr-pernr.
Append PNPPERNR.
endif.
loop at screen.
if screen-name = 'PNPPERNR-LOW' or
screen-name = 'PNPPERNR-HIGH'.
screen-input = '0'.
endif.
modify screen.
endloop.
at selection-screen output.
loop at screen.
if screen-name = 'PNPPERNR-LOW' or
screen-name = 'PNPPERNR-HIGH'.
screen-input = '0'.
endif.
modify screen.
endloop. -
Reading dynamic table column based on user selection
Hi there,
I am having a problem of reading and manipulating the data stored in a standard SAP table. The following example simulates the table and what i am trying to do:
Table: Storing sales data for sales person
SALES_PERSON REGION YEAR MTH_S1 MTH_S2 MTH_S3 MTH_S4...
Richard S NORTH 2007 100 200 300 400
John K SOUTH 2007 50 100 100 20
Brad P NORTH 2007 300 100 100 50
User have have the following selection option:
1. Month.
The program will calculate the sales based on the individual month selected
Example, if user select Month = 3, then program take only MTH_S3 column value
So total sales = 300100100=500
2. Month range
The program will calculate the sales based on the month range selected
Example, if user select Month 2 to 4, then program take MTH 2 to MTH_S4 columns value
So total sales = 400 (for MTH_S2) + 500 (for MTH_S3) + 470 (for MTH_S4) = 1370
How should i write the logic or code for this requirement?
Hope someone can help.
Thanks,
Pang HKTry something like this
TABLES:
t247.
SELECT-OPTIONS:
s_month FOR t247-mnr NO-EXTENSION.
DATA:
BEGIN OF fs_data,
person(30),
area(10),
year(4),
mon1 TYPE kbetr,
mon2 TYPE kbetr,
mon3 TYPE kbetr,
mon4 TYPE kbetr,
mon5 TYPE kbetr,
END OF fs_data,
t_data LIKE STANDARD TABLE OF fs_data,
w_no_months TYPE i,
w_kbetr TYPE kbetr,
w_total TYPE kbetr.
LOOP AT t_data INTO fs_data.
CLEAR w_kbetr.
DO 5 TIMES VARYING w_kbetr FROM fs_data-mon1
NEXT fs_data-mon2.
IF sy-index IN s_month.
w_total = w_total + w_kbetr.
ENDIF.
ENDDO.
ENDLOOP.
change the value 5, according to the no.of months in ur internal table -
"File Dialog" Express VI returns the wrong path when the user selects the desktop
In labview 8.0.1 with Windows
XP, the File Dialog Express VI seems to return something other than the path
selected by the user when configured to browse for folders (or files and
folders) and the user selects the desktop.
I can't determine exactly when it works and when it fails, but it always seems
to fail if the user selects the desktop from the places bar (the shortcuts on
the left side of the dialog) or from the drop-down menu at the top of the
dialog and then clicks the "Current Folder" button to dismiss the
dialog. In this case it always returns whatever path is wired to the
"Start Path" terminal.
If the user navigates to the desktop with the "Up One Level" button
or by selecting the actual desktop directory under Documents and Settings, the
correct path is returned.
If the user selects a file before clicking the desktop icon, then clicks
"Current Folder" the correct path is returned.
If the user clicks the desktop icon, clicks open, then clicks "Current
Folder" the correct path is returned.
It's possible to work around this bug in most cases by setting the start path
to the desktop.
Has anyone seen this behavior before?
Can anybody verify this behavior by running the attached VI?
In the past, when I've reported issues like this I've received responses from
NI engineers that basically said "Thanks, but we already knew
that". Is there anywhere that users can search the list of known
bugs and avoid wasting time tracking down issues that are already understood by
NI?
Thanks,
Adam Brewster
Attachments:
File Dialog Test.vi 39 KBI'm on 8.2 and I can't get it to fail no matter how I select the desktop. I haven't tried it in 8.0, but I imagine that if this really is a bug, they did know about it and fixed it with 8.2. If this causes a real problem for you, I would suggest upgrading if you can.
-
Problem in displaying selected page items in the title in Graph
Hi There;
I have a problem in displaying selected value of named page item in the graphs.
Eg. I have in my worksheet a page item named "Location"; when I use "&WorksheetName &Location" in the title of worksheet it is displaying both the worksheet title and value of selected page item "Location" in my example.
But when I use the same (&WorksheetName &Location) in the title of graph or Axis of the graph, it would show up only the name of the worksheet but not the value of page item "Location", instead it would print "&Location"
Any idea why it is not able to reference the select page item in Discoverer graph? I am using Oracle BI Discoverer 10.1.2.1.
Thanks in Advance,
Regards,
Nidhi JethooHi Michael;
Thanks a lot. It might not have been considered necessary but you do require, e.g in my case I am plotting Average value of a Parameter and it does make sense in including the name/value of Parameter(surface water temp/bottom watter temp) as an Axis instead of just a constant Parameter or say Average Parameter. So that user can plot the variation of different parameters by changing the page items and when user changes the value of parameter and export the graph he/she has the parameter name(actual value) in the graph.
But I can include all the parameters (&Parameters) or all the page items(using &PageItems) in graph then why not individual page-item and individual parameter.
I would log a SR and see what they say.
Thanks again,
Nidhi -
Change portal language based on user selection in masthead7.3
Hi All,
I am trying to provide the language drop down option in Portal Masthead.
I have created the Hovermenu in Masthead which displayes 2 options(English and German)
When user selects German, the portal should be loaded in german language.
Can you please guide me with the proper event handler which should be called, on clicking Hovermenu Item.
Which URL should be called on clicking Hovermenu Item.
I have checked some SDN links already.
Regards,
SumangalaThanks for your answers.
I have already checked those links.
Now th problem what I am facing is,
I am not able to call the function ChangeLanguage through javascript.
I have created a dropdwon using Hovermenu and added English and German.
Now when I click on these the function should be called.
Please help me in getting how setClientSideScript() can be used to call a function.
or any other way to call the function after clicking on Hovermenu Item.
Thanks in advance,
Sumangala -
How do I get a value of a cell when user selects in a JTable?
Hi everybody,
I need some help in order to complete my task. I 've a JTable. When user selects any particular column . I should able to get user selected value. I added a MouseListener to the table. And I 've written the following code - in mousePressed()
JTable table = (JTable) e.getSource();
iint col =JTablePartNumbers.getInstance().getSelectedColumn();
int row = JTablePartNumbers.getInstance().getSelectedRow();
System.out.println("row col value" +JTableModelPartNumbers.getInstance().getValueAt(row,col));
I'm getting col and row value but when I'm using TableModel.getValue(row,col) - it is giving me null value.
And my getValueAt() method is defined as
public Object getValueAt( int nRow, int nCol )
System.out.println("the nRow" nRow "And nCol " nCol "And row count" + getRowCount());
int rowCount = getRowCount();
System.out.println("the row count" +rowCount);
if ( ( nRow < 0 ) || ( nRow >= getRowCount() ))
return null;
// Taking
StartNewRevisedGenericSGMLFragmentsModel row = (StartNewRevisedGenericSGMLFragmentsModel) partNumberDetails.elementAt( nRow );
// System.out.println("row value" nRow "Col value" +nCol);
switch ( nCol )
case 0:
return row.getParNo(); case 1:
return row.getRev(); // gets model data
case 2:
return row.getDoneDate( );// gets revision data
Vector rowVec = (Vector) partNumberDetails.get(nRow);
return (String) rowVec.get(nCol);
so please help me out resolving this problem.
Thanks in advance
purnimatry calling jtable.getSelectionModel().addListSelectionListener(...)
by the way, any good design of a generic UI Table must have a feature to do what you're talking about in an easy way. If it didn't, why would anyone use it? -
Hey I am curious how can I get the .ipa compiled file for iOS to be able to read all the directories on the iPhone?
I made a file browser but I cant get to the pictures
I tried adding the entitlements in Flash Builder 4.6 in the descriptor file like this:
<key>com.apple.security.files.user-selected.read-only</key>
<true/>
<key>com.apple.security.assets.movies.read-only</key>
<true/>
<key>com.apple.security.assets.pictures.read-only</key>
<true/>
in the
<iPhone>
<Entitlements>
<![CDATA[
I got Push notifications working and accepted in the app store but it can't read the pictures directory when browsing for a file
I know the app id and stuff is set up right or I wouldnt have been able to get it accepted in the app store. In the entitlements area of course I have the application identifier set and aps-environment and keychain access groups and whatnot set up right.
When I try to put the app onto the iPhone with iTunes it just says 'Entitlements are not valid' (does not mention anything about mismatched ids) I can't find anything about how to add this entitlement and I could have sworn I saw a thing that said I can just use the descriptor file to add entitlements in some of the documentation I have it set to use air 3.4
Is there something I am doing wrong, how do I get apple to just put these entitlements in the mobileprovision file, I cant seem to edit it, if I do I also get an error in itunes that is some hex code...Did you ever solve your problem?
I just transfered my web hosting and e-mail to bluehost. I had some of the same problems you are having. I noticed you have your incoming server set to bluehost.
Incoming mail server: (SSL) box610.bluehost.com (sever requires authentication which I already have done)
If bluehost is your server this is what worked for me:
Account Information
Account type— POP
Description—anything you want
Email Address—in your case would be [email protected]
Full name— first and last name
Incoming server—mail.magnus.com
User name—[email protected] Notice it is the @ symbol not a +
password— your password . Remember they are case sensitive
Outgoing Mail server—select edit smpt server list from the drop down window
select the + to add a server
Account Information
Description—may be left blank
Server name—mail.magnus.com
TSL Certificate—None
Advanced
Use default ports
Check Use SSL
Authenticate—password
Username—[email protected]
passowrd—your password
Click ok
In the accounts window
Outgoing SMTP— select the server you just created.
Check—use only this server
Select the Advance tab next to the Mailbox Behaviors
Check use SSL— it will be port 995
Authenticate —use password
Ann -
Limiting rows displayed from user-selection on dashboard prompt
Hi,
I'm looking for a way to limit the number of rows displayed after a user has made a selection using a dashboard prompt. Here is my scenario:
User selects 24 periods of data using an 'In Between' dashboard prompt (i.e. Jan05-Dec06). 24 rows are returned by the query but I only want to show the last 12 rows (Jan06-Dec06).
Motivation is that I'm using the MSUM function to display a 12-month moving sum total and I don't want to display the first 12 rows as they do not contain a complete moving sum total.
I've looked at using a variable to store the user selection at the dashboard prompt, but the 'In Between' dashboard prompt does not allow one to store a result in a variable.
Any suggestions are welcome!
Thanks!Hi Som,
Thanks again for your feedback. I've thought about using dynamic repository variables, but found them not to be the answer. Although the moving sum would always be a 12 month total, the user needs to be able to vary the range of periods using the dashboard prompt. Today he might only want to look back 12 months, tomorrow he may need a 5 year overview. Using dynamic repository variables would mean I'd have to create variables for the entire history i.e. CM until CM - 240 (20 years * 12 months). If a user then would like to report on a specific period, he would need to pick the correct dynamic variables, which would not be user friendly/acceptable.
I think I may need to resolve this problem in my datamart by calculating & storing a 12 month total (the only 'fixed' requirement of the report) in my fact table. This would also remove the need for the user to select 12 months more that he would see in his report (a drawback of my original scenario above).
Thanks again for your input!
Regards,
Dutch
Maybe you are looking for
-
One of the specified disk images could not be opened
I cannot believe how instable my system is. I switched to Mac to get a reliable system, but I cannot do without Windows entirely, hence my heavy use of VPC. Today I got the small grey screen "You need to restart your computer". I was running VPC at t
-
Referring to problem in: http://discussions.apple.com/thread.jspa?messageID=6520703 After update 8.01 opening files does work here also, but I still can't open .exs files in exs24! If I want to load files they are grey and can't be selected. Can some
-
How to include .js file in jsp file?
hi, i have a jsp file with struts tag. right now i have all the javascript code as a separate function inside the jsp file itself. i want the javascript code to be present in a .js file and i want to refer that .js file from the jsp file with struts
-
Hi, Is is possible to set the default report attributes for interactive reports so when I create a new one I don't have to go through and change the defaults. Basically I want to set the "Show Null Values as" variable to null rather than a dash for a
-
I can no longer use Firefox because it hangs upon every use. I do mean every use. Even clicking to open and read an email or scroll on a page causes it to hang (not responding). It started a few days ago. Became unusable today after updating to the n