Send Email to the User

Hi experts,
A very good morning.
I am dealing with an object, in which I have to send a mail to the User.
The mail should contain the Data that has posted to the Smartform.
But I have to the send the smartform as it is, but not as a PDF attachement.
Please clarify the following questions:
1. Where I have to specify the E-mail parameters in the Tcode smartforms.
2. How to send it to the Web user id, after I populate  the Smart form with the data.
3. How to track the status of the mail, whether it has successfullt delivered or not.
I am new to Smartforms, and I have only the basic knowleg\dge on them.
Please guide me in this regard.
( if possible, with an example).
Thank you in advance.
Best regards,
Naveen G

Hi Naveen,
You cannot send smartform as it is coz its in OTF formate,you have to change it to PDF formate.
After the FM 'SSF_FUNCTION_MODULE_NAME' and fm_name,
Change smartform preview formate(OTF) to PDF . call FM.
*---Function module to convert OTF data to PDF data format
call function 'CONVERT_OTF'
exporting
format = 'PDF'
max_linewidth = 132
importing
bin_filesize = l_v_pdf_size "l_v_pdf_size type i,
tables
otf = l_it_otf_data "l_it_otf_data type standard table of itcoo initial size 0,
lines = l_it_pdf_data. "l_it_pdf_data type standard table of tline,
then
*---Function module to chnage width of PDF file to 255
call function 'SX_TABLE_LINE_WIDTH_CHANGE'
exporting
line_width_dst = '255'
tables
content_in = l_it_pdf_data[]
content_out = l_it_pdf[]
exceptions
err_line_width_src_too_long = 1
err_line_width_dst_too_long = 2
err_conv_failed = 3
others = 4.
and finelly.
*---Function module to send mail in attachment formate.
call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
*---Function module to send mail in without attachment.
call function 'SO_NEW_DOCUMENT_SEND_API1'
exporting
document_data = l_wa_doc_chng
put_in_outbox = c_check
commit_work = c_check
tables
packing_list = l_it_objpack
object_header = l_wa_objhead
contents_bin = l_it_pdf
receivers = l_it_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.
Thanks.
Mona.

