Getting Error in Sending PL/SQL Table -- ORA-01403

This error I am facing for more tham 20 records, but for lesser then this it is working fine, can anybody has suggestions.
begin
new_t_emp.fetch_table_names;
end;
PL/SQL procedure successfully completed
begin
new_t_emp.match_columns('BRIOUSER','BRIOUSER','IP01.WORLD', new_t_emp.p_T_TABLE
end;
ORA-01403: no data found
ORA-06512: at "BRIOUSER.NEW_T_EMP", line 60
ORA-06512: at line 2
*******************************THE CODE IS*******************************
CREATE OR REPLACE PACKAGE BODY new_t_emp
IS
PROCEDURE fetch_table_names
IS
CURSOR cur_tables
IS
SELECT tname
FROM tab where tname like 'A%';
count_i NUMBER := 0;
BEGIN
FOR i IN cur_tables
LOOP
p_t_table_name (count_i).tname := i.tname;
DBMS_OUTPUT.put_line (count_i||to_char(p_t_table_name(count_i).tname));
count_i := count_i + 1;
END LOOP;
     DBMS_OUTPUT.put_line (count_i/*||' '||p_t_table_name(COUNT_i).tname*/);
END;
PROCEDURE match_columns (
v_owner_one IN VARCHAR,
v_owner_two IN VARCHAR,
v_string_two IN VARCHAR,
table_name IN OUT t_table_name
IS
CURSOR c1 (t_name VARCHAR)
IS
SELECT table_name, column_name, data_type, data_length
FROM dba_tab_columns
WHERE table_name = t_name AND owner = v_owner_one;
v_table_name dba_tab_columns.table_name%TYPE;
v_column_name dba_tab_columns.column_name%TYPE;
v_data_type dba_tab_columns.data_type%TYPE;
v_data_length dba_tab_columns.data_length%TYPE;
v_sql_statement VARCHAR2 (4000);
count_j NUMBER := 0;
BEGIN
-- DBMS_OUTPUT.put_line (p_t_table_name.COUNT);
     DBMS_OUTPUT.put_line (table_name.COUNT);
WHILE table_name.COUNT > count_j
LOOP
FOR i IN c1 (table_name (count_j).tname)
LOOP
v_sql_statement :=
'SELECT table_name, column_name, data_type, data_length '
|| 'FROM dba_tab_columns@'
|| v_string_two
|| ' WHERE table_name = '
|| CHR (39)
|| i.table_name
|| CHR (39)
|| ' AND owner = '
|| CHR (39)
|| v_owner_two
|| CHR (39)
|| ' AND column_name = '
|| CHR (39)
|| i.column_name
|| CHR (39);
EXECUTE IMMEDIATE v_sql_statement
INTO v_table_name, v_column_name, v_data_type,
v_data_length;
SELECT table_name, column_name, data_type, data_length
INTO v_table_name, v_column_name, v_data_type, v_data_length
FROM [email protected]
WHERE table_name = tab_name_two
AND owner = owner_two
AND column_name = i.column_name;
IF v_data_type = i.data_type AND v_data_length = i.data_length
THEN
NULL; ---DBMS_OUTPUT.put_line ('All columns in SYNC ');
ELSE
DBMS_OUTPUT.put_line ( 'Differnt record '
|| i.column_name
|| 'data type 1 '
|| i.data_type
|| ' data type 2 '
|| v_data_type
|| ' length 1 '
|| i.data_length
|| ' Length 2 '
|| v_data_length
END IF;
END LOOP;
DBMS_OUTPUT.put_line(count_j||' '||TABLE_NAME(COUNT_J).TNAME);
count_j := count_j + 1;
END LOOP;
END;
END;
/

Hello,
i can only try to guess.
You have
v_sql_statement :=
'SELECT table_name, column_name, data_type, data_length '
|| 'FROM dba_tab_columns@'
|| v_string_two
|| ' WHERE table_name = '
|| CHR (39)
|| i.table_name
|| CHR (39)
|| ' AND owner = '
|| CHR (39)
|| v_owner_two
|| CHR (39)
|| ' AND column_name = '
|| CHR (39)
|| i.column_name
|| CHR (39);
EXECUTE IMMEDIATE v_sql_statement
INTO v_table_name, v_column_name, v_data_type,
v_data_length;
and receive NO_DATA_FOUND.
It seemed to me, that you haven't appropriate data in the data dictionary on the remote machine.
Check it and eventually built-in Exception WHEN NO-DATA_FOUND
Regards
Dmytro Dekhtyaryuk

Similar Messages

  • Failed to parse SQL query: ORA-01403: no data found

    I'm going to post and answer my own question in the hope that others will not have to struggle with this error.
    Using a report of the type PL/SQL Function Body Returning SQL and using generic columns you may run into this error
    failed to parse SQL query:
    ORA-01403: no data found
    The SQL will run stand alone but the report fails.
    There is a setting just below the source you should check:
    "Maximum number of generic report columns"
    In my case the number of columns was dynamic and when it exceeded the number set as the maximium number of generic columns I received the 1403 error.
    Hope this helps someone.
    Greg

    Thanks for much for the pointer. For anyone else struggling with this too, I found that my generic columns had unordered themselves. Reordering them solved the problem for me.
    Edited by: user11096971 on Jul 22, 2010 3:19 AM

  • Apex 4.1: Error processing session sentry function. ORA-01403

    Hi,
    I have developed an application in Apex 4.0. I've translated the application into one additional language, and set the language to be derived from the browser. On the 4.0 instance, this works as expected (changing the preferred language in the browser and reloading a page uses the translated app).
    I then deployed the main app and the translated app to an Apex 4.1 (runtime-only) instance. If I access the application with the browser set to the primary language (English), it works, but if I change it to the secondary language and reload the page, I get:
    Error processing session sentry function.
    ORA-01403: no data foundThis also happens if I try to access the translated application directly via the URL.
    (I'm not sure what "session sentry function" means; in my application I have a custom authentication scheme with a custom "authentication function", but I have not specified anything for "session verify function" -- which is close but not exactly the same as "session sentry function", so I am not sure if they are the same thing.)
    Anyway, as this works on Apex 4.0 and not on Apex 4.1, I wonder if it is a bug... ?
    - Morten
    http://ora-00001.blogspot.com

    Anyway, as this works on Apex 4.0 and not on Apex 4.1, I wonder if it is a bug... ?Pretty sure it's a bug.
    I looked at APEX_040100.WWV_FLOWS and noticed that the AUTHENTICATION_ID column was NULL for my translated application (app id 301), whereas the main application (app id 300) has a value in that column. (This appears to be a new column for Apex 4.1.)
    The export file for the translated app creates my custom authentication scheme:
    wwv_flow_api.create_auth_setup (
      p_id=> 1711018744328150.301 + wwv_flow_api.g_id_offset,So what I did to fix this was to run:
      update apex_040100.wwv_flows
      set authentication_id = 1711018744328150.301
      where id = 301;That solved the problem, although the question still remains: Why didn't this get set automatically when importing the translated app?
    - Morten
    http://ora-00001.blogspot.com

  • Oracle error 1403:java.sql.SQLException: ORA-01403: no data found ORA-06512

    My customer has an issue, and error message as below:
    <PRE>Oracle error 1403: java.sql.SQLException: ORA-01403: no data found ORA-06512:
    at line 1 has been detected in FND_SESSION_MANAGEMENT.CHECK_SESSION. Your
    session is no longer valid.</PRE>
    Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.
    And customer’s statement is: Upgrade from EBS 11.5.10 to 12.1.3. Login the EBS, open any forms and put it in idle. Then refresh the form, error happens
    Then, I checked ISP, and found two notes:
    Note 1284094.1: Web ADI Journal Upload Errors With ORA-01403 No Data Found ORA-06512 At Line Has Been Detected In FND_SESSION_MANAGEMENT.CHECK_SESSION.Your Session Is No Longer Valid (Doc ID 1284094.1)
    Note 1319380.1: Webadi Gl Journal Posting Errors After Atg R12.1.3 (Doc ID 1319380.1)
    But these two notes are both WebADI.
    Following is the data collection from customer:
    1. Run UNIX command to check .class file version:
    strings $JAVA_TOP/oracle/apps/bne/utilities/BneViewerUtils.class | grep Header--> S$Header: BneViewerUtils.java 120.33.12010000.17 2010/11/21 22:19:58 amgonzal s$
    2. Run SQL to check you patch level:
    SELECT * FROM fnd_product_installations WHERE patch_level LIKE '%BNE%';--> R12.BNE.B.3
    3. Run SQL to check patch '9940148' applied or not:
    SELECT * FROM ad_bugs ad WHERE ad.bug_number = '9940148';--> No Rows returned
    4. Run SQL to check patch '9785477' applied or not:
    SELECT * FROM ad_bugs WHERE bug_number in ('9785477');-->
    BUG_ID APPLICATION_SHORT_NAME BUG_NUMBER CREATION_DATE ARU_RELEASE_NAME CREATED_BY LAST_UPDATE_DATE LAST_UPDATED_BY TRACKABLE_ENTITY_ABBR BASELINE_NAME GENERIC_PATCH LANGUAGE
    576982 11839583 2011/8/7 上午 08:20:36 R12 5 2011/8/7 上午 08:20:36 5 pjt B n US
    516492 9785477 2011/6/12 上午 11:42:45 R12 5 2011/6/12 上午 11:42:45 5 bne B n US
    546109 9785477 2011/6/12 下午 01:17:41 R12 5 2011/6/12 下午 01:17:41 5 bne B n ZHT
    5. Run SQL to check the status of object ‘FND_SESSION_MANAGEMENT’
    SELECT * FROM dba_objects do WHERE do.object_name = 'FND_SESSION_MANAGEMENT';-->
    OWNER OBJECT_NAME SUBOBJECT_NAME OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE CREATED LAST_DDL_TIME TIMESTAMP STATUS TEMPORARY GENERATED SECONDARY NAMESPACE EDITION_NAME
    APPS FND_SESSION_MANAGEMENT 219425 PACKAGE 2004/10/30 下午 01:52:35 2011/8/7 上午 08:18:39 2011-08-07:08:18:26 VALID N N N 1
    APPS FND_SESSION_MANAGEMENT 226815 PACKAGE BODY 2004/10/31 上午 01:05:40 2011/8/7 上午 08:18:54 2011-08-07:08:18:27 VALID N N N 2
    So, my question is: Customer’s BneViewerUtils.java version is already 120.33.12010000.17, which greater than 120.33.12010000.14. Is there any others solutions for this issue? Does customer still need to apply patch '9940148' based on action plan of
    Note 1284094.1: Web ADI Journal Upload Errors With ORA-01403 No Data Found ORA-06512 At Line Has Been Detected In FND_SESSION_MANAGEMENT.CHECK_SESSION.Your Session Is No Longer Valid?
    Customer's EBS version is 12.1.3; OS is HP-UX PA-RISC (64-bit); DB is 11.2.0.2.
    Thanks,
    Jackie

    And customer’s statement is: Upgrade from EBS 11.5.10 to 12.1.3. Login the EBS, open any forms and put it in idle. Then refresh the form, error happens
    Idle for how long? Is the issue with all sessions?
    Please see these docs/links
    User Sessions Get Timed Out Before Idle Time Parameter Values Are Reached [ID 1306678.1]
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Timeout+AND+R12&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Then, I checked ISP, and found two notes:
    Note 1284094.1: Web ADI Journal Upload Errors With ORA-01403 No Data Found ORA-06512 At Line Has Been Detected In FND_SESSION_MANAGEMENT.CHECK_SESSION.Your Session Is No Longer Valid (Doc ID 1284094.1)
    Note 1319380.1: Webadi Gl Journal Posting Errors After Atg R12.1.3 (Doc ID 1319380.1)
    But these two notes are both WebADI.Can you find any details about the error in Apache log files and in the application.log file?
    Any errors in the database log file?
    So, my question is: Customer’s BneViewerUtils.java version is already 120.33.12010000.17, which greater than 120.33.12010000.14. Is there any others solutions for this issue? No.
    Does customer still need to apply patch '9940148' based on action plan ofIf the issue not with Web ADI, then ignore this patch. However, if you use Web ADI you could query AD_BUGS table and verify if you have the patch applied.
    Note 1284094.1: Web ADI Journal Upload Errors With ORA-01403 No Data Found ORA-06512 At Line Has Been Detected In FND_SESSION_MANAGEMENT.CHECK_SESSION.Your Session Is No Longer Valid?
    Customer's EBS version is 12.1.3; OS is HP-UX PA-RISC (64-bit); DB is 11.2.0.2.If you could not find any details in the logs, please enable debug as per (R12, 12.1 - How To Enable and Collect Debug for HTTP, OC4J and OPMN [ID 422419.1]).
    Thanks,
    Hussein

  • How to use : bind character in DB adapter Select Query SOA11g. Getting Error code :17003 .java.sql.SQLException: Invalid column index error

    Hi All,
    The Actual query to perform is below.
    SELECT name,number from emp  WHERE CASE WHEN :1='T' AND term_date IS Not NULL THEN 1 WHEN :1='A' AND term_date IS NULL THEN 1 WHEN :1='ALL' THEN 1 ELSE  1 END = 1;
    I have tried in DB adapter like below as a parameter for :1 as #vInputParam
    SELECT name,number from emp  WHERE CASE WHEN #vInputParam='T' AND term_date IS Not NULL THEN 1 WHEN #vInputParam='A' AND term_date IS NULL THEN 1 WHEN #vInputParam='ALL' THEN 1 ELSE  1 END = 1;
    Getting Error code :17003 .java.sql.SQLException: Invalid column index error.
    Please suggest me on using ':' bind character in DB adapter Select Query SOA11g.
    Can someone help me on this please?
    Thanks,
    Hari

    Hi,
    Could you please make sure your binding style(Oracle Positional,Oracle named..etc) of the Seeded VO and Custom Vo are same.
    This is the option you will get when you are extending your vo. So make sure that both are same.
    You can refer the below link too
    VO extension leads to "Invalid column index" exception
    Thanks
    Bharat

  • ORA-20001: Error in multi row delete operation: ORA-01403: no data

    Whenever I attempt a multi-row delete on my master detail page, I recieve the error:
    ORA-20001: Error in multi row delete operation: ORA-01403: no dataI have seen in other threads that the primary key attribute of the underlying table needs to be set to 'Show' in the report attributes. I have tried this both with it displaying as 'Hidden' ('Show' is unchecked) and with it displaying as text. Either way still gives me the same error.
    Is there anything else not mentioned in the other threads that could be causing this error for me?
    Thanks.
    BoilerUP

    Jimmy,
    In your multi row delete process you specify schema name, table and column name. Your report needs to be of type “SQL query (Updateable report)”. And your report needs to include the primary key column of your table. The column or alias name of that report column needs to correspond with the actual column name of your table.
    Marc

  • ERROR OCCURED AT RECURSIVE SQL LEVEL1 ORA-00942:TABLE OR VIEW DOSEN'T EXIST

    Hi every one, I am fresher, I am getting error when I am trying to run my workflow.
    My work flow is getting succeeded in my folder and writing 22074 rows same as source qualifier. But yesterday I tried to move it to the other folder by exporting it to my desktop, and again by importing it to the other folder. from then it is not working and giving Table or view does not exist.
    My target name is ws_twfs_olb_project_ds but in the session log it is showing wc_twfs_olb_project_ds1 . I really dont know what I have made changes while importing it to the other folder.
    Can any one please suggest me how to resolve this issue in Informatica 9.0.1. the only problem I think is the target table is replaced with following "1". Can any one pease help me in it ASAP.
    Thanks
    Venkat

    It has nothing to do with DBMS_XMLGEN.GETXMLTYPE. It simply means user executing your SQL has no select privilege on table &SCHEMA_NAME.&TABLE_NAME.
    SY.

  • Getting error while runing utlu102i.sql:

    Dear Experts,
    I am getting following error while running utlu102i.sql script (Oracle 9.2.0.6,HP-UX 11.11)
    DECLARE
    ERROR at line 1:
    ORA-00980: synonym translation is no longer valid
    ORA-06512: at line 2925
    I nned to upgrade this database, how to resolve this problem, furthermore can we goahead on upgrading without solve this ? (pre. may be obtain from another database with almost same configuraton)
    Thanks & Regards
    Sunil Kumar

    Pl open an SR for your issue. You will need to run this script and execute its recommendations before you can upgrade. Are there any errors in the alert.log ? Are any other trace files created ?
    MOS Doc 400200.1 (ORA-0600 [17069] During Upgrade of Pre-10g Database to 10g+) may also help.
    HTH
    Srini

  • Getting error while backing up SQL database using powershell

    I am trying to backup SQL database but strange thing is taking lpace, few databases i can backup with powershell but few i am getting error
        Exception calling "SqlBackup" with "1" argument(s): "Backup failed for Server 
        'Server1'. "
        At C:\_Scripts\defaultbackup.ps1:40 char:1
        + $smoBackup.SqlBackup($server)
        + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId : FailedOperationException
        $dbToBackup = "test"
        #clear screen
        cls
        #load assemblies
        #note need to load SqlServer.SmoExtended to use SMO backup in SQL Server 2008
        #otherwise may get this error
        #Cannot find type [Microsoft.SqlServer.Management.Smo.Backup]: make sure
        #the assembly containing this type is loaded.
        [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SMO") | Out-Null
        [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SmoExtended") | 
        Out-Null
        [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.ConnectionInfo") 
        | Out-Null
        [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SmoEnum") | Out-  
        Null
        #create a new server object
        $server = New-Object ("Microsoft.SqlServer.Management.Smo.Server") "(local)"
        $backupDirectory = $server.Settings.BackupDirectory
        "Default Backup Directory: " + $backupDirectory
        $db = $server.Databases[$dbToBackup]
         $dbName = $db.Name
         $timestamp = Get-Date -format yyyyMMddHHmmss
        $smoBackup = New-Object ("Microsoft.SqlServer.Management.Smo.Backup")
        #BackupActionType specifies the type of backup.
        #Options are Database, Files, Log
        #This belongs in Microsoft.SqlServer.SmoExtended assembly
        $smoBackup.Action = "Database"
        $smoBackup.BackupSetDescription = "Full Backup of " + $dbName
        $smoBackup.BackupSetName = $dbName + " Backup"
        $smoBackup.Database = $dbName
        $smoBackup.MediaDescription = "Disk"
        $smoBackup.Devices.AddDevice($backupDirectory + "\" + $dbName + "_" + $timestamp +   
        ".bak",   
        "File")
        $smoBackup.SqlBackup($server)
        #let's confirm, let's list list all backup files
        $directory = Get-ChildItem $backupDirectory
       $smoBackup.Devices.AddDevice($backupDirectory + "\" + $dbName + "_" + $timestamp + ".bak", "File")
    $smoBackup.SqlBackup($server)
    #let's confirm, let's list list all backup files
    $directory = Get-ChildItem $backupDirectory
    #list only files that end in .bak, assuming this is your convention for all backup files
        $backupFilesList = $directory | where {$_.extension -eq ".bak"}
        $backupFilesList | Format-Table Name, LastWriteTime
        $backupFilesList = $directory | where {$_.extension -eq ".bak"}
        $backupFilesList | Format-Table Name, LastWriteTime
    I read on internet that by using this in the script this problem can be sorted but i am
    not sure where exactly to put this line in above script set the ConnectionContext.StatementTimeout to 0
                  

    Hi Srk,
    I found the similar issue in this article, which had been sovled by adding the script below:
    $server = New-Object ("Microsoft.SqlServer.Management.Smo.Server") $dbInstance
    $server.ConnectionContext.StatementTimeout = 0
    Refer to:
    Exception calling "SqlBackup" with "1" argument(s)
    Please feel free to let me know if this method can not work.
    Best Regards,
    Anna Wang

  • ORA-00604:error occurred at recursive SQL level1 ORA-01000:maximum open cur

    Dear Experts,
    I got Error During WebLoad Testing.
    Please give me solution.
    java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1 ORA-01000: maximum open cursors exceeded

    It depends on how may cursors are used in your program and the parameter value for OPEN_CURSORS. If it is not possible to reduce the number cursors used in the program increase the OPEN_CURSORS value.
    regards

  • Getting error when sending SMTP mail using javamail api

    hi all
    i am new to javamail api...and using it first-time....i'v used the following code
    <%
    String mailHost="mail.mastsale.com";
    String mailText="Hello this is a test msg";
    String to="<a href="mailto:[email protected]">[email protected]</a>";
    String subject="jsp test mail";
    try
    String from="<a href="mailto:[email protected]">[email protected]</a>";
    String mailhost = "mail.mastsale.com";
    Properties props = System.getProperties();
    props.put("mail.smtp.host", mailhost);
    // Get a Session object
    Authenticator auth = new SMTPAuthenticator( "<a href="mailto:[email protected]">[email protected]</a>", "abcd" );
    Session session1 = Session.getInstance(props,auth);
    //Session.setDebug(true);
    //construct message
    Message msg = new MimeMessage(session1);
    msg.setFrom(new InternetAddress(from,"Your Name"));
    msg.setRecipients(Message.RecipientType.TO, InternetAddress.parse(to, false));
    msg.setSubject(subject);
    msg.setText(mailText);
    //msg.setHeader("X-Mailer",mailer);
    msg.setSentDate(new Date());
    msg.saveChanges();
    //Send the message
    out.println("Sending mail to " + to);
    Transport.send(msg);
    catch (MessagingException me)
    out.println("Error in sending message for messaging exception:"+me);
    %>
    and
    SMTPAuthenticator.java
    import java.io.*;
    import java.util.*;
    import java.lang.*;
    import javax.mail.*;
    import javax.mail.internet.*;
    public class SMTPAuthenticator extends javax.mail.Authenticator {
    private String fUser;
    private String fPassword;
    public SMTPAuthenticator(String user, String password) {
    fUser = user;
    fPassword = password;
    public PasswordAuthentication getPasswordAuthentication() {
    return new PasswordAuthentication(fUser, fPassword);
    Now getting error as: Error in sending message for messaging exception:javax.mail.SendFailedException: Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 550-(host.hostonwin.com) [208.101.41.106] is currently not permitted to relay 550-through this server. Perhaps you have not logged into the pop/imap server 550-in the last 30 minutes or do not have SMTP Authentication turned on in your 550 email client.
    Can anyone help me?

    i got the following error while using the below code,
    -----------registerForm----------------
    DEBUG: setDebug: JavaMail version 1.3.2
    DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
    DEBUG SMTP: useEhlo true, useAuth true
    :::::::::::::::::::::::::::::::::<FONT SIZE=4 COLOR="blue"> <B>Error : </B><BR><HR> <FONT SIZE=3 COLOR="black">javax.mail.AuthenticationFailedException<BR><HR>
    -----------registerForm----------------
    public class SendMailBean {
    public String send(String p_from, String p_to, String p_cc, String p_bcc,
    String p_subject, String p_message, String p_smtpServer,String FilePath) {
    String l_result = "";
    // Name of the Host machine where the SMTP server is running
    String l_host = p_smtpServer;
    //for file attachment
    String filename = FilePath;
    // Gets the System properties
    Properties l_props = System.getProperties();
    // Puts the SMTP server name to properties object
    l_props.put("mail.smtp.host", l_host);
    l_props.put("mail.smtp.auth", "true");
    // Get the default Session using Properties Object
    Session l_session = Session.getDefaultInstance(l_props, null);
    l_session.setDebug(true); // Enable the debug mode
    try {
    MimeMessage l_msg = new MimeMessage(l_session); // Create a New message
    l_msg.setFrom(new InternetAddress(p_from)); // Set the From address
    // Setting the "To recipients" addresses
    l_msg.setRecipients(Message.RecipientType.TO,
    InternetAddress.parse(p_to, false));
    // Setting the "Cc recipients" addresses
    l_msg.setRecipients(Message.RecipientType.CC,
    InternetAddress.parse(p_cc, false));
    // Setting the "BCc recipients" addresses
    l_msg.setRecipients(Message.RecipientType.BCC,
    InternetAddress.parse(p_bcc, false));
    l_msg.setSubject(p_subject); // Sets the Subject
    // Create and fill the first message part
    MimeBodyPart l_mbp = new MimeBodyPart();
    //123
    ///////l_mbp.setText(p_message);
    l_mbp.setContent(p_message,"text/html");
    // Create the Multipart and its parts to it
    Multipart l_mp = new MimeMultipart();
         //l_mp.setContent(html,"text/html");
    l_mp.addBodyPart(l_mbp);
    // Add the Multipart to the message
    l_msg.setContent(l_mp,"text/html");
    // Set the Date: header
    l_msg.setSentDate(new Date());
    //added by cibijaybalan for file attachment
         // attach the file to the message
    //Multipart l_mp1 = new MimeMultipart();
         if(!filename.equals(""))
                   String fname = filename;
                   MimeBodyPart mbp2 = new MimeBodyPart();
                   FileDataSource fds = new FileDataSource(fname);
                   mbp2.setDataHandler(new DataHandler(fds));
                   mbp2.setFileName(fds.getName());
                   l_mp.addBodyPart(mbp2);
              // add the Multipart to the message
              l_msg.setContent(l_mp);
    //ends here
         l_msg.setSentDate(new java.util.Date());
    // Send the message
    Transport.send(l_msg);
    // If here, then message is successfully sent.
    // Display Success message
    l_result = l_result + "Mail was successfully sent to : "+p_to;
    //if CCed then, add html for displaying info
    //if (!p_cc.equals(""))
    //l_result = l_result +"<FONT color=green><B>CCed To </B></FONT>: "+p_cc+"<BR>";
    //if BCCed then, add html for displaying info
    //if (!p_bcc.equals(""))
    //l_result = l_result +"<FONT color=green><B>BCCed To </B></FONT>: "+p_bcc ;
    //l_result = l_result+"<BR><HR>";
    } catch (MessagingException mex) { // Trap the MessagingException Error
    // If here, then error in sending Mail. Display Error message.
    l_result = l_result + "<FONT SIZE=4 COLOR=\"blue\"> <B>Error : </B><BR><HR> "+
    "<FONT SIZE=3 COLOR=\"black\">"+mex.toString()+"<BR><HR>";
    } catch (Exception e) {
    // If here, then error in sending Mail. Display Error message.
    l_result = l_result + "<FONT SIZE=4 COLOR=\"blue\"> <B>Error : </B><BR><HR> "+
    "<FONT SIZE=3 COLOR=\"black\">"+e.toString()+"<BR><HR>";
    e.printStackTrace();
    }//end catch block
    //finally {
    System.out.println(":::::::::::::::::::::::::::::::::"+l_result);
    return l_result;
    } // end of method send
    } //end of bean
    plz help me

  • Getting error when inserting Web API/Table Inteface class in Web Template !

    Hi Experts,
    I am getting error -- Invalid Renderer class: '&1' ZTEST_BWREPORT_ADI
    while inserting the <param name="ITEM_CLASS" value="ZTEST_BWREPORT_ADI"/> in HTML code of the template, having one table web item, before  <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/> statement to get the customization I have done in ZTEST_BWREPORT_ADI as per table interface.
    Please look into the issue and try to suggest the possible solutions as soon as possible.
    Regards,
    Aditya Srivastava.

    Hi,
    The got the solution which is nothing tricky. I have to just insert <param name = "MODIFY_CLASS" value = "ZTEST_BWREPORTS_ADI"/> after <param name = "ITEM_CLASS" value = "CL_RSR_WWW_ITEM_GRID"> to get the desired result. Though I don't know what might be the reason (since I am very new to BW) but atleast the thing is working.
    Regards,
    Aditya Srivastava.

  • Getting error of Defining an internal table with header line, SELECT-OPTIO

    Hi all,
    i have a coding for my smart form,In this coding i have define an structure which being used,but when i execute it it give me
    error of Defining an internal table with header line, SELECT-OPTIONS, and RANGES is not allowed within a structure.Even tough you can see that in  my coding im not using SELECT-OPTION or RANGES,but can't understand why it gives me this error.
    Following are the code:
      DATA: BEGIN OF traptab OCCURS 50.
            INCLUDE STRUCTURE mseg.
      DATA: vgart LIKE mkpf-vgart,
            blart LIKE mkpf-blart,
            blaum LIKE mkpf-blaum,
            bldat LIKE mkpf-bldat,
            budat LIKE mkpf-budat,
            cpudt LIKE mkpf-cpudt,
            cputm LIKE mkpf-cputm,
            aedat LIKE mkpf-aedat,
            usnam LIKE mkpf-usnam,
            tcode LIKE mkpf-tcode,
            xblnr LIKE mkpf-xblnr,
            bktxt LIKE mkpf-bktxt,
            frath LIKE mkpf-frath,
            frbnr LIKE mkpf-frbnr,
            wever LIKE mkpf-wever,
          END OF traptab. 
    Thanks & Regards,
    sappk25

    thanks

  • Error After Upgrade APEX 4.2 - Ora-01403

    Hello,
    I installed APEX 4.2 over XE 11.2
    The Installationprocess succeeded.
    1-Install Oracle Database Express Edition 11g (APEX 4.0 work fine and publicate Apex Application Sample correctly)
    2-Download APEX 4.2
    3-Run @apexins.sql USERS USERS TEMP /i/
    4-Run @apxchpwd.sql
    5-Run @apex_epg_config.sql C:\Temp
    6-Run @apxldimg.sql C:\Temp
    7-Run EXEC DBMS_XDB.SETHTTPPORT(8080);
    8-Unlock Account Anonymous User
    Temp is the directory where unzip apex_4.2.zip file
    After this, when i try to enter http://127.0.0.1:8080/apex/f?p=4950
    The error is
    "Error     Error processing request.
    ORA-01403: no data found
    OK"
    And is imposible to publicate the Apex Application Sample
    Any Ideas ??
    Thanks

    I am using OHS HTTP server with mod_plsql to connect to 11g on a sep. AIX 6.1 DB server. and getting the same error. I tried your procedure, it executed fine, but I'm still getting the error.
    I just upgraded to 4.2 from 3.2.
    I didn't reset my pw or anything, as the instructions said only to do that for a new install. All I did post install was copy the new Images to the correct directory.
    This is the connect string I was using before, modified to 4550, as per your instructions.
    http://127.0.0.1:7777/pls/apex/f?p=4550
    I also removed the last bit up to /apex, I get the same error.

  • Getting error message while creating encrypted table space

    I have created an oracle wallet and while creating table space I am getting the following error..
    Please provide me some thougts on this
    Wallet status is below
    file    /usr/tp/sys/oracle/admin/ofss41d2/wallet    OPEN
    the tablespace creation syntax is
    CREATE TABLESPACE corxpr_app_dat DATAFILE '/data/oracle/oradata/ofss41d2/corxpr_app_dat.dbf' SIZE 10M AUTOEXTEND   ON ENCRYPTION USING 'AES256' DEFAULT STORAGE(ENCRYPT);
    The error is
    Error starting at line 7 in command:
    CREATE TABLESPACE corxpr_app_dat DATAFILE '/data/oracle/oradata/ofss41d2/corxpr_app_dat.dbf' SIZE 10M AUTOEXTEND   ON ENCRYPTION USING 'AES256' DEFAULT STORAGE(ENCRYPT)
    Error at Command Line:7 Column:0
    Error report:
    SQL Error: ORA-28374: typed master key not found in wallet
    I am using Oracle 11.2.0.3.0

    Hello Bharati,
             you need to give the value of the constant by selecting from the source parameter.Hope this answer helps you.
    Assigning Points = Thanks in SDN
    Thanks & Regards
       Jai

Maybe you are looking for

  • Yoga 2 11 WLAN upgrade

    With the new BIOS 92CN33WW is there now a possibility to upgrade the WLAN of  Yoga 2 11 e.g. by using a new Wireless-AC 7260 module ? Up to now this was not possible due to the Whitelist in the BIOS.

  • Can't get printer to connect to my Galaxy Note3

    I can't setup my hp2540 printer to my Galaxy Note3

  • Problem in import iview

    Dear All, In our production portal we had a problem with import iview. when i click on import iview under transport package i am not able to view it in Navigation Area. Regards Subash

  • Asha 202 doesn't have a Maps option in the Menu!

    Hello everyone on this community, I'm new here so forgive me if I make mistakes..  I want to know why my Asha 202 doesn't have either the Nokia Maps option or the Nokia Social App.  Do I need to do anything to enable these?  Thanks in advance

  • IPC Dispatcher not starting

    Hi All, The SAP IPC dispatcher and the SAP IPC Server are not starting. Message: "Couldn't start the SAP IPC Dispatcher service on local computer. The service didn't return an error. This could be an internal windows error or an internal service erro