Scenario Plz reply me.

Hi All.
I have two applet based on the same BC. Ex. 1. "SIS Account List Applet" 2. "Account List Applet" these two applets are based on the same BC (Account). This BC having one field "Account Status" having some predefault value ("Active"). My Requirement is i want to display predefault value for this particular field in applet 1 (SIS Account List Applet) as "Active" and in applet 2 (Account List Applet) as "Closed". Plz tell me the process.
Thanks & Regards
Forum User.

Hi!
A field can either be Single Value (value stored directly in the underlying column) or Multi Value (based on a Link, an intersection or foreign key field is populated to represent a relationship). One field cannot be both.
If you want the field to be read only for specific users, there are User Properties for that. If you want one set of users to be able to pick from an MVG or Assoc applet and one set to be able to type free text, you'll need two seperate fields and either a toggle applet or some logic to hide and display the field controls based on the users login.
IF that's not what you're thinking, please feel free to post back with some context around the requirement and I'm sure we can help.
Regards,
mroshaw

Similar Messages

  • Reports of WBS Elements plz reply

    Hi
    we have one SAP standard reports for WBS elements ( plan/actual/variance) and one whichis customized project management report in Projects systems but both the reports are showing different balance.
    is there any particular reason for showing different balance for both actual and budget colum?
    plz reply asap
    thanks
    manish

    hi
    please try to use Co Object Name field with sub total

  • Blackberry app world team plz reply

    hi blackberry app world team,
    merry Christmas!
    plz reply of this thread, we are suffering with that....
    http://supportforums.blackberry.com/t5/BlackBerry-App-World-General/App-World-Web-Plugin-Error-An-er...
    Thanks & Regards
    Dinesh

    Can you register from a PC?
    http://us.blackberry.com/bbid.html
    Please click the Thumbs Up icon if this comment has helped you!
    If your issue is resolved, please click the solution button on the resolution!
    Every BlackBerry should have BlackBerry Protect, get it now! | Follow me on Twitter | Bring Back BBM Music!

  • Job scenario plz help

    Dear Experts
    In the following scenario plz help.
    in the job work tht client is doing. we r making a production order of a NON VALUATED DUMMY MATERIAL.
    the raw material which the customer gave to us was lets say 100 kg.
    after doing the job work i.e. after confirming the producion order the quantity made is 105 kg.
    I have to give customer only 100 kg.
    so rest 5 kg is in my stock.
    client want to convert it into its valuated stock.
    can u please help in mapping this scenario in SAP

    One suggestion,
    Do with tcodes, after you can do it with BAPI's
    1. Do an entry of subproducts: mov 531 with tcode MB11
    2. Do a transfer between materials (from a free good to a valuated good): mov 309 with tcode MB1B
    I hope this help you,
    Regards,
    Eduardo
    Edited by: Eduardo Hinojosa on Nov 7, 2008 5:50 PM

  • Plz reply with code

    Thanks Sujatha,
    But it's not working. Can u plz reply with the code.
    Plz help me soon.
    Moderator message : Vague subject/description. Thread locked.
    Edited by: Vinod Kumar on Jun 16, 2011 1:21 PM

    Either redeem an iTunes gift card; use a credit card; or follow the directions here to create a new Apple ID without a credit card:
    http://support.apple.com/kb/ht2534

  • Hi everyone! i am deleted a game but i forgot to backup them. can i get my progress back in a game called clash of clans. or there is another way to get the progress back??? plz reply fast

    hi everyone! i am deleted a game but i forgot to backup them. can i get my progress back in a game called clash of clans. or there is another way to get the progress back??? plz reply fast

    Hi cor-el,
    Yes I did. It didn't seem to work when just extracted into my home directory. After looking at the two wrapper scripts (firefox and run-mozilla.sh) it looked like it needed to be in /usr/local/lib/firefox-3.6.23 which I did and which works. The problem is that the Help menu is the one for 3.5.9 (including Help > About Firefox says version 3.5.9). Even if I rename the two wrapper scripts and the executable for 3.5.9 I still get the 3.5.9 Help menu. FWIW, my 3.5.9 was packaged in FC11 and the 3.5.9 firefox script is in /usr/bin.
    I'm sure I'm just overlooking something obvious but here is some debugging output:
    <pre><nowiki>[mike@desktop firefox-3.6.23]$ pwd
    /usr/local/lib/firefox-3.6.23
    [mike@desktop firefox-3.6.23]$ ./firefox
    + moz_libdir=/usr/local/lib/firefox-3.6.23
    + found=0
    + progname=./firefox
    ++ dirname ./firefox
    + curdir=.
    ++ basename ./firefox
    + progbase=firefox
    + run_moz=./run-mozilla.sh
    + test -x ./run-mozilla.sh
    + dist_bin=.
    + found=1
    + '[' 1 = 0 ']'
    + script_args=
    + debugging=0
    + MOZILLA_BIN=firefox-bin
    + '[' linux-gnu = beos ']'
    + pass_arg_count=0
    + '[' 0 -gt 0 ']'
    + '[' 0 = 1 ']'
    + exec ./run-mozilla.sh ./firefox-bin
    [mike@desktop firefox-3.6.23]$ </nowiki></pre>
    Thanks for any help.
    Cheers,
    Mike

  • Fans and noise??plz reply asap!!

    Hi i have a barely 1 month old Macbook , and recently i have noticed that the fans, when i put the book really close to my ears and i can hear a very smooth noise....is that normal or is it suposed to be 100% silent even when the room is totally quite!?!!?just wondering since iam a new mac user...
    thanks
    plz reply as soon as possible since iam worried, this is new macbook!!

    Sorry, I should have mentioned that. On my MBP in normal working, the fans will tick over at about 2,200 rpm.. If I am pushing things, or if an application gets out of control (the Firefox beta did this last week), I can expect them to run about 5,500 rpm or a bit more, although they soon begin to reduce speed, particularly once that application has finished what it was doing (or in the case of FF when I forced it to quit).
    Temps will vary depending on the unit being monitored. My CPU (A) is hitting 61 degrees Celsius, while the hard disk is on 37 and the bottom enclosure is at 35. These are well within the operating parameters. It may feel hot sometimes, particularly on the bottom of the case, but this is not unexpected.

  • Is there any application ,which can lock my folders individually  plz reply me

    is there any application ,which can lock my folders individually  plz reply me

    Ann app will not help, as no 3rd party application can affect another, so no app can lock another apps files or folders.
    Apps can lock their own content, and some do include that option of putting a passcode on just them and their own files, but there is no universal feature.
    If you put a passcode lock on the iPhone, then no one can get to your content.

  • Hi how can i implement the scenario.......plz reply asap.........

    HI folks,
    i have a typical problem in bex .
    my scenario is:i am having 2 values say 'x','y'.
    i want to implement a formula like x-y.
    if the x value is negative then i have to get the result as negative after the 'y' value get subtracted.if 'x' is positive, i have to get positive value after subtracting 'y' value.
    please let me know how can i implement this scenario in bex.
    by using a formaula or condition or anything else. please let me know clearly including the expression asap.
    Best reagards,
    ashok.

    answered

  • XI protocol error occurred in abap proxy scenario- plz

    Scenario is asynchronous
    Http -> XI ->R/3(abap server proxy)
    sender: Through http client
    receiver is abap server proxy
    <u>Repository objects:</u>
    Sender: sender_DT, sender_MT, sender_MI(outbound asynchronous)
    Receiver: imported RFC from R/3 client 550, receiver_MI(which has message type refered to the imported RFC)
    Interface mapping: source=sender_MI, receiver_MI.
    Proxy generated on R/3 client 550 for receiver_MI.
    <u>Configuartion objects:</u>
    Sender: business service, no comm channel since http sender.
    receiver: R/3 business system
    Comm channel: receiver_cc type of XI.
    transport protocol: http
    message protocol : XI 3.0, since both XI and R/3 on webas 6.4
    addressing type: URL
    target host: diamond
    service number: 8005
    path: /sap/xi/engine?type=entry
    Authentiction data:
    user name: user22
    passwrod; correct
    logon client: 400 which is the same client I developed ll the design and config objects.
    Recevr determinaion, interface determination and recevr agrrement looks fine.
    The error iam getting is:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIProtocol</SAP:Category>
      <SAP:Code area="MESSAGE">LOOP_IN_MESSAGE_ROUTING</SAP:Code>
      <SAP:P1>is.05.diamond</SAP:P1>
      <SAP:P2>IS</SAP:P2>
      <SAP:P3>XI</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>XI protocol error occurred</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    <b>
    Please reply , your help is appreciated.</b>
    Thanks
    KK

    Stefan thanks,
    I tried as you suggesetd putting the info of R/3 for
    server: diamond
    port: 8005
    client: 550
    user id: user05
    pwd: correct
    But I get the below error, suggest me what permission should this userid have?
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
      <SAP:P1>401</SAP:P1>
      <SAP:P2>Unauthorized</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText><!DOCTYPE html PUBLIC"-//W3C//DTD HTML 4.01Transitional//EN"><html><head><title>Logon Error

  • Sto scenario plz help urgent

    Under company code 7245 I m doing stock transfer from 7245 plant to 7246 plant
    supplying plant 7245 recieving plant 7246 ccode 7245
    n sales area in supplying plant is 7245-7a-7a
    now in this sales area ive created a customer 7246 to represent recieving plant
    on the oher side in 7246 ive created vendor 7245
    now in
    SPROMMPO-SET UP STOSHIPPING DATA
    for plant 7246 ive given cust num plant:7246 sales area 72457a7a
    and
    for plant 7245 ive kept cust num plant blank
    and sales area 72457a7a
    n shipping point det in 7246 cust mast shipping cond is 7a
    loading group in material is 7245 for plant 7245
    and for material in 7246 the lopading group is 7246
    the shipping pt det is as follows
    7a-724572457245(shipping cond-loading group-plant-shipping point)
    now when i m creating po in me21n
    i m getting warning message
    ship point 7245 not allowed for ship cond 7a loading group 7245 plant 7245
    its only a warning
    but it is picking up 7245 as shipping point
    now vl10g is also fine
    i m getting the delivery doc number
    n vl02n and migo is fine
    now
    my doubt is
    wat r the settings so that i can do both ways
    see with the above setting i m able to send stock frm 7245 plant to 7246
    but i m not able to configure stock transfer from 7246 to 7245
    mainly i wan settings @ SPROMMPO-SET UP STOSHIPPING DATA
    i ve created customer 7245 in 7246-7a-7a
    and vendor 7245 in purch org 7246
    cant be both settings be standard
    so that stock can be sent any ways
    because both plants belong to same ccode and stock can be ransfered both ways,is this scenario possible??/
    or sto is only one way ??
    plz clarify
    i ve already spent a lot of time on this plz help me out.
    anil
    Edited by: anil singh on Mar 12, 2008 5:37 PM

    Hi,
    Create the customer in the delivering Sales Area/Plant/CC and assign this customer to the recieving plant in the MM> purchasing> STO> Setup STO> Shipping data for plants.
    Assign the delivering plant's salea area also here. So you need to create a customer in 7245 and assigne it in 7246.
    Create the vendor in the purchase organisation of the receiving plant and assgin the delivering plant in the vendor master. Maintain the document types correctly and define whether you require one step or two step procedure.
    hope this will help.
    Prase

  • How to catch following error ---- JBO-25013: -----plz reply

    can any one plz tell me how to catch and display this error.....
    as an arror message box?
    please reply as early as possible....
    thanx
    detail error page---
    oracle.jbo.TooManyObjectsException: JBO-25013: Too many objects match the primary key oracle.jbo.Key[06927 ].     at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelect(OracleSQLBuilderImpl.java:796)     at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:5585)     at oracle.jbo.server.EntityImpl.populate(EntityImpl.java:4712)     at oracle.jbo.server.EntityImpl.merge(EntityImpl.java:5058)     at oracle.jbo.server.EntityCache.add(EntityCache.java:565)     at oracle.jbo.server.ViewRowStorage.entityCacheAdd(ViewRowStorage.java:1762)     at oracle.jbo.server.ViewRowImpl.entityCacheAdd(ViewRowImpl.java:2151)     at oracle.jbo.server.ViewDefImpl.createInstanceFromResultSet(ViewDefImpl.java:1070)     at oracle.jbo.server.ViewObjectImpl.createRowFromResultSet(ViewObjectImpl.java:2943)     at oracle.jbo.server.ViewObjectImpl.createInstanceFromResultSet(ViewObjectImpl.java:2842)     at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:2203)     at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:2088)     at oracle.jbo.server.QueryCollection.get(QueryCollection.java:1468)     at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:3650)     at oracle.jbo.server.ViewRowSetIteratorImpl.doFetch(ViewRowSetIteratorImpl.java:2818)     at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2687)     at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2634)     at oracle.jbo.server.ViewRowSetIteratorImpl.getRowAtRangeIndex(ViewRowSetIteratorImpl.java:722)     at oracle.jbo.server.ViewRowSetImpl.getRowAtRangeIndex(ViewRowSetImpl.java:3672)     at oracle.jbo.server.ViewObjectImpl.getRowAtRangeIndex(ViewObjectImpl.java:6263)     at oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding$FacesModel._bringInToRange(FacesCtrlRangeBinding.java:541)     at oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding$FacesModel.setRowIndex(FacesCtrlRangeBinding.java:504)     at oracle.adf.view.faces.component.UIXCollection.setRowIndex(UIXCollection.java:378)     at oracle.adf.view.faces.component.UIXTable._processStamps(UIXTable.java:496)     at oracle.adf.view.faces.component.UIXTable.processFacetsAndChildren(UIXTable.java:377)     at oracle.adf.view.faces.component.UIXCollection.decodeChildrenImpl(UIXCollection.java:141)     at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)     at oracle.adf.view.faces.component.UIXCollection.processDecodes(UIXCollection.java:136)     at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)     at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)     at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)     at javax.faces.component.UIForm.processDecodes(UIForm.java:144)     at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)     at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)     at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)     at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)     at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)     at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)     at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:880)     at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:306)     at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:79)     at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)     at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)     at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)     at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)     at java.lang.Thread.run(Thread.java:595)

    Hi,
    have a look at SRDemo that you can download through JDeveloper (help--> check for updates) and see
    SRDemoADFPhaseListener.java
    and
    SRDemoPageLifecycle.java
    in the oracle.srdemo.view.frameworkExt package
    Frank

  • Typical scenario- urgent reply,,,

    Hi All,
    I  have a requirement-
    we get damaged products into plant- and we do value addition to the damaged product and sent it as a finished product to the customers, also we dont want to valuate it at plabt level as its customer product. And to that finished product we consume some raw material on shop floor.
    ( as I recieve it  as  x-material code, and as I am doing some value addition to the same X-material( want to create a production order, can nn this case we maintain same material code?),
    any explanation & suggestions on this?  in SAP R/3
    reply at the earliest,
    regards
    svrinsapscm

    Hi Srinivas,
    This is an MTO scenario.
    You recieve material from customer as X and u do some value addition and return the material to customer as X again. Please confirm if this is right.
    Assuming Yes as answer, Suggest you to create Recursive BOM for each of such Finished material. Do not worry about the raw material in BOM you can add this directly to production order when you get the material and finish analyzing what component must be used.
    Create sales order and you will run MRP for it. Convert the plan order to production order and then add the raw material in the production order. I assume that you will be doing quality inspection or prilimanary analysis to find out what compoenent must be added. Maintain this step as oper. 10 in your routing so that inspection activity time is also captured.
    Routing can be maintained as default for base Qty. and minor chnages can be taken care of later. Since this is MTO and repair for damage material will require different amount of time for each time the finished material arrives for repair, you will have to make manual changes in timing of production order after inspection of damage has been done. This will ensure the planned cost is captured as well. Making chnages in CO11N directly is not recommended because it will create the variance in month end process. 
    Please note that in MTO scenario settlement of cost is important. you need to sit with finance and SD and decide where will the Cost for GR against production order be settled (SDI or MAT). Based on this, you might have to create a new strategy type as well.
    Do let me know if u need more

  • Configure XI adapter for abap proxy scenario- plz help

    Hi,
    Pleas help me in configureing the XI adpater in abap server proxy scenario, answer the one in bold in below
    Scenario is asynchronous
    Http -> XI ->R/3(abap server proxy)
    sender: Through http client
    receiver is abap server proxy
    Repository objects:
    Sender: sender_DT, sender_MT, sender_MI(outbound asynchronous)
    Receiver: receiver_MI
    Interface mapping: source=sender_MI, receiver_MI.
    <u>Proxy generated on R/3 client 550 for receiver_MI.</u>
    this proxy internally calls an RFC which inturn updates a table.
    Configuartion objects:
    Sender: business service, no comm channel since http sender.
    receiver: R/3 business system
    Comm channel: receiver_cc type of XI.
    transport protocol: http
    message protocol : XI 3.0, since both XI and R/3 on webas 6.4
    <b>addressing type: URL
    target host: ??? where can I find this
    service number: ?? where can I find this
    path: /sap/xi/engine?type=entry</b> i guess the path is correct for XI 3.0
    <u>My system details: XI - client 400, R/3 client  550.</u>
    Authentiction data:
    <b>user name: this user suppossed to be from R/3 or XI?,</b>
    passwrod; proper password
    <b>logon client: the client supposed to be of R/3 or XI?</b>
    Recevr determinaion, interface determination and recevr agrrement looks fine.
    Please reply , your help is appreciated.
    Thanks
    KK

    Hi,
    <i>>>>target host: ??? where can I find this</i>
    Your R/3 host number you can find System->Status
    <i>>>>service number: ?? where can I find this</i>
    You can find in SMICM in services
    <i>>>>user name: this user suppossed to be from R/3 or XI?,
    passwrod; proper password
    logon client: the client supposed to be of R/3 or XI?</i>
    R/3 logon details.
    Thanks,
    Prakash

  • Urgent Plz reply: java.lang.Class not found exception

    Hi All,
    I am novice to j2me, I am tryiing communicate data between client and Java server. I have given project name client and midlet class name FileViewer.java.
    It is compiling succesfully
    but when I run it , it is giving error
    Unable to create Midlet FileViewer.java
    java.lang.classnot found excetption: FileViewer.java
    at com.sun.midp.midlet.selector.commandaction(+47)
    at javax.microedition.lcdui.Display$displayaccessor.commandaction.(+152)
    at com.sun.kvem.midp.lcdui.EmulEventHandler$eventloop.run(+459)
    Here is the code
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.io.*;
    import java.io.*;
    public class FileViewer extends MIDlet implements CommandListener
    private Display display; // Reference to Display object
    private TextBox tbViewer; // View file contents in a textbox
    private Command cmView; // Command to view file
    private Command cmExit; // Command to exit
    private String url = "http://www.corej2me.com/midpbook_v1e1/scratch/fileViewer.hlp";
    public FileViewer()
    display = Display.getDisplay(this);
    // Define commands
    cmView = new Command("View", Command.SCREEN, 2);
    cmExit = new Command("Exit", Command.EXIT, 1);
    tbViewer = new TextBox("Viewer", "", 250, TextField.ANY);
    tbViewer.addCommand(cmView);
    tbViewer.addCommand(cmExit);
    tbViewer.setCommandListener(this);
    public void startApp()
    display.setCurrent(tbViewer);
    private void viewFile() throws IOException
    HttpConnection http = null;
    InputStream iStrm = null;
    try
    // Create the connection
    http = (HttpConnection) Connector.open(url);
    // Client Request
    // 1) Send request method
    http.setRequestMethod(HttpConnection.GET);
    // 2) Send header information (this header is optional)
    http.setRequestProperty("User-Agent", "Profile/MIDP-1.0 Configuration/CLDC-1.0");
    // 3) Send body/data - No data for this request
    // Server Response
    // 1) Get status Line
    System.out.println("Msg: " + http.getResponseMessage());
    System.out.println("Code: " + http.getResponseCode());
    // 2) Get header information
    if (http.getResponseCode() == HttpConnection.HTTP_OK)
    // 3) Get data (show the file contents)
    iStrm = http.openInputStream();
    int length = (int) http.getLength();
    if (length > 0)
    byte serverData[] = new byte[length];
    iStrm.read(serverData);
    tbViewer.setString(new String(serverData));
    Alert alTest = new Alert("Alert Test", new String(serverData), null, null);
    display.setCurrent(alTest);
    finally
    // Clean up
    if (iStrm != null)
    iStrm.close();
    if (http != null)
    http.close();
    public void pauseApp()
    public void destroyApp(boolean unconditional)
    public void commandAction(Command c, Displayable s)
    if (c == cmView)
    try
    viewFile();
    catch (Exception e)
    System.out.println(e.toString());
    else if (c == cmExit)
    destroyApp(false);
    notifyDestroyed();
    If some body has knowledge why this error is coming plz share wiht me Its urgent .
    Thanks in advance.
    Thanx

    No, the "-g" version just means it has the debug flag turned on when they compile it.
    Your problem is CLASSPATH and how to set it properly.
    Use the -classpath option on java.exe when you run. Read the javadocs on the tools to find out how.
    %

Maybe you are looking for