How can i make sender address as default in ABAP code

hi gurus,
am developed a abap program to send emails.
working fine i want set sendar address as default ,presently am using the following code to set sender address .but below BCMESS userid should in Sap user list then only it should working,my question is i want to set default address irrespestive of sap user,like want to set sender as xyzzzzass
how is this possible please provide related stuf please.
data: sender        TYPE REF TO cl_sapuser_bcs,
sy-uname = 'BCMESS'.
sender = cl_sapuser_bcs=>create( sy-uname ).
try.
    CALL METHOD send_request->set_sender
      EXPORTING
        i_sender = sender.
CATCH CX_ADDRESS_BCS .
endtry.

Hi Venkat,
If your requirement is to send e-mails from some dummy sender, do like below...
DATA   sender        TYPE REF TO cl_cam_address_bcs.
      sender = cl_cam_address_bcs=>create_internet_address( 'sender-at-defaults.com' ).
      send_request->set_sender( sender ).
~Jose.
Edited by: Jose on Mar 4, 2009 7:46 AM
Edited by: Jose on Mar 4, 2009 7:47 AM

Similar Messages

  • I have created a spreadsheet on numbers for ipad with a list of customers as a drop down menu. How can i make their address appear underneath when i select the customer?

    I have created a spreadsheet on numbers for ipad with a list of customers as a drop down menu. How can i make their address appear underneath when I select the customer?
    iselect the customer?

    Hi bazza,
    We won't be able to put the address from a formula into the same cell that you enter the customer's name. We can put the address in the cell under the customers name.
    First let's take James advice and concatenate the address in the address table.
    Here is the formula in G2
    =CONCATENATE(B2&"
    ",C2&"
    ",D2&"
    ",E2)
    It shows this way because after I clicked on B2 and typed [&"] (no brackets) I typed option-return
    This gives you your new line. Then I typed the closing ". I repeated this for the rest of the address.
    Next we want to bring this to your order sheet. I prefer using the two formulas OFFSET and MATCH instead of VLOOKUP.
    base tells OFFSETwhere to start counting from. Click A1.
    row-offset is for the row. we will use MATCH() -1 to give us the row.
    What MATCH does is give you the row number where something is found and you can specify an exact match. I usually construct the MATCH formula first and then cut and paste it into OFFSET. MATCH looks like this: MATCH(A2,Table 1::A,0). A2 is what we are looking for, Table 1A::A is where we are looking (the entire column A), and 0 means we want an exact match. Can you see it inside the OFFSET formula? Notice that we had to subtract 1 from its result.
    column-offset tells OFFSET which column A=0 so we want 6.
    we ignore "rows", "colomns" we don't need them.
    If this seems like too much, just break it down into small pieces.
    quinn

  • How can I make Yahoo Mail the default in Safari?

    How can I make Yahoo Mail the default in Safari. I contacted Yahoo and they said to contact Safari.

    Yahoo Mail is not an application. If you wish to use Yahoo Mail just create a bookmark to its web page.

  • How can I make US letter the default print size in PSE12

    How can I make US letter the default print size in PSE12

    Clips from JVC Everio camcorders have always had this problem with Premiere Elements (all versions). You need to select Interpret Footage.
    See this FAQ from PE version 2, step 3. Like I said it has been this way with all versions:
    http://www.adobeforums.com/webx/.3bc1265c
    You might be able to use this tool to change the header of your MOD files so they are seen as 16:9: http://www.videohelp.com/tools/DVDPatcher
    Or use this program (SDCopy) to download the video's from the cam, it will allow you to copy straight from the cam to your PC and auto renames and corrects the aspect ratio.
    http://zyvid.com/smf/index.php?action=dlattach;topic=280.0;id=153

  • How can I make "No Proxy" the default for accessing the internet?

    How can I make "No Proxy" the default for accessing the internet?

    *Tools > Options > Advanced > Network : Connection > Settings
    If you do not need to use a proxy to connect to internet then try to select "No Proxy" if "Use the system proxy settings" or one of the others do not work properly.
    See "Firefox connection settings":
    *https://support.mozilla.org/kb/Firefox+cannot+load+websites+but+other+programs+can

  • I have both photoshop 6 and Photoshop CC on my Mac. How can I make Photoshop CC the default to open when I double click on an image?

    I have both photoshop 6 and Photoshop CC on my Mac. How can I make Photoshop CC the default to open when I double click on an image?

    Right-click an image file,
    Get info,
    Open with: <choose Photoshop CC>
    Change File Associations in OS X Mavericks - YouTube

  • How can I make GRID view the default view? The icons for view that used to be located in the upper right top of the page near the 'search library' are gone.

    How can I make GRID view the default view? The icons for view that used to be located in the upper right top of the page near the 'search library' are gone.

    99jon wrote:
    Perhaps it’s a design feature to speed up the Organizer launch.
    I am sure it is.
    - The normal use of the Organizer is not the folder view, it's the thumbnail view with an organization based on categories and folder. That way you should forget completely where your pictures are stored. Anyway, the folder view in the Explorer is not a map of the location of the different bits of your file, it's only a logical representation. That's easy to see when you are doing a defragmentation.
    - The folder view is useful even for those using normally the thumbnail view, but that is only for rare cases when you must change the folder organization, for instance moving files to another drive. The folder view is here to prevent you from changing things from the explorer and outside of the Organizer.
    - The new folder list view, which you find 'funny' is there to help better organizing using tags. Its huge advantage is that such a view is created extremely quickly by extracting the last subfolder in the media table : it's the way the database sees the folders, based on its own content,  totally ignoring the complex folder organization of your disk with media files or any unrelated other kind of data. You should use it in many cases, the main purpose being assigning tags when you have assigned descriptive folder names. I had suggested such a solution to prevent the long standing bugs in the folder view of previous versions.
    So yes, the purpose is:
    - to speed up switching modes
    - to help folder organization fans to migrate to tags organization
    - to hopefully get rid of the old folder organization bugs

  • How can I make google my real default search engine?

    Yes, I have set Google as my preferred search engine in Safari Preferences.
    But when I try to do things such as define a word, it uses Bing.
    Frankly, I do not care for Bing.
    How can I make google always be my search engine?
    Thanks

    Here you go Andy.
    I did learn some things while looking at it.
    I need to clean out byTimemachine drive  :-)
    EtreCheck version: 1.9.11 (43) - report generated May 24, 2014 at 3:36:36 PM CDT
    Hardware Information:
              MacBook Pro (17-inch, Early 2011)
              MacBook Pro - model: MacBookPro8,3
              1 2.2 GHz Intel Core i7 CPU: 4 cores
              16 GB RAM
    Video Information:
              Intel HD Graphics 3000 - VRAM: 512 MB
              AMD Radeon HD 6750M - VRAM: 1024 MB
    System Software:
              OS X 10.9.3 (13D65) - Uptime: 0 days 4:36:5
    Disk Information:
              APPLE HDD HTS541075A9E662 disk0 : (750.16 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) / [Startup]: 651.3 GB (128.86 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
                        BOOTCAMP (disk0s4) /Volumes/BOOTCAMP: 98 GB (53.79 GB free)
              MATSHITADVD-R   UJ-8A8 
              ST1000LM024 HN-M101MBB disk1 : (1 TB)
                        EFI (disk1s1) <not mounted>: 209.7 MB
                        Time Machine (disk1s2) /Volumes/Time Machine: 999.86 GB (258.83 GB free)
    USB Information:
              Apple Inc. FaceTime HD Camera (Built-in)
              Apple Inc. BRCM2070 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple Inc. Apple Internal Keyboard / Trackpad
              Seagate FreeAgent GoFlex 1.5 TB
                        Photo Drive (disk3s1) /Volumes/Photo Drive: 1.5 TB (1.03 TB free)
              PNY Technologies USB 2.0 FD 32.18 GB
                        USB20FD (disk2s1) /Volumes/USB20FD: 32.18 GB (18.46 GB free)
              Apple Computer, Inc. IR Receiver
    Thunderbolt Information:
              Apple Inc. thunderbolt_bus
                        LaCie Rugged mini
    Gatekeeper:
              Mac App Store and identified developers
    Kernel Extensions:
              [kext loaded] com.AmbrosiaSW.AudioSupport (4.1.2 - SDK 10.6) Support
              [kext loaded] com.Cycling74.driver.Soundflower (1.5.3 - SDK 10.6) Support
              [not loaded] com.Ralink.driver.RT2870USBWirelessDriver (4.2.6 - SDK 10.6) Support
              [not loaded] com.elgato.driver.DontMatchAfaTech (1.1) Support
              [not loaded] com.elgato.driver.DontMatchCinergy450 (1.1) Support
              [not loaded] com.elgato.driver.DontMatchCinergyXS (1.1) Support
              [not loaded] com.elgato.driver.DontMatchEmpia (1.1) Support
              [not loaded] com.elgato.driver.DontMatchVoyager (1.1) Support
              [not loaded] com.mtk.driver.mXHCD (1.0.0) Support
              [not loaded] com.quark.driver.Tether (1.1.0d1) Support
              [kext loaded] com.quark.driver.Tether64 (1.1.0d1) Support
              [not loaded] com.realtek.driver.RTL8192SU (1066) Support
              [not loaded] com.realtek.driver.RTL8812AU (1021 - SDK 10.8) Support
              [not loaded] com.rim.driver.BlackBerryUSBDriverInt (0.0.52) Support
              [not loaded] com.rim.driver.BlackBerryUSBDriverVSP (0.0.45) Support
              [not loaded] com.roxio.BluRaySupport (1.1.6) Support
              [not loaded] com.roxio.TDIXController (2.0) Support
              [kext loaded] com.seagate.driver.PowSecDriverCore (5.2.2 - SDK 10.4) Support
              [not loaded] com.seagate.driver.PowSecLeafDriver_10_4 (5.2.2 - SDK 10.4) Support
              [kext loaded] com.seagate.driver.PowSecLeafDriver_10_5 (5.2.2 - SDK 10.5) Support
              [not loaded] com.seagate.driver.SeagateDriveIcons (5.2.2 - SDK 10.4) Support
              [not loaded] com.silabs.driver.CP210xVCPDriver (3.0.0d1) Support
              [not loaded] com.silabs.driver.CP210xVCPDriver64 (3.0.0d1) Support
              [kext loaded] com.symantec.kext.SymAPComm (12.6f28 - SDK 10.6) Support
              [not loaded] com.symantec.kext.filesecurity (2.6f32) Support
              [kext loaded] com.symantec.kext.fw (5.3f12) Support
              [kext loaded] com.symantec.kext.internetSecurity (5.3f6) Support
              [kext loaded] com.symantec.kext.ips (3.9.1f10) Support
              [kext loaded] com.symantec.kext.pf (5.6f22) Support
              [not loaded] com.wdc.driver.1394HP (1.0.5) Support
              [not loaded] com.wdc.driver.USBHP (1.0.1) Support
    Startup Items:
              WiFiUtilityStartUp: Path: /System/Library/StartupItems/WiFiUtilityStartUp
              ProTec6: Path: /Library/StartupItems/ProTec6
              ProTec6b: Path: /Library/StartupItems/ProTec6b
    Problem System Launch Agents:
              [loaded] com.paragon.NTFS.notify.plist Support
    Launch Daemons:
              [loaded] com.adobe.fpsaud.plist Support
              [loaded] com.ambrosiasw.ambrosiaaudiosupporthelper.daemon.plist Support
              [running] com.backblaze.bzserv.plist Support
              [loaded] com.bombich.ccc.plist Support
              [running] com.fitbit.galileod.plist Support
              [loaded] com.genieoinnovation.macextension.client.plist Support
              [loaded] com.google.keystone.daemon.plist Support
              [loaded] com.macpaw.CleanMyMac2.Agent.plist Support
              [running] com.micromat.TechToolProDaemon.plist Support
              [loaded] com.microsoft.office.licensing.helper.plist Support
              [loaded] com.oracle.java.Helper-Tool.plist Support
              [loaded] com.oracle.java.JavaUpdateHelper.plist Support
              [running] com.symantec.deepsight-extractor.plist Support
              [loaded] com.symantec.errorreporter-periodic.plist Support
              [loaded] com.symantec.liveupdate.daemon.ondemand.plist Support
              [loaded] com.symantec.liveupdate.daemon.plist Support
              [not loaded] com.symantec.nav.migrateqtf.plist Support
              [running] com.symantec.sharedsettings.plist Support
              [running] com.symantec.symdaemon.plist Support
    Launch Agents:
              [not loaded] com.adobe.AAM.Updater-1.0.plist Support
              [running] com.adobe.AdobeCreativeCloud.plist Support
              [running] com.epson.epw.agent.plist Support
              [running] com.genieoinnovation.macextension.plist Support
              [loaded] com.google.keystone.agent.plist Support
              [running] com.micromat.TechToolProAgent.plist Support
              [loaded] com.oracle.java.Java-Updater.plist Support
              [running] com.rim.BBLaunchAgent.plist Support
              [loaded] com.symantec.errorreporter-periodicagent.plist Support
              [loaded] com.symantec.nis.application.plist Support
              [running] com.symantec.uiagent.application.plist Support
              [not loaded] com.trendnet.wutility Support
              [running] Wlan.Software.plist Support
              [failed] WlanAC.plist Support
    User Launch Agents:
              [loaded] com.adobe.AAM.Updater-1.0.plist Support
              [loaded] com.adobe.ARM.[...].plist Support
              [loaded] com.adobe.ARM.[...].plist Support
              [running] com.akamai.single-user-client.plist Support
              [running] com.backblaze.bzbmenu.plist Support
              [loaded] com.genieo.completer.download.plist Support
              [loaded] com.genieo.completer.update.plist Support
              [loaded] com.macpaw.CleanMyMac2Helper.diskSpaceWatcher.plist Support
              [loaded] com.macpaw.CleanMyMac2Helper.scheduledScan.plist Support
              [loaded] com.macpaw.CleanMyMac2Helper.trashWatcher.plist Support
              [running] com.microsoft.LaunchAgent.SyncServicesAgent.plist Support
              [not loaded] ws.agile.1PasswordAgent.plist Support
    User Login Items:
              Garmin Express Service
              WeatherBug Alert
              GoFlex Home Agent
              iTunesHelper
              Dropbox
              Fitbit Connect Menubar Helper
    Internet Plug-ins:
              JavaAppletPlugin: Version: Java 7 Update 55 Check version
              Google Earth Web Plug-in: Version: 6.0 Support
              Default Browser: Version: 537 - SDK 10.9
              Flip4Mac WMV Plugin: Version: 3.2.0.16   - SDK 10.8 Support
              OfficeLiveBrowserPlugin: Version: 12.2.9 Support
              SlingPlayer: Version: (null) - SDK 10.6 Support
              AdobeAAMDetect: Version: AdobeAAMDetect 2.0.0.0 - SDK 10.7 Support
              FlashPlayer-10.6: Version: 13.0.0.214 - SDK 10.6 Support
              AdobePDFViewerNPAPI: Version: 11.0.07 - SDK 10.6 Support
              Silverlight: Version: 5.1.30317.0 - SDK 10.6 Support
              Flash Player: Version: 13.0.0.214 - SDK 10.6 Support
              iPhotoPhotocast: Version: 7.0
              QuickTime Plugin: Version: 7.7.3
              SharePointBrowserPlugin: Version: 14.4.1 - SDK 10.6 Support
              AdobePDFViewer: Version: 11.0.07 - SDK 10.6 Support
              CouponPrinter-FireFox_v2: Version: Version 1.1.7 - SDK 10.5 Support
              GarminGpsControl: Version: 4.0.4.0 Release - SDK 10.6 Support
              EPPEX Plugin: Version: 3.0.5.0 Support
              DirectorShockwave: Version: 12.0.4r144 - SDK 10.6 Support
    Safari Extensions:
              Translate: Version: 1.1
              Video Converter: Version: 3.0.0
              1Password: Version: 4.1.0
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 2.0 - SDK 10.9
              AppleAVBAudio: Version: 203.2 - SDK 10.9
              InstantOn: Version: 7.1.2 - SDK 10.8 Support
              iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins:
              Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    User Internet Plug-ins:
              CitrixOnlineWebDeploymentPlugin: Version: 1.0.105 Support
              Google Earth Web Plug-in: Version: 7.1 Support
    3rd Party Preference Panes:
              Akamai NetSession Preferences  Support
              Backblaze Backup  Support
              EarthDesk  Support
              Flash Player  Support
              Flip4Mac WMV  Support
              Java  Support
              MagicMenu  Support
              MagicPrefs  Support
              Norton\nQuickMenu  Support
              Paragon NTFS for Mac ® OS X  Support
              Perian  Support
              TechTool Protection  Support
    Time Machine:
              Skip System Files: NO
              Mobile backups: OFF
              Auto backup: YES
              Volumes being backed up:
                        Macintosh HD: Disk size: 606.57 GB Disk used: 486.56 GB
              Destinations:
                        Time Machine [Local] (Last used)
                        Total size: 931.19 GB
                        Total number of backups: 43
                        Oldest backup: 2014-04-26 21:03:29 +0000
                        Last backup: 2014-05-24 20:28:32 +0000
                        Size of backup disk: Too small
                                  Backup size 931.19 GB < (Disk used 486.56 GB X 3)
              Time Machine details may not be accurate.
              All volumes being backed up may not be listed.
    Top Processes by CPU:
                  47%          bzfilelist
                   2%          WindowServer
                   0%          Dropbox
                   0%          Creative Cloud
                   0%          fontd
    Top Processes by Memory:
              279 MB          SymDaemon
              246 MB          AdobeAcrobat
              229 MB          mds_stores
              180 MB          com.apple.IconServicesAgent
              147 MB          Microsoft Database Daemon
    Virtual Memory Information:
              10.50 GB          Free RAM
              2.81 GB          Active RAM
              850 MB          Inactive RAM
              1.84 GB          Wired RAM
              1.65 GB          Page-ins
              0 B          Page-outs

  • How can I make new iCal events default to 1 hour long?

    Please help me love my iCal again.  How can I set it up so that the default for a new event is an hour long instead of EIGHT?!?  Why on earth does iCal think a new event should be eight hours long?  It's especially annoying at night.  Add a new event at 9PM and iCal sets an end for 5AM and rolls it into the next day, which means I have to change the end time and change the end date every time I add a new event.
    Seriously, who designed this thing?  Here's a perfect example of bad design (which, coming from Apple is shocking!): In the menu, click New Event.  Does iCal create a new event?  No.  It draws a box arrow pointing to the big plus sign.  Are we sure Microsoft didn't design this thing?
    I'm a diehard Mac Guy for over 17 years.  But I must say, I'm disappointed with some aspects of Lion.  Yikes.  (sorry...  I needed to vent!)

    I probably should have noted that I'm using iCal in the month view.  Maybe that's why my iCal thinks every new event is eight hours long?  The previous iCal didn't behave this way.
    And, yes, a menu item titled New Event that opens a box where I can create a new event rather than actually creating a New Event is bad design.  It adds extra steps.  It feels like a Microsoft thing where you click on something and then get asked if that's really what you wanted to do.  When I click New Event, I want a new event to open so I can input the details including calenrar, alarm, repeating data, notes, etc.  Sure, if I wanted a quick option, I'd go for the + sign to add one.  But when it comes to having to change calendars or add extra info, making me go through extra steps is poor design.
    There's a lot to like in the new iCal, but pushing the app away from design simplicity for VISUAL simplicity is poor design for a desktop OS app.  On a three inch screen like the iPhone, it makes perfect sense.  It's brilliant, in fact.  But on a desktop OS?  I completely understand the idea of merging iOS with OS X, but a motorcycle is not a tractor trailer even though they both have engines.  To treat them as such is poor design.
    Another example: in iCal, it's easy to hide calendars you may not need to see.  That's a great feature.  In the previous iCal, there was a pane that showed which calendars were visible and which were not.  Now, if you're looking at a month, you have no way of seeing that there may also be more events that are hidden without clicking the calendars for a popup to display which are visible and which are not.  I'm no Mac basher.  I have a series of the black & white "Think Different" prints framed and hanging on my walls.  I love Apple, but the new iCal is poor design.

  • How can I make "Call Phones" my default view? Skype 7.6

    Hello,Does anyone know how I can make CALL PHONES my default view. Skype defaults to the SKYPE HOME which is pretty useless.Thank you.Bruce

    Hi ..
    For a specific region, that requires a third party add on called Glims. It's free   > Glims for Safari
    Tutorial | Glims:   Adding a new search engine to Safari
    Frequently Asked Questions | www.MacHangout.com
    To access Glims settings, from your Safari menu bar click Safari > Preferences then select the Glims tab.

  • How can I make Thunderbird be my default e-mail progrm?

    Mac Mail does not work well with my satellite system and Internet Service Provider. Thunderbird works much better. However, iPhoto does not recognize Thunderbird. The only two choices it gives me are Mac Mail and Entourage. How can I add Thunderbird as a choice or make Thunderbird my default. I have thrown away Mac Mail and still neither iPhoto nor some important websites I deal with will recognize Thunderbird. There doesn't seem to be any setting in Thunderbird which will make it the default e-mail program.
    Thanks

    It's normally done in Mail's General preferences. But since you trashed it, use this freeware instead.

  • How can I make Firefox as my default browser?

    When I first browsed on the firefox 5, I seted to ignore request for default browser. now the request is not showing anymore. now I want to make firefox as default browser but I don't now how to do it.

    hello, hopefully this article can help: [[Make Firefox the default browser on Android]]

  • How can I make Skype Desktop the default for Call: links in MS Outlook?

    How can I persuade MS Outlook to use Skype Desktop for Call: links (such as those for phone numbers in a Contact Card)?  Right now it is using Skype for Business to open them (I have both Skype Desktop and Skype for Business - formerly Lync - installed) and I need to use Skype Desktop by default instead. Office 365 Business (15.0.4727.1003) on Windows 8.1 Pro x64, with Skype Desktop v 7.6.whatever the latest is. Advice very welcome!

    How can I persuade MS Outlook to use Skype Desktop for Call: links (such as those for phone numbers in a Contact Card)?  Right now it is using Skype for Business to open them (I have both Skype Desktop and Skype for Business - formerly Lync - installed) and I need to use Skype Desktop by default instead. Office 365 Business (15.0.4727.1003) on Windows 8.1 Pro x64, with Skype Desktop v 7.6.whatever the latest is. Advice very welcome!

  • How Can I make CS5 remain the default

    I don't want cs6 to open my files by default. How do I make cs5 the default?
    Best, W

    Please read this to get your answer.
    http://forums.adobe.com/thread/978887?tstart=0
    Regards
    Pragya

  • How can I make Elements 9 my default to open picture files with?

    After using Elements 12 for a months trial and then uninstalling it, I can no longer find Elements 9 listed when I right click on a picture file and select "open with".  How can I restore it to my list of programs with which I can open the file.  I'm using Windows 8 which list aps and some other programs but not Elements 9.

    When you choose "Open With" migrate to the folder of PhotoshopElementsEditor.exe location and choose .exe to open images with . The photoshopelementseditor.exe is present at location "C:/Program Files (x 86)/Adobe/Photoshop Elements 9/PhotoshopElementsEditor.exe.

Maybe you are looking for

  • Error Message from BAPI_REQUISITION_CHANGE

    Hi Guys. I am getting an error message  Sum of quantities >2< larger than total quantity.I saw some related threads from this forum.But not conclusive. This error is from         CALL FUNCTION 'BAPI_REQUISITION_CHANGE'           EXPORTING            

  • Reading file on the server..

    I am reading a file from the database and I want to store it on the server side. I have created a directory "download". But how to pass the path of this folder to the outputstream. I am giving the path as "/rootfolder/downloads/somefile.txt" but i am

  • Cairo-dock - no plugins were found

    Everything worked fine up until the update I just did (the previous one was yesterday). Now, cairo dock keeps displaying the message every few seconds No plugins were found. They probide most of the functionalities. There is almost no meaning in runn

  • HT204389 SIRI not available on my itouch with OS 6x

    i upgraded the 5th generation itouch but i cannot find SIRI

  • Ho do you 'un-gray' the Databases menu option in the Windows menu?

    I seem to be entering a 'world of hurt' with PHP on my iMac running Mac OS X 10.6.6 with Dreamweaver CS4 Under the Windows menu the Database menu option is grayed out.  How do I un-grey it? In the Site Definition dialog box I have Server Model set to