Regarding Email Posting

Hi Dudes
    I have the following requirement:
I am doing 1 script and I have to convert that script output to PDF Formatt and then I have to send that PDF form to multiple users using email ids.
Can anyone let me know the procedure.
Points are assured for correct answers.
Regards,
kumar

Hi Kumar,
Check this code.
*& Report  ZSPOOLTOPDF                                                 *
*& Converts spool request into PDF document and emails it to           *
*& recipicant.                                                         *
*& Execution                                                           *
*& This program must be run as a background job in-order for the write *
*& commands to create a Spool request rather than be displayed on      *
*& screen                                                              *
REPORT  zspooltopdf.
PARAMETER: p_email1 LIKE somlreci1-receiver
                                    DEFAULT '[email protected]',
           p_sender LIKE somlreci1-receiver
                                    DEFAULT '[email protected]',
           p_delspl  AS CHECKBOX.
*DATA DECLARATION
DATA: gd_recsize TYPE i.
Spool IDs
TYPES: BEGIN OF t_tbtcp.
        INCLUDE STRUCTURE tbtcp.
TYPES: END OF t_tbtcp.
DATA: it_tbtcp TYPE STANDARD TABLE OF t_tbtcp INITIAL SIZE 0,
      wa_tbtcp TYPE t_tbtcp.
Job Runtime Parameters
DATA: gd_eventid LIKE tbtcm-eventid,
      gd_eventparm LIKE tbtcm-eventparm,
      gd_external_program_active LIKE tbtcm-xpgactive,
      gd_jobcount LIKE tbtcm-jobcount,
      gd_jobname LIKE tbtcm-jobname,
      gd_stepcount LIKE tbtcm-stepcount,
      gd_error    TYPE sy-subrc,
      gd_reciever TYPE sy-subrc.
DATA:  w_recsize TYPE i.
DATA: gd_subject   LIKE sodocchgi1-obj_descr,
      it_mess_bod LIKE solisti1 OCCURS 0 WITH HEADER LINE,
      it_mess_att LIKE solisti1 OCCURS 0 WITH HEADER LINE,
      gd_sender_type     LIKE soextreci1-adr_typ,
      gd_attachment_desc TYPE so_obj_nam,
      gd_attachment_name TYPE so_obj_des.
Spool to PDF conversions
DATA: gd_spool_nr LIKE tsp01-rqident,
      gd_destination LIKE rlgrap-filename,
      gd_bytecount LIKE tst01-dsize,
      gd_buffer TYPE string.
Binary store for PDF
DATA: BEGIN OF it_pdf_output OCCURS 0.
        INCLUDE STRUCTURE tline.
DATA: END OF it_pdf_output.
CONSTANTS: c_dev LIKE  sy-sysid VALUE 'DEV',
           c_no(1)     TYPE c   VALUE ' ',
           c_device(4) TYPE c   VALUE 'LOCL'.
*START-OF-SELECTION.
START-OF-SELECTION.
Write statement to represent report output. Spool request is created
if write statement is executed in background. This could also be an
ALV grid which would be converted to PDF without any extra effort
  WRITE 'Hello World'.
  new-page.
  commit work.
  new-page print off.
  IF sy-batch EQ 'X'.
    PERFORM get_job_details.
    PERFORM obtain_spool_id.
Alternative way could be to submit another program and store spool
id into memory, will be stored in sy-spono.
*submit ZSPOOLTOPDF2
       to sap-spool
       spool parameters   %_print
       archive parameters %_print
       without spool dynpro
       and return.
Get spool id from program called above
IMPORT w_spool_nr FROM MEMORY ID 'SPOOLTOPDF'.
    PERFORM convert_spool_to_pdf.
    PERFORM process_email.
    if p_delspl EQ 'X'.
      PERFORM delete_spool.
    endif.
    IF sy-sysid = c_dev.
      wait up to 5 seconds.
      SUBMIT rsconn01 WITH mode   = 'INT'
                      WITH output = 'X'
                      AND RETURN.
    ENDIF.
  ELSE.
    SKIP.
    WRITE:/ 'Program must be executed in background in-order for spool',
            'request to be created.'.
  ENDIF.
      FORM obtain_spool_id                                          *
