Send binary files from SAP System to SAP XI/PI

Dear experts,
in our SAP ERP-System we have a link to JPG files which are stored in an archive. We want to send these files with some other information to our SAP XI and then store them on a file server. Is there a way to send a MIME attachment via RFC? Or is there another way to send binary files from SAP ERP to SAP XI? We want to avoid polling the files on OS level.
Thanks and regards,
David

Most recommended way is to go for ABAP proxies. They support attachments.
Regards,
Prateek

Similar Messages

  • Printing or exporting  files from remote system running SAP

    Hi to everyone,
    I am trying to print or save exported data from SAP (in Excel)to a remote system where I am working. SAP is running in a remote server to which I am connected. So far I have only been able to print and save in the remote system (where SAP is running ), but can't do it to my printer/PC. It is probably a simple problem but I can't see an answer.
    Thank very much to anyone who can give me a clue.
    Antonio

    check if printer LP02 or similar is defined on your SAP system. It prints via SAPLPD to your local printer.
    To save anything to your local PC - you can use "save to local file" from the report, or WS_DOWNLOAD FM from ABAP.

  • How to send doc files from one system to another using XI

    Hi All,
    I have a requirement to pick the word doc files from one file system and send these word document files to ECC system place in ECC application server.Can we achieve this requirement using XI. If so how we can do this. also let me know can we convert these doc files into proxy and send to ECC?. Please let me know. Thanks.
    Regards,
    Rajesh

    Yes You Can
    XI Converts Unstructured data(That is non -XML)Type- in your case word doc and maps it to Target structure.
    You can either use content conversion
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    /people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    /people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
    /people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
    /people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
    You can either built a adaptermodule for the same(U nedd to have Some Java knowledge)
    You can also convert without creating any objects in integration directory link for the same is
    /people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository
    ***********Please Reward Points If find Helpful*********

  • Reading of File from legacy system into SAP Application Server using SAP XI

    Hi All,
      I have a file in <b>Legacy System with Exchange rates information data</b> i have to read that file using SAP XI process and put that file in SAP Application Server in SAP Specific Format and latter i have to use program RFTBFF00 to upload the file in the Application Server into SAP Tables.
      Can anybody tell me how can i do this with some example of same scenario.
      It would be better if anybody provides code example as i am new to SAP XI.
    Thanks in advance.
    Warm Regards,
    Rayeez.

    Hi Shaik,
    You need the access to the file system of ur legacy application and then you can follow this link for the required ifnormation
    File & Header
    Regards
    Vishnu

  • This is regarding interface from legacy system to SAP

    Hi All,
    We have trasferred the one file from legacy system to SAP, and it was created a session in SM35, it contains 1000 errors.
    we don't want correct those errors and these entries should be delated, could you please let me know are these errors can I see in any error table in SAP, is this facility is availbe in SAP or not?
    becuase it isl very difficult to go and delete the entries one by one in sm35
    Regards
    Nama

    Hi,
    1) No updates will have been done for the items with errors.
    2) Mark the Batch, then press F2 to call up the analysis. You can check here for the cause.
    3) If you are not going to correct the items or the cause so as to post them, just delete the batch.
    Kind regards

  • Can we send .csv file from sap srm system to sap pi?

    Hi Experts,
    we have 3 options send the data from sap systems to sap pi.i. e.proxy,idoc and rfc only
    How can we send .csv file from sap srm to sap pi?
    Regards,
    Anjan

    Anjan
    As you know SAP SRM and SAP PI are different boxes.
    *_Option 1:_*
    we need a shared AL11 directory in between SAP SRM and SAP PI (Ask basis to setup shared folder). Place / Populate the file in the folder from SAP SRM and then it can be picked through sender file communication channel.
    In this case you (Basis team) will share one folder which is visible from the AL11 transaction of both the systems (SRM and PI). You will drop .csv file using some report or program from SRM at this location and from PI you can read that file using File communication channel (NFS mode).
    Option 2:
    Setup a FTP at SRM environment and expose some folder which can be accessible from PI. Use sender file communication channel at PI end to pick the file.
    You can use this option incase sharing of folder is not possible (due to network / other constrains). Here FTP server is required to expose any folder as FTP so as it can be accessible from internet (remote location). You need to expose some folder at SRM machine.  You will drop .csv file using some report or program from SRM at this location. Now PI can fetch the file from that location using  sender file communication channel (FTP Mode) providing user credentials.
    Hope it clears now.
    Regards
    Raj

  • Data migration from legacy system to SAP

    hi all,
      could you please post some docs on migration from legacy system to SAP system., also the problems faced while migration and best practices in data migration
    regards
    sridharan

    Hi ,
    I require few details from you.
    1. What ETL tool you are using, If Informatica, it already have PowerConnect to connect to SAP. So you can create source and Target Structure and also you can use RFC's to send data to R/3. Else, for other ETL tools, can you prepare RFC's or any other way to send data to R/3. let me know the tool.
    2. Does R/3 contains the master data tables? If yes, then try to use LSMW for Mass upload of data to tables.
    If your client don't want to use either of these options please elaborate, what is the case.
    Regards
    Aashish Sinha

  • Upload Opening balance of G/L accounts from legacy system to SAP, and also

    Hi Gurus,
    How to upload Opening balance of G/L accounts from legacy system to SAP, and also Vendor and Customer balance.
    My Doubt is when you upload the customer balance and vendor balance will it effect the sundry debtor account and sundry creditor account if not the how will the sundry debtor account and sundry creditor account will be posted with the balance. Please send me the general entry passed for posting the same.
    What I understood is that when we are uploading the customer and vendor balances through LSMW, no entry will be passed and it will update the customer and vendor sub ledger in FBL1N and FBL5N but it will not affect the sundry debtor account and sundry creditor account.
    To give effect to sundry debtor account and sundry creditor account we need to manually pass a journal entry as follows.
    1)  Sundry debtors account A/c -
    DR
          TO clearing account A/c
    2)     clearing account A/c -
    dr
         Sundry creditor account A/c
    Please let me know whether iam correct
    Also please tell me what will be the scenario for uploading of the assets balances through LSMW.
    THANKS AND REGARDS
    MV

    Hi,
         When you uploading any data from legacy system to sap normally we will be using LSMW or BDC,thru this we will be uploading master data like G/L,vendor,Customer and asset master these are the some examples and we will upload transaction data also that is P&L Account and Balance sheet.When we do uploading data thru LSMW system will update all the values of vendor,customer and asset values as well as subsidary ledger also.No need to do manully.
    Regards,
    satya,
    FICO

  • Archiving a file from a PC to SAP without the GUI

    Hi,
    I am looking for a way to send a file from a local pc to SAP Content Server 6.40 (archive link or Kpro).
    We already tried to use a bapi (BDS_BUSINESSDOCUMENT_CREATEF) that is linked to GOS  but it failed. This bapi is cheking if the GUI is open. Since all the process should be done in the background, it fails.
    We are actually using VBA in excell to call RFC/Bapi to try to do this.
    Anybody has an idea on how to do this ???
    many thanks in advance,
    nicolas

    Hi Samir
    You can try running the program  RC1TCG3Z
    SAP CG3Z
    SAP TCODE Description: Upload file
    SAP Program/Report Executed for T-Code: RC1TCG3Z
    CG3Y : Download appl. to frontend
    Source file on application server Path of the file on the applicationserver
    Target file on front end Path of the file on the frontend server (PC)
    Transfer format for data Download the file as text (ASC) or in a binaryformat (BIN)
    Overwrite file Overwrite the target file if it already exist (withoutprompting)
    To start the download: <SHIFT-F1> (left button)
    To cancel: <F12> (right button, red X)
    CG3Z : Upload from frontend to appl.
    Source file on front end Path of the file on the frontend server (PC)
    Target file on application server Path of the file on the applicationserver
    Transfer format for data Download the file as text (ASC) or in a binaryformat (BIN)
    Overwrite file Overwrite the target file if it already exist (withoutprompting)
    To start the upload: <SHIFT-F2> (left button)
    To cancel: <F12> (right button, red X)
    Regards
    dEE

  • Copy file from FTP server to sap application server

    Hi,
    I am able to copy a particular file from FTP server to sap application server using FTP_CONNECT, FTP_COMMAND and FTP_DISCONNECT. But here my problem is, it copies into default application server path(DIR_HIOME). I want to copy into specified folder in the application server. How can I specify the required destination path.
    Can you please suggest how to achieve this.
    Thanks,
    Shiva Kankanala

    try something like this:
    data: user(30) type c value 'ftpuser', "ftp username
                  pwd(30) type c value 'ftppass', "ftp password
                  host(64) type c value '255.255.255.255', "ftp server IP
                  cmd1(80) type c value 'lcd /dump', "location on app server where you want to copy the file
                  cmd2(80) type c value 'get', "specifies you are going to get the file from ftp server
                  dest like rfcdes-rfcdest value 'SAPFTPA',
                  file(15) type c value 'file.txt'. "specifies file that you want to get from ftp server
    data: hdl type i,
            key type i value 26101957,
            slen type i.
    slen = strlen( pwd ).
    call function 'HTTP_SCRAMBLE'
        EXPORTING
          source      = pwd
          sourcelen   = slen
          key         = key
        IMPORTING
          destination = pwd.
    call function 'FTP_CONNECT'
        EXPORTING
          user            = user
          password        = pwd
          host            = host
          rfc_destination = dest
        IMPORTING
          handle          = hdl.
    call function 'FTP_COMMAND'
        EXPORTING
          handle        = hdl
          command       = cmd1
        TABLES
          data          = result
        EXCEPTIONS
          command_error = 1
          tcpip_error   = 2.
      loop at result.
        write at / result-line.
      endloop.
    CONCATENATE cmd2 file INTO cmd2 SEPARATED BY SPACE.
    call function 'FTP_COMMAND'
          EXPORTING
            handle        = hdl
            command       = cmd2
          TABLES
            data          = result
          EXCEPTIONS
            command_error = 1
            tcpip_error   = 2.
        loop at result.
          write at / result-line.
        endloop.
        refresh result.

  • Fetching of multiple files from Application Server into SAP Program

    Hi All,
    I have a issue related <b>Fetching of multiple files from Application Server into SAP Program</b>.
    Actual issue is as below.
    In the <b>selection screen</b> of <b>my program</b> i will give <b>Application Server Path</b> as :
    <b>/PW/DATA/SAP/D1S/PP/DOWN/eppi0720*</b>
    Then the based on above input it should pick up all the files that are matching <b>eppi0720*</b> criteria.
    Suppose if i am having <b>5</b> files with above scenario, i have to fetch all those <b>5</b> files at a time and place in my SAP Program.
    All those 5 file's data should come into SAP at a time.
    Can anybody tell me how can we solve above issue.
    If any body has come across same issue please provide me with solution.
    Thanks in advance.
    Thanks & Regards,
    Rayeez.

    If you want to get around the authorization check, you can do something like this.
    report zrich_0001 .
    parameters: p_path type epsf-epsdirnam
                      default '/usr/sap/TST/SYS/global'.
    parameters: p_file type epsf-epsfilnam default 'CO*'.
    start-of-selection.
    perform get_file_list.
    *       FORM get_file_list                                            *
    form get_file_list.
      types: name_of_dir(1024)        type c,
             name_of_file(260)        type c,
             name_of_path(1285)       type c.
      data: begin of file_list occurs 100,
              dirname     type name_of_dir,  " name of directory. (possibly
                                             " truncated.)
              name        type name_of_file, " name of entry. (possibly
                                             " truncated.)
              type(10)    type c,            " type of entry.
              len(8)      type p,            " length in bytes.
              owner(8)    type c,            " owner of the entry.
            mtime(6)    type p, " last modification date, seconds since 1970
              mode(9)     type c, " like "rwx-r-x--x": protection mode.
              useable(1)  type c,
              subrc(4)    type c,
              errno(3)    type c,
              errmsg(40)  type c,
              mod_date    type d,
              mod_time(8) type c,            " hh:mm:ss
              seen(1)     type c,
              changed(1)  type c,
            end of file_list.
      data: begin of file,
              dirname     type name_of_dir,  " name of directory. (possibly
                                             " truncated.)
              name        type name_of_file, " name of entry. (possibly
                                             " truncated.)
              type(10)    type c,            " type of entry.
              len(8)      type p,            " length in bytes.
              owner(8)    type c,            " owner of the entry.
            mtime(6)    type p, " last modification date, seconds since 1970
              mode(9)     type c, " like "rwx-r-x--x": protection mode.
              useable(1)  type c,
              subrc(4)    type c,
              errno(3)    type c,
              errmsg(40)  type c,
              mod_date    type d,
              mod_time(8) type c,            " hh:mm:ss
              seen(1)     type c,
              changed(1)  type c,
            end of file.
      call 'C_DIR_READ_FINISH'             " just to be sure
           id 'ERRNO'  field file_list-errno
           id 'ERRMSG' field file_list-errmsg.
      call 'C_DIR_READ_START' id 'DIR'    field p_path
                              id 'FILE'   field p_file
                              id 'ERRNO'  field file-errno
                              id 'ERRMSG' field file-errmsg.
      if sy-subrc <> 0.
        sy-subrc = 4.
        exit.
      endif.
    * Read the file list and add to internal table.
      do.
        clear file.
        call 'C_DIR_READ_NEXT'
          id 'TYPE'   field file-type
          id 'NAME'   field file-name
          id 'LEN'    field file-len
          id 'OWNER'  field file-owner
          id 'MTIME'  field file-mtime
          id 'MODE'   field file-mode
          id 'ERRNO'  field file-errno
          id 'ERRMSG' field file-errmsg.
        if sy-subrc =  1.
          exit.
        endif.
        append file to file_list.
      enddo.
    * Write out the file list
      loop at file_list.
        write:/ file_list-name.
      endloop.
    endform.
    Regards,
    Rich Heilman

  • How to UNLOCK  queues when data is migrated from legacy system to SAP syste

    Hi  All,
    I need some help regarding queues (SMQ2). XI is been used to migrate data from legacy system to SAP system. Sometimes the queue is getting locked. Once the queue is unlocked then the message is processed correctly. So, the incoming queues must be "unlocked" routinely so that they can process through the system. There is a standard report RSQIWKEX available that can be scheduled in SAP system to automatically unlock the queues. Before using the standard report RSDIWKEX, we made sure that we have added parameter MONITOR QRFC_RESTART_ALLOWED set to "1" in Integration Engine specific configuration (TCODE SXMB_ADM).We are unable to analyze the reason for locking of queues and how to avoid it. If the locking of the queues can not be avoided, is there any way to unlock the queues? We tried executing this report but were not successful in unlocking the queues. Please guide us in solving this issue. It would be really helpful if you can give us a direction in solving this problem.
    Thanks in Advance,
    Shwetha.

    Hi,
    Just check if the Queues are registered in Transaction SMQR.
    If its not, then register the Queue by pressing 'Register' Button
    Sharif.

  • Transfer of GL a/cs manually from legacy system to SAP

    How do you transfer GL a/cs manually from Legacy system to SAP,  what offset a/c would you use.  Also how would you open AR and AP transactions manually in SAP.  Please help my email id is [email protected]
    Thanks

    Hi,
    U can open one opening balance account.
    Separate u r trial balance in following
    gl account use key 40/5O  GIVE NET EFECT TO OP BAL ACCT
    Asset- use key 70 -75 GIVE NET EFECT TO OP BAL ACCT
    Customer use key 01/11 GIVE NET EFECT TO OP BAL ACCT
    Vendor use key 21/31 GIVE NET EFECT TO OP BAL ACCT
    Material accts - this will be loaded thru mm and bal will go to initail entry acct revert one enrty from that to OP BAL ACCT
    now u have uploaded all tb hence u r opening balance should be nil.
    Warm Regards

  • Upload data from legacy system to SAP through ALE IDOC

    Hello All,
    I have a requirement where i need to upload the data from legacy system to SAP. So i am using ALE IDOC.
    In my requirement i need to extend the Standard IDOC. I have extended the IDOC and even found the exit for the updation of the extended fields to SAP. My data would be be placed in the application server.
    Can anybody tell me how to retrieve the data and update in the tables for the extended fields.
    Could you please provide a sample program for retrieving data for IDOC.
    Thanks

    Hi,
    You can find the sample code in the following link.
    Re: calling idoc_input_creditor
    Regards
    Sajid

  • BO DI for extracting data from legacy system to SAP BW 7.0

    Hi,
    Has anyone worked on scenario where BO Data Integrator is being used as ETL tool for extracting data from legacy systems to SAP BW 7.0 ?
    Please share your experience on such a landscpae or related documents any of you had come across.
    Regards,
    Pritesh

    There are couple of them - Lawson ERP, Kalido, AS/400.  ECC 5.0 might be there as well.
    Regards,
    Pritesh.
    Edited by: pritesh prakash on Jun 14, 2010 2:00 PM

