Hi need to send email with msg pls suggest a code to do so

hi
i want to send email to users with a simple message like for eg shipment shipped
please suggest some code for it how to do it
regards
Nishant

Here is a simple macro to do this.  Obviously this is not generic enough, but it is very easy to tweak this to do whatever you want.
define send_mail.
  data : header_text(40).
  object_hd_change-objla  = sy-langu.
  read textpool sy-repid into text_tab language sy-langu.
  read table text_tab with key id = 'R'.
  move text_tab-entry to object_hd_change-objnam.
  concatenate text_tab-entry ' Error ' into
  object_hd_change-objdes separated by space.
  object_hd_change-objsns = 'C'.      "SENSITIVITY
  objcont-line = 'The following messages were received:'.
  append objcont.
  clear objcont.
  objcont-line = ' '.
  append objcont.
  clear objcont.
  objcont-line = &1.
  append objcont.
  receivers-recesc = 'B'.            "SAPmail to SAP user
  receivers-recextnam = sy-uname.
  receivers-recnam = sy-uname.
  receivers-sndex  = 'X'.
  receivers-rcdat     = sy-datum.
  receivers-rctim     = sy-uzeit.
  append receivers.
  call function 'SO_OBJECT_SEND'
       exporting
            object_hd_change           = object_hd_change
            object_type                = object_type
       tables
            objcont                    = objcont
            objhead                    = objhead
            objpara                    = objpara
            objparb                    = objparb
            receivers                  = receivers
       exceptions
            active_user_not_exist      = 1
            communication_failure      = 2
            component_not_available    = 3
            folder_not_exist           = 4
            folder_no_authorization    = 5
            forwarder_not_exist        = 6
            note_not_exist             = 7
            object_not_exist           = 8
            object_not_sent            = 9
            object_no_authorization    = 10
            object_type_not_exist      = 11
            operation_no_authorization = 12
            owner_not_exist            = 13
            parameter_error            = 14
            substitute_not_active      = 15
            substitute_not_defined     = 16
            system_failure             = 17
            too_much_receivers         = 18
            user_not_exist             = 19
            x_error                    = 20
            others                     = 21.
  if sy-subrc <> 0.
    write :/ 'Error Sending the Object', sy-subrc.
  else.
    Commit work.
  endif.
end-of-definition.

