Class cl_bcs there's a way to set sender by dummy e-mail not by sap user ?

Someone know if there's any possibilty to do this ?

Hi,
you can change the sender from SAP user to some other external mail id.......but that mail id must be a valid one.........
check the below code
DATA: send_request       TYPE REF TO cl_bcs,
      text               TYPE bcsy_text,
      document           TYPE REF TO cl_document_bcs,
      sender             TYPE REF TO cl_cam_address_bcs,
      recipient          TYPE REF TO cl_cam_address_bcs,
      bcs_exception      TYPE REF TO cx_bcs,
      sent_to_all        TYPE os_boolean.
TRY.
    send_request = cl_bcs=>create_persistent( ).
    APPEND 'Hi test' TO text.
    document = cl_document_bcs=>create_document(
                                          i_type    = 'RAW'
                                          i_text    = text
                                          i_length  = '7'
                                          i_subject = 'test' ).
    send_request->set_document( document ).
    sender    = cl_cam_address_bcs=>create_internet_address(
                                      'test at abcd.com' ).
    recipient = cl_cam_address_bcs=>create_internet_address(
                                      'test at abcd.com' ).
    send_request->set_sender( sender ).
    send_request->add_recipient(
                       EXPORTING
                          i_recipient = recipient
                          i_express   = 'X' ).
    send_request->send(
                    EXPORTING
                       i_with_error_screen = 'X'
                    RECEIVING
                       result              = sent_to_all ).
    COMMIT WORK.
  CATCH cx_bcs INTO bcs_exception.
    EXIT.
ENDTRY.
i hav replaced @ with 'at'
Cheers,
jose.

