Send to excel from forms6i

Hi,
I´d like to know if I can put in Excel with DDE package some information in one workbook with many(or more than one)worksheet.
If no, how can I do it?
Thanks,
Miani.

Please post your question to the FOrms page - and click on the forums link
otn.oracle.com/products/forms
Regards
Grant Ronald

Similar Messages

  • Save in excel from forms6i

    Hi,
    I´d like to know if I can put in Excel with DDE package some information in one workbook with many(or more than one)worksheet.
    If no, how can I do it?
    Thanks,
    Miani.

    I have 3 tables and I´d like to export to excel with one workbook and 3 worksheets.
    I have already tried for example:
    DDE.Execute(ConvID,'[ActiveWorkbook.Worksheets.Add.Name = "CONS_VERBA"]',1000);, but not success.
    Please, anybody know how can I do it?
    Thanks a lot,
    Miani.

  • How to email from forms6i

    How can i send an email from Forms6i.

    thanks gerd for your great help.
    in fact i have another soulution:
    CREATE OR REPLACE function send_mail (sender IN VARCHAR2,recipient IN VARCHAR2,message IN VARCHAR2,mhost IN VARCHAR2) return number
    IS
    mailhost VARCHAR2(30) :='10.128.13.97';
    mail_conn utl_smtp.connection;
    BEGIN mail_conn := utl_smtp.open_connection(mailhost, 25);
    utl_smtp.helo(mail_conn, mailhost);
    utl_smtp.mail(mail_conn, sender);
    utl_smtp.rcpt(mail_conn, recipient);
    utl_smtp.data(mail_conn, message);
    utl_smtp.quit(mail_conn);
    return(sqlcode);
    EXCEPTION
    WHEN OTHERS THEN return(sqlcode);
    -- Handle the error
    END;
    select send_mail('[email protected]','[email protected]','text message','CRB-HDQ-MSG02') from dual;
    i hope u like it

  • How to send the data from jsp page to excel ???

    hi all,
    i want to send the data from my jsp form to excel sheet. any one can help me ??

    Hope this sample code might help :
    StringBuffer data = new StringBuffer();
    OutputStream ostream = response.getOutputStream();
    response.setContentType("application/vnd.ms-excel");
    response.setHeader( "Content-Disposition",
    "attachment; filename=sample.xls" );
    ostream.write(data.toString().getBytes());
    ostream.flush();
    Try it out.
    Swathi

  • Numbers is not opening now to macbook from iPad and is not sending as excel anymore gets errors

    When I hit print and share it is now giving an error whne trying to send in excel. Also will not open now in macbook pro..

    Would be a good idea to double check the file name.
    At last, Apple decided to ask iWork to refuse to apply upon filenames embedding illegal characters like slash or colon.
    Yvan KOENIG (VALLAURIS, France)  lundi 14 janvier 2011 18:32:11
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • Sending an excel spreadsheet attachment on an E-Mail

    Afternoon,
    Based upon program BCS_EXAMPLE_5 I have created a program that generates an e-mail and creates a spreadsheet attachment. The problem I have is how do get the contents of an internal table into the spreadsheet attachment?
    My attempt at resolving the problem has been as follows:-
    I have declared a variable document which points to the class cl_document_bcs. I have then instantiated the variable using a static method. I then call the method add_attachment (document->add_attachment) and pass the text content which contains two lines of text.
    This creates a spreadsheet will the two lines of text in the first cell.
    Could I use the binary content instead? If so how do I declare a variable that has the same type as a work area of binary content because this has a data type of RAW.
    Any assistance would be very much appreciated. A copy of my code can be seen below:-
    Thanks and regards
    John.
    REPORT bcs_example_5.
    This example shows how to send
      - a simple text provided in an internal table of text lines
      - and an attached MS word document provided in internal table
      - to some internet email address.
    All activities done via facade CL_BCS!
    DATA: send_request       TYPE REF TO cl_bcs.
    DATA: text               TYPE bcsy_text.
    DATA: text_content       TYPE soli_tab.
    DATA: wa_text_content    TYPE soli.
    DATA: binary_content     TYPE solix_tab.
    DATA: wa_binary_content  TYPE solix.
    DATA: document           TYPE REF TO cl_document_bcs.
    DATA: sender             TYPE REF TO cl_sapuser_bcs.
    DATA: recipient          TYPE REF TO if_recipient_bcs.
    DATA: bcs_exception      TYPE REF TO cx_bcs.
    DATA: sent_to_all        TYPE os_boolean.
    Data to be included in the spreadsheet
    DATA:  text2(100) TYPE c VALUE 'ABC'.
    DATA:  int TYPE i VALUE 258.
    DATA:  buffer TYPE xstring.
    DATA:  conv TYPE REF TO cl_abap_conv_out_ce.
    START-OF-SELECTION.
      PERFORM main.
          FORM main                                                     *
    FORM main.
      TRY.
        -------- create persistent send request ------------------------
          send_request = cl_bcs=>create_persistent( ).
        -------- create and set document with attachment ---------------
        create document from internal table with text
          APPEND 'Hello world!' TO text.
          document = cl_document_bcs=>create_document(
                          i_type    = 'RAW'
                          i_text    = text
                          i_length  = '12'
                          i_subject = 'test created by BCS_EXAMPLE_5' ).
        add attachment to document
        BCS expects document content here e.g. from document upload
        binary_content = ...
    *TRY.
         conv = cl_abap_conv_out_ce=>create(
              encoding                      = 'UTF-8'
              endian                        = 'L'
       REPLACEMENT                   = '#'
       IGNORE_CERR                   = ABAP_FALSE
    CATCH CX_PARAMETER_INVALID_RANGE .
    CATCH CX_SY_CODEPAGE_CONVERTER_INIT .
    **ENDTRY.
         CALL METHOD conv->write( data = text n = 4 ).
         CALL METHOD conv->write( data = int ).
         buffer = conv->get_buffer( ).
          wa_text_content = '1234567890ABCDE'.
          APPEND wa_text_content TO text_content.
          wa_text_content = '1234567890ABCDE'.
          APPEND wa_text_content TO text_content.
          wa_binary_content = buffer.
         APPEND wa_binary_content TO binary_content.
         wa_binary_content = '11111111'.
         APPEND wa_binary_content TO binary_content.
          CALL METHOD document->add_attachment
            EXPORTING
              i_attachment_type    = 'XLS'
              i_attachment_subject = 'c:\temp\book2'
              i_att_content_text   = text_content.
             i_att_content_hex    = binary_content
        add document to send request
          CALL METHOD send_request->set_document( document ).
        --------- set sender -------------------------------------------
        note: this is necessary only if you want to set the sender
              different from actual user (SY-UNAME). Otherwise sender is
              set automatically with actual user.
          sender = cl_sapuser_bcs=>create( sy-uname ).
          CALL METHOD send_request->set_sender
            EXPORTING
              i_sender = sender.
        --------- add recipient (e-mail address) -----------------------
        create recipient - please replace e-mail address !!!
          recipient = cl_cam_address_bcs=>create_internet_address(
                                            '[email protected]' ).
        add recipient with its respective attributes to send request
          CALL METHOD send_request->add_recipient
            EXPORTING
              i_recipient = recipient
              i_express   = 'X'.
        ---------- send document ---------------------------------------
    set send immediately flag
          CALL METHOD send_request->set_send_immediately( 'X' ).
          CALL METHOD send_request->send(
            EXPORTING
              i_with_error_screen = 'X'
            RECEIVING
              result              = sent_to_all ).
          IF sent_to_all = 'X'.
            WRITE text-003.
          ENDIF.
          COMMIT WORK.
    *                     exception handling
    * replace this very rudimentary exception handling
    * with your own one !!!
        CATCH cx_bcs INTO bcs_exception.
          WRITE: 'Fehler aufgetreten.'(001).
          WRITE: 'Fehlertyp:'(002), bcs_exception->error_type.
          EXIT.
      ENDTRY.
    ENDFORM.                    "main

    Hi,
    See the Blog..
    /people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface
    Here is the example program to send the EXCEL as a attachment in a email
    http://www.erpgenie.com/sap/abap/code/abap58.htm
    Regards
    Sudheer

  • How do I dial a phone number from Forms6i ?? OLE2,DDE??

    How do I dial a phone number from Forms6i ?? OLE2,DDE??
    Is it do-able??
    I have a contact form that has the contacts phone number, etc... I would like to add a button to dial the number which would open the phone line (probably through my modem) and dial the number ... where I would pickup the receiver and wait for connection...
    I need an example or a "How to" link or something where if I take the time I can get it working....
    IF not, is there software to do it?
    Thanks, Bill

    Yes, great! I will check into my modem... but I remember years ago have a c program that I used to send error messages through the modem to my alpha-numeric pager. With that I started with that c program being called from REXX IBM language and it spoke modem language...
    Is there another forum that would handle this type of request? what do you call telephone support? telephony? communication links? ....
    Thanks for the input!

  • How to send existing excel file through mail

    Hello Friends,
    I have to send mail with Excel File attachement. i have already exist Excel file and that file i hv to send through mail. so pl help me out for sending existing excel file .
    i.e. user pickup the exist excel file and that file would be sent to particular mail id.
    thank you,
    Marmik

    Hi marmik,
    1. There is some trick involved
    in the binary files.
    2. I have made a program (and it works fantastic)
    ONLY 6 LINES FOR EMAILING
    BELIEVE ME
    ITS A FANTASTIC PROGRAM.
    IT WILL WORK LIKE OUTLOOK EXPRESS !
    3. The user is provided with
    a) file name
    b) email address to send mail
    and it sends ANY FILE (.xls,.pdf .xyz..)
    Instantaneously !
    4. Make two things first :
    1. Include with the name : ZAMI_INCLFOR_MAIL
    2. Report with the name : ZAM_TEMP147 (any name will do)
    3. Activate both and execute (2)
    4. After providing filename, email adress
    5. Code for Include :
    10.08.2005 Amit M - Created
    Include For Mail (First Req F16)
    Modification Log
    Data
    DATA: docdata LIKE sodocchgi1,
    objpack LIKE sopcklsti1 OCCURS 1 WITH HEADER LINE,
    objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE,
    objtxt LIKE solisti1 OCCURS 10 WITH HEADER LINE,
    objbin LIKE solisti1 OCCURS 10 WITH HEADER LINE,
    objhex LIKE solix OCCURS 10 WITH HEADER LINE,
    reclist LIKE somlreci1 OCCURS 1 WITH HEADER LINE.
    DATA: tab_lines TYPE i,
    doc_size TYPE i,
    att_type LIKE soodk-objtp.
    DATA: listobject LIKE abaplist OCCURS 1 WITH HEADER LINE.
    FORM
    FORM ml_customize USING objname objdesc.
    Clear Variables
    CLEAR docdata.
    REFRESH objpack.
    CLEAR objpack.
    REFRESH objhead.
    REFRESH objtxt.
    CLEAR objtxt.
    REFRESH objbin.
    CLEAR objbin.
    REFRESH objhex.
    CLEAR objhex.
    REFRESH reclist.
    CLEAR reclist.
    REFRESH listobject.
    CLEAR listobject.
    CLEAR tab_lines.
    CLEAR doc_size.
    CLEAR att_type.
    Set Variables
    docdata-obj_name = objname.
    docdata-obj_descr = objdesc.
    ENDFORM. "ml_customize
    FORM
    FORM ml_addrecp USING preceiver prec_type.
    CLEAR reclist.
    reclist-receiver = preceiver.
    reclist-rec_type = prec_type.
    APPEND reclist.
    ENDFORM. "ml_customize
    FORM
    FORM ml_addtxt USING ptxt.
    CLEAR objtxt.
    objtxt = ptxt.
    APPEND objtxt.
    ENDFORM. "ml_customize
    FORM
    FORM ml_prepare USING bypassmemory whatatt_type whatname.
    IF bypassmemory = ''.
    Fetch List From Memory
    CALL FUNCTION 'LIST_FROM_MEMORY'
    TABLES
    listobject = listobject
    EXCEPTIONS
    OTHERS = 1.
    IF sy-subrc <> 0.
    MESSAGE ID '61' TYPE 'E' NUMBER '731'
    WITH 'LIST_FROM_MEMORY'.
    ENDIF.
    CALL FUNCTION 'TABLE_COMPRESS'
    IMPORTING
    COMPRESSED_SIZE =
    TABLES
    in = listobject
    out = objbin
    EXCEPTIONS
    OTHERS = 1
    IF sy-subrc <> 0.
    MESSAGE ID '61' TYPE 'E' NUMBER '731'
    WITH 'TABLE_COMPRESS'.
    ENDIF.
    ENDIF.
    Header Data
    Already Done Thru FM
    Main Text
    Already Done Thru FM
    Packing Info For Text Data
    DESCRIBE TABLE objtxt LINES tab_lines.
    READ TABLE objtxt INDEX tab_lines.
    docdata-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ).
    CLEAR objpack-transf_bin.
    objpack-head_start = 1.
    objpack-head_num = 0.
    objpack-body_start = 1.
    objpack-body_num = tab_lines.
    objpack-doc_type = 'TXT'.
    APPEND objpack.
    Packing Info Attachment
    att_type = whatatt_type..
    DESCRIBE TABLE objbin LINES tab_lines.
    READ TABLE objbin INDEX tab_lines.
    objpack-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objbin ).
    objpack-transf_bin = 'X'.
    objpack-head_start = 1.
    objpack-head_num = 0.
    objpack-body_start = 1.
    objpack-body_num = tab_lines.
    objpack-doc_type = att_type.
    objpack-obj_name = 'ATTACHMENT'.
    objpack-obj_descr = whatname.
    APPEND objpack.
    Receiver List
    Already done thru fm
    ENDFORM. "ml_prepare
    FORM
    FORM ml_dosend.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    document_data = docdata
    put_in_outbox = 'X'
    commit_work = 'X' "used from rel. 6.10
    IMPORTING
    SENT_TO_ALL =
    NEW_OBJECT_ID =
    TABLES
    packing_list = objpack
    object_header = objhead
    contents_bin = objbin
    contents_txt = objtxt
    CONTENTS_HEX = objhex
    OBJECT_PARA =
    object_parb =
    receivers = reclist
    EXCEPTIONS
    too_many_receivers = 1
    document_not_sent = 2
    document_type_not_exist = 3
    operation_no_authorization = 4
    parameter_error = 5
    x_error = 6
    enqueue_error = 7
    OTHERS = 8
    IF sy-subrc <> 0.
    MESSAGE ID 'SO' TYPE 'S' NUMBER '023'
    WITH docdata-obj_name.
    ENDIF.
    ENDFORM. "ml_customize
    FORM
    FORM ml_spooltopdf USING whatspoolid.
    DATA : pdf LIKE tline OCCURS 0 WITH HEADER LINE.
    Call Function
    CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
    EXPORTING
    src_spoolid = whatspoolid
    TABLES
    pdf = pdf
    EXCEPTIONS
    err_no_otf_spooljob = 1
    OTHERS = 12.
    Convert
    PERFORM doconv TABLES pdf objbin.
    ENDFORM. "ml_spooltopdf
    FORM
    FORM doconv TABLES
    mypdf STRUCTURE tline
    outbin STRUCTURE solisti1.
    Data
    DATA : pos TYPE i.
    DATA : len TYPE i.
    Loop And Put Data
    LOOP AT mypdf.
    pos = 255 - len.
    IF pos > 134. "length of pdf_table
    pos = 134.
    ENDIF.
    outbin+len = mypdf(pos).
    len = len + pos.
    IF len = 255. "length of out (contents_bin)
    APPEND outbin.
    CLEAR: outbin, len.
    IF pos < 134.
    outbin = mypdf+pos.
    len = 134 - pos.
    ENDIF.
    ENDIF.
    ENDLOOP.
    IF len > 0.
    APPEND outbin.
    ENDIF.
    ENDFORM. "doconv
    CODE FOR PROGRAM
    5.
    REPORT zam_temp147 .
    INCLUDE zami_inclfor_mail.
    DATA
    DATA : itab LIKE tline OCCURS 0 WITH HEADER LINE.
    DATA : file_name TYPE string.
    data : path like PCFILE-PATH.
    data : extension(5) type c.
    data : name(100) type c.
    SELECTION SCREEN
    PARAMETERS : receiver TYPE somlreci1-receiver lower case.
    PARAMETERS : p_file LIKE rlgrap-filename
    OBLIGATORY.
    AT SELECTION SCREEN
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    CLEAR p_file.
    CALL FUNCTION 'F4_FILENAME'
    IMPORTING
    file_name = p_file.
    START-OF-SELECTION
    START-OF-SELECTION.
    PERFORM ml_customize USING 'Tst' 'Testing'.
    PERFORM ml_addrecp USING receiver 'U'.
    PERFORM upl.
    PERFORM doconv TABLES itab objbin.
    PERFORM ml_prepare USING 'X' extension name.
    PERFORM ml_dosend.
    SUBMIT rsconn01
    WITH mode EQ 'INT'
    AND RETURN.
    FORM
    FORM upl.
    file_name = p_file.
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    filename = file_name
    filetype = 'BIN'
    TABLES
    data_tab = itab
    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.
    path = file_name.
    CALL FUNCTION 'PC_SPLIT_COMPLETE_FILENAME'
    EXPORTING
    complete_filename = path
    CHECK_DOS_FORMAT =
    IMPORTING
    DRIVE =
    EXTENSION = extension
    NAME = name
    NAME_WITH_EXT =
    PATH =
    EXCEPTIONS
    INVALID_DRIVE = 1
    INVALID_EXTENSION = 2
    INVALID_NAME = 3
    INVALID_PATH = 4
    OTHERS = 5
    ENDFORM. "upl
    regards,
    amit m.

  • Sending an Excel Attachment in E-mail, where linesize 255 characters

    Hi,
    I have a requirement where I need to send an Excel attachment of around 150 columns and the line-size is around 2000 characters.
    I was planning to use SO_DOCUMENT_SEND_API1.
    But, it appears that because of the restriction of 255 characters as SOLISTI1 structure has the field size of 255 characters.
    Please note, I cannot use any of the OLE or foreground Excel functions, as the job runs in the background.
    Please let me know if you have any solutions or work around.
    Hoiping to hear from all of the experts out there.
    Regards,
    Ani

    try to use the following classes :       
    send_request  TYPE REF TO cl_bcs,
            document      TYPE REF TO cl_document_bcs,
            conlengths    TYPE        so_obj_len,
            html          TYPE STANDARD TABLE OF w3html,
            sender_id     TYPE REF TO if_sender_bcs,
            recipient     TYPE REF TO if_recipient_bcs,
            sent_to_all   TYPE        os_boolean,
            bcs_exception TYPE REF TO cx_bcs,
            bcs_message   TYPE        string.

  • Sending an excel file as an attachment to email

    Hi,
       I am using FM 'SO_DOCUMENT_SEND_API1' to send an excel file to an email ID.But the mail is going to the SAP inbox and it is posting not to the external mail ID like ([email protected]).
    Please suggest me on this.
    Regards'
    Ved.

    Hi
      The mail sending process depends on how your company's mail server has been setup. Check the mail server setup with ur basis/network team. Moreover, go to transaction SCOT and manually trigger the mail sending process.
    In this transaction check the SMTP settings if it is set to *ALL.
    Moreover, try to manually trigger the send process in SCOT. There is a button called 'Start Send process'. After this check if the mails are still in your SAP Outbox. You can even trigger the send process from within your ABAP program by submitting the program RSCONN* (Try to search with this initials)
    Please award points if this was helpful.

  • Sending an excel file in email

    Hello all!
    I need a help, please someone helps me...
    I always send pdf by email without problems, nor i need to send an excel file by email i am using demo mail package, can anyone give an example please???
    THank you!

    I am sending by the same way of pdf but its showing the message error - ora 21560
    CREATE OR REPLACE PROCEDURE P_Envia_Nybot (V_REPORT IN VARCHAR2,V_CAMINHO_REPORT VARCHAR2) IS
    p_sender VARCHAR2(100);
    p_recipients VARCHAR2(4000);
    p_subject VARCHAR2(100) := 'Transaction Confirmation';
    p_filename VARCHAR2(5000);
    p_blob blob;
    V_NOME_ARQUIVO VARCHAR(50);
    conn utl_smtp.connection;
    i NUMBER;
    len NUMBER;
    vFlob BFILE;
    vBlob BLOB;
    v_arquivo2 VARCHAR2(500);
    v_report_novo VARCHAR2(200);
    BEGIN
    UPDATE CIMASTER SET arquivo_NYBOT = (EMPTY_BLOB())
    RETURN arquivo_NYBOT INTO vBlob;
         VFlob := BFILENAME('ORALOADNYBOT',RTRIM(v_report));
    DBMS_LOB.FILEOPEN(vFlob,DBMS_LOB.FILE_READONLY);
    DBMS_LOB.LOADFROMFILE(vBlob,vFlob,DBMS_LOB.GETLENGTH(vFlob));
    DBMS_LOB.FILECLOSE(vFlob);
         SELECT ARQUIVO_NYBOT INTO P_BLOB FROM CIMASTER;
         SELECT SENDER INTO P_SENDER FROM CIMASTER_EMAIL;
    conn := Demo_Mail.begin_mail(
    sender => p_sender,
    recipients => '[email protected]',
    subject => 'Transaction Confirmations',
    mime_type => Demo_Mail.MULTIPART_MIME_TYPE);
    Demo_Mail.begin_attachment(
    conn => conn,
    mime_type => 'TEXT/PLAIN',
    inline => TRUE,
    filename => v_REPORT,
    transfer_enc => 'base64');
    -- split the Base64 encoded attachment into multiple lines
    i := 1;
    len := DBMS_LOB.getLength(p_blob);
    WHILE (i < len) LOOP
    IF(i + Demo_Mail.MAX_BASE64_LINE_WIDTH < len)THEN
    UTL_SMTP.Write_Raw_Data (conn
    , UTL_ENCODE.Base64_Encode(
    DBMS_LOB.SUBSTR(p_blob, Demo_Mail.MAX_BASE64_LINE_WIDTH, i)));
    ELSE
    UTL_SMTP.Write_Raw_Data (conn
    , UTL_ENCODE.Base64_Encode(
    DBMS_LOB.SUBSTR(p_blob, (len - i)+1, i)));
    END IF;
    UTL_SMTP.Write_Data(conn, UTL_TCP.CRLF);
    i := i + Demo_Mail.MAX_BASE64_LINE_WIDTH;
    END LOOP;
    Demo_Mail.end_attachment(conn => conn);
    Demo_Mail.attach_text(
    conn => conn,
    data => NULL,
    mime_type => 'text/html');
    Demo_Mail.end_mail( conn => conn );
    i := 1;
    len := DBMS_LOB.getLength(p_blob);
    WHILE (i < len) LOOP
    IF(i + Demo_Mail.MAX_BASE64_LINE_WIDTH < len)THEN
    UTL_SMTP.Write_Raw_Data (conn
    , UTL_ENCODE.Base64_Encode(
    DBMS_LOB.SUBSTR(p_blob, Demo_Mail.MAX_BASE64_LINE_WIDTH, i)));
    ELSE
    UTL_SMTP.Write_Raw_Data (conn
    , UTL_ENCODE.Base64_Encode(
    DBMS_LOB.SUBSTR(p_blob, (len - i)+1, i)));
    END IF;
    UTL_SMTP.Write_Data(conn, UTL_TCP.CRLF);
    i := i + Demo_Mail.MAX_BASE64_LINE_WIDTH;
    END LOOP;
    Demo_Mail.end_attachment(conn => conn);
    Demo_Mail.attach_text(
    conn => conn,
    data => NULL,
    mime_type => 'text/html');
    Demo_Mail.end_mail( conn => conn );
    END;
    /

  • Sending an excel sheet of  to mail Ids using file to mail scenario

    Hello,
    I have a folder with three folders archive exception and log. Log folders have the details of exception. I want the XML files that are in Exception, to be sent to resp email ids with the data in it to be stored in an excel sheet( data will be collected from the log file for the correspondng file in exception).
    eg: if test.xml is in exception its log will have an exception detail somethng like " Enter a value".
    In this case i want to give the exception details as well as some relevant details with it like material number etc , time at which the exception occured . These details are to be given in an excel sheet .
    Is it possible to do using file to mail scenario. Please help by explianing the procedure.
    Regards.

    This can be done with the help of some Java and ABAP coding. I can give you a general view on how to do this.
    1. Configure a file adapter for sender to pick up the exception files.
    2. While doing the mapping, create a UDF to store the values (which you need to send it to excel file) in a table in ABAP Stack.
    3. Create a ABAP Program in R3 (which can be schedule on regular intervals depending on ur req) to create an excel sheet based on the the data in the table (created in previous step). I am not sure how easy to code ABAP program to create an excel sheet.
    4. Create one more file adapter to send this excel sheet to the corresponding mail ids.
    This is a very high level view on doing this.

  • Problem sending pdf attachments from .me email

    When I send an email from my .me account with a pdf attachment, the recipient does not receive it.  The attachment is not lost:  they do not receive the email at all.
    If I send the same email with a doc, excel or other type of attachment, it is received without a problem. 
    I can send the same pdf from my yahoo account and it is received without a problem.
    I have replicated the problem with different pdf files and different recipients.
    Any thoughts on what might be happening?
    Thanks!

    In Mail's menu, go to Edit > Attachments
    Do you have "Always Send Windows-Friendly Attachments" checked?  You should.

  • Sending an Excel file to Window user?

    How can I send an Excel file (xlsx or xls) as an attachment to an e-mail to a recipient who uses Wondows?

    Muizen wrote:
    my old portable Windows PC doesn't shown Excel as an installed program!
    So it can not open the Excel files from my iMac!
    Install the free LibreOffice (booted from the PC of course), it will open your Mac's Excel files
    How to download and install programs

  • Exporting to Excel from Aria People Search

    Is it possible to export to Excel from Aria People Search.
    I would like to output the Org Chart (built in) and the Tree (I created) to an Excel file.
    Does anyone know how to do this?
    Thanks,
    Tom

    Hi,
    If you are using 10g, then OLE2 is supported. However, it will be executed in the App Server Machine.
    If you want to do the operation in the Client machine (as how it was done in the Client / Server), you need to use Client_OLE (Which is part of WebUtil).
    Look at
    http://www.oracle.com/technology/products/forms/htdocs/webutil/webutil.htm
    for more details on WebUtil.
    HTH.
    Regards,
    Arun

