How to upload my page in server

Hi all,
i my production server ,there is two node (bd,web) so there is two java_top is there and two mds_to.
So how I upload my page and Controler, will I upload the file two time or how?
Please Help me on this.
Regards
Rabindra

Hi Anand
The code is:
76 line starts here:
try
System.out.println("subParam====>>>>>" + subParam);
projectDetails = new ProjectDetails("@PMIS_ID,@Type", queryParam);
if(projectDetails == null)
throw new Exception("EDMS Query Exception : Details Object Empty : " + projectDetails.toString());
subParam = projectDetails.getSubItemType(phase);
queryParam = projectDetails.getEDMSQueryAttributes("PMS_Project_Folder", subParam);
System.out.println("queryParam====>>>>>" + queryParam);
catch(Exception e)
queryError = e.getMessage();
System.out.println("queryError===========>>>>>>>>>>>>>>>>>>>>" + queryError);
System.out.println("Exception==>>################" + e);
that mean it did not find the PMIS_ID but it is working fine in dev...
Regards
Rabindra

Similar Messages

  • How to upload logo from application server

    Hi all,
    Plz show me the way how to upload logo from application server into sap script.
    What is NGT.
    Thanks in advance
    Venkat

    Hi
    You have to import your logo in SAP by SE78 before using it in a SAPSCRIPT.
    So have you done it?
    If yes, it depends on how you have imported the logo:
    - As std text:
    INCLUDE <LOGO TEXT> OBJECT TEXT ID ST LANGUAGE <LANGUAGE>
    - As graphic:
    BITMAP <LOGO GRAPHIC> OBJECT GRAPHICS ID BMAP TYPE BCOL
    Max

  • How to upload file from Application Server?

    Dear Friends,
    How to upload file from Application Server?
    Plz. with example...
    Regards,
    Dharmesh

    hi,
    check the code for upload from application server.
    tables: kna1.
    types: begin of s_file,
             customer type kna1-kunnr,
             country  type kna1-land1,
             name     type kna1-name1,
             region   type kna1-regio,
           end of s_file.
    *--Internal tables
    data: it_file type s_file occurs 0 with header line.
    *-- Selection screen
    selection-screen: begin of block b1 with frame title text-001.
    parameter: p_file type rlgrap-filename default 'C:/customer.txt'
    obligatory.
    selection-screen: end of block b1.
    *-- At selection screen
    at selection-screen on value-request for p_file.
    perform file_help using p_file.
    *-- Process File
    start-of-selection.
      perform upload_file using p_file.
    *-- write File data to o/p
    end-of-selection.
      perform write_data.
    *&      Form  file_help
    form file_help  using    p_p_file.
      data: l_filepath type ibipparms-path.
      call function 'F4_FILENAME'
    EXPORTING
      PROGRAM_NAME        = SYST-CPROG
      DYNPRO_NUMBER       = SYST-DYNNR
      FIELD_NAME          = ' '
       importing
         file_name           = l_filepath
      p_p_file = l_filepath.
    endform.                    " file_help
    *&      Form  upload_file
    form upload_file  using    p_p_file.
      call function 'WS_UPLOAD'
       exporting
         filename                      = p_p_file
         filetype                      = 'DAT'
    IMPORTING
      FILELENGTH                    =
        tables
          data_tab                      = it_file
       exceptions
         conversion_error              = 1
         file_open_error               = 2
         file_read_error               = 3
         invalid_type                  = 4
         no_batch                      = 5
         unknown_error                 = 6
         invalid_table_width           = 7
         gui_refuse_filetransfer       = 8
         customer_error                = 9
         no_authority                  = 10
         others                        = 11
      if sy-subrc <> 0.
        message i001.
      endif.
    endform.                    " upload_file
    *&      Form  write_data
    form write_data .
      loop at it_file.
        write:/ it_file-customer, it_file-country, it_file-name,
                it_file-region.
      endloop.
      endform.
    regards,
    keerthi.

  • How to upload a file into server using j2ee jsp and servlet with bean?

    How to upload a file into server using j2ee jsp and servlet with bean? Please give me the reference or url about how to do that. If related to struts is more suitable.
    Anyone help me please!

    u don't need j2ee and struts to do file uploading. An example is as such
    in JSP. u use the <input> file tag like
    <input type="file"....>You need a bean to capture the file contents like
    class FileUploadObj {
        private FormFile srcFile;
        private byte[] fileContent;
        // all the getter and setter methods
    }Then in the servlet, you process the file for uploading
        * The following loads the uploaded binary data into a byte Array.
        FileUploadObj form = new FileUploadObj();
        byte[] byteArr = null;
        if (form.signFile != null) {
            int filesize = form.srcFile.getFileSize();
            byteArr = new byte[filesize];
            ByteArrayInputStream bytein = new ByteArrayInputStream (form.srcFile.getFileData());
            bytein.read(byteArr);
            bytein.close();
            form.setFileContent(byteArr);
        // Write file content using Writer class into the destination file in the server.
        ...

  • Figured out how to upload single pages w/o using .mac

    I figured out how to upload or republish only the pages with revisions using a different ftp server than .mac
    I hope I can explain this. I am using Fetch as my FTP client. I changed a few things on my welcome page and published the to my folder. Then I opened fetch, opened the main folder with all the pages in it. I then went down and highlighted Welcome files and Welcome.html. I then hit the put button and selected the same to items from the folder on my computer. This replaces the previous files and you can republish w/o having to publish your whole site. I hope this made sense. I am not computer savy. I really love the iweb program. I have a site with about 100 pics and 10 movies and all seems to be going well. I checked and it works on PC's as well.

    Hi theburlaon and welcome!
    I initally tried using iMovie but the timeline could not hold the whole tape
    Did you try to import the entire tape as one huge clip? Better to set it to, say, 5 minute clips.
    I want a single DVD of each tape so later (when I have the time) I could reimport them and make home movies
    Bad idea IMO. DVD is the final delivery format, not intended for editing. Converting back from mpeg2 (DVD format) to DV format (what iMovie likes) will result in a substantial quality loss.
    Just hang on to the tapes until you are ready to do the job properly, via iMovie and iDVD.

  • How to upload file in a server

    Hi,
    How to upload file to server through reporting. Plz guide me and what would be the probable code.
    Thanks

    Hi,
    Try this Report Program.
    *& Report  ZUPLOADTAB                                                  *
    *& Example of Uploading tab delimited file                             *
    REPORT  zuploadtab                    .
    PARAMETERS: p_infile  LIKE rlgrap-filename
                            OBLIGATORY DEFAULT  '/usr/sap/'..
    DATA: ld_file LIKE rlgrap-filename.
    *Internal tabe to store upload data
    TYPES: BEGIN OF t_record,
        name1 like pa0002-VORNA,
        name2 like pa0002-name2,
        age   type i,
        END OF t_record.
    DATA: it_record TYPE STANDARD TABLE OF t_record INITIAL SIZE 0,
          wa_record TYPE t_record.
    *Text version of data table
    TYPES: begin of t_uploadtxt,
      name1(10) type c,
      name2(15) type c,
      age(5)  type c,
    end of t_uploadtxt.
    DATA: wa_uploadtxt TYPE t_uploadtxt.
    *String value to data in initially.
    DATA: wa_string(255) type c.
    constants: con_tab TYPE x VALUE '09'.
    *If you have Unicode check active in program attributes then you will
    *need to declare constants as follows:
    *class cl_abap_char_utilities definition load.
    *constants:
       con_tab  type c value cl_abap_char_utilities=>HORIZONTAL_TAB.
    *START-OF-SELECTION
    START-OF-SELECTION.
    ld_file = p_infile.
    OPEN DATASET ld_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    IF sy-subrc NE 0.
    ELSE.
      DO.
        CLEAR: wa_string, wa_uploadtxt.
        READ DATASET ld_file INTO wa_string.
        IF sy-subrc NE 0.
          EXIT.
        ELSE.
          SPLIT wa_string AT con_tab INTO wa_uploadtxt-name1
                                          wa_uploadtxt-name2
                                          wa_uploadtxt-age.
          MOVE-CORRESPONDING wa_uploadtxt TO wa_upload.
          APPEND wa_upload TO it_record.
        ENDIF.
      ENDDO.
      CLOSE DATASET ld_file.
    ENDIF.
    *END-OF-SELECTION
    END-OF-SELECTION.
    *!! Text data is now contained within the internal table IT_RECORD
    Display report data for illustration purposes
      loop at it_record into wa_record.
        write:/     sy-vline,
               (10) wa_record-name1, sy-vline,
               (10) wa_record-name2, sy-vline,
               (10) wa_record-age, sy-vline.
      endloop.
    Regards,
    Padmam.

  • How to Upload Smartforms from Application Server

    Hi Guys,
            I have to upload the SMARTFORMS in to the System.That can be done as follows:
    1- Tcode  - Smartforms
    2- Utilities -> Upload form
    3- Give form Name
    4- Give path of Form on presentation server and upload.
    But I have to give the path of Form from the Application Server. As i have all the forms to be uploaed in New system on the Application Server.
    I will be writing the program to program to read XML file(smartform) from application server to internal table and then upload it in the System.
    Please let me know if it is possible to upload Smartforms from Application Server?
    Regards
    Sandeep

    Vinod,
         Thanks for the reply.
    But Actually I want to Automate this process of Uploading the Smartforms.
    So I want to directly upload it from Application server.
    As it is not possible to upload the Smartforms from Presentation Server Automatically.
    In this human Intervention will be required.

  • How to Upload a File to Server(JSP - Tomcat)?

    Hi,
    I want to upload a file to Server(Where the Tomcat is Running) to a particular directory.Let it be \tomcat\webapps\exapmles\Viki\.But note i dont have rights to map the drive from CLient side.I want to upload the file from client side to the unknwn server to a particular directory
    Please Help me
    Thanks in advance

    http://jakarta.apache.org/commons/fileupload/

  • How to upload file on Application Server with Forms 6i?

    Please, I need to upload .csv file from local to Application Server, I think to use .jsp application, but I don't know where I had to put it...Apache can't read .jsp file without Tomcat? If I launch my .jsp file from Apache/htdocs directory can't view .jsp code (Method Not Allowed)...method is POST...any idea? Thanks in advance!

    Hi,
    You could write a java bean to get the file from the client and to upload to App Server. And, you simply use it in Forms 6i.
    Also, you could use d2kwutil (not tried though. you could search this forum and get an idea of that).
    Of course, For your information, You could use WebUtil (in Forms 10g / 10.1.2) which has the functionality.
    HTH.
    Regards,
    Arun

  • How to upload data from application server

    Hi,
    please help me out in uploading the data from application server which is a tab delemited file into an internal table.
    Thanks
    kumar

    hi,
    Use this sample code as an example.
    table declaration
    tables: mara.
    *data declaration
    data: begin of it_lfa1 occurs 0,
    vendor like lfa1-lifnr,
    land1 like lfa1-land1,
    name1 like lfa1-name1,
    ort01 like lfa1-ort01,
    end of it_lfa1.
    selection screen
    selection-screen: begin of block b1 with frame.
    parameters: p_file type rlgrap-filename obligatory.
    selection-screen: end of block b1.
    at selection screen
    at selection-screen on value-request for p_file.
    *& start-of-selection
    start-of-selection.
    perform transfer_file using p_file.
    perform write.
    *& Form transfer_file
    text
    -->P_P_FILE text
    form transfer_file using p_p_file.
    data: l_message(30) type c.
    ***opening dataset for reading
    open dataset p_p_file for input in text mode encoding default message
    l_message.
    if sy-subrc ne 0.
    message i001(zerr2) with p_p_file.
    endif.
    *******transferring data from file to app server.
    do.
    read dataset p_p_file into it_lfa1.
    if sy-subrc = 0.
    append it_lfa1.
    clear it_lfa1.
    else.
    exit.
    endif.
    enddo.
    *******closing dataset
    close dataset p_p_file.
    endform. " transfer_file
    *& Form write
    text
    --> p1 text
    <-- p2 text
    form write .
    loop at it_lfa1.
    write:/ it_lfa1-vendor,
    it_lfa1-land1,
    it_lfa1-name1,
    it_lfa1-ort01.
    endloop.
    endform. " write
    Thanks
    Aneesh.

  • How to upload iweb page

    i want to upload my website from iweb to namesco, i have bought my domain name from them , which comes with an email and ftp thing.
    i have saved my website in iweb to local folder and to ftp, when  doing a test connnection everything is working perfectly. i dont thinks its a problem with namesco  as the when i trying my website address it comes up with an access denied page.
    other info that might help ;
    all the icons in the left coloumn of iweb are red - is that important?
    the publish icon in bottom left corner is now faded, so unpressable.
    for directory path i can type in / or /web and test connection works
    i am VERY new at this website making stuff so please use short and easy to understand word!!! like talking to a 5 year old!!!
    thanks for your time and hopefully your help x

    The icons in the left column will turn blue when you publish successfully using either the iWeb FTP or to a local folder.
    Both publishing methods are described here...
    http://www.iwebformusicians.com/iWeb/Publish-Website.html
    If you are using the iWeb FTP, try using the publishing settings shown on the above page. Leave the Directory/Path blank.

  • How to upload content in OLM server

    Hello everyone. I have been able to setup an OLM content server using apache and Jserv.
    The problem I have now is what to do next. I have tried to define a Learning Object but I assumed this screen would have a "Choose File.." option where I would select a file to upload to the server. Instead all I can see is a section for Directory and for initial file.
    Does this mean I have to upload files I want to use for my content to my apache server manually or am I missing something here?
    We want to be able to present users with reading material after which a test is displayed.
    Many thanks

    Hi, just an update:
    I created the learning object and uploaded a file. I then got a message saying the file upload was successful.
    The upload has succeeded. If you uploaded a zip file, it has been unzipped into the specified directory.
    But when I look in the rootdir folder I created, nothing is there. Why does OLM say the upload is successful when there is nothing in the folder? Any thoughts on this?
    Thank you

  • How to upload images in glassfish server

    i using Netbean 6.0 and glassfish server
    i can using uploadbean 1.9 because it it support to glassfish server
    Thank
    sevenlon

    i using Netbean 6.0 and glassfish server
    i can using uploadbean 1.9 because it it support to glassfish server
    Thank
    sevenlon

  • How to upload and down load Document from Server in Webdynpro Java

    Hi,
    I have to upload and download document to the server and from the server.
    The examle and the sample application which is available in SDN is not helpful as its about uploading and downloading from the application context.Please let me know how to upload/download from teh server.
    Sandip

    Hi sandip,
         I have same requirement.If u get any source please let me know.
    reagrds,
    Anuradha

  • Uploading zip file to server

    Hi,
    I want to upload a zip file in some server location,till now i have below code,but not able to get any clue how to upload zip file to server when user press Begin button.
    Can someone please help me?
    >
    JSP code:
    <af:inputFile label="Upload:"
    valueChangeListener="#{ifarm.fileUploaded}"/>
    <af:commandButton text="Begin"/>
    Bean code :
    public void fileUploaded(ValueChangeEvent valueChangeEvent) {
    UploadedFile file = (UploadedFile) valueChangeEvent.getNewValue();
    if (file != null)
    System.out.println("************** "+file.getFilename().toString());
    >>

    All you need to do is to get hold of the input stream of the upload file and copy it to an file on your server (which you can create).
        public static int copy(InputStream input, OutputStream output)
                throws IOException {
            byte[] buffer = new byte[1024 * 4];
            int count = 0;
            int n = 0;
            while (-1 != (n = input.read(buffer))) {
                output.write(buffer, 0, n);
                count += n;
            return count;
        public void fileUploaded(ValueChangeEvent valueChangeEvent) {
            UploadedFile file = (UploadedFile)valueChangeEvent.getNewValue();
            if (file != null) {
                File ff;
                try {
                    // create a temporary file on the host server
                    ff = File.createTempFile("xx", "yy");
                    FileOutputStream os = new FileOutputStream(ff);
                    IOUtils.copy(file.getInputStream(), os);
                } catch (IOException e) {
                    e.printStackTrace();
                System.out.println("************** " +
                                   file.getFilename().toString());
        }Timo

Maybe you are looking for

  • I can't seem to sign into the store on my iPod and can't do anything with my account at all for iTunes

    Since this morning ive been having a rough go with my iPod. The e-mail aspect of it wasn't working correctly, and still isnt. It takes a long time for it to load. Then a friend tried to message my iMessage and instead of coming to my iPod it went to

  • CTRL+break doesn't work, cannot boot on Rommon.

    GoodDay to All, Im using a 1750 router, and then i upgrade it to higher version, after then i reload it, the problem it does not goes to start-up mode or even the rommon mode,not enough memory to load the image, it always rebooted after the self-deco

  • Session State Protection invalid Checksum errors show valid checksum

    Hi, I am investigating Session Sate Prtection to let me make my appications more secure. I have created a simple Report / Form pair that allows me to open an item for edditing. I have set the Application to Session State Protection 'Enabled' and and

  • Select-query with *

    Hi, I wish to select rows from a database. This is the query I wrote: "SELECT * FROM opencalls WHERE ProblemDescription LIKE '*upgrade*'". When I run this query in MS Access itself, there is no problem, I get the required rows. But when I run it in m

  • How to customize yAxis of ADF bar: dvt:barGraph

    Hi buddies, I met a problem on designing dashboard these days. Now the values of yAxis is not fixed, it usually displays "0,0,1,2,2,3,4,4,4..." I don't want it displays like that, it should be "0,1,2,3,4,..." any one knows how to customize it? Thanks