Formatting of utl_mail in Table Format

Hi ,
Can any one please help me in formatting the mail content in table format .
Kindly look at the code given below .
Please do the needful.
PROCEDURE SEND_MAIL_update IS
vSubject Varchar2(200);
vMsg_BODY Varchar2(2000);
vPm_login Varchar2(200);
vSQA_login Varchar2(200);
vSQA_Mgr_login Varchar2(200);
vACT_NAME Varchar2(200);
vPLAN_DT Date;
vTo_login Varchar2(100);
vRole Varchar2(100);
vStatus Varchar2(200);
vfdback Varchar2(200);
Cursor C_plan_dtl is select
* from SQA_PLAN_DETAIL
where Plan_ID_FK_=:Parameter.Plan_ID
and PLANNED_DATE is not null;
Begin
     vSQA_Mgr_login:=null;
     vPm_login :=null;
     vTo_login :=NULL;
     vSQA_login :=null;
For i in C_plan_dtl loop
select name into vACT_NAME
From SQA_activity_master
Where id =i.ACTIVITY_ID;
vMsg_BODY :=vMsg_BODY||vACT_NAME||' '||to_char(i.PLANNED_DATE,'DD-Mon-YYYY')||' '||i.REMARKS||chr(10)||chr(10);
END LOOP;     
Begin     
select
feedback into vfdback from SQA_PLAN_MASTER
where ID=:Parameter.Plan_ID;
end;
begin
Begin     
Select login||'@softsolindia.com'
into vsqA_mgr_login
from orzmembers_vu
where id=(select sqa_mgr_id
from assign_sqa
Where id=:Parameter.Project_ID
and rownum=1);
Exception
     When others then
     dsp.msg('SQA Manager Mail Id Not Found'||sqlerrm);
End;
Begin
     Select login||'@softsolindia.com'
into vSQA_login
from orzmembers_vu
where id=(select sqa_id
from assign_sqa
Where id=:Parameter.Project_ID
and rownum=1);
Exception
     When others then
     dsp.msg('SQA Mail Id Not Found'||sqlerrm);
     end;
Begin
Select login||'@softsolindia.com'
into vpm_login
from orzmembers_vu
where id=(select manager_id
from sqa_project_master
Where id=:Parameter.Project_ID
and rownum=1);
Exception
     When others then
     dsp.msg('Project Manager Mail Id Not Found'||sqlerrm);
End;
* if :PARAMETER.PRS_STAT='R' and :parameter.prv_stat='N' THEN
     vStatus:='Below planned activities are reviewed'||chr(10)||chr(10)||'Activity Name Planned Date Remarks'||chr(10);
elsif :PARAMETER.PRS_STAT='A' and :parameter.prv_stat='R' THEN     
vStatus:='Below planned activities are approved'||chr(10)||chr(10)||'Activity Name Planned Date Remarks'||chr(10);
else          
     vStatus:='Below is the schedule planned(Updated) for the sqa activities.'||chr(10)||'Request you to review and provide approval/feedback'||chr(10)||chr(10)||'Activity Name Planned Date Remarks'||chr(10);
     end if;               
vRole:=fn_user_role;
-- vSubject:='SQA Plan For Month -'||substr(:Parameter.Plan_ID,-7)||' - '||:Parameter.Plan_ID;
vSubject:=:parameter.plan_id;
vMsg_body:=
--'Dear '||vTo_login||chr(10)||chr(10)||
--'Following activities are rescheduled for the Month of - '||Substr(:Parameter.Plan_ID,-7)
vStatus||chr(10)||chr(10)||
vMsg_body||chr(10)||chr(10)||'Regards '||chr(10)||:Parameter.Username||chr(10)||vRole; *
If      vsqA_mgr_login is not null and vRole = 'SQA MANAGER' and :PARAMETER.PRS_STAT='R' then
          utl_mail.send(
               sender=>:Parameter.uid||'@softsolindia.com',
               recipients=>vpm_login,
               cc=>:Parameter.uid||'@softsolindia.com'||','||vsqA_login,
               --bcc=>'[email protected]',
               subject=>vSubject,
               message=>vMsg_body);
               dsp.msg('Mail Sent Successfully ');
     ElsIf      vsqA_mgr_login is not null and vRole = 'SQA MANAGER'and :parameter.ch_fdback = 'true' then
          utl_mail.send(
               sender=>:Parameter.uid||'@softsolindia.com',
               recipients=>vsqA_login,
               cc=>:Parameter.uid||'@softsolindia.com'||','||vpm_login,
               --bcc=>'[email protected]',
               subject=>vSubject,
               message=>vMsg_body);
               dsp.msg('Mail Sent Successfully ');
               :parameter.ch_fdback :='false';
