PDF file gets corrupted when generated from BSP
Hi,
I am generating a PDF file from a BSP page ( see the code below). The problem is that PDF file gets corrupted and I am unable to open it. I also tried to use other functions like GUI_Download and DOwnload as suggested by many and they also do not work either. Has any one generated a PDF from BSP and can some one help?
Data: GG type String.
event handler for data retrieval
data : event type ref to cl_htmlb_event.
class cl_htmlb_manager definition load.
class CL_HTTP_RESPONSE DEFINITION LOAD.
DATA : PARAMS TYPE PRI_PARAMS,
VALID TYPE C,
GV_SUCCESS_SPOOL_NO LIKE SY-SPONO.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING DESTINATION = 'LOCL'
COPIES = COUNT
LIST_NAME = 'TEST'
LIST_TEXT = 'Test NEW-PAGE PRINT ON'
IMMEDIATELY = ''
RELEASE = 'X'
NEW_LIST_ID = 'X'
EXPIRATION = DAYS
LINE_SIZE = 140
LINE_COUNT = 23
LAYOUT = 'X_PAPER'
SAP_COVER_PAGE = 'X'
RECEIVER = 'SAP*'
DEPARTMENT = 'System'
NO_DIALOG = 'X'
IMPORTING OUT_PARAMETERS = PARAMS
VALID = VALID.
IF VALID <> SPACE.
NEW-PAGE PRINT ON PARAMETERS PARAMS NO DIALOG.
write :/ 'Hello Message1'.
write :/ 'Hello Message2 '.
NEW-PAGE PRINT OFF .
ENDIF.
data : spool_no TYPE TSP01-RQIDENT .
spool_no = sy-spono.
DATA: itab TYPE TLINE,
witab TYPE TABLE OF TLINE,
output TYPE STRING,
outputx TYPE XSTRING.
data : l_pdf_len type i.
data: mi_bytecount type i.
DATA : APP_TYPE TYPE STRING VALUE 'APPLICATION/PDF' .
DATA: cached_response TYPE ref to if_HTTP_RESPONSE.
data : l_display_url type string .
data : guid type GUID_32 .
call function 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
SRC_SPOOLID = spool_no
NO_DIALOG = 'X'
IMPORTING
PDF_BYTECOUNT = mi_bytecount
TABLES
PDF = witab
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 = 8
ERR_BTCJOB_SUBMIT_FAILED = 9
ERR_BTCJOB_CLOSE_FAILED = 10
others = 11.
if sy-subrc EQ 0.
LOOP AT witab INTO itab.
CONCATENATE
output
itab-tdline
INTO output in character mode.
ENDLOOP.
endif.
CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
EXPORTING
text = output
mimetype = 'APPLICATION/PDF'
IMPORTING
buffer = outputx.
concatenate cl_abap_char_utilities=>byte_order_mark_little
outputx
into outputx in byte mode.
response->set_header_field( name = 'content-type' value =
'APPLICATION/PDF; charset=utf-16le' ).
response->delete_header_field( name =
if_http_header_fields=>cache_control ).
response->delete_header_field( name = if_http_header_fields=>expires
response->delete_header_field( name = if_http_header_fields=>pragma )
response->set_header_field( name = 'content-disposition'
value = 'attachment; filename = TEST.PDF'
l_PDF_len = xstrlen( OUTPUTX ).
response->set_data( data = OUTPUTx
length = l_PDF_len ).
navigation->response_complete( ).
Regards
Amit Agrawal
HI Craig Cmehil,
I have tried this code as well as given in the URL specified by you. But using this also browser shows the following content. It seems that PDF content is corrupted.
My Output as shown on Browser Starts below this line----
DF-1.3
%âãÏÓ
2 0 obj
/WinAnsiEncoding
endobj
3 0 obj
<<
/Type /Font
/Subtype /Type1
/BaseFont /Courier
/Name /F001
/Encodg 2 0 R
>>
endobj
4 0 obj
<<
/Length 5 0 R
>>
stream
/F001 7.30 Tf 0 0 0.753 rg BT 18.00 570.65 Td 0 Tw <33302E30362E3230302020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020>Tj ET 0 0 0.753 rg BT 2950 570.65 Td 0 Tw
<20204854545020436F6E74726F6C202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020>Tj ET 0 0 0.753 rg BT 572.40 570.65 Td 0 Tw <2020202020202020202020202031>Tj ET q 0 0 0 RG 0.55 w 18.00 562.90 m
634. 562.90 l S Q 0 0 0.753 rg BT 18.00 551.45 Td 0 Tw <48656C6C6F20416D6974>Tj ET 0 0 0.753 rg BT 18.00 541.85 Td 0 Tw <48656C6C6F204765726176>Tj ET
endstream
endobj
5 0 obj
624
endobj
6 0 obj
<<
/Type /Page
/MediaBox
/Parent 1 0 R
/Resource
<<
/ProcSet
/PDF /Text
/Font
<<
/F001 3 0 R
>>
/XObject
<<
>>
>>
/Contents 4 0 R
>>
endobj
7 0 obj
<<
/Author (AMG )
/CreationDate (20050630 181301)
/Creator (Form X_58_170 EN)
/Producer (SAP R/3 Release 620 )
%SAPinfoStart TOA_DARA
%FUNCTI=( )
%MANDANT=( )
%DEL_DATE=(00000000)
%SAP_OBJECT=( )
%AR_OBJECT=( )
%OBJECT_ID=( )
%FORM_ID=( )
%FORMARCHIV=( )
%RESERVE=( )
%NOTIZ=( )
%SAPinfoEnd TOA_DARA
>>
endobj
1 0 obj
<<
/Type /Pages
/Kids
[ 6 0 R
/Count 1
>>
endobj
8 0 obj<<
/Type /Catalog
/Pages 1 0 R
/PageMode /UseNone
>>
endobj
xref
0 9
0000000000 65535 f
0000001801 00000 n
0000000017 0000n
0000000052 00000 n
0000000157 00000 n
0000000840 00000 n
0000000862 00000 n
0000001048 00000 n
0000001869 00000 n
trailer
/Size 9
/Root 8 0 R
/Info 7 0 R
>>
startxref
1944
%%EOF
Browser Displey Content Ends----
My Coding Starts----
Data: GG type String.
event handler for data retrieval
data : event type ref to cl_htmlb_event.
class cl_htmlb_manager definition load.
class CL_HTTP_RESPONSE DEFINITION LOAD.
DATA : PARAMS TYPE PRI_PARAMS,
VALID TYPE C,
GV_SUCCESS_SPOOL_NO LIKE SY-SPONO.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING DESTINATION = 'LOCL'
COPIES = COUNT
LIST_NAME = 'TEST'
LIST_TEXT = 'Test NEW-PAGE PRINT ON'
IMMEDIATELY = ''
RELEASE = 'X'
NEW_LIST_ID = 'X'
EXPIRATION = DAYS
LINE_SIZE = 140
LINE_COUNT = 23
LAYOUT = 'X_PAPER'
SAP_COVER_PAGE = 'X'
RECEIVER = 'SAP*'
DEPARTMENT = 'System'
NO_DIALOG = 'X'
IMPORTING OUT_PARAMETERS = PARAMS
VALID = VALID.
IF VALID <> SPACE.
NEW-PAGE PRINT ON PARAMETERS PARAMS NO DIALOG.
write :/ 'Hello Amit'.
write :/ 'Hello Gaurav '.
NEW-PAGE PRINT OFF .
ENDIF.
GV_SUCCESS_SPOOL_NO = sy-spono.
data : spool_no TYPE TSP01-RQIDENT .
spool_no = sy-spono.
write: GV_SUCCESS_SPOOL_NO.
*write: spool_no.
IF display_type = 'convertspool'.
DATA: itab TYPE TLINE,
witab TYPE TABLE OF TLINE,
output TYPE STRING,
outputx TYPE XSTRING.
data : l_pdf_len type i.
data: mi_bytecount type i.
DATA : APP_TYPE TYPE STRING VALUE 'APPLICATION/PDF' .
DATA: cached_response TYPE ref to if_HTTP_RESPONSE.
data : l_display_url type string .
data : guid type GUID_32 .
spool_no like TSP01-RQIDENT .
*spool_no = GV_SUCCESS_SPOOL_NO .
call function 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
SRC_SPOOLID = spool_no
NO_DIALOG = 'X'
IMPORTING
PDF_BYTECOUNT = mi_bytecount
TABLES
PDF = witab
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 = 8
ERR_BTCJOB_SUBMIT_FAILED = 9
ERR_BTCJOB_CLOSE_FAILED = 10
others = 11.
if sy-subrc EQ 0.
LOOP AT witab INTO itab.
CONCATENATE
output
itab-tdline
INTO output in character mode.
ENDLOOP.
endif.
*write : output.
CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
EXPORTING
text = output
mimetype = 'APPLICATION/PDF'
IMPORTING
buffer = outputx.
*concatenate cl_abap_char_utilities=>byte_order_mark_little
*outputx
*into outputx in byte mode.
CREATE OBJECT cached_response TYPE CL_HTTP_RESPONSE EXPORTING add_c_msg = 1.
some Browsers have caching problems when loading Excel Format
response->set_header_field( name = 'content-type' value =
'APPLICATION/PDF' ).
response->delete_header_field( name =
if_http_header_fields=>cache_control ).
response->delete_header_field( name = if_http_header_fields=>expires
response->delete_header_field( name = if_http_header_fields=>pragma )
l_pdf_len = xstrlen( outputx ).
cached_response->set_data( data = outputx
length = l_pdf_len ).
cached_response->set_header_field( name = if_http_header_fields=>content_type
value = 'application/pdf' ).
cached_response->set_status( code = 200 reason = 'OK' ).
cached_response->server_cache_expire_rel( expires_rel = 180 ).
CALL FUNCTION 'GUID_CREATE'
IMPORTING
ev_guid_32 = guid.
CONCATENATE runtime->application_url '/' guid '.pdf' INTO l_display_url.
cl_http_server=>server_cache_upload( url = l_display_url
response = cached_response ).
RETURN.
My Coding Ends----
Any Further help on this.
Regards
Amit Agrawal
Similar Messages
-
Excel files getting corrupted when editing locally
We are getting corrupted files when using "edit locally". Editing seems to work fine, but when the next user tries to open the file it is corrupted. This error only occurs intermittently. When checking the logs I found below error message:
#com.sapportals.wcm.repository.service.appproperties.PropertiesManager#irj#com.sapportals.wcm.repository.service.appproperties.PropertiesManager.handleCheckout(431)#System#0#####Client_Thread_13##0#0#Error##Plain###Failed to handle checkout for rid /ithw/it hw documents/Inventory/MU_Inventory.xls: com.sapportals.wcm.repository.service.appproperties.persistence.PersistenceException: [SAP_Portals][Oracle JDBC Driver][Oracle]ORA-00001: unique constraint (SAPWCM.WCM_AP_PROP_PRIMARY) violated
ORA-06512: at "SAPWCM.WCM_AP_COPY", line 1
ORA-06512: at line 1
Does this have anything to do with my problem? What do I do about it?
We're using KM Docuserver Control 6.1.5.1
Regards
Carl SchultzeTSM:
Thanks for the reply. I'd be "LOST" without you!
Anyway, the camera only came with a Windows disk. Per the manufacturer, it doesn't need mac drivers, and the windows drivers are only for the web cam function (which i don't use.)
The camera is formatted under FAT32 (Windows) format. I couldn't run permissions repair. I did do a repair disk under disk utility. Still having the issues.
I tried iMovie. I can import the avi file from the camera, and it works!!!!
So it would appear that there's a bad codec in QT/Perian/VLC? -
PDF file getting corrupted while creating document
Dear experts ,
we are creating DMS document using BAPI_DOCUMENT_CREATE2 , its all working fine in DEV and Quality system but in production system in case of PDF file bapi is returning success message , but user is not able to display or see the document , getting an error saying 'There was an error opening this document. The file is damagedand could not be repaired'.
my fuction module getting call from java webdynpro application , I have doubt on the OPEN DATASET statments
I am using below code to transfer data to application server ,
IF iv_file_path IS NOT INITIAL.
SPLIT iv_file_path AT '.' INTO lv_filename lv_ext.
CALL FUNCTION 'CV120_DOC_GET_APPL'
EXPORTING
pf_file = iv_file_path
IMPORTING
pfx_dappl = lv_file_type.
TRANSLATE lv_file_type TO UPPER CASE.
OPEN DATASET log FOR OUTPUT IN BINARY MODE
TRANSFER lv_ext TO log.
ls_documentfiles-wsapplication = lv_file_type.
TRANSLATE ls_documentfiles-wsapplication TO UPPER CASE.
CONCATENATE
lv_filename
lv_ext
INTO lv_file_name.
CONDENSE lv_file_name NO-GAPS.
TRANSFER lv_file_name TO log.
OPEN DATASET lv_file_name FOR OUTPUT IN BINARY MODE MESSAGE lv_msg.
**Transfer Attachment Content to Application Server
TRANSFER iv_file_data TO lv_file_name.
CLOSE DATASET lv_file_name.
Please helpAfter convert PDF file you have to use following FM the u send file.
DATA: pdf TYPE REF TO cl_hrasr00_pdf_generation.
DATA : lt_data TYPE solix_tab.
OPEN DATASET filename FOR INPUT IN BINARY MODE.
IF sy-subrc EQ 0.
READ DATASET filename INTO filex.
ENDIF.
IF filex IS NOT INITIAL.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = filex
IMPORTING
output_length = file_length
TABLES
binary_tab = gt_objbin.
ENDIF.
CLOSE DATASET filename. -
Pdf file gets huge when attached to an e-mail
A very strange problem. Yesterday, I received an e-mail with a pdf attachment that was 10MB. When I saved the attachement to a fold, it became 9.6kb. I created a new e-mail and attched the smaller saved version of the pdf. It showed as 10MB in the e-mail. The same thing happened to another e-mail pdf attachment that I received this morning. I even inserted an older pdf file from my computer into a new e-mail. Same thing. This is making it very difficult to send e-mails with pdf attachment, as they are too large for some to receive. the sender of the original e-mail is also seeing it in the sent e-mail as 10 MB.
I have windows XP Professional Version 2002 SP 3; Acrobat reader 9.3First of all: what e-mail client are you using?
Do you use Adobe Reader to send the PDF file, or you simply attach the PDF to a message you are composing? That message, what format is it - plain text, HTML, RTF?
Anyway, I have a very hard time to understand how a file of 9.6KB can show up more than a 1000 times larger (10MB) as a PDF attachment! Does your e-mail client give the exact size of the attachment, additionally to the total size of the message? -
Layered PSD files getting corrupted when applying a gaussian blur.
A file is created then three layers to keep simple a red square is created using the marquee tool then filled with a colour this is repeated on the next layer with a different colour then the third layer is completely filled with another colour.
The first two layers are selected and scaled then made transparent.
Finally the layer in between layer 3 and layer 1 is selected and a gaussian blur is applied this is when the corruption occurs
Files are being created using Adobe Photoshop CS6 version v13.0.6 and OSX v10.9.3 on Mac Pro with the below specs:
Model Name: Mac Pro
Model Identifier: MacPro5,1
Processor Name: Quad-Core Intel Xeon
Processor Speed: 2.8 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 8 MB
Memory: 12 GB
Processor Interconnect Speed: 4.8 GT/s
ATI Radeon HD 5870:
Chipset Model: ATI Radeon HD 5870
Type: GPU
Bus: PCIe
Slot: Slot-1
PCIe Lane Width: x16
VRAM (Total): 1024 MB
Vendor: ATI (0x1002)
Device ID: 0x6898
Revision ID: 0x0000
ROM Revision: 113-C0780C-194
EFI Driver Version: 01.00.436
Displays
CG277:
Resolution: 2560 x 1440
Pixel Depth: 32-Bit Color (ARGB8888)
Main Display: Yes
Mirror: Off
Online: Yes
Rotation: Supported
Connection Type: DisplayPort
After file is corrupted Photoshop has to be closed and re-opened because subsequent files that are opened are corrupted.
This has been reported in CS5 and CS5.5 extensively but not so much in CS6.Below is the steps that where used to create the corruption in the files.
Gausian Blur corruption in Photoshop
Step 1. Create document with 3 layers + Background.
Step 2. Layer 3 - Create a box (Red)
Step 3. Layer 2 - Create a box (Blue)
Step 4. Layer 1 – Fill layer (Yellow)
Step 5. Select layer 3 & 2 & scale down & press
return
Step 6. Change opacity of layer 1 & 2 to 25%
Step 7. Go to layer 2 and select Gaussian Blur filter
Please Note that the blue & Red Box Have changed
colour.
As I Zoom in and out the corruption gets worse.
Sometimes this corruption dose’nt show up until you have
saved & reopened the file. -
Some PDF attachments are corrupted when emailed using javamail
I have a java class that takes a file name, 'To' email, and 'From' email as parameters, and then emails the named file to the specified address as a Multipart email.
The problem that I am facing is that sometimes the PDF cannot be opened when it arrives because it is corrupt. I know that prior to sending, the PDF opens without issue, so the problem is in the code somewhere.
There are a couple of oddities here:
1) PDFs that get corrupted and PDFs that do not get corrupted are generated from the same source (Oracle Report), so I believe that rules out a problem with malformed emails?
2) If I compare the PDF before it gets sent to the PDF that arrives in my inbox using a hex editor (XVI32), the files are identical except that an extra character is getting added to the corrupt PDFs at the end of each line - hex '0A', which corresponds to ASCII linefeed. This indicates to me that maybe there is a problem with the way that the file is getting encoded when it is read. If I remove all of the 0A characters, the file opens correctly.
I believe that the code I am using is set up correctly, as I have looked at countless examples of this online to try to find my problem. Hopefully someone can point me in the right direction. Code is included below.
Thanks,
Nick
import java.util.*;
import javax.activation.DataHandler;
import javax.activation.FileDataSource;
import javax.mail.*;
import javax.mail.internet.*;
public class test {
public static void main(String args[]) {
System.out.println("entered TEST email class");
if (args.length < 3) {
System.out.println("Invalid number of arguments. Syntax is 'java test <fileName> <fromEmail> <toEmail>'");
} else {
System.out.println("Correct number of arguments.");
send(args[0], args[1], args[2]);
public static void send(String fileName, String fromEmail, String toEmail) {
System.out.println("Made it to SEND method");
try {
Properties props = new Properties();
props.put("mail.smtp.host", "email.host");
Session session = Session.getDefaultInstance(props, null);
MimeMessage msg = new MimeMessage(session);
//set from/to email addresses
System.out.println("Setting email addresses...");
msg.setFrom(new InternetAddress(fromEmail));
msg.setRecipients(javax.mail.Message.RecipientType.TO, toEmail);
//set email subject
System.out.println("Setting subject...");
msg.setSubject("email from TEST class");
//define a body part for the email text and add text to it
System.out.println("Setting body...");
MimeBodyPart messageBodyPart = new MimeBodyPart();
messageBodyPart.setContent("This is the email body. Here is some more body.", "text/html");
//add code for attachment here!!
System.out.println("Setting attachment...");
MimeBodyPart attachFilePart = new MimeBodyPart();
FileDataSource fds =
new FileDataSource(fileName);
attachFilePart.setDataHandler(new DataHandler(fds));
attachFilePart.setFileName(fds.getName());
//define a multipart, and add the text body part and the attachment body part to it
System.out.println("Building message...");
Multipart mp = new MimeMultipart();
mp.addBodyPart(messageBodyPart);
mp.addBodyPart(attachFilePart);
//add the multipart to the message
msg.setContent(mp);
//send the email
System.out.println("Sending message...");
Transport.send(msg);
System.out.println("Email has been sent!");
} catch (Exception e) {
System.out.println("Error in test.send method: " + e.getMessage());
}Edited by: nbacon on Sep 2, 2010 12:12 PMNormally pdf files are text, with any binary data represented as encoded text. If your pdf files
include raw binary data, JavaMail can be confused. JavaMail will try to guess what encoding
is appropriate for your data. If the data is mostly text, JavaMail will use quoted-printable encoding,
and will canonicalize the text lines to end with CRLF (0x0D, 0x0A). A 0x0D in the binary will look
like an end of line and will turn into 0x0D, 0x0A.
You can force JavaMail to use base64 encoding for your data, which will preserve the binary
data exactly, by using
attachFilePart.setHeader("Content-Transfer-Encoding", "base64");
after setting the content for the part.
Alternatively, you could figure out how to generate pdf files that don't include raw binary data. -
Essexcln.xll file gets corrupted
Hi All,
*[The location of essexcln.xll file : *C:\Oracle\Middleware\EPMSystem11R1\products\Essbase\EssbaseServer-32\bin*].*
While i opening the Microsoft Excel, I get the following Error,
"The file you are trying to open 'essexcln.xll' is in a different format than specified by the file extension.Verify that the file is not corrupted and is from a trusted source before opening the file.Do you want to open the file now?"
I Proceed YES to open the Excel File, now also I didnt get the Essbase Add-Ins instead I'm getting Encrypted datas in spreadsheet.
Kindly guide me how to overcome this issue
Thanks And Regards
ChiDamHi Vasavya,
After I ReInstall and ReConfigure the Essbase client 11.1.2 (Microsoft Windows 64 bit), I'm getting the same Error as
*" essexcln.xll file gets corrupted "* when i open the MicroSoft Excel 2007
More than that I have two folders [*EssbaseClient and EssbaseClient-32*] in the following path
*" C:\Oracle\Middleware\EPMSystem11R1\products\Essbase ".*
And also EssbaseClient and EssbaseClient-32 having the same set of SubFolders
They are
Bin
Locale
Perlmod
Kindly guide me how to overcome this Issue.
Thanks And Regards
ChiDam -
Hi Experts,
I need to know why the essexcln.xll file gets corrupted and how it can be prevented?
Thanks,Hi Vasavya,
After I ReInstall and ReConfigure the Essbase client 11.1.2 (Microsoft Windows 64 bit), I'm getting the same Error as
*" essexcln.xll file gets corrupted "* when i open the MicroSoft Excel 2007
More than that I have two folders [*EssbaseClient and EssbaseClient-32*] in the following path
*" C:\Oracle\Middleware\EPMSystem11R1\products\Essbase ".*
And also EssbaseClient and EssbaseClient-32 having the same set of SubFolders
They are
Bin
Locale
Perlmod
Kindly guide me how to overcome this Issue.
Thanks And Regards
ChiDam -
The PDF file and slideshow view corrupted using iPhoto. Macbook air only get corrupted slideshow and Mac Mini both slideshow and PDF file is corrupted.
Saving as a PDF file for some users have been a problem. If you boot into Safe Mode and run iPhoto you can create undamaged PDF files. We don't know why the problem but this is a workaround.
This problem prevents many from ordering books, calendars and cards since iPhoto creates PDF file of them for uploading and printing. Booting into Safe Mode lets them successfully order those items. -
Will the app specific files get deleted when i remove/uninstall an app from iPad
I mean those files added to an app using iTunes. For example, pdf files added to a reader.
Do these files get deleted when i delete an app from iPad?I've learnt that this data do get deleted along with the app during deletion/uninstallation. Please correct me if I'm wrong.
-
Created a pdf file showing a graph generated with CL_GUI_CHART_ENGINE
Hi Experts!
Please, anyone has already created a pdf file showing a graph generated with CL_GUI_CHART_ENGINE??
Could anyone help me with this requirement?
Thanks in advance,
Best regardsHi,
I searched and found another solution, because with the code from the link above I got everytime a short dump, maybe I did something wrong.
The solution works with Adobe Form
1. I used the class cl_igs_chart_engine to create a chart with my data and customizing to get the binary data of the image.
2. Convert the binary tab to xstring.
3. You can use this xstring on the Adobe Form to display the image.
Maybe the following tips are useful.
*How to get the data of chart you can see in the class
CL_TIME_CHART_SIMPLE (use cl_gui_chart_engine for the chart but class cl_igs_chart_engine for saving the image)
*How to bind the image to the importing parameter (xstring)
/people/thomas.jung3/blog/2005/07/13/lessons-learned-from-adobe-forms-development
Regards -
I can't open pdf files I have down-loaded from Safari
I can't open pdf files I have down-loaded from Safari (6.0 and OSX 10.8) with preview or acrobat. I get a corrupted file message. Anyone have a fix?
From the Safari menu bar, select Safari ▹ Preferences… ▹ Security and uncheck the box labeled Enable plug-ins. Test.
-
can we control the PDF file name that is generated by BI Publisher based on the content in the input PDF?
No, there isn't. The way you're using the file is not recommended. You
should use a review tracker to avoid getting in the way of one another. -
Adobe Acrobat V9 Professional crashes or causes PDFs to be corrupted when using Dragon software
Adobe Acrobat V9 Professional crashes or causes PDFs to be corrupted when using Dragon software. I use Nuance Dragon NaturallySpeaking 11.5 to assist me when I add comments to a PDF. I also use it when making additions or changes to text. When I use the two software programs together, Acrobat constantly crashes. If it doesn't crash, an error occurs trying to save the file. I entered 988 comments into a 158-pg PDF, only to find the file was corrupted and couldn't be printed. I also could not see the list of comments (click Show Comments).
These problems do not occur if I don't use both products simultaneously.Never overwrite a clip that is used in Pr. Give the
modified/corrected/updated clip a new name and import that into your Pr
project. Then Alt+Drag the new clip on top of the old clip in the
timeline to replace the clip instance.
If import-then-drag isn't your style, then right-clicking the original
clip in the Project panel and selecting Replace Footage will accomplish
the same thing.
This important rule applies in Encore as well.
-Jeff -
PDF files break up when scrolling down the page
Embedded pdf files break up when scrolling down the page i.e.
http://www.wight-cam.co.uk/WightCAM/HTML/2011/110321.htmGo to the "inspector"-click on the "table" icon-then "headers and footers" where you can set the number of headers or footers you want and click/unclick "freeze". You can also do that directly from the button bar on the "header-footer" buttons
Maybe you are looking for
-
Blue Screen on RESUME on HP Vision All-in-One PC
Hi. For the past week or so my All-in-One PC has been crashing with a Blue Screen whenever it comes out of hibernation. It doesn't seem to matter if it went into hibernate on its own, or through the Start -> Sleep action. The blue screen usually poin
-
How to determine what application is playing alert sound?
I am attempting to solve two issues with application notification sounds on my Yosemite running MacBook Pro Early 2011. First, I expect that setting the OS to DND should mute all application alert sounds. Mine seems to mute things like calendar but d
-
I am new to DW and have a question I am hoping someone will answer. I am using Spry.Data.XMLDataSet found in SpryData.js. I have it working correctly, but if I change the XML content and attempt to reload the page using this data it does not show the
-
Duplicate Accounts merging in Interaction center
Hi, I created 2 acounts with same data like adress postal code and country etc.when i am trying to merge log in with interaction centre agent.it is showing merging option after click on merge screen is disappeared there is no message like accounts me
-
Kill Concurrent manager process
Hi experts, we deactivate the concurrent process by using concurrent process id,it showing the status "Deactivating" we would like to be status should be "Deactivated". what i should do that? Thanks sundar.