10G-Form: How to add Email-id to the To: field in the Outlook?

I am using 10G DB + 10G Form Builder.
I've 'email_item' field in table where I am storing email-ids.
I m displaying 'email_item' field and 'Send_Email_button' in the form.
I want to add (copy) the exact email-id that has been displayed on the form to the To: field in the Outlook.
Means whatever Email got displayed in the 'email_item' field, I want to add this Email automatically.
I do not want to type manually the email-id of the person in the To: field of the Outlook like I am using rt. now as:
WHEN-BUTTON-PRESSED trigger code=
WEB.SHOW_DOCUMENT ('mailto:hard_coded_value_of_email?subject=Testing%20Email: &body=Please%20check............');
Pl help me.
Gaurav

Hi,
For getting the email ID you can write a java code using the Iuser Interface. Have look to the following:
public class UseremailID extends AbstractPortalComponent
public void doContent(
IPortalComponentRequest request,
IPortalComponentResponse response)
try
IUserFactory userfactory = UMFactory.getUserFactory();
IUserSearchFilter userfltr = userfactory.getUserSearchFilter();
userfltr.setMaxSearchResultSize(5000);
ISearchResult userResult = userfactory.searchUsers(userfltr);
while (userResult.hasNext())
response.write("<table border=0>\n");
String uniqueid = (String) userResult.next();
IUser user = userfactory.getUser(uniqueid);
//IRole role = rolefactory.getRole(uniqueid);
response.write("<tr><td bgcolor=Red>"+ user.getDisplayName()+ "</td></tr>\n");
response.write("<tr><td bgcolor=Green>"+ user.getEmail()+ "</td></tr>\n");
response.write("</table>\n");
response.write("
\n");
catch (Exception e)
for analyzing the error you just need to check the log file at your server. Visit the following path:
<Your_SAP_Drive> :/usr/sap/<your_System_Name>/jc00/j2ee/cluster/server0/log/
There you can view the .trc file. Open that file and look for the error or the Stack trace in that.
i think it may help you

Similar Messages

  • How to add * wild card to a specific field on the selection-screen.

    Hello,
    How to add a * WIld card to a field in selection screen.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS : S_STCTS FOR G_STCTS OBLIGATORY,      "NUMBER SCHEME
                     S_AT20A FOR G_ATTR20A,    "SUBSTANCE ID
    SELECTION-SCREEN END OF BLOCK B1.
    I need to add Wild card functionality to Number scheme field S_STCTS on selection-screen.
    Any suggestions would be apprecaited..
    Regards,
    Kittu

    Hi Kittu,
    Here is one sample code:-
    select-option : s_name like kna1-name1.
    start-of-selection.
    if s_name-low = '*'.
    select * from kna1 into table it_kna1.
    elseif s_name-low = 'pat*' or s_name-low = 'pat'.
    select * from kna1 into table it_kna1 where name1 like 'Pat%'.
    endif.
    In case of wild card Select should be :-
    select * from <dbtab> where <field> like 'P%'.
    You can also use RANGES in your Code.
    E.g. RANGES: R_OBJNR FOR JEST-OBJNR
    R_OBJNR-SIGN = 'I'.
    R_OBJNR-OPTION = 'CP'.
    R_OBJNR-LOW = 'K1*'.
    R_OBJNR-HIGH = 'K2*'.
    Hope this helps.
    Thanks & Regards
    Jitendra Gujarathi

  • How to Add Values in INVOICE SUB-TYPE field at the Invoice Header Forms

    Hello,
    Does any body knows how could I add/modify values in the INVOICE SUB-TYPE field at the Invoice Header Forms?. This values are related to the Globalization, in this case for the Chilean Localizations.
    Thanks,
    Alejandro R.

    It gives any error or just does nothing?
    Have you tried making another simple form with just one block and one or two items?
    You can do this type of testing in these conditions.
    Which version of forms are you using?

  • How to add email id in scot

    Hi,
    Could you tell me how to add email id in scot.
    Regards,
    Amar

    Hi Amar,
    Please check this link.
    http://help.sap.com/saphelp_nw70/helpdata/EN/2b/d925bf4b8a11d1894c0000e8323c4f/frameset.htm
    Hope this will help you..
    Regards

  • How to use the separate symbol in the text field in the adobe form.

    Hi,experts,
    I don’t know how to use the separate symbol to make a paragraph separate into several lines correctly in the text field in the adobe form.
    Action:
    1. config the ADS successfully.
    2. create the adobe form with a mult-line textfield(binding the 'remark' context in the interface of the form) using sfp.
    3. create a WDA for invoke the form and transfer the 'remark' context data.
    I use the following codes to display the paragraph in the PDF document:
    CONCATENATE
    '1&#12289;aaaaaaaaaaa&#65307;'
    '2&#12289;bbbbbbbbb '
    '3&#12289;ccccccccccc'
    '4&#12289;ddddddddd'
    INTO remark .
    lo_nd_z_hr_php_payslip->set_attribute(
    EXPORTING
    name = `REMARK`
    value = remark ).
    But I found all the content aren't paragraph separate correctly in the text field in the adobe form when I run the WDA.
    Could you please give me some hints to make the paragraph separate correctly in PDF document? Thanks a lot in advance!
    My email is : [email protected]
    Best regards,
    Tao
    Edited by: wang tao on Apr 8, 2008 1:58 AM

    Hi,
    If it is just a one word value then you could use this in the exist event;
    this.rawValue    
    = util.printx(">?<*",this.rawValue);
    This changes the first character (represented by the ?) to uppercase (represented by the >) and all trailing characters (represented by the *) to lowercase (represented by the <).
    If you wanted something more general ... if they could also enter a middle name then you could call a function like;
    function        toTitleCase(textValue)
      return  textValue.toLowerCase().replace(/\b[a-z]/g, function replacer(match) { return match.toUpperCase(); });
    This uses a regex to change all lowercase letters following a word boundary to uppercase.
    Bruce

  • When creating a fillable PDF form can I add a password to only selected fields?

    I am creating a fillable form which will require data entry from several different people before being returned to my office. There are certain fields on the form that need to be restricted to personnel in my office only. I have tried to accomplish this restriction many different ways but have been unsuccessful.
    The closest I have come to accomplishing this restriction is by adding a "For HRO Only" button which I can use to hide certain fields from personnel outside of my office and unhide the text field when the button is clicked. This would be perfect if I could add a password to the button. Unfortunately this is either not possible or I haven't figured out how to do it which means that personnel outside of my office can still access the fields with a click of a button.
    The only other way I have thought of to accomplish this restriction is to mark those fields as "read only" but it seems as though it would be very time consuming for personnel in my office to complete the form due to the fact that they would have to open "edit form",  open the properties for each field requiring their input, and uncheck "read only" for each one.
    Any help/options/ideas you can provide will be greatly appreciate. Thank you!

    Thank you so much for the quick response. This will be a huge help! I hate to be a bother, but can you tell me the steps to create the script or give me a reference/resouce to use? I have used adobe products quite a bit, but this is my first time creating a PDF Fillable Form that will be distributed for use by several people so I am a little lost.
    Also, I seem to be running into one more problem that I am hoping you can help me figure out. On the form there is a question for the recipient  to answer by checking one of two boxes, yes or no. Depending on the answer an action is initiated. This feature works perfectly, however the issue is that when the recipient choses "yes" he/she is directed to fill out four additional fields that I currently have set as "required", but when the recipient choses "No" the four additional fields are hidden yet still required. This becomes an issue when the recipient has completed the form and tries to submit the form. An error message pops up notifying the user there are required fields that are empty and must be completed before submission.
    My thought is (in a perfect world) one of these two options would be ideal:
    1. When the "No" option is chosen the four additional fields are changed from required to not required, or
    2. When the "No" option is chose the four additional required fields are autopopulated with NA.
    Either remedy would work just fine, however I am open to suggestions... Again thank you so much for your help with my previous question and thank you in advance for any information/help/advice you can provide in regards to my second question. 

  • How to add 2 days to a date field?

    How to add 2 days to a date field if a Saturday was selected on a different date field?
    Thanks

    I am attempting to add a date field and then have a another field add an amount to a box if the date is less than 30 days. Later I want to update the form to have the today's date is less than 10 days.
    Early Registration Fee is $10.00 if posted by February 25, 2008
    Late Registration Fee is $20.00 if posted by March 17, 2008
    It seems simple, but, when you get to be 71 years old, it seems difficult. Any help will be appreciated.
    Here is a link to the form I'm working on:
    http://www.aworldwide.com/Gideon/Convention_Registration.pdf
    I am using a trial version of Adobe Acrobat 8.
    Thanks,
    Andy Anderson

  • How to add the date field in the dso and info cube

    Hi all.
    I am new to bi 7. in the earlier version v hav to button to add the date field. but in the bi 7 der is no option so can any body tell me how to add the date field in the data targets
    Thanks & Regard
    KK

    my prob is solved
    KK

  • How to Add a parameter of currency exchange rate in the selection screen

    Dear Friends,
    How to Add a parameter of currency exchange rate in the selection screen with format (9999.99999). wich field i need to take.
    Thanks,
    Sridhar

    TCURR-UKURS.
    ~Suresh

  • How to add a SPACE as suffix to the last field in the downloaded text file?

    Hi Experts,
    By using GUI_DOWNLOAD am saving the data(only 3 fields) in a text file on my desk top.
    fine.
    example current record1 : 010001                      354.999            26.000
    here, after 3rd field 26.000, immediately the cursor is jumping to next line in text file.
    but, wanna a SINGLE SPACE after 26.000, say 26.000+space.
    tried with CONCATENATE, OFFSETTING, but no use(may b am using incorrectly)
    so, pls. suggect me, How to add a SPACE as suffix to the last field in the downloaded text file?
    thanq

    Sorry...Typo error...Too many in the last few days -:(
    Wanted to say AFTER -:)
    Do it like this...
    FIELD1 TYPE XXX,
    FIELD2 TYPE XXX,
    FIELD3 TYPE XXX,
    SPACE(1) TYPE C,
    That way you should end with...
    26.000+SPACE
    Greetings,
    Blag.

  • How to add a search help for a field in Screen Personas?

       I just started learning to use a Screen Personas, and I want to know how to add a search help for a field.
       I found a property in the help document named "IsLookupSupported". Is it the key?  But I saw it was gray in the field I created, and its value is "false". I could not change it.

    Hi, Tamas,
    I found the reason. The function Z_WEBRFC_READ_DATA_SH had a string concatenation error.
    CONCATENATE '{"results":[{"key": "shlpname", "value": "' l_shlp '"},"key": "fieldname", "value": "' l_field '"}]}' INTO htmldoc-line.
    The correct code is like:
    CONCATENATE '{"results":[{"key": "shlpname", "value": "' l_shlp '"},{"key": "fieldname", "value": "' l_field '"}]}' INTO htmldoc-line.
    Another question is, I can't get any words in Chinese from WebRFC. It returns error when I try it. How can I configure it?
    Xin

  • How to add a user defined HTTP header field?

    Hi, everyone!
    I want to add a user defined HTTP header field to a HTTP
    response header.
    I use the following statements in testHeader.jsp
    response.addHeader("myheader", "123");
    response.sendRedirect("middleHeader.jsp");
    in middleHeader.jsp,
    out.print(request.getHeader("myheader"));
    But the output in middleHeader.jsp is null!
    How to add a user defined HTTP header field to a HTTP
    response header? Are there some sample codes?
    Cheers,
    George

    the send redirect actually creates a new request (through the client) and thus a new response
    thus the headers you set in the response are gone for the next request/response
    You can try servletDispatcher.forward

  • How to add a graphic watermark that is bigger than the photo?

    How to add a graphic watermark that is bigger than the photo?
         Basically I want to add a watermark that is a border, like "outside stroke" so that it doesn't clip the photo.
         Upper, left and right side are 10px and on the bottom is my signature that is 40px high. I know how to do this in Photoshop, but can't figgure it out in Lightroom.
         The inset function with negative numbers doesn't work, because it only export to the size of the exported image, instead it should resize the image with those 10px up, left and right and 40px on      the bottom.
    My bordes look like this either one of the two can be used, and if you scroll down you will se how the end result should look like.
    And below is what it should look like, so that Lightroom doesn't clip the photo.

    Are you sure the focus of your piano roll is on the right track? Are you zoomed in/out enough?

  • How to add a search help to a field  Bank Type in Transaction FK02

    Dear All,
         How to add a search help to a field  Bank Type in Transaction FK02.
         Is there any possibilty of using  exit or searc help or domain to solve this problem.
            Thanks in Advance..
    Thanks,
    Lakhsmi.

    Hi, Tamas,
    I found the reason. The function Z_WEBRFC_READ_DATA_SH had a string concatenation error.
    CONCATENATE '{"results":[{"key": "shlpname", "value": "' l_shlp '"},"key": "fieldname", "value": "' l_field '"}]}' INTO htmldoc-line.
    The correct code is like:
    CONCATENATE '{"results":[{"key": "shlpname", "value": "' l_shlp '"},{"key": "fieldname", "value": "' l_field '"}]}' INTO htmldoc-line.
    Another question is, I can't get any words in Chinese from WebRFC. It returns error when I try it. How can I configure it?
    Xin

  • How to Add F4 Help To a Screen Field In a Module Pool Program

    Hi Friends,
    1. How to Add F4 Help To a Screen Field In a Module Pool Program?
    2. How to select a single cell in ALV report output for interactive reporting ?
    Kindly give code example.
    regards,
    Pradeep

    Hi,
    Try using the fm 'F4IF_INT_TABLE_VALUE_REQUEST'.
    Refer the link below for selecting  single cell.
    alv
    Reward points if useful.
    Regards
    Rose

Maybe you are looking for

  • Having problems creating PDF from website with query-string URLs

    I have a website that I would like to create a PDF from. I am using the Create -> PDF from Web Page..., selecting the site's home page, and capturing 2 levels, with "stay on same path" and "stay on same server" checked in order to limit the scope of

  • Classpath and hash Character (#)

    Hi, I have some jar files in my java classpath and it looks as if the JVM does not manage to find them when the jar file path contains a hash character (#) (java.lang.NoClassDefFoundError Exception is raised) I haven't found anything about this in do

  • Getting problems with one book

    Hi everyone. I have never experienced this before and its really holding me up. When trying to output this one book its failing every time with a hang. But completly randomly, sometimes it gets to page 100 sometimes 125. If I watch where it hangs, I

  • Remote connection, open new tab

    Hi, I'm a long time Linux user and recently switched to a Mac at work. Everything is going well except for one thing. I'm trying to avoid retraining muscle memory and also trying to avoid potentially millions of keystrokes per year. My problem is tha

  • Why do I keep getting "Error getting push certificate" when trying to enable Profile Manager

    I keep getting this stupid error message!  The Stupid Workgroup manager doesn't work! Won't allow me to do anything!  What is the point in that! Sorry, just having a rant as I have just purchased this server which I can't do anything with.  Can't get