End if;
     if     vSQA_login is not null and vRole = 'SQA' then
          utl_mail.send(
sender=>:Parameter.uid||'@softsolindia.com',
recipients=>vsqA_mgr_login,
cc=>:Parameter.uid||'@softsolindia.com'||','||vpm_login,
--bcc=>'[email protected]',
subject=>vSubject,
message=>vMsg_body);
dsp.msg('Mail Sent Successfully ');
     end if;
if vpm_login is not null and vRole='PM' and :PARAMETER.PRS_STAT='A' and vfdback is not null then
          utl_mail.send(
          sender=>:Parameter.uid||'@softsolindia.com',
          recipients=>vsqA_mgr_login||','||vsqa_login,
          cc=>:Parameter.uid||'@softsolindia.com',
          --bcc=>'[email protected]',
          subject=>vSubject,
          message=>vMsg_body);
          dsp.msg('Mail Sent Successfully ');
ELSif vpm_login is not null and vRole='PM' and :parameter.ch_fdback = 'true' then
          utl_mail.send(
          sender=>:Parameter.uid||'@softsolindia.com',
          recipients=>vsqa_login,
          cc=>:Parameter.uid||'@softsolindia.com'||','||vsqA_mgr_login,
          --bcc=>'[email protected]',
          subject=>vSubject,
          message=>vMsg_body);
          dsp.msg('Mail Sent Successfully ');
          :parameter.ch_fdback :='false';
End if;
Exception
     When Others then
     dsp.msg(' Unable To Send The Mail '||sqlerrm);
end;
:PARAMETER.Aqe := ' ';
END;

Hi ,
You can use QA33 transaction for having all the information related to the inspection lot.
Cheers,
Tushar

