In which folder oracle print quote concurrent program save pdf files
Hi,
IN oracle print quote functionality, where is the path of the directory where are files are saved.I have checked with so many documents but not found the solution
I have checked the aso profile option for setting directory path also but the profile option is not available in our EBS
plz re-check $APPLCSF/$APPLOUT
what is
cd $APPLCSF/$APPLOUT
pwdis it blank for you?
did you set env before check $APPLCSF/$APPLOUT ?
also check $APPLPTMP
concurrent request output $APPLCSF/$APPLOUT and log $APPLCSF/$APPLLOG
How To Change The Log And Output Location For Concurrent Managers? [ID 872766.1]
Concurrent Processing - Concurrent Manager Generic Platform Questions and Answers [ID 105133.1]
On A Multi-node / RAC Installation Is $APPLCSF And $APPLPTMP An NFS Mount Point [ID 371896.1]
Concurrent Processing - Concurrent Requests Fail with FDPSTP failed due to ORA-20100: File o0002712.tmp creation for FND_FILE [ID 148262.1]
Reports Cache Directory in Oracle E-Business R12 is Growing Rapidly [ID 859255.1]
Knowledge Management: How To Find Output File For Knowledge Management Solution Export Program [ID 292922.1]
Similar Messages
-
Getting Error While Attaching Concurrent Program Output PDF file for POAPPRV Workflow
Hi All,
I am getting the below error when I am trying to attach concurrent program output to the PO Approval Notification.
An Error occurred in the following Workflow.
Item Type = POAPPRV
Item Key = 1040589-528378
User Key =945871
Error Name = WF_ERROR
Error Message = [WF_ERROR] ERROR_MESSAGE=3835: Error '-20002 - ORA-20002: [WFMLR_DOCUMENT_ERROR]' encountered during execution of Generate function 'WF_XML.Generate' for event 'oracle.apps.wf.notification.send'. ERROR_STACK=
Wf_Notification.GetAttrblob(3604701, ZZ_PREVIOUS_PO_COMPARE, text/html)
WF_XML.GetAttachment(3604701, text/html)
WF_XML.GetAttachments(3604701, http://oraerp.am.corp.xxxx.com:8099/pls/DEV, 11283)
WF_XML.GenerateDoc(oracle.apps.wf.notification.send, 3604701)
WF_XML.Generate(oracle.apps.wf.notification.send, 3604701)
WF_XML.Generate(oracle.apps.wf.notification.send, 3604701)
Wf_Event.setMessage(oracle.apps.wf.notification.send, 3604701, WF_XML.Generate)
Wf_Event.dispatch_internal()
Error Stack =
Activity ID = 190844
Activity Label = AL_NOTIFY_APPROVER_PROCESS:ZZ_PO_PO_APPROVE_ATTCH
Result Code = #MAIL
Notification ID = 3604701
There are several threads for this error however I cannot find any specific solution to the problem.
Please find the code below -
wf_engine.setitemattrdocument(itemtype=>itemtype,
itemkey=> itemkey,
aname=>'ZZ_PREVIOUS_PO_COMPARE',
documentid =>'PLSQLBLOB:zz_po_reqapproval_init1.xx_notif_attachments/' || to_char(l_request_id_prev_po)||':'||to_char(l_document_num));
-- here l_request_id_q_and_s is the request id of the program and l_document_num is the PO document number
PROCEDURE xx_notif_attachments(p_request_id IN VARCHAR2,
p_document_num IN VARCHAR2,
p_document IN OUT BLOB,
p_document_type IN OUT VARCHAR2) IS
v_lob_id NUMBER;
v_document_num VARCHAR2(15);
v_document_prefix VARCHAR2(100);
v_file_name VARCHAR2(500);
v_file_on_os BFILE;
v_temp_lob BLOB;
v_dest_offset NUMBER := 1;
v_src_offset NUMBER := 1;
v_out_file_name VARCHAR2(2000);
v_conc_prog_name VARCHAR2(500);
v_conc_req_id NUMBER;
CURSOR get_output_file(p_concurrent_request_id NUMBER) IS
SELECT cr.outfile_name, cp.concurrent_program_name
FROM fnd_concurrent_requests cr, fnd_concurrent_programs_vl cp
WHERE request_id = p_concurrent_request_id
AND cp.concurrent_program_id = cr.concurrent_program_id;
BEGIN
-- set_debug_context('xx_notif_attach_procedure');
v_conc_req_id := to_number(substr(p_request_id,
1,
instr(p_request_id, ':') - 1));
v_document_num := substr(p_request_id,
instr(p_request_id, ':') + 1,
length(p_request_id) - 2);
OPEN get_output_file(v_conc_req_id);
FETCH get_output_file
INTO v_out_file_name, v_conc_prog_name;
CLOSE get_output_file;
v_out_file_name := substr(v_out_file_name,
instr(v_out_file_name, '/', -1) + 1);
v_file_name := to_char(v_document_num) || '-Previous_PO_Rev.pdf';
utl_file.fcopy(src_location => 'APPS_OUT_DIR',
src_filename => v_out_file_name,
dest_location => 'PO_DATA_DIR',
dest_filename => v_file_name);
-- v_lob_id := to_number(v_document_id);
v_file_on_os := bfilename('PO_DATA_DIR', v_file_name);
dbms_lob.createtemporary(v_temp_lob, cache => FALSE);
dbms_lob.fileopen(v_file_on_os, dbms_lob.file_readonly);
dbms_lob.loadblobfromfile(dest_lob => v_temp_lob,
src_bfile => v_file_on_os,
amount => dbms_lob.getlength(v_file_on_os),
dest_offset => v_dest_offset,
src_offset => v_src_offset);
dbms_lob.fileclose(v_file_on_os);
p_document_type := 'application/pdf;name=' || v_file_name;
dbms_lob.copy(p_document, v_temp_lob, dbms_lob.getlength(v_temp_lob));
EXCEPTION
WHEN OTHERS THEN
wf_core.CONTEXT('ZZ_PO_REQAPPROVAL_INIT1',
'xx_notif_attachments',
v_document_num,
p_request_id);
RAISE;
END xx_notif_attachments;
Please help me find a to the above mentioned error.
Thanks,
SuvigyaThere are two ways to look at what error the PLSQLBLOB API is throwing.
1) Call your PLSQLBLOB API GNE_PO_CREATE_FILE_ATTACHMENT.Gne_Create_File_Attachment directly from a PLSQL block and verify that it returns the BLOB data successfully.
You could also call another WF API that in turn executes the PLSQLBLOB API internally. For example,
<pre>
declare
l_document blob;
l_doctype varchar2(240);
l_aname varchar2(90);
begin
dbms_lob.CreateTemporary(l_document, true, dbms_lob.Session);
-- 207046 - This is the notification id of your failed workflow
-- PO_REPORT - Document type attribute
-- 'text/html' - Content Type being generated for
Wf_Notification.GetAttrBLOB(207046, 'PO_REPORT', 'text/html', l_document, l_doctype, l_aname);
-- Print the size of the document here to verify it was fetched correctly
end;
</pre>
2) Turn on log for SYSADMIN user with following attributes.
Log Enabled = TRUE
Log Level = ERROR
Log Module = wf.plsql%
Restart the Workflow Deferred Agent Listener and Workflow Notification Deferred Agent Listener and run your workflow process. Search for log messages written for above context and you can identify the error at wf.plsql.WF_XML.GetAttachment module with message starting as "Error when getting BLOB attachment ->"
Hope this helps.
Vijay -
How to Process flat File in Oracle Apps through Concurrent Program
Hello Everyone,
My client has a request, to process a bank file (Lockbox) which is a flat file that will be copied on UNIX box and I will have to create a new concurrent request that will process this flat file and will update receipt information in Oracle Apps database tables.
Could you please suggest, if there are any other standard Oracle Apps functions (Example FND) available which can be used through Concurrent program that can be used to open a file from a particular directory and can be read from the flat file and after processing this file can be closed.
Please let me know, if you have a small example, that would help me a lot.
ThanksThere are base concurrent programs in Accts Receivable that do consume lockbox flat files. Pl see the AR Setup/User Guides at
http://download.oracle.com/docs/cd/B40089_10/current/html/docset.html
Srini -
How to Trace oracle Host Type concurrent program
How to Trace oracle Host Type concurrent program
I have enabled trace in concurrent definition screen but couldnt get the trace file
the Host script executes multiple plsql packages for interfaces and sent emailsHi,
How to Trace oracle Host Type concurrent programSee (FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12 [ID 296559.1]) -- 4. How does one enable trace for a concurrent program?
I have enabled trace in concurrent definition screen but couldnt get the trace fileDo you mean the trace file is not generated?
the Host script executes multiple plsql packages for interfaces and sent emailsIs this a seeded or custom concurrent program?
Thanks,
Hussein -
When trying to PDF a webpage into a PDF, it does not work, I go through all the steps as normal, and It does nothing. I can repeat my action, where instead of "printing" to adobe, it saves the file, which it doesn't save it at all. I can't even find the original in my work folder. I need to know how to stop this from happeing and get it back to the way it has been working he last 6 months since i purchased this program.
Hi pissedadobeuser,
Does this issue occur with any particular web page?
Are you able to print the webpage to 'Adobe PDF' to convert it to pdf.
Which Browser version, OS version and Acrobat version are you using?
Regards,
Rave -
Avoiding the 'Save PDF File As' dialog when printing to the adobe PDF printer from a service
Hello, can someone please help.
I have Adobe Acrobat 8 Pro installed.
I have an in house application which (among many other things) effectively monitors a directory and prints the file to the default printer. It works fine when run as an application.
I have set the defaults on the Adobe PDF printer to put the output PDF file into a directory and not to open it so it works silently without prompts.
When I run my application as a service, it brings up the 'Save PDF File As' dialog and I would like to avoid this. My impression is that if I put the right registry key in then it will work.
I do not want to do any scripting if I can avoid it.
Thanks for all constructive help given.Thank for your help Bill, but changing settings in the distiller did not seem to work. As my application prints directly to the default application without using anything specific to Acrobat, I was hoping there was a simple way forward. A colleague suggested copying registry entries from the account I logged on as to the S-1-5-18 entry, then rebooting. This had no effect as the prompt still comes up.
Aandi, I don't have the Acrobat SDK or any experience of it.
Also I'm not sure where any code/script would sit since the application is stable and so I would rather not change it.
If it amounts to a few lines of javascript sitting outside the application then that would be of interest. -
I downloaded ibooks to my ipad so that I can save PDF files to ibooks but I do not get an "open in ibooks" message to select. When I choose the icon, I only get mail or print option.
Where are these PDFs coming from? What do you mean by "save PDF files to ibooks" and then "I do not get an 'open ibooks' message? If they are saved to ibooks (I assume you used itunes to save a dragged in PDF to the ibooks panel in apps) then you should be able to open and view them in ibooks. If they are not in ibooks (I'm assuming this is the case, since you want to get an "open in ibooks" option from the *share* icon, right?) then where are they on the mini, which app?
-
Print a JFrame in a PDF file ?
hello,
I just downloaded the iText library which allows the generation of pdf files. i'm just wondering if there is a way to print a JFrame into a pdf File, in other words I want that the Jframe which holds all my components to be printed in a pdf file.
anyone has any clue? is it possible at least ?
thank you!I think it was something like this:
Document document = new Document(pageSize);
PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream(outFile));
document.open();
PdfContentByte cb = writer.getDirectContent();
Graphics2D g2 = cb.createGraphics(pageSize.getWidth(), pageSize.getHeight());You can then pass the Graphics2D instance to the frame's paint(Graphics) or print(Graphics) method - you will, of course, have to set the correct size for frame first. -
Convert Report Program to PDF file
Hi All,
I need example of converting Report program to PDF file.
I am beginner so please give simple example to understand it properly ..
Please write the description along with the code so that i can understand it...
no long long programs please.
Thanks.
RajHi,
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
Sudheer -
How do I save PDF files by default to the folder of the source file?
How do I save PDF files by default to the folder of the source file with Acrobat 9.0.0 Standard?
I am not seeing that behaviour. If I right-click a link to a .pdf file, I get the file saved with the original filename.
Maybe one of the settings in about:config controls that?
pdfjs.previousHandler.preferredAction is a setting that has a value of 4 with my setup. I have no idea what that means, and I could not find any explanation anywhere. You could try using different numbers for that value and see if any make any difference. Why has nobody bothered to explain that setting anywhere? -
I Need to print a portion of a pdf file using a dos command. Can i ?
Hello,
I Need to print a portion of each page of a pdf file using a dos command without opening it.
Can i do it ? if yes how ?
Thanks in Advance for your help.hello,
Thanks for your reply. If i use another printing software like ghostscript
or foxit reader will i be able to do it ?
Regards
Le 14 déc. 2014 18:49, "Bernd Alheit" <[email protected]> a écrit :
I Need to print a portion of a pdf file using a dos command. Can i ?
created by Bernd Alheit <https://forums.adobe.com/people/Bernd+Alheit> in *Printing
& Prepress* - View the full discussion
<https://forums.adobe.com/message/7013717#7013717> -
How save pdf files which r in inbox for nooia c503
how save pdf files which r in inbox for nooia c503
AFAIK, i do not believe this is possible on Series40 devices such as the own that you use.
-
There is no selected print page range in the print box. Only selected PDF file and all PDF files. Any suggestions?
Well, I looked for where to delete this but didn't see it.
NEVERMIND; I forced iPhoto to quit and restarted and everything seems fine.
BTW, I did get one thing wrong. When I looked at both iPhoto libraries with FINDER, the active one and the archived one both showed content as far as file size goes.
It was because I was viewing the files through Adobe Bridge that it was showing 0 GB's; for whatever reason. -
Hp 1007 laser printer cant show only in pdf file print order que
hp 1007 laser printer cant show only in pdf file print order que
Hi @amoldixit,
Please clarify your issue and what I can do to help you.
What operating system are you using? How to Find the Windows Edition and Version on Your Computer.
Have a nice day!
Thank You.
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
Gemini02
I work on behalf of HP -
I cannot print any websites; every time I press "print" it goes to "save the file as [xps]" instead. What's up? I can print in Word without problem.
Bless you, bless you, bless you. After months of living with this annoying problem and not being able to print out emails or websites it is, in a stroke, totally solved. Thank you! It works. It's a wonder and you're a winner!
Paul
Maybe you are looking for
-
Why am I getting different values based on order of input when the task type remains the same?
I'm having a hard time understanding the results I'm getting when I input task information. Here are the scenarios with different, unlinked fixed work tasks: I estimate a task will take 2 hrs to complete and put this into work. If I add 1 resource, w
-
Can you filter results by step type?
Hello all, I was wondering if it's possible to filter report results by the step type. I currenly have it filtered as Result.Status == "Passed" || Result.Status == "Failed. This is fine, except I would like the user to be able to select whether or no
-
IPhoto has destroyed my external library yet again
I've been using an external firewire HD to contain my expanding photo library because there's (a) not enough room on my MacBook Pro, and (b) I don't want to lose all my photos if my computer is lost/damaged/stolen. So I've noticed the most infuriatin
-
Macbook briefly freezes then comes back to life during sessions
My Macbook, which I've owned since September 2006, is starting to suffer from brief freezes. For a few seconds, all operations freeze on the screen (the cursor is still movable), then it's followed by a few seconds of the spinning wheel, and then thi
-
When is the icloud coming to austria?? thank you.