PDF conversion error
Hi all,
while converting a spool request to PDF through the program RSTXPDFT4, a PDf file is getting generated but with an error of 'Japanese fonts not available'.
Please suggest a solution if some one has encountered it before.
thanks
Hi Arun,
Contact your Basis team. You will have to upload Japanese Fonts in your system.
Regards,
Chetan.
PS: Reward points if this helps.
Similar Messages
-
Hi Experts,
my task is to convert a smartform into pdf & download & email. in two different programs
download program i converted smartform using 'CONVERT_OTF_2_PDF' and its working fine with no problem.
and in email program when tried the same one, I have a error as the PDF file is damaged and could not be repaired.
So I used 'CONVERT_OTF', its working fine and can send emails to external systems with no errors.
Now my problem is in the email, when i open the attachement, i getting a error in Pdf file.
"Cannot extract the embedded font Arial. Some characters may not be display or print correctly".
Please tell me how to close this error.
Thanks & regards,
Dileep .Chi,
Report BCS_EXAMPLE_6
Email documents using PDF based forms
REPORT bcs_example_6.
DATA: carr_id TYPE sbook-carrid.
PARAMETER: p_custid TYPE scustom-id DEFAULT 12.
SELECT-OPTIONS: s_carrid FOR carr_id DEFAULT 'AA' TO 'ZZ'.
PARAMETER: p_email TYPE adr6-smtp_addr OBLIGATORY.
DATA: customer TYPE scustom,
bookings TYPE ty_bookings,
connections TYPE ty_connections,
fm_name TYPE rs38l_fnam,
fp_docparams TYPE sfpdocparams,
fp_outputparams TYPE sfpoutputparams,
error_string TYPE string.
DATA ls_formoutput TYPE fpformoutput.
DATA lx_fp_api TYPE REF TO cx_fp_api.
data lp_form TYPE tdsfname value 'FP_TEST_03'.
data lp_langu TYPE langu value 'D'.
data lp_countr TYPE land1 value 'DE'.
BCS data
DATA send_request TYPE REF TO cl_bcs.
DATA text TYPE bcsy_text.
DATA document TYPE REF TO cl_document_bcs.
DATA recipient TYPE REF TO if_recipient_bcs.
DATA: bcs_exception TYPE REF TO cx_bcs.
DATA sent_to_all TYPE os_boolean.
DATA pdf_content TYPE solix_tab.
DATA lp_pdf_size TYPE so_obj_len.
get data
SELECT SINGLE * FROM scustom INTO customer WHERE id = p_custid.
CHECK sy-subrc = 0.
SELECT * FROM sbook INTO TABLE bookings
WHERE customid = p_custid
AND carrid IN s_carrid
ORDER BY PRIMARY KEY.
SELECT * FROM spfli INTO TABLE connections
FOR ALL ENTRIES IN bookings
WHERE carrid = bookings-carrid
AND connid = bookings-connid
ORDER BY PRIMARY KEY.
Print data:
First get name of the generated function module
TRY.
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = lp_form
IMPORTING
e_funcname = fm_name.
CATCH cx_fp_api INTO lx_fp_api.
exception handling
MESSAGE ID lx_fp_api->msgid TYPE lx_fp_api->msgty
NUMBER lx_fp_api->msgno
WITH lx_fp_api->msgv1 lx_fp_api->msgv2
lx_fp_api->msgv3 lx_fp_api->msgv4.
EXIT.
ENDTRY.
Set output parameters and open spool job
fp_outputparams-nodialog = 'X'. " no print preview
fp_outputparams-getpdf = 'X'. " request PDF
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = fp_outputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 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.
Set form language and country (->form locale)
fp_docparams-langu = lp_langu.
fp_docparams-country = lp_countr.
Now call the generated function module
CALL FUNCTION fm_name
EXPORTING
/1bcdwb/docparams = fp_docparams
customer = customer
bookings = bookings
connections = connections
IMPORTING
/1bcdwb/formoutput = ls_formoutput
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
CALL FUNCTION 'FP_GET_LAST_ADS_ERRSTR'
IMPORTING
e_adserrstr = error_string.
IF NOT error_string IS INITIAL.
we received a detailed error description
WRITE:/ error_string.
EXIT.
ELSE.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDIF.
Close spool job
CALL FUNCTION 'FP_JOB_CLOSE'
IMPORTING
E_RESULT =
EXCEPTIONS
usage_error = 1
system_error = 2
internal_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 BCS interface ----------------------------------
TRY.
---------- create persistent send request ----------------------
send_request = cl_bcs=>create_persistent( ).
---------- add document ----------------------------------------
get PDF xstring and convert it to BCS format
lp_pdf_size = XSTRLEN( ls_formoutput-pdf ).
pdf_content = cl_document_bcs=>xstring_to_solix(
ip_xstring = ls_formoutput-pdf ).
document = cl_document_bcs=>create_document(
i_type = 'PDF'
i_hex = pdf_content
i_length = lp_pdf_size
i_subject = 'test created by BCS_EXAMPLE_6' ). "#EC NOTEXT
add document to send request
send_request->set_document( document ).
---------- add recipient (e-mail address) ----------------------
recipient = cl_cam_address_bcs=>create_internet_address(
i_address_string = p_email ).
add recipient to send request
send_request->add_recipient( i_recipient = recipient ).
---------- send document ---------------------------------------
sent_to_all = send_request->send(
i_with_error_screen = 'X' ).
IF sent_to_all = 'X'.
message i022(so).
ENDIF.
---------- explicit 'commit work' is mandatory! ----------------
COMMIT WORK.
* exception handling
* replace this very rudimentary exception handling
* with your own one !!!
CATCH cx_bcs INTO bcs_exception.
WRITE: text-001.
WRITE: text-002, bcs_exception->error_type.
EXIT.
ENDTRY. -
Smartfomrs to PDF conversion error
Dear Experts,
I have a requirement to convert smart forms to PDF.
After converting smartforms to PDF, I am getting the following errors.
1. Special signs like u201C&u201D, are shown as <& > in PDF.
2. Some line breaks which are in smartforms are not appearing in the PDF.
(How to handle the same during smartforms to PDF)
Thanks in Advance.
sriHi,
in more than once I´ve experimented the same problem. What I do is to replace the text in my form:
REPLACE ALL OCCURENCES OF '>' IN aux_text WITH '"'.
REPLACE ALL OCCURENCES OF '<' IN aux_text WITH '"'.
you can insert a line break like this:
CL_ABAP_CHAR_UTILITIES=>CR_LF
but in both cases you must set a break point in your form where the text is processed to find out what´s wrong. It could be that system cannot understand some characters as HTML escape code. This is the case in web development when working with text boxes. -
How fix Explorer 11 PDF Conversion Error Messages - used to work fine!
Using Win7 and Explorer 11. Acrobat 9.5.xx PDF Reader/Creator.
Works fine on one PC at home and other PC (same config and settings) gives error message "Could not access Acrobat Web Capture Facility".
Tried repairing Acrobat 9.5.xx with same error results.
Suggested solution so I can get back to creating PDFs of Websites??Not a reply. Screen shot of error message when trying to convert web page to PDF using Acrobat 9.5.5
Any suggestions how to repair?
/Mike -
Hey Guys,
my system at work is a:
Adobe 9 Pro Extended
Word 2007 (German)
Windows XP SP3
I have a document saved with several graphics made from text boxes and the drawing tools from Word 2007. In addition, I have a header that is on some pages overlapped by a white un-transperent text box.
When I save it as .doc and convert it to pdf, using unmodified standard settings, it works perfectly.
However, when I save it as .docx and then convert it to pdf, the overlapped header shows although the textbox is put on top of it. In addition, only text and not graphical elements are to be seen in the pdf.
Has anyone experienced a similar problem? I would be very grateful if you could help me. This seems to be a strange error. The cause must lie somehwere in the settings although this is an out-of-the-box installation..
Thank you very much,
StefanGood. That simplifies things a bit and makes sure it may be related to the Adobe PDF printer. I was just keying off WORD 2007 as a potential problem for the export, but that is not the case. It is possible that you need to update the software. WORD typically has updates also and it might be possible that an update would solve the issue. It sounds strange that it is affected by saving as a DOCX file rather than a DOC file. That sure suggests an issue with WORD, but I am not sure.
-
What does the "conversion error" I get when converting a pdf file to Microsoft word?
What is the "conversion error" I get when converfting a pdf file to aMicrosoft word?
Adobe reader with export to PDF
Sent from my iPhone 5
Marty Kennedy -
When I select "Convert" using the Adobe PDF conversion - I get "Error signing in"
When I select "Convert" using the Adobe PDF conversion - I get "Error signing in"
You need the CreatePDF forum
-
I am getting an error message when I try to combine three PDF files"Your PDF conversion request fail
I am getting an error message when I try to combine three PDF files "Your PDF conversion request failed. Try again later"
Thank you,
Lori JansHi,
Please let me know if your files are big. complex, or image files?
If you sill have the same error message then please share your files with us so that we can look at them using below site:
https://adobeformscentral.com/?f=qJiclooYWGGNFtWfj8g3wg#
Thank you.
Hisami -
nable to convert pdf to any other format. Tried cloud as well as acrobat reader. Reader error message "unable to contact service" and Cloud message "conversion error". I tried multiple pdf documents and checked security settings on all of them. Help Please!
Hi skydivingsnowman,
I'm sorry you're having such trouble using the ExportPDF service. What browser are you using?
Please try clearing your browser cache, or using a different browser (here's a list of supported browsers: http://www.adobe.com/acom/systemreqs/.
Please let me know if that works.
Best,
Sara -
I have paid for a year subscription, but all the PDF's I attempt to export to Word give me a "Conversion Error" message, citing that the "file's security settings do not allow export." I want a refund. Adobe, please advise. Thank you.
Hi la recruiter,
There are a few types of files that Acrobat can't convert--and PDF files with security applied is one on them. I'm happy to cancel your subscription, if you decide that it's not going to work out for you. Please confirm that you'd like me to proceed with the cancelation, and I'll take care of it right away.
Best,
Sara -
Please help. Keep getting a conversion error when trying to convert a PDF to a .docx. Advice?
Sara,
Please see my answers in bold below.
What browser are you using? Try clearing the cache, or using a different browser. N/A
Are you converting from within Reader, or directly via the ExportPDF website. Within Reader.I disabled the OCR and this did not work either. Try converting from within Reader, and disable OCR as detailed in this document: How to disable Optical Character Recognition (OCR) when converting PDF to Word or Excel.
Are you on a networked computer? Make sure that there aren't any firewall/proxy settings that are preventing you from uploading files to the Internet. Not having problems uploading the file--that works fine.
Make sure the file is within the file-size limit of 100 MB. It is <40.
I get the error message, "File failed to be converted using Adobe ExportPDF online."
Thanks for your help in advance. -
I want to manage my pdf conversion to word account, but when I click on manage I get an error message saying Heading too Large. How do I get into manage
Hi,
May i know which service you are using?
Would it be possible for you to send me the screenshot of the error?
Regards,
Florence -
Automated report/ PDF conversion with AppleScript
Hello-
I am attempting to PDF a spreadsheet from Dropbox, and email it to a set list of recipients with AppleScript. Much of this I have been able to figure out, but I am having some issues with the PDF conversion. As you can see below, I am still working on sending the xls file, and have not yet been able to get AppleScript to convert a specific tab of the file to aPDF. I expect scheduling to be handled theough crontab.
Current script is as follows:
tell application "Finder"
set folderPath to folder "Macintosh HD:Users:user:Dropbox:folder:Calculated PO Sheet"
set theFile to first file in folderPath as alias
set fileName to name of theFile
end tell
set theSubject to "Current PO Report" date
set theBody to "See attached."
set theAddress to "recipient email"
set theAttachment to "CALCULATED PO SHEET.xlsx"
set theSender to "sender email"
tell application "Mail"
set theNewMessage to make new outgoing message with properties{subject:theSubject, content:theBody & return & return, visible:true}
tell theNewMessage
set visibile to true
set sender to theSender
make new to recipient at end of to recipients with properties {address:theAddress}
try
make new attachment with properties {file name:theAttachment} at after the last word ofthe last paragraph
set message_attachment to 0
on error errmess -- oops
log errmess -- log the error
set message_attachment to 1
end try
log "message_attachment = " & message_attachment
#send
end tell
end tellHi,
there is a special setup for this requirement. Please see the following support note
Reference
Oracle Reports Output For Indian Languages Like Gujarati, Marathi [ID 980554.1]
Roberto -
Doc to PDF conversion failed for Acrobat 9 on IIS7/win 2008 system
I wanted to convert a doc to PDF. But getting error when PDF distiller initialized.
Error : 006~ASP 0177~Server.CreateObject Failed~80080005
at statement : Set Obj = server.CreateObject("PdfDistiller.PdfDistiller.1")
This is done is classic ASP.
This works perfectly fine on IIS6/win 2003 with Acrobat 5 . but getting error on production server where IIS7/win 2008,Acrobat 9 is installed.
I have added all the necessary permissions.
What could be the problem?
Any help would be appriciated.But the same thing is working fine for Acrobat distiller 5 on IIS 6 and Win 2003.
With Acrobat 5,printer installed is called Acrobat Distiller and with Acrobat 9, printer installed is called Adobe PDF. This should not affect the distiller functionality/execution I think.
Manual Doc to PDF conversion works, means if document is passed to Adobe PDf it converts the doc to PDF.
Somehow automation is not working failing at statement
Set oDistiller = CreateObject("PDFDistiller.PDFDistiller.1")
Could there be case that Acrobat 9 doesn't support automation or need license or so? -
Character conversion error: "Unconvertible UTF-8 character beginning with 0
Hi All,
I developed an Adapter Module and added to Adapter Framework.
package sample;
import java.io.InputStream;
import java.text.SimpleDateFormat;
import java.util.Date;
import javax.ejb.CreateException;
import javax.ejb.SessionBean;
import javax.ejb.SessionContext;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
import com.sap.aii.af.mp.module.Module;
import com.sap.aii.af.mp.module.ModuleContext;
import com.sap.aii.af.mp.module.ModuleData;
import com.sap.aii.af.mp.module.ModuleException;
import com.sap.aii.af.ra.ms.api.Message;
import com.sap.aii.af.ra.ms.api.XMLPayload;
@ejbHome <{com.sap.aii.af.mp.module.ModuleHome}>
@ejbLocal <{com.sap.aii.af.mp.module.ModuleLocal}>
@ejbLocalHome <{com.sap.aii.af.mp.module.ModuleLocalHome}>
@ejbRemote <{com.sap.aii.af.mp.module.ModuleRemote}>
@stateless
public class SetAttachmentName implements SessionBean, Module {
private SessionContext myContext;
private String mailFileName = "UStN";
public void ejbRemove() {
public void ejbActivate() {
public void ejbPassivate() {
public void setSessionContext(SessionContext context) {
myContext = context;
public void ejbCreate() throws CreateException {
public ModuleData process(
ModuleContext moduleContext,
ModuleData inputModuleData)
throws ModuleException {
// create a second attachment for the receiver mail adapter
try {
// get the XI message from the environment
Message msg = (Message) inputModuleData.getPrincipalData();
// creating parsable XML document
InputStream XIStreamData = null;
XMLPayload xmlpayload = msg.getDocument();
XIStreamData = xmlpayload.getInputStream();
DocumentBuilderFactory docBuilderFactory =
DocumentBuilderFactory.newInstance();
DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
Document doc = docBuilder.parse(XIStreamData);
// finding the tag's name from the Modules tab in the Directory that will hold the attachment's name
String absenderIDTag = null;
absenderIDTag = moduleContext.getContextData("<RCVPRN>");
// finding the content of the tag that will be used as the attachment's name (assuming it's the only tag with this name)
Element element = doc.getDocumentElement();
NodeList list = doc.getElementsByTagName(absenderIDTag);
mailFileName += "_" + list.item(0).getFirstChild().toString();
String anIDTag = null;
anIDTag = moduleContext.getContextData("<CREDAT>");
element = doc.getDocumentElement();
list = doc.getElementsByTagName(anIDTag);
mailFileName += "_" + list.item(0).getFirstChild().toString();
Date date = new Date(System.currentTimeMillis());
// Add date to the Message
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMdd");
mailFileName += "_" + dateFormat.format(date);
String belegNummerTag = null;
belegNummerTag = moduleContext.getContextData("<BULK_REF>");
element = doc.getDocumentElement();
list = doc.getElementsByTagName(belegNummerTag);
mailFileName += "_" + list.item(0).getFirstChild().toString();
// creating the attachment
byte by[] = xmlpayload.getText().getBytes();
XMLPayload attachmentPDF = msg.createXMLPayload();
attachmentPDF.setName(mailFileName);
attachmentPDF.setContentType("application/pdf");
attachmentPDF.setContent(by);
//adding the message to the attachment
msg.addAttachment(attachmentPDF);
// provide the XI message for returning
inputModuleData.setPrincipalData(msg);
} catch (Exception e) {
// raise exception, when an error occurred
ModuleException me = new ModuleException(e);
throw me;
// return XI message
return inputModuleData;
I get the following error
Character conversion error: "Unconvertible UTF-8 character beginning with 0xaa" (line number may be too low).
Any tips, pointers ?
Thanks in Advance
MukhtarHi Henrique,
I am using .getNodeValue()
import java.io.InputStream;
import java.text.SimpleDateFormat;
import java.util.Date;
import javax.ejb.CreateException;
import javax.ejb.SessionBean;
import javax.ejb.SessionContext;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
import com.sap.aii.af.mp.module.*;
import com.sap.aii.af.ra.ms.api.*;
@ejbHome <{com.sap.aii.af.mp.module.ModuleHome}>
@ejbLocal <{com.sap.aii.af.mp.module.ModuleLocal}>
@ejbLocalHome <{com.sap.aii.af.mp.module.ModuleLocalHome}>
@ejbRemote <{com.sap.aii.af.mp.module.ModuleRemote}>
@stateless
public class UStNAttachmentName3 implements SessionBean, Module {
private SessionContext myContext;
private String mailFileName = "UStN";
public void ejbRemove() {
public void ejbActivate() {
public void ejbPassivate() {
public void setSessionContext(SessionContext context) {
myContext = context;
public void ejbCreate() throws CreateException {
public ModuleData process(
ModuleContext moduleContext,
ModuleData inputModuleData)
throws ModuleException {
// create a second attachment for the receiver mail adapter
try {
// get the XI message from the environment
Message msg = (Message) inputModuleData.getPrincipalData();
// creating parsable XML document
InputStream XIStreamData = null;
XMLPayload xmlpayload = msg.getDocument();
XIStreamData = xmlpayload.getInputStream();
DocumentBuilderFactory docBuilderFactory =
DocumentBuilderFactory.newInstance();
DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
Document doc = docBuilder.parse(XIStreamData);
// finding the tag's name from the Modules tab in the Directory that will hold the attachment's name
String absenderIDTag = null;
absenderIDTag = moduleContext.getContextData("<RCVPRN>");
// finding the content of the tag that will be used as the attachment's name (assuming it's the only tag with this name)
Element element = doc.getDocumentElement();
NodeList list = doc.getElementsByTagName(absenderIDTag);
mailFileName += "_" + list.item(0).getFirstChild().getNodeValue();
String anIDTag = null;
anIDTag = moduleContext.getContextData("<CREDAT>");
element = doc.getDocumentElement();
list = doc.getElementsByTagName(anIDTag);
mailFileName += "_" + list.item(0).getFirstChild().getNodeValue();
Date date = new Date(System.currentTimeMillis());
// Add date to the Message
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMdd");
mailFileName += "_" + dateFormat.format(date);
String belegNummerTag = null;
belegNummerTag = moduleContext.getContextData("<BULK_REF>");
element = doc.getDocumentElement();
list = doc.getElementsByTagName(belegNummerTag);
mailFileName += "_" + list.item(0).getFirstChild().getNodeValue();
// creating the attachment
byte by[] = xmlpayload.getText().getBytes();
XMLPayload attachmentPDF = msg.createXMLPayload();
attachmentPDF.setName(mailFileName);
attachmentPDF.setContentType("application/pdf");
attachmentPDF.setContent(by);
//adding the message to the attachment
msg.addAttachment(attachmentPDF);
// provide the XI message for returning
inputModuleData.setPrincipalData(msg);
} catch (Exception e) {
// raise exception, when an error occurred
ModuleException me = new ModuleException(e);
throw me;
// return XI message
return inputModuleData;
Still I get the same error.
org.xml.sax.SAXParseException: Character conversion error: "Unconvertible UTF-8 character beginning with 0xaa" (line number may be too low).
Adapter-Framework: Character conversion error: "Unconvertible UTF-8 character beginning with 0xaa" (line number may be too low).
Regards,
Mukhtar
Maybe you are looking for
-
How to create and use dynamic queue in JMS
Plz tell me how to create and use a dynamic queue in jms and can reciever file lookup it as it lookup any server configurred queue(written in the server).
-
Do we have to upgrade HRMS 11.5.10.2 Family Pack I to Family Pack K?
Hi, Just a really quick question. Do we need to do a HRMS upgrade from 11.5.10.2 Family Pack I to Family Pack K to get isetup working? Our DBA has identified through analyzing the recommended patches (for 11.5.10.2) that this is a pre-requisite. We r
-
itunes is constantly skipping songs on all of my devises randomly. It is as if slip is being held. This is happening on my phones, iPad and macbook. Any suggestions?
-
Resize A Image Without Losing Quality
I have been reading about how to best resize image in PS CS4/CS5. I've read that you should increase the size of a image in increments and I've also read that you should resize using the bicubic smoother setting in PS. The image that I would like to
-
In November 2013 bought a new MacBook Pro (13 inch non-Retina) at the Apple store. Checked it after setting up and it is listed as a mid-2012 model. Doesn't this sound a bit like "bait and switch" or put more bluntly, a rip off. It may be re-condi