FORM obtain_spool_id.
  CHECK NOT ( gd_jobname IS INITIAL ).
  CHECK NOT ( gd_jobcount IS INITIAL ).
  SELECT * FROM  tbtcp
                 INTO TABLE it_tbtcp
                 WHERE      jobname     = gd_jobname
                 AND        jobcount    = gd_jobcount
                 AND        stepcount   = gd_stepcount
                 AND        listident   <> '0000000000'
                 ORDER BY   jobname
                            jobcount
                            stepcount.
  READ TABLE it_tbtcp INTO wa_tbtcp INDEX 1.
  IF sy-subrc = 0.
    message s004(zdd) with gd_spool_nr.
    gd_spool_nr = wa_tbtcp-listident.
    MESSAGE s004(zdd) WITH gd_spool_nr.
  ELSE.
    MESSAGE s005(zdd).
  ENDIF.
ENDFORM.
      FORM get_job_details                                          *
FORM get_job_details.
Get current job details
  CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
       IMPORTING
            eventid                 = gd_eventid
            eventparm               = gd_eventparm
            external_program_active = gd_external_program_active
            jobcount                = gd_jobcount
            jobname                 = gd_jobname
            stepcount               = gd_stepcount
       EXCEPTIONS
            no_runtime_info         = 1
            OTHERS                  = 2.
ENDFORM.
      FORM convert_spool_to_pdf                                     *
FORM convert_spool_to_pdf.
  CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
       EXPORTING
            src_spoolid              = gd_spool_nr
            no_dialog                = c_no
            dst_device               = c_device
       IMPORTING
            pdf_bytecount            = gd_bytecount
       TABLES
            pdf                      = it_pdf_output
       EXCEPTIONS
            err_no_abap_spooljob     = 1
            err_no_spooljob          = 2
            err_no_permission        = 3
            err_conv_not_possible    = 4
            err_bad_destdevice       = 5
            user_cancelled           = 6
            err_spoolerror           = 7
            err_temseerror           = 8
            err_btcjob_open_failed   = 9
            err_btcjob_submit_failed = 10
            err_btcjob_close_failed  = 11
            OTHERS                   = 12.
  CHECK sy-subrc = 0.
Transfer the 132-long strings to 255-long strings
  LOOP AT it_pdf_output.
    TRANSLATE it_pdf_output USING ' ~'.
    CONCATENATE gd_buffer it_pdf_output INTO gd_buffer.
  ENDLOOP.
  TRANSLATE gd_buffer USING '~ '.
  DO.
    it_mess_att = gd_buffer.
    APPEND it_mess_att.
    SHIFT gd_buffer LEFT BY 255 PLACES.
    IF gd_buffer IS INITIAL.
      EXIT.
    ENDIF.
  ENDDO.
ENDFORM.
      FORM process_email                                            *
FORM process_email.
  DESCRIBE TABLE it_mess_att LINES gd_recsize.
  CHECK gd_recsize > 0.
  PERFORM send_email USING p_email1.
perform send_email using p_email2.
ENDFORM.
      FORM send_email                                               *
-->  p_email                                                       *
FORM send_email USING p_email.
  CHECK NOT ( p_email IS INITIAL ).
  REFRESH it_mess_bod.
Default subject matter
  gd_subject         = 'Subject'.
  gd_attachment_desc = 'Attachname'.
CONCATENATE 'attach_name' ' ' INTO gd_attachment_name.
  it_mess_bod        = 'Message Body text, line 1'.
  APPEND it_mess_bod.
  it_mess_bod        = 'Message Body text, line 2...'.
  APPEND it_mess_bod.
If no sender specified - default blank
  IF p_sender EQ space.
    gd_sender_type  = space.
  ELSE.
    gd_sender_type  = 'INT'.
  ENDIF.
Send file by email as .xls speadsheet
  PERFORM send_file_as_email_attachment
                               tables it_mess_bod
                                      it_mess_att
                                using p_email
                                      'Example .xls documnet attachment'
                                      'PDF'
                                      gd_attachment_name
                                      gd_attachment_desc
                                      p_sender
                                      gd_sender_type
                             changing gd_error
                                      gd_reciever.
ENDFORM.
      FORM delete_spool                                             *
FORM delete_spool.
  DATA: ld_spool_nr TYPE tsp01_sp0r-rqid_char.
  ld_spool_nr = gd_spool_nr.
  CHECK p_delspl <> c_no.
  CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
       EXPORTING
            spoolid = ld_spool_nr.
