How to use SSFCTRLOP-DEVICE   = 'MAIL'. in smartform to send mail

There are parameter in smartform interface called
  MAIL_RECIPIENT             = GWA_RECIPIENT
  MAIL_SENDER                = GWA_SENDER
I want to use them to send mail.
I have set my device type = 'MAIL' But I am getting error email address, is not valid . i.e. it is taking blank email address where as i have mention email address in
GWA_RECIPIENT-OBJKEY      = <Emailaddress>
is there any other parameter i have to sent..
I wont want to go via long route of converting smartform into OTF or into PDF, whereas i think smartform interface itself is capable of sending contains as emails.
Regards
--AL.

Hi VL,
You can't simply assign the email address to GWA_RECIPIENT-OBJKEY.
Inorder to use the standard smartform interface to sent the smartform via mail, the partner details need to be maintained in SAP. Say for example if you want to sent a PO to a vendor via email, the email address need to be maintained in XK01/02 transaction for that vendor in the address view.
Before calling the smart form function module, you need to populate the receipent data, with function module WFMC_PREPARE_SMART_FORM. If you give the address number and land, it will populate the receipent data.
See the report RLB_INVOICE (form set_print_param).
Regards,
Maddy.

Similar Messages

  • How to use different page scapes in smartforms

    hi
    How to use different page scapes in smartforms.
    I want Potrait format in the 1st page and Lanscape format in 2nd page is it possible if so plz suggest me an idea

    Hi,
    It is possible in smart forms, but not in scripts.
    we can have 3 tabbed options for pages in smart forms.
    <b>General...
    Output options
    Conditions</b>.
    In <b>output options</b> u can define whether a page can portrait or land scape in <b>print attributes</b>.
    Reward if helpful.
    Regards,
    Sandhya

  • How to create distribution list in workflow? for  sending mail or work-item

    Hi,
    How to create distribution list in workflow? for  sending mail or work-item to multiple users.
    Regards,
    Surjith

    Hi Surjith,
    A.Working with Distribution Lists Creating a Distribution List.
    1 Businees Workplace->shared folder - create new subfolder name = WF_distributor
    2.Then click on the distribution list in Businees Workplace.
    say create Name = WF_Vliste
    folder Name = WF_distributor
    3.distribution list content tab
    Enter Recipient (SAP User ID)
    B.Wrkflow Builder
    Find out the dialig step in which u want to use distribution list
    Use workflow Rule 30000012 (SWX_READ_DLI).
    Maintain the binding from workflow container to rule container.
    Just pass the name of the distribution list from WF to Rule container.
    Regards
    Sagar S

  • The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-04-30T16:36:52). Exception Message: Cannot send mails to mail server. (Mailbox unavailable. The server response was: 5.7.1 Client does not

    Interesting db mail issue. If i click send test mail from sql mgmt studio, it works fine, but when i execute a SP to send a mail, it fails. One thing I noticed is that the "LastModified" column in the mail log shows the domain account when a test
    mail was sent from mgmt studio, but show "sa" when the SP was used to send mail. 
    This is from SQL 2012, did not see this in sql 2008, looks like 2008 always used the service account.  any ideas ?
    Get this error:
    The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-04-30T16:36:52). Exception Message: Cannot send mails to mail server. (Mailbox unavailable. The server response was: 5.7.1 Client does not
    Thanks.
    Ranga

    Hi Ranga,
    I also use SQL Server 2012. I send a test email through SQL Server Management and the last modified By “sa”.
    If you used stored procedure to send a test email. Please use the command below:
    EXEC msdb.dbo.sp_send_dbmail
    @profile_name = 'Adventure Works Administrator',
    @recipients = '[email protected]',
    @body = 'The stored procedure finished successfully.',
    @subject = 'Automated Success Message' ;
    I can both send test email through SQL Server Management Studio and SP. Make sure you have the right profile. Since you could send test mail via SQL Server Management Studio, please try again to send it via SP.
    Thanks.
    If you have any feedback on our support, please click
    here.
    Maggie Luo
    TechNet Community Support

  • TS3276 I am unable to access mail on icloud or send mail through the icloud account.  How can I get mail routed through the icloud account.

    I am unable to access mail on icloud or send mail through the icloud

    Here is how to set up your iCloud email account:
    http://www.apple.com/support/macosx/mailassistant/

  • I had an imap account in my iPad and my iPhone 4. They worked just fine till about Christmas. They act like they are checking the mail and it shows there is mail to come in, but it just goes back to saying checking mail.  Can't send mail either.

    I had an imap account in my iPad and my iPhone 4. They worked just fine till about Christmas. They act like they are checking the mail and it shows there is mail to come in, but it just goes back to saying checking mail.  Can't send mail either.

    Update to above question:
    Hello All,
    To anyone with the same problem described above, on THEIR iPad (if it is running iOS 7.0.2):
    Go to Settings; Mail, Contacts, Calendars; DELETE your *******@btinternet.com e-mail account, that you originally set up either using 'Other', or the 'BT' option which I am sure was in the list previous to the iOS 7 update.
    Then ADD a NEW account choosing YAHOO from the list of options. DO NOT USE 'OTHER'.
    Enter the correct details just as you (almost certainly) had already done in your previous attempts using 'other'.
    When you see the 'verifying......' and 'the blue ticks' you should be able to exit settings and open your mail app and then receive all your 'old' e-mails again, AND be able to SEND as well.
    All my 'old' e-mails, were NOT found in the 'old e-mail' folder though. THEY are still in my inbox.
    So this fix worked for me.
    After I deleted my account from 'OTHER' and put it in Yahoo, I like other people also ended up with more folders.
    I hope this works for you on YOUR Apple devices.
    Bob

  • Having trouble receiving Yahoo mail on iPhone 6 sending mail is no problem?

    Having trouble receiving Yahoo mail on iPhone 6 sending mail is no problem?

    Any chance you use two step verification on your Yahoo account? If you've ever had to enter a code that was text messaged to you when you log into your Yahoo account on a new computer, then two step verification is probably on.
    If that is the case, you'll have to generate an app specific password in the Yahoo web mail page and enter that as your password on your Apple Device instead of your standard password in Mail Settings.

  • HT1277 i can receive mail but unable to send mail

    i can receive mail but unable to send mail

    I'm yet another person who upgraded to Maverick OSX. I'm now thinking, "BIG mistake". Mail was working perfectly. Then, last night, Mail stopped sending.
    I've checked everything. Comcast servers are set up correctly. Mail works fine on my ipad, but will not send. It gives me a SMPT error of "Cannot send message using the server comcast.net--authentication rejected" Comcast.net (Offline). I can not get it back online. I've also tried the fixes here, but there is no info.plist by those names in my library!
    Anyone have any other ideas how to get this working again? Apple's OS's have been pretty decently stable in the past. I had no thought that the upgrade would be so problematic. Live and Learn.
    Thanks for any suggestions.
    -Rachel

  • I receive my "talktalk" e-mail OK but cannot send mail?

    I receive my "talktalk" e-mail OK but cannot send mail?

    Try a Restart.
    Press and hold the Sleep/Wake button for a few seconds until the red "slide to power off" slider appears, and then slide the slider. Press and hold the Sleep/Wake button until the Apple logo appears.
    Resetting your settings
    You can also try resetting all settings. Settings>General>Reset>Reset All Settings. You will have to enter all of your device settings again.... All of the settings in the settings app will have to be re-entered. You won't lose any data, but it takes time to enter all of the settings again.
    Resetting your device
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears. Apple recommends this only if you are unable to restart it.
    Or if this doesn't work and nobody else on the blog doesn't have a better idea you can contact Apple.
    Here is a link to their contacts with most of the information below.
    http://www.apple.com/contact/

  • I can receive mail, but I cannot send mail, my mobile broadband is 3 and my server is BT

    I can receive mail, but I cannot send mail, my mobile broadband is 3 and my server is BT. I have been to the Apple Store today. They did not resove my problem. Can anybody help?

    Try this. Check the primary outgoing mail server username and password and make sure that they are in the settings even if it says that they are optional.
    Settings > Mail, Contacts, Calendars > select the account > account name , tap on SMTP (under the 'Outgoing Mail Server' heading) and then tap on your Primary Server and try entering your email account and password and see if you can then send emails.

  • How to use alias in "From" field when I send a mail with utl_smtp ?

    Hi all,
    I'm using a PL/SQL package with an Oracle 11G database to send mails. It works fine but instead of use of my mail in "From" field like "[email protected]" as sender E-mail address, I would like to have "Toto" in the sender address. I tryied to use utl_smtp.mail(l_connection, '<toto> [email protected]') but it doesn't work. The only way I can send mail is when I set utl_smtp.mail(l_connection, '<[email protected]>') directly. When I use the Alias, I have an error from smtp server telling that I use a bad syntax address.
    Does someone know how to use the alias ? Where do I do a mistake ?
    Thank you for your help.
    sis2b

    Thank you, I find how to solve the problem thanks to your link.
    I try to send HTML E-mail so I had the From in the from field writen in the header of the mail and not to initialize the connection.
    sis2b.

  • How can I create a schedule in Java for sending mail from SAP?

    Hello;
    I am coding a programme in Java which reads data from KM. I wish to schedule a job which sends mail to a list of persons selected from KM. I read the article by Prakash Singh and based my programme on his explanations.
    /people/prakash.singh4/blog/2005/04/20/did-you-know-you-can-schedule-jobs-in-portal-using-kms-scheduler-task
    My first problem is that I don't know how to send mail in SAP, and how to use Java to send this mail. My second problem is how to develop this "schedule job" function - is it enough to use Prakash Singh's method, or does it need to be changed?
    Can anyone help me with these questions?
    Thank you very much, R.E.

    Hi,
    I dont know about the CATS system. But when ur user selects the varaint, he should remove his own id and execute the query. This should display all the variants existing for that program. Then he can select the required variant.
    The user can also save this varaint under his own ID
    Hope it helps.
    Regards.
    Jay Gandhi

  • How to get the name of the attachment in Sender Mail Adaper?

    hi mates,
    I've scenario a where in I need to pick up a mail with an attachment and change its extension and send it to target system using file adapter.
    I'm able to pick up the mail with attachment using sender mail adapter but not able to get the name of the attachment so that I can use it in mapping or on the adapter configuration. How do I read the name of the attachment and manupulate it?
    I looked at the thread sender mail adapter - attachment name But the solution is not described. I think Stefan is talking about the SP!2 for PI 7.0. I'm on XI 3.0 what is the equivalent SP for that, SP20? Stefan, can you please throw me more light on it?
    I appreciate your valuable inputs
    thx in adv
    praveen

    Thanks Aamir.
    Earlier I replied to that thread asking for more details...but did not see the response...
    anyways, thanks for your quick help..
    but I wonder abt the PI SP12/ XI SP20 pre-requisite. We can have adapter modules on SPs lower than PI SP12/XI SP20 as well, can we not?
    thanks
    praveen

  • TS1307 I am holidaying in Auckland using my daughters orcon internet account for sending mail but it will not send. I am sure I am putting in the correct information but it still says orcon offline. I have spent half an hour with Orcon putting in correct

    I am holidaying in Auckland using my daughter's Orcon internet account for sending mail but it will not send. I am sure I am putting in the correct information but it still says mail.orcon.net.nz(Offline). I have spent half an hour with Orcon putting in correct info. They do not know how to help me further and neither does telstra clear, my own internet provider.
    Any advice appreciated.

    On the Mail menubar > Mailbox, make sure Take all accounts online is selected.

  • How do I stop duplicate attachments showing up on sending Mail?

    I've just started using Mail, and find that attachments embed themselves in the message I want to send as well as as an attachment. On the other end the document appears to have two attachments, one of which won't open. (Word document, recipient using Windows). Same when I send to myself.
    Also, when I send and receive photos, they are embedded in the message, as well as attached. I want to disable the embedding feature. Can anyone tell me how?
    Thanks, Frances

    The attachments are not embedded. It is called inline or viewed in place which is different.
    When attaching image/photo attachments and smaller PDF attachments (1-2) pages, these type of attachments are shown inline or viewed in place within the body of the message by default which cannot be turned off - when sending and receiving.
    You can control-click on a viewed in place attachment and select View as Icon. Regardless, all Mail.app attachments are sent as true attachments to the message.
    Depending on the recipient's email client and available preference settings, such attachments may appear inline or viewed in place with the message is opened by the recipient (as with the Mail.app) or as attached files only which must be opened separately for which we have no control over.
    I prefer this feature since it ensures that I have selected the correct image/photo attachment before the message is sent and I always add all attachments after I've finished composing the message below all text.
    You can use a 3rd party Mail.app plugin called Mail Attachments Iconizer which can be downloaded at the following link.
    http://lokisw.com/index.php?item=MailAttachmentsIconizer
    Regarding the two attachments that appear, the extra attachment is the Apple resource fork for the file which is invisible to fellow Mac users. This doesn't occur with all Windows users since it depends on the Windows version and email client and version the recipient is running.
    Beginning with Panther (10.3), the Mail.app includes a send Windows Friendly Attachments feature.
    Check Windows users have problems with files I send and be sure to include the filename extensions, such as .doc, in the names of all files you send to Windows recipients. This way the files can be read by a Windows application.

Maybe you are looking for

  • How do I find the date my MacBook was made? Apparently mine is about 6months too old to update to Mountain Lion.

    I recently got a job that requires at least MacOS 10.7. I downloaded Mountain Lion but when I tried to install it, the message said it wouldn't work on mine. I can get a newer MacBook from a friend, that also needs the Mountain Lion update. Before sh

  • ITunes will not update because 'iPod Service' could not be downloaded.

    For many months now I have been trying to update my iTunes on my computer yet whenever the update is being downloaded I recieve an error message that tells me to go to the Tools menu and to download it from there. I do this and try to install the sof

  • Check for existing XML element

    Dear all, I'm trying to write a simple script first checking to see whether an XML element exists, and then creating it if it doesn't. I've tried editing a piece of code that I used previously to do the same for paragraph styles, but apparently it's

  • Oracle.jbo.AttrValException: JBO-29114

    Hi, I am using JDev11.1.2 i have command Button. On clicking of the Command Button, I get the following Exception. oracle.jbo.AttrValException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace an

  • 17 inputs do NOT show in MS Office Report

    I configured the MS Office Report.vi and only 9 input show up. I have bookmarks setup in a MS Word 2007 documents. I'm using LV2009. Even when I set the 9 bookmarks to "fixed value" only three controls are displayed, "enable", error in" and "error ou