Share By Email Attachment Fails

Image selected and contact selected from contac tlist but on clicking on NEXT computer goes in a continous running mode.

There have been recent problems with the Adobe mail server but if using Vista or XP you can change preferences to Windows Mail or Outlook Express, as appropriate.
For those on W7 who did the recent updates including Windows Live Essentials it’s probably best to ignore Adobe Photo Mail and use the Windows Live Photo gallery to email photos, using Live Mail 2011.
 

Similar Messages

  • Cant share by email attachment

    When I try to share a photo by email attachment, action stalls and will not complete.
    Any ideas will be appreciated.

    I’ve found it usually works best with web mail via Adobe after obtaining verification. I know some email services block bulk email completely and I’ve only tested it with Gmail on PSE11 which works fine. Before you start it will help to check your internet security settings. If they are set to High, reduce the settings to Medium temporarily. Then follow these instructions.
    1. Log in to your mail provider on the web and add the following email to your address/contacts book.
    [email protected]
    2. Open Organizer and on the menu click:
    Edit >> Preferences >> Sharing
    3. Choose Adobe Email Service from the client dropdown menu.
    4. Add your name and email address to the fields provided and click OK
    5. Test the system (first use only)  by selecting a photo in organizer and choosing Share >> Photo Mail then click Next (Mac users should use attachments)
    6. Choose a contact then click  Next
    7. Click Next Step, then click Next - the sender verification dialog will open.
    8. Check you have spelt your email address correctly and hit the Resend E-Mail button.
    9. Go to your inbox (also check spam) and when the Adobe mailer message is received copy (Ctrl+C) the long verification code.
    10. Return to the verification dialog and paste it (Ctrl+V) into the Sender verification field and click OK. Wait for validation confirmation then click OK to continue

  • Why did my email attachment fail in Google?

    When trying to attach a file to my email at my Google address it failed stating " unable to attach file likely because of a firewall". I have attached the same files using IE, Safari AND Opera.
    What's up??????
    dmeier77

    Hi ann1483,
    Firefox orders its bookmarks by last bookmarked afaik. If you are interested in the technical functions/code you can search the lxr code [http://lxr.mozilla.org/mozilla-central/search] for importing bookmarks.
    Right clicking and selecting sorting a-z would put them in alphabetical order.

  • MS WORD - Won`t allow file to be share as email attachment while in WORD... must save it, go to MAIL or OUTLOOK to email it

    I can't email the WORD file that I am working on, unless I go to OUTLOOK or MAIL and do it as an attachment in a new mail.

    Try this link https://discussions.apple.com/message/20229092#20229092
    It is to a discussion on the same topic. Key is to repair permissions and then restart.

  • I can not share any document as Email Attachment in OSX Mountain Lion

    Hi
    Since the time I have installed OSx Mountain Lion. I am having this problem. I can not share any file, like a word file or pdf file as Email Attachment. 
    I could do in in Lion earlier.
    I open a file > share > as Email attachment.  It is not working
    Anyone having the same problem.

    Thx a lot mcsound , this really resolved this issue. 
    1. Now if I go to file>share>Email as attachemnt can be selected but still share> Email as link is not selectable
    2. I had one more issue,  when I compose Email, I go to attach>select pdf file> choose file and try and send pdf attachment in Email from apple mail, the reciver does not get the pdf attachment, just get the plain Email. . But if I try and attach word or excel file, it goes well.
    Now if I open gmail in my browser and attache pdf file, it goes well to the receiver.
    Please see if you have any solution to this.
    thx once again. 

  • What do I do since, I am unable to attach files to my emails and I get messages saying that the attachment failed?

    When I try to attach a file to emails, the attachment fails and I receive an error message saying that it has failed. Sometimes it asks me to check whether there are firewalls or proxy. How do check for these? How do I disable these? Do I have to do so every time I attach a file to a mail? My OS is Windows Vista Home Premium and browser is Firefox. Email is Gmail. The files I try to attach are less than 5 MB.

    So sorry to all.  I did some research in this community and found out I was not the only one with that problem.  I removed microsoft Silverlight as suggested and followed instructions on how to do it and that did the trick.  All is well now.

  • Share Ovi image Upload via email attachment method

    I'm trying to upload images to a share ovi  album using the email attachment method.  I'm using the correct address: [email protected]  It's not working. Giving a guest the option of uploading with a guest address in not working either. Am I the only one having this problem?

    Yep. I just test it, it not work via email. Sucks.

  • Excel doc as email attachment

    Hi Experts
    Hope you guys are doing fine.
    I have a requirement where i need to send the internal table data as an excel email attachment.I used the FM 'SO_NEW_DOCUMENT_ATT_SEND_API1',but in the email attachment,the data is getting distorted and not coming in a properly manner.Here with,i am pasting the code i used.
    (l_pto_tab is the internal table)
    FORM report_as_email .
      TYPES : BEGIN OF ty_pto_tab,
               pernr(10),
               nachn(40),
               vorna(40),
               hdate(15),
               supno(10),
               supln(40),
               supfn(40),
             END    OF  ty_pto_tab.
      DATA:   wa_pack_list  TYPE sopcklsti1,
              it_pack_list  TYPE TABLE OF sopcklsti1.
      DATA:  it_email_lines  like SOLISTI1 occurs 0 with header line,
             it_obj_text  like SOLISTI1 occurs 0 with header line.
      DATA:  wa_object_header  TYPE solisti1,
             it_object_header  TYPE TABLE OF solisti1.
      DATA: wa_mail_receiver  TYPE somlreci1,
            it_mail_receiver  TYPE TABLE OF somlreci1.
      DATA: wa_mail_data      TYPE sodocchgi1,
            l_pto_tab type ty_pto_tab occurs 0 with header line.
      DATA: w_att_lines(6) TYPE n.
      DATA: w_att_lines1(6) TYPE n.
      DATA: text1 TYPE c LENGTH 155.
      DATA: text2 TYPE c LENGTH 155.
      DATA: text3 TYPE c LENGTH 155.
      DATA: wa_error_cols  TYPE ty_email_lines.
      DATA: count TYPE i.
      DATA: gv_date1 TYPE c LENGTH 10.
      REFRESH: it_pack_list,
               it_object_header,
               it_mail_receiver.
    Set first line to be displayed in the document
      wa_object_header-line = 'PTO_Reminder_List.TXT'.
      APPEND wa_object_header TO it_object_header.
    *-- Document data
      CLEAR: wa_mail_data.
      wa_mail_data-obj_name = 'Object name'.
      wa_mail_data-sensitivty = 'O'.
      wa_mail_data-obj_descr = 'PTO Reminder Report'.
    Set Mail body
    it_obj_text = 'PTO Reminder'.
    append it_obj_text.
    clear it_obj_text.
    *-- Set Attachment values
      l_pto_tab-pernr = 'EE Number'.
      l_pto_tab-nachn = 'EE LNAME'.
      l_pto_tab-vorna = 'EE FNAME'.
      l_pto_tab-hdate = 'Hire Date'.
      l_pto_tab-supno = 'Sup No'.
      l_pto_tab-supln = 'Sup LNAME'.
      l_pto_tab-supfn = 'Sup FNAME'.
      INSERT l_pto_tab INTO it_email_lines INDEX 1.
      CLEAR l_pto_tab.
    count = 1.
    loop at it_pto_tab.
      l_pto_tab-pernr = it_pto_tab-pernr.
      l_pto_tab-nachn = it_pto_tab-nachn.
      l_pto_tab-vorna = it_pto_tab-vorna.
      l_pto_tab-hdate = it_pto_tab-hdate.
      l_pto_tab-supno = it_pto_tab-supno.
      l_pto_tab-supln = it_pto_tab-supln.
      l_pto_tab-supfn = it_pto_tab-supfn.
      append l_pto_tab.
      clear l_pto_tab.
      endloop.
    l_pto_tab is the internal table
      LOOP AT l_pto_tab.
          count = count + 1.
          INSERT l_pto_tab INTO it_email_lines INDEX count.
        ENDLOOP.
      REFRESH  l_pto_tab.
      wa_pack_list-head_start = 1.
      wa_pack_list-head_num   = 0.
      wa_pack_list-body_start = 1.
      wa_pack_list-body_num   = 1.
      wa_pack_list-doc_type   = 'RAW'.
      wa_pack_list-doc_size   = 255.
      APPEND wa_pack_list TO it_pack_list.
      CLEAR: wa_pack_list.
    DESCRIBE TABLE it_email_lines LINES w_att_lines.
    READ TABLE it_email_lines INDEX w_att_lines.
    wa_mail_data-doc_size = ( w_att_lines - 1 ) * 255 +
                     STRLEN( it_email_lines-line ).
    Attachment
      wa_pack_list-transf_bin = 'X'.
      wa_pack_list-head_start = 1.
      wa_pack_list-head_num   = 1.
      wa_pack_list-body_start = 1.
      wa_pack_list-body_num   = w_att_lines.
    Excel attachment
      wa_pack_list-doc_type   = 'XLS'.
      wa_pack_list-obj_name   = 'ATTACHMENT'.
      wa_pack_list-obj_descr  = 'PTO_REMINDER_LIST'.
      wa_pack_list-doc_size   = wa_mail_data-doc_size.
      APPEND wa_pack_list TO it_pack_list.
      CLEAR: wa_pack_list.
    *-- Set E-Mail Receiver address
      wa_mail_receiver-receiver = '[email protected]'.
      wa_mail_receiver-rec_type = 'U'.
      wa_mail_receiver-express  = 'X'.
      APPEND wa_mail_receiver TO it_mail_receiver.
      *-- Send E-Mail
      call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        exporting
          document_data              = wa_mail_data
          put_in_outbox              = 'X'
          commit_work                = 'X'
        tables
          packing_list               = it_pack_list
          object_header              = it_object_header
          contents_bin               = it_email_lines
          contents_txt               = it_obj_text
          receivers                  = it_mail_receiver
        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 NOT sy-subrc IS INITIAL.
        WRITE: / 'E-mail failed.'.
      ENDIF.
    ENDFORM.                    " report_as_email
    Can anyone look into this code and let me know what changes i need to make to correct this error.Or if anyone has any sample code,can you pls share it with me.
    Your help wud be greatly appreciated.
    Thnx

    alan,
      Check the below code.
    report y_cr17_mail .
    data method1 like sy-ucomm.
    data g_user like soudnamei1.
    data g_user_data like soudatai1.
    data g_owner like soud-usrnam.
    data g_receipients like soos1 occurs 0 with header line.
    data g_document like sood4 .
    data g_header like sood2.
    data g_folmam like sofm2.
    data g_objcnt like soli occurs 0 with header line.
    data g_objhead like soli occurs 0 with header line.
    data g_objpara  like selc occurs 0 with header line.
    data g_objparb  like soop1 occurs 0 with header line.
    data g_attachments like sood5 occurs 0 with header line.
    data g_references like soxrl occurs 0 with header line.
    data g_authority like sofa-usracc.
    data g_ref_document like sood4.
    data g_new_parent like soodk.
    data: begin of g_files occurs 10 ,
      text(4096) type c,
       end of g_files.
    data : fold_number(12) type c,
           fold_yr(2) type c,
           fold_type(3) type c.
    parameters ws_file(4096) type c default 'c:\debugger.txt'.
    Can me any file fromyour pc ....either xls or word or ppt etc ...
    g_user-sapname = sy-uname.
    call function 'SO_USER_READ_API1'
    exporting
       user                            = g_user
       PREPARE_FOR_FOLDER_ACCESS       = ' '
    importing
       user_data                       = g_user_data
    EXCEPTIONS
       USER_NOT_EXIST                  = 1
       PARAMETER_ERROR                 = 2
       X_ERROR                         = 3
       OTHERS                          = 4
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    fold_type = g_user_data-outboxfol+0(3).
    fold_yr = g_user_data-outboxfol+3(2).
    fold_number =  g_user_data-outboxfol+5(12).
    clear g_files.
    refresh : g_objcnt,
      g_objhead,
      g_objpara,
      g_objparb,
      g_receipients,
      g_attachments,
      g_references,
      g_files.
    method1 = 'SAVE'.
    g_document-foltp  = fold_type.
    g_document-folyr   = fold_yr.
    g_document-folno   = fold_number.
    g_document-objtp   = g_user_data-object_typ.
    *g_document-OBJYR   = '27'.
    *g_document-OBJNO   = '000000002365'.
    *g_document-OBJNAM = 'MESSAGE'.
    g_document-objdes   = 'Manohar testing by program'.
    g_document-folrg   = 'O'.
    *g_document-okcode   = 'CHNG'.
    g_document-objlen = '0'.
    g_document-file_ext = 'TXT'.
    g_header-objdes =  'Manohar testing by program'.
    g_header-file_ext = 'TXT'.
    call function 'SO_DOCUMENT_REPOSITORY_MANAGER'
      exporting
        method             = method1
       office_user        = sy-uname
       ref_document       = g_ref_document
       new_parent         =  g_new_parent
    importing
       authority          =  g_authority
    tables
       objcont            = g_objcnt
       objhead            = g_objhead
       objpara            = g_objpara
       objparb            = g_objparb
       recipients         = g_receipients
       attachments        = g_attachments
       references         = g_references
       files              = g_files
      changing
        document           = g_document
       header_data        = g_header
      FOLMEM_DATA        =
      RECEIVE_DATA       =
    File from the pc to send...
    method1 = 'ATTCREATEFROMPC'.
    g_files-text = ws_file.
    append g_files.
    call function 'SO_DOCUMENT_REPOSITORY_MANAGER'
      exporting
        method             = method1
       office_user        = g_owner
       ref_document       = g_ref_document
       new_parent         =  g_new_parent
    importing
       authority          =  g_authority
    tables
       objcont            = g_objcnt
       objhead            = g_objhead
       objpara            = g_objpara
       objparb            = g_objparb
       recipients         = g_receipients
       attachments        = g_attachments
       references         = g_references
       files              = g_files
      changing
        document           = g_document
       header_data        = g_header
    method1 = 'SEND'.
    g_receipients-recnam = 'MK085'.
    g_receipients-recesc = 'B'.
    g_receipients-sndex = 'X'.
    append  g_receipients.
    call function 'SO_DOCUMENT_REPOSITORY_MANAGER'
      exporting
        method             = method1
       office_user        = g_owner
       ref_document       = g_ref_document
       new_parent         =  g_new_parent
    importing
       authority          =  g_authority
    tables
       objcont            = g_objcnt
       objhead            = g_objhead
       objpara            = g_objpara
       objparb            = g_objparb
       recipients         = g_receipients
       attachments        = g_attachments
       references         = g_references
       files              = g_files
      changing
        document           = g_document
       header_data        = g_header.
    Don't forget to reward if useful.......

  • Pages document will not share via email

    After completing a document in Pages and then want to email it, I click Share via email and then Word. Nothing happens. Not even an error message.
    Any ideas about why?

    When you attempt to send an IOS Pages v1.7+ (older Pages ’09 format) document via gmail, it arrives with the file extension .pages, and if Pages v5 is installed, the attached document acquires the new icon style.
    Within Apple Mail, you can hover over the horizontal line and with selection of the paperclip icon, you can open the .pages attachment with Quick Look. Again, if you have Pages v5 installed, the Open with Pages button in Quick Look will use that as a default version with the following cautionary dialog. If you press and hold on that Quick Look Open button, it will appear as the Finder's open with menu and you can choose to open in Pages v4.3.
    When you originate the .pages document from IOS Pages v2+ (new format compatible with Pages v5 on OS X), and choose to send it via Gmail (or iCloud), it will arrive as filename.pages.zip. This is a compressed file format that Pages v5 cannot access without first uncompressing it.
    If you revisit the original second paragraph above, Quick Look will show you a large compressed icon dialog. However, there is an uncompress button in the upper right that will open a new Finder window with the original .pages and .zip files within it. You can then select the .pages document and click Open with Pages. By default, this document will open in Pages v5 if installed, or fail in Pages v4.3 with the following warning dialog because of a document format mismatch. Anything Pages v5 opens is poisoned for subsequent Pages ’09 v4.3 access, unless first exported as Pages ’09 from within Pages v5.
    And intuitively, it is pointless to send a .pages document via email to anyone without the proper version of Pages installed.

  • My husband and I share an email address. He now wishes to have an itunes ie Apple account, but it won't let him as there is already an account with that email address- yes, of course, it's ME. How can we resolve this?

    My husband and I share an email address. he now has a new phone which requires a link with itunes; he'd also like an itunes account. However, when he tries to set up an account, he repeatedly gets told the user name  - ie our email address, is already taken. And then his attempt fails. SO surely two people with the same email address can have seperate apple accounts?

    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    If still problem contact iTunes
    Apple - Support - iTunes - Contact Us

  • Email attachment PDF format

    Gurus,
    Can any body logic for the below requirement for my Report. Report is also pasted. Thanks!
    Create a table as given in the requirement
    Table:
    Cleint   Jobname Email ID  Active  Subject Text  Body Text
                                                       SO10           SO10
    ·         The email part should contain the entire log and spool if available.
    ·         Once you have the job list, loop on the list and check if the job is defined in your custom table
    o   If you find an entry then
    §  Read the Job Log and convert it to HTML
    §  Read the spool if available and convert it to pdf
    §  Create an email with
    ·         To: Mail id from your custom table
    ·         Subject [ below: ]
    o   Then write the entire job log.
    o   Give one blank line
    o   If spool list is available the write else write
    o   Give one blank line
    o   Write
    ·         Attachment should contain the PDF attachment of the spool.
    o   If the email fails then Write (donu2019t give message) the Job name and message that email failed.
    o   If you donu2019t find a mail ID for the job Write (donu2019t give message) the Job name and message that email not found.
    ·         Continue to the next Job in your list.
    REPORT ZJOB_MONITORING.
    T A B L E S
    TABLES: tbtco.
    T Y P E - S P O O L S
    TYPE-POOLS: slis.
    T Y P E  D E C L A R A T I O N S
    *TYPES: BEGIN OF type_tbtco,
           include TYPE tbtco,
          END OF type_tbtco.
    TYPES: BEGIN OF type_output,
           STRTTIME TYPE tbtco-STRTTIME,
           strtdate TYPE tbtco-strtdate,
           jobname  TYPE tbtco-jobname,
           line     TYPE string,
           END OF type_output.
    S T R U C T U R E S
    DATA: s_tbtco  TYPE tbtco,
          s_joblog TYPE zsbb_uc4_joblog,
          s_output TYPE type_output.
    I N T E R N A L  T A B L E S
    DATA: i_tbtco  TYPE STANDARD TABLE OF tbtco,
          i_joblog TYPE STANDARD TABLE OF zsbb_uc4_joblog,
          i_output TYPE STANDARD TABLE OF type_output.
    DATA: Begin of itab_jobname OCCURS 0,
          jobname type tbtco-jobname,
          end of itab_jobname.
    DATA: Begin of itab_user OCCURS 0,
          jobname type tbtco-sdluname,
          end of itab_user.
    DATA: Begin of itab_stat OCCURS 0,
          jobname type tbtco-status,
          end of itab_stat.
    DATA: Begin of itab_uzeit occurs 0,
          uzeit type sy-uzeit,
          end of itab_uzeit.
    Heading of the report.
    DATA: t_heading TYPE slis_t_listheader.
    DATA : t_fieldcat TYPE slis_t_fieldcat_alv.
    S E L E C T I O N  S C R E E N
    SELECTION-SCREEN BEGIN OF BLOCK bl1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS: s_strtda FOR sy-datum,
                    s_lstrun FOR sy-uzeit OBLIGATORY,
                    s_jobnam FOR tbtco-jobname,
                    s_user   FOR tbtco-sdluname,
                    s_status FOR tbtco-status.
    PARAMETERS: p_email AS CHECKBOX.
    SELECTION-SCREEN END OF BLOCK bl1.
    "                         AT SELECTION-SCREEN
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_JOBNAM-LOW.
      PERFORM f4_JOBNAM-LOW.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_JOBNAM-HIGH.
      PERFORM f4_JOBNAM-HIGH.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_user-low.
      PERFORM f4_USER-LOW.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_user-high.
      PERFORM f4_USER-HIGH.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_status-low.
      PERFORM f4_STATUS-LOW.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_status-high.
      PERFORM f4_STATUS-HIGH.
    S T A R T  O F  S E L E C T I O N
    START-OF-SELECTION.
      PERFORM select_data.
    If email is checked.
    Send the output table as an email attachment to the distribution list.
    Get the email list from the config table. " ask from where to get it
      IF p_email = 'X'.
    Call FM 'SO_OBJECT_SEND'.
    Fill the fields which are not commented accordingly.
    CALL FUNCTION 'SO_OBJECT_SEND'
       EXPORTING
         OBJECT_HD_CHANGE = OBJECT_HD_CHANGE
         OBJECT_TYPE      = 'RAW'
         OWNER            = SY-UNAME
       TABLES
         OBJCONT          = TEXT
         OBJPARA          = OBJPARA
         RECEIVERS        = RECEIVERS
       EXCEPTIONS
         OTHERS           = 01.
    IF SY-SUBRC NE 0.
       RAISE ERROR.
    ENDIF.
    ENDIF.
    Prepare the ALV Report.
    PERFORM alv_grid_display.
    *&      Form  alv_grid_display
          text
    FORM alv_grid_display .
    alv required data objects.
      DATA: w_repid    TYPE syrepid,
            x_layout   TYPE slis_layout_alv,
            t_event    TYPE slis_t_event,
           t_fieldcat TYPE slis_t_fieldcat_alv,
            w_title    TYPE lvc_title,
            w_print    TYPE slis_print_alv,
            w_comm    TYPE slis_formname,
            flag       TYPE c VALUE 'N'.
      REFRESH t_fieldcat.
      REFRESH t_event.
      CLEAR   x_layout.
      CLEAR   w_title.
    Field Catalog
    PERFORM set_fieldcat2 USING:
       1 'strttime'   'BTCXTIME'   space           t_fieldcat ,
       2 'jobname'    'BTCJOB'     space           t_fieldcat ,
       3 'line'        space       'Job Log'       t_fieldcat .
    *PERFORM set_fieldcat2 USING:
       1 'strttime'   'BTCXTIME'   space     'I_OUTPUT'      t_fieldcat ,
       2 'jobname'    'BTCJOB'     space     'I_OUTPUT'      t_fieldcat ,
       3 'line'        space       'Job Log' 'I_OUTPUT'      t_fieldcat .
      PERFORM set_fieldcat.
    Layout
      x_layout-zebra = 'X'.
      x_layout-colwidth_optimize = 'X'.
    GUI Status
      w_repid = sy-repid .
    Top of page heading
    PERFORM set_top_page_heading USING t_heading t_event flag.
    call the FM 'REUSE_ALV_GRID_DISPLAY'
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
         i_callback_program                = w_repid
         is_layout                         = x_layout
         it_fieldcat                       = t_fieldcat
        IT_SORT                           =
         i_save                            = 'X'
         it_events                         = t_event
       TABLES
          t_outtab                         = i_output
       EXCEPTIONS
         program_error                     = 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.
    ENDFORM.                    " alv_grid_display
    *&      Form  set_top_page_heading
          text
    FORM set_top_page_heading  USING
                               t_heading TYPE slis_t_listheader
                               t_events  TYPE slis_t_event
                               flag      TYPE c.
      DATA: x_heading TYPE slis_listheader,
            x_event   TYPE LINE OF slis_t_event.
    Report title
      CLEAR t_heading[].
      CLEAR x_heading.
      x_heading-typ = 'H'.
      x_heading-info = 'Job Details'(002).
      APPEND x_heading TO t_heading.
    Name of the report program
      CLEAR x_heading.
      x_heading-typ = 'S'.
      x_heading-key = 'Report ID:'.
      x_heading-info = sy-repid.
      APPEND x_heading TO t_heading.
    User who is running the report
      CLEAR x_heading.
      x_heading-typ = 'S'.
      x_heading-key = 'User: '.
      x_heading-info = sy-uname.
      APPEND x_heading TO t_heading.
    Date of execution
      CLEAR x_heading.
      x_heading-typ = 'S'.
      x_heading-key = 'Date: '.
      WRITE sy-datum TO x_heading-info.
      APPEND x_heading TO t_heading.
    Time of execution
      CLEAR x_heading.
      x_heading-typ = 'S'.
      x_heading-key = 'Time: '.
      WRITE sy-uzeit TO x_heading-info.
      APPEND x_heading TO t_heading.
    Top of page event
      x_event-name = slis_ev_top_of_page.
      x_event-form = 'TOP_OF_PAGE'.
      APPEND x_event TO t_events.
    ENDFORM.                    " set_top_page_heading
    *&      Form  set_fieldcat2
          text
    FORM set_fieldcat2  USING
                        p_colpos p_fieldname p_ref_fieldname
                        p_seltext_m
                        p_tabname
                        t_fieldcat TYPE slis_t_fieldcat_alv.
      DATA: wa_fieldcat TYPE slis_fieldcat_alv.
      CLEAR wa_fieldcat.
    General settings
      wa_fieldcat-fieldname = p_fieldname.
      wa_fieldcat-col_pos = p_colpos.
    the ref_fieldname given is a data element.
      IF NOT p_ref_fieldname IS INITIAL.
        wa_fieldcat-rollname =   p_ref_fieldname.
      ENDIF.
    Set text headers.
      IF NOT p_seltext_m IS INITIAL.
        wa_fieldcat-seltext_m = p_seltext_m.
      ENDIF.
      wa_fieldcat-tabname = 'I_OUTPUT'.
      APPEND wa_fieldcat TO t_fieldcat.
    ENDFORM.                    " set_fieldcat2
    *&      Form  F4_JOBNAM-LOW
          text
    -->  p1        text
    <--  p2        text
    FORM F4_JOBNAM-LOW .
      SELECT jobname FROM tbtco
                  INTO TABLE itab_jobname.
      DELETE ADJACENT DUPLICATES FROM itab_jobname.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        exporting
      DDIC_STRUCTURE         = ' '
          retfield             = 'jobname'
      PVALKEY                = ' '
         DYNPPROG               = 'sy-repid'
         DYNPNR                 = '1000'
         DYNPROFIELD            = 's_jobnam-low'
      STEPL                  = 0
      WINDOW_TITLE           =
      VALUE                  = ' '
       VALUE_ORG               = 'S'
      MULTIPLE_CHOICE        = ' '
      DISPLAY                = ' '
      CALLBACK_PROGRAM       = ' '
      CALLBACK_FORM          = ' '
        tables
          value_tab            = itab_jobname
      FIELD_TAB              =
      RETURN_TAB             =
      DYNPFLD_MAPPING        =
    EXCEPTIONS
      PARAMETER_ERROR        = 1
      NO_VALUES_FOUND        = 2
      OTHERS                 = 3
      if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    ENDFORM.                    " F4_JOBNAM-LOW
    *&      Form  F4_JOBNAM-HIGH
          text
    -->  p1        text
    <--  p2        text
    FORM F4_JOBNAM-HIGH .
      SELECT jobname FROM tbtco
                    INTO TABLE itab_jobname.
      DELETE ADJACENT DUPLICATES FROM itab_jobname.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        exporting
      DDIC_STRUCTURE         = ' '
          retfield             = 'jobname'
      PVALKEY                = ' '
         DYNPPROG              = 'sy-repid'
         DYNPNR                = '1000'
         DYNPROFIELD           = 's_jobnam-high'
      STEPL                  = 0
      WINDOW_TITLE           =
      VALUE                  = ' '
       VALUE_ORG               = 'S'
      MULTIPLE_CHOICE        = ' '
      DISPLAY                = ' '
      CALLBACK_PROGRAM       = ' '
      CALLBACK_FORM          = ' '
        tables
          value_tab            = itab_jobname
      FIELD_TAB              =
      RETURN_TAB             =
      DYNPFLD_MAPPING        =
    EXCEPTIONS
      PARAMETER_ERROR        = 1
      NO_VALUES_FOUND        = 2
      OTHERS                 = 3
      if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    ENDFORM.                    " F4_JOBNAM-HIGH
    *&      Form  F4_USER-LOW
          text
    -->  p1        text
    <--  p2        text
    FORM F4_USER-LOW .
      SELECT sdluname  FROM tbtco
                    INTO TABLE itab_user.
      DELETE ADJACENT DUPLICATES FROM itab_user.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        exporting
      DDIC_STRUCTURE         = ' '
          retfield               = 'user'
      PVALKEY                = ' '
         DYNPPROG               = 'sy-repid'
         DYNPNR                 = '1000'
         DYNPROFIELD            = 's_user-low'
      STEPL                  = 0
      WINDOW_TITLE           =
      VALUE                  = ' '
       VALUE_ORG              = 'S'
      MULTIPLE_CHOICE        = ' '
      DISPLAY                = ' '
      CALLBACK_PROGRAM       = ' '
      CALLBACK_FORM          = ' '
        tables
          value_tab            = itab_user
      FIELD_TAB              =
      RETURN_TAB             =
      DYNPFLD_MAPPING        =
    EXCEPTIONS
      PARAMETER_ERROR        = 1
      NO_VALUES_FOUND        = 2
      OTHERS                 = 3
      if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    ENDFORM.                    " F4_USER-LOW
    *&      Form  F4_USER-HIGH
          text
    -->  p1        text
    <--  p2        text
    FORM F4_USER-HIGH .
      SELECT sdluname  FROM tbtco
                    INTO TABLE itab_user.
      DELETE ADJACENT DUPLICATES FROM itab_user.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        exporting
      DDIC_STRUCTURE         = ' '
          retfield               = 'user'
      PVALKEY                = ' '
         DYNPPROG               = 'sy-repid'
         DYNPNR                 = '1000'
         DYNPROFIELD            = 's_user-high'
      STEPL                  = 0
      WINDOW_TITLE           =
      VALUE                  = ' '
       VALUE_ORG              = 'S'
      MULTIPLE_CHOICE        = ' '
      DISPLAY                = ' '
      CALLBACK_PROGRAM       = ' '
      CALLBACK_FORM          = ' '
        tables
          value_tab            = itab_user
      FIELD_TAB              =
      RETURN_TAB             =
      DYNPFLD_MAPPING        =
    EXCEPTIONS
      PARAMETER_ERROR        = 1
      NO_VALUES_FOUND        = 2
      OTHERS                 = 3
      if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    ENDFORM.                    " F4_USER-HIGH
    *&      Form  F4_STATUS-LOW
          text
    -->  p1        text
    <--  p2        text
    FORM F4_STATUS-LOW .
      SELECT status  FROM tbtco
                    INTO TABLE itab_stat.
      DELETE ADJACENT DUPLICATES FROM itab_stat.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        exporting
      DDIC_STRUCTURE         = ' '
          retfield               = 'status'
      PVALKEY                = ' '
         DYNPPROG               = 'sy-repid'
         DYNPNR                 = '1000'
         DYNPROFIELD            = 's_status-low'
      STEPL                  = 0
      WINDOW_TITLE           =
      VALUE                  = ' '
       VALUE_ORG              = 'S'
      MULTIPLE_CHOICE        = ' '
      DISPLAY                = ' '
      CALLBACK_PROGRAM       = ' '
      CALLBACK_FORM          = ' '
        tables
          value_tab            = itab_stat
      FIELD_TAB              =
      RETURN_TAB             =
      DYNPFLD_MAPPING        =
    EXCEPTIONS
      PARAMETER_ERROR        = 1
      NO_VALUES_FOUND        = 2
      OTHERS                 = 3
      if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    ENDFORM.                    " F4_STATUS-LOW
    *&      Form  F4_STATUS-HIGH
          text
    -->  p1        text
    <--  p2        text
    FORM F4_STATUS-HIGH .
      SELECT status  FROM tbtco
                    INTO TABLE itab_stat.
      DELETE ADJACENT DUPLICATES FROM itab_stat.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        exporting
      DDIC_STRUCTURE         = ' '
          retfield               = 'status'
      PVALKEY                = ' '
         DYNPPROG               = 'sy-repid'
         DYNPNR                 = '1000'
         DYNPROFIELD            = 's_status-high'
      STEPL                  = 0
      WINDOW_TITLE           =
      VALUE                  = ' '
      VALUE_ORG              = 'C'
      MULTIPLE_CHOICE        = ' '
      DISPLAY                = ' '
      CALLBACK_PROGRAM       = ' '
      CALLBACK_FORM          = ' '
        tables
          value_tab              = itab_stat
      FIELD_TAB              =
      RETURN_TAB             =
      DYNPFLD_MAPPING        =
    EXCEPTIONS
      PARAMETER_ERROR        = 1
      NO_VALUES_FOUND        = 2
      OTHERS                 = 3
      if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    ENDFORM.                    " F4_STATUS-HIGH
    *&      Form  SELECT_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM SELECT_DATA .
    select the entries from the table TBTCO
    as per the selection screen
      SELECT * FROM tbtco
               INTO TABLE i_tbtco
               WHERE STRTTIME IN s_lstrun AND
                     strtdate IN s_strtda AND
                     jobname  IN s_jobnam AND
                     sdluname IN s_user   AND
                     status   IN s_status.
    Get the job details for the above jobs.
      LOOP AT i_tbtco INTO s_tbtco.
        CALL FUNCTION 'ZSBB_UC4_JOB_READ_LOG'
          EXPORTING
            client                = sy-mandt
            jobcount              = s_tbtco-jobcount
            joblog                = s_tbtco-joblog
            jobname               = s_tbtco-jobname
          TABLES
            joblog_tab            = i_joblog
          EXCEPTIONS
            cant_read_joblog      = 1
            jobcount_missing      = 2
            joblog_does_not_exist = 3
            joblog_is_empty       = 4
            joblog_name_missing   = 5
            jobname_missing       = 6
            job_does_not_exist    = 7
            OTHERS                = 8.
    Write the Error handling as needed.
        IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ELSE.
    Append entries to main table.
          s_output-STRTTIME = s_tbtco-STRTTIME.
          s_output-jobname  = s_tbtco-jobname.
          LOOP AT  i_joblog INTO s_joblog.
            s_output-line = s_joblog-text.
            APPEND s_output TO i_output.
            CLEAR s_output.
          ENDLOOP.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " SELECT_DATA
    *&      Form  SET_FIELDCAT
          text
    -->  p1        text
    <--  p2        text
    form SET_FIELDCAT .
      DATA: wa_fieldcat TYPE slis_fieldcat_alv.
      wa_fieldcat-col_pos = 1.
      wa_fieldcat-fieldname = 'STRTTIME'.
      wa_fieldcat-seltext_m = 'Start Time'.
      wa_fieldcat-tabname = 'I_OUTPUT'.
    wa_fieldcat-reptext = p_reptext.
      APPEND wa_fieldcat to t_fieldcat.
      wa_fieldcat-col_pos = 2.
      wa_fieldcat-fieldname = 'JOBNAME'.
      wa_fieldcat-seltext_m = 'Job Name'.
      wa_fieldcat-tabname = 'I_OUTPUT'.
    wa_fieldcat-reptext = p_reptext.
      APPEND wa_fieldcat to t_fieldcat.
      wa_fieldcat-col_pos = 3.
      wa_fieldcat-fieldname = 'LINE'.
      wa_fieldcat-seltext_m = 'Job Log'.
      wa_fieldcat-tabname = 'I_OUTPUT'.
      APPEND wa_fieldcat to t_fieldcat.
    endform.                    " SET_FIELDCAT
    Edited by: venkata on Aug 12, 2008 4:13 PM

    solved

  • Sending km document as an email attachment

    Hi all,
    I am trying to send a KM document as email attachment with the following peice of code. But I am getting FileNotFoundExceptio. Can anyone guide me as to where its going wrong. Any help will be appreciated.
    String filePath = "";
    ResourceContext ctx = new ResourceContext(getEP5User());
    RID rid = RID.getRID("/documents/LRForms/0000000054.pdf");
    IResource pdfResource =ResourceFactory.getInstance().getResource(rid, ctx);
    filePath =
         "irj\servlet\prt\portal\prtroot\com.sap.km.cm.docs\"
              + pdfResource.getRID().toString();
    Properties props = new Properties();
    props.put("mail.smtp.host", host);
    Session session = Session.getInstance(props, null);
    MimeMessage message = new MimeMessage(session);
    Address toAddress;
    Address fromAddress;
    Address ccAddress;
    Address bccAddress = new InternetAddress();
    MimeMultipart multipart = new MimeMultipart();
    BodyPart messageBodyPart = new MimeBodyPart();
    fromAddress = new InternetAddress("[email protected]");
    message.setFrom(fromAddress);
    toAddress = new InternetAddress("[email protected]");
    message.setRecipient(Message.RecipientType.TO, toAddress);
    message.setSubject("Subject");
    messageBodyPart.setText("Please find attached the details.");
    multipart.addBodyPart(messageBodyPart);
    messageBodyPart = new MimeBodyPart();
    DataSource source = new FileDataSource(filePath);
    messageBodyPart.setDataHandler(new DataHandler(source));
    messageBodyPart.setFileName(source.getName());
    messageBodyPart.setHeader("Content-Type", "application/pdf");
    multipart.addBodyPart(messageBodyPart);
    message.setContent(multipart);
    Transport.send(message);
    On executing this code I am getting following exception.
    MessagingException javax.mail.SendFailedException: Sending failed;  nested exception is: javax.mail.MessagingException: IOException while sending message;  nested exception is: java.io.FileNotFoundException
    Thanks and regards,
    Jaydeep

    Hi,
    Did you check permissions/security zone settings on the folder/file?
    Can you access the file directly from the browser?
    Regards,
    Omri

  • Simple Q. how to store/publish acrobat form and "return" as email attachment

    New to acrobat.com and wondering if this can be done (with acrobat.com).
    I have roughly 20 acrobat forms that I want to be accessible on the internet for about 5 specific people to access via the internet. The goal would be for them to click on the acrobat form, fill it out and then "return" it to me as an email attachment. The forms are not complex or long, typically 5 questions to respond to.
    So, I signed up for the free buzz option, uploaded a pdf form and saved it in a shared workspace. I see the file (test.pdf) in the all files section. The downward-pointing triangular arrow next to the file gives me the option of open vs download vs share among other choices. I really just want to open, but when I try that it says"this file is a pdf form. Please download the file and use adobe reader to fill out the form and submit your responses". I then click download it then asks for a location (this will be a problem-source of confusion). I save it to a location but that location already has that file and wants to  overwrite it-another problem. I quickly see that this is the wrong solution for me.
    So, can this be done with acrobat.com or should I be using something like dreamweaver and a personal web site? Thanks in advance.

    Hello there,
    Thank you for your post. What you would like to do is most easily achieved using Acrobat desktop software; this is a well-defined workflow, using Acrobat.com to distribute forms and collect responses, and deliver these responses to the Acrobat Tracker, where you can then analyze them and sort the data. If you're on a Windows machine, I recommend downloading a free 30-day trial of Acrobat Pro software, which you can get here:
    http://www.adobe.com/products/acrobatpro/tryout.html
    (Unfortunately, there is no trial available for Mac at this time.)
    Beyond that, there really isn't a more streamlined way to collect form responses with Acrobat.com; the Acrobat workflow works very well, however, and I encourage you to give it a shot. Here's a video that illustrates how it works:
    http://www.adobe.com/designcenter/video_workshop/?id=vid0348
    Please let me know if you have any further questions about Acrobat.com, and I will be happy to answer them for you.
    Best regards,
    Rebecca

  • Retrying Email Service fails for the stalled Operations:

    Hi,
    Some of the send email operations randomly fails due to invalid recipients address or some connectivity issues with SMTP server. Once we do the corrections to the service, and retry those stalled operations, its erring out with Java Nullpointer exception.
    Stalled operations work fine for other operations except for email service. Is this a Engineering issue with the Adobe design or do we need to change any configuration settings to make that work?
    Thanks for your time.
    Regards,
    Krishna

    Hi Aashish,
      Thanks for the response. Yes, it works good for new operations. It fails with Null pointer exception if I retry the stalled ones after corrections.
    This was the initial error -
    Failed to connect to email server: adobemailer@xxxxx. Reason: Could not connect to SMTP host: xxxxx, port: 25, response: 421: com.adobe.idp.dsc.email.ConnectionFailedException: Failed to connect to email server: adobemailer@xxxxx. Reason: Could not connect to SMTP host: xxxxx, port: 25, response: 421
    We corrected the problems with SMTP server and when we retried this stalled operation, this is what we see -
    ( Email has an attachment, I 'm thinking adobe is not catching up the attachments when I retry it again)
    com.adobe.idp.DocumentError: com.adobe.idp.DocumentError: java.lang.IllegalStateException: No transaction
              at com.adobe.idp.Document.getDataBuffer(Document.java:2134)
              at com.adobe.idp.dsc.email.EmailServiceImpl.assembleAttachments(EmailServiceImpl.java:533)
              at com.adobe.idp.dsc.email.EmailServiceImpl.setMessageBody(EmailServiceImpl.java:496)
              at com.adobe.idp.dsc.email.EmailServiceImpl.sendWithMapOfAttachments(EmailServiceImpl.java:4 26)
              at sun.reflect.GeneratedMethodAccessor7169.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    Regards,
    Krishna

  • New document: How to avoid known PDF email attachment problems

    Have you ever had problems with PDF attachments sent from Adobe Reader for iOS using Share > E-mail Document?
    You may find this document useful to avoid the problems.
    How to avoid known PDF email attachment problems
    Please let us know if you have encountered different types of problems with PDF attachments.  We can look for solutions or workarounds for you.

    Unfortunately, we (Adobe Reader mobile team) do not know if/when Apple will fix the attachment problems (software defects) in Apple Mail.
    In particular, the attachment problem with Microsoft Outlook (See Problem #2 in How to avoid known PDF email attachment problems) appears to be a long-standing defect that has been known for years.  However, Apple has not provided any fix for Apple Mail yet.
    Adobe Reader for iOS merely launches Apple Mail (the default mail app on iOS) to send a PDF document as an attachment.  Adobe Reader has no control over whether or not to embed a preview image of an attachment in the body of an email message, which is known to cause the problem with Microsoft Outlook (on the receiving side).  The same problem happens when you send a single-page PDF document as an attachment along with an email signature from Apple iBooks on iOS.
    For now, all iPad/iPhone users can do is to avoid the problems by using the workarounds that are described in How to avoid known PDF email attachment problems.
    When new and different problems with PDF attachments are reported by Adobe Reader for iOS users, we will update the document above.
    Sorry for the inconvenience.

Maybe you are looking for

  • Crashed while running V3.  Catalog now appears to have a "problem"...

    Standard configuration I've been running for MONTHS.  Asus P6T, i7 920, 6GB DDR3 memory, 4, 1TB disks.  Windows 7 Professional, 64-bit. Nothing special. In all the time I've been running this it HAS NEVER CRASHED.  I have NEVER gotten a BSOD.  It wor

  • Problem with Database_App_Tables_9.1.0.5.0 Connector

    Hi All, I am using Oracle Identity and Access Management 11g (11.1.1.5.0) and have configured the Database App Tables GTC for Trust Source Reconciliation. I am trying to implement the example configuration as specified in Appendix A of Connector Guid

  • Signature on text msg

    Can I add a signature to all of my outgoing text messages?  If so, how do I do it?

  • Datasources execution order

    Hi all. I have a problem on hand. I made a series of reports. Each of them use 2 SPs. One of them is used for retrieving the information which fills the columns in the report body The other SP retrieves information such as the Report Title and other

  • Warning: Unresponsive Plugin-Adobe Flashplayer-Works fine in Chrome and IE

    Adobe flash player crashes when watching videos- Only in Firefox. It works fine in Google Chrome I have screen shots if you would like them. thanks