Output send by email is having issue

Dear Experts,
In our project scenario we are facing below issue.
We are generating invoices in the background job as soon as invoices has been generated invoice output PDF will be generated and  immediately send to the customer via email.
Now we have got a complaint from the customer that, the data is not coming properly in the PDF for example delivery number are not coming in the invoice out put.
When we have checked the invoice from the customer we have seen the issue but when we have checked in the SAP system all the data is coming fine on the PDF
When we have discussed the same with technical team they are of the opinion that this is happening because time taken by the system to update data base tables
I just wanted to check your opinion why this is exactly happening

Hi,
I think this is due to the time lag taken by the system to execute the background job, this can be analysed through result analysis, please consult your technical consultant to try the same.
The solution i would suggest is to create  a seprate button for send email, so that once the data is saved, after that the email is sent.
Regards
Aadesh
Edited by: aadesh123 on Jun 3, 2011 1:06 PM
Edited by: aadesh123 on Jun 3, 2011 1:07 PM

Similar Messages

  • Block List ALV Output Send As Email Attachment

    Hi,  All The ABAP Gurus,
    I have made a block ALV Report. I want that this output should be converted into .xls with HTML format and this should be send in email as attachment. This all will be made in a background job which will be scheduled daily.
    How can I achieve this? I know that the output of classical report can be attached as pdf in email.But I want in Block ALV.
    Thanks in Advance.
    Regards,
    Bharti Jain
    Edited by: Bharti Jain on Jun 28, 2011 10:20 AM

    Hi
    Not 100 percent sure what you want to do here.  I am confused by the .xls in html format.   If you want the output in html you can submit the program and export the list to memory,  Then retrieve the list and convert it to html.  i have done this with the program 1sdbf12l/rv14akzy . see code below.  This converts the output to html, you are left with a binary itab and size at the end of the routine and this can be attached to an email.
    Submit Program and export the list to Memory
    SUBMIT /1sdbf12l/rv14akzy USING SELECTION-SCREEN '1000'
      WITH SELECTION-TABLE lt_params_new EXPORTING LIST TO MEMORY AND RETURN.
      CALL FUNCTION 'LIST_FROM_MEMORY'
        TABLES
          listobject = lt_list
        EXCEPTIONS
          not_found  = 1
          OTHERS     = 2.
    Convert the List to html
      IF sy-subrc = 0.
        DATA: it_html TYPE TABLE OF bapihtml WITH HEADER LINE,
              it_html_out TYPE TABLE OF bapihtml WITH HEADER LINE,
              lt_html TYPE TABLE OF bapihtml WITH HEADER LINE,
              lv_html LIKE LINE OF it_html,
              lv_html_out TYPE string.
        DATA: lv_html_tab_wide(50000) TYPE c.
        DATA: lineno TYPE i, length TYPE i, size TYPE i.
        DATA: gui_codepage(4) TYPE n,        " added for message 500824
              is_unicode TYPE rststype-sel_ok.
        DATA: convert_output TYPE xstring,
              convert_buffer TYPE xstring.
        CALL FUNCTION 'LIST_FREE_MEMORY'
          TABLES
            listobject = lt_list.
        CALL FUNCTION 'WWW_HTML_FROM_LISTOBJECT'
             EXPORTING
                  REPORT_NAME   =
                  template_name = 'WEBREPORTING_REPORT'
             TABLES
                  html          =  it_html
                  listobject    =  lt_list.
        DESCRIBE TABLE it_html LINES lineno .
        DESCRIBE FIELD it_html LENGTH length IN BYTE MODE.
        size = length * lineno.
        CALL 'CUR_LCL' ID 'GUICP'  FIELD gui_codepage.
        CALL FUNCTION 'SCP_GET_CODEPAGE_PROPERTIES'
          EXPORTING
            codepage         = gui_codepage
          IMPORTING
            can_unicode      = is_unicode
          EXCEPTIONS
            codepage_unknown = 1.
        IF sy-subrc <> 0.
          CLEAR gui_codepage.
        ENDIF.
        IF is_unicode EQ 'X'.         "in case of unicode, always use utf-8
          gui_codepage = '4110'.
        ENDIF.
        CLEAR: convert_output, convert_buffer.
        LOOP AT it_html INTO lv_html.
          REPLACE ALL OCCURRENCES OF c_bg_def IN lv_html WITH c_bg_white.
          CALL FUNCTION 'SCP_TRANSLATE_CHARS'
            EXPORTING
              inbuff           = lv_html
              outcode          = gui_codepage
              csubst           = 'X'
              substc_space     = 'X'
            IMPORTING
              outbuff          = convert_output
            EXCEPTIONS
              invalid_codepage = 1
              internal_error   = 2
              cannot_convert   = 3
              fields_bad_type  = 4
              OTHERS           = 5.
          IF sy-subrc <> 0.
           message i020 raising download_error.
          ENDIF.
          CONCATENATE convert_buffer convert_output INTO convert_buffer IN
          BYTE MODE.
          CONCATENATE lv_html_out lv_html INTO lv_html_out.
        ENDLOOP.
        ev_html_string = lv_html_out.
        i = 0.
        DESCRIBE FIELD html_tab_converted LENGTH tablength IN BYTE MODE.
        WHILE i < XSTRLEN( convert_buffer ).
          dummy = XSTRLEN( convert_buffer ) - i.
          IF tablength > dummy.
            html_tab_converted-line = convert_buffer+i(dummy).
          ELSE.
            html_tab_converted-line = convert_buffer+i(tablength).
          ENDIF.
          i = i + tablength.
          APPEND html_tab_converted.
        ENDWHILE.
        et_bin[] = html_tab_converted[].
        ev_bin_size = size.

  • Is it possible to send group emails without having to select each email address individually?

    Does anyone know how to set up a group so that you can send an email to multiple emails addresses with one click? I often send to the same 5 people and feel there's got to be a way to avoid typing in all of their names/email addresses each time. I can do it on yahoo!, gmail, outlook, etc...

    Not natively.  There are apps in the app store you can search for that do that.

  • RSVTPROT report output send via email

    Hi Experts,
    Are there any means of sending the report of RSVTPROT through email? Is this feature included in the standard program? Thanks a lot!
    Best Regards,
    Kurtt

    Hi,
    I hope the below link can help you.
    Send the Report output to email from spool
    Thanks,
    Khushboo.

  • People sending me email are having their email returned as spam

    I have been trying to rid my computer of spam emails.  Now, however, some people that I need to receive emails from are having their emails returned because their emails are being blocked as Spam.  How do I correct this?

    Ydnul, welcome to the forum.
    This is due to the settings in your email or your antivirus program.  You most likely have the Privacy setting too restrictive.  Check these settings.  If you are using IE, you can find the settings in the gear at the top right of the browser.
    Please click the "Thumbs up + button" if I have helped you and click "Accept as Solution" if your problem is solved.
    Signature:
    HP TouchPad - 1.2 GHz; 1 GB memory; 32 GB storage; WebOS/CyanogenMod 11(Kit Kat)
    HP 10 Plus; Android-Kit Kat; 1.0 GHz Allwinner A31 ARM Cortex A7 Quad Core Processor ; 2GB RAM Memory Long: 2 GB DDR3L SDRAM (1600MHz); 16GB disable eMMC 16GB v4.51
    HP Omen; i7-4710QH; 8 GB memory; 256 GB San Disk SSD; Win 8.1
    HP Photosmart 7520 AIO
    ++++++++++++++++++
    **Click the Thumbs Up+ to say 'Thanks' and the 'Accept as Solution' if I have solved your problem.**
    Intelligence is God given; Wisdom is the sum of our mistakes!
    I am not an HP employee.

  • Email and editor issues

    I am having several issues with Elements 11.  I cant e-mail photos using the share>e-mail, i have tried to use the adobe e-mail service but it doesn't work and does windows live even work anymore?  when I am in the organizer and want to do a full edit it will not open the picture in the editor, it does open the editor but not the picture.

    I'm sorry you're having problems with the email services.  The issue you're describing is related to the timeout feature of the website; for your security, the website will timeout and require you to login again in order to access information and/or process a request (such as sending an email).  The issue of the timeout comes into play when writing a long email or allowing the page to sit without making any movement or changes; typing in the email window does not constitute active movement.  What I would suggest is that when writing a long email, use a word processing program (like Microsoft Word) to compose the email, then sign-in to your email account and copy/paste the message.  This way you will not lose your email or have to worry about the timeout feature.  Also, if you have email programs on your computer (i.e. - Outlook Express, etc.), you can configure those to work with the Verizon email service so you'll no longer have to login to the website for access.
    Please let me know if you have any other questions.  Thanks!
    Karl
    Verizon Support
    Notice: Content posted by Verizon employees is meant to be informational and does not supersede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or Plan.

  • Email and hyperlink issues

    Hopefully this makes sense...let's get started!!!
    I have a dynamic text box with a list of names that i want to
    make email links. In the property inspect window i have inserted
    the "mailto:" with email address but when i publish the page no
    WORKY..very frustrating...what am I doing wrong.
    The same thing is happening with a list of web address i am
    trying to input.
    PLEASE HELP
    much appreciated
    chris

    I'm sorry you're having problems with the email services.  The issue you're describing is related to the timeout feature of the website; for your security, the website will timeout and require you to login again in order to access information and/or process a request (such as sending an email).  The issue of the timeout comes into play when writing a long email or allowing the page to sit without making any movement or changes; typing in the email window does not constitute active movement.  What I would suggest is that when writing a long email, use a word processing program (like Microsoft Word) to compose the email, then sign-in to your email account and copy/paste the message.  This way you will not lose your email or have to worry about the timeout feature.  Also, if you have email programs on your computer (i.e. - Outlook Express, etc.), you can configure those to work with the Verizon email service so you'll no longer have to login to the website for access.
    Please let me know if you have any other questions.  Thanks!
    Karl
    Verizon Support
    Notice: Content posted by Verizon employees is meant to be informational and does not supersede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or Plan.

  • Email and interent issues

    I have had both Fios and Comcast andI have to say that comcast is much more reliable. My biggest issue is email. Right now I log into email and click on view emails and it asks me to log in again. At times when I compose an email and click sent it fails, erasing the email and obviously not sending it. To me a stable system is much better than receiving these upgrades that are unwanted.

    I'm sorry you're having problems with the email services.  The issue you're describing is related to the timeout feature of the website; for your security, the website will timeout and require you to login again in order to access information and/or process a request (such as sending an email).  The issue of the timeout comes into play when writing a long email or allowing the page to sit without making any movement or changes; typing in the email window does not constitute active movement.  What I would suggest is that when writing a long email, use a word processing program (like Microsoft Word) to compose the email, then sign-in to your email account and copy/paste the message.  This way you will not lose your email or have to worry about the timeout feature.  Also, if you have email programs on your computer (i.e. - Outlook Express, etc.), you can configure those to work with the Verizon email service so you'll no longer have to login to the website for access.
    Please let me know if you have any other questions.  Thanks!
    Karl
    Verizon Support
    Notice: Content posted by Verizon employees is meant to be informational and does not supersede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or Plan.

  • Convert spool to PDF and send as email attachment

    When i try to convert SAP spool to PDF and send it as email attachment,  size of PDF document becomes large as compared to size of the PDF cocument i download using the same spool.
    I am using following FMs.
    CONVERT_ABAPSPOOLJOB_2_PDF to convert spool to PDF
    and
    SO_NEW_DOCUMENT_ATT_SEND_API1 to send email with attchment.
    some times size of attchment exceeds 2MB and email results in error in SAP connect (SOST).
    Any idea on how to compress the PDF attchment??
    Thanks

    Hi Venkat,
    Can you plesae assist me.
    I have a requirement to convert spool to pdf
    send an email to users
    issue is that attachement is big cant go through
    I have used compress, but when I open the pdf file error that file was not correclty decoded
    please assist, anyone

  • HAving issues in sending txt attachment in abap email pgm

    Hi,
        I need to send an email from my Abap program with a txt attachment in the flowing format:
    We are glad to see these results
    Kindly forward the details                                        Number
    Vendor details:123
    However, this is not getting formatted properly and the txt file is getting unnessacary spaces. I am working in ECC 6 and is Unicode complaint.
    I am not able to format this in the txt attachment.
    I am providing the sample code as below.Please kindly help me.Thanks!
    Creation of the document to be sent File Name
      maildata-obj_name = 'Payee extraction data'. "EC NOTEXT
    Mail Subject
      maildata-obj_descr = 'Payee Positive pay'. "EC NOTEXT
    Mail Contents
      loop at lt_file into l_file.
        mailtxt-line = l_file.
      xtex1-line = l_file.
      append xtex1.
        append mailtxt.
      endloop.
      clear:    mailpack, mailbin, mailhead.
      refresh:  mailpack, mailbin, mailhead.
      describe table mailtxt lines tab_lines.
      read table mailtxt index tab_lines.
      maildata-doc_size = ( tab_lines - 1 ) * 255 + strlen( mailtxt ).
    Creation of the entry for the compressed document
      clear mailpack-transf_bin.
      mailpack-head_start = 1.
      mailpack-head_num = 0.
      mailpack-body_start = 1.
      mailpack-body_num = tab_lines.
      mailpack-doc_type = 'RAW'.
      append mailpack.
      mailhead = 'PayeePositivepay.txt'.
      append mailhead.
    Mail Contents
      loop at lt_file into l_file.
        mailbin-line = l_file.
        append mailbin.
      endloop.
    break-point.
      describe table mailbin lines tab_lines.
      mailpack-transf_bin = 'X'.
      mailpack-head_start = 1.
      mailpack-head_num = 1.
      mailpack-body_start = 1.
      mailpack-body_num = tab_lines.
      mailpack-doc_type = 'txt'.
      mailpack-obj_name = 'payee'.
      mailpack-obj_descr = 'Subject'. "EC NOTEXT
      mailpack-doc_size = tab_lines * 140.
      append mailpack.
    Get the neccessary email ids from the table
      SELECT * FROM ZFI_EMAILIDS INTO table I_ZFI_EMAILIDS.
      LOOP AT I_ZFI_emailids.
        mailrec-receiver = i_zfi_emailids-zemailid .
        mailrec-rec_type  = 'U'.
        mailrec-com_type = 'INT'.
        mailrec-notif_del = 'X'.
        mailrec-notif_ndel = 'X'.
        mailrec-express = 'X'.
        append mailrec.
      endloop.
    Sending the document
      call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = maildata
          put_in_outbox              = 'X'
          commit_work                = 'X'
        TABLES
          packing_list               = mailpack
          object_header              = mailhead
          contents_bin               = mailbin[]
          contents_txt               = mailtxt
         CONTENTS_HEX               = xtex
          receivers                  = mailrec
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          operation_no_authorization = 4
          others                     = 99.
    endform.                    "send_email

    Hi,
    You need to use attribute CL_ABAP_CHAR_UTILITIES=> NEWLINE or CR to use format the mail contents.

  • Cannot send email- Possible firewall issue

    Hi all,
    I have recently downloaded firefox, which was meant to replace safari on my macbook. Since doing this I have been having issues in sending emails from my aol accounts on mail.
    Does anyone know how to rectify this so that I can send emails again as I need it for my business.
    Thank you in advance.
    Laura

    I too am having trouble sending emails on my mac but can receive ok.
    Sometimes I can send mail but most times it just times out. I have spoken to my service provider but they insist that it is something to do at my end.
    I have recently installed a Apple Base station with modem attached. This has been a problem since I added this device. Before I used a D-link route which was ok for years until it died.
    I have read several discussing that talk about changing the MTU settings on the mac using terminal. Surely this can not be the way? And to have to do it every time you log in sounds mad.
    I set the MTU on the modem to 1431 when speaking with my service provider but this didn't make any changes.
    Any ideas what I can do?

  • Why all of a sudden am I having difficulty sending Gmail emails? I get a send error. When I run diagnostics there is a SMTP and IMAP account for Gmail and I am not sure how to fix this.

    Why all of a sudden am I having difficulty sending Gmail emails? I get a send error. When I run diagnostics there is a SMTP and IMAP account for Gmail and I am not sure how to fix this.

    Hi jodilynnf,
    When using Connection Doctor to see what is could be causing the issue, look for the red dots to let you know what is wrong. Then all you have to do is correct that information. You can double click on the section that is giving you issue and it will take you there. Most issues could be just password being entered incorrectly. Take a look at the article below to walk you through troubleshooting issues with Mail.
    OS X Mail: Troubleshooting sending and receiving email messages
    http://support.apple.com/en-us/TS3276
     Take it easy,
    -Norm G.

  • Sending Yahoo Email Issues

    I have been experiencig intermittent issues with sending my Yahoo email. I will get the bar on bottom/ swoosh sound, so it looks like it was sent, but does not show up in Sent Mail, nor does recipient receive.
    I also have Google account, but no issues.
    I have tried the following to resolve:
    • iphone reset
    • iphone power cycle
    • deleting/ re-adding email account
    • changing push setting to off, then back on
    Anyone having similar issues? Were you able to resolve?
    Thank you!

    I have the same problem: sometimes if my WiFi connection is weak, it takes longer to send an email... after waiting 30 seconds or so, I finally hear the swoosh sound, and the email looks like it has been sent. However, Yahoo Mail on the desktop doesn't show that the mail has been sent, and the recipient hasn't received it.
    This has happened to me on many occasions. I bet I could reproduce it like this:
    1. Establish an active WiFi connection and collect new mail.
    2. Compose a new email message or reply.
    3. Touch the Send button.
    4. Immediately unplug the Airport base station (or its Ethernet connection) to interrupt the network.
    5. Notice that it seems to take much longer than usual to send the email. Once you hear the swoosh, log in to Yahoo Mail account and look for the email in the Sent folder. Notice that it is not there.
    I would assume the software should fail and retry using the Edge connection, but in my situation, this doesn't seem to happen, or if it does, it still fails.
    It would be nice if someone from Apple could confirm this bug and let us know they're working on it.

  • Having issues sending mail through mac mail on my imac .Have 4 accounts

    I am having issues sending emails through mac mail. Have 4 accounts and they are all having same issues
    Can receive mail ok
    have tired rebuilding the mail box but no improvment.
    i need to shut down system and restart to be able to send mail.

    I tried something similar by adding a new mail account doing the apple id etc but it worked in that it would look for mail but no mail would come even though mail still goes to my phone I was loath to delete my original account just in case the new one did not work as well. So I guess I am a little stuck now.. I hope you can help me to sort it out.
    Thanks

  • Sending smartform output to external email id

    here the issue is ,,'
    in pa40..m
    after changing the start date of pernr ...
    if i click on save button i  have to generate one  smartform based on the pernr and bedga ..
    after i have to send that smartform output to external email id dynamically ..
    please help me in this...
    Moderator message: please search for available information/documentation before asking, your posts are pain to read, use normal punctuation, capitalization, do not open multiple threads for the same issue.
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    Edited by: Thomas Zloch on Nov 10, 2010 1:56 PM

    Hi Swati,
    Try to maintain an auto-forwarding email address for this user using transaction SO36 and check if that solves your problem.
    Regards,
    Jigar

Maybe you are looking for

  • How do i connect to my xbox 360 wireless

    Ive tried the xbox 360 website but it was very unhelpfull i was hopeing that someone could tell me how to acsess my routers settings and connect the xbox 360 and my computer for xbox live.

  • Problem in JCO Connection

    I have installed SAP Netweaver Sneak Preview SP18 and getting the following error message while configuring the JCO. Any clue???? com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM  TYPE=B MS

  • Error when activating a DB infosource

    Gurus, I receive the following error when activitang an Oracle DB infosource.  I searched in SAP notes, and did not find an answer. Any idea what is wrong? -Jeff Error generating program Message no. RSAR245 Diagnosis An error occurred in the program

  • 2010 MacBook pro overheated and won't turn on...

    My summer 2010 MacBook pro now running osx 10.7.3 with latest MacBook Pro EFI Firmware Update 2.6 suddenly started to heat up and will now not turn on.  I did notice the display flickering in recent days.  Any ideas?

  • I can't open Iphoto because of a "?" on the logo on the dock

    My problem is I can not open Iphoto. I'm afraid not to find my photos again....all of these are in.. Actually, a "?" is on the logo on the dock. When I click on it, there is just "option > delete the app". Can somebody help me please !!? Thanks