ENDFORM.
*&      Form  SEND_FILE_AS_EMAIL_ATTACHMENT
      Send email
FORM send_file_as_email_attachment tables it_message
                                          it_attach
                                    using p_email
                                          p_mtitle
                                          p_format
                                          p_filename
                                          p_attdescription
                                          p_sender_address
                                          p_sender_addres_type
                                 changing p_error
                                          p_reciever.
  DATA: ld_error    TYPE sy-subrc,
        ld_reciever TYPE sy-subrc,
        ld_mtitle LIKE sodocchgi1-obj_descr,
        ld_email LIKE  somlreci1-receiver,
        ld_format TYPE  so_obj_tp ,
        ld_attdescription TYPE  so_obj_nam ,
        ld_attfilename TYPE  so_obj_des ,
        ld_sender_address LIKE  soextreci1-receiver,
        ld_sender_address_type LIKE  soextreci1-adr_typ,
        ld_receiver LIKE  sy-subrc.
data:   t_packing_list like sopcklsti1 occurs 0 with header line,
        t_contents like solisti1 occurs 0 with header line,
        t_receivers like somlreci1 occurs 0 with header line,
        t_attachment like solisti1 occurs 0 with header line,
        t_object_header like solisti1 occurs 0 with header line,
        w_cnt type i,
        w_sent_all(1) type c,
        w_doc_data like sodocchgi1.
  ld_email   = p_email.
  ld_mtitle = p_mtitle.
  ld_format              = p_format.
  ld_attdescription      = p_attdescription.
  ld_attfilename         = p_filename.
  ld_sender_address      = p_sender_address.
  ld_sender_address_type = p_sender_addres_type.
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 = ld_mtitle .
  w_doc_data-sensitivty = 'F'.
