Help needed on FM upload gui

Hi
I am trying to upload data from an XL file into an internal table.
I have defined the internal table as type string ,
but the data is not getting uploaded properly.
I have used the following input parameters
CALL FUNCTION 'GUI_UPLOAD'
  EXPORTING
    filename                      =  filename
   FILETYPE                      = 'ASC'
  HAS_FIELD_SEPARATOR           = ' '
  HEADER_LENGTH                 = 0
   READ_BY_LINE                  = 'X'
  DAT_MODE                      = ' '
  CODEPAGE                      = ' '
  IGNORE_CERR                   = ABAP_TRUE
  REPLACEMENT                   = '#'
  CHECK_BOM                     = ' '
  VIRUS_SCAN_PROFILE            =
  NO_AUTH_CHECK                 = ' '
IMPORTING
  FILELENGTH                    =
  HEADER                        =
  tables
    data_tab                      = itab_dw.
the output i am getting as just one column internal table .
How should i proceed?
Regards,
Harshit Rungta

Hi,
Check this code to read the data from Excel sheet..
DATA l_count TYPE sy-tabix.
   CONSTANTS: lc_begin_col TYPE i VALUE '1',
              lc_begin_row TYPE i VALUE '2',
              lc_end_col   TYPE i VALUE '2',
              lc_end_row   TYPE i VALUE '3000'.
  CLEAR p_i_excel_data. REFRESH p_i_excel_data.
* Function module to read excel file and convert it into internal table
   CALL FUNCTION 'KCD_EXCEL_OLE_TO_INT_CONVERT'
     EXPORTING
       filename                = p_p_file
       i_begin_col             = lc_begin_col
       i_begin_row             = lc_begin_row
       i_end_col               = lc_end_col
       i_end_row               = lc_end_row
     TABLES
       intern                  = i_data
     EXCEPTIONS
       inconsistent_parameters = 1
       upload_ole              = 2
       OTHERS                  = 3.
* Error in file upload
   IF sy-subrc NE 0 .
     MESSAGE text-006 TYPE 'E'.
     EXIT.
   ENDIF.
   IF i_data[] IS INITIAL .
     MESSAGE text-007 TYPE 'E'.
     EXIT.
   ELSE.
     SORT i_data BY row col .
* Loop to fill data in Internal Table
     LOOP AT i_data .
       MOVE i_data-col TO l_count .
       ASSIGN COMPONENT l_count OF STRUCTURE p_i_excel_data TO <fs_source> .
       MOVE i_data-value TO <fs_source> .
       AT END OF row .
* Append data into internal table
         APPEND p_i_excel_data.
         CLEAR p_i_excel_data.
       ENDAT .
     ENDLOOP .
   ENDIF .
Or if you want to read the data from Tab delimited file then ....
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = filename
FILETYPE = 'DAT'                      "  --> Pass this
HAS_FIELD_SEPARATOR = 'X' " --> Pass this
* HEADER_LENGTH = 0
READ_BY_LINE = 'X'
* DAT_MODE = ' '
* CODEPAGE = ' '
* IGNORE_CERR = ABAP_TRUE
* REPLACEMENT = '#'
* CHECK_BOM = ' '
* VIRUS_SCAN_PROFILE =
* NO_AUTH_CHECK = ' '
* IMPORTING
* FILELENGTH =
* HEADER =
tables
data_tab = itab_dw.

