How to define another charset?

Hello,
I've installed solaris 9 SPARC, and get no problems in command line interface with charcode, but when i go into X (using VNC) i get an different keyboard configuration.
Why this is happening?
How can i set an portuguese (pt_PT) charset so i don't get this problem?
Thanks for your help
AD

How can i set an portuguese (pt_PT) charset so i
don't get this problem?What does question have to do with java?
Kaj

Similar Messages

  • How to define default charset

    Hi.
    I want to make the app server add "charset=windows-1251" into Content-Type: header line for server1 virtual server.
    Content-Type: text/html;charset=windows-1251I tried to set Character set variable on Virtual Servers->server1->Doc Handling->International Characters page to windows-1251, apply changes and restart the instance but that did not help. I still receive just
    Content-Type: text/htmlHow to make app server to send a proper charset?

    How can i set an portuguese (pt_PT) charset so i
    don't get this problem?What does question have to do with java?
    Kaj

  • How to define another prefix eg. #MY_IMAGES#

    Hi,
    my customer wants to use another/second image prefix for his specific images
    (just as it is used with #IMAGE_PREFIX# pointing to the virtual path /i/ (by default)).
    What do i have to do, to use something like e.g.
    #MY_IMAGES# pointing to another virtual path /j/ located in /home/images ???
    (I dont want to change the original /i/, i'm looking for a second one)
    Thanks in advance
    Rainer

    Create another application level item MY_IMAGES which holds the new virtual path for your image. But you need to use &MY_IMAGES. or V('MY_IMAGES') to get the new path.

  • How to define BPC architecture?

    Hi All,
    Iu2019m a BI and BPS consultant and Iu2019m doing a prototype for evaluating BPC for Sales Planning and I need some help.
    Process flow as:
    a.     Extract sales from COPA (amount and quantities);
    b.     Copy Actual to Budget version;
    c.     Create new customers;
    d.     Delete old customers;
    e.     Calculate the seasonality of sales & and adjust budget;
    f.     Load & adjust prices
    g.     Load & adjust sales costs
    h.     Calculate Net Revenue
    i.     Calculate costs
    My file format is as given below:
    Account|Category|Time|RptCurrency|Entity|Customer|Product|Amount|Quantity
    Questions:
    1- There is a specific KF to load quantity or I should use another account? If so how do I load the unit measures?
    2- I tried to load my file in u201CEuru201D but I received an error. The upload only finished OK when I changed the currency to u201CLCu201D. There is any trick?
    3- In customer dimension, I add the sales org. attribute but it didnu2019t work out because a customer can have more than one sales org. There is any way to define a compound key for a dimension?
    4- Where can I find relevant documentation about BPC?
    Thanks for reading my post.
    Regards, Fred

    Hi Shyam!
    Thanks for your answer.
    1. I followed your suggestion and load the data twice (one for amount and another for quantity) but I still have de unit measure problem (KG, TON, etc.). Any suggestion about how to handle this situation?
    2. Yes is easy for me to convert LC in any other currency after the data load. But the problem is that I must load data in multiple currencies (EUR, USD)u2026
    3. No it didnu2019t work out. Let me give you an example:
    Customer       Sales Org            Distribution Channel
    100001      AX01          1
    100001      AX02          2
    When I tried to process dimension I received the following message u201CMember ID must be   uniqueu201D. Any other idea about how to define the compound key Customer and Sales Org?
    Regards,
    Frederico

  • How to define data-sources-alias.xml to use Oracle data source

    Hi,
    I created Oracle jdbc Data Source named "MYDS" in Visual Admin.  I added the alias = MYDS_ALIAS.  I set the Initial Connection to 2.  On the Monitor tab, I see a green line running across the screen.  The datasource MYDS is connected to the Oracle.
    Now, I would like to define "data-sources-alias.xml" to use MYDS.
    When creating data-source-aliases.xml it creates the alias by default on ${com.sap.datasource.default} which is the default DB.
    I followed the link --> How to point data-source-aliases.xml to another Datasource
    and my data-sources-alias.xml is now:
    <data-source-aliases>
         <aliases>
              <data-source-name>$</data-source-name>
              <alias>BRANCH50DS</alias>
         </aliases>
    </data-source-aliases>
    The "EAR generatation has finished successfully", but when "Deploy to J2EE Engine", I got the error below:
    1) How to define data-sources-alias.xml to use Oracle data source?
    2) I found the link (SDA Deployment error) talking about "sda-dd.xml".  How to create "sda-dd.xml" and make it use substitution variables "MYDS"
    Dec 20, 2005 3:53:41 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:
    [003]Additional log information about the deployment
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7181 - 630_SP]/>
    <!NAME[C:\usr\sap\J2E\JC00\SDM\program\log\sdmcl20051220205339.log]/>
    <!PATTERN[sdmcl20051220205339.log]/>
    <!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>
    <!ENCODING[Cp1252]/>
    <!LOGHEADER[END]/>
    Dec 20, 2005 3:53:39 PM  Info: -
    Starting deployment -
    Dec 20, 2005 3:53:39 PM  Info: Loading selected archives...
    Dec 20, 2005 3:53:39 PM  Info: Loading archive 'C:\usr\sap\J2E\JC00\SDM\program\temp\temp856850022Ear.ear'
    Dec 20, 2005 3:53:40 PM  Info: Selected archives successfully loaded.
    Dec 20, 2005 3:53:40 PM  Info: Actions per selected component:
    Dec 20, 2005 3:53:40 PM  Info: Update: Selected development component '50022Ear'/'sap.com'/'localhost'/'2005.12.20.15.53.28' updates currently deployed development component '50022Ear'/'sap.com'/'localhost'/'2005.12.19.18.39.12'.
    Dec 20, 2005 3:53:40 PM  Info: Saved current Engine state.
    Dec 20, 2005 3:53:40 PM  Info: Error handling strategy: OnErrorStop
    Dec 20, 2005 3:53:40 PM  Info: Update strategy: UpdateAllVersions
    Dec 20, 2005 3:53:40 PM  Info: Starting: Update: Selected development component '50022Ear'/'sap.com'/'localhost'/'2005.12.20.15.53.28' updates currently deployed development component '50022Ear'/'sap.com'/'localhost'/'2005.12.19.18.39.12'.
    Dec 20, 2005 3:53:40 PM  Info: SDA to be deployed: C:\usr\sap\J2E\JC00\SDM\root\origin\sap.com\50022Ear\localhost\2005.12.20.15.53.28\temp856850022Ear.ear
    Dec 20, 2005 3:53:40 PM  Info: Software type of SDA: J2EE
    Dec 20, 2005 3:53:40 PM  Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
    Dec 20, 2005 3:53:41 PM  Info: Begin of log messages of the target system:
    05/12/20 15:53:40 -  ***********************************************************
    05/12/20 15:53:41 -  Start updating EAR file...
    05/12/20 15:53:41 -  start-up mode is lazy
    05/12/20 15:53:41 -  com.sap.engine.deploy.manager.MissingSubstitutionException: Missing substitution value for variable [MYDS].
                              at com.sap.engine.deploy.manager.DeployManagerImpl.makeTempEar(DeployManagerImpl.java:3727)
                              at com.sap.engine.deploy.manager.DeployManagerImpl.makeNewEar1(DeployManagerImpl.java:3695)
                              at com.sap.engine.deploy.manager.DeployManagerImpl.deployUpdateAction(DeployManagerImpl.java:523)
                              at com.sap.engine.deploy.manager.DeployManagerImpl.update(DeployManagerImpl.java:512)
                              at com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performDeployment(EngineApplOnlineDeployerImpl.java:196)
                              at com.sap.sdm.serverext.servertype.inqmy.extern.EngineDeployerImpl.deploy(EngineDeployerImpl.java:96)
                              at com.sap.sdm.serverext.servertype.inqmy.EngineProcessor.executeAction(EngineProcessor.java:224)
                              at com.sap.sdm.app.proc.deployment.impl.PhysicalDeploymentActionExecutor.execute(PhysicalDeploymentActionExecutor.java:60)
                              at com.sap.sdm.app.proc.deployment.impl.DeploymentActionImpl.execute(DeploymentActionImpl.java:186)
                              at com.sap.sdm.app.proc.deployment.controllers.internal.impl.DeploymentExecutorImpl.execute(DeploymentExecutorImpl.java:46)
                              at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.executeAction(ExecuteDeploymentHandler.java:83)
                              at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.handleEvent(ExecuteDeploymentHandler.java:60)
                              at com.sap.sdm.app.proc.deployment.states.StateBeforeNextDeployment.processEvent(StateBeforeNextDeployment.java:127)
                              at com.sap.sdm.app.proc.deployment.states.InstContext.processEventServerSide(InstContext.java:73)
                              at com.sap.sdm.app.proc.deployment.states.InstContext.processEvent(InstContext.java:59)
                              at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.doPhysicalDeployment(DeployerImpl.java:127)
                              at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.deploy(DeployerImpl.java:96)
                              at com.sap.sdm.apiimpl.local.DeployProcessorImpl.deploy(DeployProcessorImpl.java:67)
                              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                              at java.lang.reflect.Method.invoke(Method.java:324)
                              at com.sap.sdm.is.cs.remoteproxy.server.impl.RemoteProxyServerImpl.requestRemoteCall(RemoteProxyServerImpl.java:127)
                              at com.sap.sdm.is.cs.remoteproxy.server.impl.RemoteProxyServerImpl.process(RemoteProxyServerImpl.java:38)
                              at com.sap.sdm.apiimpl.remote.server.ApiClientRoleCmdProcessor.process(ApiClientRoleCmdProcessor.java:81)
                              at com.sap.sdm.is.cs.session.server.SessionCmdProcessor.process(SessionCmdProcessor.java:67)
                              at com.sap.sdm.is.cs.cmd.server.CmdServer.execCommand(CmdServer.java:76)
                              at com.sap.sdm.client_server.launch.ServerLauncher$ConnectionHandlerImpl.handle(ServerLauncher.java:280)
                              at com.sap.sdm.is.cs.ncserver.NetCommServer.serve(NetCommServer.java:43)
                              at com.sap.sdm.is.cs.ncwrapper.impl.ServiceWrapper.serve(ServiceWrapper.java:39)
                              at com.sap.bc.cts.tp.net.Worker.run(Worker.java:50)
                              at java.lang.Thread.run(Thread.java:534)
    05/12/20 15:53:41 -  ***********************************************************
    Dec 20, 2005 3:53:41 PM  Info: End of log messages of the target system.
    Dec 20, 2005 3:53:41 PM  Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    Dec 20, 2005 3:53:41 PM  Error: Aborted: development component '50022Ear'/'sap.com'/'localhost'/'2005.12.20.15.53.28':
    Caught exception during application deployment from SAP J2EE Engine's deploy API:
    com.sap.engine.deploy.manager.MissingSubstitutionException: Missing substitution value for variable [MYDS].
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).DMEXC)
    Dec 20, 2005 3:53:41 PM  Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
    Dec 20, 2005 3:53:41 PM  Error: -
    At least one of the Deployments failed -

    Hi,
    If you remove the $ and braces (as shown below) it will work.
    <data-source-aliases>
    <aliases>
    <data-source-name>MYDS</data-source-name>
    <alias>BRANCH50DS</alias>
    </aliases>
    </data-source-aliases>
    Regards,
    S.Divakar

  • How to define a queue in SPAM?

    how to define a queue in SPAM?
    And also tell me the steps or procedure to apply support packs .

    Hello kumar,
    - Download the support packs from service.sap.com (provided you have a login ID) to the usr\sap\trans directory.
    - Open a command prompt and change the directory to
    NT: :\usr\sap\trans
    UNIX: /usr/sap/trans
    - Unpack the support packs using the following command:
    NT: CAR -xvf :
    .CAR
    UNIX: CAR -xvf ///.CAR
    This command unpacks the files that need to be imported into your SAP instance into the usr\sap\trans\eps\in directory.
    - Log into client 000 as user DDIC
    - Call transaction SPAM
    - Once in transaction SPAM, go to menu option Support Package->Load Packages->From Application Server. It will ask you if you want to upload the files - click the green check mark on the box that appears to upload the files.
    - Another screen will appear listing the files that you uploaded successfully - just click on the Back arrow to get back to the SPAM screen.
    - On the SPAM screen, click on the Display/Define button.
    - A box will appear with the Support Package categories (Basis, ABA, etc.)
    - Click on the category for the support packages that you uploaded and it will list them in order.
    - You can apply them individually or the whole list at one time.
    - To apply individually, select the first one in the list and then hit the green check mark at the bottom left of the box. Then on the SPAM screen, go to menu Support Package->Import Queue.
    - Confirm that you want to import the support package.
    - Once it is done importing, you have to confirm the queue by clicking on the
    Confirm Queue button - this will turn the yellow light in the Status area to green.
    *Always check your logs after applying support packages by clicking on the Logs button in the SPAM screen.
    Regards,
    Raju.

  • UJQ_RUN_RSDRI_QUERY: how to define the scope?

    Hi,
    I'm going to use UJQ_RUN_RSDRI_QUERY in a BADI in order to retrieve data from another application. It seems easy to use. But how to define the scope of the retrieved data, i.e. how to define the content of the it_sel parameter.
    thanks for your help,
    Romuald

    This is a selection table which contains the DIMENSION name and the selection options.  Here is how to fill the table. For example, say you wanted to select on only JAN.2012 for a certain account.
      clear ls_sel.
      ls_sel-dimension = 'ACCOUNT'.
      ls_sel-sign = 'I'.
      ls_sel-option = 'EQ'.
      ls_sel-low = 'CE40041000'.
      insert ls_sel into table lt_sel.
    clear ls_sel.
      ls_sel-dimension = 'TIME'.
      ls_sel-sign = 'I'.
      ls_sel-option = 'EQ'.
      ls_sel-low = 'JAN.2012'.
      insert ls_sel into table lt_sel.
    Cheers,
    Rich HEilman

  • How to define dependancy between sowtware comps in the SLD

    how to define dependancy between sowtware comps in the SLD,
    i have a software comp, in the IR, where i import all RFCs and IDOCs, so that they can be used across all software comps in the IR,
    since, IDOCs imported in one software comp, cant be used in another s/w comp,
    i need to create that dependancy..............................
    how can i mention the dependancy in the SLD....

    Hi,
    Please read the Rules OF Engagement,
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement&
    <i>
    Do not use words in capital letters and any of the words: urgent, quickly, burning, etc in your message. Especially not in the title! This just irritates and does not help you get to your goal. From our side, we definitely do not answer faster when we see these words.
    The same goes for such things as ??? or !!! in appends. In the English language one ? or ! is sufficient to terminate a sentence. </i>
    Answering you question, Say you have 2 SWCV's. SWCV A and B. All objects imported in SWCV A should be visible in B. In this case, go to SWCV B and in this, Go to the Dependency Tab , and Select SWCV A here as the dependent Component.
    In your IR, Clear SLD Cache and Reimport the 2  SWCV's into the IR and now you will see the Basis Objects in SWCV B. All the existing objects will not be affected as a result of this reimport into IR.
    Regards
    Bhavesh

  • How to define custom event and how to trigger the defined event

    hi,guys
    hurry issue....................hope get help.
    I am using oracle weblogic 10gr3 portal.and we choiced java portlet.as of now,we got some question about custom Event.hope you can give some idea....
    thank you so much.
    question detail:
    1.for java portlet ,how to define custom event.
    2.how to trigger this event.
    3 about the data,may be sometime need to transit Biz data.
    auctully,I just want to implements between two portlets communicate.
    for example:
    existing portletA,portletB.
    portletA is a list,like:
    A AA <button>
    after I click this buttom,then portletB will be effect,it means they are interact with each other.
    does anybody hit this issue before,if you solved pls share me .
    thank you for you help....

    Hello,
    Please note that everything below applies to JSR168 portlets ONLY- JSR286 portlets and other portlet types handle events a little differently.
    From inside your JSR168 portlet you can send an event during processAction or when receiving another event by using the PortletBackingContext object, such as:
    import javax.portlet.ActionResponse;
    import javax.portlet.ActionRequest;
    import javax.servlet.http.HttpServletRequest;
    import com.bea.netuix.servlets.controls.portlet.backing.PortletBackingContext;
    public void processAction(ActionRequest actionRequest, ActionResponse actionResponse)
    HttpServletRequest httpRequest = (HttpServletRequest) actionRequest.getAttribute("javax.servlet.request");
    PortletBackingContext portletBackingContext = PortletBackingContext.getPortletBackingContext(httpRequest);
    portletBackingContext.fireCustomEvent("customEvent", "This is a custom event");
    To receive an event, in your .portlet file you just need to put in a "handleCustomEvent" tag specifying which method to call when the event is received, such as:
    <?xml version="1.0" encoding="UTF-8"?>
    <portal:root xmlns:netuix="http://www.bea.com/servers/netuix/xsd/controls/netuix/1.0.0"
    xmlns:portal="http://www.bea.com/servers/netuix/xsd/portal/support/1.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.bea.com/servers/netuix/xsd/portal/support/1.0.0 portal-support-1_0_0.xsd">
    <netuix:javaPortlet title="Listening Portlet" definitionLabel="yourPortletName">
    <netuix:handleCustomEvent event="customEvent" eventLabel="customEvent" filterable="true" description="custom event handler">
    <netuix:invokeJavaPortletMethod method="processCustomEvent"/>
    </netuix:handleCustomEvent>
    </netuix:javaPortlet>
    </portal:root>
    Then, in your receiving portlet the method "processCustomEvent" would receive the event, such as:
    public void processCustomEvent(ActionRequest actionRequest, ActionResponse actionResponse, Event event)
    The event payload can be any Serializable object you want, but for forward-compatibility with JSR286 it would be ideal if it had a valid JAXB binding.
    Kevin

  • How to define CU60 tables

    Hi...
            I like to Know how to define tables and fields in Cu60 Transaction Table.. Please Provide me a Solution.
    With Regards,
    Aahbha

    Dear Aabha,
    1.First create the table in CU61,_set the status as released_,include the check box for decision table and assign the
    characteristics created in CT04 and save the data.
    2.IF it's not set with the status released means you cant maintain any values in the table in CU60.
    3.The use of including this check box for decision table is when you maintain the table values using CU60,automatically the
    system proposes all the combination of characteristic values.
    4.Say for Eg: in CU61 you have assigned 2 charac values one is colour and you have 2 values for this say Blue and red and
    another charac say gear type and you have 2 values one is 4 gear and another is 5 gear type,now 4 different combination is
    possible,so this combination will come in CU60.
    Check and revert
    Regards
    S Mangalraj
    Edited by: Mangalraj.S on Oct 6, 2010 11:45 AM

  • How to define the running order of the listeners

    Hello
    I would like to know how to define the running order of the listeners in my Dialogs.
    e.g. loadcontent on each element will do different things and some depedent on others to load when you you need the generated values based on the generated values of another element
    Thank you
    Nikolas

    Hi mei
    instead of using append use modify.
    i hope this might help you.
    gs_fieldcat-fieldname = 'VRT'.
    * gs_fieldcat-ref_table =.
    gs_fieldcat-outputlen = '3'.
    gs_fieldcat-edit = 'X'.
    gs_fieldcat-key = 'X'.
    gs_fieldcat-coltext = 'VRT'.
    gs_fieldcat-col_pos = 6.
    <b>*append gs_fieldcat to gt_fieldcat.
    modify gt_fieldcat from gs_fieldcat.</b>
    clear gs_fieldcat.
    gs_fieldcat-fieldname = 'QTY'.
    gs_fieldcat-datatype = 'FLTP'.
    gs_fieldcat-outputlen = '12'.
    gs_fieldcat-DECIMALS = '3'.
    gs_fieldcat-coltext = 'QTY'.
    gs_fieldcat-edit = 'X'.
    gs_fieldcat-col_pos = 7.
    <b>*append gs_fieldcat to gt_fieldcat.
    modify gt_fieldcat from gs_fieldcat.</b>
    or u can also try this way.
    form build_fieldcat changing gt_fieldcat type lvc_t_fcat.
      data gs_fcat type lvc_s_fcat.
      call function 'LVC_FIELDCATALOG_MERGE'
           EXPORTING
                i_structure_name = 'TABLE NAME'
           CHANGING
                ct_fieldcat      = gt_fieldcat.
      clear gs_fcat.
      loop at gt_fieldcat into gs_fcat.
        if gs_fcat-fieldname EQ 'VRT'.
          gs_fcat-scrtext_s = 'VARIETY'.
          gs_fcat-scrtext_m = 'VARIETY'.
          gs_fcat-scrtext_l = 'VARIETY'.
          gs_fcat-reptext   = 'VARIETY'.
          gs_fcat-seltext = 'VARIETY'.
          gs_fieldcat-outputlen = '3'.
          gs_fieldcat-edit = 'X'.
          gs_fieldcat-key = 'X'.
          gs_fieldcat-col_pos = 6.
          modify gt_fieldcat from gs_fieldcat.
         endif.
        if gs_fcat-fieldname EQ 'QTY'.
          gs_fcat-scrtext_s = 'QUANTITY'.
          gs_fcat-scrtext_m = 'QUANTITY'.
          gs_fcat-scrtext_l = 'QUANTITY'.
          gs_fcat-reptext   = 'QUANTITY'.
          gs_fcat-seltext = 'QUANTITY'.
          gs_fieldcat-outputlen = '3'.
          gs_fieldcat-edit = 'X'.
          gs_fieldcat-key = 'X'.
          gs_fieldcat-col_pos = 7.
          modify gt_fieldcat from gs_fieldcat.
         endif.
    and so on.....
    endloop.
    regards,
    venu.

  • Redwood CPS - how to define dependant jobs?

    Hi
    I am trying to schedule a job to run only after another job has ran successfully using Redwood CPS. I understand that the best way to do this is as follows:
    1) Define an new event - e.g. JOB_COMPLETION
    2) Define a new Job Chain, and assign a Step and a the first job to run to this. Set the 'Raise Events' tab to JOB_COMPLETION and the drop down box 'Status To Raise On' to 'Completed'
    3) Define another new Job Chain with a Step and the next job you want to run after completion of the first job. Set the 'Wait Events' tab to JOB_COMPLETION and Auto Submit to 'Always' and tick the 'clears event' tick box
    4) Right click on the first Job Chain and Submit - set a time for the job to run.
    What happens: the first job chain/step runs okay. Looking at the event JOB_COMPLETION it says both the Raise Event and Wait Event were both executed - and cleared afterwards - yet the second Job Chain was never ran? In the job status, it says 'Never'.... any idea how I get this to run on completion of the first job?
    Thanks
    Ross

    Answered in the CPS forum:
    Hi Ross,
    I think the best way to do it is to just use the jobchain object. You can do as follow:
    - Create a jobchain with 2 steps
    - First script in the first step, second script in the second step
    By default, script 2 does not run if script 1 failed.
    Regards,
    Yi Jiang

  • How to define package

    hi ...i m new to java.........
    i want my class should work as a package........and can be imorted in another class........so how to define my class as a package....and how to import it???

    thanks for ur help .........i tried that .but,i didnt get it...........here is my code: ----->>>
    //this a class Account i want it work as package
    package MyPackage;
    public class Account
         int ActBalance;
         public Account()
                   ActBalance=0;
         public void deposite(int dAmt)
              ActBalance+=dAmt;
         public void withdraw(int wAmt)
              if(ActBalance>=wAmt)
                   ActBalance-=wAmt;
              else
                   System.out.println("NOT SUFFICIANT BALANCE");
         public int getBalance()
              System.out.println(ActBalance);
              return ActBalance;
    //this is the class containing main method,where i want to import that package..............
    import MyPackage.*;
    public class Test
         public static void main(String args[])
              Account a=new Account();
                   a.getBalance();
                   a.deposite(10000);
                   a.getBalance();
                   a.withdraw(2000);
                   a.getBalance();
    // And these are errors i m getting
    Test.java:1: package MyPackage does not exist
    import MyPackage.java;
    ^
    Test.java:6: cannot resolve symbol
    symbol : class Account
    location: class Test
    Account a=new Account();
    ^
    Test.java:6: cannot resolve symbol
    symbol : class Account
    location: class Test
    Account a=new Account();
    ^
    3 errors

  • In oracle rac, If user query a select query and in processing data is fetched but in the duration of fetching the particular node is evicted then how failover to another node internally?

    In oracle rac, If user query a select query and in processing data is fetched but in the duration of fetching the particular node is evicted then how failover to another node internally?

    The query is re-issued as a flashback query and the client process can continue to fetch from the cursor. This is described in the Net Services Administrators Guide, the section on Transparent Application Failover.

  • How to define our own selection screen for logical database  in abap-hr?

    Hi Friends,
    Can u please help me
    How to define your own selection screens for  logical database.
    we use to do like(goto->attributes-HRReportcatagerious ).but How to desin using  customer table like t599c, t599f and how to add to my logical database?
    Thanks in advance
    charan

    check out this online help
    http://help.sap.com/saphelp_erp2004/helpdata/en/9f/dba65c35c111d1829f0000e829fbfe/frameset.htm
    Regards
    Raja

Maybe you are looking for

  • ITunes 10.7 will not install in my Windows.

    I have succesfully downloaded the iTunes 10.7 software.  But when I install it, it crashes and tells me that there is an error in the software.  Now I don't have the old version either.  It crashes when I tried to reinstall it.  Help??

  • Function or bapi returning customers or vendors with open items  per plant

    Dear experts. may you please tell me which function or bapi can i use that will return all customers or vendors with open items per given plant. i have tried to use BAPI_AR_ACC_GETOPENITEMS and BAPI_AP_ACC_GETOPENITEMS but they return open items for

  • Dynamic REST URL in REST URL Mashup

    Hi, Is it feasible to provide dynamics values in REST URL using REST URL Mashup? I am using the REST URL Mashup in a script. I understand, I can give dynamic input parameters in the body. But, is it feasible to do it on the URL itself? Please help Re

  • Using own domain name , duplication of web address HELP !!

    Hi all, Although this is not a big problem it is quite annoying. I am currently building website within Iweb 09. I have managed to set up my own domain name with no problems at all. The only thing is I get a duplication of my website name on the brow

  • Floating picture

    Picture box is positioned correctly in design mode, but changes coordinates in preview and when viewed live online, different everytime page is opened.