Maybe you are looking for

  • Program variants in different languages

    Hi Folks,    When I save any variants in EN language and check for same variants in other log on languages its not appearing. Is that something to be done for this to appear in all log on languages. If so please share your views. Thank you. Babu

  • [SOLVED] WARNING: bad format of line 333654 of /etc/fstab

    Hi everyone, I know that there are couple of topics concerning my problem but non of them  was helpful, because my computer doesn't even boot. Here's how it started: I was trying to mount a game for the first time and something went wrong. I got mess

  • Number of button slots for (non-standard) PhoneTemplate

    Hi, Once I create a new non-standard phone button template in the CUCM (Device > Device Settings > Phoe Button Template), the number of the buttons on the newly created seems "unpredictable" for me. Sometimes the number of the buttons are the same as

  • Purchase requisition not generate for dependent requirement after MRP run

    Hello PP expert,   In our MTO scenario after MRP run planned order generate for header material but no PR generate for BOM components, (BOM not explode) when we run MRP component level in MD02 PR generate, system showing message "40- No coverage not

  • Help with reinstalling Adobe Creative Suite 6 Master Collection

    About a year or so ago, I purchased and installed the Adobe Creative Suite 6 Master Collection on my 1TB external hard drive (since that hard drive was bigger). Unfortunately, the hard drive just died, which means that all the programs in the suite a