Similar Messages

  • Help Needed! To upload image to db2 using struts & hibernation[code inside]

    Hi all, currently i have successfully created the application for inserting text data into my db2 through the use of struts with hibernation. But i need to insert image now which seems to be different from just inserting text data.
    From my understanding, the image will be converted to bytes and store as Blob in my db2, but i need hlp in knowing how to do this, i did a search and i found the following codes posted by another guy in this forum but he did not reply his thread at all...i am feeling very puzzel about the last file which is /RegPersonalDetails.java. Did he missed out a bean file?? which is the TempPhoto bean? i really do not understand the last file, The first file is the JSP , the second is the bean and the third is the Action class. i did exactly the same as his but i do not know how to use the RegPersonalDetails.java. please help thanks.. i am using websphere studio 5 and hibernate 2.
    Below is the example i got from the guy:
    //Registration.jsp
    --Below is the script for image type validation.
    <script>
    var fileTypes=["bmp","gif","png","jpg","jpeg","tif","tiff","jif","jfif","jp2","jpx" ,"j2k","j2c","fpx","pcd" ];
    function preview(what){
    var source=what.value;
    var ext=source.substring(source.lastIndexOf(".")+1,source.length).toLowerCase();
    for (var i=0; i<fileTypes.length; i++) if (fileTypes==ext) break;
    var globalPic=new Image();
    if (!(i><fileTypes.length)){
    alert("THAT IS NOT A VALID IMAGE\nPlease load an image with an extention of one of the following:\n\n"+fileTypes.join(", "));
    what.fileUpload.focus();
    return false;
    else
    return true;
    </script>--You have to write relevent code for view.For browse filed i given below
    <INPUT type=file name="fileUpload" onchange="preview(this)">
    ===============================================================
    //RegistrationForm.java
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    public class Regstep5Form extends ActionForm {
    private FormFile fileUpload;
    public FormFile getFileUpload() {
    return fileUpload;
    public void setFileUpload(FormFile fileUpload) {
    this.fileUpload = fileUpload;
    ===================================================================
    //RegistrationAction.java
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    import org.apache.struts.upload.FormFile;
    public class Regstep5Action extends Action {
    public ActionForward execute(ActionMapping mapping, ActionForm form,
    HttpServletRequest request, HttpServletResponse response)
    throws Exception, ServletException {
    Regstep5Form rf= (Regstep5Form)form;
    FormFile myFile = rf.getFileUpload();
    String contentType = myFile.getContentType();
    String fileName = myFile.getFileName();
    int fileSize = myFile.getFileSize();
    byte[] fileData = myFile.getFileData();
    String result=RegPersonalDetails.process(rf);
    System.out.println("result taken");
    return mapping.findForward("success");
    ===================================================================
    //RegPersonalDetails.java
    import com.model.orm.TempPhoto;
    import com.util.HibernateUtil;
    import org.hibernate.*;
    import java.io.*;
    import org.apache.struts.upload.*;
    public class RegPersonalDetails {
    public static String process(Regstep5Form rf) throws Exception {
    TempPhoto temp=new TempPhoto();
    Session session=null;
    Transaction tx=null;
    try{
    session = HibernateUtil.getSession();
    tx = session.beginTransaction();
    String uname=rf.getUserId();
    FormFile myFile=rf.getFileUpload();
    byte[] filedata=myFile.getFileData();
    temp.setUserId(uname);
    temp.setPhoto(filedata);
    session.saveOrUpdate(temp);
    tx.commit();
    }catch(Exception ex){ }
    finally{
    HibernateUtil.closeSession();
    return "success";
    --Here TempPhoto is the pojo class i.e hibernate generated class for the table in which we have to insert image...
    --You will understand this if u have idea of hibernate..
    --There may some import as statements missing...try it and configure your "struts-config.xml" file with the above files.
    Message was edited by:
    HaRou

    haha....that thread starter is my friend siting next to me....he is having problem with struts and jsp only, which you already solve the problem for him.. but i need to know how to do the same thing with hibernate...pls hlp?

  • Help needed.. Uploading a jpg into a BufferedImage type in servlets

    Heys guys. I'm trying to use a jsp servlet to upload an image and convert the Stream back to a buffered image. However I'm getting the error "Not a JPEG file: starts with 0x2d 0x2d" with every JPG i try.
    Here is the code Im using in the servlet:
              BufferedImage curr = (BufferedImage)session.getAttribute("image") ;
              if(curr !=null) curr.flush();
              System.out.println("upload attempted") ;
              ServletInputStream servIn = req.getInputStream() ;
              DataInputStream iStream = new DataInputStream(servIn) ;
              // Create decoder
              JPEGImageDecoder decoder = JPEGCodec.createJPEGDecoder(iStream) ;
              // Decode the JPEG
              BufferedImage img = decoder.decodeAsBufferedImage();
    Im most likely doing something stupid which is causing my problem, but any ideas on what im doing wrong or how better to tackle this would be much appreciated
    Edited by: TenKetSu on Nov 5, 2007 2:45 PM
    Edited by: TenKetSu on Nov 5, 2007 3:11 PM

    If you upload a file using webutil_filetransfer, the blob in the database should have the same size as the file on the client. If you generate a pdf including the image, the pdf-filesize will likely be different as pdf stores images in a different way.

  • Help needed with header and upload onto business catalyst

    Can someone help with a problem over a header please?
    I have inserted a rectangle with a jpeg image in  background, in the 'header' section, underneath the menu. It comes up fine on most pages when previsualised, going right to the side of the screen, but stops just before the edge on certain pages. I have double checked that I have placed it in the right place in relation to the guides on the page.
    That's one problem.
    The second problem is that I tried to upload onto business catalyst, which got to 60% and refused to go any further, saying it couldn't find the header picture, giving the title and then u4833-3.fr.png. The picture is in the right folder I have double checked. And it isn't a png. Does it have to be ?
    And the third problem is that I got an email following my upload from business catalyst in Swedish. I am living in France.
    Can anyone help ? Thanks.

    Thanks for replying,
    How can I check the preview in other browsers before I publish a provisional site with BC?
    The rectangle width issue happens on certain pages but not others. The Welecom page is fine when the menu is active, also the contact page, but others are slightly too narrow. Changing the menu spacing doesn’t help - I was already on uniform but tried changing to regular and back.
    In design mode the rectangle is set to the edge of the browser, that’s 100%browser width right?
    Re BC I have about 200 images on 24 different pages and it seems to be having difficulty uploading some of them. But it has managed a couple I named with spaces but not others I named with just one name.
    Is there an issue on size of pictures ? If I need to replace is there a quick way to rename and relink or do I have to insert the photos all over again?
    I’m a novice with Muse with an ambitious site !
    Thanks for your help.
    Mary Featherstone
    Envoyé depuis Courrier Windows
    De : Sanjit_Das
    Envoyé : vendredi 14 février 2014 22:15
    À : MFeatherstone
    Re: Help needed with header and upload onto business catalyst
    created by Sanjit_Das in Help with using Adobe Muse CC - View the full discussion 
    Hi
    Answering the questions :
    - Have you checked the preview in Muse and also in other browsers ?
    - Does the rectangle width issue happens when menu is active , or in any specific state , Try to change the menu with uniform spacing and then check.
    - In design view the rectangle is set to 100% browser width ?
    With publishing :
    - Please try to rename the image file and then relink
    - If it happens with other images as well , see if all the image names includes strange characters or spaces.
    - Try again to publish
    With e-mail from BC :
    - Under preferences , please check the country selected.
    - If you have previously created partner account in BC and selected country and language then it would follow that, please check that.
    Thanks,
    Sanjit
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6121942#6121942
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6121942#6121942
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6121942#6121942. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Help with using Adobe Muse CC at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Java GUI Help Needed

    Can someone help me find a link, book, tutorial or anything along those lines that can help me understand building a GUI in Java? Thanks, Jeremy

    When I was about to create my first GUI I used an IDE with "visual" capabilities. You design the GUI by using drag-and-drop and filling in tables, and then the IDE generates the code automatically for you. I found this helpful because Swing is so complex and in this way you get your options presented to you and you can study the generated code.

  • Help need to switch Muse site to BC on a allready hosted plan

    Hi,  i also posted on BC forum...
    I have a client that was in a hurry to have his emails accounts before the entire website.
    So i went on and bought the email marketing plan (cos he will also need to do email campains) an pointed his domain everything is working fine, at this moment he has his accounts the domain is live.
    The site would be just a small 7-10 pages not to complicated.
    Has a graphic designer (who has venture into Business catalyst cos it had all the solutions i needed, well that's what the promotional videos said anyway) I made a site in Muse.
    First i did a temporary page thats says "comming soon", and then i made the entire site, all the design and menu but with blank pages cos the client didnt have all the content yet (and still dont have). I uploaded that site to a sub directory so he could see the evolution.
    He approved the design, yay!
    At the end of the process, he told me he needed to have full control with the editor. (style, images, bulleted list, need to put downloadable document like pdf etc.) i told him that he could only modify what was allready there with the Muse in Browser editing (that he saw when i made the pitch using another site) he was impress with the way it worked.
    so i told him i would have to remake "template".
    I thought of using a BC template, and modify the looks to adapt to my client image, Of course, use a responsive theme so he could make the change at one place only. (cos in Muse you need to make the changes on the 3 layouts).
    Now, i created a new temporary site using one of the new responsive template available.
    How can i import that new site onto his live domain? In other words, how can a switch from a theme made in Muse, to a BC template?
    cant i just delete everything in the root folder, and upload the entire new site via ftp?
    please help me find the solution. i am a bit in a panic here
    hope you could understand my lousy English.
    Sincerely,
    i.d.

    This would need to be transparent for m'y client...
    Y
    Envoyé de mon iPhone
    Le 2014-04-20 à 15:29, Sanjit_Das <[email protected]> a écrit :
    Re: help need to switch Muse site to BC on a allready hosted plan
    created by Sanjit_Das in Help with using Adobe Muse CC - View the full discussion
    Thanks for additional details.
    Unfortunately we cannot change site template of a live site in BC , but as a workaround Create a site from BC using the template you wish to use then publish the site from Muse to the site created from BC and transfer the contents stored from live site to trial site. Ater final transition is done , you can delete the already paid site and make live the new trial site which includes new site template.
    Thanks,
    Sanjit
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6314730#6314730
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6314730#6314730
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6314730#6314730. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Help with using Adobe Muse CC at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Help Needed in Creating Java Class and Java Stored Procedures

    Hi,
    Can anyone tell how can i create Java Class, Java Source and Java Resource in Oracle Database.
    I have seen the Documents. But i couldn't able to understand it correctly.
    I will be helpful when i get some Examples for creating a Java Class, Java Source and Stored Procedures with Java with details.
    Is that possible to Create a Java class in the oracle Database itself ?.
    Where are the files located for the existing Java Class ?..
    Help Needed Please.
    Thanks,
    Murali.v

    Hi Murali,
    Heres a thread which discussed uploading java source file instead of runnable code on to the database, which might be helpful :
    Configure deployment to a database to upload the java file instead of class
    The files for the java class you created in JDev project is located in the myworks folder in jdev, eg, <jdev_home>\jdev\mywork\Application1\Project1\src\project1
    Hope this helps,
    Sunil..

  • Help needed using adobe exportpdf

    The first time I used adobe export pdf it worked well. However the next time and every other time I try to convert a pdf doc to word docx I get the error message at the end of the uploading session. "pdf doc failed to export to m,icrosoft word.  There was an unexpected problem.
    Anyone overcome this problem?

    Hi Stacy
                   Thanks for that info.  I was aware of the 100MB limit but 
    your response made me think again and go back to the problem and this is 
    what I found. The first  pdf document I uploaded into Adobe export pdf was  43
    MB and it went through fine. when I looked at the conversion to Word  docx I
    found it had been transformed into 83MB.
    So the conversion (which was a children's book with lots of images in it) 
    resulted in an increase of MBs by a factor of 1.7.  
    The second pdf document I uploaded was 64MB and this failed. If I apply the
    1.7 factor then the Word docx I wanted was going to be 109MB and therefore
    over  the 100MB limit.
    I didn't know that converting pdf to word would increase the MB like that. 
    Why, I don't know so thanks for your help I've learnt something new.
    Cheers
                Garth
    In a message dated 07/10/2013 04:42:36 GMT Daylight Time, 
    [email protected] writes:
    Re:  Help needed using adobe exportpdf
    created by StacySison (http://forums.adobe.com/people/StacySison)  in 
    Adobe ExportPDF - View the full  discussion
    (http://forums.adobe.com/message/5740689#5740689)

  • Data uload to ODS ending up with an error. URGENT HELP NEEDED!!!!!!

    Hi
    My Sceniro is Full load from ODS1 to 5 other ODS. Iam uploading the data to other 5 ODS by selecting 1 ODS at a time.
    Problem i am facing is upload is ending up with error mesg. Error Mesg are
    <b>Error 8 when starting the extraction program - R3019
    Error in Source System - RSM340
    Req xxx in ODS2 must have QM ststus green before it is activated - RSM1110</b>
    I have seen the the OSS notes for given error no, but they are not applicable to me. what could be the other possible solution.
    In detail tab of the monitor i see red light at Extraction step and Subseq. processing.
    Its quite urgent bcoz this error is occuring in Production system.
    Plzzzz urgent help needed.
    Thanks
    Rohini
    Message was edited by: Rohini Garg

    rohini,
    go to RSA1->Modeling->Source Systems and right-click on your BW system, and click on 'Replicate Datasources'.
    also, go to the ODS that's causing the problem (via RSA1->InfoProvider and go to your ODS), right click and click on 'Generate Export Datasource'.
    one more thing, make sure that all your record/s in the source ODS is active. if you're not sure manage its contents and click on 'Activate'. if there are any entries in the the next screen that comes up, you need to activate it first, then try everything again.
    let me know what happens. also try to look for error messages in ST22 and SM21 that may be related to this and post whatever possible error you see there here.
    ryan.

  • Help needed placing extra images in my portfolio.

    I like to add some more pictures by my portfoliomap.
    I have now 6 items each page and i like to know if its possible to add some more pictures and how i can do this?
    You can find my site at..
    http://www.dorffdesign.nl/affiches.html

    As you can see on
    http://www.dorffdesign.nl/advertenties.html
    it worked out fine..
    Only the last set off images contait to much space between the set before? Do you know where i can adjust this?
    Regards Brian
    Date: Tue, 17 Apr 2012 09:07:38 -0600
    From: [email protected]
    To: [email protected]
    Subject: Help needed placing extra images in my portfolio.
        Re: Help needed placing extra images in my portfolio.
        created by Altruistic Gramps in Dreamweaver - View the full discussion
    Upload the images to the images folder and use the markup as you have been using in the following, changing the name of the image to suit.
    !images/arcadisch_logo.jpg|alt=|src=images/arcadisch_logo.jpg!
    Gramps
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4340979#4340979
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4340979#4340979. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Dreamweaver by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • PDFActions on xMII12. Help needed immediately???

    Good Day everyone. I face a problem when trying to deploy PDFActions.jar file in xMII 12. The procedure i followed is ,
    1) I created a file called catalog.xml from the PDFComponentCatalog.xml file which presents in xMII 11.5.
    2) Then i created the PDFActions.jar file along with the xml file.
    3) Used Custom Actions link in System Management and added PDFActions.jar file as the assembly file and iText.jar file as the dependency file. The upload was successful and i deployed without any error.
    4) When i open workbench i can see a PDF action block on the left side without images, and when i try to add it to a sequence nothing happens. It is not getting added in sequence and i am not getting any error messages
    Can anyone help me out on this?

    I guess you've been posting this issue for quite sometime now and inspite of getting hints I am not sure why you are coming up with your own steps to resolve the problem.
    SAP note 1109054 has been mentioned probably a number of times before and I would advice you to open it up and read through , carefully , with a  relaxed mind , no need to panic (read - Help needed immediately???).
    The above mentioned note is for 12.0 SP2 so make sure you are on that version and because there have been no postings/notes for SP3 I would think the note would be applicable for SP3 as well.
    If you face any issues after that then raise your doubts.

  • Help needed on online theme creation for mobile phones

    Hello everybody,
    I want to create an web application which will create themes for different mobile phones. In that application end user can upload jpg/gif images of there choice and select the mobile phone make like Nokia and also the model number like 6030. After that they can create their desired theme by clicking on a button and also can download it.
    My main problem is how to convert an image into a mobile phone theme (*.thm or *.nth or *.sis).
    Can anybody give any suggestion on this matter?
    Thanks in advance.
    Tanmoy

    Hi everybody,
    My main problem is how to convert an image into a mobile phone theme (*.thm or *.nth or *.sis).
    Please give me any guideline that I can proceed.
    Help needed.
    Thanks in advance.
    Tanmoy

  • AWT start/stop bundle buttons Help needed.

    Hello,
    I need help getting start/stop buttons on my AWT Class to take the action of methods from an other class. I will give anybody who can figure this out ALL OF MY Duke Dollars. (I shortend it up to the important stuff so that there isn't too much to read):
    MY PROBLEM: I need to have my Gui user interface to start up first. Then when somebody clicks the Gui class "start" button, it will call the start method of my Activator class and similiarly for the "stop" button. When I run the program, it starts up already in "start" mode. It should start up without getting the service (stop mode) and then get it once "start" is pressed" Hopefully somebody can help me figure this out.
    First, I have the following AWT class
    public class Gui extends Frame{
          Frame f;
          MyImage imagePanel;
          Button button_start;
          Button button_stop;
          Label statusBar;
          Panel btns;
        public Gui() {
            addWindowListener(new WinClosing());
            setLayout(new BorderLayout());
            imagePanel = new MyImage();
            btns = new Panel();
            button_start  = new Button("START");
            button_stop  = new Button("STOP");
            btns.add(button_start);
            btns.add(button_stop);
            add("North", btns);
            add("Center",imagePanel);       
            button_start.addActionListener(new ActionListener(){     
                public void actionPerformed( ActionEvent e ){
                    imagePanel.getImage();
            button_stop.addActionListener(new ActionListener(){     
                public void actionPerformed( ActionEvent e ){
                imagePanel.closeImage();}
            });          }Then I have the Activator class:
    public class Activator implements BundleActivator {
         public ServiceReference reference;
         public void start(BundleContext bc) {
             reference = bc.getServiceReference(GpsService.SERVICE_NAME);
             if (reference == null) {
             System.out.println("User could not get a service.");
              } else {
             AnyService anything = (AnyService) bc.getService(reference);
                    UserClass user = new UserClass();
                    user.startup(anything);
    public void stop(BundleContext bc) {
        if (reference != null) {
        bc.ungetService(reference);
        reference = null;
        System.out.println("User has released its Service.");
        } }}Then this previous class calls the startup method for this class:
    public class Driver {
            public void startup(AnyService any){
            double any  = any.getValue();
            System.out.println(any);
            Gui g = new Gui(any);
            g.setSize(714, 480);
            g.setVisible(true); 
          }}Thanks in advance!

    Hmm, it's quite hard to imagine what's going on without the code for MyImage. However, I guess you need to add an ActionListener to your two buttons. Are you sure you need two buttons, though? Presumably you can't stop until you've started and vice versa?
    private Activator activator;
    private Button startButton;
    private Button stopButton
    public Gui()
      startButton = new Button("Start");
      stopButton = new Button("Stop");
      stopButton.setEnabled(false);
      startButton.addActionListener(new ActionListener()
        public void actionPerformed(ActionEvent e)
          start();
      stopButton.addActionListener(new ActionListener()
        public void actionPerformed(ActionEvent e)
          stop();
    private synchronized void start()
      // Construct the Activator when we need it
      if(activator == null)
        activator = new Activator();
      activator.start(...); // Don't know where you get your BundleContext from!
      startButton.setEnabled(false);
      stopButton.setEnabled(true);
    private synchronized void stop()
      activator.stop(...); // Don't know where you get your BundleContext from!
      startButton.setEnabled(true);
      stopButton.setEnabled(false);
    }I'm assuming here that once the Activator is "started" is stays started until it is told to stop, ie, it doesn't stop itself after a finite amount of time.
    Hope this helps.

  • Help needed in Connecting to SAP From Eclipse

    Hi All,
    Currently, we have a requirement where we need to retrieve data from SAP System and need to upload the same in a Third Party Application (Java based system).
    We are able to create an account in Java Application using Eclipse IDE by hard coding the Account details. We are stuck up in establishing the SAP connection and retrieving the details and then creating the extracted account details in Java application from Eclipse.
    Any pointers on this will be of great help.
    Regards,
    Eureka

    Hi Eureka,
    Please refrain from creating cross-posts in parallel forums, moreover this question is JCo-related and is not directly connected with Java EE 5. The Help needed in Connecting to SAP From Eclipse in the Java Programming forum would be enough. Please continue the discussion there.
    Regards,
    Vladimir

  • Troubleshoting help needed:  My iMac keeps crashing and restarting with a report detail: "spinlock application timed out"  What can I do to fix this?timed out"

    Troubleshooting help needed:  My iMac keeps crashing and restarting with a notice: "Spinlock application timed out"  What can I do?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the page that opens.
    Select the most recent panic log under System Diagnostic Reports. Post the contents — the text, please, not a screenshot. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header and body of the report, if it’s present (it may not be.) Please don't post shutdownStall, spin, or hang reports.

Maybe you are looking for

  • Requirement Specification for a SharePoint Project

    I need to learn about developing in SharePoint and do you guys have a requirement specification that I can use it to create a customized SP solution? It is difficult to be creative in order to create a requirement specification for a home made SP pro

  • Monitor ETL process using SNMP

    Hi, I have an ETL process that runs continuously and add lines to a table under Oracle 11g on Linux. I would like to monitor the proper operation of the ETL using an external SNMP manager (eg Zabbix). To do this the algorithm would be like this: - Li

  • Handling Idoc acknowledgements

    Hi All, As per the document "How to handle acknowledgements for Idoc" I made all settings and i am able to get acknowledgement in XI. In the document it was said it is possible to configure  ALEAUDIT as request message by executing the report IDX_ALE

  • IPhoto application has disappeared!!

    All, I usually don't use iPhoto and today when I went to try it out, the application was gone. It was installed when I installed 10.4 a month ago. I repaired permissions and verified the disk is okay; but to no avail. My iPhoto library is still there

  • Replace with after effects composition not bringing in media

    When I replace a premiere clip with an after effects comp it creates a new composition but doesn't bring in the media.  Anyone have a answer?