Similar Messages

  • Is there a way to set Thunderbird to automatically move mail I have read into an old mail folder? If so, pleased explain.

    is there a way to set Thunderbird to automatically move mail I have read into an old mail folder?

    I would start by creating a filter that looks like the one in the picture, but if you were run the filter automatically when getting new mail, it might behave oddly if new mail arrives while you're reading a message.
    http://kb.mozillazine.org/Filters_(Thunderbird)
    Another approach could be to use the Age in Days + is greater than + 1 criterion in the filter.

  • I had been using iMessage all along with my friend who is using an iPhone 6. I choose to send a sms to him as I do not have any connection, after that there is no way I can send him an iMessage again. Can anyone advise how do I switch back?

    I had been using iMessage all along with my friend who is using an iPhone 6. I choose to send a sms to him as I do not have any connection, after that there is no way I can send him an iMessage again. Can anyone advise how do I switch back? I had tried resetting the network setting, toggling off the sms but to no avail.
    Thank you.
    Regards

    What do you mean you choose to send him an SMS because you don't have any connection. What kind of connection? Delete the thread with that individual that you sent via SMS, and as long as you have iMessage activated on your device and your friend has an active data connection, it should recognize that and send as an iMessage. Another scenario is to have the friend send you a message that you can respond to.

  • I have an apple id but i have forgotten my password and i cant reset my password to my email because i longer know have that password to that email i was wondering if there was a way we could send my apple id and password to a brand new email account

    i have an apple id that i can't get into because i have forgotten the password and the email that i had it connect to is no longer working because i no longer know the password so i was wondering if there was a way i could send my apple id and password to an new email account thart i now have

    Go to https://getsupport.apple.com
    (If you see a message that says 'There are no products registered to this Apple ID, simply click on 'See all products and services')
    Choose 'More Products & Services', then 'Apple ID'.
    A new page will open.
    Choose 'Other Apple ID Topics', then 'Lost or forgotten Apple ID password'.
    Click the blue 'Continue' button.
    Select the contact option that suits your needs best.

  • Is there a quick way to view pages in Safari, Firefox, Opera (not Live Preview)?

    Is there a quick way to view pages in Safari, Firefox, Opera (not Live Preview)?

    Currently, no, but we have an item in our backlog to research this.
    Randy

  • I went to the full screen and don't like it and need to know how to get back to what I had. Also, is there a good way to set up bookmarks? Like in a column on the left or right side? Thank you.

    I went to the full screen and don't like it and want to get back to what I had. Also, is there a way to set up bookmarks so that all show in a column on the left or right side?

    Just press F11 on your keyboard to exit full screen mode.

  • Is there any easier way to set as homepage

    Is there an easy way to ask our users to set my website [http://www.itsmysearch.com] (or any other page on that website) as Homepage.
    I mean, currently i ask users to 'drag the link' on their homepage icon. But isn't there a way so that, they just click on a link, and set the page as thr homepage?

    Yes, take a look at this JS code:
    function bookmark(){
    var title = 'Title of Bookmark';
    var url = 'http://yourdomain.com';
    if (document.all)
    window.external.AddFavorite(url, title);
    else if (window.sidebar)
    window.sidebar.addPanel(title, url, "")
    else if (window.sidebar&&window.sidebar.addPanel)
    window.sidebar.addPanel(title,url,"");
    And call it like:
    <a href="javascript:bookmark()">Bookmark this site</a>
    I'm experimenting with it on my [http://www.myoutfitis.com/ fashion inspiration] site and it seems to be working well.

  • Is there a way to set distinct toned for MMS messages? I have a tone set for texts and this is also the one that sounds when a pic or video is sent to me. I was wondering if there's a way to set a separate one? Thanks!

    Edit: I'm using ios6 on iPhone 4s. Thanks!

    Hi...
    The recomended way of setting up Applleds is to have one common one for "the Stores" (iTunes, App Store & Mac App store) so that all purchases are shared, then a seperate individual account for iCloud syncing EACH
    So for instance you'd have [email protected] for the stores and [email protected], [email protected] [email protected] & [email protected] for the individuals
    Thats' what I've done here for myself, mrs & 4 kids.
    Regards,
    Shawn

  • Is there an updated way of setting QuickTime streaming speed for iChat?

    I've been using iChat screen share to help a friend.  The first time we tried it, it worked well; the second time, however (same computers), the image of the screen I recieved was suddenly very low resolution (too low for me to see what I'm doing).  It sometimes clears up after around 30-40 seconds, but once a window is moved, etc, the problem reoccurs, making the process tedious to the point that I don't think I'd go through this.  I saw in a previous community tip that changing the streaming speed in Quicktime can resolve this issue; they specified that this must be done through the Quicktime icon in System Preferences, and not through the standard Quicktime app..  that was for OS 10.5.6; on my OS (10.6.8, and the new QT), Quicktime is now missing from the System Preferences panal  : /..  I also saw a user comment on another site saying, "Basically, [the new] QTX lacks the option to pick your codec, frame size, data rate, and so on."  So was QuickTime's streaming speed function lost, and do I really need Quicktime to accomplish better image quality for iChat?  If it can't be fixed, is there a better screen sharing utility I can get that won't have these problems?  Thanks for any help : )..

    Hi,
    Back before iChat 4 the Video part of iChat chats was based on the reading the app ttok from the Internet speed it could see.
    This speed was directly effected by the then System Preferences > Quicktime > Streaming tab setting.
    Basically the Automatic Setting was read a 0 (zero) kbps.
    The Fastest Setting of Intranet/LAN also got messed up  (it would not return a figure iChat could use)
    For that reason we used to Suggest that people use the 1.5Mbps T1/Intranet/LAN setting
    This limited Video streaming by any app to 1500kbps both as Upload and Download  (this is fact a rough figure based on using base 10 rather than the true binary based math involved)
    At iChat 4 Apple made iChat see the Automatic setting as 384kbps
    This should be fast enough for 4 way Video chats as the Host end. (the person that invites the others)
    By Snow Leopard (iChat 5) the Quicktime Setting has gone in System Preferences.
    The way iChat "reads" the Internet Speed is different and it is not restricted by Quicktime.
    The only way to Cap iChat now is the App Menu > Preferences > Video Section > Bandwidth Limit
    Apple state the minimum Internet speed that iChat should have for Screen Sharing is 128kbps
    Internet Speeds tends to be based on Binary multiple at lower speeds - 56kbps  is max Dial-up Modem speed
    128kbps is obviously twice that. The next speed split is like to be 265kbps
    Check that you and your Buddy have at least 128kbps as Upload as well as download.
    http://www.speedtest.net/
    Ideally it should be faster as at that speed you can lose between 10 and 20% in the test  and the overheads of running the connection to the ISP
    Setting the Bandwidth (in iChat) at 500kbps at both ends can eradicate the variances you can get in slower Internet speeds.
    In Snow Leopard Quicktime has become Quicktime X and does have issues playing some Quicktime 7 movies.
    This also applies to Lion and Mountian Lion
    However there are ways to install the Quicktime 7 Player that will cover the codecs that may not be played.
    This info does not apply to iChat though.
    8:11 PM      Sunday; October 21, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Is there any possible way to set your itunes to just show the album name without the songs included in the album in artist view. and then be able to select the album to expand all the songs. this would be ideal as I have many albums under certain artists

    I use to use windows media player. The layout was great. It would have icons (one of the album artwork inside the folder) for the artists. you could click on the artist and it would have the icons for all of the albums (similar to itunes) however it would not have all the songs included in that album listed underneath or within it. you had to click on the icon for the album to go into that particular album to view the songs. In my personal opinion this was much easier to search for a particular album especially if you had many albums under one artist as I do. I collect live concert recordings for several particular bands. It would be really nice if itunes would allow you to contract the songs names within each album under artist view and have some way to exand them or open a seperate album folder when clicking on the album name through artist view. is this even possible. does anyone know a way to allow this is happen. you would make a serious music collector very happy. I know this is a crazy request but for people who are serious music collectors like myself with over a TB of music it is much easier to consolidate each individual album under each individual artist for faster searching/viewing needs

    You are describing an iTunes problem, not an iPod touch problem. Try posing in the iTunes forum.

  • Both ways to set homepage only work in the current session. Is there a third way to set the home page ?

    Greetings,
    On opening Firefox the Home Page is always;
    http://www.searchqu.com/406
    Whenever I change the home page either by the drag and drop or Tools / Options / General that home page is set for the session. But when I close Firefox and return the home page is back to searchqu.com. It might be useful one day but it is sufficiently annoying that I would be happy to black list the URL.
    I come in an out of Firefox several times a day. The page I want is www.abc.net.au/news which gives responsible local and international news at a glance, not the colour of the panties Paris Hilton wasn't wearing last night.
    Oh, I do miss Netscape. The moon light on a raging following sea. The only good sight of a fox is when you are up with the whippers in and you glimpse the brush going through the next hedge, "from a view to a kill in the morning".
    Cheers,
    WN.
    Just did a search all folders with searchqu in the text. 8 entries in Documents & Settings. 11 in Program Files 10 of which are in iLivid Toolbar. To be honest I haven't found iLivid to be of much use and it does show up twice in Add Remove Programs, on its own and as Toolbar.
    Perhaps if I remove those ?
    Do I smell the rancid stench of a program that piggy-backs on another ?
    Without wasting more time should I just blow iLivid away and see if that fixes it ? ( Carefully noting an address for iLivid so that I can express my displeasure. )

    Try: [/questions/790833]

  • Is there a simple way to set the homepage for all users?

    We are in a high school environment with 500 plus computers and would like to set the school newspaper website as the default homepage for all users of all computers.

    Use a mozilla.cfg file in the Firefox program folder to lock prefs or specify default values.
    Place a file local-settings.js in the defaults\pref folder where you also find the file channel-prefs.js to specify using mozilla.cfg.
    pref("general.config.filename", "mozilla.cfg");
    pref("general.config.obscure_value", 0); // use this to disable the byte-shift
    See:
    * http://kb.mozillazine.org/Locking_preferences
    You can use these functions in mozilla.cfg:
    defaultPref(); // set new default value
    pref(); // set pref, but allow changes in current session
    lockPref(); // lock pref, disallow changes

  • Hi, I'm looking to know if there's a way to set Forms Central in order to receive automatic monthly paiement.

    @

    Hi,
    I'm managing a swimming club and we would like to spread the annual fees on a monthly paiement basis, but we don't want each swimmer to fill up a form each month. We would like to have them filling one form at the beginning of the swimming season and accepting to have their credit card account debited each month.

  • Is there a Terminal command to set alternate row colors in Mail?

    I'd like to enable the alternate row colors in the message list, but the only way I can find to do it requires Developer tools to be installed.
    Not bad for my Mac, but it seems a bit of a workload for the other 19 Macs in the office. There's nothing in Onyx or Secrets that'll do this.
    Here's what I found on the web: http://pjkh.com/articles/2007/10/08/alternating-row-colors-in-apple-mail
    There's a plug-in called WideMail which I'm using but it doesn't seem 100% stable.
    Thanks

    Just do the hack once and copy that version of the Mail.app application (or just the MessageViewerContents.nib file) to the other machines. Just make sure that they are running exactly the same version of Mail and MacOS X. This hack will probably not work in Snow Leopard, by the way.

  • Is there any official way to download CS version of InDesign but not the CC version?

    It can only download the CC version now, is there any way to download the CS version software from Adobe?
    And, another question is that what the effect to the developed plug-ins is when updating from CS to CC?
    Thanks a lot.

    Try http://prodesigntools.com/adobe-cs6-direct-download-links.html
    Ensure that you follow the Very Important Instructions before clicking the download link.

Maybe you are looking for

  • Item text in table not printing correctly

    Hi All,   I have a requirement to display Purchase Order Line Item Text in one of the column in a table. I used table to do this, but it is not working correctly, when there is more data (more than one page) in long text. Columns using in the table  

  • Uml to code

    Hello, can you tell me how i go from uml diagram to automatic code generation and vice versa? Thanks in advance

  • Delete a version --- what am I doing wrong?

    Hello everyone. I'm using Aperture 1.5.1. I have a NEF file that I sent to Photoshop Elements 4.0 as a TIFF to do some editing. This was done through the 'Open with External Editor' command. Upon returning to Aperture, I found the file as edited stac

  • Safari problems with bookmarks

    I am sometimes finding that Safari > bookmarks > show all bookmarks - is not showing all bookmarks.  It shows the latest bookmark in a black rectangle and a blank space where it would normally show 'Go to -'     The infamous coloured wheel appears an

  • Library Sharing Errors

    I cannot access my brother's shared library from my iTunes and he cannot access mine. Both computers are sharing libraries and we are connected on a lan. I am connected through a wireless connection and he has a wired connection through the router. I