Read flat file form other than sapserver(not in sapser) in background mode

Dear Friends,
I want to upload data from flat file to sap in background mode.
I know how to read file for application server in background mode, but my requirement is , i need to read the flat file data from other than sap server in backgound mode.
please help me,
Regards,
prabhu

hi
you can do like this way.
fist should get de directory file name.
  CALL FUNCTION 'RZL_READ_DIR_LOCAL'
    EXPORTING
      NAME           = FILE_PATH
    TABLES
      FILE_TBL       = I_FILES
    EXCEPTIONS
      ARGUMENT_ERROR = 1
      NOT_FOUND      = 2
      OTHERS         = 3.
  IF SY-SUBRC EQ 0.
    FILES_TAG = 1.
  ENDIF.
second
   LOOP AT I_FILES.
open datafilenaem.
close datafilename.
endloop.

Similar Messages

  • Can I instal Reader to a drive other than C:?

    Is someone able to tell me how to instal Reader to a drive other than C:?
    I am trying to free up space on C: and prefer to load the Reader files into another drive, but I did not see an option to do that when downloading, and the installer just starts automatically without prompting for a target folder.

    Use the offline installer from http://get.adobe.com/reader/enterprise/ and click on Change Destination Folder

  • Problems emailing any other file format other than a .jpg

    I am having problems emailing any other file format other than a .jpg in mac Mail in Leopard. Is anyone else having this problem?
    I have tried PDF, .tif and .doc documents, and they are small files, less than 150 kb. I have checked to ownership on the images and it says that I can read and write to them. I have also checked with my ISP and my mailbox capacity is 10 MB and was recently emptied. I am able to log into my ISP's webmail portal and send these types of attachments through there successfully, which has made me convinced that it has to do with Leopard or Mac Mail because I did not have these problems in Tiger.
    When I send a message like this, Mail says, "Sending" for a while, and then says "Cannot send message using server:(Name of my server) Sending the message content to the server failed. Select a different outgoing mail server."

    I've been sending .doc files with/without also .jpg as attachments without problems so it is possibly not a Leopard problem. I know this doesn't solve your problem though. Someone else may be able to solve the problem.

  • Can I install Adobe Reader to a drive other than the C: drive?

    Can I install Adobe Reader to a drive other than the C: drive?

    Hello there,
    Welcome to Adobe Community. Yes it can be installed on a different drive. Though some of the files installed by it will still be installed on C: drive.
    When you run the installer, use 'Change destination folder' at the bottom of the panel
    If you already have Adobe Reader installed on the C: drive, you must uninstall it before installing a new version on a different location.
    Thanks!

  • I'm wondering if there is any way to view the results of the form other than in a spreadsheet?  Is it possible to print responses one by one in PDF format, or word, etc?  I'd like to create a form for proposal applications, and the spreadsheet format resu

    I'm wondering if there is any way to view the results of the form other than in a table?  Is it possible to print responses one by one in PDF format, or word, etc?  I'd like to create a form for proposal applications, and the spreadsheet format results are nearly unusable for this type of form.

    Hi Nalani500 ,
    Yes, you can print the response in a PDF by following the steps suggested below.
    1) Go to the response file
    2) Select the response you want to print
    3) Click on Save as PDF button and it would save the selected response in PDF format.
    Thanks,
    Vikrantt Singh

  • Some PDF files and other emails do not display the whole page. Is there a way to change that?

    Some PDF files and other emails do not display the whole page. Is there a way to change that?

    If an app does not behave as expected, try closing the app completely and reboot the iPad. It appears as though you have the original iPad. It helps if you list your iPad model and the iOS that you are running.
    Tap the home button once. Then tap the home button twice and the recents tray will appear at the bottom of the screen. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button twice.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • How to read flat file and convert to xml throught OSB

    Hi ,
    Can somebody help how to read flat file and convert to xml in OSB.
    appreciate ur help.
    Thanks & Regards ,
    Siva K Divi

    if you're using the oepe with osb plugin (will be installed when you install the osb locally) and then in your osb project > rightmouseclick > new > MFL.
    that's it
    maybe you're trying to create it within an oepe installation which doesnt have the osb plugin ?

  • How do i install reader to a drive other than the boot drive?

    how do i install reader to a drive other than the boot drive?

    Hi nicksdaddy,
    There is an offline version:
    http://get.adobe.com/reader/enterprise/
    Hope that helps!
    Stacy

  • To read flat file from a unix server

    We need to read a flat file from a Unix server, where our Database is located.
    The location gets created correctly.
    But while we are trying to import files from the location in Design Center , we get an error that "directory does not exists", although the directory has all the permissions.
    Can someone please suggest how should we create the location so as it can read the files.
    Please Reply ASAP......

    We have started Design Center on a local machine(Windows Machine) with uaer as repository owner of the server,
    In the design center we can not sample the file till we import it,
    can you please tell how to sampe the file without importing it.
    Also a location pointing to server location gets easily created on the design center and the file module points to that location only, but when we try to import the file through that location, it says directory does not exists, although oracle user has all the read write permissions on the directory......
    Please help!

  • Flat file to Asynch RFC: R3 not getting updated

    hi all,
             I have a flat file to asynch RFC scenario.I can see the file getting deleted and the chequered flag in MONI.In adapter monitoring i can see the message being processed for the RFC.But it has to update an R3 table which is not getting done.
    Can anybody give ideas where the problem lies...in earlier blogs someone had suggested to check sm58 but dnt know what to give the inputs for this...
    help highly appreciated and points will be awarded
    regards,'
    Nisheeta

    Hi Nisheeta,
    1)I hope your Receiver RFC adpater is working fine (In adapter monitoring it should be green)
    2) As you mentioned that your RFC is working correctly with the given inputs (which in this case you are passing thru file, right?). Just check oncemore.
    3) Call transaction SM58 . This tool lists only those transactonal RFCs that could not be carried out successfully or that had to be planned as batch jobs. The list includes the LUW ID and an error message. Error messages displayed in SM58 are taken from the <b>target system</b>. To display the text of the message, double-click on the message.
    so u have to check in sap29...
    Regards
    Suraj
    PS: <b>Guyz stop asking for points, let her problem get solved first... Thanks</b>

  • Reading flat files with variable names in SSIS

    I have a ssis package that reads a flat file from a network drive (using a flat file connection manager) and loads the data into sql server tables. I have this working on a fixed file name, however in reality the file name will not be the
    same from run to run.      Essentially, I need to check a folder each day and if there is a file there with a certain prefix (for example, 'datafile'), I need to process this file(s). In other words, if there is a file in the folder
    called datafilexyz, my process needs to read it in and process it.    If there are files named datafileabc, datafiledef, and testfile123, I need to read in and process the datafileabc and datafiledef flat files.    
    I'm not sure how to make this work.     I haven't had any SSIS training, just what I can find on the internet and looking at existing SSIS packages (I haven't found any that do what I'm trying to do here) so I'm kind of lost.   
    Any help is appreciated.  

    this is working well.    How can I, after loading each flat file, move the flat file to an archive folder?    I'm trying to use a file system task, but doing something wrong.    I created and reference
    an archive folder connection manager in the destination connection, and reference the original folder connection manager for the source connection, but get 'sourcepath is not valid on operation movefile'.    I think a file system task is what
    is needed (within the foreach loop after the data load for each flat file), but I'm not doing something correctly.
    Sounds fine except for one thing. Did you assign the filename variable to connection string property of the source file connection manager used by file system task?
    Also it should be existing file option you should choose for
    source connection and existing folder for destination.
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Read flat file into IDOC

    Hello All,
    I have a file in application server, now I need to convert this file into IDOC format and save the records in SAP database. Can any one provide us the steps to do this. I would like to know how to create a port for file type to read the flat file.
    Thank you,

    Hi,
    Create a Z program in se38 and in that you will have to make use of OPEN DATASET, READ DATASET and CLOSE DATASET statements to read the fiel from the application server.
    IDOC is just an intermediate document with some structure.
    It does not have a capability to read a file by itself.
    The file had to be explicitely read from the application server making use of the above statements and then pass the data to the idoc structure.
    For more help do F1 on these statements.
    Regards,
    Ankur Parab

  • Creating flat file on other machine.

    Hi All,
    I am working on ODI 11g( 11.1.1.6).
    i want to create flat file on another machine.
    lets say, i have two machine A & B.
    Machine A contain ODI 11g, Machine B contain source (Oracle) and Flat file location which is Target.
    How to create flat file in machineB as target.
    Please heip.
    Regards
    Prashant

    Thanx for replay,
    In machineA ODI 11g is installed.
    source and target are on machineB.
    In Physical Architecture i am able to map source(Oracle) machineB using IP,
    but for file, i am not able to map with target machineB, to generated flat file.

  • Load and Read XML file size more than 4GB

    Hi All
    My environment is Oracle 10.2.0.4 on Solaris and I have processes to work with XML file as below detail by PL/SQL
    1. I read XML file over HTTP port into XMLTYPE column in table.
    2. I read value no.1 from table and extract to insert into another table
    On test db, everything is work but I got below error when I use production XML file
         ORA-31186: Document contains too many nodes
    Current XML size about 100MB but the procedure must support XML file size more than 4GB in the future.
    Belows are some part of my code for your info.
    1. Read XML by line into variable and insert into table
    LOOP
    UTL_HTTP.read_text(http_resp, v_resptext, 32767);
    DBMS_LOB.writeappend (v_clob, LENGTH(v_resptext), v_resptext);
        END LOOP;
        INSERT INTO XMLTAB VALUES (XMLTYPE(v_clob));
    2. Read cell value from XML column and extract to insert into another table
    DECLARE
    CURSOR c_xml IS
    (SELECT  trim(y.cvalue)
    FROM XMLTAB xt,
    XMLTable('/Table/Rows/Cells/Cell' PASSING xt.XMLDoc
    COLUMNS
    cvalue
    VARCHAR(50)
    PATH '/') y;
        BEGIN
    OPEN c_xml;
    FETCH c_xml INTO v_TempValue;
    <Generate insert statement into another table>
    EXIT WHEN c_xml%NOTFOUND;
    CLOSE c_xml;
        END
    And one more problem is performance issue when XML file is big, first step to load XML content to XMLTYPE column slowly.
    Could you please suggest any solution to read large XML file and improve performance?
    Thank you in advance.
    Hiko      

    See Mark Drake's (Product Manager Oracle XMLDB, Oracle US) response in this old post: ORA-31167: 64k size limit for XML node
    The "in a future release" reference, means that this boundary 64K / node issue, was lifted in 11g and onwards...
    So first of all, if not only due to performance improvements, I would strongly suggest to upgrade to a database version which is supported by Oracle, see My Oracle Support... In short Oracle 10.2.x was in extended support up to summer 2013, if I am not mistaken and is currently not supported anymore...
    If you are able to able to upgrade, please use the much, much more performing XMLType Securefile Binary XML storage option, instead of the XMLType (Basicfile) CLOB storage option.
    HTH

  • Why does my quicktime player verson 10.2 somtimes read avi files and other times it wont recognize them?

      Why does my quicktime player version 10.2 sometimes read AVI video and other times it will not recognize that same file. I have a video card that sometimes it will read then the next time it recognizes the card but will not open the video. Message says "quicktime does not recognize this file.
    Whats up with that ??? Any help will be most appreciated!

    AVI is a container just like MKV, WMV, MOV, and MPEG. It is possible to use many different compression formats aka. codecs in an AVI container.
    Think of the container - AVI as being an envelope, and the compressed video in it as a letter. The letter may be in a language you cannot read even though you know how to open the envelope.
    Historically QuickTime did have some built-in ability to use AVI files and some formats in those files, this used to be further improved by installing the free Perian (for Mac only). However with Mavericks Apple have removed the ability for QuickTime X aka. QuickTime Player 10 to use AVI files, it now really only accepts MPEG4 or H.264.
    It is still possible to install QuickTime 7.6.6 in Mavericks and if you use it and Perian rather than QuickTime X you can still use various AVI files.
    Note: Mavericks also now no longer shows previews or thumbnails for AVI files for the same reason.

Maybe you are looking for

  • I can't save *new* documents back to SharePoint

    I can't save *new* documents back to SharePoint. We have a SharePoint 2013 development environment, running on Windows Server 2012 and a Windows 7 Client Computer with Office 2010. Every time I click „new document", SharePoint opens the corresponding

  • Lumia 920 broken glass

    My white lumia 920 screen broke when it slipped from my breast pocket and crash landed on a hard surface, please what can i do cause am missing my phone so much already and it was is my meeting hub with my clients and want something done fast. bought

  • I want to upgrade my storage on my macbook pro .I need to know what to buy

    Group: MacBook Subgroup: Pro Screen Size (inches): 13 Screen Resolution: 1280x800 glo Colour: Aluminium Family: A1278 Model Code: mbp_13_mid_10 CPU Type: Intel 2.4 GHz Core 2 Duo (P8600) CPU Speed: 2.4GHz RAM Type: DDR3 PC8500 SODIMM 1066MHz RAM slot

  • Reverse engineering to produce .DDL script

    Hi, Does anybody know the best way to reverse engineer all the tables in a 9i account in order to replicate the .DDL script which would have been used to create the table definitions in the first place. Also, does anybody know of the best way to simi

  • FMS server has be be refreshed every few days

    Hi, I have an issue lately where the FMS 3.5 server has to be refreshed via the Administration Console because the videos stop streaming. This has to be done every 2 - 3 days. If I restart the service it does not help. I have to go into the Admin Con