CSV File transfer to MI34 transaction using XI.

Hello every1
      I have a comma seperated file that needs to be updated into MI34 transaction. Can anyone tell me how can this be done using XI.!
Points would be rewarded.
Thanks and Regards,
Arnab

Hi,
  Please go head with 'ABAP' proxies, for your requirement
  plan for inbound proxy.
please check the following link on inbound proxy.
/people/siva.maranani/blog/2005/04/03/abap-server-proxies
/people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments
configuration setting required for inbound proxy.
/people/srinivas.gv/blog/2005/09/27/concept-of-proxy-generation
/people/david.rutt/blog/2007/03/01/httpioexception-difficult-to-explain-timeouts-can-be-difficult-to-locate-upgrading-ssl-and-proxy-issues
regards
mahesh.

Similar Messages

  • CSV file transfer

    Hi Gurus,
    proxy -> PI ->SOAP adapter
    The scenario is proxy to SOAP adapter
    We are sending the XML messsage  from SAP ECC system to PI and
    then send the CSV file to 3rd parties using SOAP adapter
    On sender side adapter is not required since outbound proxies do not
    require any communication channel. On the receiver side we have to use
    the SOAP adapter to post the CSV files to the URL provided by the
    Suppliers.
    This is still in development.
    We want to know if there is any possiblity to post the CSV files to the
    http URL provided by the Supplier using the SOAP or HTTP adapter.
    Thanks,
    Jay

    send the CSV file to 3rd parties using SOAP adapter
    is there any mandatory/ conform requirement to use soap adapter for CSV FIle otherwise u have to use FILE Adapter.
    the SOAP adapter to post the CSV files to the URL provided by the Suppliers.
      csv file is not possiable to send by using SOAP adapter but that is possiable as a attchment .
    refer below thread:
    [file Attachment|http://forums.sdn.sap.com/thread.jspa?messageID=7283557#7283557]

  • Edit CSV files present in document library using Microsoft Excel

    Hi all
    I have a document library with CSV files uploaded. I have used the below mapping in DOCICON.xml present in \14\TEMPLATE\XML folder.
    <Mapping Key="csv" Value="csv16.gif" EditText="Microsoft Excel" OpenControl="SharePoint.OpenDocuments"/>
    And I modified mime type with "application/vnd.ms-excel" for csv in IIS7. Now, when i click on the file  popup is getting displayed with 2 Radio Buttons.
    1) Read Only
    2)Edit
    When i select "Read Only", the file is opening in Microsoft Excel in readonly mode But when i select "Edit", the file is opening in Note pad and its editable.
    Now, My requirement is to edit the csv file in Microsoft Excel not in NotPad.
    Can Any one help me to acheive this!! Thanks in advance.

    Try below:
    http://nickgrattan.wordpress.com/2011/01/05/sharepoint-opening-csv-files-with-microsoft-excel/
    Run the “Internet Information Services (IIS) Manager” application from the Start/Administrative tools menu.
    Select the server in the left-hand pane.
    Select “MIME Types” in the list of options in the middle pane.
    Then locate the .CSV entry (it should already exist) and change the MIME type to: application/vnd.ms-excel, and click
    OK.

  • Validating CSV File BEFORE importing and moving using an SSIS package

    I'm trying to come up with a process (I'm used to doing this kind of stuff in T-SQL) in SSIS to grab a collection of .csv files from a folder, validate them, then depending on if they pass validation, import them into my database and move them into an archive
    folder. If the .csv does not pass validation, then it does not get imported, and instead gets placed into an error folder. The validation requirements is that the Column2 of my .csv contains a WKT text field and the file is considered valid if every record
    can be successfully converted into a Geometry/Geography type field. 
    Column0 Column1 Column2
    abcd efgh LINESTRING (-71.4555487 41.6079686, -71.4550113 41.6088851)
    ijkl mnop LINESTRING (-70.0748669 48.6634506, -70.0499 48.6548479)
    qrst uvwx LINESTRING (-70.3159285 48.4199802, -70.3168512 48.4187551)

    FOr that what you can do is dump the records to staging table and use STisValid function
    see
    http://technet.microsoft.com/en-us/library/bb933890.aspx
    finally take the count of failed ones and if cnt > 0 set boolean value as true/false. Then for true cases move data to final table and for false cases (invalid values), move it to error folder
    So package will look like below
    1. Data flow task to transfer data to staging
    2. execute sql task to call a procedure which does validation on staging data and returns a bit result. Set it to SSIS variable using output variable from procedure
    3. Connect to data flow task to do transfer from staging to destination. the precedence constraint option would be Expression And Constraint with expression as 
    @BooleanVariable == True
    and constraint as OnSuccess
    4. Connect to file system task to archive the file. the precedence constraint option would be Expression And Constraint with expression as 
    @BooleanVariable == False
    and constraint as OnSuccess
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to read the name of .csv file from a particular folder using Oracle.

    Gurus,
    I have a folder called 'data_dir' in Oracle Server and it contains 10 different .csv files and the name of the each file is being suffixed by date and time(24 hrs format).
    First i need to read all the file names then i have to process those files by UTL_FILE to load the data into a relational table.
    Is there any mechanism is available in Oracle to read the file names?
    (In this case all the 10 different csv file names)
    If so, then please help me accomplish this.
    Thanks in advance.
    Regards,
    Venugopal.K

    Is there any mechanism is available in Oracle to read the file names?Sounds to me like you need to use External Tables (*not* utl_file).
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/et_concepts.htm

  • How to import data from CSV file into a table by using oracle forms

    Hi,
    I have a CSV file and i want to insert in oracle database in a table by using a button in oracle forms.
    the user can select CSV file by using open dialog .
    can any one help me to find method to make import and select file from the client machine ?
    thx.

    1. create table blob
    CREATE TABLE IB_LOVE
      DOC          BLOB,
      CONTRACT_NO  VARCHAR2(20 BYTE)                NOT NULL
    )2. use the code below to insert:
           INSERT INTO ordmgmt.ib_love
                       (contract_no, doc
                VALUES (:control.contract_no_input, NULL
           lb$result :=
             webutil_file_transfer.client_to_db (:b2.file_name, v_file_blob_name, v_col_blob_name,
                                                 'CONTRACT_NO = ' || :control.contract_no_input);
           :SYSTEM.message_level := 25;
           COMMIT;
           :SYSTEM.message_level := 0;3. use the code below to download
         if :control.CONTRACT_NO_INPUT is not null then
              vboolean :=   webutil_file_transfer.DB_To_Client_With_Progress(
                               vfilename,  --filename                       
                              'IB_LOVE', ---table of Blob item                       
                              'DOC',  --Blob column name                       
                              'CONTRACT_NO = ' || :CONTROL.CONTRACT_NO_INPUT, ---where clause to retrieve the record                       
                              'Downloading from Database', --Progress Bar title                       
                              'Wait to Complete'); --Progress bar subtitle  client_host('cmd /c start '||vfilename);
              client_host('cmd /c start '||vfilename);                 
         else
              errmsg('Please choose contract no');
         end if;4. use the code below to open file dialog
    x:= WEBUTIL_FILE.FILE_OPEN_DIALOG ( 'c:\', '*.gif', '|*.gif|*.gif|', 'My Open Window' ) ;
    :b2.FILE_NAME:=X;

  • Setting File transfer mode in SFTP using JSch (jsch-20070302.jar)

    Hi,
    I use Jsch for downloading and uploading files via SFTP. I am a facing a problem in the file transfer mode. When I download or upload manually the files seems file, but when I use my code to download or upload there is some problem. Actally the file has to be transferred in ASCII mode, but the code transfers it in binary mode. Below is the code I am using
    +import com.jcraft.jsch.*
    Session session = null;
    try {
    populateProperties();
    log("INFO","Download and Encrypt Program started",getDateTime());
    JSch jsch = new JSch();
    String host = tumbleweedURL;
    String user = tUserid;
    session = jsch.getSession(user, host, 22);
    session.setUserInfo(new MyUserInfo());
    session.setPassword(tPassword);          
    session.connect();
    Channel channel = session.openChannel("sftp");
    channel.connect();
    ChannelSftp c = (ChannelSftp) channel;
    c.cd("outbox");
    c.get("8",outFolderPath);
    }+
    Please tell me how I change the transfer mode to ASCII for the above code

    Vignesh_kumar wrote:
    I am not sure where to put this question, I have tried a lot of things and I am not able to find a solution for this. Will you be able to guide me..A mailing list, or forum, or faq, or support address at JCraft, maybe?

  • Conversion of .csv file format to .xls format using java api

    Please help me with the code and the links to jars and libraries of an open source java api to convert the .csv file into .xls file with all propertirs running.
    Thanks

    umangjain87 wrote:
    Please help me with the code and the links to jars and libraries of an open source java api to convert the .csv file into .xls fileApache POI and jExcelApi are two libraries that can produce xls files.
    [A simple Google search|http://www.lmgtfy.com/?q=Java+Excel+library] could have told you as much.
    with all propertirs running.What does that mean.

  • IBots: Save report as CSV file on to a disk using iBot

    Hi Experts,
    The requirement is to configure an iBot, which saves a report as CSV flie at a give address on hard drive (eg: C:\iBots\files\my_report.csv). this file must be updated every week. thanks in advance for ur help,
    Surya

    See this post:
    http://oraclebizint.wordpress.com/2007/12/17/oracle-bi-ee-101332-calling-java-scripts-and-java-classes-from-ibots/

  • Transfering .csv file from SAP to NON-SAP using FTP connection

    Dear All,
    I am able to place the .CSV file successfully to other system using FTP connection, but when i open the file I could see the gaps between each record. I mean 1st line with the 1st record and 2nd line having a GAP and 3rd line with the 2nd record and so ..on as shown below
    1     1/1/2009     0     41000027
    2     1/1/2009     0     41000027
    3     1/1/2009     0     41000027
    I have declared an internal table as below
    TYPES: BEGIN OF ty_charlist,
             line(5000) type c,
           END OF ty_charlist.
    DATA:  w_charlist TYPE ty_charlist,
                 t_charlist TYPE TABLE OF ty_charlist.
    And concatenating each field seperated by ','
    CONCATENATE  res1 res2 res3 res4 res5 res6 res7 res8 res9 res10 res11 res12 res13 res14 res15 res16 res17 res18 res19  res20 res21 res22 res23 res24 res25 res26 res27 res28 res29 res30 res31 res32 res33 res34 res35 res36 res37 res38 res39
    INTO w_charlist-line SEPARATED BY ','.
    APPEND w_charlist TO t_charlist.
    Now T_CHARLIST contains 50 records which needs to be placed on other system. I can see 50 records but gap is coming
    Here res1, res2 and so on are declared as TYPE STRING..
    Please do help me this issue
    Thanks
    Prava

    Hello dprava ,
    Try to be assisted with these examples .
    1. [http://wiki.sdn.sap.com/wiki/display/ABAP/FTPfiletransferinBackground]
    2. [Reg: FTP Connection; - SAP examples programs
    Thank you,
    Boaz

  • When will file transfer be used to send a message?

    Hi,
    My understanding is that a message is only sent via file transfer if the size of the message is greater than 75% of the IPC queue capacity; file transfer will never be used in response to a blocking situation that arises due to the number of messages exhausting the queue capacity (this will result in an immediate failure if the TPNOBLOCK flag is used, or else a failure response when the timeout is reached).
    We have the following message in the ULOG:
    "TMQUEUE.4288.3081606848.0: LIBTUX_CAT:1285: WARN: tpreturn message send blocked, will try file transfer"
    Would I be correct in assuming this is because of the size of the message, or is this something specific to TMQUEUE operations? If my understanding of how transfer by disk can occur is wrong, please set me straight!
    Thanks,
    Malcolm.

    Malcolm,
    Tuxedo will use file transfer if
    a) The size of the message is greater than 75% of the total capacity of the queue.
    b) The original msgsnd() fails with EINVAL. (Some operating systems have a MSGMAX kernel configuration parameter limiting the size of an individual message which can be set to less than the total capacity of the queue. If an application attempts to send a message greater than this size it will fail with EINVAL.)
    c) The original non-blocking msgsnd() fails with EAGAIN and the message is being sent by tpreturn(). (This is the case where LIBTUX_CAT:1285 is logged.)
    d) The original non-blocking msgsnd() fails with EAGAIN, the TPNOBLOCK option is not set, the original message is over 500 bytes, the TMNOTHREADS environment variable is not set to Y, and the message is not being sent by certain system processes that are always single threaded.
    For domain gateways only, the file transfer in case (c) can be avoided if GW_FILETRANSFER=OFF is set.
    Regards,
    Ed

  • How to use GUI_upload for Uploading a CSV file in Microsoft Excel.

    Hi Guys,
                  can anybody tell me how to Upload the CSV format file in Microsoft excel sheet?
    Thanks,
    Gopi.

    Hi Gopi,
    u can use GUI_UPLOAD, TEXT_CONVERT_XLS_TO_SAP.
    Please check these codes.
    Uploading data from CSV file format into internal table using GUI_UPLOAD
    REPORT zupload MESSAGE-ID bd.
    DATA: w_tab TYPE ZTEST.
    DATA: i_tab TYPE STANDARD TABLE OF ZTEST.
    DATA: v_subrc(2),
    v_recswritten(6).
    PARAMETERS: p_file(80)
    DEFAULT 'C:\Temp\ZTEST.TXT'.
    DATA: filename TYPE string,
    w_ans(1) TYPE c.
    filename = p_file.
    CALL FUNCTION 'POPUP_TO_CONFIRM'
    EXPORTING
    titlebar = 'Upload Confirmation'
    * DIAGNOSE_OBJECT = ' '
    text_question = p_file
    text_button_1 = 'Yes'(001)
    * ICON_BUTTON_1 = ' '
    text_button_2 = 'No'(002)
    * ICON_BUTTON_2 = ' '
    default_button = '2'
    * DISPLAY_CANCEL_BUTTON = 'X'
    * USERDEFINED_F1_HELP = ' '
    * START_COLUMN = 25
    * START_ROW = 6
    * POPUP_TYPE =
    * IV_QUICKINFO_BUTTON_1 = ' '
    * IV_QUICKINFO_BUTTON_2 = ' '
    IMPORTING
    answer = w_ans
    * TABLES
    * PARAMETER =
    * EXCEPTIONS
    * TEXT_NOT_FOUND = 1
    * OTHERS = 2
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CHECK w_ans = 1.
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    filename = filename
    * FILETYPE = 'ASC
    has_field_separator = 'X'
    * HEADER_LENGTH = 0
    * READ_BY_LINE = 'X'
    * IMPORTING
    * FILELENGTH =
    * HEADER =
    TABLES
    data_tab = i_tab
    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.
    * SYST FIELDS ARE NOT SET BY THIS FUNCTION SO DISPLAY THE ERROR CODE *
    IF sy-subrc <> 0.
    v_subrc = sy-subrc.
    MESSAGE e899 WITH 'File Open Error' v_subrc.
    ENDIF.
    INSERT ZTEST FROM TABLE i_tab.
    COMMIT WORK AND WAIT.
    MESSAGE i899 WITH sy-dbcnt 'Records Written to ZTEST'.
    Uploading data from Excel file format into internal table using TEXT_CONVERT_XLS_TO_SAP
    REPORT  zupload_excel_to_itab.
    TYPE-POOLS: truxs.
    PARAMETERS: p_file TYPE  rlgrap-filename.
    TYPES: BEGIN OF t_datatab,
          col1(30)    TYPE c,
          col2(30)    TYPE c,
          col3(30)    TYPE c,
          END OF t_datatab.
    DATA: it_datatab type standard table of t_datatab,
          wa_datatab type t_datatab.
    DATA: it_raw TYPE truxs_t_text_data.
    * At selection screen
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          field_name = 'P_FILE'
        IMPORTING
          file_name  = p_file.
    *START-OF-SELECTION.
    START-OF-SELECTION.
      CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
        EXPORTING
    *     I_FIELD_SEPERATOR        =
          i_line_header            =  'X'
          i_tab_raw_data           =  it_raw       " WORK TABLE
          i_filename               =  p_file
        TABLES
          i_tab_converted_data     = it_datatab[]    "ACTUAL DATA
       EXCEPTIONS
          conversion_failed        = 1
          OTHERS                   = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    * END-OF-SELECTION.
    END-OF-SELECTION.
      LOOP AT it_datatab INTO wa_datatab.
        WRITE:/ wa_datatab-col1,
                wa_datatab-col2,
                wa_datatab-col3.
      ENDLOOP.
    reward if helpful
    raam

  • Can I use lookout to retreive data in CSV file stored at a network PC

    The machines I try to interface are PC based machines and network capability. All the informations are stored in CSV files.Is it posssible to use lookout to read these CSV files periodically.
    Thanks

    Lookout does not have built-in functions to read CSV files. However, their are some ODBC drivers that are capable of reading/writing text files, and you can use Lookout's SQLExec object to communicate with those ODBC drivers. For example, the Microsoft Text Driver in your ODBC control panel will let you do this.
    Regards,
    Greg Caesar
    National Instruments,
    Applications Engineer

  • Cannot extract dimension .csv files from HFM to be able to use maploader

    Hi All!
    We are in the middle of implementing FDM at a financial consolidation project. During this build we would like to use FDM to load HFM with data.
    To help the users we would like to offer them the Maploader.xml which is provided in the mapping templates.zip
    To prepare this maploader file we need to extract the dimension data from HFM into csv files and load these into the maploader.
    Can anyone help me with extracting the .csv files? The script we use creates the csv files but does not load them with the metadata.
    Maybe it is possible to get the right script? Or is this already available in FDM (can't find it)?
    Thank you in advance for your support!!

    Anyone got any tips or directions to solve this?

  • Csv file format problem

    prodorder;batchno   ;text1    ; text2; text3;text4;text5;
    "100001012;0008339492;487-07-G1;22;6,86;000081022G;  "
    "100001013;0008339493;487-07-G1;22;6,86;000081022E;1 "
    This is my sample csv file.
    i want to upload using bdc.
    im splitting the internal table and uploading like this.
    call function 'GUI_UPLOAD'
        exporting
          FILENAME                      = FILE
         FILETYPE                      = 'ASC'
        has_field_separator           = ','
      HEADER_LENGTH                 = 0
      READ_BY_LINE                  = 'X'
      DAT_MODE                      = ' '
      CODEPAGE                      = ' '
      IGNORE_CERR                   = ABAP_TRUE
      REPLACEMENT                   = '#'
      CHECK_BOM                     = ' '
    IMPORTING
      FILELENGTH                    =
      HEADER                        =
        tables
          DATA_TAB                      = ITAB
    loop at ITAB.
        split ITAB at ';' into ITAB1-AUFNR
        ITAB1-CHARG
        ITAB1-TEXT1
        ITAB1-TEXT2
        ITAB1-TEXT3
        ITAB1-TEXT4
        ITAB1-TEXT5.
        append ITAB1.
      endloop.
    But finally im getting output as
    "100001012 in ordernumber of co01 transaction.
    it should display 100001012 in ordernumber field.
    please suggest how we can rectify this problem.

    Hi Vijay,
       I can sugest you one thing. Before splitting ITAB at " , " .
    use REPLACE command to remove inverted code value ( " ) .
    Eg Loop at Itab.
    REPLCE ALL OCCURANCES OF  "  WITH SPACE ( Check syntax).
    Hope this will solve your problem.
    Regards
    Sourabh

Maybe you are looking for