Issue in sending the file as attachment

I am using functional module 'SO_NEW_DOCUMENT_ATT_SEND_API1' to send the email with attachment.
If the file type is 'RAW', the records are getting displayed as that of the source file. For the other file types, all the records are getting displayed in a single line in the output. Please let me know the solution for this.

Hi Saranya,
Chk this example:
  DATA :  DS_OBJPACK TYPE SOPCKLSTI1,
          DS_OBJHEAD TYPE SOLISTI1,
          DS_OBJBIN TYPE SOLISTI1,
          DS_OBJTXT TYPE SOLISTI1,
          DS_RECLIST TYPE SOMLRECI1.
*--MAIL related Internal tables
  DATA: DS_XDOCCHNG TYPE SODOCCHGI1,                     " document
                                                         " attributes
        DT_OBJPACK TYPE STANDARD TABLE OF SOPCKLSTI1,    " attachment
                                                         " table
        DT_OBJHEAD TYPE STANDARD TABLE OF SOLISTI1,      " objectheader
                                                         " table
        DT_OBJBIN TYPE STANDARD TABLE OF SOLISTI1,       " binary table
        DT_OBJTXT TYPE STANDARD TABLE OF SOLISTI1,       " object text
        DT_RECLIST TYPE STANDARD TABLE OF SOMLRECI1.     " mail
  " recipients
  DATA: DL_TEXT       TYPE CHAR50,
        DL_TABLELINES TYPE SY-TABIX,
        DL_STARTDATE(10)  TYPE C,
        DL_ENDDATE(10)    TYPE C,
        DL_SUBJECT(100)    TYPE C, "sin_obj_de,  Subject for Mail
        DL_SDATE      TYPE CHAR10,
        DL_DDATE      TYPE CHAR10,
        DL_CDATE     TYPE CHAR10,
        DL_DATE     TYPE CHAR10,
        DL_FDATE     TYPE CHAR10,
        DL_SYDATE     TYPE CHAR10.
*subject of the mail
*if delivery date in entered
IF NOT S_CONDAT[] IS INITIAL.
   WRITE S_CONDAT-LOW TO DL_STARTDATE MM/DD/YYYY.
   WRITE S_CONDAT-HIGH TO DL_ENDDATE MM/DD/YYYY.
   IF S_CONDAT-HIGH IS INITIAL.
     CONCATENATE 'Capital FutIssue- Dtd Btn'(007)
                 DL_STARTDATE
                 DL_STARTDATE
                 INTO DL_SUBJECT SEPARATED BY SPACE.
   ELSE.
     CONCATENATE 'Capital FutIssue- Dtd Btn'(007)
                 DL_STARTDATE
                 'and'
                 DL_ENDDATE
                 INTO DL_SUBJECT SEPARATED BY SPACE.
   ENDIF.
ELSE.
  WRITE SY-DATUM TO DL_SYDATE MMDDYY.
  CONCATENATE 'Capital FutIssue- Exectd on'(008)
             DL_SYDATE
             INTO DL_SUBJECT SEPARATED BY SPACE.
ENDIF.
*-- Populate mail id
  CHECK S_USERID[] IS NOT INITIAL." OR P_DLIST IS NOT INITIAL.
  IF NOT S_USERID[] IS INITIAL.
    LOOP AT S_USERID.
      CONCATENATE S_USERID-LOW '@ntmcon02.emn.com'(009) INTO
                                DS_RECLIST-RECEIVER.
      DS_RECLIST-REC_TYPE = 'U'.
      APPEND DS_RECLIST TO DT_RECLIST.
    ENDLOOP.
  ENDIF.
*-- Mail subject line
  CLEAR: DS_XDOCCHNG.
  DS_XDOCCHNG-OBJ_NAME = 'HEADING'.
  DS_XDOCCHNG-OBJ_DESCR = DL_SUBJECT.
*-- Mail body
CONCATENATE TEXT-010  SPACE INTO DS_OBJTXT SEPARATED BY SPACE.
  DS_OBJTXT = TEXT-010.
  APPEND DS_OBJTXT TO DT_OBJTXT.
