Automate a BI report to flat file on to a FTP server.

Hello all,
I have an same issue like the following thread. After extract CSV file successfully to the directory, but unable to find the file. Any thought?
Automate a BI report to flat file on to a FTP server.
Regards!

Need to analyze the business purpose ,however heres my take on it..
You can utilize 3 options to export query result on to the SAP directories as below and map that path to your FTP server.
1. Transaction RSCRM_BAPI (still valid in nw2004s)
2. Transaction RSANWB (analytical Process designer)
3. Information Broadcasting - KM folder has to be mapped as a file system location.
Hope it Helps
Chetan
@CP..

Similar Messages

  • Export Table to flat file and upload to FTP server for external vendor

    I have done some extensive searches on the forums and I think I have an idea but really need some help. Basically have a table that needs to be exported to a flat file and uploaded to a FTP server so that our vendor can get the data Monday-Saturday and automated by sysdate. This data is used to produce daily letters that go out to customers.
    After doing some searching I came across the UTL_FILE package and reading more into this right now but I am not sure if it is what I should be using to create the file.
    I am using TOAD right now and can see how to do it manually however really need the file to create itself and send automatically at 6 am Monday - Saturday with the date at the end of the file name making it a unique file for each day.
    Thanks in advance for all of your help.

    As Justin and others have mentioned I wrote [XUTL_FTP|http://www.chrispoole.co.uk/apps/xutlftp.htm] so you wont find it in the Oracle documentation. It's pure PL/SQL and uses UTL_TCP and implements an integrated PL/SQL FTP client / API. One of it's many overloaded procedures FTP's the contents of a refcursor straight to a FTP server of your choice, meaning no intervening file is required. Since it is pure PL/SQL, it is trivial to schedule using DBMS_JOB/DBMS_SCHEDULER.
    Any questions just ask.
    HTH Chris

  • Income Statement Report from Flat File

    Dear Gurus,
    I'm in the process of creating an INCOME STATEMENT report from Flat File as for my learning purpose , can you please help me where to start in order to create the Flat File and how many KEY FIGURES & CHAR do I need.
    Thanks,
    -Neha

    Hi,
      As this is for your learning purpose, create the fields as per your requirement. Then create info objects of the same type in BI. Then you try to load the info cube from the flat file.
    for example: if my req is to have 4 fields like student name, marks, grade as my info objects. i have create the same fields in the flat file.
    Note: you can create the flat file in excel and save it as csv format.
    Edited by: arthishri on Sep 20, 2010 1:46 PM

  • XML File Creation Problem in FTP Server

    Hi.. Experts
    My Internal Table is as follows
    Types: Begin of ty_xmlfile,
             xmlline(60000)        type C,
           End of ty_xmlfile.
    Data: it_xmlfile type standard table of ty_xmlfile,
            wa_xmlfile type ty_xmlfile.
    When I download the file to my desktop using  GUI_DOWNLOAD. It works fine
    CALL FUNCTION 'GUI_DOWNLOAD'
              EXPORTING
                BIN_FILESIZE = lv_size
                FILENAME     = lv_file_name
                FILETYPE     = 'ASC'
              TABLES
                DATA_TAB     = it_xmlfile
              EXCEPTIONS
                OTHERS       = 10.
            IF SY-SUBRC <> 0.
              MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
            ENDIF.
    In the debug mode when I download the internal table(IT_XMLFILE) into an excel file it doesn't open and it says tag is missinig(/basic_material_text) and also when I create the file in Application Server and transfer it to FTP Server it doesn't open there..and also in debug mode I find the length until  DIMENSION AN.. for that row when I double click on that line in debug mode it shows all the text until </baisc_material_Text>
    <basic_material_text>4.500 +.000/-.010 O.D. X 213.0&quot; LG.(F)                      (A)ASTM A276 CONDITION &quot;A&quot; 317LTYPICAL MILL CERTS REQ&apos;D.DIMENSION REFERENCE:(A) = ALLOWANCE IS INCLUDED FOR MACHINING(F) = THIS IS A FINISHED DIMENSION AN*
    The above statement is incomplete when the file is open in FTP Server.
    But when the file is created on to my desktop. It displays all the text....
    <basic_material_text>4.500 +.000/-.010 O.D. X 213.0" LG.(F) (A)ASTM A276 CONDITION "A" 317LTYPICAL MILL CERTS REQ'D.DIMENSION REFERENCE:(A) = ALLOWANCE IS INCLUDED FOR MACHINING(F) = THIS IS A FINISHED DIMENSION AND WILL BE USED AS RECEIVED(T) = TO FINISH TO THIS DIMENSION FOR FORGING AND BILLET MATERIAL ONLYVENDOR TO SUPPLY THE FOLLOWING ENGINEERING/QUALITY ASSURANCE DATATYPICAL MILL TEST CERTIFICATES/CERTIFICATES MUST ACCOMPANY THE MATERIAL.* COPIES REQUIRED:(2)ALL CERTIFICATES MUST HAVE LIGHTNIN PART NO.CLEARLY MARKED ON THEM.* COPIES REQUIRED:(2)</basic_material_text> *
    I could not understand why it takes only until DIMENSION AN
    Any suggestions would be very helpful...
    Thanks,
    Chaitanya
    -Points will be awarded for helpful answers.

    Hi...
    I think each XML Line will be of length 256. So I have to split the String into 256 of each Line.
    XML DOM Processing in ABAP part I -  Convert an ABAP table into XML file using SAP DOM Approach.
    Hope  it works out....I will try for that and Close the Post...
    Thanks,
    chaitanya K

  • Running reports on Flat file schemas when OBIEE server is on Unix

    Hello
    we would like to know how Unix OBIEE work with flat file. Currently, in our environment our Development and Production OBIEE are running on Unix AIX machine while our local OBIEE environment is on Windows.
    As our devolepment and configuration goes, we have encounter situations where the flat file schema that were working well on Windows OBIEE server will not run on Unix. The flat files are located on a windows file directory and could be successfully imported into OBIEE throu Admin Tool.
    However, when updating rowcounts or running reports on answers in Unix OBIEE it would return errors:
    State: HY000. Code: 472983136. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 16023] The ODBC function has returned an error. The database may not be available, or the network may be down. (HY000)
    The same activity is working fine on our local machine when OBIEE is on windows..
    We would like to get some help on how to work with flat files when OBIEE is runing on Unix..

    is this the same question as [this one|http://forums.oracle.com/forums/message.jspa?messageID=4018049#4018049] ?

  • Export Report to flat file with spaces

    I have a report that is several columns wide. It queries data from our SQL based accounting package to create a flat file with spaces(must be accurate). When we go export the file we don't get all of the columns. Any ideas?

    Hi,
    Are you exporting to CSV or Excel File?
    Export to Excel.
    Bashir Awan

  • Exporting the report as flat file using the layout defined

    Hi all,
      I am creating a report program using REUSE_ALV_LIST_DISPLAY with flat file extraction using WS_DOWNLOAD. In the selection-screen, a checkbox which indicates that the report must be exported as flat and a parameter for the layout exist. The user wants the result of the flat file to be the same as the layout of the report. In my program, the flat file processing is prior to displaying the ALV. I've been searching a FM which can get the fieldcatalog of a layout but so far, I haven't found one. If I found one, I will just create a dynamic table which will be passed to WS_DOWNLOAD.
    Thanks for your help!!!

    Hi Andrew,
    You can just do a google & SDN search using the FM and u will get many codes where its being used,
    Basically the FM is used to get the layout information. I am not sure if its a perfect match for your requirement.
    http://www.geocities.com/mpioud/Z_DEMO_ALV_REFRESH_BUTTON_4.html
    Cheers
    VJ

  • Inputs requried to create purchase order report from flat file

    inputs requried to create purchase order report from flat file

    At a guess, I'd say purchase order data.
    If you don't give us a clue what you are actually trying to do we can't really help you too much.
    Do you want to call a BAPI?  Do a BDC?  Use an IDOC?  Or just generally muck up the system by doing inserts into the purchasing tables?
    No doubt if you tell us, you'll get lots and lots of suggestions.
    Gareth.

  • Is it possible to load flat file data residing on a local machine via BODS 4.2 or flat file should reside on BODS server?

    Hi All,
    I have a requirement to load data from flatfiles stored on particular location, on a machine on which BODS client istallation is there.
    I am able to create a flat file format by browsing the file location and giving file name.I can view the file data also.
    But when I execute the job, job failswith the error "Cannot open file <D:/BODS_flatfiles/result.txt>. Check its path and permissions".
    Please let me know whether it is possible to load data from flat file on a local machine, which has BODS4.2 client installated on it or the flat file should reside in a path in BODS job server ?
    Thanks,
    Deepa

    Hi Deepa,
    If you get solution then please mark answer as correct and close the tread!
    Thanks,
    Swapnil

  • Flat file data load through appln server # gets generated at each line

    Hi all,
    I am loading the data from flat file which is placed on the application server.
    At the end of each record i can see a # getting generated.
    While loading the data in bw 3.5 i am getting an error message. Can anyone pls let me know how to handle this issue through application server!!
    Thanks
    Pooja

    Hi Pooja,
    I had faced similar kind of issue in my earlier project.
    The issue is the way of uploading file to application server. Again, i m not say the format of file, but the way the file is uploaded. Normally there are 2 type of uploading, Binary and ASCII. If the file format is CSV and the Appl Server is Windows than, ASCII format is recommended. If it is uploaded in any other format, then the newline is not identified and converted to # - which result to error while loading the data.
    I had to put lot of time to find out the correct combination. And then later on train the user to upload it right way. My user used to upload the data by using some FTPPro software.
    Even after training, i had to have a manual check the file through AL11 everytime before load but after sometime user got trained and the problem was solved.
    Hope this helps.
    Regards
    Raj

  • FM to tansfer data in flat file from presentation to application server

    Hi Experts,
    Please tell the FM to tansfer data in flat file from presentation server to application server or vice versa in ECC 6.0.
    Thanks.

    Hi,
    This is how you can achieve it:
    1. You read the flat file from presentation layer and store the file content in internal table gt_inrec
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                = gw_filename
          filetype                = 'ASC'
        IMPORTING
          filelength              = gw_length
          header                  = gw_header
        TABLES
          data_tab                = gt_inrec
        EXCEPTIONS
          file_open_error         = 1
          file_read_error         = 2
          no_batch                = 3
          gui_refuse_filetransfer = 4
          invalid_type            = 5
          no_authority            = 6
          unknown_error           = 7
          bad_data_format         = 8
          header_not_allowed      = 9
          separator_not_allowed   = 10
          header_too_long         = 11
          unknown_dp_error        = 12
          access_denied           = 13
          dp_out_of_memory        = 14
          disk_full               = 15
          dp_timeout              = 16
          OTHERS                  = 17.
    2. Create a new file at the application server:
      OPEN DATASET p_ofile FOR OUTPUT IN
      TEXT MODE ENCODING DEFAULT.
    3. Transfer the content from the internal table into the file at the application server:
        LOOP AT gt_inrec.
          TRANSFER gt_inrec-record TO p_ofile.
        ENDLOOP.
    Hope it helps,
    Lim....

  • Process for Flat file delta load from Application server to transactional??

    I want to do a flat file extraction in delta loads from application server and that should be loaded into a transactional cubes scheduling a process chain.
    Can any one help with ABAP code and step by step process for this?
    Thank you
    Devi

    Hi Devi,
    As per your explaination, you want to load a list of files from application server using process chain.
    You can do this with below steps.
    1) Create a Event and call event to run Process chain multiple times.
    2) Put all filenames in a file say, source-File
    3) Write a rooting to read filename from Source-File and trigger InfoPackage
    4) At the end of the process chain create new customized program which will delete first line from Source-File so that it will take next file in next run as well as delete currently loaded file. Once this is done trigger event again to start process chain again.
    Regards,
    Ganesh

  • How to trigger a Report when a file is placed in Application server

    Hi All,
    How to triggger a Report and get executed when a new file is placed in the application server.?
    It will be helpful if a Navigation is provided for the EVENT.
    Thanks in advance
    Chakri

    Hi,
    Check what is the frequency of the file coming to the application server.
    Schedule your program in SM36 giving data and time make it periodic . select the check box Periodic Job
    and then select the period values and give the period values as per the frequency of the file coming to app server.
    Thanks,
    Harini

  • Placing the File in ISeries AS400 FTP Server

    Hi,
    I am working in IDOC to file Scenario and trying to append the Records in the flat file in AS400 FTP Server Directory.
    I am unable to place to file in the FTP Server and getting the error message as below.
    Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: An error occurred while connecting to the FTP server 'xx.xx.xxx.xxx:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 501  File identifier not valid in MKD subcommand.'. For details, contact your FTP server vendor
    Please provide your valuable suggestion on this.

    Now I am getting the error message as below
    Delivering the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: An error occurred while connecting to the FTP server xx.xx.xxx.xx:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 426 Unable to open or create target file SPD3INTMCD.txt in library FTPLIB. Data transfer ended.'. For details, contact your FTP server vendor..
    Please suggest on this.

  • File transfer from a FTP server to another External FTP server

    Hi,
    I have one FTP server , I need to transfer a file from this FTP server to aother external FTP server. Could any one please help me how to write a batch file on FTP server so that my file is transfered to another FTP server by executing the Batch file. I don't want to use SAP server for this.
    best regards
    bobby

    CREATE CONTROLFILE
    Caution:
    Oracle recommends that you perform a full backup of all files in the database before using this statement. For more information, see Oracle9i User-Managed Backup and Recovery Guide.
    Purpose
    Use the CREATE CONTROLFILE statement to re-create a control file in one of the following cases:
    All copies of your existing control files have been lost through media failure.
    You want to change the name of the database.
    You want to change the maximum number of redo log file groups, redo log file members, archived redo log files, datafiles, or instances that can concurrently have the database mounted and open.
    Note:
    If it is necessary to use the CREATE CONTROLFILE statement, do not include in the DATAFILE clause any datafiles in temporary or read-only tablespaces. You can add these types of files to the database later.
    An alternative to the CREATE CONTROLFILE statement is ALTER DATABASE BACKUP CONTROLFILE TO TRACE, which generates a SQL script in the trace file to re-create the controlfile. If your database contains any read-only or temporary tablespaces, that SQL script will also contain all the necessary SQL statements to add those files back into the database.
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_54a.htm#SQLRF01203

Maybe you are looking for

  • File to idoc with BPM

    Hi All,      I have  one  File to IDoc Scenario. Now I want to throw  posting error in a file. i.e., if mapping goes not well and when IDoc is being sent to Recipient system then if any posting error is encountered, then a file(Flat file) will be cre

  • Is it possible date to be visible in menu bar?

    I can fix date only to be visible in window mode, but in that mode I cannot fix 24 hour time. I can see option 24 hour-clock in both mode - window and menu, but its working only in meny bar. And date is working only in window view. Any solution? Mess

  • Connection String not in

    Hello:    I have a strange problem. I have an addon that using single sign on to connect to UI and DI together. I uses the connstring = System.Convert.ToString(Environment.GetCommandLineArgs().GetValue(1)); to get the connection string from UI. I can

  • JSP + database problem...

    Hi, i would like to retrieve certain column from the database table and display it in a table format... for example, String colName[] = request.getParameterValues("col_header"); // this means that this string is dynamic, will change upon the user sel

  • Does the account manager need to be present to activate new phone?

    I am away at school and my parents are the account managers in another state.  When my new iPhone 6 arrives, do I need them present at the Verizon store to activate my phone?