Maybe you are looking for

  • Newbie Setting up a Wireless Network - Advice Needed

    Before I run out and drop $$$ on stuff that won't work for me, I thought I'd better get some advice. Here goes: I have an older 1.25 GHz G4 iMac running OS X 10.5.1, no airport card installed yet, a Lacie 500 GB external HD, an Epson R200 printer and

  • Wage Type Creation in TRM and the use of IT 0017.

    Dear all, Can anybody tell me what are the std wage types for creating expenses like e.g. (Air/ Train Fare charges, Conveyance, hotel allowances, Traveling Advance, etc.... all types of expenses). as we have Std WT MB10 - Basic Salary in SAP for maki

  • Im trying to get my music from my external hard drive to my itunes and its not working. what should i do?

    i set up my moms new desktop mac a couple of weeks ago and i did the same thing i tried to do on my macbook but its not working, yet it worked on my moms mac. so i dont know what to do. i moved the file from the hard drive to the itunes folder. then

  • Mail and Address Book Not Speaking to Each Other

    I recently upgraded to 10.7.4 and at that time decided to drop Thunderbird and Mozilla as my default Email set up.  I embraced using iCal, Mail, and Address Book.  I manage two POP based email accounts and 2 Gmail accounts for work.  I have a very lo

  • How to use File Adapter with hierarchial Structure?

    Hi, How to use File Adapter with hierarchial Structure like.. Data: --Header Details: Line Item Details: Data Bcoz I am getting a Flatfile in a hierarchial way as shown below. Header Details :1 Line Item a Line Item b Header Details :2 Line Item c Li