Similar Messages

  • Creation of SO based on the input in table format  for bulk data : urgent

    Hi,
    The data from an external system will be sent to SAP in a bulk format and also as a Table. i.e. they are going to send around 30 Purchase orders from external system . I need to fetch all of them at a time and create SO for each one .
    Hence, anyone please provide a work around for the same.
    shyam

    HI Shyam
    Proceed as below:
    1. Identify the file layout like how it is going to be for multiple items.
    2. Upload the data to an internal table:
    3. Loop at internal table
    4. Populate the data required for BAPI structures
    5. AT END of PO number call a BAPI to create a Sales Order.
    Make sure you are clearing/refreshing the structures/internal tables for BAPI.
    Regards
    Eswar

  • Data from table in xml Format and Inserting it into  Table

    Hi All
    I have table where xml data is stored in long format with xml tag know i have read the entire xml xoulmn which is xml tag and insert it into diffrent table can any suggest me the code
    Thanks & Regards

    I believe you are on the wrong forum. You want the XML DB forum.
    See:
    XML DB

  • Inserting data from one table to another in different format

    Hello,
    I would like to know what I am doing wrong with the following code when I write a data from one another to another table in a different format. I am now learning PL/SQL and am using this as
    a test problem.
    I have a table called students which has the following columns:
    SQL> desc student
    Name Null? Type
    ----------- ----------------STUDENT_ID NUMBER(10)
    COURSE VARCHAR2(10)
    CREDITS NUMBER(10)
    I have created another table called new_student which has the following structure:
    SQL> desc new_student
    Name Null? Type
    ----------------------------------------- -------- ------------- STUDENT_ID NUMBER(10)
    COURSE VARCHAR2(30)
    CREDITS VARCHAR2(10)
    The data in the student table is:
    SQL> select * from student;
    STUDENT_ID COURSE CREDITS
    1 Science 4
    1 History 3
    2 Science 4
    2 History 3
    2 Math 4
    3 Sociology 3
    3 Psycology 3
    I want to store the STUDENT table data in NEW_STUDENT table as:
    STUDENT ID COURSES CREDITS
    1 Science/History 4/3
    2 Science/History/Math 4/3/4
    3 Sociology/Psycology 3/3
    This is my code:
    DECLARE
    -- Get all the student IDs
    CURSOR studentlist_cursor IS select distinct student_id from student ORDER BY student_id;
    -- Get the information for each student ID
    CURSOR courses_cursor(nstudentid number) is select course, credits from student where student_id=nstudentid;
    nIndex     INTEGER;
    pltcourses     DBMS_SQL.VARCHAR2_TABLE;
    pltcredits     DBMS_SQL.NUMBER_TABLE;
    newcourses varchar2(50);
    newcredits varchar2(10);
    BEGIN
    FOR student_rec IN studentlist_cursor
    LOOP
    nIndex:=0;
    -- Loop through each student ID from student_rec to get the
    --courses and creditsstudent ID
    FOR courses_rec in courses_cursor(student_rec.student_id)
         LOOP
         nIndex:=nIndex+1;
         pltcourses(nIndex):=courses_rec.course;
    -- Store the course data for each student ID in newcourses
    -- while doing so check if it is null or put a '/' between each course
    loop
    if newcourses is null then
    newcourses:=pltcourses(nIndex);
    else
    newcourses:=newcourses||'/'||pltcourses(nIndex);
    end if;
    end loop;
         pltcredits(nIndex):=courses_rec.credits;
    --Store credits data in variable newcredits
    --If the newcredits is not null then put a '/' between each credits
    loop
    if newcredits is null then
    newcredits:=pltcredits(nIndex);
    else
    newcredits:=newcredits||'/'||pltcredits(nIndex);
    end if;
    end loop;
    -- Insert student id, newcourses, newcredits into NEW_STUDENT
    INSERT INTO NEW_STUDENT
    (student_id ,
    course,
    credits
    ) VALUES
    (student_rec.student_id,
    newcourses,
    newcredits
    COMMIT;
    -- come out of the student id record and go to the next student --id record
    END LOOP;
    -- come out of the loop
    END LOOP;
    END;
    While doing so I get an error message:
    declare
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at line 23.
    The error is at the line:
    newcourses:=newcourses||'/'||pltcourses(nIndex);
    Can anyone help me by pointing out where the mistake is?
    Thank you for reading this long mail.
    Thank you.
    Rama.

    Hi dude
    there is lot of error in ur pl/sql.
    and u have created table new_student with columns
    student_id number(10),
    courses varchar2(30),
    credits number(10).
    first u need to modify ur table.
    student_id number(10),
    courses varchar2(30),
    credits varchar2(10).
    Now i am writing whole pl/sql block for u. it will work fine.
    DECLARE
    CURSOR studentlist_cursor IS select distinct student_id from student ORDER BY student_id;
    CURSOR courses_cursor(nstudentid number) is select course, credits from student
    where student_id = nstudentid;
    nIndex INTEGER;
    pltcourses DBMS_SQL.VARCHAR2_TABLE;
    pltcredits DBMS_SQL.NUMBER_TABLE;
    newcourses varchar2(50);
    newcredits varchar2(10);
    BEGIN
    FOR student_rec IN studentlist_cursor
    LOOP
    nIndex:=0;
    newcourses := null;
    newcredits := null;
    FOR courses_rec in courses_cursor(student_rec.student_id)
    LOOP
    nIndex:=nIndex+1;
    pltcourses(nIndex):=courses_rec.course;
    if newcourses is null then
    newcourses:=pltcourses(nIndex);
    else
    newcourses:=newcourses||'/'||pltcourses(nIndex);
    end if;
    pltcredits(nIndex):=courses_rec.credits;
    if newcredits is null then
    newcredits:=pltcredits(nIndex);
    else
    newcredits:=newcredits||'/'||pltcredits(nIndex);
    end if;
    end loop;
    INSERT INTO NEW_STUDENT
    (student_id,
    course) VALUES
    (student_rec.student_id,
    newcourses);
    END LOOP;
    END;
    and please revert back
    Regards
    Anil

  • How to export table contents in xml file format through SQL queries

    hi,
    i need to export the table data in to xml file format. i got it through the GUI what they given.
    i'm using Oracle 10g XE.
    but i need to send the table name from Java programs. so, how to call the export commands from programming languages through. is there any sql commands to export the table contents in xml format.
    and one more problem is i created each transaction in two tables. for example if we have a transaction 'sales' , that will be saved in db as
    sales1 table and sales2 table. here i maintained and ID field in sales1 as PK. and id as FK in sales2.
    i get the combined data with this query,
    select * from sales1 s1, sales2 s2 where s1.id=s2.id order by s1.id;
    it given all the records, but i'm getting two ID fields (one from each table). how to avoid this. here i dont know how many fields will be there in each table. that will be known at runtime only.
    the static information is sales1 have one ID field with PK and sales2 will have one ID filed with FK.
    i need ur valuable suggestions.
    regards
    pavan.

    You can use DBMS_XMLGEN.getXML('your Query') for generating data in tables to XML format and you can use DBMS_XMLGEN.SETROWSETTAG to change the parent element name other wise it will give rowset as well as DBMS_XMLGEN.SETROWTAG for row name.
    Check this otherwise XMLELEMENT and XMLFOREST function are also there to convert data in XML format.

  • Table entries not getting displayed in desired format

    Hi All,
    In my adobe layout I created a table . I used data format Align Right and align middle for the table entries. In the Output  some entries of the table are not displaying in align right and align middle.
    Output:In the below output the first row data is not in desired format .
    Thanks in Advance,
    Suneel.Uggina.

    That is pretty to much information to help you.
    You need to share your technical setting. How did you create the table? Subforms, Table-assistent... what are the values in? Format, what happens when you also pass more than 1 digit to the numbers in the first row, does it show up correct?
    So please share more details and explain exact what you have tried to fix the issue. The community is able to help you, but not meant to suggest enaything you could have done.
    ~Florian

  • Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the rows? Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the records?
    Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    The Oracle documentation has a good overview of the options available
    Generating XML Data from the Database
    Without knowing your version, I just picked 11.2, so you made need to look for that chapter in the documentation for your version to find applicable information.
    You can also find some information in XML DB FAQ

  • Format the total value in the column of the graph table

    Hello all,
    I have a graph table and I need to format the total value in the column of the table.
    I am trying to find my table bean with the code below but it's not working in the processRequest. Is there anything else that should be done?
    // Get the graph
    OAGraphTableBean graphBean = (OAGraphTableBean)webBean.findChildRecursive("MyGraph");
    // Get the table
    OATableBean tblBean = (OATableBean)graphBean.findChildRecursive("MyTable");
    The tblBean is null in the processRequest. In the processFormRequest the tblBean is not null.
    Thanks and Regards,
    Andrea

    Hi,
    The code OAGraphTableBean graphBean = (OAGraphTableBean)webBean.findChildRecursive("MyTable"); does not work because in this case I am getting the table but casting to a graph.
    The MyTable bean is a child of MyGraph.
    When creating a graph bean we have the option to create a table as a child (select your graphTable region in the Structure pane, and choose New > tabularFormat - to create the table).
    The table bean child I can get just in the processFormRequest, but the graph I can get in both processRequest and processFormRequest.
    I need to get the table bean in the processRequest to format the total value column.
    Do you know if is there anything else that should be done to format the total column?
    Thanks and Regards,
    Andrea

  • Combine Columns From Separate Arrays Into One Formatted Table

    What I'm trying to do is make two WMI queries with 2 different classes for a list of machines and then patch the columns together into one single array that is formatted as a table with columns and rows. I seem to keep banging my head against the wall and
    I can't help but feel that the answer is simple. I can certainly create an array that contains all 3 columns (such as in the commented out part) but no matter which angle I go at it, it always seems to end up as all the data in one single row in each column
    rather than a nicely formatted table. I've even tried constructing separate custom objects and adding the different objects to the array but that's obviously not working. Below is the code of the last thing I tried. I need someone to bash it to death and tell
    me the (most likely obvious) thing that I'm doing wrong. Thanks!
    $failedos = @()
    $failedcs = @()
    $ccs = get-adcomputer -property operatingsystem -filter {name -like "*-CC*"} | select name | sort name
    $cs = foreach ($cc in $ccs){$cc.name | % {if ($c=get-wmiobject -computername $cc.name -class win32_computersystem -ErrorAction SilentlyContinue){$c | select @{Name="Name";Expression={$_.Name}}, @{Name="Model";Expression={$_.Model}}} else {$failedcs += "$_"}}}
    $os = foreach ($cc in $ccs){$cc.name | % {if ($o=get-wmiobject -computername $cc.name -class win32_operatingsystem -ErrorAction SilentlyContinue){$o | select @{Name="OperatingSystem";Expression={$_.caption}}} else {$failedos += "$_"}}}
    #[array]$osprops = @{'Name'=$cs.Name;'Model'=$cs.Model;'OperatingSystem'=$os.OperatingSystem}
    $result = @()
    Foreach ($Line in $cs) {
    $MyCustomObject = New-Object -TypeName PSObject
    Add-Member -InputObject $MyCustomObject -MemberType NoteProperty -Name "Name" -Value $Line.name -Force
    Add-Member -InputObject $MyCustomObject -MemberType NoteProperty -Name "Model" -Value $Line.Model -Force
    $result += $MyCustomObject
    foreach ($Line2 in $os) {
    $MyCustomObject2 = New-Object -TypeName PSObject
    Add-Member -InputObject $MyCustomObject2 -MemberType NoteProperty -Name "OperatingSystem" -Value $Line2.OperatingSystem -Force
    $result += $MyCustomObject2

    Any help?
    $ccs = get-adcomputer -property operatingsystem -filter {name -like "*-CC*"} |
    select -ExpandProperty name | sort
    $Result =
    Foreach ($CC in $CCs)
    $Object =
    New-Object PSObject -Property @{ Name = $CC
    Model = 'Failed'
    OperatingSystem = 'Failed'
    Try {
    $Object.Model =
    get-wmiobject -computername $CC -class win32_computersystem -ErrorAction Stop |
    select -ExpandProperty Model
    $Object.OperatingSystem =
    get-wmiobject -computername $CC -class win32_operatingsystem -ErrorAction Stop |
    select -ExpandProperty Caption
    Catch{}
    Finally { $Object }
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

  • Need to display in a table format

    Hi,
    From my database i need to get the values for , UserName and Password and display in a table format .
    I could get the values from the database using
    Statement stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery("select * from Login");
    while(rs.next()){
    out.println(" <br> ");
    out.println(rs.getString("username");
    out.println(rs.getString("password");
    }it works fine and displays like below......
    user1  pwd1
    user2 pwd2
    .....    ...May i know how to get it in a tabular format as an output
    pls provide sample code for it.
    I would be thankful to u guys,
    Thanks & Regards,
    Raghu.

    From my database i need to get the values for ,
    UserName and Password and display in a table format
    .Really, really bad idea.
    There is never any need, in any implementation to display or even keep actual passwords.
    >
    May i know how to get it in a tabular format as an
    outputAs in a GUI? Then that is a GUI question not a JDBC one.
    Something else? Then you need to explain exactly what the destination is and what defines it as 'tabular'.

  • Problem with table formatting

    I'm having a lot of problems with tables not reflecting their formatting when I open them in a browser. I've tried opening in Safari, Firefox & Camino with the same results. For example, a row with the following html content has a much larger height & aligns the text to the top when opened in a browser:
    <tr>
              <td height="15" colspan="3" valign="middle"><h6 align="center">Summer 2009</h6>
              </td>
            </tr>
    If it matters, this is a row in a table nested in another table. Here's the code down to the row in question (all tags are closed properly in the remaining code):
    <table width="600" border="2" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td align="center" valign="top"><img src="images/events.jpg" width="250" height="35"></td>
        </tr>
        <tr>
          <td align="left" valign="top">
          <table width="100%" border="0" align="center" cellpadding="1" cellspacing="0">
            <tr>
              <td height="15" colspan="3" valign="middle"><h6 align="center">Summer 2009</h6>
              </td>
            </tr>
    I am using a style sheet for text. Here's the code for "h6" if that matters:
    h6 {
    font-family: Verdana, Geneva, Arial;
    font-size: 14px;
    font-weight: bold;
    color: #660099;
    Any ideas is appreciated. This is driving me nuts. Spacing and alignment sometimes work and sometimes don't work. Dreamweaver is supposed to make such things easier!
    Kevin

    Header tags are usually used round a bit of text, not parts of a table, and if you don't specify the margins on them, can force different amounts of space below in different browsers. Try making the bottom margin on h6 zero, and confine it to text within a cell.
    Also, if you can upload your page somewhere and let us have the url it will be easier to troubleshoot.

  • Customizing Pivot Table format in answers

    Hi,
    I have some questions about formats of a Pivot Table.
    1) I want to change the position of row headings in Pivot Table view, show them on the right side of the table. Is there any way to do that? The reason is to show "results" column (sum on the columns in results tab) only for one part of the table, like | data | results | data |, combining two reports with the same rows edge to edge. Maybe it's a bad idea, but I don't know better way...
    2) In the report we make links on values in the table grid to another report (detailed). But while exporting to Excel they became not numbers (and not summable), because it adds a space after a number. Overriding the default format by "number format" is not helpful. Can I control format while exporting?

    I'd make sure the default compound view has only the objects you want to show (ie pivot, title), Remove the table and your all set. That should do it.

  • Report In Table Format in Email

    Dear sir,
    i want to send mail to user in format of report of issues in table Format in Body of mail.
    Actully i want to send mail daily to user with Pending Issues of user.
    HOD allote issue to user with Close target Date .Mail would be fire till tagget date >sysdate .
    There can be Multiple issue with user.
    so i want to create a list of All pending issue in report in table which are not Closed .
    Report should be display with that column
    eg. User 0010 has 3 Pending Issue
    Issue No-----subject-----Create On-----Target Date
    001---------ABC-------27-Mar-2011-------30-Jnn-2011
    002--------BHN-------23-Jun-2011---------06-July-2011
    003--------JHN--------05-Jun-2011---------02-July-2011
    That Report Should be sent to User in mail.
    My Code is
    DECLARE
    l_id number;
    to_add varchar2(1000);
    to_sub_by varchar2(1000);
    from_add varchar2(1000);
    l_body varchar2(4000):=:P33_DESCRIPTION;
    l_sub varchar2(1000):=:P33_SUBJECT;
    I_case varchar2(10):=:P33_CASE_ID;
    I_isue_dte date:=:P33_SUBMITTED_ON;
    l_regd    varchar(100);
    CURSOR C1 IS SELECT EMAIL_ID,(SELECT EMAIL_ID FROM USER_MAS WHERE USER_ID =:P33_SUBMITTED_BY_ID) AS D FROM USER_MAS WHERE USER_GR_ID=:P33_ASSIGNED_TO_GROUP_ID AND USER_ID NOT IN(:APP_USER);
    BEGIN
    if :P33_ASSIGNED_TO_GROUP_ID is not null then
    open C1;
    LOOP
    FETCH C1 INTO to_add,to_sub_by;
    EXIT WHEN C1%NOTFOUND;
    select email_id,user_name into from_add,l_regd from user_mas where user_id=:app_user;
    l_id:=APEX_MAIL.SEND(
            p_to        => to_add, -- change to your email address
            P_cc        => to_sub_by,
            p_from      => from_add,
            p_body      => 'Issue Information'||''||chr(13)||chr(10)||chr(13)||chr(10)||
                           'www.farhorizonindia.net:7777/crm'||''||chr(13)||
                           'Issue Title'||':'||l_sub||CHR(13)||chr(10)||
                           'Issue Number'||':'||I_case||CHR(13)||
                           'Issue Open Date'||':'||I_isue_dte||''||chr(13)||chr(10)||CHR(13)||chr(10)||
                           'Most Recent Comment'||':'||''||chr(13)||chr(10)||
                           l_body||chr(13)||chr(10)||''||CHR(13)||chr(10)||'Regards'||chr(13)||chr(10)||''||l_regd||CHR(13)||chr(10)||CHR(13)||chr(10)||'Please do not reply to this email.If you wish to update the call.please login to the issue Management.',
      P_subj      => I_case ||' Issue '||l_sub);
    end loop;
    close C1;
    end if;
    COMMIT;
    apex_mail.push_queue(
    P_SMTP_HOSTNAME => '102.111.0.9',
    P_SMTP_PORTNO => 25);
    commit;
    END;How can i create that format in Body Of sending Email.
    Thanks
    Vedant
    Edited by: Vedant on Jun 30, 2011 3:44 AM
    Edited by: Vedant on Jul 5, 2011 9:17 PM

    Look at using an interactive reports and subscription routine..: http://st-curriculum.oracle.com/obe/db/apex/r40/apexirr/apexirrdev/apexirrdev_ll.htm
    Death called while you were out, so I gave him your cell number.
    Thank you,
    Tony Miller
    Webster, TX

  • To check whether there is any format mismatch between columns of two tables

    Hi,
    I have got a table 'T' (Source table) with columns
    T_Lat Varchar2(50);
    T_Amt Varchar2(50);
    T_Cat Varchar2(50);
    (all these above columns have numeric data)
    Actually, Here I have taken only the columns having numeric data from table 'T'
    Now I have another table 'M'(Destination Table) with columns
    M_Lat number;
    M_AMt number;
    M_Cat number;
    Now my task is I have to do a prevalidation of the data in 'T' that whether all the data in those columns will suit for the destination table columns respectively (to check whether there is any format mismatch). This check should be done dynamically(as there are more than 50 columns in real).
    Note:- There is no unique mapping column for these two tables
    I think it can be done using arrays or plsql tables. But i dont have idea using them.
    Can any one help me in this regard.

    Why, What's wrong with these post and there responce?
    {message:id=10480898}
    {message:id=10472737}

  • Table date format - How can I display Week 1, Week 2, instead of the date?

    I would like to creat a table for my Gantt, that displays the week number unit, as I have as the middle tier in my timescale on the Gantt side of the view.  I cannot find how to do this anywhere.  I know I can change the way the date is displayed,
    format wise, while in the table edit area, however one of the choices is NOT the week #.  The data must exsist as the timescale displays it! 
    My goal is to creat a table that instead of showing the start date for a task, displaces the start week: i.e. Week 1, Week 2, ...ect.
    Any help is appreciated,
    Craig.

    Craig --
    Bad news, my friend.  What you want to do with the date format in the table cannot be done.  The format you see in the Timescale bar is simply not an available date option in any table.  Sorry.
    Dale A. Howard [MVP]
    VP of Educational Services
    msProjectExperts
    http://www.msprojectexperts.com
    http://www.projectserverexperts.com
    "We write the books on Project Server"

Maybe you are looking for

  • Auditing failed access to files and folders in Windows Storage Server 2008 R2

    Hello, I've been trying to figure out why I cannot audit the failed access to files and folders on my server.  I'm trying to replace a unix-based NAS with a Windows Storage Server 2008 R2 solution so I can use my current audit tools (the 'nix NAS has

  • Can't install due to "registry" and "dll" error messages.

    I can't install any Adobe products. This occured after a complete reinstall of my Windows XP - if that has anything to do with it. I have done a reinstall before without any problems. I keep getting error messages about "missing registry" and "dll"s.

  • Need to add large (Physical) picture files to my iWeb page, best solution?

    I am designing a site for my friends restaurant. When I drag and drop the image files into iWeb as instructed when you view them back through the browser after uploading they are not large enough to read properly on the web - it is a menu so there is

  • Light in Headphone jack...

    I have compared the headphone jack on my wife's 3gs with my new iphone 4 and have noticed that there seens to be a noticable light when I look down into the headphone jack hole. That is to say when the phone in on and the screen is lit. Is this a com

  • What does this error message mean: "Please acquire a new SIM (H5006)"

    I tried accessing my cellular data and got this screen: "The SIM is currently active and not available for activation on this device" "Please acquire a new SIM (H5006)" Any ideas why this would happen? Thanks, Ron