Similar Messages

  • Unable to send email to the users from Project Server Workflow

    Hello all,
    I am facing issues in sending emails to the users from the workflow in SharePoint Designer 2013.
    I am trying to send emails to valid users in a Project server 2013 Workflow by Email action.
    I have set up the SMTP server successfully, I have configured SMTP server successfully in IIS manager 6.0
    I have configured the outgoing e-mail settings in Central Administration successfully,
    I have configured the SMTP email settings for my web app in IIS manager as well.
    I have configured and synced the User Profile App with the eMail addresses from Active Directory as well.
    I have configured the Alerts and Reminders in Operational Policies of PWA settings as well.
    I can send the emails to the users successfully through Powershell.
    But when I am trying to Start a Task Process with a user in the workflow, the task process starts but it never sent an email notification. So I tested by using the Action Email, that also the user is unable to receive any email. But the Workflow is not giving
    any error also. The email sending is successful, but the user is unable to receive it. The workflow succeeds to next phase without any errors.
    So to cross verify I tried 'Alert Me' option on a list, but that also is not sending(or might be sending but the user is not receiving) the mail.
    What else should I do to solve this issue.
    Please help me.
    Thanks,
    Shanky

    Hello Paul,
    I tried editing the PWA instance as you said, but that also didn't help :(
    I even restarted the Project Server Service, but nothing is changed. 
    I tried creating a new workflow for a List and used send email there, but that also is not sending the mail :(
    How do I check where the issue is from ? I mean, whether the workflow is sending the mail and the mail server is not receiving? or whether the workflow is not sending the mail itself? how do I check this? Is there any way to log these details?
    Please help me regarding this issue, I am totally clueless how to proceed.
    Thanks,
    shanky

  • We purchased a new iPad2 and registered it using a 'new' iCloud email/ID. We are unable to send email from the iPad and iPhone. The error is: Cannot send mail. The user name or password for iCloud is incorrect.

    We purchased a new iPad2 and registered it using a 'new' iCloud email/ID. We are unable to send email from the iPad and iPhone. The error is:>> Cannot send mail. The user name or password for iCloud is incorrect.

    About ~20 hours later, this ended up solving itself. We can send email using the '.icloud' email from both the iPad and iPhone.  Advise would be 'wait' before you start seeking alteranatives like yahoo, hotmail, etc.  This definitely is a convenient way to keep all your 'cloud' information in a centralized place, including the common email...

  • Sending an email to the user if the WEBi scheduling failed in CMC

    Hello Everyone,
    Current scenario :
    I am scheduling WEBi report through CMC and the report is going to end user email as an excel attachment.
    Desired Functionality :
    What happens is if the scheduling fails due to some reason. The email does not go to the end user on a particular date and then he complaints.
    What i need here an email sending option that if the WEBi scheduling has been failed in CMC an email should go to the user saying : " The WEBi scheduling has failed. The team is working on it " . (This is just a sample message)
    So the idea is to send an email to the user when the WEBi scheduling fails in the CMC. How to achieve this ?
    Regards,
    Ashutosh Singh

    Hi Ashutosh,
    You can send an alert email to a group when the schedule fails to run by choosing the "A job has failed to run" option under notification.
    You can see this option only if you schedule the report through CMC.
    Regards
    Sunil

  • How to send email alert to users from the query output ?

    Hi all,
    I intend to write a pl/sql to send email alert to user based on the following query output :-
    Item_______Qty_on_hand________Min_qty______email
    [email protected]
    [email protected]
    [email protected]
    once run, I will like to distribute to those email id. How should I code that in pl/sql ? or any other better idea is welcome. Thanks.
    Rgds
    Lim

    http://asktom.oracle.com/pls/ask/f?p=4950:8:3439330610438686683::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:255615160805,

  • Send email from PA30 user exit

    When I try to send an email from user exit in ZXPADU02 it never makes it to SOST.  WIll always go to SBWP outbox if I set the flag but never gets sent to receiver address.
    If I paste the following code into a report it works fine.  Is there some other parameter for this FM or some additional process needed to send email from a user exit?
        DATA: maildata TYPE sodocchgi1.
        DATA: mailtxt  TYPE TABLE OF solisti1 WITH HEADER LINE.
        DATA: mailrec  TYPE TABLE OF somlrec90 WITH HEADER LINE.
          CLEAR maildata.
          REFRESH: mailtxt, mailrec.
          maildata-obj_name = 'SRVC_EMAIL'.
          maildata-obj_descr = 'Email test'.
          maildata-obj_langu = sy-langu.
          mailtxt-line = 'Test line from user exit'.
          APPEND mailtxt.
          mailrec-receiver = '[email protected]'.
          mailrec-rec_type  = 'U'.
          APPEND mailrec.
          CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
            EXPORTING
              document_data              = maildata
              document_type              = 'RAW'
              put_in_outbox                = 'X'
              commit_work                  = 'X'
            TABLES
              object_header                = mailtxt
              object_content               = mailtxt
              receivers                       = mailrec
            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.

    Put the function call 'SO_NEW_DOCUMENT_SEND_API1'
    in a report Program & SUBMIT that report from ZXPADU02.
    Arya

  • Prevent users from sending emails to wrong users

    Hi
    I was looking for a possible way of stopping users from sending emails to the wrong person.
    Wonder if this can be achived by group policy or creating rules and alert.
    What im actually looking for is when the user is about to send out the email they get a pop up message saying you about to send email to such person would you like to send now?
    hoping there is some sort of a solution for these problem :)
    cheers  

    Yes, some more details please.
    The closest thing I can think of is (in Exchange 2010 - no available in 2003 or 2007) is Mailtips:
    http://technet.microsoft.com/en-us/library/dd297974.aspx
    But I'm not sure that's quite what you're looking for.
    And how could any software know if the person is the right person?
    It would have to read the person's mind and realize they are about to make a mistake by sending the message to X instead of Y.
    Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you.
    Hi Le Pivert,
    I can understand your opinion an outlook will have to be that smart to realize that the email is about to be sent to a wrong person.
    What i was look for is something like a pop up notification when click on send it has a pop up message saying you are about to send this email click yes or no to cancel.
    Something like when receiving emails outlook sends the notification.
    I guess the above cant be achive through the outlook may have to be a third party software it there is any.
    Cheers
    KB
    I would look at these offerings if you are looking at Outlook Add-ins
    http://www.slipstick.com/addins/auto-process/special-function-automatic-message-processing-tools/
    If you thinking about server side solutions, Exchange has mailtips, hub transport rules, moderated groups etc... And of course 3rd party stuff is out there as well.

  • Send email to external user using fm 'SO_NEW_DOCUMENT_ATT_SEND_API1'

    Hi friends,
    I wrote this code to send mail to external user from sap.
    It did not work properly can anyone help me to send email to extenal user.
    The return code after executing the function module is 2.
    DATA: OBJPACK LIKE SOPCKLSTI1 OCCURS  2 WITH HEADER LINE.
    DATA: OBJHEAD LIKE SOLISTI1   OCCURS  1 WITH HEADER LINE.
    DATA: OBJBIN  LIKE SOLISTI1   OCCURS 10 WITH HEADER LINE.
    DATA: OBJTXT  LIKE SOLISTI1   OCCURS 10 WITH HEADER LINE.
    DATA: RECLIST LIKE SOMLRECI1  OCCURS  5 WITH HEADER LINE.
    DATA: DOC_CHNG LIKE SODOCCHGI1.
    DATA: TAB_LINES LIKE SY-TABIX.
    Creating the document to be sent
    DOC_CHNG-OBJ_NAME = 'OFFER'.
    DOC_CHNG-OBJ_DESCR = 'abcd'.
    OBJTXT = 'aaaaaaaaaaa:'.
    APPEND OBJTXT.
    OBJTXT = 'bbbbbbbbbb'.
    APPEND OBJTXT.
    OBJTXT = 'ccccccccccccc.'.
    APPEND OBJTXT.
    DESCRIBE TABLE OBJTXT LINES TAB_LINES.
    READ TABLE OBJTXT INDEX TAB_LINES.
    DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
    RECLIST-RECEIVER = mail address.
    RECLIST-REC_TYPE = 'U'.
    RECLIST-COM_TYPE = 'INT'.
    RECLIST-NOTIF_DEL = 'X'.
    RECLIST-NOIF_NDEL = 'X'.
    APPEND RECLIST.
    Creating the entry for the compressed document
    CLEAR OBJPACK-TRANSF_BIN.
    OBJPACK-HEAD_START = 1.
    OBJPACK-HEAD_NUM   = 0.
    OBJPACK-BODY_START = 1.
    OBJPACK-BODY_NUM   = TAB_LINES.
    OBJPACK-DOC_TYPE   = 'RAW'.
    APPEND OBJPACK.
    Creating the document attachment
    (Assume the data in OBJBIN are given in BMP format)
    OBJBIN = ' \O/ '. APPEND OBJBIN.
    OBJBIN = '     '. APPEND OBJBIN.
    OBJBIN = ' / \ '. APPEND OBJBIN.
    DESCRIBE TABLE OBJBIN LINES TAB_LINES.
    OBJHEAD = 'picasso.bmp'. APPEND OBJHEAD.
    Creating the entry for the compressed attachment
    OBJPACK-TRANSF_BIN = 'X'.
    OBJPACK-HEAD_START = 1.
    OBJPACK-HEAD_NUM   = 1.
    OBJPACK-BODY_START = 1.
    OBJPACK-BODY_NUM   = TAB_LINES.
    OBJPACK-DOC_TYPE   = 'BMP'.
    OBJPACK-OBJ_NAME   = 'ATTACHMENT'.
    OBJPACK-OBJ_DESCR = 'Reproduction object 138'.
    OBJPACK-DOC_SIZE   = TAB_LINES * 255.
      APPEND OBJPACK..
    Sending the document
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
         EXPORTING
              DOCUMENT_DATA = DOC_CHNG
              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
               OPERATION_NO_AUTHORIZATION = 4
               OTHERS = 99.
    IF SY-SUBRC NE 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

    Hi,
    Check in SCOT t-code whether it has been properly configred to send the mails
    Regards,
    siva chalasani.

  • How I can send emails using the client object model?

    I have tried this, but I always get an exception with error message "A recipient must be specified.":
    string webUrl = "http://sharepoint.example.com/";
    EmailProperties properties = new EmailProperties();
    properties.To = new string[] { "[email protected]" };
    properties.Subject = "Test subject";
    properties.Body = "Test body";
    ClientContext context = new ClientContext(webUrl);
    Utility.SendEmail(context, properties);
    context.ExecuteQuery(); // ServerException thrown here
    context.Dispose();
    Server stack trace:
    at System.Net.Mail.SmtpClient.Send(MailMessage message)
    at Microsoft.SharePoint.Utilities.SPUtility.SendEmail_Client(EmailProperties properties)
    at Microsoft.SharePoint.ServerStub.Utilities.SPUtilityServerStub.InvokeStaticMethod(String methodName, XmlNodeList xmlargs, ProxyContext proxyContext, Boolean& isVoid)
    at Microsoft.SharePoint.Client.ServerStub.InvokeStaticMethodWithMonitoredScope(String methodName, XmlNodeList args, ProxyContext proxyContext, Boolean& isVoid)
    at Microsoft.SharePoint.Client.ClientMethodsProcessor.InvokeStaticMethod(String typeId, String methodName, XmlNodeList xmlargs, Boolean& isVoid)
    at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessStaticMethod(XmlElement xe)
    at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessOne(XmlElement xe)
    at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessStatements(XmlNode xe)
    at Microsoft.SharePoint.Client.ClientMethodsProcessor.Process()
    msdn link: http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.utilities.utility.sendemail.aspx

    hi
    if you will check the code of SendEmail_Client(EmailProperties properties), you will find that it may only send emails to internal users. May be it was made intentionally in order to prevent spamming from client code. So let's see:
    internal static void SendEmail_Client(EmailProperties properties)
    if (properties.To.Count == 0)
    throw new SPException(SPResource.GetString(web.LanguageCulture, "SendEmailInvalidRecipients", new object[0]));
    AddressReader func = null;
    using (MailMessage mm = new MailMessage())
    func = delegate (MailAddress a) {
    mm.To.Add(a);
    ResolveAddressesForEmail(web, properties.To, func);
    new SmtpClient(SPAdministrationWebApplication.Local.OutboundMailServiceInstance.Server.Address).Send(mm);
    I.e. it adds recipient in ResolveAddressesForEmail() method. Now let's check this method:
    private static void ResolveAddressesForEmail(SPWeb web, IEnumerable<string> addresses, AddressReader func)
    if (addresses != null)
    foreach (string str in addresses)
    if (string.IsNullOrEmpty(str))
    continue;
    SPPrincipalInfo info = ResolvePrincipal(web, str, SPPrincipalType.All, SPPrincipalSource.All, null, false);
    if ((info != null) && (info.PrincipalId > 0))
    if (!string.IsNullOrEmpty(info.Email))
    try
    func(new MailAddress(info.Email, (info.DisplayName != null) ? info.DisplayName : "", Encoding.UTF8));
    catch (FormatException)
    continue;
    if ((string.IsNullOrEmpty(info.Email) && info.IsSharePointGroup) && web.DoesUserHavePermissions(SPBasePermissions.BrowseUserInfo))
    SPGroup byNameNoThrow = web.SiteGroups.GetByNameNoThrow(info.LoginName);
    if (byNameNoThrow == null)
    continue;
    foreach (SPUser user in byNameNoThrow.Users)
    if (!string.IsNullOrEmpty(user.Email))
    try
    func(new MailAddress(user.Email, (user.Name != null) ? user.Name : "", Encoding.UTF8));
    continue;
    catch (FormatException)
    continue;
    continue;
    I.e. at first it tries to resolve user using ResolvePrincipal() method. If it is not resolved (info == null) email is not sent. But if it is - it first checks that email is not empty. If it is not - it adds email to the MailMessage.To recipients list. If
    it is empty it checks whether the principal info represents Sharepoint group. If yes - it will send email to each member of the group.
    So it may be so that you try to send email to external user (which is not supported according to the code above), or resolved principal doesn't have email specified.
    Blog - http://sadomovalex.blogspot.com
    CAML via C# - http://camlex.codeplex.com

  • Help with sending emails to multiple users.

    Currently we have a process to send mail to muliple users by looping through the list of users and sending each individual an email
    <Action id='1' name='sendEmail' application='com.waveset.provision.WorkflowServices'>
    <Argument name='op' value='notify'/>
    <Argument name='template' value='$(template)'/>
    <Argument name='toUser' value='$(tuser)'/>
    <Argument name='catch' value='notificationException'/>
    </Action>
    The variable tuser contains a single email address.
    Is there any way to setup tuser to contain multiple email addresses?
    I have tried passing a list and a string separated by colons (ex: <s>[email protected]; [email protected]</s>) and neither one works.
    Question 2
    Is it a bad idea to try and send email to up to 50000 users at once using IDM? Besides the fact that I would need to search for specific users and get their email addresses based on their capabilities.

    Hi,
    For sending emails to multiple users, use to instead of toUser. Put the names in comma seperated values
    <Action id='0' application='com.waveset.provision.WorkflowServices'>
    <Argument name='op' value='notify'/>
    <Argument name='template' value='$(template)'/>
    <Argument name='to' value='$(to)'/>
    <Argument name='cc' value='$(cc)'/>
    <Argument name='catch' value='notificationException'/>
    </Action>
    You can use IDM to send emails.
    it will be a good idea to break down the email that you are sending into groups/batches. If possible, you can send email to DL s
    Else, you can segregate the users based on roles and send emails. This will reduce the load. Hope it helps
    Regards
    Arjun
    Edited by: arjun.sengupta on Dec 4, 2012 3:26 AM

  • IB- Downloading the file and send it to the user

    Hello BW gurus,
    I have a question. I have automated the ECC Z table loading process. Like I have a program which will run the ztable update process logic and will update the table and after that it will raise an event in the BW system. Based on the event the process chain will be triggered.
    After the BW data load. I want to add an extract step like run the query and then download the file in excel format and send an email to the user. I know this has to be done by information broadcasting. I haven't looked at the documentation. Maybe you guys can explain to me like how to acheive this in the process chain.
    Thanks in advance for your help.
    Senthil

    Hello Gurus Any solution for the above issue. Thanks

  • How can i insure that job finished and good  and send mail to the user  ?

    how can i insure that job finished and good  ,
    and how can i send mail to the user "ok"   ?

    Hi Dakota.  We do something simular with our nightly MRP job.  Our MRP job runs around midnight,  then we kick off another job about 4am which checks to see if any of the jobs in question have abended, if so,  then it sends an email to the email addresses specify in the report variant.  Of course, this could be modified to check for successfully complete jobs, if that is your requirement.
    REPORT ZBCJOBMONITOR .
    TABLES: SOMLREC90,
            TBTCO.
    DATA: MAILDATA   LIKE SODOCCHGI1.
    DATA: MAILTXT    LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
    DATA: MAILREC    LIKE SOMLREC90 OCCURS 0  WITH HEADER LINE.
    DATA: I_TBTCO    LIKE TBTCO OCCURS 0 WITH HEADER LINE.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001 .
    SELECT-OPTIONS: S_JOB FOR TBTCO-JOBNAME.
    SELECT-OPTIONS: S_JOBC FOR TBTCO-JOBClass.
    SELECT-OPTIONS: S_REC FOR SOMLREC90-RECEIVER.
    SELECTION-SCREEN END OF BLOCK B1.
    START-OF-SELECTION.
      CLEAR:    MAILDATA, MAILTXT, MAILREC, I_TBTCO.
      REFRESH:  MAILTXT, MAILREC, I_TBTCO.
      PERFORM GET_ABENDED_JOBS.
      PERFORM BUILD_RECEIVERS.
      LOOP AT I_TBTCO.
        PERFORM BUILD_TEXT_MESSAGE.
        PERFORM SEND_MAIL_NODIALOG..
      ENDLOOP.
    *      Form  BUILD_TEXT_MESSAGE
    FORM GET_ABENDED_JOBS.
      SELECT * FROM TBTCO
              INTO CORRESPONDING FIELDS OF TABLE I_TBTCO
                         WHERE JOBNAME IN S_JOB
                           AND STATUS = 'A'
                           AND JOBCLASS IN S_JOBC
                           AND SDLSTRTDT = SY-DATUM.
    ENDFORM.
    *      Form  BUILD_TEXT_MESSAGE
    FORM BUILD_TEXT_MESSAGE.
      DATA: DATE(10) TYPE C.
      DATA: TIME(10) TYPE C.
      MAILDATA-OBJ_NAME = 'MONITOR'.
      MAILDATA-OBJ_DESCR = 'Batch Job Monitor'.
      MAILDATA-OBJ_LANGU = SY-LANGU.
      CONCATENATE 'Job Name:' I_TBTCO-JOBNAME
                  INTO MAILTXT-LINE SEPARATED BY SPACE.
      APPEND MAILTXT.
      PERFORM FORMAT_DATE USING I_TBTCO-SDLSTRTDT
                                DATE.
      CONCATENATE I_TBTCO-SDLSTRTTM+0(2) ':'
                  I_TBTCO-SDLSTRTTM+2(2) ':'
                  I_TBTCO-SDLSTRTTM+4(2)
                     INTO TIME.
      CONCATENATE 'Start Date/Time:' DATE TIME
                INTO MAILTXT-LINE SEPARATED BY SPACE.
      APPEND MAILTXT.
      CONCATENATE 'Job Class:' I_TBTCO-JOBCLASS
                INTO MAILTXT-LINE SEPARATED BY SPACE.
      APPEND MAILTXT.
      MAILTXT-LINE = 'Job has terminated abnormally'.
      APPEND MAILTXT.
    ENDFORM.
    *      Form  BUILD_RECEIVERS
    FORM BUILD_RECEIVERS.
      LOOP AT S_REC.
        CLEAR MAILREC.
        MAILREC-RECEIVER = S_REC-LOW.
        MAILREC-REC_TYPE  = 'U'.
        APPEND MAILREC.
      ENDLOOP.
    ENDFORM.
    *      Form  SEND_MAIL_NODIALOG
    FORM SEND_MAIL_NODIALOG.
      CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
           EXPORTING
                DOCUMENT_DATA              = MAILDATA
                DOCUMENT_TYPE              = 'RAW'
                PUT_IN_OUTBOX              = 'X'
           TABLES
                OBJECT_HEADER              = MAILTXT
                OBJECT_CONTENT             = MAILTXT
                RECEIVERS                  = MAILREC
           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.
      ENDIF.
    ENDFORM.
    *      Form FORMAT_DATE
    FORM FORMAT_DATE USING IN
                           OUT.
      CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
           EXPORTING
                DATE_INTERNAL            = IN
           IMPORTING
                DATE_EXTERNAL            = OUT
           EXCEPTIONS
                DATE_INTERNAL_IS_INVALID = 1
                OTHERS                   = 2.
    ENDFORM.
    Regards,
    Rich Heilman

  • SAP BPC MS - Send email through the implementation of a package

    Hi everyone!!!
    I want to know if there is a way to create a package to send emails.
    I need to put a step in a custom menu that sends an email to notify users.
    I thought to do this via package execution. Maybe there is another way.
    I count on your help.
    Thanks!

    I am not aware of any way to use Data Manager packages to send email, unless the email content and execution happens in SQL. A SQL Mail command is something that could possibly be stored in a DM package, but that SQL feature is being phased out by Microsoft. Another potential option is to build a mail macro into the Excel workbooks. But there is no programmatic way in BPC to send mail like this as far as I know.
    Brian

  • Bdc is completed in background i have to sent email to the user how..?

    hi
    could anybody tel me
    bdc is completed in background i have to sent email to the user how..?

    Hi Kalyan,
    You could send a mail via the BDC program (Zprogram) itself to a SAP user or to an external mail id (some configurations need to be carried out)
    prasanna

  • How to send email to the peoplepicker value in Infopath?

    Hi All,
    I want send email to the People-picker value, which is in repeating table. If repeating table has four rows, then email should send to four people-picker values. How to achieve this through designer workflow?
    Thanks in advance!

    You will need to leverage the User Profile Service in order to obtain the email address of each user.  To do that in SPD, start here:  http://crayveon.com/add-infopath-data-connection-consume-userprofileservice-asmx-web-service-complete/
    I trust that answers your question...
    Thanks
    C
    |
    RSS |
    http://crayveon.com/blog |
    SharePoint Scripts | Twitter |
    Google+ | LinkedIn |
    Facebook | Quix Utilities for SharePoint

Maybe you are looking for

  • How can I check manufacturers in PO?

    we have many PO in which the final suppliers, passing via vendor, traders, manufacturer and manufacturer palnts which are the real suppliers, can be more than one. Maning,  there is a manufacturer and it has many plants, part of which are allowed and

  • PS CC 2014 : cannot install any add-on

    Hi, I have installed the latest version of everything. I launched the add-on browser from PS CC 2014 and acquired 2 add-ons : Photoshop CC Features and Photoshop Blending Modes. The CC Desktop application is running, I have signed in and synchronizat

  • XML form SPS13 error saving form with user field

    Hello gurus! After upgrading to SPS13 all XML Forms with imput field type 'user' produce error when saving data: incorrect user id. But I select user id from user list! ID can't be incorrect. Please, help. bestRegards, RO-man

  • How do i get itunes for mac os 10.5.8

    I have a five year old macbook pro. I recently had to reboot the os, and now my computer reads that I cannot get into my itunes. So I tried to download itunes again, but that seems to require snow leopard. Can I download an older version of itunes th

  • Dynamic Data - Images, Pricing, Copy

    I am new to the print world and we just hired a new graphic designer and she uses In-Design for creating our new print catalog.  My question (I am a developer) is - is there a way that In-Design can pull in dynamic data (images, pricing, etc) from so