*-- Populate the attachment text.
*-- Header
  CONCATENATE TEXT-036
              TEXT-026
              TEXT-053
              TEXT-052
              TEXT-037
              TEXT-018
              TEXT-019
              TEXT-022
              TEXT-021
              TEXT-017
              TEXT-023
              TEXT-024
              TEXT-025
              TEXT-027
              TEXT-028
              TEXT-020
              TEXT-029
              TEXT-030
              TEXT-038
              TEXT-046
              TEXT-047
              TEXT-048
              TEXT-049
              TEXT-031
              TEXT-032
              TEXT-034
              TEXT-035
              INTO DS_OBJBIN
              SEPARATED BY CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.
  APPEND DS_OBJBIN TO DT_OBJBIN.
  CLEAR  DS_OBJBIN.
*--Body
  CLEAR: DS_FINAL.
  LOOP AT DT_FINAL INTO DS_FINAL.
    DG_MENGE   = DS_FINAL-MENGE.
    DG_CMOQTY  = DS_FINAL-CMOQTY.
    DG_WEMNG   = DS_FINAL-RECV_QTY.
    DG_BALANCE = DS_FINAL-BALANCE.
    DG_DAYS    = DS_FINAL-DAYDIFF.
    WRITE DS_FINAL-CONSDT TO DL_DATE MM/DD/YYYY NO-ZERO.
    WRITE DS_FINAL-SLFDT TO DL_SDATE MM/DD/YYYY NO-ZERO .
    WRITE DS_FINAL-EINDT TO DL_DDATE MM/DD/YYYY NO-ZERO.
    WRITE DS_FINAL-AEDAT TO DL_CDATE MM/DD/YYYY NO-ZERO.
Calling conversion exit to display WBS in external format
    PERFORM CONV_EXIT_ABPSN_OUT CHANGING DS_FINAL-WBS.
    CONCATENATE    DL_DATE
                   DL_DDATE
                   DS_FINAL-DAYDIFF
                   DS_FINAL-EXPEDITE
                   DS_FINAL-FLTDT
                   DS_FINAL-AUFNR
                   DS_FINAL-CMOITEM
                   DG_CMOQTY
                   DG_BALANCE
                   DG_MENGE
                   DG_WEMNG
                   DS_FINAL-EBELN
                   DL_CDATE
                   DL_SDATE
                   DS_FINAL-EBELP
                   DS_FINAL-TXZ01
                   DS_FINAL-MATNR
                   DS_FINAL-MAKTX
                   DS_FINAL-WBS
                   DS_FINAL-INDOOR
                   DS_FINAL-FOOTPRINT
                   DS_FINAL-WEIGHT
                   DS_FINAL-STORAGE
                   DS_FINAL-LIFNR
                   DS_FINAL-NAME1
                   DS_FINAL-EKGRP
                   DS_FINAL-AFNAM
         INTO DS_OBJBIN
      SEPARATED BY CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.
    TRANSLATE DS_OBJBIN USING ', '.
   CONCATENATE CL_ABAP_CHAR_UTILITIES=>NEWLINE DS_OBJBIN INTO DS_OBJBIN
    APPEND DS_OBJBIN TO DT_OBJBIN.
    CLEAR  DS_OBJBIN.
  ENDLOOP.
**-- Populate packing list for body text
  DS_OBJPACK-TRANSF_BIN = ''.
  DS_OBJPACK-HEAD_START = 1.
  DS_OBJPACK-HEAD_NUM   = 0.
  DS_OBJPACK-BODY_START = 1.
  DS_OBJPACK-DOC_TYPE   = 'RAW'.
  APPEND DS_OBJPACK TO DT_OBJPACK.
  CLEAR DS_OBJPACK.
*-- Get total no.of lines of Object table(attachment)
  CLEAR : DL_TABLELINES.
  DESCRIBE TABLE DT_OBJBIN LINES DL_TABLELINES.
  DL_TEXT = DL_SUBJECT.
*-- Packing list for attachment
  DS_OBJPACK-TRANSF_BIN = 'X'.
  DS_OBJPACK-HEAD_START = 1.
  DS_OBJPACK-HEAD_NUM = 1.
  DS_OBJPACK-BODY_START = 1.
  DS_OBJPACK-BODY_NUM = DL_TABLELINES .
  DS_OBJPACK-DOC_TYPE = 'XLS'.
  DS_OBJPACK-OBJ_NAME = ' '.
  DS_OBJPACK-OBJ_DESCR = DL_TEXT.
  DS_OBJPACK-DOC_SIZE = DL_TABLELINES * 255.
  APPEND DS_OBJPACK TO DT_OBJPACK.
  CLEAR  DS_OBJPACK.
