How link to a flat file

I am new to JDev. I am practicing ADF to create a few reports. However, there is a few flat files, which reside on another server, of reports that I need to post on the page. Does anyone have any idea how to do it? Thnx.

Can you clarify what you mean by "I need to post on the page"?
Do you mean there is some data in flat files you need to display in your JSF pages?
If this is the case have a look at the URL data control:
http://technology.amis.nl/blog/?p=1592

Similar Messages

  • How we create a flat file on the application server

    hi,
    how we create a flat file on the application servere,this file have the header data and corresponding item data also.
    i.e. how we use the AT NEW and ATEND. statement in this file creation.
    pls send me some code related to this.
    thanks,
    vipin

    Hi Grafl,
    Chk this link
    Folder creation in AL11 using ABAP program
    try this code.This works on UNIX servers
    data: unixcom like   rlgrap-filename.
    data: begin of tabl occurs 500,       
            line(400),    
          end of tabl.
    dir = unixcom = 'mkdir mydir'. "command to create dir
    "to execute the unix command 
    call 'SYSTEM' id 'COMMAND' field unixcom
                      id 'TAB' field tabl[].
    <b>Reward Points if Useful</b>
    Regards
    Gokul

  • How IE works for  flat file

    Hi all:
         As we all know that, when IE gets a idoc's service name from SLD, then use it with idoc's message type and Idoc type to do receiver determniation, what about flat file ? how can we know its Service name and interface name  if there is only a flat file on FTP?  how IE works for Flat file ?
         Couldn't thank you more

    Hi,
    For any idoc scenarious, you would use business systems rather than business service which is stored in SLD. So the IE would fetch it from SLD at runtime.
    For file based scenarious also, you can create business system as type third party and use the same.
    Is that answer your question?
    Regards
    Krish

  • How to store the flat file data into custom table?

    Hi,
    Iam working on inbound interface.Can any one tell me how to store the flat file data into custom table?what is the procedure?
    Regards,
    Sujan

    Hie
    u can use function
    F4_FILENAME
    to pick the file from front-end or location.
    then use function
    WS_UPLOAD
    to upload into
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      CALL FUNCTION 'F4_FILENAME'   "Function to pick file
        EXPORTING
          field_name = 'p_file'     "file
        IMPORTING
          file_name  = p_file.     "file
      CALL FUNCTION 'WS_UPLOAD'
       EXPORTING
         filename                       = p_file1
        TABLES
          data_tab                      = it_line
    *then loop at it_line splitting it into the fields of your custom table.
    loop at it_line.
              split itline at ',' into
              itab-name
              itab-surname.
    endloop.
    then u can insert the values into yo table from the itab work area.
    regards
    Isaac Prince

  • How to upload a Flat file into sap database if the file is in Appl'n Server

    Hello Sap Experts , Can you tel me
    " How to upload a Flat file into sap database if the file is in Application Server.
    what is Path for that ?
    Plz Tel Me its Urgent
    Thanks for all

    Hi,
    ABAP code for uploading a TAB delimited file into an internal table. See code below for structures.
    *& 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.

  • How to create a flat files and how i used this

    hi Guys and gals,
    I am david. I want to know how to create a flat files. I don't know about it also. pls explain it and also pls help me to create a flat files. If u have any program for creating pls send me.
    I want to know about retrive the datas from flat files and also insert a record into it.
    pls guide me
    i need this immediately
    david

    void newMethod() throws Exception {
         // Reading from a flat file
         String data;     
         BufferedReader br = new BufferedReader(new FileReader("c:\filename1.txt"));
         while ((data = br.readLine()) != null) {
              System.out.println(data);
         // Writing to a flat file
         BufferedWriter bw = new BufferedWriter(new FileWriter("c:\filename2.txt"));
         bw.write("sample data");
         // After writing the data close the file
         bw.close();
    }

  • How to query the flat files?

    Hi
    How to query the flat files that are used in Etl From EBS source.

    That can be done in OBIEE. Save the flat file as .csv format. Then go to ODBC Administrator on windows machine where you BI server is running, and create an System DSN and select "Microsft Access Text Driver (*.txt, *.csv)" as driver type.
    Next, import tables in RPD using this ODBC connection. Rest of the steps as same as building model from a table source.
    Hope this helps.

  • How ot move an flat file from one location to another

    Hi all,
    My requirement is that i am having a flat file in my C drive(ex:- C:\123.txt) i have to move that file into One of the folders of the My Netqork places using ABAP Programing
    How can i do this...Can we do this using OPEN DATASET   Plese give me sample code if having
    Regards
    Ajay

    Hi Ajay,
      There is no need for using Open Dataset.
    First you upload your text file using GUI_UPLOAD  from the present location.
    Then you download the file using GUI_DOWNLOAD into the required location(Netwrk Places).
    Check this link for GUI_UPLOAD and GUI_DOWNLOAD.
    http://abaplovers.blogspot.com/2008/03/function-modules-guiupload-guidownload.html
    If you are moving it onto Application Server, then go for
    Open Dataset
    Check this link for Open Dataset:
    http://help.sap.com/saphelp_40b/helpdata/ru/34/55cad198482bc0e10000009b38f91f/content.htm
    Hope this helps you.
    Regards,
    Chandra Sekhar

  • How to upload a flat file into a Z DB table

    Hi All,
    For a planning application I would like to permit our users to upload a flat file to a internal table to be persisted on to any given database Z Table. From here we would use it in a planning application.
    Please kindly share the code and approach to implement this in BSP.
    Thanks
    Karen

    Hi Karen,
    Check the links mentioned below.
    [Excel to internal table|Excel to Internal table in BSP;
    [upload excel into BSP|upload excel sheet into BSP application;
    The two links show how to convert an excel file data to internal table in BSP application.Similarly you can convert the flat file data to internal table and then modify the Z DB table to store the data from internal table.
    Regards,
    Anubhav

  • How to load multiple flat files

    Hi,
    I am new to ODI 10, I have one requirement where I need load flat files containing the folder size11GB.
    I want to load them all in a single instances with using of single data server, single physical schema and single logical schema.
    How can we do this.
    Also to execute this in package what steps and precautions do we need to follow.
    Thx

    Is the data in your files the same format?
    If so, simply follow one of the many guides to looping around files that use a common structure to load them, you can do this in parallel if you want.
    http://odiexperts.com/multiple-files-single-interface/
    or
    http://www.odigurus.com/2011/05/multiple-files-single-target-table.html

  • How to load a flat file with utf8 format in odi as source file?

    Hi All,
    Anybody knows how we can load a flat file with utf8 format in odi as source file.Please everybody knows to guide me.
    Regards,
    Sahar

    Could you explain which problem are you facing?
    Francesco

  • How to load a flat file into BW-BPS using Web Browser

    Hello, i have a problem with the "How to do Paper". I want to upload a Excel CSV file , but the paper only describes a txt file Uplaod. Does anybody can help me ?Thanks !

    You need to parse the line coming in from the flat file...
    You can do this with generic types in your flat file structure (string). 
    Then you loop through the table of strings that is your flat file and parse the string so that it breaks up the line for each comma.  There is an ABAP command called: SPLIT - syntax is as follows:
    SPLIT dobj AT sep INTO
          { {result1 result2 ...} | {TABLE result_tab} }
          [IN {BYTE|CHARACTER} MODE].
    Regards,
    Zane

  • How to update a flat file

    below i gave some sample of data .i need how to get the resultsrc1    ( is a flat file)col1     col2     col3     1         a         b2         c         d3          e          f it is my first day souce target is same as it comes tgt1 (flat file ) col1 col2 col3 1 a b2 c d3 e f  2nd day some more data comes src2col1 col2 col3 4 g h1 i j5 k l so my target   update the existing one and insert the new one tgt1 col1 col2 col3 1 i j2 c d3 e f4 g h5 k l  its is looking like scd1 type logicbut does update stratetgy trns work for it .if not then should I create traget every time .PLZ give any logic  thx in advance

    안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천 안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천안전한놀이터추천%% XAX69,COM %%   스포츠토토 스포츠토토추천

  • How to upload the flat file records into internal table by position?

    Hi
    I have a flat file which has 7 records in each row and they are NOT provided with CSV or Tab demilited...
    They are continous text without spaces....
    but i know the fixed length of each field Eg : 1st field 7 char and seconc field 3 char and so on...
    How can i upload this file into internal table by reading positions of each field...I know we can use GUI_UPLOAD and Read dataset and Open dataset...
    But please let me know to read the file with the fixed postions and load into internal table...
    Thanks in advance
    MM

    Hi
    As per my knowledge i dont think thr is some function module or so to read with a fixed positions.
    You can use the below method if you think this is the best way.
    Suppose your file has
    types : begin of ty_itab,
                field1 type char7,
                field2 type char3,
                field3 type chat3,
                field4 type char3,
                end of ty_itab.
    types : begin of ty_upload,
                 str type string,
                end of ty_upload.
    data : it_itab type standatd table of ty_itab,
              it_upload type standard table ot ty_upload,
              wa_itab type ty_itab,
              wa_upload type ty_upload.
    use gui_upload.get the data in it_upload.
    here you know that u have first 16 charcters makes a first row n then next 16 charcters next row
      Loop at it_upload into wa_upload.
       v_len =  strlen ( wa_upload ).
       v_len = v_len / 16.
        You get number of rows per record ,if it is decimal value make it final value if 3.9 make to 4.
        do v_len times.
          wa_itab = wa_upload.
          By this only first 16 characters are moved and respective fields will get a value.or else u can use offset
           wa_upload+0(16).
          append wa_itab to it_itab.
          Now shift 16 characters using shift command in wa_upload.
        enddo.
      endloop.
    Hope this syntax help you to resolve your issue.May be something i have missed .Right now i don't have sap system to send you the full correct syntax code.
    Cheers
    Joginder

  • How to load a flat file

    Hi,
    I have created an empty BPEL process which should take a flat file from my input directory and write it on to the database.But how is this process initiated?would the process be initiated by the presence of a flat file.... which is not happening in my case?or should it be be done by giving an input through a html form?if so how should it be done?Any reply in this case would be highly appreciated. thanks in advance

    Hi ,
    You can use File Adapter to read the file from your specified directory.
    Oracle JDev BPEL Designer has in-built support for configuring file adapter to read file from a input directory.
    HTH.
    Rakesh

Maybe you are looking for