Is Adobe PDF conversion into xlsx files a flop?
Can anyone help me with this real phenomen?
I have converted a PDF file into xlsx. To my surprise, the european decimal "coma" was displaced by one caracter to the left as a thousand (point), this in numbers of up five caraters including two decimals.
Example 1: PDF number 165,65 becomes 16.565 in xlsx.
For numbers greater that 5 caracters, the conversion is correct
Example 2: 2.615,97 is correctly tranposed.
For large data files this makes the xlsx file (and PDF converter) uselees.
Any one can help? Is this a PDF flop?
Adobe reader is XI. Adobe exportPDF was renewed on the Nov 3, 2013. Is this what you asked?
Cheers
Similar Messages
-
Hi ABAP Exterts,
Any one help on this , there is a requirement to download the data into XLSX file only.
I am able to to download the data into XLS file using the FM: GUI_DOWNLOAD in SAP ECC 6.0and also opening the file . But when i download the data into XLSX file . I am able to download the data into GUI_DOWNLOAD. But while opening the file i am getting the below mentioned error.
'Excel cannot open the file 'filename.xlsx' because the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file'
Ok buttom is coming not able to open the file.
When i use the FM: SAP_CONVERT_TO_XLS_FORMAT to download the XLS it self it is going abap DUMP that file type error.
Any one help any Function Module or how to download data through abap programing into XLSX file.
Thanks.
Murali.
Message was edited by: Matthew Billingham - adjusted wording...If you want to download your ALV to an .XLXS format file, with all the formatting intact, please try the following code. I have tried to create a custom Function module Z_EXCEL_DOWNLOAD_TEST wherein I pass all the callback variables, the final ALV internal table and all the ALV details like field catalog, sort, layout, event list and so on, along with the concatenated file path and file name in I_FILE. I have used a custom class ZCL_SALVEXPORT_XML which is a copy of the standard class CL_SALV_EXPORT_XML_DIALOG, with few modifications in Method: EXECUTE and Method: DOWNLOAD. The methods where I have modified the code are also shown at the end.
****************Global declarations***********************
TYPE-POOLS: slis,
kkblo.
TYPES: t_fccls(1) TYPE c OCCURS 0.
TYPES: BEGIN OF ty_nosum,
fieldname TYPE kkblo_fieldname, "Field name
tabname TYPE kkblo_tabname, "Table name
fieldname_dep TYPE kkblo_fieldname, "Field name
tabname_dep TYPE kkblo_tabname, "Table name
index TYPE sy-index, "Index
END OF ty_nosum.
TYPES: t_nosum TYPE TABLE OF ty_nosum INITIAL SIZE 0 WITH NON-UNIQUE DEFAULT KEY.
TYPES: BEGIN OF ty_dep_field,
s_dep_fieldcat TYPE kkblo_fieldcat, "Field cat
t_ref_fieldcat TYPE kkblo_t_fieldcat, "Field cat
END OF ty_dep_field.
TYPES: BEGIN OF ty_ref_field,
s_ref_fieldcat TYPE kkblo_fieldcat, "Field cat
s_dep_fieldcat TYPE kkblo_fieldcat, "Field cat
END OF ty_ref_field.
TYPES: t_dep_field TYPE ty_dep_field OCCURS 0. "
TYPES: t_ref_field TYPE ty_ref_field OCCURS 0.
TYPES: BEGIN OF ty_memory,
object(20) TYPE c, "Object
memcount(4) TYPE c, "count
END OF ty_memory.
*ALV Customer Wrapper
TYPES: BEGIN OF ty_type_header_info,
tabname TYPE kkblo_tabname, "Table name
fieldname TYPE kkblo_fieldname, "Field name
sequence TYPE i, "Sequence
field TYPE char80, "Field
pagno TYPE sypagno, "Page num
linno TYPE sy-linno, "Current Line in List
colno TYPE sy-colno, "Current List Column
END OF ty_type_header_info,
t_type_header_info TYPE SORTED TABLE OF ty_type_header_info
WITH UNIQUE KEY tabname fieldname.
TYPES: BEGIN OF ty_type_row_info,
tabname TYPE kkblo_tabname, "Table name
tabindex TYPE syindex, "Index
field TYPE char80, "Field name
pagno TYPE sypagno, "Page num
linno TYPE sy-linno, "Current Line in List
colno TYPE sy-colno, "Current List Column
END OF ty_type_row_info,
t_type_row_info TYPE SORTED TABLE OF ty_type_row_info
WITH UNIQUE KEY tabname tabindex.
TYPES: BEGIN OF ty_type_sel_header,
tabname TYPE kkblo_tabname, "table name
fieldname TYPE kkblo_fieldname, "field name
END OF ty_type_sel_header,
t_type_sel_header TYPE SORTED TABLE OF ty_type_sel_header
WITH UNIQUE KEY tabname fieldname.
TYPES: BEGIN OF ty_type_sel_row,
tabname TYPE kkblo_tabname,
tabindex TYPE syindex,
END OF ty_type_sel_row,
t_type_sel_row TYPE SORTED TABLE OF ty_type_sel_row
WITH UNIQUE KEY tabname tabindex.
TYPES: BEGIN OF ty_type_sel_cell,
tabname TYPE kkblo_tabname,
tabindex TYPE syindex,
fieldname TYPE kkblo_fieldname,
END OF ty_type_sel_cell.
TYPES: BEGIN OF ty_type_selections,
t_row_info TYPE t_type_row_info,
t_header_info TYPE t_type_header_info,
t_selected_headers TYPE t_type_sel_header,
t_selected_rows TYPE t_type_sel_row,
s_current_cell TYPE ty_type_sel_cell,
set_headers TYPE sap_bool,
set_rows TYPE sap_bool,
set_current_cell TYPE sap_bool,
END OF ty_type_selections.
TYPES: BEGIN OF ty_stack3,
r_grid TYPE REF TO cl_gui_alv_grid, "Y6DK050176
r_salv_adapter TYPE REF TO if_salv_adapter,
s_selections TYPE ty_type_selections,
r_print_state TYPE REF TO if_alv_print_parameter_proxy, "Y6DK075821
suppress_empty_data TYPE abap_bool,
END OF ty_stack3.
TYPES: t_stack3 TYPE ty_stack3 OCCURS 0.
TYPES: BEGIN OF ty_stack,
i_callback_program TYPE sy-repid,
i_callback_user_command TYPE kkblo_formname,
i_callback_top_of_page TYPE kkblo_formname,
i_callback_top_of_list TYPE kkblo_formname,
i_callback_end_of_page TYPE kkblo_formname,
i_callback_end_of_list TYPE kkblo_formname,
i_callback_pf_status_set TYPE kkblo_formname,
i_callback_fieldcat_save TYPE kkblo_formname,
i_callback_layout_save TYPE kkblo_formname,
i_tabname TYPE kkblo_tabname,
i_tabname_slave TYPE kkblo_tabname,
is_keyinfo TYPE kkblo_keyinfo,
is_layout TYPE kkblo_layout,
it_fieldcat TYPE kkblo_t_fieldcat,
i_fctype(1) TYPE c,
it_excluding TYPE kkblo_t_extab,
it_special_groups TYPE kkblo_t_sp_group,
it_sort TYPE kkblo_t_sortinfo,
it_except_qinfo TYPE kkblo_t_qinfo,
is_sel_hide TYPE kkblo_sel_hide,
t_columns TYPE kkblo_t_columns,
t_filter TYPE kkblo_t_filter,
s_lprint TYPE kkblo_lprint,
print_line_break TYPE char1,
t_isetab TYPE kkblo_seldis,
t_fccls TYPE t_fccls,
t_sfinfo TYPE kkblo_t_sfinfo,
t_ref_field TYPE t_ref_field,
t_dep_field TYPE t_dep_field,
flg_default_status(1) TYPE c,
flg_selections TYPE char1,
flg_allow_no_selection TYPE char1,
flg_input TYPE char1,
flg_called TYPE char1,
flg_popup TYPE char1,
flg_endlist TYPE char1,
listtype TYPE char1,
actcols TYPE i,
is_list TYPE char1,
END OF ty_stack.
TYPES: t_stack TYPE ty_stack OCCURS 0.
TYPES: BEGIN OF ty_stack2,
button_col1(20) TYPE c,
button_col2(20) TYPE c,
button_col3(20) TYPE c,
button_col4(20) TYPE c,
button_col5(20) TYPE c,
s_header TYPE kkblo_header,
t_sfinfo_slave TYPE kkblo_t_sfinfo,
t_suminfo TYPE kkblo_t_sfinfo,
t_sfsave TYPE kkblo_t_sfinfo,
t_nosum TYPE t_nosum,
window_title TYPE rsmpe-tittext, " Item_selection
flg_scroll_to_line(1) TYPE c, " Item_selection
flg_top_of_page(1) TYPE c,
flg_subtot(1) TYPE c,
flg_output_in_progress(1) TYPE c,
flg_grouplevels(1) TYPE c,
flg_groupedit(1) TYPE c,
flg_calculate_totals(1) TYPE c,
sumlevel TYPE sy-tabix,
memory_stack1 TYPE ty_memory,
memory_stack2 TYPE ty_memory,
memory_outtab TYPE ty_memory,
t_colmark TYPE kkblo_t_colmark,
t_rowmark TYPE kkblo_t_rowmark,
it_event_exit TYPE kkblo_t_event_exit,
t_groups TYPE kkblo_t_grouplevels,
t_filter_groups TYPE kkblo_t_grouplevels,
s_subtot_options TYPE kkblo_subtot_options,
flg_append_mode(1) TYPE c,
is_reprep_id TYPE kkblo_reprep_id,
i_callback_before_line_output TYPE kkblo_formname,
i_callback_after_line_output TYPE kkblo_formname,
i_callback_foreign_top_of_page TYPE kkblo_formname,
i_callback_foreign_end_of_page TYPE kkblo_formname,
i_callback_list_modify TYPE kkblo_formname,
i_callback_top_of_coverpage TYPE kkblo_formname,
i_callback_end_of_coverpage TYPE kkblo_formname,
i_callback_grouplevel_change TYPE kkblo_formname,
i_callback_item_data_expand TYPE kkblo_formname,
i_callback_header_transport TYPE kkblo_formname,
i_callback_reprep_sel_modify TYPE kkblo_formname,
i_callback_subtotal_text TYPE kkblo_formname,
END OF ty_stack2.
TYPES: t_stack2 TYPE TABLE OF ty_stack2 INITIAL SIZE 0.
** *--- iTables
DATA: it_stack TYPE t_stack WITH HEADER LINE.
DATA: it_stack2 TYPE t_stack2 WITH HEADER LINE.
***ALV Customer Wrapper
DATA: it_stack3 TYPE t_stack3 WITH HEADER LINE.
CONSTANTS: BEGIN OF c_con_listtype,
simple(1) TYPE c VALUE 'S',
hier_sequ(1) TYPE c VALUE 'H',
matrix(1) TYPE c VALUE 'M',
END OF c_con_listtype.
DATA: gv_callback_program1 TYPE sy-repid,
gv_callback_user_command1 TYPE kkblo_formname,
gv_callback_top_of_page1 TYPE kkblo_formname,
gv_callback_top_of_list1 TYPE kkblo_formname,
gv_callback_end_of_page1 TYPE kkblo_formname,
gv_callback_end_of_list1 TYPE kkblo_formname,
gv_callback_pf_status_set1 TYPE kkblo_formname,
gv_callback_layout_save1 TYPE kkblo_formname,
gv_callback_fieldcat_save1 TYPE kkblo_formname,
gv_callback_grouplevel_change1 TYPE kkblo_formname,
gv_callback_before_line_otput1 TYPE kkblo_formname,
gv_callback_after_line_otput1 TYPE kkblo_formname,
gv_callback_foreign_top_of_pg1 TYPE kkblo_formname,
gv_callback_foreign_end_of_pg1 TYPE kkblo_formname,
gv_callback_list_modify1 TYPE kkblo_formname,
gv_callback_top_of_coverpge1 TYPE kkblo_formname,
gv_callback_end_of_coverpge1 TYPE kkblo_formname,
gv_callback_item_data_expand1 TYPE kkblo_formname,
gv_callback_header_transport1 TYPE kkblo_formname,
gv_callback_reprep_sel_modify1 TYPE kkblo_formname,
gv_callback_subtotal_text1 TYPE kkblo_formname,
gv_layout1 TYPE kkblo_layout,
gv_fieldcat1 TYPE kkblo_t_fieldcat,
gv_fctype1 TYPE c,
gv_event_exit1 TYPE kkblo_t_event_exit,
gv_excluding1 TYPE kkblo_t_extab,
gv_special_groups1 TYPE kkblo_t_sp_group,
gv_sort1 TYPE kkblo_t_sortinfo,
gv_filter1 TYPE kkblo_t_filter,
gv_except_qinfo1 TYPE slis_t_qinfo_alv,
gv_sel_hide1 TYPE slis_sel_hide_alv,
gv_reprep_id1 TYPE slis_reprep_id,
gv_screen_start_column1 TYPE i,
gv_salv_adapter1 TYPE REF TO if_salv_adapter,
gv_suppress_empty_data1 TYPE sap_bool.
FUNCTION z_excel_download_test.
*"*"Local Interface:
*" IMPORTING
*" REFERENCE(I_BYPASSING_BUFFER) TYPE CHAR01 OPTIONAL
*" REFERENCE(I_BUFFER_ACTIVE) OPTIONAL
*" REFERENCE(I_CALLBACK_PROGRAM) TYPE SY-REPID OPTIONAL
*" REFERENCE(I_CALLBACK_USER_COMMAND) OPTIONAL
*" REFERENCE(I_CALLBACK_TOP_OF_PAGE) OPTIONAL
*" REFERENCE(I_CALLBACK_TOP_OF_LIST) OPTIONAL
*" REFERENCE(I_CALLBACK_END_OF_PAGE) OPTIONAL
*" REFERENCE(I_CALLBACK_END_OF_LIST) OPTIONAL
*" REFERENCE(I_CALLBACK_PF_STATUS_SET) OPTIONAL
*" REFERENCE(I_CALLBACK_LAYOUT_SAVE) OPTIONAL
*" REFERENCE(I_CALLBACK_FIELDCAT_SAVE) OPTIONAL
*" REFERENCE(I_CALLBACK_GROUPLEVEL_CHANGE) OPTIONAL
*" REFERENCE(I_CALLBACK_BEFORE_LINE_OUTPUT) OPTIONAL
*" REFERENCE(I_CALLBACK_AFTER_LINE_OUTPUT) OPTIONAL
*" REFERENCE(I_CALLBACK_FOREIGN_TOP_OF_PAGE) OPTIONAL
*" REFERENCE(I_CALLBACK_FOREIGN_END_OF_PAGE) OPTIONAL
*" REFERENCE(I_CALLBACK_LIST_MODIFY) OPTIONAL
*" REFERENCE(I_CALLBACK_TOP_OF_COVERPAGE) OPTIONAL
*" REFERENCE(I_CALLBACK_ITEM_DATA_EXPAND) OPTIONAL
*" REFERENCE(I_CALLBACK_END_OF_COVERPAGE) OPTIONAL
*" REFERENCE(I_CALLBACK_HEADER_TRANSPORT) OPTIONAL
*" REFERENCE(I_CALLBACK_REPREP_SEL_MODIFY) OPTIONAL
*" REFERENCE(I_CALLBACK_SUBTOTAL_TEXT) OPTIONAL
*" REFERENCE(I_TABNAME) TYPE SLIS_TABNAME OPTIONAL
*" REFERENCE(I_FCTYPE) DEFAULT 'R'
*" REFERENCE(IT_EXCEPT_QINFO) TYPE SLIS_T_QINFO_ALV OPTIONAL
*" REFERENCE(IS_SEL_HIDE) TYPE SLIS_SEL_HIDE_ALV OPTIONAL
*" REFERENCE(IS_REPREP_ID) TYPE SLIS_REPREP_ID OPTIONAL
*" REFERENCE(I_SCREEN_START_COLUMN) DEFAULT 0
*" REFERENCE(I_OO_ALV) OPTIONAL
*" REFERENCE(IR_SALV_ADAPTER) TYPE REF TO IF_SALV_ADAPTER OPTIONAL
*" REFERENCE(I_SUPPRESS_EMPTY_DATA) TYPE SAP_BOOL DEFAULT
*" ABAP_FALSE
*" REFERENCE(I_FILE) TYPE STRING OPTIONAL
*" REFERENCE(IT_FIELDCAT) TYPE SLIS_T_FIELDCAT_ALV OPTIONAL
*" REFERENCE(IS_LAYOUT) TYPE SLIS_LAYOUT_ALV OPTIONAL
*" REFERENCE(IT_SORT) TYPE SLIS_T_SORTINFO_ALV OPTIONAL
*" REFERENCE(IT_FILTER) TYPE SLIS_T_FILTER_ALV OPTIONAL
*" REFERENCE(IT_EXCLUDING) TYPE SLIS_T_EXTAB OPTIONAL
*" REFERENCE(IT_SPECIAL_GROUPS) TYPE SLIS_T_SP_GROUP_ALV OPTIONAL
*" REFERENCE(IS_KEYINFO) TYPE SLIS_KEYINFO_ALV OPTIONAL
*" REFERENCE(IT_EVENT_EXIT) TYPE SLIS_T_EVENT_EXIT OPTIONAL
*" REFERENCE(IS_LIST_SCROLL) TYPE SLIS_LIST_SCROLL OPTIONAL
*" REFERENCE(IS_PRINT) TYPE SLIS_PRINT_ALV OPTIONAL
*" REFERENCE(IS_LINEINFO) TYPE SLIS_LINEINFO OPTIONAL
*" REFERENCE(I_REPID) TYPE SYREPID OPTIONAL
*" TABLES
*" T_OUTTAB TYPE STANDARD TABLE OPTIONAL
*********** Local data declarations******************
DATA: gv_list TYPE char1.
DATA: gv_fcat_complete TYPE sap_bool.
DATA: gv_buffer_active TYPE char01,
wa_variant TYPE disvariant.
DATA: gv_controller TYPE REF TO cl_salv_export_c8r.
DATA: gv_xml TYPE xstring.
DATA: gv_s_xml_choice TYPE if_salv_bs_xml=>s_type_xml_choice.
DATA: gv_t_xml_choice TYPE if_salv_bs_xml=>t_type_xml_choice.
DATA: gv_param_lvc TYPE if_salv_export=>s_type_param_lvc.
DATA: gv_data TYPE REF TO data.
DATA: gv_result_data TYPE REF TO cl_salv_ex_result_data_table.
DATA: gv_flavour TYPE string.
DATA: gv_version TYPE string.
DATA: -
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
-
Probleme mit Adobe PDF Conversion Settings, kann nichts einstellen
Hallo,
ich habe Acrobat 9 Standart auf Windows 7 installiert. Nun lassen sich keine PDFs drucken und wenn ich in die Einstellungen (Adobe PDF Conversion Settings) gehe, sind die Felder leer (siehe Bild). Ich kann auch keine Einstellungen vornehmen. Wenn ich auf Edit klicke passiert nichts. Ich habe nochmals drüberinstalliert, aber es ändert sich nichts.?
Hat jemand eine Idee, wie ich das Problem beheben kann
Gruß
gundelAus welchem Programm willst Du drucken?
Weshalb willst Du ein PDF über Drucken erzeugen? Geht nicht Exportieren? -
Unable to convert pdf into xlsx file. Can you help?
I'm trying to convert my pdf file into an xlsx file. I have the Adobe Export Subscription, yet Adobe Reader hasn't been able to convert it, although it will convert the file into an rtf file. Any suggestions on how to make the conversion?
Hey meech39265918,
Can you just elaborate what problem did you face exactly with Adobe Reader. What error u got from Adobe Acrobat. I use it all the time and it works just fine. Is something wrong with the subscription. Anyways if you want to get an alternate u can try Universal Document Converter for converting PDF to Excel - http://www.print-driver.com . -
PDF conversion into xml sometimes scrambles text
I've been using the "save as" function in Acrobat Pro 9 to convert PDF documents into xml text transcripts, but all too often that text comes out scrambled: instead of working within the column divisions on the page, the Acrobat conversion process will read across the page, braiding together, line by line, text that appears on the same level in two and sometimes three adjacent columns. Has anyone else experienced this, and is there anything I can do to prevent it from happening?
IAC methods are the COM/.NET methods on Windows.
a) You can get the document metadata and the size of each page but not tagged status from IAC. Plugins can get all the info.
b) There is NO WAY to get the password for an encrypted document (using ANY API), since the password is never stored in the PDF itself.
c-e can only be obtained using plugin APIs
f can be obtained using any API - IAC or plugin.
g is only available for plugins.
I don't understand h - do you just mean the version in the document or an actual REAL usage value? -
Adobe PDF printer - saves output file as filetype+filename need it to save only as filename
I am using windows xp pro, when i create the pdf file with adobe PDF printer it creates the file name "Ami Pro - filename.pdf" I really need it to create the file name as "filename.pdf". Can you please help me - thank you
Thank you Bernd - Explorer will let us change the file name one at a time, however I am creating numerous pdfs at a time, and its a pain to correct them one at a time, or to create a bat file to do this. Does anyone know if the Adobe PDF printer has a feature that will eliminate the file type? thanks
-
How do I load an Adobe PDF preset into Bridge?
With InDesign I go to File>Adobe PDF Presets>Define>Load. I would like to do the same thing in Bridge so that I am using a PDF preset that I choose instead of the default PDF preset that is in Bridge. I need to know that the PDFs generated from Bridge and InDesign are being generated with the same PDF preset. I am using Bridge CS5.5 on a Mac. Thanks.
I don't think you can do this… Bridge generates it's *.pdf files using the cached *.jpeg previews… Try with some vector files and you will see the result is nothing like ID… If you want them to be the same standard then use ID to make the contact sheets…
-
I'm running Acrobat Pro v7.1. Recently, I had a problem with Avast, which suddenly decided that Acrobat was a virus. To their credit, there was a quick update from Avast from Avast to fix the problem, but not before I'd re-installed Acrobat. I'm not certain that this is where my problem started but it's a good candidate for blame.
Normally, when I create a PDF I am prompted for an Output Folder. This is how I have it set under Printing Preferences as I am usually creating PDFs to send to clients and I need to keep them in clients' folders. Since the occurence outlined above this option is now not offered when I create a new pdf, instead it defaults to creating a PDF in My Documents. If I then repeat the print job, I am prompted for a directory.
When I am creating PDFs for everyday business I have "View Adobe Output Results" ticked. However, when I am preparing batch invoices I turn this off. Now, again, this option is ignored and resets itself. Very annoying when creating around 40 invoices.
Another minor problem - and this is one I've had all along - is that when I create a PDF, if I close it down before roughly 5 seconds, it opens up again.
I am using the Standard.joboption. I created a new option (Standard1) with the options I required but this is still ignored. I've changed the Read Only settings on the Settings folder and the files but this hasn't made any difference.To populate the 2 fields that are blank you would normally just select from the list. Check that out in the Start>Printers menu under the Adobe PDF printer settings. Also, open Distiller and see if any properties are set for the settings and such.
Since you have a 64-bit system, be sure you have installed the updates to AA8, currently at 8.3.1. 64-bit systems require 8.1 at a minimum. Though Adobe does not support AA8 on many of the newer systems (not heard about Win8 yet), many users have been successful, at least on 32-bit systems. I have read 3 posts of folks successful on Win 7, 64-bit systems supposedly, but they do seem to have some issues as might be expected. If you are talking about Win8, I have heard nothing on folks running on that one with AA8. So your OS is an important part of the answer. -
Just bought adobe PDF conversion to word, either not installed asking me to pay again
what I have to do to make PDF conversion to word after buying and payment
Hi Arif,
We have checked the details of your account, we have checked the order is still under processing state.
Please check status info under for order, tracking and shipping in the below mentioned link.
Adobe Store | Online order and payment FAQ
Thanks,
Atul Saini -
I have a few 70 page+ documents that I convert to PDFs for easier viewing, but lately when I go to "Print" and "Save As PDF", it'll convert the first 28-36 pages or so as one document and print the rest as a second document. It's a different number every time for the first PDF. I have to go into Preview and merge the two together, which isn't the end of the world obviously, but it is an odd problem that I haven't found any solutions for. Thoughts?
I assume your printer driver is in charge of conversion. Perhaps it is a file size problem. The driver
may only allow creation of PDF file of less than the maximum file size limit (whatever that is).
Apple has changed the way PDF printing is handled now, the new PDF workflow takes advantage of
the PDF-based printing architecture already present in 10.6. How this interacts with the way 10.6
works with your particular printer, I don't know, but, you may want to contact the printer
manufacturer to see if it a printer limitation (such as available memory) that is causing this to happen. -
Error in PDF Conversion while downloading file from application server
Hi,
I am facing a problem in which i have to download file from application server which is a PDF file (output of SAP Script). I am downloading this file using following code in BSP technology:
* event handler for data retrieval
EMPCD = REQUEST->GET_FORM_FIELD( 'emp' ).
MONTH = REQUEST->GET_FORM_FIELD( 'mn' ).
YEAR = REQUEST->GET_FORM_FIELD( 'yr' ).
W_IND = 'N' .
DATA : wa_zform16 type zform16.
DATA : file_path type string.
DATA : l_pdf_len type string.
DATA STR TYPE STRING.
DATA: OUTPUT TYPE STRING ,
L_XSTRING TYPE XSTRING ,
APP_TYPE TYPE STRING.
DATA: PDF_TABLE TYPE RCL_BAG_TLINE.
DATA PHY_NAME_OUT TYPE SAPB-SAPPFAD.
concatenate '/usr/sap/put/form16/' EMPCD '_' YEAR '.PDF' into file_path
*PHY_NAME_OUT = '/usr/sap/put/form16/01000200_2007.PDF'.
PHY_NAME_OUT = file_path.
OPEN DATASET PHY_NAME_OUT FOR INPUT IN TEXT MODE ENCODING default.
IF SY-SUBRC IS INITIAL.
DO.
READ DATASET PHY_NAME_OUT INTO STR.
IF SY-SUBRC IS INITIAL.
CONCATENATE
OUTPUT
STR
CL_ABAP_CHAR_UTILITIES=>CR_LF
INTO OUTPUT.
ELSE.
EXIT.
ENDIF.
ENDDO.
APP_TYPE = 'APPLICATION/PDF'.
CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
EXPORTING
TEXT = OUTPUT
MIMETYPE = 'APPLICATION/PDF'
* MIMETYPE = 'APPLICATION/PDF;charset=utf-16le'
IMPORTING
BUFFER = L_XSTRING.
CALL METHOD CL_BSP_UTILITY=>DOWNLOAD
EXPORTING
OBJECT_S = L_XSTRING
CONTENT_TYPE = APP_TYPE
CONTENT_DISPOSITION = 'attachment;filename=webforms.pdf'
RESPONSE = _M_RESPONSE
NAVIGATION = NAVIGATION.
Result of this code is : there is a pop up asking to open or save pdf format and process is complete, but i have problem in downloaded file.
At the time of creation i have put BMP image for signature in PDF file and it is working fine but when i upload that file in Application server and then download it with above used code it save the PDF file but when i open that file so whereever i have used signature that page gives error and could not display that scanned signature.
Can anyone please help me in this regard.
or is there any possibility from which i can download that file just like File transfer from BSP.
Keep in mind that i am using BSP technology so all GUI based function module to download file are not working.
waiting for your reply.....
Regards,
GaganHi Raja,
I have standard sap form for TDS Certificate on which i have include an BMP image for digital signature and download that script into pdf format.While i download that PDF looks ok but it is not working in BSP.
Regards,
Gagan -
To read embedded PDF objects in .xlsx file
Hello,
We have a requirement to read the embedded PDF objects in excel 2007 file (.xlsx).
We tried doing this with the ZIP approach and found that the contents of embedded objects are saved in oleObject1.bin.
Now this .bin file is of compound file binary format and we don't know how to read contents from this file.
Does any one knows anything about this or is there any other approach to read the pdf.
Regards,
MandeepWe are able to extract the PDF file data from OleObject1.bin file.
Below is the code to extract the PDF file.
DATA: lv_h type xstring,
lv_object type xstring,
lv_pdf type xstring,
lv_len type i.
lv_h = '255044462D'. " where this value is binary representation of '%PDF".
FIND FIRST OCCURRENCE OF lv_h IN lv_object IN BYTE MODE MATCH OFFSET lv_len.
lv_pdf = lv_object+lv_len.
Now LV_PDF will contain PDF data in XSTRING format.
Regards,
Mandeep -
Choose an Adobe PDF preset for converting files
This question was posted in response to the following article: http://help.adobe.com/en_US/acrobat/X/standard/using/WS58a04a822e3e50102bd615109794195ff-7 f12.w.html
I have tested this two ways online:
Open a PDF file with OCR capability
SAVE AS “appropriate file name”
SAVE AS TYPE PDF/A (.*pdf)
Preflight setting = SAVE AS PDF/A-1b
Just re-tried this and it worked!; I can “find” !
Open a PDF file with OCR capability
SAVE AS OTHER “appropriate file name”
ARCHIVABLE PDF (PDF/A)
Just re-tried this and it also worked!: I can “find” !
Guess I must have done something “strange”, but no problems, now.
Thanks for your help & patience.
Penelope (Penny) Dudley -
How do you merge several PDF's into one file
have plans that come in on sepperate pdf pages and need to put them all on one file to work with
please helpReader can't do that. You need Acrobat.
Maybe you are looking for
-
What happens to the HTTP header parameters I put there?
Our tool puts some parameters into the HTTP header. But, it appears that the Dispatcher is not passing them to the WAS. Could this be? Is there a way to tell the Dispatcher to not drop our HTTP header stuff? Perhaps a configuration setting? I didn't
-
I had to buy a new printer when I got my Imac and I chose the Brother multifunction inkjet MFCJ470DW. It worked fine when my Mavericks version was 10.9.1, but after the automatic update to 10.9.2 the computer no longer recognizes the brother, or say
-
How do i get video out to connect to aprojector
How do I get video out of my Ipod touch(4th gen) to connect to my projector. I have the correct cable and the projector work fine when connected to my laptop, mirrors the creen correctly But I cannot get an output from my Ipod.Cheers
-
Industrial hygiene safety scenario
Hi Team, Please write me steps involved in "Industrial hygiene safety scenario". What are the T-Codes. What master data is required. Thanks
-
Syncing multiple family calendars to Iphone with seperate Apple Ids.
My Son, Daughter, and Myself all have the Iphone4. I want to be able to see their calendars on my phone and using ICal. They have separate Apple Ids. How do I go about doing this properly? I assume the only way would be through ICloud? Thanks in adva