PAYABLES NOT GETTING THE REPORT OUTPUT IN PDF AFTER APPLYING RUP5 R12
Hi All,
RDBMS:10.2.0.3.0
Oracle Apps :12.0.4
OS:AIX 5.3
Problem Description:
We are presently facing an issue in Payables not getting the report output in PDF esp for the reports "Invoice Register", Invoice Hold Report and also other reports. We were able to generate the reports till our last test performed on last Thursday. This instance was cloned over the last weekend and probably the new upgrade to RUP5 R12,would have impacted it.
Concurrent Programs submitted are completed normal but on clicking "view output" results in Blank PDF output.
The error message what was shown is as below:
"Adobe Reader could not open 'AcrC.tmp' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)".
Where could we locate ther above 'AcrC.tmp' of Adobe Reader..
could anyone please share such an experience encountered for resolution..
Would appreciate an early response..
Thanks for your time!
Regards,
I suggest you speak to your DBA/sysadmin. This is not likely to be a reports problem.
Check that you can see the output from apps through the viewer (the report may not hav output anything)
Check whether you can print anything on that printer from apps.
May also be worth checking to see if you can print to another printer from this report.
Similar Messages
-
How to download the report output into PDF format
Hi friedns
from the report output when user clicks download button
it has to download to PDF format
how to do this
thanks in advance
venuhi venu,
check this sample code
Save Report Output to a PDF File
This report takes another report as input, and captures the output of that report. The output is then converted to
PDF and saved to a local file. This shows how to use some of the PDF function modules, as well as an easy way to
create PDF files.
Source Code Listing
report zabap_2_pdf.
*-- Enhancements: only allow to be run with variant. Then called
*-- program will be transparent to users
*-- TABLES
tables:
tsp01.
*-- STRUCTURES
data:
mstr_print_parms like pri_params,
mc_valid(1) type c,
mi_bytecount type i,
mi_length type i,
mi_rqident like tsp01-rqident.
*-- INTERNAL TABLES
data:
mtab_pdf like tline occurs 0 with header line,
mc_filename like rlgrap-filename.
*-- SELECTION SCREEN
parameters:
p_repid like sy-repid, " Report to execute
p_linsz like sy-linsz default 132, " Line size
p_paart like sy-paart default 'X_65_132'. " Paper Format
start-of-selection.
concatenate 'c:\'
p_repid
'.pdf'
into mc_filename.
*-- Setup the Print Parmaters
call function 'GET_PRINT_PARAMETERS'
exporting
authority= space
copies = '1'
cover_page = space
data_set = space
department = space
destination = space
expiration = '1'
immediately = space
in_archive_parameters = space
in_parameters = space
layout = space
mode = space
new_list_id = 'X'
no_dialog= 'X'
user = sy-uname
importing
out_parameters = mstr_print_parms
valid = mc_valid
exceptions
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
others = 4.
*-- Make sure that a printer destination has been set up
*-- If this is not done the PDF function module ABENDS
if mstr_print_parms-pdest = space.
mstr_print_parms-pdest = 'LOCL'.
endif.
*-- Explicitly set line width, and output format so that
*-- the PDF conversion comes out OK
mstr_print_parms-linsz = p_linsz.
mstr_print_parms-paart = p_paart.
submit (p_repid) to sap-spool without spool dynpro
spool parameters mstr_print_parms
via selection-screen
and return.
*-- Find out what the spool number is that was just created
perform get_spool_number using sy-repid
sy-uname
changing mi_rqident.
*-- Convert Spool to PDF
call function 'CONVERT_ABAPSPOOLJOB_2_PDF'
exporting
src_spoolid= mi_rqident
no_dialog = space
dst_device = mstr_print_parms-pdest
importing
pdf_bytecount = mi_bytecount
tables
pdf = mtab_pdf
exceptions
err_no_abap_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_destdevice = 5
user_cancelled = 6
err_spoolerror = 7
err_temseerror = 8
err_btcjob_open_failed = 9
err_btcjob_submit_failed = 10
err_btcjob_close_failed = 11
others = 12.
call function 'DOWNLOAD'
exporting
bin_filesize = mi_bytecount
filename = mc_filename
filetype = 'BIN'
importing
act_filename = mc_filename
tables
data_tab = mtab_pdf.
FORM get_spool_number *
Get the most recent spool created by user/report *
--> F_REPID *
--> F_UNAME *
--> F_RQIDENT *
form get_spool_number using f_repid
f_uname
changing f_rqident.
data:
lc_rq2name like tsp01-rq2name.
concatenate f_repid+0(8)
f_uname+0(3)
into lc_rq2name separated by '_'.
select * from tsp01 where rq2name = lc_rq2name
order by rqcretime descending.
f_rqident = tsp01-rqident.
exit.
endselect.
if sy-subrc ne 0.
clear f_rqident.
endif.
endform." get_spool_number
Regards,
Naveen -
Publishing the report output to PDF and Excel
Hi,
Is there any way to get the Report title, Report run date, Page numbers when we export the report output to Excel or PDF.Hi
I am assuming you are working in 2004s
<u><b>Exporting to PDF</b></u>
For page numbering, add the following parameter to the export command, which defaults the footer to the page numbering
<bi:FOOTER_RIGHT value="PAGEOFPAGES" />
Report Run Date ... we have included this in a text element in our report, and made sure that element is part of the export command. The text element we have used is configured as a Generic Text Element and uses the LAST_REFRESHED property
Report Title ... this is done in the same way, but uses the QUERY_DESCRIPTION property.
<u><b>Exporting to Excel</b></u>
As mentioned already, there is no sense in including page numbers when exporting to Excel, as everything is shown on 1 sheet.
Report Title and Report Run Date are included in the export the same way as above.
Hope this helps.
Cheers,
Andrew -
Not getting the expected output in report, run throughapps
hi,
when i run the report through apps, there are some records missing. But, i executed the same query in TOAD, which is used in the data model of the report, and i got the expected output. But, the same, when run through apps, not giving the result.
Can anybody please help me in this regard?
Thanks,
maschenderYou should probably ask in
PL/SQL
Note: Make Sure you post your table structure, your sample query and expected output. -
HIII ,
AM DOING AN APPLICATION IN WHICH I AM TRYING TO INSERT VALUES IN A TABLE(CREATED THRU JAVA DICTIONARY), USING EJBS(ENTITY BEAN AND SESSION BEAN) AND COMMAND BEAN..AND WEBDYNPRO....
AFTER DEPLOYMENT EVRYTHNG IS RUNNING FINE BUT VALUES NOT GETTING ADDED IN THE TABLE...
THE CODE FOR THE "ADD" BUTTON IS :
wdContext.currentEmp_cmdElement().modelObject().add(wdContext.currentEmp_cmdElement().getEmpno(),wdContext.currentEmp_cmdElement().getEmpname());
THE CODE FOR ADD function IN COMMANDBEAN IS
public void add(String empno,String empname){
try {
local.createdata(empno,empname);
} catch (Exception e) {
e.printStackTrace();}
PLZZ DO HELP OUT!!!try { aPreparedStatement.close();
if(dmd!=null)
dmd = null;
if(con!=null)
con.close();
catch (Exception e)
e.printStackTrace();
}instead of catching the last error i printed it and it came up with an error of nullPointerException
for the line of code
try { aPreparedStatement.close();how can i fix this error please
and thank you -
Not getting the complete output in the crontab script
Hi All,
I am running a script to find the CPU and memory utilization of the Oracle 10g server. Script name is atul.sh. When i run this script then it gives the desired output as mentioned below:
bash-3.00$ cat ./SCRIPTS/atul.sh
*A=`date| cut -d" " -f1-9; top -d 1| awk '/^CPU states/ {print $3,$5,$7,$9} /^Mem/ {print $2,$3,$4,$5,$6,$7,$8,$9,$10}'*
echo $A
bash-3.00$
bash-3.00$ ./SCRIPTS/atul.sh >> /oracle/SCRIPTS/toplog
bash-3.00$ cat /oracle/SCRIPTS/toplog
Thu Sep 8 11:43:49 IST 2011 99.5% 0.0% 0.5% 0.0% 2048M phys mem, 77M free mem, 8193M total swap,
bash-3.00$
However, when i run this script through crontab, it gives incomplete output. It only display the date and not the cpu and memory utilization.:
bash-3.00$ crontab -l
* * * * * /oracle/SCRIPTS/atul.sh >> /oracle/SCRIPTS/toplog
bash-3.00$
bash-3.00$ cat /oracle/SCRIPTS/toplog
Thu Sep 8 11:43:49 IST 2011 99.5% 0.0% 0.5% 0.0% 2048M phys mem, 77M free mem, 8193M total swap,
Thu Sep 8 11:44:00 IST 2011
Thu Sep 8 11:45:00 IST 2011
bash-3.00$
Kindly, provide me the soluton.
Edited by: 883925 on Sep 7, 2011 11:24 PM
Edited by: 883925 on Sep 7, 2011 11:29 PMThanks everyone for the reply.
*@DUDE*
Still problem is not solved. I have used the command given by you but problem is same..*its displaying only date when scheduled from crontab*.
bash-3.00$ crontab -l
* * * * * /oracle/SCRIPTS/sm >> /oracle/SCRIPTS/memorylog.csv
* * * * * /oracle/SCRIPTS/sc >> /oracle/SCRIPTS/cpulog.csv
* * * * * /oracle/SCRIPTS/atul.sh >> /oracle/SCRIPTS/toplog.csv
bash-3.00$
bash-3.00$ cat atul.sh
*A=`date| cut -d" " -f1-9; top -d 1 -n 1 | awk '/^Cpu/ {print $3,$5,$7,$9} /^Mem/ {print $2,$3,$4,$5,$6,$7,$8,$9,$10}'`*
echo $A
bash-3.00$
bash-3.00$ cat toplog.csv
Fri Sep 9 10:06:00 IST 2011
Fri Sep 9 10:07:00 IST 2011
Fri Sep 9 10:08:00 IST 2011
bash-3.00$
However, expected output is that it should display the CPU and memory utilization along with the date.
bash-3.00$ ./atul.sh
Fri Sep 9 10:08:52 IST 2011 2048M phys mem, 33M free mem, 8193M total swap,
bash-3.00$
Edited by: 883925 on Sep 8, 2011 9:43 PM -
Hi Guys,,I am not getting the right output?Plz help
Hi Guys,
Here is my code..
ELSEIF p_versb = 'W2'.
CONCATENATE lv_perxx '08' INTO lv_date3. (20090708)
CONCATENATE lv_perxx '15' INTO lv_date4. (20090715)
SELECT mseg~mblnr
mseg~bwart
mseg~matnr
mseg~lgort
mseg~menge
FROM mseg
INNER JOIN mkpf
ON msegmblnr = mkpfmblnr
INTO TABLE t_temp
FOR ALL ENTRIES IN t_firmplan
WHERE mseg~matnr = t_firmplan-matnr (490045,500001)
AND mkpf~budat GE lv_date3
AND mkpf~budat LE lv_date4
AND mseg~bwart IN ('101', '102')
AND mseg~werks = t_firmplan-werks. (werks = 1100)
Plz suggest where I m wrong ?
Thanks
SteveHi,
Check the
SELECT mseg~mblnr
mseg~bwart
mseg~matnr
mseg~lgort
mseg~menge
FROM mseg
INNER JOIN mkpf
ON mseg~mblnr = mkpf~mblnr
INTO TABLE t_temp
FOR ALL ENTRIES IN t_firmplan
WHERE mseg~matnr = t_firmplan-matnr (490045,500001) " Check the matnr value in the MSEG table if it storing with
" leading zero's then use the conversion exit to get the leading zero's
" in t_firmplan-matnr
AND mkpf~budat GE lv_date3
AND mkpf~budat LE lv_date4
AND mseg~bwart IN ('101', '102')
AND mseg~werks = t_firmplan-werks. (werks = 1100) -
Icons for the Reports missing in Workspace after applying patches
Hello Gurus,
I have installed 11.1.2.2 on one of my VM's and then applied the 11.1.2.2.300 patch on it.
I have followed the Read Me for all the patches before applying them.
After applying the patches however the icons for the Reports in workspace
[IMAGE ON THE FOLLOWING LINK]
http://i45.tinypic.com/29f6mc0.png
I have reconfigured web server at the end but that did not help. Any help will be highly appreciated.
Thanks
HyperionEPM.Hello Nick,
Yes all the components show green and I can access the reports without any issues. Its just the icon that does not show up.
I will check the logs you have mentioned to see if there are any exceptions in them.
But the issues started up after applying the patches for 11.1.2.2.
I have checked the location path mentioned in Weblogic.xml in raframework.war file and the path points to the correct folder location where the folders mt and mt_thumbnails are located.
Is the any other way out?
Should I delete the contents inside the tmp folder located in RAFramework0
or
Can reconfigurin Reporting and Analysis framework services help in resolving the issue?
Please let me know.
Thanks.
hyperionEPM -
Can i get the report output in HTML format?
Hello everybody,
I have developed a report whose output needs to be printed in HTML format.
Can anybody suugest how this can be accomplished by coding in program itself using any function modules if necesary?
Helpful answers will surely be rewarded.
Thanx in advance,
Sanghamitra.refer the below code
Generate an HTML file from a Report in ABAP
data: begin of itab occurs 0,
matnr type mara-matnr,
mtart type mara-mtart,
matkl type mara-matkl,
groes type mara-groes,
end of itab.
data: ifields type table of w3fields with header line.
data: ihtml type table of w3html with header line.
select * into corresponding fields of table itab
from mara up to 100 rows.
call function 'WWW_ITAB_TO_HTML'
EXPORTING
TABLE_ATTRIBUTES = 'BORDER=1'
TABLE_HEADER =
ALL_FIELDS = 'X'
tables
html = ihtml
fields = ifields
ROW_HEADER =
itable = itab
check sy-subrc = 0.
call function 'GUI_DOWNLOAD'
exporting filename = 'c:\test.html'
tables data_tab = ihtml
or for conerting internal table data into html
See below simple report to convert the internal table data to a HTML format data and stores in a internal table and then pass that internal table as an attachment to the external email using function module SO_NEW_DOCUMENT_ATT_SEND_API1.
You need for create a spool also.
REPORT Z_HTML .
include <icon>.
types: begin of msg,
type like icon-id,
text(140) type c,
end of msg.
constants: gc_marked type c value 'X',
gc_ok like icon-id value '@5B@'.
data:
gt_msg type standard table of msg,
gs_msg like line of gt_msg,
gv_msg(138) type c,
*-- html
html_container type ref to cl_gui_custom_container,
html_control type ref to cl_gui_html_viewer,
my_row_header like w3head occurs 10 with header line,
my_fields like w3fields occurs 10 with header line,
my_header like w3head,
my_html type standard table of w3html ,
ok_code like sy-ucomm.
Start of Selection *
start-of-selection.
clear gv_msg.
gv_msg = 'MESSAGES for HTML'.
do 3 times.
perform message using gc_ok gv_msg .
enddo.
End of Selection *
end-of-selection.
set screen 0100.
*& Form message
form message using p_type
p_text.
clear gs_msg.
gs_msg-type = p_type.
gs_msg-text = p_text.
append gs_msg to gt_msg.
endform. " MESSAGE
*& Module STATUS_0100 OUTPUT
module status_0100 output.
perform convert_itab_html.
set titlebar '100' .
set pf-status 'MAIN100'.
create object html_container
exporting
container_name = 'CONTAINER'.
create object html_control
exporting
parent = html_container
saphtmlp = gc_marked .
data: assigned_url type url.
call method html_control->load_data
EXPORTING
URL = url
TYPE = 'text'
SUBTYPE = 'html'
SIZE = 0
ENCODING =
CHARSET =
importing
assigned_url = assigned_url
changing
data_table = my_html
EXCEPTIONS
DP_INVALID_PARAMETER = 1
DP_ERROR_GENERAL = 2
CNTL_ERROR = 3
others = 4
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
call method html_control->show_url
exporting
url = assigned_url
FRAME =
IN_PLACE = ' X'
EXCEPTIONS
CNTL_ERROR = 1
CNHT_ERROR_NOT_ALLOWED = 2
CNHT_ERROR_PARAMETER = 3
DP_ERROR_GENERAL = 4
others = 5
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
endmodule. " STATUS_0100 OUTPUT
*& Module exit INPUT
module exit input.
leave program.
endmodule. " exit INPUT
*& Module user_command_0100 INPUT
text
module user_command_0100 input.
case ok_code.
when 'EXIT' or 'BACK'.
leave program.
when others.
call method cl_gui_cfw=>dispatch.
endcase.
endmodule. " user_command_0100 INPUT
*& Form convert_itab_html
form convert_itab_html.
data: lv_tabix like sy-tabix.
*-- table header
call function 'WWW_ITAB_TO_HTML_HEADERS'
exporting
field_nr = 1
text = 'Type'
fgcolor = 'navy'
bgcolor = 'red'
font = 'Arial'
tables
header = my_row_header.
call function 'WWW_ITAB_TO_HTML_HEADERS'
exporting
field_nr = 2
text = 'Message'
fgcolor = 'navy'
bgcolor = 'red'
font = 'Arial'
tables
header = my_row_header.
*-- table rows
clear lv_tabix.
loop at gt_msg into gs_msg.
lv_tabix = sy-tabix.
call function 'WWW_ITAB_TO_HTML_LAYOUT'
exporting
field_nr = 1
line_nr = lv_tabix
icon = gc_marked
tables
fields = my_fields.
call function 'WWW_ITAB_TO_HTML_LAYOUT'
exporting
field_nr = 2
line_nr = lv_tabix
fgcolor = 'red'
bgcolor = 'black'
font = 'Arial'
size = '2'
tables
fields = my_fields.
endloop.
*-- header
move 'Messages during program run' to my_header-text.
move 'Arial' to my_header-font.
move '2' to my_header-size.
move 'Centered' to my_header-just.
move 'red' to my_header-bg_color.
move 'blue' to my_header-fg_color.
refresh my_html.
call function 'WWW_ITAB_TO_HTML'
exporting
table_header = my_header
all_fields = ' '
tables
html = my_html
fields = my_fields
row_header = my_row_header
itable = gt_msg.
endform. "convert_itab_html
regards,
srinivas
<b>*reward for useful answers*</b> -
input :
S.No Description Qty. Units Rate(Rs.) Value(Rs.)
1 Akon 1 Nos 3700 3,700
2 Lester 1 Nos 1600 1,600
3 Aamp 31 Rmt 270 8,370
Gross Total 13,670
The above Total include Services Tax Amount of Rs 536
Total Invoice Value I 13,670
If i give this input...this may be anywhere in the text file.means.but i would like to extract this information...Here is my code:
import java.io.File;
import java.io.FileNotFoundException;
import java.util.Formatter;
import java.util.Scanner;
public class StringBuilderEx {
static String Sno,Qty,Description,Unit,Rate,Value;
public static void main(String args[]) throws FileNotFoundException{
File file = new File("D:\\CSV\\tab2.txt");
StringBuilder sb = new StringBuilder();
Scanner scanner = new Scanner(file);
if(scanner.hasNextLine())
scanner.nextLine();
while (scanner.hasNextLine()) {
Sno = scanner.next();
Description = scanner.next();
Qty = scanner.next();
Unit = scanner.next();
Rate = scanner.next();
Value = scanner.next();
Formatter fmt=new Formatter();
fmt.format("%5$2S,%4$2s,%3$2s,%2$2s,%1$2s",Value,Rate,Qty,Description,Sno );
System.out.println("Sno :"+Sno);
System.out.println("Description :"+Description);
System.out.println("Qty :"+Qty);
System.out.println("Rate :"+Rate);
System.out.println("Value :"+Value);
System.out.println();
}i am getting wrong output...
Here is My Output:
Sno :1
Description :Aviation
Qty :Lamp
Rate :Nos
Value :3700
Sno :3,700
Description :2
Qty :Lighting
Rate :1
Value :Nos
Sno :1600
Description :1,600
Qty :3
Rate :Lamp
Value :Cable
Sno :31
Description :Rmt
Qty :270
Rate :Gross
Value :Total
Sno :13,670
Description :The
Qty :above
Rate :include
Value :Services
Sno :Tax
Description :Amount
Qty :of
Rate :536
Value :Total
Sno :Invoice
Description :Value
Qty :I
Rate :Now
Value :Claimed
Sno :100%
Description :of
Qty :Invoice
Rate :13,670
Value :(Rupees
Sno :Thirteen
Description :Thousand
Qty :Six
Rate :and
Value :Seventy
Exception in thread "main" java.util.NoSuchElementException
at java.util.Scanner.throwFor(Scanner.java:838)
at java.util.Scanner.next(Scanner.java:1347)
at StringBuilderEx.main(StringBuilderEx.java:25)Can anybody help me inthis???If i give this input...this may be anywhere in the text file.means.but i would like to extract this information...Here is my code:Anywhere means...
it may at the top..middle..bottom..of the text..it should recognise this and then apply the code..one more thing.."Desription" tag also extracting some random information..Here is my exact input file ..can you look once:
INVOICE
Ray TELE SERVICES PVT. LTD. Invoice No: EMH48DCO56
Flat no.4 to 7, C/o Krishna Plaza, Date: 28-Dec-07
Opp.Water Tanks, Near TATA Garden Busstop, P.O.NO: 4352
Chandan Nagar, PUNE-14 Date: 28-May-07
PAN No.AACCA5469L
CST TIN is: 27150005249C w.e.f 01.04.2006
VAT TIN is: 27150005249V w.e.f 01.04.2006
ST Regn No. AACCA5469LST001
To, Site Name: Gad Mudsingi
Vodafone Essar Cellular Ltd., Tower Type: RTT
-.L)Metropolitan, F/P No.27, Tower Height: 21 Mts
S.No. 21, Old Mumbai-Pune Highway, Natureof Work:Avaition Lamp, Lighting Arrester
Wakadewadi, Shivaji Nagar,
PUNE - 411005
S.No Description Qty. Units Rate (Rs.) Value (Rs.)
1 Aviation Lamp 1 Nos 3700 3,700
2 Lighting Arrester 1 Nos 1600 1,600
3 Aviataion Lamp Cable 31 Rmt 270 8,370
Gross Total 13,670
The above Total include Services Tax Amount of Rs 536
Total Invoice Value I 13,670
Now Claimed 100% of Invoice Value 13,670
(Rupees Thirteen Thousand Six Hundred and Seventy only)
For ASTER TELE SERVICES PVT LTD
lk .
Authorised Signatory
ASTER TELESERVICES PVT.LTD.
4-7 Krishna Plaza, Opp. Water Tank, Near Tata Garden Bus Stop, Chandan Nagar, Pune - 411 014Here is My Output:
Sno :1
Qty :Aviation
Description :Lamp
Unit :1
Rate :Nos
Value :3700
Sno :2
Qty :Lighting
Description :Arrester
Unit :1
Rate :Nos
Value :1600
Sno :3
Qty :Aviataion
Description :Lamp
Unit :Cable
Rate :31
Value :Rmt
Exception in thread "main" java.util.NoSuchElementException
at java.util.Scanner.throwFor(Scanner.java:838)
at java.util.Scanner.next(Scanner.java:1347)
at StringBuilderEx.printinRequiredForm(StringBuilderEx.java:44)
at StringBuilderEx.main(StringBuilderEx.java:35)any Help
Edited by: abbhoshan on May 15, 2008 11:52 PM -
Help for thst I can not get the correct output
The program is :1,insert some strings.
2.search some strings,if same to the strings inserted,output true.
Other wise,ouput false
But in my output,all are false.I have checked my code many times,but I can not figure it out.
So ask for help.Thanks.
My output:
Inserting My
Inserting name
Inserting is
Inserting John
Inserting Latham
Inserting and
Inserting my
Inserting hobbies
Inserting include
Inserting films
Inserting music
Inserting electronics
Inserting and
Inserting computing
Searching for latham:false
Searching for films:false
Searching for swimming:false
Searching for fishing:false
Searching for computing:false
Searching for climbing:false
Searching for paragliding:false
Searching for Latham:false
Correct output:
Inserting My
Inserting name
Inserting is
Inserting John
Inserting Latham
Inserting and
Inserting my
Inserting hobbies
Inserting include
Inserting films
Inserting music
Inserting electronics
Inserting and
Inserting computing
Searching for latham:false
Searching for films:true
Searching for swimming:false
Searching for fishing:false
Searching for computing:false
Searching for climbing:true
Searching for paragliding:false
Searching for Latham:trueAnd the other problem is that you didn't fix the problem from your last thread correctly.
This is wrong.
OBT.find( findString);
System.out.println("Searching for " + findString[i] +":" + OBT.isEmpty());Just do this already.System.out.println("Searching for " + findString[i] +":" + OBT.find( findString[i])); -
Not getting the required output:
BID BNAME BAUTHNAME
687 the haunted house steve breckman
692 the adventureof reny steve breckman
672 the adventureof rosy steve breckman
672 the adventureof niel steve breckman
677 the dog zone steve houstin
BID SID BTAKE BRET
692 123 22-AUG-11 30-AUG-11
672 124 22-SEP-11 30-SEP-11
677 127 22-OCT-11 30-OCT-11
677 129 22-DEC-11 30-DEC-11
create or replace procedure book is
cursor cur is select count(b.bid) bidd,b.bname bnn,bd.btake from books b,booksdate bd where b.bid=bd.bid group by b.bname,bd.btake;
begin
for rec in cur
loop
dbms_output.put_line(rec.bnn||'has been purchased'||rec.bidd||'times');
end loop;
end;
the o/p should look like
the bookname purchased 2 times
the bookname purchased 1 time
can anyone jus modify it?Maybe NOT TESTED! remember the [url http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:73891904732164]mantra
with
books as
(select 687 bid,'the haunted house' bname,'steve breckman' bauthname from dual union all
select 692,'the adventure of reny','steve breckman' from dual union all
select 672,'the adventure of rosy','steve breckman' from dual union all
select 672,'the adventure of niel','steve breckman' from dual union all
select 677,'the dog zone','steve houstin' from dual
borrowing as
(select 692 bid,123 sid,to_date('22-AUG-11','DD-MON-YY') btake,to_date('30-AUG-11','DD-MON-YY') bret from dual union all
select 672,124,to_date('22-SEP-11','DD-MON-YY'),to_date('30-SEP-11','DD-MON-YY') from dual union all
select 677,127,to_date('22-OCT-11','DD-MON-YY'),to_date('30-OCT-11','DD-MON-YY') from dual union all
select 677,129,to_date('22-DEC-11','DD-MON-YY'),to_date('30-DEC-11','DD-MON-YY') from dual
select b.bname || ' borrowed ' || to_char(c.the_count) || decode(c.the_count,1,' time',' times')
from books b,
(select bid,count(*) the_count
from borrowing
group by bid
) c
where b.bid = c.bidRegards
Etbin -
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
package Exp4;
import java.awt.Color;
import java.awt.GridLayout;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import javax.swing.JComboBox;
import javax.swing.JFrame;
* @author Gursimran
public class combox extends JFrame implements ItemListener{
public combox()
JComboBox cb;
setLayout(new GridLayout(10,10));
cb= new JComboBox<>();
cb.addItem("Red");
cb.addItem("Green");
cb.addItem("Blue");
add(cb);
cb.addItemListener(this);
setVisible(true);
setSize(400,400);
public static void main(String[] args)
combox obj=new combox();
@Override
public void itemStateChanged(ItemEvent e)
if(e.getItemSelectable().equals(0))
this.getContentPane().setBackground(Color.red);
else if(e.getItemSelectable().equals(1))
this.getContentPane().setBackground(Color.green);Please post the exact error message you get.
-
Please do help me
I too had a same problem, when I attached AUX IN pin of my car to my ipad it got stucked in it.I went to Apple Store, they were helpless and asked me to replace it with new one for 16000 INR.
What I did is, I took a refill of a pen and sharped its back so that it exactly sits into the gap. After thar I applied some pressure and pulled it out...I got the remaining part wich was stucked.
Try this, I hope this is risk free. All the Best. -
I cannot getr my phone to turn on after a software update. it is only showing the itunes icon and a cable. What should I do /
Hi patche,
I would recommend you to connect the iPhone to iTunes and follow the steps provided,
Once you connect the iPhone to iTunes you will be able to Set-up your iPhone on the iTunes itself with the available options.
HOPE THIS RESOLVES THE ISSUE.
Regards,
Abhishek D.K
Maybe you are looking for
-
How do I by default save new documents in a particular folder?
In OS10.3.9, how do I by default save new documents in a particular folder? I have created a new folder called new docs which I have put in the dock, and would like to save all new documents in that folder... Thanks, Michael
-
Is there a way to customize dispositions in URM?
I have set up a retention schedule in URM with a disposition. The problem is that the disposition does not appear to be very flexible. I have very few choices when it comes to notification. Basically I can notify the author. I need to be able to mani
-
how do you play songs uninterupted when the phone is in your pocket?
-
My serial number doesn't work. please help me
i have the CS5 CD package which i purchased since 3 years but trying to reinstall it after my computer formating my i-mac reject the CD. so i download the CS5 design standard from adobe.com using my Serial number written on the CD box and it doesn't
-
Internal candidates Data transfer in E recruiting..Urgent
Hi experts, How to transfer internal candidate's data from E-recruting to PA?? Please reply its urgent Thanks Sameer Edited by: sameer dhuke on Mar 17, 2008 9:54 AM