UTL Mail fields instead of items

Do you know the syntax on adding a field to an email message section using utl mail?
I wanted to know how I can grab the registration_id, full_name, course_name fields and put it in the message rather than specific items.
UTL_MAIL.send
( sender => '[email protected]',
recipients => :P1_EMAIL,
subject => 'Wait List',
message => registration_id, full_name, course_name
);

Hi,
just assign the values to variables and use them. In APEX you can write normal PL/SQL code, only the bind variable syntax for referencing page items with :PAGE_ITEM is a special syntax, everything else is normal PL/SQL code.
eg.
DECLARE
    vCourseName VARCHAR2(40);
BEGIN
    SELECT NAME
      INTO vCourseName
      FROM COURSE
     WHERE ID = :P1_COURSE_ID
    UTL_MAIL.send
      ( sender => '[email protected]',
        recipients => :P1_EMAIL,
        subject => 'Wait List',
        message => 'course_name '||vCourseName
END;Patrick

Similar Messages

  • Disable e-mail  field  when line item created by copying another line item

    Hi All,
    I need your help. Actually our user wants to create a line item by copying existing line item in shopping cart. While doing so the requirement is the e-mail address field remains disable after the line item is copied. Please guide me how to do it. Please feel free to ask me any further questions.
    Regards
    Praveen Ghosh

    Hi Zaid,
    Thank you for your response.  Assets are not my area so I’m not sure if I missed a transaction or step in the process.   I tested this out by doing the following steps:
    Created AUC Asset class with line item checked
    Assigned PM Order type as non-investment with no investment profile and created order number
    Created a main asset number 
    Created an AUC sub asset number to step 3
    Created settlement rule to sub asset number on order
    Posted costs to order
    Settled from order to AUC with transaction KO88
    Created distribution rules for asset with transaction AIAB
    Settled from sub asset to main asset number with transaction AIBU
    When I settled from the sub to the main asset number in step 9, I found I lost the line item detail.  Is there another configuration setting I need to make to allow me to see the line item detail when I use AIBU?
    Thank you,

  • Mail search results show 'to' field instead of 'from' field

    Since a couple of days mail in Mountain Lion (10.8.2) shows the 'to' field instead of the 'from' field.
    Previously when I performded a search action, the middle collumn showed the 'from' field. So when i perform a search on mails from [email protected] the mails from [email protected] show up in the search results, however it shows the 'to' field. If there are more people in the 'to' field, it shows the first. Does anybody know how to return to the old setting?
    Thanks,

    I'm seeing the same thing. I didn't change any setting, but it just starting doing this and it's infuriating trying to find stuff.

  • Fields missing in item records

    hello,
    IDOC - File
    IDOC has header line and multiple item lines (appearing in one of the segments of IDOC)
    when I mapped, all the fields of the item 1 are displayed but from item2, item3 and so on many fields are missing
    i.e say each item has some 25 fields
    for item 1, 25 fields are displayed
    for item2 onwards only 8 fields are displayed
    I want 25 fields to be displayed for item 2, item3 ... item n as well
    all the source side fields are mapped with the destination fields through MapwithDefault ** so even if the source field doesnt come it should populate and empty space
    which is not happening now.
    can I achieve the above with standard functions?
    regards,
    nikhil.

    Veera,
    I have used mapwithdefault, which is one step ahead of the exists.
    it will populate space if the source field doesnt exists. same time it will populate empty space even if the source segment doesnt appear
    so I dont think exists will be of much use.
    The first occurance of Item has all the 25 fields(if fields are not present, empty spaces are displayed )
    from second item onwards (the same structure of item but the fields vary), only 8 fields are populated
    nikhil.

  • Creating Condition Table.. Key fields and line items

    dear all
    I am creating a Condition table and have 6 fields, I want to make 5 of them as key fields and also header line fields.
    I want my 6th field as line item field but I am unable to do that. My last key field is also shoiwing in line item.
    Please help.
    Thank you.
    Madhu.

    Hi,
    Check this thread
    Re: VK11
    Regards,
    Chandra

  • Since installing the last iPhoto update sharing a photo via e-mail opens a google e-mail format instead of an Apple Mail format.  How can I get the Apple Mail format to come up when I click on share?

    Since installing the last iPhoto update sharing a photo via e-mail opens a google e-mail format instead of an Apple Mail format.  How can I get the Apple Mail format to come up when I click on share?

    iPhoto preferences - set the email client to Mail
    LN

  • Make the e-Mail field on the contact form widget optional.

    Hey there! While browsing the support forums I came upon this topic here, because I was having a similar issue.
    Before developing the suggestion, here you have the website with the form, as we currently have it: http://awake-gaming.com/join-us.html
    The form I inserted was not only a contact form, but also a joining form. When submitted, the website calls to Discourse's (the board software we use over at http://forums.awake-gaming.com/) API via an ajax code and so a Bot creates a thread with the information introduced in the forums.
    Simply put: Submit -> Code calls to API -> Bot creates thread using the input parameters on the form.
    So, what if we don't want the applicant to publish his e-mail? We didn't want the mail to be submitted at all, yet Muse didn't allow us to delete that field nor hide it. In our case "fixing" this hasn't been that much of a pain, as we simply deleted the event listener. But we know how to code. What about people who don't?
    Quoting the staff answer on the topic I originally refer to: "Email is the unique identifier and required to create a customer record in the CRM in Business catalyst." But there are people who don't use Catalyst at all. Or am I wrong? Is my site (awake-gaming.com) related to Catalyst at all? I understand it might be necessary for websites hosted on catalyst, but in cases like ours?
    That's why I'm requesting the e-mail field on the form to be optional.
    Hope you had a good read, and thank you for sticking until the end
    PS. Opinions about the AWAKE website design are greatly appreciated.

    This will be very helpful.

  • ORDERS01 Populating customer e-mail field in sales order E1EDKA1

    Hi,
    I can create orders using Inbound IDOC ORDERS01 and populate address data using E1EDKA1 with PARVW "WE" for ship to party.
    In the sales order under communication there is an e-mail field (field name) SMTP_ADDR
    Is it possible to populate into this field from the IDOC.
    Also under further attributes there is a VAT RegNo field (field anme STCEG), I would like to do the same thing with that field.
    Anybody got any suggestions?
    Thanks
    Rob

    hI,
    Please check IDoc Reduction (BD53) or Segment Filters (BD56) whether segment E1EDP05 was applied or not.IF not debugg the standard program RSNAST00 to debug the FM IDOC_OUTPUT_ORDERS.
    Please specify the output application 'V2', enter the object key with delivery number (i.e. 0080000325) which correspond with the IDoc and check the send again checkbox.
    Enter '/h' at command center and execute the above program.
    Then go to menu -> Breakpoints -> Breakpoints at -> Function module -> IDOC_OUTPUT_ORDERS -> Continue -> Click on 'Run' (F8) -> ....
    *Reward points
    Regards

  • Adding new field in ME21N items level NO ADDITIONAL TAB or SUBSCREEN

    Hello Gurus!!
    I have a requirement where I am just trying to add a new field ZZ*** at Item level in ME21N (and no new tabs please)
    I got the modification key and now wat i see is that in screen 1211 SAP has some field mappings with metadata.
    Refer to Include LMEMFSF0T.
    Can you please help me how sud i proceed or  wat can be an alternate way out to solve.
    regards,
    Prasenjit Singh Bist

    Hi,
         Another way of doing the same is to use screen-exits for the transaction. You can use the standard enhancement MM06E005 in SMOD for the Purchasing related custom fields. You can add the fields in the screens 0101, 0111 of program SAPLXM06 to get the fields in the tab 'Customer Data' at header level and item level for ME* transactions.
    EXIT_SAPMM06E_006 
    EXIT_SAPMM06E_007 
    EXIT_SAPMM06E_008 
                        are the function modules where u need to do the coding.
    and the fields u have added need to be included in the  includes
    CI_EKKODB
    CI_EKPODB
    of EKKO and EKPO for header level and item level respectively.
    Regards,
    Vishnu Priya
    Message was edited by:
            Vishnu priya
    Message was edited by:
            Vishnu priya

  • I'm using apple's bluetooth keyboard and I need an easy way to switch between the text and numbers fields instead of tapping on the screen

    I'm using apple's bluetooth keyboard and I need an easy way to switch between the text and numbers fields instead of tapping on the screen

    While not in edit mode:
    - if start typing numbers, then it enters number mode.
    - if start typing text, then it enters text mode.
    Using the arrow keys exits edit mode. So this should work for you:
    1 Type text into a cell, which enters text mode.
    2 Press Return to move to the next cell.
    3 Press right arrow key to exit edit mode.
    4 Press left arrow key to get back to the cell.
    5 Type a number, which enters number mode.
    Another method that requires more planning ahead of time is to format the cells as text or number before starting the data entry. Then when you navigate to a cell while in edit mode, you will be in the appropriate mode (without having to exit edit mode).
    This all works fine for me. Hopefullly it does for you also.

  • Additional fields for line item display for Vendor Accounts

    Hi,
    The additional fields for line item display have been defined for the vendor accounts. I am able to see the additional fields in SAP 4.7 system but not in ECC 6.0.
    Could you help me to know how the same will be displayed in ECC 6.0 system.
    Thanks

    In SPRO, Vendor Accounts -> Line Items -> Display Line Items -> Define Additional fields for Line item display, the fields for Check number from (PAYR-CHECF) and Tax Jurisdiction (BSEG-TXJCD) have been defined.
    When I am executing Vendor Line Item display (FBL1N), I am not able to select these fields for defining a layout. Could you please let me know, how I will get these fields in FBL1N.
    Thanks

  • Line Item fields and Open Item fields

    Hi dear SAP firends
    I got the ticket from client that
    The special fields & Standard fields are available in Line Item process( O7Z3)
    but I could not find the special fields in Open Item Process. (O7Z4)
    Now client needs the special fields in Open Item
    So can any body help me to solve this ticket
    Rgds,
    Venkata Raju

    Hi,
    For example if u see FBL3N there is no vendor name and number details. When u add those to the special fields then u can get that display also.
    At the end of month provisional liability has to reverse at that time there is no vendor means when migo is done vendor is not come in picture after miro done vendor come in picture.
    So those purposes.
    Regards,
    Sankar

  • What User Exit can I use to add a cust field to PO Item overview in ME23n?

    Hi,
    I need help!
    Does anyone have any examples of adding a new cust field to PO Item Detail screen with a user exit?
    In transactions ME21n, ME22n, ME23n I need to add a new field in PO Item overview (screen 1211 of SAPLMEGUI). The new field ZZUNSPSC, has been appended to table EKPO as a 30 char field, which will be enterable/changeable on the ME21n, ME22n screens and display only on ME23n.
    Which user exit I can use for the purpose of adding a new input/output field to the PO item overview on SAPLMEGUI screen 1211?
    We are on release SAP ERP Central Component 5.0

    Hi,
    Thank you for the response.  I tried this and found  Badi ME_PROCESS_PO_CUST.  Do you have any examples of adding a new cust field to PO Item overview screen using badi ME_PROCESS_PO_CUST? I have had little experience creating badi's, and would appreciate very much some sample code if possible.
    In transactions ME21n, ME22n, ME23n I need to add a new field in PO Item overview (screen 1211 of SAPLMEGUI). The new field ZZUNSPSC, has been appended to table EKPO as a 30 char field, which will be enterable/changeable on the ME21n, ME22n screens and display only on ME23n.
    Can you tell me if method FIELDSELECTION_ITEM of badi ME_PROCESS_PO_CUST the correct one to use for the purpose of adding a new input/output field to the PO item overview on SAPLMEGUI screen 1211?
    Thank you for help - much appreciated,
    Vicki

  • Suddenly I see the usual blue box with question mark inside mail messages instead of pix

    Suddenly I see the usual blue box with question mark inside mail messages instead of pix.
    That did not happen before.
    It happened only on certain pages with Safari, like the google news feed which did not display pix.
    However, this new mail problem is really disturbing.
    I checked Little Snitch and port 80 is open.
    I checked java pref.
    I am at a loss.
    PLEASE HELP!

    Suddenly I see the usual blue box with question mark inside mail messages instead of pix.
    That indicates that your Mail preferences are setup to not display remote images in email messages. You should check Mail->Preferences->Viewing and make surre the box to 'Display remote images in HTML messages' is checked.
    I checked java pref.
    Java has nothing to do with Mail, or displaying images in it or any browser.

  • Export/import procedure for foreign trade field in PO item

    Hi Experts,
    I met a problem in import PO. Is there a possible way to make the Export/import procedure for foreign trade field in PO item automatically be determined?
    Thanks,
    Emily

    IF the import data tab shows up is depending on customizing for foreign trade data.
    The setting is done in IMG
    MM > Purchasing > Foreign Trade/ Custome > Control FT data in MM SD documents > Import screens in purchasing document

Maybe you are looking for

  • I want to acess all the pictures stored in my icloud.

    I noticed that I can only go back the last 3 backups to restore my phone. I want to get the pictures I accidentally deleted back from a week ago. After signing in to icloud on my laptop how do I get into all the pictures that have been stored in the

  • Extensionin populated, however doesn't work

    Hi everyone, I'm using SHP_OBDLV_SPLIT_DECENTRAL FM to split outbound delivery (inbound process). It works fine. It comes into SAP with already populated EXTENSIONIN segment (which can be populated the way we want). Currently I have as below: STRUCTU

  • EXCISE POSTING

    Hi gurus At the time of MIGO I received 20 KG of a material but in made excise invoice for 30 KG. I've posted the document in J1IEX. During MIRO the excise is not flowing, error msg PART 2 Not posted. Then I went in J1IEX and found the value of 10 KG

  • Set a text value to more pages...problem

    So how do I archieve this? I have a TextField1 in Page1(subform), and TextField2, 3, and 4 on pages 2, 3, and 4. If I change TextField1 all the other textfields must have the same text as in 1...Or can some one give me a idea were to look in the help

  • Launch pdf file through browser window.

    I tried this.String cmd="iexplore.exe http://subash/doc/help.pdf"; try{ Process p = Runtime.getRuntime().exec(cmd); }catch(Exception e) System.out.println("Error -- "+e); }I am getting Error -- java.io.IOException: CreateProcess: iexplore.exe http://