T&E: Request PDF issue in PR05.
Hi Experts,
I have a requirement to display the Request PDF in PR05 transaction code. Is there any configuration needed?
As of now when I select "Result" & "Simulation" option in PR05 its display Expense PDF. In TRIP transaction code it is displaying Request PDF.
Regards,
Raziq Fareed.
By clicking Simulate Button - Expense PDF will be displayed. The requirement was to display the Request PDF in PR05 Transaction code.
I was able to achieve by activating the Travel package in SFP transaction code.
Thanks,
Raziq Fareed
Similar Messages
-
Setting name of requested pdf in browser's title
Hi,
I have certain protected resources in my web application which requires user login. If login is successful, then we forward the user to the specified pdf resource.
Problem which I am facing is that after the login is successful, title of the browser remains the title of the login page. Our requirement is that it should display the title of the requested pdf instead of the login page title.
I did lots of r&d on http headers but no luck.
Is it possible to show the name of the requested pdf on the browser's title instead of the title of the login page?
My pdfs are in a content repository OpenCMS. Title is already set for all the pdfs.
Thanks
NaseemYes I already tried this. Setting Content-Disposition and then forwarding to the pdf gives application/pdf in the browser's tab. Title still remains the login.do i.e., same uri from where request was first forwarded.
Naseem -
Export to PDF Issue (SSRS 2012 with Integration SharePoint 2013)
Problem Description: We have an operational report that returns around 43,000 records, based on a stored procedure. The Stored Procedure itself runs pretty quickly (under ~15 seconds).The report renders in 20 seconds.
However, we get an error like “Sorry, something went wrong” (see below) approximately 2 minutes after we choose/select the PDF as a rendering extension for export. The download of the .PDF never starts.
Sorry, something went wrong
An unexpected error has occurred.
Technical Details
Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: b66ebd9c-adf0-407e-892e-00d1e37c4feb
Date and Time: 9/29/2014 11:10:20 PM
The 2 minutes is what I get from the execution log... it is actually 122 seconds for timerendering. As for the rs trace log from the web server, see below...
"w3wp!library!471!09/29/2014-23:10:20:: e ERROR: Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException: An error occurred during rendering of the report. ---> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException:
An error occurred during rendering of the report. ---> System.ServiceModel.CommunicationException: The remote host closed the connection. The error code is 0x800704CD. ---> System.Web.HttpException: The remote host closed the connection. The error code
is 0x800704CD.
at System.Web.Hosting.IIS7WorkerRequest.RaiseCommunicationError(Int32 result, Boolean throwOnDisconnect)
at System.Web.Hosting.IIS7WorkerRequest.ExplicitFlush()
at System.Web.HttpResponse.Flush(Boolean finalFlush, Boolean async)
at System.ServiceModel.Channels.BytesReadPositionStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at System.ServiceModel.Activation.HostedHttpContext.HostedRequestHttpOutput.HostedResponseOutputStream.Write(Byte[] buffer, Int32 offset, Int32 count)
--- End of inner exception stack trace ---
at System.ServiceModel.Activation.HostedHttpContext.HostedRequestHttpOutput.HostedResponseOutputStream.CheckWrapThrow(Exception e)
at System.ServiceModel.Activation.HostedHttpContext.HostedRequestHttpOutput.HostedResponseOutputStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.BufferedStream.Write(Byte[] array, Int32 offset, Int32 count)
at System.Xml.XmlStreamNodeWriter.WriteBytes(Byte[] byteBuffer, Int32 byteOffset, Int32 byteCount)
at System.Xml.XmlBinaryNodeWriter.WriteBase64Text(Byte[] trailBytes, Int32 trailByteCount, Byte[] base64Buffer, Int32 base64Offset, Int32 base64Count)
at System.Xml.XmlBaseWriter.WriteBase64(Byte[] buffer, Int32 offset, Int32 count)
at Microsoft.ReportingServices.ServiceRuntime.WcfResponseData.Write(Byte[] buffer, Int32 offset, Int32 count)
at Microsoft.ReportingServices.ServiceRuntime.WcfResponseStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at Microsoft.ReportingServices.Library.BufferAndOutputStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at Microsoft.ReportingServices.Library.RSStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.BufferedStream.Write(Byte[] array, Int32 offset, Int32 count)
at Microsoft.ReportingServices.Rendering.ImageRenderer.PDFWriter.Write(String text)
at Microsoft.ReportingServices.Rendering.ImageRenderer.PDFWriter.EndPage()
at Microsoft.ReportingServices.Rendering.ImageRenderer.Renderer.ProcessPage(RPLReport rplReport, Int32 pageNumber, FontCache sharedFontCache, List`1 glyphCache)
at Microsoft.ReportingServices.Rendering.ImageRenderer.PDFRenderer.Render(Report report, NameValueCollection deviceInfo, Hashtable renderProperties, CreateAndRegisterStream createAndRegisterStream)
at Microsoft.ReportingServices.Rendering.ImageRenderer.RendererBase.Render(Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCap
w3wp!wcfruntime!471!09/29/2014-23:10:20:: e ERROR: Reporting Services fault exception System.ServiceModel.FaultException`1[Microsoft.ReportingServices.ServiceContract.RsExceptionInfo]: An error occurred during rendering of the report. ---> Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException:
An error occurred during rendering of the report. ---> System.Exception: For more information about this error navigate to the report server on the local server machine, or enable remote errors (Fault Detail is equal to Microsoft.ReportingServices.ServiceContract.RsExceptionInfo)."
Things Also Done
1) I also tried exporting the report through excel and found no issues (it exports successfully and no issue when i open the file). The size of the exported excel (.xlsx) is 4.28MB. The timerendering value for export to excel is approx. 77 seconds.
2) I also tried creating email subscription (PDF as the rendering format) for that report and it works successfully. The size of the attached PDF from the email is approx. 1.43 MB. I can also open that PDF file with no issue. And the size of the email with
the attached PDF file is approx. 1.48 MB.
That all said, we would like to seek for your assistance to determine what is causing the failure of exporting the report to PDF issue directly from the reporting site. (Let me remind you that the email subscription for the same report with attached
PDF works with no issue)Hi roel2000,
According to your description, you get error when exporting the report into PDF. It works properly when exporting in excel or PDF format within E-mail subscription. Right?
In Reporting Services, the Excel and MHTML(e-mail subscription) render extensions are soft page break renderers. The PDF render extension is hard page break renderer. It has different render behavior between these two kind of renders. This might cause the
error. Since we are not clear about your report structure, please refer to rules in the link below and do the troubleshooting.
Rendering Behaviors (Report Builder and SSRS)
If you have any question, please feel free to ask.
Best Regards,
Simon Hou -
dear all,
i have a question when a department needs some items, and these items do exist in our stock (so it is not a PR)....is there a way to do this via the system (the request for issuing like reservation or something) .. also is it possible to to the department (would be a cost center) if it belongs to a different plant other than the warehouse. thank youfor first part - if stock needed is already available then logically a production order should exist against which stock will be issued.
for second question - it depends under which plant you need stock for consumption, if it is a different plant then where you have stock then stock needs to be transferred to the plant where it is needed. Further if both plants are under same co code then simple plant to plant stock transfer is sufficient.
as suggested above we would surely like to know more details about your situation to help you.
Yogesh -
Material request, material issue , tracking through sap
Dear Gurus,
The problem is:
user dept , design(say), requests material to stores through some slips containing inf, regarding, qty, date, requested by expecting returnable date if it is returnable, store will issue material based on their req slip, This scenarios to be captured in sap just like purchase requisition, how to do it in sap?, if dev is required plz guide me to how to developHi,
You may go for development to create program with own screens to create the material request and store the material request number along with other details in ztable. Create custom program to refer this material request and issue the material against it with corresponding movement type. You may use the BAPI: BAPI_GOODSMVT_CREATE in background. Refer the wiki doc: How To Goods Movements with BAPI - ERP SCM - SCN Wiki
Also refer the doc: Material Request Creation against Reservations and Issue against Request ID
Regards,
AKPT -
Hi
I have an issue in InDesign CS6. It has been happening the last couple of days now.
When i export to pdf. regardless of quality instead of being saved as a pdf it is being sent to Photoshop which then saves the file as a psd...
I have updated InDesign to the latest CS6 update which helped the issue yesterday but today the same problem is back. Help please what could be the problem and how do I fix it?
Any advice is very appreciated.
Thanks
SamExportPDF is a subscription service for exporting PDF files into Word and Excel, from Adobe Reader. I suspect you need the InDesign forum, as InDesign is the product here.
-
E-mail of PDF issue TLINE structure but SOLISTI1 needed
Hi,
So far I have done the following. I have prepared a SMARTFORM and an ABAP. My ABAP calls the Smartform and gives the data to the function module CONVERT_OTF. This function creates a PDF file from the Smartform data. The output of "CONVERT_OTF" is a table with the format of structure TLINE. In a first step I save these data into a PDF file with the function module "GUI_DOWNLOAD".
Now the issue.
In the second step I am trying to send the output with the function SO_DOCUMENT_SEND_API1. The function is recommended by SAP for release 6.4 instead of the former function "SO_NEW_DOCUMENT_ATT_SEND_API1".
The attachment must be delivered either with the structure SOLISTI1 or SOLIX to be sent with the e-mail function SO_DOCUMENT_SEND_API1. I have tried to put my data with structure TLINE into the function. In these case I get short dumps. If I put the output of the function CONVERT_OTF in a table with the format SOLISTI1 instead of a table with structure TLINE a PDF file is still created and also send out with the e-mail function, but the file cant be opened anymore. Acrobat delivers an error message that the file is damaged.
I have tried to convert the file with structure TLINE in a hexadecimal file with structure SOLIX. For this purpose I used the function TABLE_COMPRESS. This worked fine. But the file which has been sent by the e-mail was still damaged. Even if I have downloaded the file I got the message that the file was damaged.
Are there any other suggestions how the attachment could be sent instead of using the function SO_DOCUMENT_SEND_API1? Is there a function available, which could be used to sent attachments with structure TLINE? Or are there any suggestions, how I can convert my smartform output in a SOLIX or SOLISTI1 structure?
Thank you and best regards
KarstenHi Arold,
<b>1</b>.
Have a look at this program.
This program is sending PDF file as attachment thru mail
<b>2</b>.
REPORT zvenkat_mail.
TABLES :
tsp01.
Itabs and variables .
*Tables
DATA:
BEGIN OF i_mard OCCURS 0,
matnr TYPE mard-matnr,
werks TYPE mard-werks,
lgort TYPE mard-lgort,
labst TYPE mard-labst,
umlme TYPE mard-umlme,
insme TYPE mard-insme,
einme TYPE mard-einme,
END OF i_mard.
DATA :
g_sy_spono LIKE sy-spono.
Mail related Variables and i tabs.
DATA:
w_subject LIKE sodocchgi1,
i_pack_list LIKE sopcklsti1 OCCURS 1 WITH HEADER LINE,
i_objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE,
i_contents_text LIKE solisti1 OCCURS 10 WITH HEADER LINE,
i_cont_bin LIKE solisti1 OCCURS 10 WITH HEADER LINE,
i_objhex LIKE solix OCCURS 10 WITH HEADER LINE,
i_receiver LIKE somlreci1 OCCURS 1 WITH HEADER LINE,
i_listobject LIKE abaplist OCCURS 1 WITH HEADER LINE,
pdf LIKE tline OCCURS 100 WITH HEADER LINE,
content_out LIKE solisti1 OCCURS 0 WITH HEADER LINE.
DATA:
tab_lines TYPE i,
doc_size TYPE i,
att_type LIKE soodk-objtp,
obj_desc LIKE w_subject-obj_descr,
sent_to_all LIKE sonv-flag,
client LIKE tst01-dclient,
name LIKE tst01-dname,
objtype LIKE rststype-type,
type LIKE rststype-type,
is_otf TYPE c ,
no_of_bytes TYPE i,
pdf_spoolid LIKE tsp01-rqident,
jobname LIKE tbtcjob-jobname,
jobcount LIKE tbtcjob-jobcount,
pn_begda LIKE sy-datum,
val(1) TYPE c,
pripar TYPE pri_params,
arcpar TYPE arc_params,
lay TYPE pri_params-paart,
lines TYPE pri_params-linct,
cols TYPE pri_params-linsz,
spool_name TYPE pri_params-plist.
*& START-OF-SELECTION.
START-OF-SELECTION.
PERFORM get_data_from_database.
PERFORM output_for_pdf.
*& END-OF-SELECTION.
END-OF-SELECTION.
PERFORM send_mail..
*& Form get_data_from_database
FORM get_data_from_database .
SELECT matnr
werks
lgort
labst
umlme
insme
einme
FROM mard
INTO TABLE i_mard
UP TO 20 ROWS.
ENDFORM. " get_data_from_database
*& Form output_for_pdf
FORM output_for_pdf .
PERFORM get_print_params.
LOOP AT i_mard.
WRITE:/ sy-vline, i_mard-matnr,
sy-vline, i_mard-werks,
sy-vline, i_mard-lgort,
sy-vline, i_mard-labst,
sy-vline, i_mard-umlme,
sy-vline, i_mard-insme,
sy-vline, i_mard-einme,
sy-vline.
ENDLOOP.
ULINE .
g_sy_spono = sy-spono.
NEW-PAGE PRINT OFF.
CALL FUNCTION 'ABAP4_COMMIT_WORK'.
ENDFORM. " output_for_pdf
*& Form send_mail
FORM send_mail .
PERFORM mail_without_attachment.
PERFORM mail_with_pdf_attachment.
PERFORM mail_with_exel_attachment.
PERFORM mail_with_text_attachment.
ENDFORM. " send_mail
*& Form mail_with_pdf_attachment
FORM mail_with_pdf_attachment .
CLEAR :w_subject,
sent_to_all,
i_pack_list[],
i_objhead[],
i_cont_bin[],
i_contents_text[],
i_receiver[].
i_cont_bin = ' | '.
APPEND i_cont_bin.
Subject of the mail.
obj_desc = 'Hello SDN Friends ' .
w_subject-obj_name = 'MAIL_ALI'.
w_subject-obj_descr = obj_desc.
Body of the mail
DATA :head_desc LIKE i_contents_text,
body_desc LIKE i_contents_text.
i_contents_text = space.
APPEND i_contents_text.
CLEAR i_contents_text.
CONCATENATE
'This mail has been generated for Test purpose.'
'Please dont hesitate to ask any type of question in the forum.'
INTO body_desc
SEPARATED BY space.
i_contents_text = body_desc.
APPEND i_contents_text.
CLEAR i_contents_text.
CLEAR body_desc.
i_contents_text = 'Thank You.'.
APPEND i_contents_text.
CLEAR i_contents_text.
i_contents_text = 'Fellow SDN member,'.
APPEND i_contents_text.
CLEAR i_contents_text.
i_contents_text = 'Venkat.O'.
APPEND i_contents_text.
CLEAR i_contents_text.
i_contents_text = space.
APPEND i_contents_text.
CLEAR i_contents_text.
CONCATENATE '(Note: This is system generated message, please'
'do not reply'
'to this Email.)'
INTO i_contents_text
SEPARATED BY space.
APPEND i_contents_text.
CLEAR i_contents_text.
Write Packing List (Body)
DESCRIBE TABLE i_contents_text LINES tab_lines.
READ TABLE i_contents_text INDEX tab_lines.
w_subject-doc_size = ( tab_lines - 1 ) * 255 + STRLEN(
i_contents_text ).
CLEAR i_pack_list-transf_bin.
i_pack_list-head_start = 1.
i_pack_list-head_num = 0.
i_pack_list-body_start = 1.
i_pack_list-body_num = tab_lines.
i_pack_list-doc_type = 'RAW'.
APPEND i_pack_list.
CLEAR i_pack_list.
Create receiver list
i_receiver-receiver = '[email protected]'..
i_receiver-rec_type = 'U'.
APPEND i_receiver.
CLEAR i_receiver.
Select query for Spool requests
REFRESH content_out.
IF sy-subrc = 0.
SELECT SINGLE *
FROM tsp01
WHERE rqident = g_sy_spono.
IF sy-subrc <> 0.
MESSAGE s000(0k) WITH 'Spool Number does not exist'.
EXIT.
ELSE.
client = tsp01-rqclient.
name = tsp01-rqo1name.
ENDIF.
ENDIF.
CALL FUNCTION 'RSTS_GET_ATTRIBUTES'
EXPORTING
authority = 'SP01'
client = client
name = name
part = 1
IMPORTING
type = type
objtype = objtype
EXCEPTIONS
fb_error = 1
fb_rsts_other = 2
no_object = 3
no_permission = 4
OTHERS = 5.
IF objtype(3) = 'OTF'.
is_otf = 'X'.
ELSE.
is_otf = space.
ENDIF.
Convert Spool job to PDF
IF is_otf = 'X'.
CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = tsp01-rqident "Spool req number
no_dialog = ' '
IMPORTING
pdf_bytecount = no_of_bytes
pdf_spoolid = pdf_spoolid
btc_jobname = jobname
btc_jobcount = jobcount
TABLES
pdf = pdf
EXCEPTIONS
err_no_otf_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_dstdevice = 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.
CASE sy-subrc.
WHEN 0.
WHEN 1.
MESSAGE s000(0k) WITH 'No OTF Spool Job'.
EXIT.
WHEN 2.
MESSAGE s000(0k) WITH 'Spool Number does not exist'.
EXIT.
WHEN 3.
MESSAGE s000(0k) WITH 'No permission for spool'.
EXIT.
WHEN OTHERS.
MESSAGE s000(0k) WITH 'Error in Function CONVERT_OTFSPOOLJOB_2_PDF'.
EXIT.
ENDCASE.
ELSE.
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = tsp01-rqident
no_dialog = ' '
IMPORTING
pdf_bytecount = no_of_bytes
pdf_spoolid = pdf_spoolid
btc_jobname = jobname
btc_jobcount = jobcount
TABLES
pdf = 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.
CASE sy-subrc.
WHEN 0.
WHEN 1.
MESSAGE s000(0k) WITH 'No ABAP Spool Job'.
EXIT.
WHEN 2.
MESSAGE s000(0k) WITH 'Spool Number does not exist'.
EXIT.
WHEN 3.
MESSAGE s000(0k) WITH 'No permission for spool'.
EXIT.
WHEN OTHERS.
MESSAGE s000(0k)
WITH 'Error in Function CONVERT_ABAPSPOOLJOB_2_PDF'.
EXIT.
ENDCASE.
ENDIF.
CALL FUNCTION 'SX_TABLE_LINE_WIDTH_CHANGE'
EXPORTING
line_width_src = 134
line_width_dst = 255
TABLES
content_in = pdf
content_out = content_out
EXCEPTIONS
err_line_width_src_too_long = 1
err_line_width_dst_too_long = 2
err_conv_failed = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE s000(0k) WITH 'Conversion Failed'.
EXIT.
ENDIF.
---------------------Create Message Attachment
DESCRIBE TABLE i_cont_bin LINES tab_lines.
i_pack_list-transf_bin = 'X'.
i_pack_list-head_start = tab_lines + 1.
i_pack_list-head_num = 0.
i_pack_list-body_start = tab_lines + 1.
APPEND LINES OF content_out[] TO i_cont_bin[].
DESCRIBE TABLE content_out LINES tab_lines.
i_pack_list-doc_size = tab_lines * 255.
i_pack_list-body_num = tab_lines.
i_pack_list-doc_type = 'PDF'.
i_pack_list-obj_name = 'ATTACHMENT'.
i_pack_list-obj_descr = 'Materials and their Quantities' .
APPEND i_pack_list.
CLEAR i_pack_list.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = w_subject
put_in_outbox = 'X'
commit_work = 'X'
IMPORTING
sent_to_all = sent_to_all
TABLES
packing_list = i_pack_list
object_header = i_objhead
contents_bin = i_cont_bin
contents_txt = i_contents_text
receivers = i_receiver
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
IF sy-subrc NE 0.
ENDIF.
ENDFORM. " mail_with_pdf_attachment
*& Form get_print_params
FORM get_print_params .
lay = 'X_65_132'.
lines = 65.
cols = 132.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
in_archive_parameters = arcpar
in_parameters = pripar
layout = lay
line_count = lines
line_size = cols
no_dialog = 'X'
IMPORTING
out_archive_parameters = arcpar
out_parameters = pripar
valid = val
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4.
IF val <> space AND sy-subrc = 0.
pripar-prrel = space.
pripar-primm = space.
NEW-PAGE PRINT ON
NEW-SECTION
PARAMETERS pripar
ARCHIVE PARAMETERS arcpar
NO DIALOG.
ENDIF.
ENDFORM. " get_print_params
I hope it helps u .
<b>Thanks,
Venkat.O</b> -
Print to PDF issues after 11.0.03 Update
Hello,
Installed on our site we have Adobe Reader XI as part of out basic build (ie. every PC has it) and Adobe Acrobat X Pro (as part of the CS5.5 Master Collection) for those users that request it (meaning that we have both versions installed side by side on some PC's). During our most recent update cycle we upgraded Adobe Reader XI to the latest 11.0.03 update which has seemed to upset our PC's that have Acrobat X Pro installed on them.
It appears that the 'Adobe PDF' printer that is installed by Acrobat X Pro no longer works, and trying to print to it gives the following error; "Windows cannot print due to a problem with the current printer setup". To try and see if it would resolve the issue I pushed out the 10.1.7 Acrobat update to a small number of test machines but it hasn't made any difference.
Is this a known issue? Any ideas on how to resolve it or if a fix is coming up?
Thanks, Dave.Please try following steps:
1. Open Reader.
2. Go to Edit -> Preferences.
3. Select category - Enhanced (Security)
4, Uncheck "Enable Protected Mode at Start up" option.
Regards,
Anoop -
ProcessFormSubmission form submitted as pdf issue
Hi
I have a scenario where, the form must be submitted as PDF content_type, i.e while designing the form, I am setting the submit form as "PDF" format. I have written a J2EE application that receives the submitted form. Here is what, I am doing.
Document formData =
new Document(request.getInputStream());
formData.copyToFile(
new File("C:/home1/eformwas/InputFile.pdf"));
I ensured that the submitted content from the web browser is a pdf file by opening the InputFile.pdf in the acrobat reader and I verified that the form is siubmitted with the data that I have posted.
Next step, I wanted to process this form, and extract out some of the data elements in it. Hence I did the following
RenderOptionsSpec processFormSubmissionOptionsSpec =
new RenderOptionsSpec();
processFormSubmissionOptionsSpec.setXMLData(
true);processFormSubmissionOptionsSpec.setPDF2XDP(
true);processFormSubmissionOptionsSpec.setExportDataFormat(
"XMLData");
formsResultObject = formsServicesClientObject.processFormSubmission(formData ,"HTTP_REFERER=referrer&HTTP_CONNECTION=keep-alive& CONTENT_TYPE=application/pdf&CONTENT_TYPE=application/vnd.adobe.xdp+xml&CONTENT_TYPE=text/ xml",
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)",
processFormSubmissionOptionsSpec);
When I execute the above code, I get the following error at processFormSubmission method,
Caused by: com.adobe.livecycle.formsservice.exception.FormServerException: Parse error on document: DataSets error: Parse error on document: FSRequest error: Content is not allowed in prolog.
Any idea, of what is causing this issue. Can I process a form that is submitted as "pdf" content type.? I guess, I can.
As a cross check, I created the whole scenario by creating a process in the LC process modeller and used the processFormSubmission task of the Forms Service and I was successful in processing the form. Not sure, am I missing to set something in RenderOptionSpec or is this a bug in LC SDK ?
LiveCycle error log, also reports the error when invoked through LC SDK API
[1/26/10 11:13:36:627 EST] 0000008a FormServerExc E com.adobe.livecycle.formsservice.logging.FormsLogger logMessage ALC-FRM-001-016: Parse error on document: DataSets error: Parse error on document: FSRequest error: Content is not allowed in prolog.
However, everything works like a charm if processFormSubmission invoked as part of LC process model. I even downloaded the data part as getOutputXML task in the process model and it looks well formed.
Will greatly appreciate your response.
Many Thanks
Gopala...Hi,
The issue got resolved. Just posting the solution to benefit other folks who can potentially face the same issue.
It worked by setting the content_type="application/pdf" only in environment buffer parameter of formSubmission when the submitted content is of type pdf.
Actually, I referred to the livedocs adobe article @ http://livedocs.adobe.com/LiveCycle/8.2/programLC/programmer/help/wwhelp/wwhimpl/js/html/w whelp.htm?&accessible=true
which specifies the following, which is contradictory to the solution.
"You can also specify multiple content type values such as:
CONTENT_TYPE=application/pdf&CONTENT_TYPE=application/vnd.adobe.xdp+xml
to ensure various form submissions can be used"
Regards
Gopala... -
Im using the below webservice script in my PDF, it is working fine.
but, If the URL is wrong then the below code is not executing the remaining statement. If the URL is wrong or the server is down, I hav to show message, How should I catch that error and show the right message.
If the request is fine I am getting the resultResp value.
Please help me to fix this issue.
var response = SOAP.request(
cURL: cURL,
oRequest: { "http://www.ibm.com/industries/financialservices/": {my:MYMessage}},
cAction: "http://services.com/AppService/AppInvocation",
oRespHeader: oResultHeader
var responseString = "http://services.com/message:MYMessage";
var resultResp = response["MYMessage"]["response"];hi ,
Please any idea about this.
Thanks, -
Single page PDF issues! Please fix!!!
When sending or receiving a PDF single page file, my iPad changes the format to something other than a PDF. This make it very difficult to do business with non Mac/iOS users. I know that this is not a hardware issue, it is an operating system issue. I need this fixed in order to have a successful experience.
For all intents and purposes you are trying to do more with Acrobat than designed. Pitstop might do the trick as well as other plug-ins. But the obvious method is to import the scans into ID and do your page numbering there. If you want increased capability try the Adobe request/wish form:
https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform -
RoboHelp 9 Crashing on Generating Output (hyperlinked pdf issue?)
I have had RoboHelp 9 consistently crash (without warning) when trying to generate ANY type of output. I was evaluating a trial version (which has since expired). I could consistently and successfully generate the exact same content without any issue when using RoboHelp 8 on another computer and it would appear that the crashes related to updating hyperlinked pdf's. None of the suggested fixes solved this issue on my system (i.e.http://forums.adobe.com/thread/796237?tstart=0)
While Adobe contacted me twice by telephone during the evaluation phase to gauge my interest in purchasing TCS 3 I received no response whatsoever to my request for assistance in resolving this issue. The person with whom I spoke has not responded to my queries. Now my trial is expired so I can't do anything further but I would like to hear if any other people have had this issue and what they had to do to resolve it.
The ability to update hyperlinked pdf's is essential for my project and I would like to upgrade (I really am a proponent of the TCS workflow) but, in its current state, TCS 3 is unuseable for me.
Thanks in advance...ta-da! And here I am, at Peter's behest.
You situation with the PDFs is exactly what happened with me, although I had the advantage of Adobe tech support to actually be able to isolate the specific ogre PDF files. They suggested I rename/delete them and I did and everything compiled smoothly. Like you, these PDFs worked just fine in RH8, but choked RH9.
I then tried a different tact and went back to the source files and reprinted them with Acrobat 9 (I think they'd originally been printed with Acrobat 6 or so), and the project compiled just fine.
I understand you don't have the source files, but here is a suggestion that mightwork: open your PDFs with Acrobat 9 or X and either "Save as..." a new file or go to the Advanced menu and click PDF Optimizer... (maybe try both methods). I think either would have a similar effect to reprinting the source files and would "fix" whatever it was that's choking your project.
Let us know if that works. -
Request: PDF Viewer plug-in for Firefox
So, just what is wrong with Adobe? Shouldn't this be a no-brainer?
EEE! All right! Good-bye Adobe! I found a very good working option -- no plug in required!:
http://www.docufarm.com/ (Can't find it through mozilla, but I did a virus scan before I downloaded it, and it was clean (you should always do that)). An explanation as to how it works is located at
http://googlesystem.blogspot.com/2007/05/preview-documents-with-docufarm.html
Three problems with the PDF Browser Plug-In:
(1) Limited features -- cannot search within the document
You can direct the plug-in to use Adobe (or other viewer) to open, but then the document is downloaded which belays the whole point of having the plug-in...
(2) Scrolling issues (minor, I could live with it, but it is annoying): using the scrollbar tends to break the display and you have to reload the document
(3) PDF Browser Plug-In does not work directly with Mac Intel (must run Rosetta) -- this is an issue since I'm about to upgrade my powerbook...
I agree it likely comes from higher than the poor programmers. Either Mac/FF users simply aren't a large enough group to get priority (I was kinda hoping this thread would prove that wrong), or the directive came from Apple (not Adobe) -- they've been stupid about the competition thing before... ...but if feature requests aren't read by anyone at Adobe what's the point of having a feature request forum? -
EMAIL PO (PDF) issue
Hi Friends,
I am testing the email PO to supplier functionality.
I am able to receive a mail to the specified supplier mail id.
But the email does not have the Purchase Order PDF as an attachment. It has "Notification Detail.html" and "Notification References.html" as the two attachments.
However I am able to see the PO in PDF format in the system through Oracle Purchasing Responsibility.
One more thing I have observed is even the mail is delivered to supplier mail Id the status for the notification is OPEN and mail_status is FAILED in the workflow notification tables.
I even tried to make use of the "Communicate" Option in the Purchase Order action list to send the PO PDF document to supplier.
Even though it says the request is submitted, the PO was not sent.
Please help to resolve this issue.Look at the following
FAQ: E-Mail PO Functionality [ID 307577.1]
11.5.10: PO Output For Communication Does Not Generate PDF Attachment With Email [ID 331313.1]
How To Diagnose Issues Within Oracle Purchasing PDF File Creation for Printing [ID 406094.1]
Sandeep Gandhi -
Hello,
I wish to add a PDF that opens automatic with DVD@ccess.
I've made a menu with only text and a back button, in the options pane I've added a url in the @ccess pane:
file:///CINDERELLA/techsheet/cinderella.pdf
My disk name: CINDERELLA
The DVD folder is CINDERELLA and contains the _TS folders + "techsheet" folder
the pdf file: cinderella.pdf
It doesn't work in the simulate or in DVD Player after a build....Do a quick search for DVD@ccess there are many issues and possible workarounds,
http://discussions.apple.com/search.jspa?threadID=&q=DVD%40ccess&objID=&dateRang e=last90days&userID=&numResults=15&rankBy=9
One thread that may be helpful
http://discussions.apple.com/thread.jspa?messageID=4453046�
Usually the easiest way is just to make a menu saying there is content in a DVD-ROM folder on the DVD that people can browse to and open
Maybe you are looking for
-
ITunes Freezing Intermittently when Playing from iPod
Hello, If anyone could shed any light on this I'd be most grateful. My problem, like many others, began when I updated the iTunes software a few days ago but the problem itself seems to be different. My iPod is mounting fine and iTunes recognises it
-
Wrong creation of legacy asset in AS91
Hi ALL, I had create an asset using tcode AS91 and the system assigned main asset number 50000001 automatically to it. Later on, we discovered that we do not want this asset migrated to SAP. (Not yet post to asset reconciliation account in GL) Th
-
Can a different SubQuery replace a Set function Minus?
I'm a student in an Oracle SQL class using 10g. We are nearing the end of our class. We are working on a chapter on Subqueries. In one of the homework problems I have a solution that uses a Subquery. But it also uses a Minus. We studied the Set funct
-
Clarification required ..... Please help me.
Hi experts can any one explain about these things. <b>Pay/No Pay:</b> This is non-paid time, except that we must have a 40-hr week of paid time if code 019 is used at any time during the week. <b>A/Hrs Offset:</b> Available hours offset. That
-
Fulltext-Search on large context
Hi there, I'm trying to implement a product search in AIF based on a key/value-table (material no / material text) that comes with the context. Ideally the search includes fulltext search on material number and text, but a simple fulltext search on t