*-- Sending the EMail document in given format
  CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
      DOCUMENT_DATA              = DS_XDOCCHNG
      PUT_IN_OUTBOX              = 'X'
      COMMIT_WORK                = 'X'
    TABLES
      PACKING_LIST               = DT_OBJPACK
     OBJECT_HEADER              = IT_OBJHEAD
      CONTENTS_BIN               = DT_OBJBIN
      CONTENTS_TXT               = DT_OBJTXT
      RECEIVERS                  = DT_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 NE 0 .
    WRITE:/ SY-SUBRC , 'Mail document not sent'(004).
  ELSE.
    MESSAGE S000 WITH 'Mail sent successfully'(012).
  ENDIF.
Thanks,
Keerthi.

Similar Messages

  • Issue while sending a file as attachment which is read through file adpter

    Hi Guys,
    version 11.1.1.2
    We have a requirement where I have to read a file through file adapter and sent it as an attachment in an email.
    I am able to read the file from file adapter and i am passing it as an attachment using email activity.
    But the problem is I am getting some junk characters in attachment.
    file type *.csv
    please help me resolving this problem.
    I am using the following in assign activity in email .
    <copy>
    <from expression="string('text/html; charset=UTF-8')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:Content/ns1:ContentBody/ns1:MultiPart/ns1:BodyPart[2]/ns1:MimeType"/>
    </copy>
    <copy>
    <from expression="string('Notification.csv')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:Content/ns1:ContentBody/ns1:MultiPart/ns1:BodyPart[2]/ns1:BodyPartName"/>
    </copy>
    <copy>
    <from expression="bpws:getVariableData('Invoke_1_SynchRead_OutputVariable','opaque','/ns4:opaqueElement')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:Content/ns1:ContentBody/ns1:MultiPart/ns1:BodyPart[2]/ns1:ContentBody"/>
    </copy>
    Regards
    Raj
    Edited by: user589098 on Aug 19, 2011 10:37 PM

    Hi Guys,
    version 11.1.1.2
    We have a requirement where I have to read a file through file adapter and sent it as an attachment in an email.
    I am able to read the file from file adapter and i am passing it as an attachment using email activity.
    But the problem is I am getting some junk characters in attachment.
    file type *.csv
    please help me resolving this problem.
    I am using the following in assign activity in email .
    <copy>
    <from expression="string('text/html; charset=UTF-8')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:Content/ns1:ContentBody/ns1:MultiPart/ns1:BodyPart[2]/ns1:MimeType"/>
    </copy>
    <copy>
    <from expression="string('Notification.csv')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:Content/ns1:ContentBody/ns1:MultiPart/ns1:BodyPart[2]/ns1:BodyPartName"/>
    </copy>
    <copy>
    <from expression="bpws:getVariableData('Invoke_1_SynchRead_OutputVariable','opaque','/ns4:opaqueElement')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:Content/ns1:ContentBody/ns1:MultiPart/ns1:BodyPart[2]/ns1:ContentBody"/>
    </copy>
    Regards
    Raj
    Edited by: user589098 on Aug 19, 2011 10:37 PM

  • Issue in sending the email with XL attachment in ECC version

    Hi,
    I have an issue with sending the email with XL attachment. My program is sending a mail to the receiver with XLS as attachment. Recently we have migrated from 4.6B to ECC version. Same code was worked in 4.6B.But it is not working in ECC version.When i try to open the attachment, i get a Dialog Box with the following message
    "The file is not in a recognizable format.
    1. if you know the file is from another program whih is incompatible with Microsoft excel,click cancel,then open this file in its original application
    2.If you suspect the file is damaged, click help for more information about solving theproblem.
    3.if you still want to see what text is contained in the file, click OK.Then click the text import wizard. "
    when i click OK, the excel sheet is opening with all required data.
    Can anyone kindly tell me why this is happening.
    I am also attaching part of the coding related to this requirement.
    *&      Form  BUILD_XLS_DATA_TABLE
          text
    -->  p1        text
    <--  p2        text
    FORM build_xls_data_table.
      DATA: w_total(13),
      w_clabs(13),
      w_cinsm(13),
      w_ceinm(13),
      w_cretm(13),
      w_cspem(13),
      w_cumlm(13),
      w_exp_date(8),
      w_v_totalp(13),
      w_min_rem(8),
      w_ersda(10),
      w_hsdat(10),
      w_vfdat(10),
      w_ship_date(10),
      w_plnmg(13),
       w_mhdrz(4).
      CLEAR: w_total, w_clabs, w_cinsm, w_ceinm, w_cspem, w_exp_date,
      w_v_totalp, w_min_rem, w_ersda, w_hsdat, w_vfdat, w_ship_date,
      w_plnmg, w_mhdrz.
      w_total = it_batch1-total.
      w_clabs = it_batch1-clabs.
      w_cinsm = it_batch1-cinsm.
      w_ceinm = it_batch1-ceinm.
      w_cspem = it_batch1-cspem.
      w_cumlm = it_batch1-cumlm.
      w_cretm = it_batch1-cretm.
      w_exp_date = it_batch1-exp_date.
      w_v_totalp = it_batch1-v_totalp.
      w_min_rem = it_batch1-min_rem.
      w_plnmg = it_batch1-plnmg.
      w_mhdrz = it_batch1-mhdrz.
      CONCATENATE it_batch1-ersda6(2) it_batch1-ersda4(2)
                  it_batch1-ersda+0(4) INTO w_ersda SEPARATED BY '.'.
      CONCATENATE it_batch1-hsdat6(2) it_batch1-hsdat4(2)
                  it_batch1-hsdat+0(4) INTO w_hsdat SEPARATED BY '.'.
      CONCATENATE it_batch1-vfdat6(2) it_batch1-vfdat4(2)
                  it_batch1-vfdat+0(4) INTO w_vfdat SEPARATED BY '.'.
      CONCATENATE it_batch1-ship_date6(2) it_batch1-ship_date4(2)
                  it_batch1-ship_date+0(4) INTO w_ship_date SEPARATED BY '.'
      CONCATENATE
      it_batch1-werks it_batch1-mtart it_batch1-matnr it_batch1-maktg
    it_batch1-prdha it_batch1-prctr it_batch1-ktext  it_batch1-dispo
      it_batch1-charg it_batch1-lgort it_batch1-herkl w_clabs
      w_cinsm w_ceinm w_cretm w_cspem
      w_cumlm w_total  it_batch1-meins  it_batch1-v_spr_unit
      w_v_totalp it_batch1-waers w_plnmg  it_batch1-meins
      w_ersda w_hsdat w_vfdat  w_exp_date
       w_ship_date  w_mhdrz  w_min_rem it_batch1-zlifer
       it_batch1-doknr it_batch1-dokar it_batch1-doktl  it_batch1-dokvr
               INTO L_STRING SEPARATED BY CON_TAB.
                  INTO l_string SEPARATED BY cl_abap_char_utilities=>horizontal_tab.
      WHILE l_string <> space.
        CALL FUNCTION 'TEXT_SPLIT'
          EXPORTING
            length       = 255
            text         = l_string
            as_character = 'X'
          IMPORTING
            line         = it_attach
            rest         = l_string.
        IF l_string = space.
       CONCATENATE IT_ATTACH CON_CRET INTO IT_ATTACH.
          CONCATENATE it_attach cl_abap_char_utilities=>cr_lf INTO it_attach.
          APPEND it_attach.
          CLEAR it_attach.
        ELSE.
          APPEND it_attach.
          CLEAR it_attach.
        ENDIF.
      ENDWHILE.
    move l_string to it_attach .
    CONCATENATE it_attach cl_abap_char_utilities=>cr_lf INTO it_attach.
    APPEND it_attach.
    CLEAR it_attach.
    ENDFORM.                    " BUILD_XLS_DATA_TABLE
    *&      Form  SEND_FILE_AS_EMAIL_ATTACHMENT
          text
    -->  p1        text
    <--  p2        text
    FORM send_file_as_email_attachment.
      DATA:w_length TYPE i.
      DATA:  w_cnt TYPE i,
              w_sent_all(1) TYPE c,
              w_doc_data LIKE sodocchgi1,
              gd_error    TYPE sy-subrc,
              gd_reciever TYPE sy-subrc,
              t_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE.
    Fill the document data.
      w_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
    w_doc_data-obj_langu = sy-langu.
    w_doc_data-obj_name  = 'SAPRPT'.
    w_doc_data-obj_descr = text-034 .
    w_doc_data-sensitivty = 'F'.
    Fill the document data and get size of attachment
      CLEAR w_doc_data.
    DESCRIBE TABLE it_attach LINES w_cnt.
      DESCRIBE TABLE it_message LINES w_cnt.
      READ TABLE it_message INDEX w_cnt.
    w_length = STRLEN( it_attach ).
      w_doc_data-doc_size =
         ( w_cnt - 1 ) * 255 + STRLEN( it_message ).
      w_doc_data-obj_langu  = sy-langu.
    w_doc_data-obj_name   = 'SAPRPT'.
      w_doc_data-obj_descr  = text-034.
      w_doc_data-sensitivty = 'F'.
      CLEAR t_attachment.
      REFRESH t_attachment.
      t_attachment[] = it_attach[].
    describe the body of the message
      CLEAR t_packing_list.
      REFRESH t_packing_list.
      t_packing_list-transf_bin = space.
      t_packing_list-head_start = 1.
      t_packing_list-head_num = 0.
      t_packing_list-body_start = 1.
    ***Start of changes by 501507008 on 29.01.2009
      t_packing_list-obj_descr  = 'MAIL BODY'.
    ***End of changes by 501507008 on 29.01.2009
      DESCRIBE TABLE it_message LINES t_packing_list-body_num.
      t_packing_list-doc_type = 'RAW'.
      APPEND t_packing_list.
    Create attachment notification
      t_packing_list-transf_bin = 'X'.
      t_packing_list-head_start = 1.
      t_packing_list-head_num   = 1.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
      t_packing_list-doc_type   =  'XLS'.
      t_packing_list-obj_descr  =  text-034.
      t_packing_list-obj_name   =  'filename'.
      t_packing_list-doc_size   =  t_packing_list-body_num * 255.
      APPEND t_packing_list.
    Add the recipients email address
      CLEAR t_receivers.
      REFRESH t_receivers.
      LOOP AT it_adr6.
        t_receivers-receiver = it_adr6-smtp_addr.
        t_receivers-rec_type = 'U'.
        t_receivers-com_type = 'INT'.
        t_receivers-notif_del = 'X'.
        t_receivers-notif_ndel = 'X'.
        APPEND t_receivers.
      ENDLOOP.
    CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
       EXPORTING
         document_data              = w_doc_data
         put_in_outbox              = 'X'
         sender_address             = ' '
         sender_address_type        = ' '
         commit_work                = 'X'
       IMPORTING
         sent_to_all                = w_sent_all
       TABLES
         packing_list               = t_packing_list
         contents_bin               = t_attachment
         contents_txt               = it_message
         receivers                  = t_receivers
       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.
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data                    = w_doc_data
         put_in_outbox                    = 'X'
      commit_work                      = ' '
    IMPORTING
      sent_to_all                      =
      new_object_id                    =
    tables
            packing_list               = t_packing_list
            contents_bin               = t_attachment
            contents_txt               = it_message
            receivers                  = t_receivers
      contents_hex                     =
      object_para                      =
      object_parb                      =
       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.
      ENDIF.
    ENDFORM.                    " SEND_FILE_AS_EMAIL_ATTACHMENT

    Hi,
    could you tell me which opeion should i select in SCOT under INT node. I have tried with diffrent options. but no luck.
    SAPscript/Smart Forms  - No Conversion
    ABAP List                     - No Conversion
    Business Object/Link     - No Conversion
    RAW Text                     - No Conversion

  • How do I scan a photo to a file and then send the file as an attachment via email.

    How do I scan a photo to a file and then send the file as an attachment  via email.

    All of this depends largely on what printer /software you have, which Email client you use and to some extent which OS you are running.
    Most HP printers have HP Solution Center which is used to set up scanning,choosing where to save,etc. Once a file/photo is scanned and saved to the folder, open the folder.Select the file and at the top of the window should be the option to 'Email'.
    ******Clicking the Thumbs-Up button is a way to say -Thanks!.******
    **Click Accept as Solution on a Reply that solves your issue to help others**

  • Get error message "this "**" file cannot be attached until the files already attached are finished uploading" even when attaching 1 file

    I attached multiples .pdf files to an email. Tried to attach the next file before the previous 1 finished attaching. Got error message "this "**" file cannot be attached until the files already attached are finished uploading". Was never able to attach that 1 file to the email that I received the error message for; was able to attach subsequent files to that same email & send it. Now, I often get the same error message, even if I only attach 1 file & esp. when attaching .ai or .jpeg files. What can I do to fix this problem?

    It looks like nobody has an answer for this despite of the 80 something views!
    And here i thought Adobe admin would be monitoring the forum, but surprisingly, they don't even have the answer for this!!!

  • Send the auto mail Attachment using client machine outlook application

    Hi all,
    we are using the following EBS & Database
    Database Server
    RDBMS : 11.2.0.3.0
    Oracle Applications : 12.1.2
    i would like to send the file as a attachment using client machine outlook application.
    the(.TXT) file has generated by the concurrent program and stored in the oracle server in specific oracle DB directory path. now my requirement is after generating the file then same file has to send mail to specific mail id using client machine outlook application.can anybody suggest me how to do this
    (i tried to send mail using UTL_SMTP.DATA but this standard procedure is allowing the file attachment size up to KB only.)
    Thanks in advance.

    kknr wrote:
    Hi all,
    we are using the following EBS & Database
    Database Server
    RDBMS : 11.2.0.3.0
    Oracle Applications : 12.1.2
    i would like to send the file as a attachment using client machine outlook application.
    the(.TXT) file has generated by the concurrent program and stored in the oracle server in specific oracle DB directory path. now my requirement is after generating the file then same file has to send mail to specific mail id using client machine outlook application.can anybody suggest me how to do this
    (i tried to send mail using UTL_SMTP.DATA but this standard procedure is allowing the file attachment size up to KB only.)
    Thanks in advance.Please see old threads for the same topic/discussion.
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Send+AND+Email+AND+Attachment+AND+Concurrent&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Send+AND+Email+AND+Output+AND+Concurrent&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • HT2500 how can i insert a file in a mail message i send to someone?  i don't want the picture to be open or the text to be displayed.  I want to send the file as a file.  Pleas advise.

    how can i insert a file in a mail message i send to someone?  i don't want the picture to be open or the text to be displayed.  I want to send the file as a file.  Pleas advise.  thank you.

    Attach it to the message. An attachment is an attachment -- if it is displayed or not by the recipient's e-mail client is not under your control.
    You can zip it (compress it) before sending it; if it's text, you should zip it anyway; if it's JPEG, zipping will not reduce the size (in fact, it's even possible it may increase it slightly), but most e-mail clients do not display what's inside a zip archive.

  • Error while sending the file to GXS

    Hello,
         I need to send the file to a bank which is using a GXS server.
    GXS uses a VAN networ and it is expecting a specific command to place the file on it's server.
    The put command is -
    boldput localfilename %localfilename%SECUPGPENA%GPEXRIP%%B
    I tried using the following command at "Run Operating System Command Before/After Message Processing"
    bold"put %F %%F%SECUPGPENA%GPEXRIP%%B" .
    But the files are not being transferred.
    I believe that I need to replace the actual message processing command by the given command by writing a script and calling it.
    boldQues 1. Has anybody faced this scenario and found a solution?
    boldQues 2. - I want to know if we can transfer the file to VAN through the normal XI FTP adapter. If yes, then how?
    boldQues 3. - In case if the FTP adapter can not be used can we use any specific Seeburger VAN adapter?
    Regards,
    Mayank

    Hello,
    I need to send the file to a bank which is using a GXS server.
    GXS uses a VAN networ and it is expecting a specific command to place the file on it's server.
    The put command is -
    boldput localfilename %localfilename%SECUPGPENA%GPEXRIP%%Bbold
    I tried using the following command at "Run Operating System Command Before/After Message Processing"
    *bold"put %F %%F%SECUPGPENA%GPEXRIP%%B" bold
    But the files are not being transferred.
    I believe that I need to replace the actual message processing command by the given command by writing a script and calling it.
    boldQues 1. Has anybody faced this scenario and found a solution?bold
    boldQues 2. - I want to know if we can transfer the file to VAN through the normal XI FTP adapter. If yes, then how?bold
    boldQues 3. - In case if the FTP adapter can not be used can we use any specific Seeburger VAN adapter?bold
    Regards,
    Mayank

  • Best way to write objects in an xml and send the file?

    hello all
    i am making some objects, which i conver to xml using the XStream and then i am saving them to a file, call a function to send the file to a servant (basically i do this by sending bytes and this may be the problem). In the servant i take the data i write them to a file and then i read them again to make them objects...
    i have the following code in the client
            XStream xstream = new XStream(new DomDriver());     
            xstream.alias("Jobb", WorkflowFramework.Jobb.class);
         String xml = xstream.toXML(translation);
               FileWriter fw = new FileWriter("translation.xml");
               ObjectOutputStream out = xstream.createObjectOutputStream(fw);
               out.writeObject(new Jobb("ougk2", "Walnes",null));
               out.close();
               File file=new File("translation.xml");
               byte buffer[]=new byte[(int)file.length()];
               try {
                    BufferedInputStream input=new BufferedInputStream(new FileInputStream("translation.xml"));
                    input.read(buffer,0,buffer.length);
                    input.close();
               } catch(Exception e) {
                      System.out.println("Error: "+e.getMessage());
                       e.printStackTrace();
               theRemoteObjRef.translationService(theCallbackObjectRef, buffer);i write the file and then i read it so as to have a buffer of bytes (there should be a better ways..)
    the last line sends an objectRef (we dont care about that) and the file in bytes to a server (to be specific to a servant of a server)..
    in the servant i do the following
    public void translationService(TheCallbackInterface objRef, byte data[]){
              try{
                        File file = new File("translation2.xml");
                    BufferedOutputStream output = new BufferedOutputStream(new FileOutputStream("translation2.xml"));
                  output.write(data, 0, data.length);
                  output.flush();
                  output.close();
              } catch(Exception e) {
                        System.out.println("Error: " + e.getMessage());
                        e.printStackTrace();
               XStream xstream = new XStream(new DomDriver());
               try { // If an error occurs, go to the "catch" block
                    FileReader fr2 = new FileReader("translation2.xml");
                    ObjectInputStream in = xstream.createObjectInputStream(fr2);
                    Jobb newJob = (Jobb)in.readObject();
                   System.out.println(newJob.getObjServerRef());
                   System.out.println(newJob.getForTranslation());
                   System.out.println(newJob.getTranslated());
                    }catch (Exception e) {  
                         System.err.println("File input error"+e);
                    Jobb testJob=new Jobb("ougka","mpougka","falalala");
                    System.out.println(testJob.getObjServerRef());
                       System.out.println(testJob.getForTranslation());
                    System.out.println(testJob.getTranslated());
    the problem is that in the first group of System.out.println i get the error File input errorcom.thoughtworks.xstream.mapper.CannotResolveClassException: Jobb : Jobb
    but the second group of printlns, prints the correct results...
    do you know what is the problem? Why can i read the content of the file and get the objects from there?
    do you have any suggestions of writing and reading the file in an another way or to send it by NOT using a bytes array?
    do you have an alternative way of making the xml file?
    many thanks!

    Hi,
    I would suggest to reconsider building of your document so that it doesn't contain duplicates if you don't need them. And it doesn't have much to do with DB XML then.
    Also you could insert your document with duplicates and use XQuery Update facilities to delete undesirable nodes.
    Vyacheslav

  • How to send the quotation as attachment in notification

    Hi folks,
    I have a small clarification regarding workflows. I am creating a Quotation and Iam trigering the workflow . The Workflow gets trigerred and a notification is sent to the Manager . The Manager can either Approve or reject . If Approved the status of the Quotation gets changed to Approved. if Rejected the status of the Quotation gets changed to rejected. I am also sending the sales order number.  I have achieved upto this step.
    But I am not able to send the Quotation as attachment in the notification to the Manager. The Business Object for the quotation is  BUS20001.
    Please guide me how to send attachments in notifications.
    Regards,
    Palani.

    Hi Palani,
        You can acheive this by using the step type FORM.
    Regards,
    A.Fahrudeen

  • How to send txt file  as attachement in email

    Hi Experts ,
    How to send  txt file  as attachement in email .
    which function module i use

    Hi,
    Try to use this one
    CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
    Hope it can solve your problem!
    Good luck!
    Tao

  • I'm a bit confused. Since my original camera format was 720/60p, and I converted the footage to Pro Res422 in order to edit in Final Cut Pro 7, should I convert back to a higher quality format before sending the file to DVD Studio Pro?

    I'm a bit confused. Since my original camera format was 720/60p, and I converted the footage to Pro Res422 in order to edit in Final Cut Pro 7, should I convert back to a higher quality format before sending the file to DVD Studio Pro? If so, which Compressor codec is best to use in order to preserve the original 720/60p?   How do I maintain the highest quality?

    No...ProRes is a high quality format. Finishing format.  Many TV networks take that as a final deliverable. 
    BUT...DVDs aren't high definition...they are SD.  You cannot make a 720p60 DVD with DVD Studio Pro.  Any DVD you make will be SD...720x480.  The only HD DVD format out there is BluRay, and for that you need a BluRay burner.
    As for making a high quality DVD...using the BEST QUALITY settings in Compressor will work:
    #42 - Quick and dirty way to author a DVD
    Shane's Stock Answer #42 - David Roth Weiss' Secret Quick and Dirty Way to Author a DVD:
    The absolute simplest way to make a DVD using FCP and DVDSP is as follows:
    1. Export a QT movie, either a reference file or self contained using current settings.
    2. Open DVDSP, select the "graphical" tab and you will see two little monitors, one blue, one green.
    3. Select the left blue one and hit delete.
    4. Now, select the green one, right click on it and select the top option "first play".
    5. Now drag your QT from the browser and drop it on top of the green monitor.
    6. Now, for a DVD from an HD source, look to the right side and select the "general tab" in the track editor, and see the Display Mode, and select "16:9 pan-scan."
    7. Hit the little black and yellow burn icon at the top of the page and put a a DVD in when prompted. DVDSP will encode and burn your new DVD.
    THATS ALL!!!
    NOW...if you want a GOOD LOOKING DVD, instead of taking your REF movie into DVD SP, instead take it into Compressor and choose the BEST QUALITY ENCODE (2 pass VBR) that matches your show timing.  Then take THAT result into DVD SP and follow the rest of the steps.  Except you can choose "16:9 LETTERBOX" instead of PAN & SCAN if you want to see the entire image.

  • How do I resolve the issue Cannot open the file ".indd". Adobe InDesign may not support the file for

    How do I resolve the issue Cannot open the file ".indd". Adobe InDesign may not support the file format, a plug-in that supports the file format may be missing , or the file may be open in another application?

    Shouldn't the CC version be able to open any file created in an older version on InDesign?
    Yes, it ought to.
    If the older file wasn't yours (if someone emailed it to you,or burned it on a disc, or whatever), then I am almost willing to bet you a beverage in the city of your choice that it's not a complete InDesign file. That is, maybe it was zipped and renamed, or the beginning or end of the file was chopped off during download, or something like that. The only reason I'm not actually making the bet is that there is a remote chance that I'd lose, and maybe you're in Adelaide or Khabarovsk or somewhere where the cost of airfare to me would make that bet a very expensive bet for me to to lose. So no latte for you if I'm wrong!
    The script that Jongware posted will tell you what version of InDesign made the file to begin with. Additionally, if someone did something like rename YourFile.PDF to YourFIle.INDD, it'll report that it's Not An InDesign File. Because while SpectrumPCS is kinda right and that message can be generated when attempting to open a CS5 file in CS3 or whatever, it also spits out the same message when you just try to open an Autocad file, or a Windows system file, or a PDF, or any file that InDesign actually cannot open at all.

  • I have to send large files like 5MB or biger via mobile phone, but in that cases phone is telling mi to plug in power. And when I do that, there is no problem to send the file. For smaller files there is no problem. How can I solve the problem? Because wh

    I have to send large files like 5MB or biger via mobile phone, but in that cases phone is telling mi to plug in power. And when I do that, there is no problem to send the file. For smaller files there is no problem. How can I solve the problem? Because when I'm not at home I can't plug in the power.

    hi,
    I am sending file from server to client i.e client will request for a file and service will send it back....... no socket connection is there...I am using JBOSS and apache axis.
    pls help me out.....
    Rashi

  • I want to copy and paste files i recieved on my gmail to my flash drive.How do i send the files to my flsh drive?

    I dont have a copy machine,someone send me a Letter Head to my email adress.
    I want to send the files to my flash drive,how do i do that?

    Why are you still using that 4 tear old version of Firefox?
    Firefox 2.0.0.2 was released on 2007-02-19.

Maybe you are looking for