Fill the document data and get size of attachment
  CLEAR w_doc_data.
  READ TABLE it_attach INDEX w_cnt.
  w_doc_data-doc_size =
     ( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
  w_doc_data-obj_langu  = sy-langu.
  w_doc_data-obj_name   = 'SAPRPT'.
  w_doc_data-obj_descr  = ld_mtitle.
  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.
  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   =  ld_format.
  t_packing_list-obj_descr  =  ld_attdescription.
  t_packing_list-obj_name   =  ld_attfilename.
  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.
  t_receivers-receiver = ld_email.
  t_receivers-rec_type = 'U'.
  t_receivers-com_type = 'INT'.
  t_receivers-notif_del = 'X'.
  t_receivers-notif_ndel = 'X'.
  APPEND t_receivers.
  CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
       EXPORTING
            document_data              = w_doc_data
            put_in_outbox              = 'X'
            sender_address             = ld_sender_address
            sender_address_type        = ld_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.
Populate zerror return code
  ld_error = sy-subrc.
Populate zreceiver return code
  LOOP AT t_receivers.
    ld_receiver = t_receivers-retrn_code.
  ENDLOOP.
ENDFORM.
Hope this resolves your query.
Reward all the helpful answers.
Regards

Similar Messages

  • Still waiting for a response from Adobe regarding the post "Printing a pdf from a marked-up pdf".

    Still waiting for a response from Adobe regarding the post "Printing a pdf from a marked-up pdf" dated 15 Dec 2012 9:20 AM.

    Look everyone that comes here with a support problems has gone through all the normal channels, around and  round in circles with no one seeming to be interested. They've called every phone number, every email address they can find. They have been put on hold and bounced fifty times to another operator only to be hung up on. If Adobe would bring back support to main land and have people that know what's going on instead of having people that people can barely understand read from scripts. Scripted information only applies about 10 % of the time. I'm just giving people an alternative. after they have torn their hair out going the normal route.  If they had been able to get a solution they wouldn't be coming here for help.
    There should be a forum set up just for people to air these issues and Adobe employees forced to man it. Then we wouldn't have to have such a Bad attitude. Right now Adobe's Support reputation is worse than Intuit's which did have the absolutely worse on the Planet. Now they are number 2.
    You know it yourself that Adobe's support is absolutely worse than terible. However to prevent me from being banned from the forums I will simply will provide the adobecare email address from now on
    So let's sweep it under the rug.

  • Email Posts are generating duplicate entries in ShaerPoint Discussion Forum.

    If i send one email post name it as "Test Post" then on SharePoint site i can see multiple posts with the same name.
    when i open all the duplicate posts in new window its displaying with some random number at the end of the subject.
    Multiple Post with different Subjects:
    Test Post 2937
    Test Post 9315
    Test Post
    Please suggest me in this case. I want to make sure that SharePoint discussion site should not contain any duplicate posts.

    Hi Pazhanivelu,
    I tested the same scenario per your post in my environment, however the no duplicated posts were created in the discussion board list.
    Per my knowledge, the emails be sent to SharePoint will be stored in the folder which by default is located at C:\inetpub\mailroot\Drop.
    I recommend to verify the things below:
    Send an email to the discussion board list and then immediately check the folder located at C:\inetpub\mailroot\Drop to see if there are duplicated emails saved in the folder.
    Create an email in Outlook and then save it as .eml file, then put it to the folder located at C:\inetpub\mailroot\Drop to see if the issue still occurs.
    Please ensure that there is no other user is sending the emails with the same subject to the discussion board list.
    To narrow the issue scope, I recommend to create another discussion board list to test and then compare the results.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • I have a question regarding emails being marked as unread when syncing with an exchange account.

    I have a question regarding emails being marked as unread when syncing with an exchange account.
    In the evening I can see I have 10 unread emails on my exchange account. I leave them unread. The following day, at work, I view and read all my mails from today and yesterday, so that I have NO unread messages. When I then sync my iphone it marks only the mails from today as read but, leaves all the mails from yesterday marked unread. Only solution so far is for me to go through the mails on my iphone one at a time for them to be marked as read.
    My mail account is set to sync 1 month back.
    I have had this problem on all the iphones I have had.
    I currently have an iPhone 5 and my software is up to date.
    What am I doing wrong?

    Hey kabsl,
    Thanks for the post.
    What type of email account is attached to your BlackBerry Z10? (POP3, IMAP, Exchange).  Also have you tried removing and re-adding the email account to test?
    Is this email account only setup on one computer or several computer?
    I look forward to your reply.
    Cheers.
    -ViciousFerret
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Like! for those who have helped you.
    Click  Accept as Solution for posts that have solved your issue(s)!

  • Regarding the Post Installation and SP Level

    Hi All,
    We have installed NWDI on our existing EP Dev Server.Installation was successful but regarding the post installation we are in a thinking as how best we could patch the newly installed NWDI system.
    As our EP system is on SP 11and NWDI system on sp 9,Do we need get EP and NWDI Patch level in Sync? as there would be developers working from EP and BW as well on this NWDI server.
    Here My doubt is:-
    Do the Nwdi System needs to be in the same patch level as our EP system (as it is installed on EP itself.)
    Do we need to run the Template for the Newly installed NWDI only after the Patch Upgradation?
    Kindly Advice
    Regards
    Santosh.N.G

    the patch level of EP and NWDI should be same

  • CC email  Posting Wrong Time = "Forward 8 hours" in iphone in-box timeline

    *CC email Posting Wrong Time = Forward 8 hours in the future in the iphone in-box timeline.*
    All email sent from my iPhone CC to myself (back to my iPhone in-box posted in blue) is wrongly posted 8 hours in the future. If I open that email and check the time and date in the email... the send time and date are both correct... But, the email in the in-box list on the iphone continues to display the wrong time and date "in blue" 8 hours off.
    (1) I tried all the tips mentioned i.e.,Rebooting and turning 3G & Auto on&off & Syncing to my Mac etc.= with no change at all.
    (2) The same cc emails also sent to my MacBook Pro all are posted in the iMail in-box correctly with the normal time. The only problem is... on the iPhone in the in-box.
    All the clocks and time displays on the iPhone seem to operate normally. Time zones are correct... The only problem is the in-Box email: post dating my email cc to myself = 8 hours in the future.
    *The Negative Problems caused by this Issue:*
    This problem causes any mail from other senders to follow the email I send 8 hour and of that all new email is lost in the middle of time line. Which is not good and, easy to lose new important email in the time-line.
    *Start of the Problem:*
    Seemed to start sometime after I updated my iPhone to the new iOS 4 software

    Looks like it happening with incoming mail too. I have emails that are reporting 5 hours ahead. That would GMT for me in Eastern Time in the US.
    The mail below came in at 09:06 -0500 and is reporting 14:06 GMT in the listing.
    Here's the header from the email
    X-Apparently-To: xxxxxxx via 98.136.164.163; Sun, 30 Jan 2011 06:06:32 -0800
    Return-Path: <xxxxx@xxxx>
    Received-SPF: none (mta1056.mail.ac4.yahoo.com: domain of xxxxxxxxx does not designate permitted sender hosts)
    X-YMailISG: 1PjiNX0cZAqCLQLNliMfNb9dB2OWwI.eU2239bCnrogOySot
    rR3Ydo9QZmFymPPK4pFhoTrw1IqowFnzU4QFf6scJioC9AX1q58NaONBBK4u
    4Kv3uxFt5b6ZVK5vinQN2bwNTq9TLwVJx3Z7zSxQbIxi46zwa526wkkqOgtg
    wMCKSq99GazScsmxBgClCDTY5QZ1lP1cLQtXZIGfHAFsoVVBxCleMIElxh
    JU.Dql7fu_mt99OzNRF4VVhB0SkUvqhamwEGlmGM8QtiZefJTE.eEniMIM85
    jQ7hntFFxV95XHSqGsU._ynuHMzzC9whPYVB9b97.a1nnSZeCA5362veZYpY
    SE9KBbkT2jiY9g0QSULKWpj24cxR5MU7..PiINLrcpzmiVwq5rZh6p4Q8DR1
    hecJaIYhbqOOpZXu.tdtn0yWFX323ZiOsJemRto.Xn1F7safHhdq8Swk4xEg
    .IHY8DdFHALVpzbwRhygVN0POEH.Gwc0Q01MRcd1QARw.uEy2K.BYudADvdG
    y1RJCIDnbRZYjXPoa8Hn5qnbXGrQ2gLmpweekpo9cCZpXZ5P0JRlAUk5ZTwE
    u3L.5asjUXgvTb8****91BNh6InUQre3Gk8CWkWaWIvv2Qzwz.2Ztp382beE
    nZsKE283hmxhBskNYSZ9xrKMyNfWyY0nhzzEunBtuZ6qZPUHK7RyrYgRTnWg
    qwiORZKE1R8q14xjYKXcPUbSeY377ZFgXw0EgH4rWE15F.2sfKhcy1U68G
    jrz6dTBwK0EneceaJDX_kPRbCJ53e8ILeQXW.DtuTNO0FtJ7Ft6hfon0d8
    Tm.0Z00AFCDLcs66oxK0GcLbzhA22t3huUDuB_JMWrnU0ab.8Vl8l0Ysk1Br
    jxxjSzEps3TXDPL5pe7nUj5KX..VgGQOCmp8h1he0cDeA8u5IsUULwQ9Qwk0
    6v2X_HAQE4kPnbh8YSroiZH8uZUKmV0Klpqnae6jfzReFjeCD.SX8Ng4yyyP
    UI0AdRufNWCSHzf8qi53.POH7g63.Pq72ttdYXIEtChE7iFB5KT1
    X-Originating-IP: [208.79.240.5]
    Authentication-Results: mta1056.mail.ac4.yahoo.com from=shiksa.dyndns.org; domainkeys=neutral (no sig); from=shiksa.dyndns.org; dkim=neutral (no sig)
    Received: from 127.0.0.1 (EHLO smtpauth.rollernet.us) (208.79.240.5)
    by mta1056.mail.ac4.yahoo.com with SMTP; Sun, 30 Jan 2011 06:06:32 -0800
    Received: from smtpauth.rollernet.us (localhost [127.0.0.1])
    by smtpauth.rollernet.us (Postfix) with ESMTP id C8080594010;
    Sun, 30 Jan 2011 06:06:18 -0800 (PST)
    Received: from shiksa.dyndns.org (c-66-56-51-47.hsd1.ga.comcast.net [66.56.51.47])
    (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
    (No client certificate requested)
    (Authenticated sender: nswint)
    by smtpauth.rollernet.us (Postfix) with ESMTPSA;
    Sun, 30 Jan 2011 06:06:18 -0800 (PST)
    Received: from localhost.localdomain (shiksa.dyndns.org [127.0.0.1])
    by shiksa.dyndns.org (8.14.4/8.14.4) with ESMTP id p0UE6Lxo003350
    for <xxxxxx>; Sun, 30 Jan 2011 09:06:22 -0500
    Date: Sun, 30 Jan 2011 09:06:22 -0500
    Message-Id: <[email protected]>
    X-Priority: 3
    Subject: xxxxx by Noah Swint (0040) Sun, Jan 30 9:06 AM
    To: xxxxxxx
    From: xxxxxxx
    X-Rollernet-Abuse: Processed by Roller Network Mail Services. Contact [email protected] to report violations. Abuse policy: http://rollernet.us/abuse.php
    X-Rollernet-Submit: Submit ID 2c30.4d45705a.65e24.0
    X-FetchYahoo: version 2.14.0 MsgId 152788AKOkiGIAAOhxTUVwaAwy2Se7FOE

  • Options to attaching from email post iOS 7

    Before iOS7, I could attach files from iBook in an email but the only option available post iOS 7 is to attach Photo or take a photo. Does anyone know if there's a setting change to add iBook or iZip to the available options?

    Hello ritaright,
    Photos can be saved from an email by holding your finger on the photo, then choosing Save Image.
    iPhone User Guide - Attachments
    http://help.apple.com/iphone/7/
    Regarding the setting of resizing your background image, it may be desirable to enable 'Reduce Motion.'
    iOS 7: How to reduce screen motion
    http://support.apple.com/kb/HT5595
    Cheers,
    Allen

  • Set up email posting of a question into the forum

    I'm asking if its possible to configure a forum such that an email can create a new 'post' that can be answered (and reply to the posters email). 
    klaas

    You might inquire here as the bridge has roughly that functionality for posting but forums user's email are not exposed for the private replies.
     http://communitybridge.codeplex.com/discussions
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • E72 : Unable to configure email post 071.004 firmw...

    My emails on e72 were working perfectly fine before this upgrade. but post upgrade, I was unable to recieve my emails. So I removed the accounts and tried to reconfigure them. But the configuration wizard doesn't get past the 'Detecting Email Settings'. This is really annoying and I have lost an import feature of the phone. Can someone help me out?
    thanks,
    Arun

    I did same firmware upgrade. It killed the Nokia email software for using yahoo email.  I was able to get Yahoo email working with IMAP settings BUT it is so bad it is hardly worth it.
    On my main phone screen I have two email notifications
    1) Mail for Exchange
    2) Yahoo account
    I see the Yahoo account count down to zero(number of unread messages) and then back up to a number. It is like it kills all the messages int he back ground and then re-downloads them.  While this is going on the phone, it is so "CPU" bound that I cant use anything on the phone. If I am on a phone call , sometimes the phone goes so CPU bound, it wil drop the call!
    Nokia has really done something with this latest firmware upgrade first by killing yahoo email and then by the email takes so much CPU, the phone is un-useable.
    Another issue I have seen with the upgrade is
    1) I get exchange server busy messages. In 12 months prior, I never saw this! I get over 500 pieces of email a day and NEVER have I see this until the firmware upgrade
    2) On a SEND from mail fro Exchange, I also get an error message that the server is busy and it dumps the message into Drafts box. also new since upgrade
    3) I now get out of Memory errors when simply going into the calendar or other things.
    All I have or use on this phone besides making calls is the Mail for Exchange, Yahoo email, google maps, contact list, calendar, some text meessages and the Nokia bult-in GPS. 
    This phone all worked fine until this firmware upgrade which I had to do as before the upgrade my mail also stopped working so Nokia customer support told me I had to do the upgrade
    Thank You Nokia for making my phone worth about $1.00 in a flea market... time to buy an iPhone or a blackberry. This WAS the best phone on the market for a non touchscreen, but Nokia has killed the phone... At times I cant even make a phone call as I have to shut the phone off and re-start it,.
    Yes NOKIA, thank you for making my E72 simply just a phone from all the wonderful things it used to do. Oh yes, I find I have to reboot the phone at least every other day. Priot to your upgrade, the only time I ever turned the phone off was on a plane.  If I dont re-boot, I get Memory errors and the phone is so slow is is also un-useable!

  • Regarding email generation with attachment

    Hi Experts,
    1)   Iam sending an email with excel attachment by using the FM "SO_NEW_DOCUMENT_ATT_SEND_API1".
       My problem is for example if i have 5 lines in the email table then these 5 lines are showing in single in the excel.
    How can i rectify this?
    2)  i need to submit the report in the back ground with variant and with out selection screen.How to do this?  
    Rgds,
    Krishna.

    Hi,
      Append each line of ur text seperately in an internal table for eg.  
       objtxt = text-007.
      APPEND objtxt.
      CLEAR objtxt.
      APPEND objtxt.
      objtxt = text-008.
      APPEND objtxt.
      CLEAR objtxt.
      APPEND objtxt.
    *Function module to send email with an attachment
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = docdata
          put_in_outbox              = 'X'
          commit_work                = 'X'
        TABLES
          packing_list               = objpack
          object_header              = objhead
          contents_bin               = objbin
          contents_txt               = objtxt
          receivers                  = reclist
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          OTHERS                     = 8.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
        MESSAGE s899(m3) WITH 'Mail sent successfully!'.
      ENDIF.
    Then u  ll get the mail the way u designed.
    The answer of ur 2nd question is........
    Specify the selection screen in ur program
    and use FMs 'JOB_OPEN' ,  'JOB_CLOSE' & 'JOB_SUBMT' to schedule the job in the background..
    regards,
    ajit.

  • Regarding EMAIL in inbox using SO_NEW_DOCUMENT_ATT_SEND_API1

    HI all,
    I am using SO_NEW_DOCUMENT_ATT_SEND_API1 module to sent emails on external email IDs.Can anyone guide me if this function module also sends email to SAP inbox correspoding to email addrees on which email is sent?
    Also guide me how to send doc to sap inbox of these email adrees using SO_NEW_DOCUMENT_ATT_SEND_API1.
    Thanks.

    Hi,
    Yes you can even send mails to the SAp inbox, by simply setting the receiver type as B in the RECEIVERS tables parameter.
    Regards
    Pavan

  • Regarding line posting

    Hi Friends
    I want to post the data into my final structure.
    Here I want to create 2 line items for final structure 1for debit entry and the other for credit entry.
    I am writing the following logic:
    DATA: l_wa_a_efund_map LIKE LINE OF me->ai_efund_map .
    data: l_amount(13) type c.
    READ TABLE me->ai_efund_map INTO l_wa_a_efund_map WITH
    KEY efundtrans = me->a_input_line-efundtrans+12(4).
    l_amount = me->a_input_line-ammount.
    IF sy-subrc = 0.
    IF l_amount12(1) EQ ''.
    newbs = l_wa_a_efund_map-post_key_debit.
    ELSE.
    newbs = l_wa_a_efund_map-post_key_credit.
    ENDIF.
    ELSE.
    exit.
    Here me->a_input_line-ammount is coming from the input file.
    there if it is me->a_input_line-ammount is positive first time the code written is correct and it should execute same way.
    newbs = l_wa_a_efund_map-post_key_debit.
    second time me->a_input_line-ammount should be negative and
    newbs = l_wa_a_efund_map-post_key_credit.
    has to be exceted for the second line item.
    this is vice versa means :
    there if it is me->a_input_line-ammount is negative first time the code written is correct and it should execute same way.
    newbs = l_wa_a_efund_map-post_key_credit.
    second time me->a_input_line-ammount should be positive and
    newbs = l_wa_a_efund_map-post_key_debit.
    has to be exceted for the second line item.
    Please suggest me the logic for this.
    Points are assured for useful answers.
    Regards,
    Sree

    Try:
    IF l_amount+12(1) EQ '-'.
    Rob

  • Regarding account posting in VF02

    Hi,
    As discussed with user, when he opened the invoice through VF02 to view the details, accounting document got posted automatically for that invoice. Is there any possibility in system to post to accounting, if we open invoice to view through VF02 transaction with out clicking on Flag(release to accounting)?
    Please reply on this.
    Thanks & Regards,
    Jai Prabhu.

    Hi,
       Check in transaction against your billing type Posting block is flagged or not. If posting block is flagged then accounting document will not be created automatically. To release you have go to transaction vf02 and release the flag. If not flagged then it will create automatically. Though it is not marked for posting block if any G/L is not assigned in determination or If the finance period is not open then also it will not post automatically.
    In your case due to some issue like finance period is not open so accounting document would have not created. But after that the finance period is open then when you go in to the same document this time accounting document would have got created.
    Regards,
    Senthil Venugopal

  • Regarding MM Posting Period

    At MIRO i am getting below error
    "Posting only possible in periods 2011/11 and 2011/10 in company code 3220"
    i am follwing a Fiscal Year from April to March, Hence current period is 11.
    i have checked OB52 Posting Period Varient. where in period 11 is open to all Account types.
    i have also checked MMRV..detaisl of MMRV below
    Current Period 11 2011
    Previous Period 10 2011
    Last Period in prev. year 12 2010
    Please suggest how shall i overcome this Error.
    Spandana
    FICO Consultant

    Hi,
    As you said & your system giving error message that to post in 10 or 11 period in year 2011.
    Also you  said your Fiscal Year from April to March & now hence current period is 11.
    You are very much right  about present period now 11. OK. What is current year now & how 2011 is opened?
    Now the current YEAR IS 2010 & period 11
    Now 1st check your Posting Period Variant for your company code " 3220" in t.code: OBY6
    Now check your REQUIRED PERIODS to post ( 10,11 for year 2010) is open in  Account Types A, K, D,M, S and specially Account Type u201C+u201D which stands for valid for all accounts type with Posting Period Variant. If not just open it.
    Now you need to reset the period (if your are practicing & testing) in OMSY t.code for setting periods for your company code " 3220" for material management.( This setting in OMSY is done once for all  )
    Now cross check in MMRV t.code for your  company code " 3220"  & You should have
    Current Period 11 2010
    Previous Period 10 2010
    Last Period in prev. year 12 2009
    Now try posting MIRO.
    Regards,
    Biju K

  • Regarding IDOC posting to create sales order

    Hi Friends,
    when we are trying to post Idoc to create sales order, Idoc status is showing error as "Enter requested delivery date" with status 51. and error message no is V1394. we found that user is trying to post the Idoc with two delivery dates.
    Kindly help me to find out the root cause of this issue....why system is throwing error as "Enter requested delivery date"
    Thanks in Advance,
    Reagards,
    Babu

    Hi Babu,
    Normally customer will forward 2 types of delivery date
    1. Requrested Delivery Date (Goods reaching to the customer door step, EDI qualifier '002')
    2. Requested shipping Date (Googs leaving from shipping from warehouse, EDI qualifier '10')
    In the above case SAP will take only requested Shipping date which can be mapped at E1EDK03 - DATUM with E1EDK03 - IDDAT is equal to '002'.
    Let me know whether you are mapping IDOC with EDI message. If so then you need to map with the EDI qualifier '10'
    << Moderator message - Point begging removed >>
    With best regards,
    M. Rajendan.
    Edited by: Rob Burbank on Jan 4, 2012 9:47 AM

