Re: Need to download AM from Server into JDeveloper

Hi,
I have exported the OAF page from the server.
While exporting the AM from the server i get error as
D:\JDev9\jdevbin\jdev\bin>export /oracle/apps/ap/oie/server/HomePageAM -rootdir
D:\JDev9\jdevbin\jdev\bin\myprojects -username apps -password apps -dbconnection
"(description = (address_list = (address = (community = tcp.world)(protocol = t
cp)(host =192.168.2.222)(port = 1521)))(connect_data = (sid = vis)))"
Error: Document "/oracle/apps/ap/oie/server/HomePageAM" does not exist in the re
pository.
Export failed.
Plz help me to solve the error.
Thanks in Advance.

View Object has three files.. Vo.xml, VOImpl.class and VORowImpl.class
you need to copy VO.xml to myprojects and VO.xml, VOImpl.class and VORowImpl.class to myclasses manually..
if your using 11i, then you need to add an entry in server.xml ..
if your not sure how to add an enty in server.xml then ftp the whole directory from server to local machine..
And then place the directory in myclasses and myprojects...
You jdeveloper may throw error like VOImpl.java not found.. but it doesn't matter, just ignore it..
--Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • Urgently need to download emails from server

    Hello - my webmail server is about to wipe my emails in the next couple of days. I am running Mavericks on a Macbook and want to download all emails from the server so that they stay on my Mail app when the server finally deletes all the emails. Can anyone please advise me?
    Many thanks
    Paul

    HI - so far as I know it's a standard webmail operation. In this case it is with Virginmedia. The problem is that i have closed my account with them and a 3 month grace-period where my email account is still active is about to come to an end. After that I won't have access to my emails. So I need to download them from the server. I can currently access them but i do not know what settings to put into either the webmail or my Mac Mail app.
    (in other words I want to store all my emails permanently on my Macbook and not on any server).
    I'm very grateful for any guidance on this. I don't want to lose the emails.
    Paul

  • I need to download data from Oracle data base into a Excel spread sheet

    I need to download data from Oracle data base into a Excel spread sheet.
    Any input will be appreciated.

    Goes something like this:
    1) create an ODBC connection (on NT/WIN: ODBC DATA SOURCES in the control panel, create a USER DSN.
    2) in EXCEL-menu: DATA->GET EXTERNAL DATA->CREATE NEW QUERY. In the wizzard you will see the DSN created in the previous step. Select that source.
    3) follow the wizzard.
    Hope this does any good...
    Regards,

  • I have a problem, i bought lion but when i want to install he said me i need to "download osx lion server" i'm running with the last lion beta. how to update please?

    i have a problem, i bought lion but when i want to install he said me i need to "download osx lion server" i'm running with the last lion beta. how to update please?
    ps: sorry for my english :S

    You apparently are using a version of OS X you did not purchase using your Apple ID. Although you can download Mavericks you cannot install it over your current system. You must repartition your hard drive, then reinstall the version of OS X originally installed when it came new from the factory. That would be on the installer discs that should have come with the computer. If the computer did not come with discs from the factory but OS X was pre-installed (Lion or Mountain Lion) then you can perform an Internet Recovery:
    Install Mavericks, Lion/Mountain Lion Using Internet Recovery
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    Boot to the Internet Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND-OPTION- R keys until a globe appears on the screen. Wait patiently - 15-20 minutes - until the Recovery main menu appears.
    Partition and Format the hard drive:
    1. Select Disk Utility from the main menu and click on the Continue button.
    2. After DU loads select your external hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed. Quit DU and return to the main menu.
    Reinstall Lion/Mountain Lion. Mavericks: Select Reinstall Lion/Mountain Lion, Mavericks and click on the Install button. Be sure to select the correct drive to use if you have more than one.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.

  • How to provide a button in bsp that downloads data from SAP into powerpoint

    hi,
    how to provide a button in bsp that downloads data from SAP into powerpoint
    this absurd requirement is needed by my client.
    thanks
    saad

    Hi,
    Look at tools like the things mentioned above or things like
    http://www.investintech.com/products/developer/creatorsdk/creatorsdkmain/
    http://command-line-image-converter.qarchive.org/
    You need to look for tools that can run via the command line and thsu be executed as external command (http://help.sap.com/saphelp_nw2004s/helpdata/en/fa/0971d4543b11d1898e0000e8322d00/frameset.htm)
    Eddy
    PS. Reward the useful answers and you will get <a href="http:///people/baris.buyuktanir2/blog/2007/04/04/point-for-points-reward-yourself">one point</a> yourself!

  • I have an iMac and need to download something from a disc how do i do this?, i have an iMac and need to download something from a disc how do i do this?

    i have an iMac and need to download something from a disc how do i do this?, i have an iMac and need to download something from a disc how do i do this?

    There is an Apple USB super drive you can buy or any Mac compatible external DVD player.
    Sorry to have nagged at you but you can now see why I couldn't answer your question from the start.   I had no way of knowing there was no slot in the model you have.
    Hope you are sorted now.

  • Allow users to Download documents from server

    Hello Everybody,
    I am working on an Flex application where I have to allow the
    users to Open/Save documents such as Word document, Excel sheet,
    PDFs, Jpeg, Media files (any digital format document) when a user
    clicks on a link present in a Flex application. To do this I am
    using the navigateToURL() method and simply passing the URL string
    as a URLRequest to the navigateToURL method. This works fine but
    whenenver the link is invoked and the user selects to Save the
    Excel sheet or any document it displays an unwanted browser window
    behind the Open/Save/Cancel dialog box saying action cancelled.
    I can not use "_self" as I require the Flex application to
    run as is. I tried using the javascript:window.open() but this did
    not work.
    1) Is there a process to stop the browser window from
    opening?
    2) How can we invoke a javascript using navigateToURL(), I
    tried to invoke javascript.alert('Ok') and also
    javascript:window.open() both did not function.
    3) Is there any other method or flex classes etc. to invoke
    external applications (allow to download documents from server)?
    Please help me.
    Thanks and Regards,
    Paromita

    Paromita,
    You could use the file download functionality. This is from
    the docs:
    You can let users download files from a server using the
    FileReference.download() method, which takes two parameters:
    request and defaultFileName. The first parameter is the URLRequest
    object that contains the URL of the file to download. The second
    parameter is optional--it lets you specify a default filename that
    appears in the download file dialog box. If you omit the second
    parameter, defaultFileName, the filename from the specified URL is
    used.
    The following code downloads a file named index.xml from the
    same directory as the SWF document:
    var request:URLRequest = new URLRequest("index.xml");
    var fileRef:FileReference = new FileReference();
    fileRef.download(request);
    To set the default name to currentnews.xml instead of
    index.xml, specify the defaultFileName parameter, as the following
    snippet shows:
    var request:URLRequest = new URLRequest("index.xml");
    var fileToDownload:FileReference = new FileReference();
    fileToDownload.download(request, "currentnews.xml");
    I think this will accomplish what you are trying to do.
    Vygo

  • Do I need to download a DNLA server to play contents of my iMac on my TV through a blue ray player?

    Do I need to download a DNLA server to play contents of my imac on my TV through a blue ray player?  I have Mountain Lion.

    No, but if you want to do this wirelessly or as Apple calls it, AirPlay, then you need a compatible iMac and an Apple TV or other compatible AirPlay device.
    Otherwise you can connect the two with a suitable cable.

  • Problem with downloading data from cube into flatfile

    Hi,
    I am writing a program to download data from cube into flatfile .The program will be run in the background with user has given his selection in a table.the program works fine .The current problem which i am facing is the character length.e.g. Material is 18 ..but in my dynamic internal table it store the value of material with length of 10 character.
    So i am not able to see the output material in correct format.Anybody knows how to change this format.
    thanks in advance
    Yogesh Mali

    Hi Yogesh,
    Theorethically, you can setup the material code length in TX OMSL, which uses the TMCNV table.
    Why don't you change the structure of your internal table changing material fiela length from 10 to 18?
    Best regards,
    Eugene

  • I need to download image from the url and the image is in byte format.

    hi
    i need to download image from the url
    http://www.tidelinesonline.com/mobile/j2me_v1?reqType=imageJoin&imageCount=1&month=1&day=1&year=2008&id=1&imageWidth=230&imageHeight=216&imageDepth=8&imageUnits=feet&imageType=JPG&msisdn=456
    first 5 digits will be its length,we need to download except 5 digits.
    can any one know how to do that.
    thanks in advance
    Mraj

    hi
    i need to download image from the url
    http://www.tidelinesonline.com/mobile/j2me_v1?reqType=imageJoin&imageCount=1&month=1&day=1&year=2008&id=1&imageWidth=230&imageHeight=216&imageDepth=8&imageUnits=feet&imageType=JPG&msisdn=456
    first 5 digits will be its length,we need to download except 5 digits.
    can any one know how to do that.
    thanks in advance
    Mraj

  • About "Upload and download files from ADF into blob type colum."

    hi
    Using JDeveloper 10.1.3.3.0 I have tried the example available for download from this blog post by Jakub Pawlowski:
    "Upload and download files from ADF into blob type colum."
    at http://kuba.zilp.pl/?id=1
    First a thank you to Jakub for this interesting example.
    I have a question about a PDF file that I uploaded using the example.
    The file has a size of 10445518 bytes.
    After I upload that file, the blob column has a value with a size of 10445516 bytes, 2 bytes less.
    SQL> select file_name, dbms_lob.getlength(stored_file) from blob_table;
    FILE_NAME
    DBMS_LOB.GETLENGTH(STORED_FILE)
    ADF-DeveloperGuide-4GL-B25947_01.pdf
                           10445516If I download that file using the example, it has the same size as the blob value, 10445516 bytes.
    If I open the downloaded file, using Adobe Reader 8.1.1, it first shows this message:
    "The file is damaged but is being repaired."
    After that, there is not problem using the PDF file in Adobe Reader.
    I have tried this with both Internet Explorer 6 and Firefox 2.0.0.11.
    I have also tried this with other (smaller) files, and those upload and download correctly.
    question:
    Why are those 2 bytes lost during upload?
    many thanks
    Jan Vervecken

    Hi!
    I can only post you my code that works for me and as I said I had same problems but can't remember what solved them. My code:
      public void fileUploaded(ValueChangeEvent event)
        FacesContext fc = FacesContext.getCurrentInstance();
        UploadedFile file = (UploadedFile) event.getNewValue();
        if (file != null && file.getLength() > 0)
          // here I have some messages written and a call to the method on AM to save the uploaded file to the DB
      private BlobDomain newBlobDomainForInputStream(InputStream in)
        throws SQLException, IOException
        BlobDomain loBlob = new BlobDomain();
        OutputStream out = loBlob.getBinaryOutputStream();
        writeInputStreamToWriter(in, out);
        in.close();
        out.close();
        return loBlob;
      private static void writeInputStreamToWriter(InputStream in,
                                                   OutputStream out)
        throws IOException
        byte[] buffer = new byte[8192];
        int charsRead = 0;
        while ((charsRead = in.read(buffer, 0, 8192)) != -1)
          out.write(buffer, 0, charsRead);
       * Launch the upload - see fileUploaded() for actual upload handling.
       * @return null navigation event - we stay on this page
      public String UploadButton_action()
        if (this.getMyInputFile().getValue() == null)
          FacesContext context = FacesContext.getCurrentInstance();
          FacesMessage message =
            new FacesMessage(FacesMessage.SEVERITY_WARN, JSFUtils.getStringFromBundle("fileupload.emptyfielderror"),
                             null);
          context.addMessage(this.getMyInputFile().getId(), message);
        return null;
       * Setter for inputFile UI Component.
       * @param inputFile inputFile UI component
      public void setMyInputFile(CoreInputFile inputFile)
        this.myInputFile = inputFile;
       * Getter for inputFile UI Component.
       * @return inputFile UI component
      public CoreInputFile getMyInputFile()
        return myInputFile;
      }fileUploaded is a valueChangeListener on inputFile and UploadButton_action is as the name says the action for upload button.
    Hope this helps. If not, than your problem is probably not the same as mine was, although the message about file corrupted was the same.
    Next thing you can check in this case is if your file exceeds max file upload size. I don't know the exact default value, but if the file is too long I think this upload logic will upload only a part of the file and save it to the DB which can also lead to the same file corrupted error.
    You can set the max upload value in web.xml like this:
    <context-param>
    <!-- Maximum memory per request (in bytes) -->
    <param-name>oracle.adf.view.faces.UPLOAD_MAX_MEMORY</param-name>
    <!-- Use 5000K -->
    <param-value>5120000</param-value>
    </context-param>
    <context-param>
    <!-- Maximum disk space per request (in bytes) -->
    <param-name>oracle.adf.view.faces.UPLOAD_MAX_DISK_SPACE</param-name>
    <!-- Use 10,000K -->
    <param-value>15360000</param-value>
    </context-param>

  • BPC 5.1 - Cannot download templates from server

    Hi All,
    One of our users receives the message "unable to download templates from server" when logging on to the system.  If she clicks OK to get past the message, BPC comes up but there is no action pane.  Only one computer seems to be affected.  The same user can log on to a different computer and run BPC without a problem.  No changes (that we are aware of) were made to this computer since the last time it worked fine (last week).  We are running BPC 5.1 SP8.  What could be causing this problem?
    Thanks!

    Hi Kiran,
    I tried as you suggested but unfortunately it did not solve the problem. 
    Hi Roberto,
    I cleared the local cache on the machine and logged back in.  This seems to have resolved the problem.
    Thank you both for your help!
    Barb

  • I have an Ipad 2 with IOS 5. Does Airport Utility come pre-installed or do I need to download it from the App store?

    . Does Airport Utility come pre-installed or do I need to download it from the App store?

    Get it from the Store

  • Download file from AL11 into CSV to load MD into BPC

    Hi All
    I have an issue in downloading file from AL11 which is in the form of CSV.
    1) I have exported the masterdata for Costcenter using a Open hub.
    2) The file is residing at the app server AL11 in the form of CSV.
    3) I want to down load the file into CSV and upload that file into BPC NW for my costcenter diemension.
    When i am downloading the file from AL11 , the total records are merged into one row, i cannot download same as it is available in AL11.
    I have followed the HOW TO GUIED : HOW TO AUTOMATE MD LOADING IN BPC nw.
    I m unable to get the file properly on to my PC.
    could you please help me .
    AK

    You should open your file in AL11, then clicking 'List' then 'Save' you'll be able to download your file. There will be some header lines indeed.
    You'd better use an open hub with your local client as destination if you need the file.

  • Download File from DMS into WD ABAP gives junk data

    Hi Experts ,
    I want to achieve following functionality in WD ABAP.
    User should be able to upload and download any file ( in any fromat ) , to / form document management server.
    Since user can upload / download any file so I am using a file download UI , which would open any file in a new window.
    I have searched about this in SDN ([ link |https://wiki.sdn.sap.com/wiki/display/Snippets/WDA%20Retrieve%20Data%20from%20DMS%20server]) and I have created a FM which gives me Xstring corresponding to the file in the DMS system.
    then I pass this Xstring data to my context 'DATACONTENT' which is bound to file download UI (data property). But When I execute this application I am getting junk data in the new window. Please correct me where I am making a mistake.
    following is the code in FM which in turn passes v_xstring ( of type xstring ) to WD ABAP . Then I bind this value to context
    'DATACONTENT'.
    wd_context->set_attribute( name = 'DATACONTENT' value = V_XSTRING ).
    FUNCTION ZTESTING_EP.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(DOCUMENTTYPE) LIKE  BAPI_DOC_AUX-DOCTYPE DEFAULT 'IVF'
    *"     VALUE(DOCUMENTNUMBER) LIKE  BAPI_DOC_AUX-DOCNUMBER DEFAULT 1
    *"     VALUE(DOCUMENTPART) LIKE  BAPI_DOC_AUX-DOCPART DEFAULT 000
    *"     VALUE(DOCUMENTVERSION) LIKE  BAPI_DOC_AUX-DOCVERSION DEFAULT 00
    *"  EXPORTING
    *"     VALUE(C) LIKE  BAPIEMPLB-RETURN
    *"     VALUE(V_XSTRING) TYPE  XSTRING
    *"     VALUE(RETURN) TYPE  BAPIRET2
    data: ls_docfiles type bapi_doc_files2,
           ls_dms type dms_doc_files,
           lt_docfiles type standard table of bapi_doc_files2.
    select single * from dms_doc_files
       into ls_dms
       where "Retrieve file
    MOVE '0000000000000000000000001' to DOCUMENTNUMBER .
    MOVE '000' to DOCUMENTPART .
    MOVE '00' to DOCUMENTVERSION .
    if sy-subrc = 0.
        ls_docfiles-documenttype = DOCUMENTTYPE.
        ls_docfiles-documentnumber = DOCUMENTNUMBER .
        ls_docfiles-documentpart = DOCUMENTPART .
        ls_docfiles-documentversion = DOCUMENTVERSION.
    endif.
      call function 'BAPI_DOCUMENT_CHECKOUTVIEW2'
        exporting
          documenttype              = ls_docfiles-documenttype
          documentnumber            = ls_docfiles-documentnumber
          documentpart              = ls_docfiles-documentpart
          documentversion           = ls_docfiles-documentversion
          documentfile              = ls_docfiles
         getstructure              = '1'
         getcomponents             = 'X'
         getheader                 = 'X'
         pf_ftp_dest               = 'SAPFTPA'
         IMPORTING
         return                    = return
       tables
         documentfiles             = lt_docfiles.
    MOVE return to return.
      data: i_bin type standard table of sdokcntbin,
            i_info type standard table of scms_acinf,
            v_info type scms_acinf,
            v_id type sdok_phid,
            v_cat type sdok_stcat.
      if sy-subrc = 0.
        loop at lt_docfiles into ls_docfiles.
          v_id = ls_docfiles-docfile.
          v_cat = ls_docfiles-storagecategory.
          call function 'SCMS_DOC_READ'
            exporting
              stor_cat                = v_cat
              doc_id                  = v_id
              phio_id                      =  ls_docfiles-file_id
           tables
             access_info                 = i_info
             content_bin                 = i_bin
           exceptions
             bad_storage_type            = 1
             bad_request                 = 2
             unauthorized                = 3
             comp_not_found              = 4
             not_found                   = 5
             forbidden                   = 6
             conflict                    = 7
             internal_server_error       = 8
             error_http                  = 9
             error_signature             = 10
             error_config                = 11
             error_format                = 12
             error_parameter             = 13
             error                       = 14
             others                      = 15
        endloop.
        if sy-subrc <> 0.
        else.
         data: v_xstring type xstring.
          read table i_info into v_info index 1.
          call function 'SCMS_BINARY_TO_XSTRING'
            exporting
              input_length       = v_info-comp_size
           importing
             buffer             = v_xstring
            tables
              binary_tab         = i_bin
           exceptions
             failed             = 1
             others             = 2
          if sy-subrc <> 0.
          endif.
        endif.
      endif.
    ENDFUNCTION.
    Thanks in advance
    Abhay

    Hi Abhay,
    I have used the belwo method to achive the same:
    1) Call funtion 'CVAPI_DOC_GETDETAIL' to get the document details.This function module returns PT_FILES tables parameter
    2) Loop at PT_FILES and call the 'CV120_GET_MIME_TYPE' funtion by passing DAPPL of PT_FILES to get the mime type.
    3)call function 'CVAPI_DOC_CHECKOUTVIEW' by passing PT_FILES values form above retrived to the function module in this step
    4)Loop at the content and convert to XSTRING using SCMS_XSTRING_TO_BINARY
    After getting the XSTRING,MIMETYPE use ATTACH_FILE_FOR_RESPONSE method of CL_WD_RUNTIME_SERVICES to download the file
    Sample Code:
    CALL FUNCTION 'CVAPI_DOC_GETDETAIL'
          EXPORTING
            pf_dokar     = ls_draw-dokar
            pf_doknr     = iv_documentnumber
            pf_dokvr     = ls_draw-dokvr
            pf_doktl     = ls_draw-doktl
            pf_read_drat = abap_true
          IMPORTING
            psx_draw     = ls_draw
          TABLES
            pt_drat      = et_drat
            pt_files     = et_files
          EXCEPTIONS
            not_found    = 1
            no_auth      = 2
            error        = 3
            OTHERS       = 4.
      ENDIF.
      IF et_files IS NOT INITIAL.
        LOOP AT et_files INTO ls_files.
          CALL FUNCTION 'CV120_GET_MIME_TYPE'
           EXPORTING
             pf_dappl           = ls_files-dappl
    *       PF_FILE            =
           IMPORTING
             pfx_mimetype       = lv_mimetype.
          CLEAR lt_files_checkout.
          CLEAR lt_content.
          ls_files_checkout-description = ls_files-description.
          ls_files_checkout-lo_objid = ls_files-lo_objid.
          ls_files_checkout-ph_objid = ls_files-ph_objid.
          APPEND ls_files_checkout TO lt_files_checkout.
          CALL FUNCTION 'CVAPI_DOC_CHECKOUTVIEW'
            EXPORTING
              pf_dokar                 = ls_draw-dokar
              pf_doknr                 = iv_documentnumber
              pf_dokvr                 = ls_draw-dokvr
              pf_doktl                 = ls_draw-doktl
             pf_content_provide       = gc_content_provide
    *         PS_API_CONTROL           =
    *         PF_STD_URL               = 'X'
           IMPORTING
             psx_message              = ls_message
             psx_draw                 = ls_draw
           TABLES
             pt_files                 = lt_files_checkout
    *         PTX_COMPONENTS           =
             ptx_content              = lt_content.
          IF ls_message CA gc_error_a.
            ev_fail = abap_true.
          ELSE.
            CLEAR lt_xdata.
            CLEAR ls_bindata.
    *Data into String
            LOOP AT lt_content INTO ls_content.
              lv_size = ls_content-orln.
              ls_xdata-line = ls_content-orblk.
              APPEND ls_xdata TO lt_xdata.
            ENDLOOP.
    * --  Convert XData to Xstring
            CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'
              EXPORTING
                input_length = lv_size
              IMPORTING
                buffer       = ls_bindata
              TABLES
                binary_tab   = lt_xdata
              EXCEPTIONS
                failed       = 1
                OTHERS       = 2.
            IF sy-subrc NE 0.
              ev_fail = abap_true.
            ELSE.
              ls_file_list-filename = ls_files-description.
              ls_file_list-mimetype = lv_mimetype.
              ls_file_list-content = ls_bindata.
              ls_file_list-application_id = ls_files-lo_objid.
              ls_file_list-file_id = ls_files-ph_objid.
              APPEND ls_file_list TO et_file_list.
            ENDIF.
          ENDIF.
        ENDLOOP.
      ENDIF.
    Regards,
    Madhu

Maybe you are looking for

  • Problem with Application server

    Hi All, I'm facing problem with Application Server. When I installed the appserver and started it.. It started with the message " server has been started and some services will run at back". But when I tried stopping it using the stop default server

  • Background image not scrolling with text

    My foreground text will resize with my browser but the background stays stationery, remains in the upper left. How do I fix this? I have included part of my code. Ideally I would like to anchor text boxes to background image so it will scroll all tog

  • Someone Deleted my Recently Added Playlist, How do I get it back?

    Someone else who was using my computer accidently deleted my recently added playlist. How do I get it back? I've already updated to the newest version of ITunes, but I still don't have it.

  • Enterprise Service Outbound - SXMSPMAST Pipeline EVENT - no msg to PI triggered

    Dear guys at the moment we are trying to set up SAP enterprise services outbound in the healthcare environment, which should be used through SAP PI. The ABAP backend is already configured to communicate with SAP PI using ABAP proxy. We went through t

  • Select count(*) cause time out error

    I invoke the following statement: select count(*) as total from table1 where table1 is large(30000 rows), total size of the database is more than 20GB. The above statement will cause time out error. How to solve the problem?