Please help me any one
Iam getting error doing of VA01 Posting only possible in periods 2011/12 and 2011/11 in company code
Hi Vikram,
Might be jan period is not open in your sysytem, go to OB52 and open the January period.
Regards,
Ranjith
Similar Messages
-
Hi,
I created a JTree where the DefaultMutableTreeNode is created at run time and for this node, the leaf items are added dynamically.....Now my problem is, I should get a popup menu when i click on the treenode particularly-----
* Node1
-------Node11
-------Child1
In this I want a popup only for the Node11 & its child elements if there is any Node2 also i don't want a popup and also for Node1 i don't want, when I am trying this I am getting the Popup to all nodes and child elements, please, help me any one who cross over this problem.............
Thanks In Advance,
Regards,
SarikakiranFirstly, do you know how to detect the right click? (Use a MouseListener.)
When you receive the MouseEvent for the right-click, you can get the coordinates of the click (i.e. where on the JTree the mouse was clicked).
You can then use JTree.getPathForLocation to get the path for the clicked node, which is a TreePath object. Use TreePath.getLastPathComponent to find which node was actually clicked on.
Having determined which node was clicked, you can then make a decision about whether to show a popup menu. -
Hi All In PO Please Help Me Any One
Hi All,
My requirements is when ever new supplier is created (After Save) That Information automatically will send through Email (Manager mail)
I was created a supplier and i was created Alert for this AP_supplier and Xml Bursting also completed
here my concurrent Program is not firing another Predefined Concurrent Program firing so
Here After creating Supplier Predefined Business Event is there so i will write subscription and this we need call Package Or Workflow Here Parameter is "Vendor_Id"
How to call subscriptions in Package . Or Workflow
Thank's
MalliFirstly, do you know how to detect the right click? (Use a MouseListener.)
When you receive the MouseEvent for the right-click, you can get the coordinates of the click (i.e. where on the JTree the mouse was clicked).
You can then use JTree.getPathForLocation to get the path for the clicked node, which is a TreePath object. Use TreePath.getLastPathComponent to find which node was actually clicked on.
Having determined which node was clicked, you can then make a decision about whether to show a popup menu. -
i cant take it out of it and i cant restore becasue i changes host to sariks sever i need help can any one help me please please i just got my ipod i realy need help
Sorry, due to the Terms of Use, problems with jailbroken devices can't be discussed here.
-
I have a hp photosmart B8550 that has stopped printing black. Any help from any one?
i have a hp photosmart B8550 that has stopped printing black. I put in a new black cartridge, but still no luck. i am about ready to trash the unit. It never has worked well and uses a lot of ink. Any help from any one?
Hi sydnoid_615
Sorry to hear that you are having this issue and I hope you are otherwise doing well;
What Operating System?
If windows Xp or later try this HP Hardware Diagnostic Utility
Veriify the printer firware and software up to date Go Here select your OS and verify
How your printer is connected to your computer USB, Wireless, Ethernet ,ETC)
if networked check the firware of the printer is the latest as well
Hope it hepls;
RobertoR
You can say THANKS by clicking the KUDOS STAR. If my suggestion resolves your issue Mark as a "SOLUTION" this way others can benefit Thanks in Advance! -
my iphone 3gs downgrade 5.0 to 4.33 and unlock with redsnow but network no help me any one pls
hi
dear
......downgrade is currect use ireb tinyumberla edit host and itune no any error -
My phone 5 died and now it wont turn back on or seem to charge at all. I've tried several different charger cords and outlets. And all the phone will do is show the empty battery symbol. please help! Any suggestions are apprecaited!?! thanks
Hello Cooper,
Thank you for the details of the issue you are experiencing with your iPhone 5. I would be concerned too if my iPhone was not powering on. I found an article with steps you can take when you encounter an issue like this. I recommend following the steps below:
Will not turn on, will not turn on unless connected to power, or unexpected power off
Verify that the Sleep/Wake button functions. If it does not function, inspect it for signs of damage. If the button is damaged or is not functioning when pressed, seek service.
Check if a Liquid Contact Indicator (LCI) is activated or there are signs of corrosion. Learn about LCIsand corrosion.
Connect the iPhone to the iPhone's USB power adapter and let it charge for at least ten minutes.
After at least 30 minutes, if:
The home screen appears: The iPhone should be working. Update to the latest version of iOS if necessary. Continue charging it until it is completely charged and you see this battery icon in the upper-right corner of the screen . Then unplug the phone from power. If it immediately turns off, seek service.
The low-battery image appears, even after the phone has charged for at least 20 minutes: See "iPhone displays the low-battery image and is unresponsive" symptom in this article.
Something other than the Home screen or Low Battery image appears, continue with this article for further troubleshooting steps.
If the iPhone did not turn on, reset it while connected to the iPhone USB power adapter.
If the display turns on, go to step 4.
If the display remains black, go to next step.
Connect the iPhone to a computer and open iTunes. If iTunes recognizes the iPhone and indicates that it is in recovery mode, attempt to restore the iPhone. If the iPhone doesn't appear in iTunes or if you have difficulties in restoring the iPhone, see this article for further assistance.
If restoring the iPhone resolved the issue, go to step 4. If restoring the iPhone did not solve the issue, seek service.
My issue is still not resolved. What do I do next?
Contact Apple Support.
You can find the full article here:
iPhone: Hardware troubleshooting
http://support.apple.com/kb/TS2802
Thank you for using Apple Support Communities.
Best,
Sheila M. -
Please Help- checkbox- only one of them SHOULD BE checked at any time--How?
Hello
I have apex page with regions where i have some text fields of check box type.(YES NO)
Issue is that if i click YES and then click NO, YES box is still "CHECKED"
How to avoid that..SO that If I go from YES to NO box, only one of them is checked at any time
thanks
kpHoward
thanks for the reply
Can you please help in this also:
Re: SHOW HIDE REGION
thanks
kp -
i have an old mini running os x 10.4 . i'm about to upgrade to 10.6 but have a ton of music and recording software installed and need to know if it will affect any thing i have installed . does newer garageband work with older gband files ?please help ??
Sorry about that, yes, 10.5 and 10.6 on Intel can run Firefox 4.
Here's the process to roll back:
First, I recommend backing up your Firefox settings in case something goes wrong. See [https://support.mozilla.com/en-US/kb/Backing+up+your+information Backing up your information]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
Next, download and save Firefox 3.6 to your desktop for future installation. http://www.mozilla.com/firefox/all-older
You could install Firefox 3.6 over Firefox 4 (many have reported success) or you could uninstall Firefox first. If you uninstall, do not remove your personal data and settings, just the program.
Firefox 3.6 should pick up where you left off. If there are serious issues, please post back with details.
Note: I haven't actually tried this myself! -
Please help: more than one case won't work
I am working on an assignment for my class and I am trying to make it so that when a name like "Fred" or "Jonathan" is inputed, it will read a .txt file and output the nick name from the .txt file; but also, if the input does not match the first name, it will look at the next and so on. Right now it will ask me a name and let me input, but it will not find the case and print the correct line. Please help.
Here is my code so far:
import java.util.*;
import java.io.*;
public class Nickname {
private static int compareNames(){
Scanner name1 = new Scanner (System.in);
String fred = name1.next().trim() ;
String jon = name1.next().trim() ;
String noMatch = name1.next();
int name = 0;
if (fred.equals("fred")) { name = 1 ;}
else if (jon.equals("jonathan")) { name = 2 ;}
else if (noMatch.equals("")) {name = 77;}
return (name);
public static void main(String[] args) throws Exception {
Scanner fre = new Scanner (new File ("fred.txt"));
Scanner jo = new Scanner (new File ("jonathan.txt"));
Scanner ger = new Scanner (new File ("gertrude.txt"));
Scanner bar = new Scanner (new File ("bartholemew.txt"));
System.out.print ("Tell me your name: ");
switch (compareNames()){
case 1:
String fred = fre.next();
{System.out.print("I think I will call you " + fred + " instead.") ; break ; }
case 2:
String jon = jo.next();
{System.out.print("I think I will call you " + jon + " instead.") ; break ; }
case 77:
{System.out.print ("I hope this works") ; break ; }
}I tried the above code, and I code not get it to work for me. We haven' t learned a lot of that yet. This is what my teacher is asking for:
2. Nickname
First prompt the user for a name, which will be a single word. If the user types in Fred, for
example, the user's nickname will be stored in a file located in your current directory and with the
name fred-nickname.txt. You will read the user's nickname from that file. Suppose the file
fred.txt contains the word "FREDDY." Your program would then print the following message to
the console:
I think I will call you FREDDY instead.
In the assignment directory there are four sample "nickname" files that you should download to
the same directory containing this application:
jonathan.txt that contains the nickname "Jonathan"
fred.txt that contains the nickname "FREDDY"
bartholemew.txt that contains the nickname "bart"
gertrude.txt that contains the nickname "Gertie."
If those files were in your program's directory, your program should work like this (these are four
separate runs of the program):
Tell me a name: Jonathan
I think I will call you Jon instead.
Tell me a name: Fred
I think I will call you FREDDY instead.
Tell me a name: BARTholemew
I think I will call you bart instead.
Tell me a name: Gertrude
I think I will call you Gertie instead.
Notice that your program has to work regardless of whether the name is entered in upper case,
lower case, or some combination. Also notice that the program displays the name in the file
exactly as it appears in the file, without changing its case. You can assume that the user types the
name without leading or trailing white space, and that every name the user types in has a
corresponding nickname file. (In other words, your program does not have to handle the case
where a user types in an unrecognized name.) Also note that although you are supplied with four
examples of "nickname" files, your program should work any time the user types in a name that
has a corresponding "nickname" file in the application's working directory. You should write
several additional nickname files and test your program on those.
This application should be named Nickname.java. (project, class, etc.)
And this is my reworked code:
import java.util.*;
import java.io.*;
public class Nickname {
private static Scanner input;
//private static Scanner nname;
private static String name1 = "fred";
private static String name2 = "jonathan";
private static String name3 = "gertrede";
private static String name4 = "bartholemew";
private static String getNames() throws Exception{
//System.out.print("Tell me your name :") ;
input = new Scanner (System.in);
String ans = input.next().trim();
if (ans.equals(name1)) {
Scanner fre = new Scanner (new File ("fred.txt"));}
if (ans.equals(name2)) ;
if (ans.equals(name3)) ;
if (ans.equals(name4)) ;
return (ans);
public static void main(String args[]) throws Exception {
//Scanner fre = new Scanner (new File ("fred.txt"));
//Scanner jo = new Scanner (new File ("jonathan.txt"));
//Scanner ger = new Scanner (new File ("gertrude.txt"));
//Scanner bar = new Scanner (new File ("bartholemew.txt"));
System.out.print ("Tell me your name: ");
System.out.print(" your name is " + getNames());
right now it just prints what I type in.
I would appreciate any help. -
PLEASE HELP. QUICK ONE ON SERVLETS
What I want to do is to create a server client program whic allows the client to connect to the server and to use some of the servers objects. For example I might want the client to pass a request to the server. The server to process the rquest and then for the server to return the answer to the client.
I have looked on the java tutorial and I have found:
Servlets
IDL
RMI
Which one do I use.
I have breifly read through the tutorials and I cannot work out anything about any of them.
Please tell me which one I need to look at,
Manny thanks,I use servlets to accomplish exactly what you are taling about: give users limited access to server and enterprise resources. Might I recomend and book here for you? "Core Servlets and Java Server Pages" by Maty Hall. I found it most enlightening when I was trying to sort through the mental fog.
-
Need query... help me any one...
Hi,
i have the table like this,
| city | caste | cnt |
| 1 | 1 | 2 |
| 1 | 2 | 3 |
| 2 | 1 | 1 |
| 2 | 2 | 2 |
| 3 | 1 | 3 |
| 3 | 3 | 1 |
i want to select the top caste which is having the most cnt value for the each city.
expecting output
| city | caste | cnt |
| 1 | 2 | 3 |
| 2 | 2 | 2 |
| 3 | 1 | 3 |
Can you any one help me...?
Thanks,
S.Ashokkumar.Hi,
i have tried like this...
select t.city,t.caste,max(t.cnt) as mm from (
select city,caste,count(caste) as cnt from city group by city,caste)t
group by t.city
order by count(t.city) desc
it gives the wrong result set.
Is it correct or not?
Thanks
S.Ashokkumar. -
Please help..Making one of two checkboxes reuired if another is checked.
I have googled to the end of the internet and cannot find the solution I am looking for. I am a noob to Javascript.
I am working on a Systems access form where a users manager selects what he/she wants his user to have access too. The form Validates itself before printing. Here's where i'm stumped.
I have a checkbox for Internet Access called "Checkbox1". Then beside it, I have 2 checkboxes. They are named checkbox2 and checkbox3.
here's what i'm trying to do.
If - "checkbox1" is checked
Then - Require either "checkbox2 or checkbox3" be checked before printing.
Else - Nothing is required. User can print form.
Please help.Chris - If you're still looking for a solution, check out the below links that may help...or at least get you started:
http://www.acrobatusers.com/forums/aucbb/viewtopic.php?id=13246
http://www.acrobatusers.com/forums/aucbb/viewtopic.php?id=13447
http://www.acrobatusers.com/forums/aucbb/viewtopic.php?id=13904 -
Pls help me any one, ADF Faces EO,VO creation in mutiple table..
problem here:
table1
field1 (pk)
field2 NAME
table2
field1 (pk)
field2 (fk for table1)
field3 NAME
table3
field1 (pk)
field2 (fk for table2)
field3 NAME
Here each table having separate panel tabbed, i want to show table1 of
field2 in third panel tabbed(screen). How i can create EO,VO to show
with success.
When i'm showing the table1 of field2, is not require to do a DML operations.
like this my third screen's adf table
field2(table1) field2(table3) field3(table3)
(showing for
user identify)
Urgent Requirement pls help me.
In case of any query please free to mail @ [email protected]
Thanks & Regards,
Rengaraj
Edited by: user11129216 on May 4, 2009 7:21 AMLike Frank, I'm not 100% sure I'm understanding your requirement, but here are some observations.
Your three tables look like master/detail/detail, let's say it was Regions->Countries->Locations
So, you would build a RegionsView VO to show the Regions information.
You would build a CountriesView VO to show the Countries information.
You would build a LocationsView VO to show the Locations information.
Then you would create a view link between RegionsView and CountriesView to coordinate that master/detail relationship.
Then you would create a view link between CountriesView and LocationsView to coordinate that master/detail relationship.
All of the above will be created automatically for you if you have foreign keys defined in the database when you use the Create Business Components from Tables wizard. (including the underlying entity objects for your database tables, associations that reflect your foreign key relationships).
If you want LocationsView to show information from its parent, you can include the Country EO as an entity usage in the LocationsView and include the attributes from country that you want to appear in that (join) query. You can repeat to also add the Region EO as an entity usage to join all three.
Then, you would drop RegionsView from the data control palette onto tab1, CountriesView onto tab2, and LocationsView onto tab 3. -
Please help is any way you can.
Hi. I am getting so sick of this program. I have been trying to do it for the past couple of weeks and I am getting nowhere. I really wish someone can help me on it ... like totaly help me on it. I am getting so frustrated. I would appreciate all the help.
This is the program:
In Belageusia, a plorg has these properties:
Data:
A plorg has a name
A plorg has a contentment index (CI), which is an integer between 0 and 100
The population of plorgs in Belagersia is further subdivided into three mutually exclusive classes: Plebeians, Equidians, and Elitians.
A Plorg?s stature is completely determined by their contentment index and witht that designation comes certain burdens and/or advantages.
Plebeians have a contentment index in [0, 24].
Each new Plebeian is welcomed with a contentment index of 2 and burdened with a debt of $10.00
Plebeians never manage to break even, so they have no taxes imposed upon them. Furthermore, since they can never get out debt, they cannot accumulate any wealth.
Equidians have a contentment index in [25, 75]
Each new Equidian is welcomed with a contentment index of 50 and burdened with taxes of $20.00
Equidians have taxes imposed upon them. Furthermore, since they do manage to break even, they have no debt. However, since they only manager to break even, they do not accumulate any wealth.
Elitians have a contentment index in [76, 100]
Each new Elitian is welcomed with a contentment index of 87 and burdened with taxes of $20.00, but also provided with a ?silver spoon? of $30.00 in accumulated wealth.
Elitians manage to expand upon their wealth, sot hey have taxes imposed upon them. Furthermore, since they are accumulating wealth, they have no debt.
At each interim time epoch the population of Belageusia retracts with a death rate randomly selected between 0% and 10%. If a plorg survives the purge, they have an opportunity to move one class higher and/or one class lower. However, remember that a plorg?s name is final. It never changes.
For Plebeians this is transition is determined by randomly selecting a CI in [0, 49]. If this new CI is les than 25 then the plorg remains a Plebeian, with this newly assigned CI, and their debt increases 3.7%. If this new CI is in [25, 49], the Plebeian ascends to a Equidian, with this newly assigned CI, their debt is forgiven, but taxes of $20 are assessed.
For Equidians this is determined by randomly selecting a CI in [0,100].
If this new CI is in [25, 75] then the plorg remains a Equidian, with this newly assigned CI, but their taxes are increased 6.1%.
If this new CI is in [0, 24] then the plorg becomes a Plebeian, with this newly assigned CI, their taxes are forgiven, but they are burdened with a debt of $10.00.
If this new CI is in [76, 100] then the plorg becomes a Plebeian, with this newly assigned CI, but their taxes are increased 6.1%. However, they are bewtowed a wealth of $30.00.
For Eletians this is determined by randomly selecting a CI in [51, 100]. If this new CI is greater than 76 then the plorg remains an Eletian, with this newly assigned CI, their taxes increase 6.1% and their wealth increases 4.9%. If this new CI is in [51, 75], then this plorg becomes an Equidian, with this newly assigned CI, their wealth is eliminated, and their taxes are increased 6.1%.
At each time epoch, the population of Belageusia at a birth rate randomly selected between 0% and 10%. A randomly chosen number between 0-100 determines each newly born plorg?s stature. If this random number is in the range 0-24, create a new Plebeian. In the range 25-75, create a new Equidian, and if in the range 76-100, create a new Elitian.
We are supposed to output the population characteristics of Belageusia, after 1000 time epochs.
This is the code that I wrote down but got no where with:
import javax.swing.*;
import java.util.*;
import java.text.*;
public class Belageusiaplorg
public static void main (String[] args)
ArrayList Plebs = new ArrayList(350);
ArrayList Equids = new ArrayList(600);
ArrayList Elits = new ArrayList(350);
ArrayList Holding = new ArrayList(600);
for (int i=0; i<25; i++)
Plebs.add(new plebian());
for (int i=0; i<50; i++)
Equids.add(new equidian());
for (int i=0; i<25; i++)
Elits.add(new Elitian());
long population = Plebs.size() + Equids..size() + Elits.size();
System.out.println("Current Belageusia Population is "+population);
System.out.println("Current Plebeians Population is "+Plebs.size);
System.out.println("Current Equidians Population is "+Equids.size);
System.out.println("Current Elitians Population is "+Elits.size);
Random generator = new Random();
int x = generator.nextInt(11);
for (int j=0; j=plebs.size(); j++)
System.out.println(Plebs.g(j));
long Equids_size = Equids.size();
long Elits_size = Elits.size();
for(int j=1; j<Plebs.size(); j++)
Plebian e = (Plebian) Plebs.get(j);
int new_ci = generator.nextInt(50);
if (new_ci < 25)
e.setCI(new_ci);
e.raiseDebt();
else
Plebs.rename(j);
Equids.add(new Equidian(e.getName().newCI));
j++;
for(int j=0; j < Equids.size; j++)
Equidian e = (Equidian) Equids.get(j);
int newCI = generator.nextInt(101);
if(new_ci < 25)
Equids.remove(j);
Plebs.add(nwe Plebian(e.getName().new_ci));
Equids_size --;
j++;
else
if (new_ci > 75)
Equids.remove(j);
Elitian f = new Elitian(e.getName(),new_ci,e.getTaxes());
Elits.add(f);
Equids_size --;
j--;
else
e.setCI(new_CI);
e.raiseTaxes();
for (int j=0; j<Elits.size; j++)
Elitian e = (Elitian) Elits.get(j);
int ci = e.getCI();
int r = generator.nextINT(50);
int new_ci = 51+r;
if(new_ci > 75)
e.setCI(new_ci);
e.raisetaxes();
e.raisewealth();
else
Elitians.remove(j);
Equidian g = new Equidian(e.getName(), new_ci);
g.raisetaxes();
Equids.add(g);
Elits_size --;
j--;
if(deathrate != 0)
int multiple = 100/deathrate;
int count 1;
for (int j=0; j=Plebs.size(); j++)
if(count % multiple == 0)
Plebs.remove(j);
j--;
count++;
class Plorg
private final String name;
private int CI;
private static long nextID = 1;
public Plorg()
name = "Plorg" + nextID;
nextID++;
public Plorg(int CI)
name = "Plorg" + nextID;
nextID++;
this.CI = CI;
public Plorg (String name, int CI)
this.name = name;
this.CI = CI;
public void setCI(int new_CI)
CI = new_CI;
public String getName()
return name;
public int getCI()
return CI;
public Plorg Plebs()
public Plorg Equids()
public Plorg Elits()The only person who can clarify your homework requirements is the professor who assigned it.
Maybe you are looking for
-
Trying to connect my Digital AV Adapter to watch Netflex or Amazon Prime movie from IPad to TV and asking to disconnect AirPlay & mirroring. I do not have Air Play and there is no way to do this. Anyone have a solution? Is this a result of the new
-
[Gnome 3] Prevent screen to turn off [Solved]
Hi guys, I finally updated from Gnome 2 to 3 and wonder how I can prevent my screen to turn off after a while. From Gnome 2 I was used to be able to set 'never' besides settings like '1 minute', '10 minutes'... Is there any way to apply that to Gnome
-
Smart form -Right Alignment is not coming properly
Hi Folks, While Printing Smart form for Invoice ,using right aligned Paragraphs texts are not coming properly.....but using left aligned paragraphs text are coming proporly....we want both left aligned and right aligned in same table ...for print
-
Hi, I want to grant sysdba privilege to ops$ user. For that i have to set the remote_login_passwordfile parameter in the init<sid.ora file to EXCLUSIVE ryt..But as there is no such parameter in the file, i added up one. But still the parameter value
-
Stuttered footage in After Effects
Who can help me? When I rendered footage in After effects (6.5) it's a little bit stuttering. It looks like shooting on progressive scan. The settings are on upper field. It's 16:9 PAL and came out of media 100 editing system. The only thing we did i