Maybe you are looking for

  • TS1286 My iphone is no longer regonised by my PC and I can't charge it or sync it with itunes

    Please help, I can no longer connect my iphone 4s to my pc, it charges fine by plug but my pc does not regonise it. I have tried restarting the phone and reinstalling itunes but nothing is working

  • [nQSError: 22036] Level in TODATE function (Quarter) must be a rollup...

    Hi, i've following problem. I hope you can help. It's quite urgent. I have following TimeDim hierarchy, in my rpd: Logical Level: Total Time - Properties: Grand Total Level Child Logical Level: Year - Properties: Supports rollup to higher level of ag

  • Recovery needed

    My Hp Laptop wont start, just get a HP symbol then it trys to auto recover but this never works. Then advises to use a CD or USB recover, but cant find anywhere to download this from. Error code: 0xc0000185 how do i get a recovery disc/usb

  • Java on XP

    Hi! I am new to Java Technology and I have a machine that runs on WindowsXP. I recently installed it with the downloadable(thanks!) Java sdk. However, I saw a folder in windows named java. I hope you can help me whether i still needed the Java folder

  • FCC Configuration for Multilevel Hierarchy

    Hello Everyone, I have a problem with FCC in sender side. I have a multilevel nested structure shown below: <?xml version="1.0" encoding="UTF-8"?> <ns0:MT_XX__OB xmlns:ns0="http://xx.com">    <Record1>       <X/>       <Record2>          <A/>