Similar Messages

  • Need to send email with content of total sales

    Hi experts,
    I have configure notification mailer and have received also test email. Usually I may receive oracle alerts in my email address.
    I need two solutions or need to build below mention point.
    1) need to send email total daily sale ?
    2) need to setup oracle alerts ?
    I am waiting your kind response or refer solid documents to fulfil my requirements
    Thanks

    You can configure an alert that fires every day at about 1:00 am.
    The alert can query oe_order_lines_all table for all orders lines that were created in booked status on the prior day.
    Then you can format the alert to include the total amount.
    You can group by sales person or by warehouse.
    If you want to group the sales by item numbers, the email may become long depending on the number of items you sell every day.
    See http://docs.oracle.com/cd/A60725_05/html/comnls/us/alr/summary.htm for a great example on how to send a summary alert.
    Hope this helps,
    Sandeep Gandhi

  • Need to send email with excel sheet as attachment: URGENT

    Hi all....i have a requirement where i should extract data from SAP. These datas has to be sent to a mail id entered in the selection screen in excel sheet as an attachment.Can you suggest me any function module that meets the requirement...
    For kind information...there is only one selection field for entering the mail id.
    Thanks in advance
    Nanda

    Hi all....i have a requirement where i should extract data from SAP. These datas has to be sent to a mail id entered in the selection screen in excel sheet as an attachment.Can you suggest me any function module that meets the requirement...
    For kind information...there is only one selection field for entering the mail id.
    Thanks in advance
    Nanda

  • How to send Email with Cc and Bcc using MailPackage

    Hi ,
    we are using Mail Package to send the Email using Mail Adapter.We have a requirement where we need to send Email with Cc and Bcc using Mail Package .
    Can we send Cc and Bcc using Mail Package ?
    Thanks
    Rajesh .

    HI Rajesh,
    There is a standard structure for Receiver Mail adopter which we can get from SAP market Place but it is not provided with CC if u want to use CC then you have to go with Dynamic Configuration.
    DynamicConfiguration configuration = (DynamicConfiguration) container.getTransformationParameters().getStreamTransformationConstants.DYNAMIC_CONFIGURATION);
    /*any other required fields*/
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/Mail", "THeaderCC");
    configuration.put(key, "ccemail @ test.com");
    Regards
    Praveen Reddy
    Edited by: Maareddy Praveen Reddy on Aug 10, 2011 12:17 PM

  • Send email with Asian characters

    Hi
    Does anyone know how to send email with Asian characters? Sample code will be useful. I got ?? instead of the real characters, please help....
    Thanks in advance
    Ken

    Hello.
    How are you doing?
    Good Day.
    I think I have the concepts down some, I'm just gonna
    ask some questions for confirmation. First I'll list a
    statement then I'll as the question about the
    statement.
    If the statement is correct answer yes, on the other
    hand if the statement is false. Answer no to the
    question and explain.
    My purpose for asking you questions. Is to get a better understanding of JavaMail and to clear up any doubt. That, I may have on this subject that is related to the statements and questions.
    By having some one like you respond to my questions with answers.
    Here we go!
    The content of the Part Interface and Message class are not attributes at all.
    If this statement is correct or not correct please explian why.
    Is this statement correct?
    A DataHandler is the class called DataHandler and the
    object of the DataHandler class, which programmers
    would call the DataHandler object; which is (normally
    created by using the DataHandler class constructor). The DataHandler class, wraps the data into the DataHandler object which is called DataHandler; by you or I using the DataHandler class constructor.
    This statement is correct right?
    The DataHandler class takes the data you pass to it's
    constructor and wraps it into the DataHandler's object
    as one entity called an email message.
    Is this statement correct?
    Thanks in advance.
    Please email me as soon as possible;
    at [email protected]
    Peace out, have a good day.
    -Leroy

  • Is there any problem to use multiple threads to send email with JavaMail

    Dear all,
    I am using JavaMail 1.3.2 to send emails with SMTP, it works very well for a long time.
    But one day, I found that the email service hanged and I could never send email again until I restart the tomcat. I found that the reason was a deadlock had been created, the required resource for sending email had not been released.
    I guess the error is due to multiple threads are sending email at the same time. I made a test to create seperate thread for sending each email. After few days, I found this deadlock happened again. So, my question is: Can I use JavaMail with multiple threads? If not, I may need to sychronized all the thread that using JavaMail. I would like to make sure this is the reason for causing the deadlock problem.
    Here is part of my code for using JavaMail:
    transport = session.getTransport("smtp");
    transport.connect(email_host, smtp_user, smtp_pass);
    message.saveChanges();
    transport.sendMessage(message,message.getAllRecipients());
    which is very standard call, and it worked well for a long time.
    Here is part for my thread dump on tomcat:
    (Thread-339)
    - waiting to lock <0x5447c180> (a sun.nio.cs.StandardCharsets)
    (Thread-342)
    - locked <0x5447c180> (a sun.nio.cs.StandardCharsets)
    It seems that these happened after call the method transport.sendMessage() or message.updateChanges()
    , and the underlying implementation may require the JRE StandardCharsets object. But the object had been locked and never be released. So, the sendMessage() or updateChanges() can't be completed.
    Please give me some helps if you have any idea about it.
    Thanks very much!
    Sirius

    Note that the Nightly build gets updated daily (and sometimes more than once in case of a respin) and it is always possible that something goes wrong and it doesn't work properly, so be prepared for issues if you decide to stay with the Nightly build and make sure to have the current release with its own profile installed as well in case of problems.
    See also:
    * http://kb.mozillazine.org/Testing_pre-release_versions
    *http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows
    *http://kb.mozillazine.org/Shortcut_to_a_specific_profile
    *http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox

  • Sending emails with both body and attachment to multiple recipients

    I have a requirement to send email with body and attachment to multiple recipients.
    Body of the email is a standard text. It is a proxy-to-mail scenario.
    Here is what I've done: (I'm using PI 7.11)
    One mapping from Source to Target structure (format of the attachment text file)
    Second mapping from Target Structure to Mail Package format.
    In the second mapping I'm concatenating the output of first step into "Content" of the Mail Package.
    "XIPAYLOAD" is the message protocol used.
    The "Keep attachments" option in the Mail adapter allows only to send "Content" as attachment or as body of the email.
    How to send an email with both content and text?
    The other problem is even with using ASMA, I can't send email to multiple recipients. I can only do CC and TO for 1 person each - a total of 2. Although I can resolve this by creating mailing lists, it is better if this can be addressed in PI.
    Thanks for any input you can provide!
    Edited by: crazylad on Jan 18, 2012 3:39 PM

    Thank you for your response Mikael.
    For the first question, I was able to find the solution in the following blog:
    XI Mail Adapter : Dynamically building attachment and message body content using a simple UDF
    (I just needed to search with the right set of key words )
    The key is to set the "Content Encoding" as "None" in the mail adapter. If this is not done, the mail will be sent with an attachment - untitled.bin containing both the mail body and the attachment text. Also, don't forget to check the "Keep Attachments" checkbox in the mail adapter.
    Multiple recipients could be added by separating the email IDs with a Comma. I have used ASMA to set the recipients.

  • Sending email with 2 attachments in PDF Format

    Hi,
    I have 2 ALV Layouts, totally different in Structure.
    Now I need to convert these 2 ALV layout to 2 different PDF files and send email with thses 2 attachments.
    Can anyone provide me with sample report.
    I tried searching  for it  but there is no clue for ALV report-> PDF -> email.
    Thanks
    Mohan

    Hello,
    I doubt if you really searched before posting. You will find many posts indicating how to convert your report output be it ALV or classical into spool and then in to pdf. After you get the pdf binary format, its pretty much the same attaching those and sending E-mail
    Vikranth

  • Sending email with multiple attachments

    Hi forum,
    I am able to send email with a single attachment using maildemo.sql from: http://www.oracle.com/technology/sample_code/tech/pl_sql/htdocs/Utl_Smtp_Sample.html
    But now I am trying to send email with more than 1 attachment and it does not work. My code that calls the above mentioned package is as follows:
    <code>
    PROCEDURE send (
    psender VARCHAR2,
    precipients VARCHAR2,
    pcc VARCHAR2,
    pbcc VARCHAR2,
    psubject VARCHAR2,
    pmessage VARCHAR2,
    pnumattach NUMBER) -- The number of attachments that need to be sent
    IS
    p_blob BLOB;
    p_filename VARCHAR2(200);
    p_filetype VARCHAR2(200);
    p_currSeq NUMBER;
    conn utl_smtp.CONNECTION;
    i NUMBER;
    j NUMBER;
    len NUMBER;
    BEGIN
    IF pnumattach > 1
    THEN
    conn := SEND_EMAIL_HELPER.begin_mail(
              sender => psender,
              recipients => precipients,
              subject => psubject,
              mime_type => send_email_helper.MULTIPART_MIME_TYPE);
    j := 0;
    SELECT seq_attach_transact_id.CURRVAL INTO p_currSeq FROM dual; -- seq_attach_transact_id is a primary key that identifies every single attachment in the table
    WHILE (j < pnumattach) LOOP
    p_currSeq := p_currSeq - j;
    SELECT blob_content INTO p_blob FROM wwdoc_document WHERE transaction_id = p_currSeq;
    SELECT name INTO p_filename FROM wwdoc_document WHERE transaction_id = p_currSeq;
    SELECT mime_type INTO p_filetype FROM wwdoc_document WHERE transaction_id = p_currSeq;
    SEND_EMAIL_HELPER.begin_attachment(
    conn => conn,
    mime_type => p_filetype,
    inline => TRUE,
    filename => p_filename,
    transfer_enc => 'base64');
    -- split the Base64 encoded attachment into multiple lines
    i := 1;
    len := DBMS_LOB.getLength(p_blob);
    WHILE (i < len) LOOP
    IF(i + SEND_EMAIL_HELPER.MAX_BASE64_LINE_WIDTH < len)THEN
    UTL_SMTP.Write_Raw_Data (conn,
    UTL_ENCODE.Base64_Encode(
    DBMS_LOB.SUBSTR(p_blob, SEND_EMAIL_HELPER.MAX_BASE64_LINE_WIDTH, i)));
    ELSE
    UTL_SMTP.Write_Raw_Data (conn,
    UTL_ENCODE.Base64_Encode(
    DBMS_LOB.SUBSTR(p_blob, (len - i)+1, i)));
    END IF;
    UTL_SMTP.Write_Data(conn, UTL_TCP.CRLF);
    i := i + SEND_EMAIL_HELPER.MAX_BASE64_LINE_WIDTH;
    END LOOP;
    SEND_EMAIL_HELPER.end_attachment(conn => conn);
    END LOOP;
    SEND_EMAIL_HELPER.attach_text(
    conn => conn,
    data => pmessage,
    mime_type => 'text/html');
    SEND_EMAIL_HELPER.end_mail( conn => conn );
    ELSE
    utl_mail.send(psender,precipients,pcc,pbcc,psubject,pmessage);
    END IF;
    END send;
    </code>
    Can anyone please tell me where am i going wrong.
    Message was edited by:
    Monk

    The easiest is to send an e-mail with multiple attachments to yourself and then view the message in raw to see how it is formatted - how the boundaries work. what the boundary headers are, etc.
    Then you use that as a template for your PL/SQL code to generate a MIME body for an e-mail that has multiple attachments.
    To debug.. have your PL/SQL code send sample e-mails with multiple attachment to your account, view it in raw format and compare that to the original format you've based your template on.
    And none of this is really a PL/SQL issue.. it is all about formatting a valid MIME message for an e-mail.

  • Sharepoint Online - Send email with attachment

    Hi All,
    is there some way how to send email with attachment, which is attached to list item in host web?
    I tried some of solutions but none of them not working.
    Server side:
    For example event receiver after added list item with attachment - Because it is office 365, in SandBox solution I can´t use SmtpClient class.
    Any other ideas?
    Client side:
    For example client web part with REST call. It works fine until I don´t need access to attachment.
    string oDataUrlAttach = "/_api/Web/lists/getbytitle('ListName')/Items(6)/AttachmentFiles('Document.docx')/$value";
                HttpWebRequest itemRequestAttach = (HttpWebRequest)HttpWebRequest.Create(sharepointUrl.ToString() + oDataUrlAttach);
                itemRequest.Method = "GET";
                itemRequest.Accept = "application/atom+xml";
                itemRequest.ContentType = "application/atom+xml;type=entry";
                itemRequest.Headers.Add("Authorization", "Bearer " + accessToken);
                HttpWebResponse itemResponseAttach = (HttpWebResponse)itemRequestAttach.GetResponse();
    Here I get error: The remote server returned an error: (403) Forbidden.
    But other calls are OK. I can get all items from my list except attachments.
    Any ideas?
    Thank you.

    Why hasn't this been answered?
    Sam Ogle

  • Send Email with HTML format in Outlook Macro

    I can use the following to send email with HTML format in VBA. I also have created an HTML file. Is there a way to load the file into .HTMLBody to send it as HTML format message?
        Set OutlookApp = CreateObject("Outlook.Application")
        Set objMail = OutlookApp.CreateItem(olMailItem)
        With objMail
           .BodyFormat = olFormatHTML
           .HTMLBody = "<HTML><BODY>Enter the message text here. </BODY></HTML>"
           .Display
        End With

    Try: 
    Dim fso As Scripting.FileSystemObject
    Dim htmlFile As Scripting.TextStream
    Set fso = New Scripting.FileSystemObject
    Set htmlFile = fso.OpenTextFile("C:\path\to\my-html-file.htm")
    strInsert = htmlFile.ReadAll
    then change:
    .htmlbody = strInsert
    oh, and you need to set a reference to the Scripting runtime in Tools, References. 
    Diane Poremsky [MVP - Outlook]
    Outlook & Exchange Solutions Center
    Outlook Tips
    Subscribe to Exchange Messaging Outlook weekly newsletter

  • Are socket needed to send emails?????

    hi guys,
    lets say i need to send an email notification everytime i finish doing a cetain task....do i need to create and use a socket to send these emails????
    thanks in advance for any help...
    lost and blur.
    Below are the codes to send email:
    (So are socket needed???)
    public void execute(String mailto, String mailcc, String mailsub, String mailbody){
    //session object inside the catch block also(in case of DCOException).
    DCOSession ds = null;
    try{
    ds = new DCOSession(); // Create new DCOSession object
    ds.login("erstest02"); // Log in as current Notes client user
    DCOMail dm = new DCOMail(); // Create new DCOMail object
    dm.setDcoSession(ds);// Pass DCOSession to mail
    //dm.setDebug(true);
    dm.setSendTo(mailto);
    dm.setCopyTo(mailcc);
    //dm.setBlindCopyTo();
    dm.setSubject(mailsub);
    dm.setBody(mailbody);
    //System.out.println("before mail sent");
    dm.send(); // Send the mail
    ds.logout(); // Log out of the session
    System.out.println("mail sent to "+mailto);
    }catch(DCOException e1){
    e1.printStackTrace();
    try{
    if(ds!=null){
    ds.logout(); //Log out of session even if exception is thrown
    }catch(Exception ee1){
    System.out.println("Exception thrown while trying to logout of session");
    ee1.printStackTrace();
    }catch(Exception e){
    e.printStackTrace();
    try{
    if(ds!=null){
    ds.logout(); //Log out of session even if exception is thrown
    }catch(Exception ee2){
    System.out.println("Exception thrown while trying to logout of session");
    ee2.printStackTrace();
    }

    lets say i need to send an email notification
    everytime i finish doing a cetain task....do i need
    to create and use a socket to send these emails????Yes, sockets are needed to send emails. However, you don't need to deal with them yourself. You can use the JavaMail API. It will hide those low level details from you and let you deal with concepts that are related to sending emails--addresses, contents, servers, etc.
    http://java.sun.com/developer/onlineTraining/JavaMail/

  • Need to send email to email addresses in one list when list 2 is updated

    I have  2 lists
    list 1 has email addresses
    the 2nd list is actually a document library
    what I was wondering, is how can I send an email to people to people in list 1 when list #2 is updated with new documents?
    i have been trying different  ways of doing it, but no luck....
    anyone have any ideas how to capture the email address from list 1 and send them an email when list #2 is updated?
    seems straight forward but cant find the logic...

    Hi,
    I would suggest you to go for custom event receiver using visual studio. Its an easy way.... try it out.
    Choose List item event in event receiver settings.
    Step 1:Add item was added and item was updated event. Use caml query to fetch email address and loop through the collection and send email using SPUtility. Refer below code.
    /// <summary>
    /// An item was added.
    /// </summary>
    public override void ItemAdded(SPItemEventProperties properties)
    //base.ItemAdded(properties);
    using (SPWeb web = properties.OpenWeb())
    SPQuery query = new SPQuery();
    query.Query = "<OrderBy><FieldRef Name='Title' Ascending='False' /></OrderBy>";
    SPList emailList = web.Lists["List1"];//The list which has the email addresses
    SPListItemCollection listItemCollection = emailList.GetItems(query);
    foreach (SPListItem item in listItemCollection)
    SPUtility.SendEmail(web, true, false, item["emailAddress"].ToString(), "Your Mail subject", "Your mail body");
    /// <summary>
    /// An item was updated.
    /// </summary>
    public override void ItemUpdated(SPItemEventProperties properties)
    //base.ItemUpdated(properties);
    //you can provide same code here..if needed.
    Step 2: Provide the list2(document library) path as the ListUrl in Element.xml
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <Receivers ListUrl="/list2/"> <!--provide document library path...-->
    <Receiver>
    <Name>EventReceiver1ItemAdded</Name>
    <Type>ItemAdded</Type>
    <Assembly>$SharePoint.Project.AssemblyFullName$</Assembly>
    <Class>SharePointProject1.EventReceiver1.EventReceiver1</Class>
    <SequenceNumber>10000</SequenceNumber>
    </Receiver>
    <Receiver>
    <Name>EventReceiver1ItemUpdated</Name>
    <Type>ItemUpdated</Type>
    <Assembly>$SharePoint.Project.AssemblyFullName$</Assembly>
    <Class>SharePointProject1.EventReceiver1.EventReceiver1</Class>
    <SequenceNumber>10000</SequenceNumber>
    </Receiver>
    </Receivers>
    </Elements>
    Deploy it to your SharePoint farm..make sure the feature is activated..and enjoy..
    Probably this should work..Check it out and let me know..
    Regards,
    Dinesh

  • Send emails with pdf

    Good Afternoon!
    I need to sen emails with a pdf in attach, and i saw some examples about it my doubts:
    IN examples i need to have a blob field with the pdf, first, there is another way to attach a pdf without a blob field, and with there is no way how can i insert in a blob field a pdf?
    Thanks

    try the following
    DECLARE
       vinhandle   UTL_FILE.file_type;
       rfile       RAW (32767);           --change the size accordingly
       flen        NUMBER;
       bsize       NUMBER;
       ex          BOOLEAN;
       vrec        VARCHAR2 (30)      := '[email protected]';     --receipant email id
       vsender     VARCHAR2 (30)      := '[email protected]';        --sender's email id
       vsubj       VARCHAR2 (50)      := 'Subject Message';       --subject 
       vmesg       VARCHAR2 (4000);
       vmtype      VARCHAR2 (30)      := 'text/plain; charset=us-ascii';
    BEGIN
       vmesg := 'Please find the file attachment';                 --Message
       UTL_FILE.fgetattr ('CTEMP', 'filename.pdf', ex, flen, bsize);--CTEMP is the directory of file location
       vinhandle := UTL_FILE.fopen ('CTEMP', 'filename.pdf', 'R');  --filename.pdf is the name of the file
       UTL_FILE.get_raw (vinhandle, rfile, flen);
       UTL_FILE.fclose (vinhandle);
       utl_mail.send_attach_raw (sender            => vsender,
                                 recipients        => vrec,
                                 subject           => vsubj,
                                 MESSAGE           => vmesg,
                                 attachment        => rfile,
                                 att_inline        => FALSE,
                                 att_filename      => 'filename.pdf'
    END;       HTH
    Santosh

  • Can´t send emails with pdf attachments - why?

    Since i moved all my accounts to my new airbook (OS X 10.8.2) everything works fine BUT i am not able to send emails with pdf attachments.I have an exchange and a mac.account - but they both won`t work.
    The emails stay put in the local ausgang? exit box and won`t move away unless i delete them.
    i checked the accounts, the activity - all says it works fine - but it doesn`t!
    Maybe in the *deep* of my mac is one thing that says no pdf - but where can i find it?
    I appreciate every helpful hint :-)
    greetings

    it tries to send the email for about five minutes and than gives the message *server doesn't work* you want to try another? repeat? or later?
    when i change the server e.g. from exchange to mac - tries again and without further notice i find the message in the outbox - even when i click that one and *send* again - nothing changes......
    I already tried to name the attachments in.pdf - i also change the pdf to jpeg - nothing works - all emails i write after that go immediately to the outbox - so when i want to send messages at all i need to delete the ones with the attachment or send the other ones manually
    Please notice in the activity window there is a lot of traffic :-) but it doesn`t help
    i even closed all other programmes like excel,safari and stuff - but still
    and i still have al lot of free GB on my airbook....
    any idea????

Maybe you are looking for

  • Problem in OIM Installation in Linux-64 bit environment

    Hi, Components used 1. Oracle Database11gR1 2. Weblogic Application server 10.3.0(installed in non clustered mode) 3. OIM 9.1.0.1 Also ensured the above three are compatible. I'm facing problem at the end of OIM installation in RedHat Linux-64 bit en

  • Can i conect 2 digital screens to one MB Pro? how?

    Hello folks I hear that i can connect to 2 monitors somehow with one MacBook Pro, can someone explain how? I allready plan on using the PCMA slot for eSata/FW800 raids. ( if this was the other option) please advise Thanks Larry

  • JDBC Sender Conversion error

    Hi My Scenario is JDBC Sender-> XI ->IDOC. I have written a following select querry and update but I am getting and error from sender... select *  from bi5filmm.bsimhp UPDATE  HMPRCFG SET  VALUE =  'P' from  bi5filmm.bsimhp Error during conversion of

  • PDF Form Online

    I have some pdfs that contain forms, created in LiveCycle and Acrobat Pro. Ideally, I'd like the user to click on a link, have the pdf come up and after they've filled out the form on that pdf, they click a submit button and the pdf gets emailed to m

  • Help regarding BPS Scenario

    Hi,     Iam doing one BPS scenario, in that i created planning area,planning level,adhocpackage,     After this i tried to create planning layout from planning level but its giving message ' select a node in the related tree '.   Please check the bel