Help on pizza order applet

Hello all,
how are u ?
I am student and i study IT and one of courses is JAVA ~ by the way am from UAE
hmmm
Our teacher asks us to do a java applet for customers to order pizza
I wanna to a program similer to this one
http://home.ec.rr.com/mytestpage100/
How I can start and if any one have the source for this one, kindly give to me
I wanna to see the steps and follow it to create my applet !
Plz Plz help me :(

life-is-tough wrote:
Our teacher asks us to do a java applet for customers to order pizzaSo this is a homework assignment, and as such you should be the one to do this.
I wanna to a program similer to this one
http://home.ec.rr.com/mytestpage100/
I wish you luck in creating this.
How I can start and if any one have the source for this one, kindly give to meNo. Asking for source is asking for us to help you cheat. Do what you can and feel free to come back and ask specific questions on your code, but do not ask us to cheat. Ever.

Similar Messages

  • I need help with the Quote applet.

    Hey all,
    I need help with the Quote applet. I downloaded it and encoded it in the following html code:
    <html>
    <head>
    <title>Part 2</title>
    </head>
    <body>
    <applet      codebase="/demo/quote/classes" code="/demo/quote/JavaQuote.class"
    width="300" height="125" >
    <param      name="bgcolor"      value="ffffff">
    <param      name="bheight"      value="10">
    <param      name="bwidth"      value="10">
    <param      name="delay"      value="1000">
    <param      name="fontname"      value="TimesRoman">
    <param      name="fontsize"      value="14">
    <param      name="link"      value="http://java.sun.com/events/jibe/index.html">
    <param      name="number"      value="3">
    <param      name="quote0"      value="Living next to you is in some ways like sleeping with an elephant. No matter how friendly and even-tempered is the beast, one is affected by every twitch and grunt.|- Pierre Elliot Trudeau|000000|ffffff|7">
    <param      name="quote1"      value="Simplicity is key. Our customers need no special technology to enjoy our services. Because of Java, just about the entire world can come to PlayStar.|- PlayStar Corporation|000000|ffffff|7">
    <param      name="quote2"      value="The ubiquity of the Internet is virtually wasted without a platform which allows applications to utilize the reach of Internet to write ubiquitous applications! That's where Java comes into the picture for us.|- NetAccent|000000|ffffff|7">
    <param      name="space"      value="20">
    </applet>
    </body>
    </html>When I previewed it in Netscape Navigator, a box with a red X appeared, and this appeared in the console when I opened it:
    load: class /demo/quote/JavaQuote.class not found.
    java.lang.ClassNotFoundException: .demo.quote.JavaQuote.class
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.FileNotFoundException: \demo\quote\JavaQuote\class.class (The system cannot find the path specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(Unknown Source)
         at java.io.FileInputStream.<init>(Unknown Source)
         at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more
    Exception in thread "Thread-4" java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletException(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)What went wrong? and how can I make it run correct?
    Thanks,
    Nathan Pinno

    JavaQuote.class is not where your HTML says it is. That is at the relative URL "/demo/quote/".

  • Can anybody help me in order to decide API or import program

    Can anybody help me in order to decide API or import program while updating the seeded table qa_results.
    Also keen to know whether can i use return in the worflow package?
    Regards,
    Javed Khan

    Hi Javed,
    refer MOS note:
    Need Help For Oracle Quality Open Interfaces And APIs [ID 1366416.1]
    also review below note as number of ERs are already raised for Quality Results
    Answers to Discrete Quality --> Frequently asked questions [ID 1065716.1]
    thanks

  • Need help on Production order confirmation cancel issue

    Hi,
    I need your help regarding Prduction Order issue.
    We have created Production Order and issued raw materials and we done paritial confirmation also. Now the order status is PNCF.
    After that we notice that it was wrong confirmation so we went CO13 we cancel those confirmations.
    But in our zprogram still those order is showing as paritial confirmation order.
    I need in which SAP table confirmation status stored and what will be the production order status after cancel the confirmation.
    and in which table cancel production order confirmation data will be availiable.
    please guide me
    sateesh

    HI,
    There is No Standard Status for Reversing or cancelling the Confirmation.
    Generally, When you confirm the status PCNF or CNF gets active.
    When you reverse it theybecome inactive.
    also let us know, whether You cancelled or reversed the confirmation or revesed the GI postings.
    If you have reversed the GI postings using Reverse Movement type or Materail documents, it is possible to have the PCNF order status unchanged.
    Regards
    Ratan
    Edited by: Ratan on Aug 28, 2009 7:23 PM

  • Help with a simple Applet

    I am just starting Applets. This code compiles and a blank Applet displays but the Button object does not display. The HTML should be good because the blank Applet displays. Both files are saved in the same directory and my java code is compiled. Help?
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    public class WhosGreat extends Applet implements ActionListener
    Button btnGreat = new Button("Who's the Greatest?");
    Font LargeFnt = new Font("Times Roman",Font.BOLD,10);
    public void init()
    //btnGreat.setFont(LargeFnt);
    add(btnGreat);
    btnGreat.addActionListener(this);
    public void actionPerformed(ActionEvent e)
    String name = "Bugs Bunny";
    Label lblName = new Label("");
    lblName.setFont(LargeFnt);
    lblName.setText(name);
    add(lblName);
    invalidate();
    validate();
    }

    I compiled your code and ran it. It did just what you said in Internet explorer but it worked just fine in Netscape7 and appletviewer.Just remember microsoft sucks:)

  • Help on solve order concept of ASO

    Hi,
    I am new in solve order concept of ASO design. I am not able to understand the concept of solve order. After digging a lot in DBAG and different post available at forum, I have reached to below conclusion.
    Request you to please confirm these assumptions-
    a) Default solve order is 0. It can be set between 0 to 127.
    b) A member having solve order 5 will be executed before the member having the solve order 10.
    For example: If there are 2 members i.e. ABC and XYZ in outline, and as per requirement, we want to execute the calculation of XYZ only after ABC aggregates or calculate. Then, solve order of XYZ will be higher than ABC. It can be any number higher than ABC.
    So, I should set ABC's solve order has 5 and XYZ solve order as 6. As a result XYZ gets calculated only after ABC.
    c) As example given in EBAG, I have 2 dimensions i.e. 'Year' and 'Measures'. Some members of both the dimension have the formulas, i.e
    Year
    ---- Curr Year
    ----Prev Year
    ----Variance (Formula: [Curr Year]-[Prev Year])
    Measures
    ---Units
    ---Transactions
    ---Avg Units/Transaction (Formula: [Units]/[Transactions]
    At retrieval time, the result in the cell of inter-section of Variance and 'Avg Units/Transaction' member, depends on the solve order of members. The formula on the member that has the higher solve order takes precedence.
    If Variance member has solve order 10 and 'Avg Units/Transaction' has 20, then formula written on 'Avg Units/Transaction' will be executed only.
    If Variance member has solve order 20 and 'Avg Units/Transaction' has 10, then formula written on 'Variance' will be executed only .
    Please confirm my understanding.
    Thanks & Regards,
    Mohit Jain

    life-is-tough wrote:
    Our teacher asks us to do a java applet for customers to order pizzaSo this is a homework assignment, and as such you should be the one to do this.
    I wanna to a program similer to this one
    http://home.ec.rr.com/mytestpage100/
    I wish you luck in creating this.
    How I can start and if any one have the source for this one, kindly give to meNo. Asking for source is asking for us to help you cheat. Do what you can and feel free to come back and ask specific questions on your code, but do not ask us to cheat. Ever.

  • Select query help for Sales order

    Hi Experts,
    I have to write a select query to fetch sales orders which are open along with the quantities which are open ( not delivered). What would the best approach for this?
    Any help is appreciated. Expecting code samples....Thanks
    Thanks
    Ricky

    hi,
    do like this,
    write a select query for vbak and vbuk as follows.
    delivery status field is <b>lfstk</b> from <b>vbuk</b>,
    and relation field is <b>vbeln</b> from the both the tables.
    reward points if useful,
    regards,
    seshu.

  • Help required - Sales order item is partially delivered but the item grayed

    I have a sales order 123 having say item10 with qty 1, item20 with qty 10 , item 30 qty 12
    Item 1 confirmed qty 1 and delivered qty is 1
    Item 2 confirmed qty 10 and delivered qty 10
    Item 3 confirmed qty 1 and delivered qty is 1
    Now the item3 still has open requirements of 11 to be delivered. But the item is GRAYED OUT already.
    even if I do ATP the qty is not confirming for the remaining 11 pieces.
    Why is that? How to make that item out from GRAY.
    How to confirm the remaining 11 qty for that item.
    Help required as early as possible.
    Appreciate ur help guys
    Radha

    hi Radha, how are you ?
         ---the partial deliveries in master data must have not been mentioned.
         ---the deliveries should be upto target quantity.
         ---check order type, item category and schedule line category.
         ---check unrestricted stock availability.
    thank you
    regards
    Khera.

  • Help on Sales order report

    Hi,
    I have a code to display Sales order report. But i need to generate Sales order Line item wise Report. Can anyone help me to modify this code to suit my criteria?
    DATA: IT_VBAK LIKE VBAK OCCURS 0 WITH HEADER LINE.
    DATA: IT_VBAP LIKE VBAP OCCURS 0 WITH HEADER LINE.
    PARAMETERS: SORG LIKE VBAK-VKORG,
    CCODE LIKE VBAK-BUKRS_VF.
    SELECT * FROM VBAK INTO TABLE IT_VBAK UP TO 100 ROWS
    WHERE
    VKORG = SORG AND
    BUKRS_VF = CCODE.
    SELECT * FROM VBAP INTO TABLE IT_VBAP UP TO 100 ROWS
    FOR ALL ENTRIES IN IT_VBAK
    WHERE
    VBELN = IT_VBAK-VBELN.
    LOOP AT IT_VBAP.
    WRITE: / IT_VBAP-VBELN, IT_VBAP-ERNAM, IT_VBAP-POSNR.
    ENDLOOP.
    Thanks in advance..
    Any help will be greatly appritiated

    Hi
    Hope it will help you..
    Reward if help.
    REPORT ZVRDOC0 no standard page heading
    line-size 300
    line-count 50(5).
    TABLES : vbak, "Sales Document Header Level
    vbap, "Sales Document Header Level
    kna1. "General Data in customer Master
    *INTERNAL TABLE T_VBAP
    DATA : Begin of t_vbap occurs 0,
           vbeln like vbap-vbeln,
           matnr like vbap-matnr,
           posnr like vbap-posnr,
           arktx like vbap-arktx,
           kwmeng like vbap-kwmeng,
           cmkua like vbap-cmkua,
           end of t_vbap.
    *INTERNAL TABLE T_TAB.
    DATA : Begin of t_tab occurs 0,
            vbeln like vbak-vbeln,
            kunnr like vbak-kunnr,
            audat like vbak-audat,
            netwr like vbak-netwr,
            vkorg like vbak-vkorg,
            name1 like kna1-name1,
            land1 like kna1-land1,
            end of t_tab.
    *INTERNAL TABLE T_FINAL.
    DATA : Begin of t_final occurs 0,
            vbeln like vbap-vbeln,
            kunnr like vbak-kunnr,
            matnr like vbap-matnr,
            posnr like vbap-posnr,
            arktx like vbap-arktx,
            kwmeng like vbap-kwmeng,
            cmkua like vbap-cmkua,
            audat like vbak-audat,
            netwr like vbak-netwr,
            vkorg like vbak-vkorg,
            name1 like kna1-name1,
            land1 like kna1-land1,
            end of t_final.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE text-bO3.
    parameters : P_kunnr like vbak-kunnr.
    select-options : S_vbeln for vbak-vbeln,
                     S_audat for vbak-audat.
    SELECTION-SCREEN END OF BLOCK B1.
    start-of-selection.
    select vbeln  matnr posnr arktx kwmeng cmkua  from vbap
    into corresponding fields  of table  t_vbap  where vbeln in S_vbeln .
    IF sy-subrc EQ 0.
    select  vbakkunnr vbakvbeln vbakaudat vbaknetwr vbak~vkorg
            kna1name1 kna1land1  into  table   t_Tab   from
            vbak   join  kna1   on kna1kunnr  = vbakkunnr
            FOR ALL ENTRIES IN t_vbap
            where vbak~vbeln = t_vbap-Vbeln and
            vbak~kunnr = p_kunnr and
            vbak~audat  in  S_audat .
    ENDIF.
    *end-of-selection.
    loop at t_vbap.
    read table t_tab with key vbeln = t_vbap-vbeln.
    move :
    t_vbap-vbeln to t_final-vbeln,
    t_vbap-matnr to t_final-matnr,
    t_vbap-posnr to t_final-posnr,
    t_vbap-arktx to t_final-arktx,
    t_vbap-kwmeng to t_final-kwmeng,
    t_vbap-cmkua to t_final-cmkua,
    t_tab-kunnr to t_final-kunnr,
    t_tab-audat to t_final-audat,
    t_tab-netwr to t_final-netwr,
    t_tab-vkorg to t_final-vkorg,
    t_tab-name1 to t_final-name1,
    t_tab-land1 to t_final-land1.
    append t_final.
    clear t_Final.
    endloop.
    sort t_Final by vbeln   Kunnr    matnr posnr  .
    loop at t_final.
    at new vbeln.
    write : /1 SY-VLINE, 2 t_final-vbeln color 5 inverse.
    ULINE /1(250).
    endat.
    write : /1 SY-VLINE, 2 t_final-vbeln color 5 inverse,
    20 SY-VLINE, 21 t_final-posnr color 5 inverse,
    40 SY-VLINE, 41 t_final-matnr color 5 inverse,
    60 SY-VLINE, 61 t_final-arktx color 4 inverse,
    80 SY-VLINE, 81 t_final-kwmeng color 4 inverse,
    100 SY-VLINE, 101 t_final-cmkua color 4 inverse,
    120 SY-VLINE, 121 t_final-kunnr color 3 inverse,
    140 SY-VLINE, 141 t_final-audat color 3 inverse,
    160 SY-VLINE, 161 t_final-netwr color 2 inverse,
    180 SY-VLINE, 181 t_final-vkorg color 2 inverse,
    210 SY-VLINE, 211 t_final-name1 color 1 inverse,
    230 SY-VLINE, 231 t_final-land1 color 1 inverse,
    250 SY-VLINE.
    at end of vbeln.
    sum.
    ULINE /1(250).
    write: /60 SY-VLINE, 'Total' ,
    81 t_final-kwmeng color 4 inverse ,100 SY-VLINE,
    101 t_final-cmkua color 4 inverse,120 SY-VLINE.
    ULINE /1(250).
    endat.
    at last.
    SKIP 2.
    sum.
    ULINE /1(250).
    write: /1 SY-VLINE, 60 SY-VLINE, 'Grand Total' ,
    81 t_final-kwmeng color 4 inverse , 100 SY-VLINE ,
    101 t_final-cmkua color 4 inverse,120 SY-VLINE.
    ULINE /1(250).
    endat.
    endloop.
    TOP-OF-PAGE.
    ULINE /50(24).
    WRITE : /50 SY-VLINE , 52 'SALES ORDER DETAILS' COLOR 5,
    73 SY-VLINE.
    ULINE /50(24).
    ULINE .
    WRITE: /10 'CURRENT DATE :', 25 SY-DATUM COLOR 1 INVERSE,
    100 'CURRENT TIME :', 115 SY-UZEIT color 5 INVERSE.
    WRITE: /10 'USERNAME :', 25 SY-UNAME COLOR 1 INVERSE,
    100 'PAGE NO :', 113 SY-PAGNO COLOR 5 INVERSE.
    WRITE: /10 'LOGON CLIENT :', 25 SY-MANDT COLOR 1 INVERSE,
    100 'COLON N0 :', 114 SY-COLNO COLOR 5 INVERSE.
    WRITE: /10 'CURRENT REPROT:', 25 SY-REPID COLOR 1 INVERSE,
    100 'LANGUAGE :', 116 SY-LANGU COLOR 5 INVERSE.
    ULINE.
    ULINE /1(250).
    write : /1 SY-VLINE, 2 'SALES DOC NO' color 6 inverse,
    20 SY-VLINE, 21 'SALES DOC ITEM' color 6 inverse,
    40 SY-VLINE,41 'MATERIAL NO' color 6 inverse,
    60 SY-VLINE, 61 'SHORT SALES TEXT' color 6 inverse,
    80 SY-VLINE, 81 'CUMM ORDER SALES' color 6 inverse,
    100 SY-VLINE, 101 'CREDIT DATA' color 6 inverse,
    120 SY-VLINE, 121 'CUSTOMER NO' color 6 inverse,
    140 SY-VLINE, 141 'DOC DATE' color 6 inverse,
    160 SY-VLINE, 161 'NET VALUE SALES' color 6 inverse,
    180 SY-VLINE, 181 'SALES ORG' color 6 inverse,
    210 SY-VLINE, 211 'CUSTOMER NAME' color 6 inverse,
    230 SY-VLINE, 231 'CUSTOMER CONTY' color 6 inverse,
    250 SY-VLINE.
    ULINE /1(250).
    END-OF-PAGE.
    ULINE.
    WRITE: /45 ' THIS IS END OF PAGE FOR SALES DOCUMENT DETAILS'
    COLOR 6 .

  • F4 Help for Purchase Order field in SRM

    Hello,
    I am working on developing a report program in SRM in which I have the fields Purchase Order Number, Fund, WBS Element for which I've taken the reference type as crmd_orderadm_h-object_id, BBP_PDACC-FUND, BBP_PDACC-WBS_ELEM_E respectively. I would like the F4 help to be added for these fields. How do I do that? Please let me know.
    Thanks,
    Venkata Phani Prasad K

    Closing Thread.

  • Help me find & order best cable to connect MacBook Pro 10.7.5 to Zenith HDTV? Time sensitive!

    I am having trouble not having the right cable when connecting my MacBook Pro 10.7.5 OS X to my Zenith 50" flatscreen HDTV- the laptop was purchased in July, and HDTV is one year old.  I moved to Central America (Belize) in August, so am lacking in tech support or purchasing options here, and I only know just enough to be dangerous--I am a relatively new Mac user.  I just found out I have a friend coming to visit in 10 days who can bring something if I can get it to her! It would take me days to research and decide what I might need, and then it might still not be right.  I thought you guys might help me find something quickly. 
    The cables I brought have allowed video but not sound, and I would like to order whatever I may need online and have delivered to her to bring with her when she comes, making us somewhat short on time. Bear with me while I try to describe what I have.  On the Mac, I have a couple different ports that I am unsure what they are called (along with the usual 2 USB ports). One has the lighting strike symbol next to it, the other looks like a little cheerleader with her arms & pom poms in the air, and the third is the flat one that I used to be able to use to connect my (now gone) iPhone. The MacBook does not have an HDMI port.  On the Zenith HDTV, I have the usual AV in-ports, and HDMI ports, and a port that looks like an HDMI port only more square.
    Just a side note, my husband also has a 6 month old Ipad and we do have the little pigtail to use to hook it up to the TV which works great for the iPad, but I would prefer to use my MacBook so we can watch the movies we put on an external hard drive before moving. I am unsure exactly what cord I need, only that what I brought with me to Belize is not what I need, and apparently can't be found here-no one carries Mac stuff even in the capital city of Belmopan.
    (I also have a cranky older 13" mid-2009 model MacBook pro 10.6.8 OS X I have quit using cuz it's quirkly-- that doesn't produce sound through the tv either--but doesn't have the same ports as the new Mac --if there is something we can use to hook it up, that would be great too-I would order both, then I could leave that as a dedicated movie/internet tv box) 
    Any help, descriptions or pictures or links to what I might be able to order to make either one work and have delivered quickly so she could bring would be GREATLY APPRECIATED. You guys Rock!

    You need two things: a mini-Displayport to HDMI adaptor, and a regular HDMI cable.
    The mini-Displayport connector on the Macbook is the one you've described with the lightning bolt. That port on your Macbook is actually called Thunderbolt, but for this purpose it's acting as a mini-Displayport connector.
    When you buy the Displayport adaptor, make sure you get one that supports audio. Not all do.
    I'm sorry I don't know the best options available to you in Belize, but hopefully that information will help you approach a local electronics supplier.
    Matt

  • Help in Purchase order check BADI !

    Hi Experts,
    I have made some changes in the BBP_DOC_CHECK_BADI for the BUS2201 object implementation whereby I had implemented the changes for checking the attachment details in the Purchase Order. Now here I used the Function Module BBP_PD_PO_GETDETAIL to get the PO details by giving the GUID as iv_doc_guid.
    The sample code is below :
    CALL FUNCTION 'BBP_PD_PO_GETDETAIL'
    EXPORTING
       I_GUID                           = iv_doc_guid
       I_WITH_ITEMDATA                  = 'X'
    IMPORTING
       ET_ATTACH                        = gt_attach
    TABLES
       E_ITEM                           = gt_item
    I have taken the details of attachments which get populated in the structure ET_ATTACH and checked for various conditions in attachments.
    I find that if the PO has a change version wherein the previous version did not have any attachments - everything works normally.
    But if the previous version of PO had faulty attachments - and the user deletes the attachments in the change version - I find that the function module still takes the active version GUID as input to the PO as a result of which it checks for the faulty attachments and throws error.
    Now there are no attachments in the change version of the PO. Can any one tell me whether it is possible to pass the guid -- such that it checks if the same attachments in the active document have been modified in the change version , so that if the faulty attachments in the active version are changed to the correct ones it should not throw an error!!!
    Looking forward for your expert comments.
    With Regards,
    Rajesh R

    Hi
    Read this ...
    As I told you in my earlier reply ...
    <u>ET_ATTACH table uses structure - BBP_PDS_ATT_T . This structure has following fields -></u>
    GUID     Globally Unique identifier
    P_GUID     Parent GUID
    LOGICAL_SYSTEM     Business Document Service: ID of Logical System
    CLASSNAME     Business Document Service: Class name
    CLASSTYPE     Business Document Service: Class type
    OBJKEY     Business Document Service: Object key
    DOC_ID     Business Document Service: Document ID
    DOC_VER_NO     Business Document Service: Document version number
    DOC_VAR_ID     Business Document Service: Document variant ID
    DESCRIPTION     Attachment Description
    URL     URL Case-Sensitive
    TYPE     Procurement Document Attachment Type
    INTERNAL_IND     Indicator Showing if Attachment is only for Internal Use
    DEL_IND     Deletion Indicator SRM Purchasing Document
    <u>We can use either the DOC_ID / DOC_VER_NO fields to determine the active versions. You need to see in debugging, which all fields get poupulated with values in case of versions in this structure, to code your logic accordingly.</u>
    <u>Anyways, please find some sample code for dealing with Active versions.</u>
    append lines of et_attach to lt_attachment_versions.
    * Due to the fact, that the currently active version is in the
    * received phio list and that it is possible, that there are
    * several phios with the same version number (check_in) the
    * output table has to be additionally prepared.
      SORT lt_attachment_versions BY
         guid            ASCENDING
         p_guid          ASCENDING
         loio_class      ASCENDING
         phio_version_no ASCENDING
         changetime      DESCENDING.
      lv_version_no = 1.
      WHILE lv_version_no < is_attach-phio_version_no.
        READ TABLE lt_attachment_versions
          INTO ls_attachment_version WITH KEY
            guid            = is_attach-guid
            p_guid          = is_attach-p_guid
            phio_version_no = lv_version_no
            del_ind         = space.
        IF sy-subrc EQ 0.
          APPEND ls_attachment_version TO et_attach_versions.
        ENDIF.
        lv_version_no = lv_version_no + 1.
      ENDWHILE.
      DELETE et_attach_versions WHERE NOT del_ind IS INITIAL.
    <u>Other links which might help.</u>
    <b>http://help.sap.com/saphelp_srm50/helpdata/en/46/882fdd8bfc1743bd5ef8b532f94402/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/a7/81b463611c124d8c9d2c5bd8d17b34/content.htm</b>
    Hope this will help.
    Regards
    - Atul

  • Help need in Signed Applets.....Urgent

    Hi,
    I am stuck with a problem. Please help me out.
    The requirement is :
    I have an applet which has to run an executable which produces a .txt. The applet should use this .txt to produce its output.
    I made the applet into a signed jar and ran the executable to produce the .txt . But the .txt is outside the jar file and I am not able to use it to create the result.
    How do I use the .txt now?? Is the method that I am trying proper or should I use some other method?
    Another doubt is, when I run the .html of the applet code (which is in the server), is it cached in the client???

    I made the applet into a signed jar and ran the
    executable to produce the .txt . But the .txt is
    outside the jar file and I am not able to use it to
    create the result.
    How do I use the .txt now??Hand the user a JFileChooser and let him tell you where the file is, or loook at the exe to see whether you can specify an output directory as a parameter.
    Is the method that I am
    trying proper or should I use some other method?It's highly ugly, but I can't think of anything else.
    Another doubt is, when I run the .html of the applet
    code (which is in the server), is it cached in the
    client???Yes. No need to download the same stuff each time. The details are browser-specific.

  • I will pay for who can help me with this applet

    Hi!, sorry for my english, im spanish.
    I have a big problem with an applet:
    I�ve make an applet that sends files to a FTP Server with a progress bar.
    Its works fine on my IDE (JBuilder 9), but when I load into Internet Explorer (signed applet) it crash. The applet seems like blocked: it show the screen of java loading and dont show the progress bar, but it send the archives to the FTP server while shows the java loading screen.
    I will pay with a domain or with paypal to anyone who can help me with this problematic applet. I will give my code and the goal is only repair the applet. Only that.
    My email: [email protected]
    thanks in advance.
    adios!

    thaks for yours anwswers..
    harmmeijer: the applet is signed ok, I dont think that is the problem...
    itchyscratchy: the server calls are made from start() method. The applet is crashed during its sending files to FTP server, when finish, the applet look ok.
    The class I use is FtpBean: http://www.geocities.com/SiliconValley/Code/9129/javabean/ftpbean/
    (I test too with apache commons-net, and the same effect...)
    The ftp is Filezilla in localhost.
    This is the code, I explain a little:
    The start() method calls iniciar() method where its is defined the array of files to upload, and connect to ftp server. The for loop on every element of array and uploads a file on subirFichero() method.
    Basicaly its this.
    The HTML code is:
    <applet
           codebase = "."
           code     = "revelado.Upload.class"
           archive  = "revelado.jar"
           name     = "Revelado"
           width    = "750"
           height   = "415"
           hspace   = "0"
           vspace   = "0"
           align    = "middle"
         >
         <PARAM NAME="usern" VALUE="username">
         </applet>
    package revelado;
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    import javax.swing.*;
    import java.io.*;
    import javax.swing.border.*;
    import java.net.*;
    import ftp.*;
    public class Upload
        extends Applet {
      private boolean isStandalone = false;
      JPanel jPanel1 = new JPanel();
      JLabel jLabel1 = new JLabel();
      JLabel jlmensaje = new JLabel();
      JLabel jlarchivo = new JLabel();
      TitledBorder titledBorder1;
      TitledBorder titledBorder2;
      //mis variables
      String DIRECTORIOHOME = System.getProperty("user.home");
      String[] fotos_sel = new String[1000]; //array of selected images
      int[] indice_tamano = new int[1000]; //array of sizes
      int[] indice_cantidad = new int[1000]; //array of quantitys
      int num_fotos_sel = 0; //number of selected images
      double importe = 0; //total prize
      double[] precios_tam = {
          0.12, 0.39, 0.60, 1.50};
      //prizes
      String server = "localhost";
      String username = "pepe";
      String password = "pepe01";
      String nombreusuario = null;
      JProgressBar jProgreso = new JProgressBar();
      //Obtener el valor de un par�metro
      public String getParameter(String key, String def) {
        return isStandalone ? System.getProperty(key, def) :
            (getParameter(key) != null ? getParameter(key) : def);
      //Construir el applet
      public Upload() {
      //Inicializar el applet
      public void init() {
        try {
          jbInit();
        catch (Exception e) {
          e.printStackTrace();
      //Inicializaci�n de componentes
      private void jbInit() throws Exception {
        titledBorder1 = new TitledBorder("");
        titledBorder2 = new TitledBorder("");
        this.setLayout(null);
        jPanel1.setBackground(Color.lightGray);
        jPanel1.setBorder(BorderFactory.createEtchedBorder());
        jPanel1.setBounds(new Rectangle(113, 70, 541, 151));
        jPanel1.setLayout(null);
        jLabel1.setFont(new java.awt.Font("Dialog", 1, 16));
        jLabel1.setText("Subiendo archivos al servidor");
        jLabel1.setBounds(new Rectangle(150, 26, 242, 15));
        jlmensaje.setFont(new java.awt.Font("Dialog", 0, 10));
        jlmensaje.setForeground(Color.red);
        jlmensaje.setHorizontalAlignment(SwingConstants.CENTER);
        jlmensaje.setText(
            "Por favor, no cierre esta ventana hasta que termine de subir todas " +
            "las fotos");
        jlmensaje.setBounds(new Rectangle(59, 49, 422, 30));
        jlarchivo.setBackground(Color.white);
        jlarchivo.setBorder(titledBorder2);
        jlarchivo.setHorizontalAlignment(SwingConstants.CENTER);
        jlarchivo.setBounds(new Rectangle(16, 85, 508, 24));
        jProgreso.setForeground(new Color(49, 226, 197));
        jProgreso.setBounds(new Rectangle(130, 121, 281, 18));
        jPanel1.add(jlmensaje, null);
        jPanel1.add(jlarchivo, null);
        jPanel1.add(jProgreso, null);
        jPanel1.add(jLabel1, null);
        this.add(jPanel1, null);
        nombreusuario = getParameter("usern");
      //Iniciar el applet
      public void start() {
        jlarchivo.setText("Start() method...");
        iniciar();
      public void iniciar() {
        //init images selected array
        fotos_sel[0] = "C:/fotos/05160009.JPG";
        fotos_sel[1] = "C:/fotos/05160010.JPG";
        fotos_sel[2] = "C:/fotos/05160011.JPG";
         // etc...
         num_fotos_sel=3; //number of selected images
        //conectar al ftp (instanciar clase FtpExample)
        FtpExample miftp = new FtpExample();
        miftp.connect();
        //make the directory
         subirpedido(miftp); 
        jProgreso.setMinimum(0);
        jProgreso.setMaximum(num_fotos_sel);
        for (int i = 0; i < num_fotos_sel; i++) {
          jlarchivo.setText(fotos_sel);
    jProgreso.setValue(i);
    subirFichero(miftp, fotos_sel[i]);
    try {
    Thread.sleep(1000);
    catch (InterruptedException ex) {
    //salida(ex.toString());
    jlarchivo.setText("Proceso finalizado correctamente");
    jProgreso.setValue(num_fotos_sel);
    miftp.close();
    //Detener el applet
    public void stop() {
    //Destruir el applet
    public void destroy() {
    //Obtener informaci�n del applet
    public String getAppletInfo() {
    return "Subir ficheros al server";
    //Obtener informaci�n del par�metro
    public String[][] getParameterInfo() {
    return null;
    //sube al ftp (a la carpeta del usuario) el archivo
    //pedido.txt que tiene las lineas del pedido
    public void subirpedido(FtpExample miftp) {
    jlarchivo.setText("Iniciando la conexi�n...");
    //make folder of user
    miftp.directorio("www/usuarios/" + nombreusuario);
    //uploads a file
    public void subirFichero(FtpExample miftp, String nombre) {
    //remote name:
    String nremoto = "";
    int lr = nombre.lastIndexOf("\\");
    if (lr<0){
    lr = nombre.lastIndexOf("/");
    nremoto = nombre.substring(lr + 1);
    String archivoremoto = "www/usuarios/" + nombreusuario + "/" + nremoto;
    //upload file
    miftp.subir(nombre, archivoremoto);
    class FtpExample
    implements FtpObserver {
    FtpBean ftp;
    long num_of_bytes = 0;
    public FtpExample() {
    // Create a new FtpBean object.
    ftp = new FtpBean();
    // Connect to a ftp server.
    public void connect() {
    try {
    ftp.ftpConnect("localhost", "pepe", "pepe01");
    catch (Exception e) {
    System.out.println(e);
    // Close connection
    public void close() {
    try {
    ftp.close();
    catch (Exception e) {
    System.out.println(e);
    // Go to directory pub and list its content.
    public void listDirectory() {
    FtpListResult ftplrs = null;
    try {
    // Go to directory
    ftp.setDirectory("/");
    // Get its directory content.
    ftplrs = ftp.getDirectoryContent();
    catch (Exception e) {
    System.out.println(e);
    // Print out the type and file name of each row.
    while (ftplrs.next()) {
    int type = ftplrs.getType();
    if (type == FtpListResult.DIRECTORY) {
    System.out.print("DIR\t");
    else if (type == FtpListResult.FILE) {
    System.out.print("FILE\t");
    else if (type == FtpListResult.LINK) {
    System.out.print("LINK\t");
    else if (type == FtpListResult.OTHERS) {
    System.out.print("OTHER\t");
    System.out.println(ftplrs.getName());
    // Implemented for FtpObserver interface.
    // To monitor download progress.
    public void byteRead(int bytes) {
    num_of_bytes += bytes;
    System.out.println(num_of_bytes + " of bytes read already.");
    // Needed to implements by FtpObserver interface.
    public void byteWrite(int bytes) {
    //crea un directorio
    public void directorio(String nombre) {
    try {
    ftp.makeDirectory(nombre);
    catch (Exception e) {
    System.out.println(e);
    public void subir(String local, String remoto) {
    try {
    ftp.putBinaryFile(local, remoto);
    catch (Exception e) {
    System.out.println(e);
    // Main
    public static void main(String[] args) {
    FtpExample example = new FtpExample();
    example.connect();
    example.directorio("raul");
    example.listDirectory();
    example.subir("C:/fotos/05160009.JPG", "/raul/foto1.jpg");
    //example.getFile();
    example.close();

  • Need help with buttons in applet

    stupid question maybe but i'm a beginner, and hey..there are no stupid questions, right? well, i may prove that wrong...anyway...
    I can't relocate a button, or any other component for that matter. When I try to make a simple applet with just one button showing, then it works perfect...but when I make the applet a little bigger with some graphcis and text, the setLocation() and setSize() methods don't work. the wierd part is that I don't get an error message, the compiler just ignores those lines...so it seems anyway.
    If anyone can help me I'd be very greatful
    thanx a lot

    Do you know there are 5 layout managers in java. It is probably worth looking through each one and the commands they use.
    The layout is determined by two things:
    1.position Components are added
    2.Layout manager used
    Ive never had to use setLocation() and setSize() as the layouts do it for you:
    1.Flowlayout: which is the default pane. e.g.
    setLayout(new Flowlayout()).
    2.GridLayout: postions panels into rows and columns
    b.GridBagLayout
    3.Borderlayout(NORTH,SOUTH,EAST,WEST and CENTER) postions in applet.
    4.CardLayout(a bit like a slideshow)
    5.Insets() which is used to determine top,bottom,left and right.
    Don't bother about 4 or 5 yet. But definitly have a look at the other 3.
    e.g. setLayout(new BorderLayout());
    add("North", new Button("ok"));
    add("CENTER", new Button("Exit");
    etc..

Maybe you are looking for

  • Disk Image loses all features but Anime Pop theme

    I completed the iMovie, clicked on iDVD, went through the whole process of customizing, then created a Disk Image on my Desktop as last chance to check content before burning. My Mac reported, two hours later, that a successful Disk Image had been cr

  • Train Stop Lables not Visible

    Hi All, I'm using Jdeveloper REL1 PS2 with ADFBC I'm having a problem getting my train stop labels to render. Besides the train stop label not being visible, everything else is working as advertised. I can navigate though the train stops, the data on

  • Sapscript-PDF-Mail error: Insufficient data for an image

    Hi, I've made a function module that takes a Purcharse Orden from spool, converts to PDF file and then send the form via mail. Everything work fine but the corporative logo in the form can't be seen... When I try to open the attachment, Acrobat Reade

  • Archmobile: GTA02 freerunner does not appear as network interface.

    I installed Archmobile on my GTA02; unfortunately it seems my microSD is one of those where the GTA02 is unable to boot from. Consequently I had to install in the NAND. According to the ticket 121 I changed the usb0 line to eth0 in rc.conf. So, the i

  • How do I restore the background in the Itunes store to whiteinstead of black?

    When I open the itunes store, the background is black and I cannot read any of the choices wwritten on the page. Can I change the background so that I can see all of the choices?