‎2010 Sep 16 3:53 PM
Hi,
As a SAP does not intend to deliver this solution for SAPscript
The report - RSTXPDFT4 does not work correct to bar code in the boletos (Brazil).
Is there some way (or code) to make the bar code works in PDF format WITHOUT change to Smart form?
Obs. I am a Consultant FI and here in the customer there were a lot of problems about bar code (Critical) and in the past the Basis consultant had problems to import all Basis Support Packages and kernel patches in Release 4.6C.
if someone can help me, I really apreciate.
Since now....Thank you !!!!!!
Best regards,
‎2010 Sep 23 11:26 AM
Hello Dear Ailton Fabricio Dias ,
I had the same problem last year for one of my clients, and be sure that there no solution for printing bar codes in pdf with a sapscript formular in the 4.6C version. You can only do it with smartforms.
Best Regards,
Yassine NEJMY
Senior Consultant
‎2010 Sep 24 1:52 PM
Ok, thank you !!
Just one more thing:
How is going to be processed the boleto since it is done using SmartForms ? - SmarForms can't be used in FBZP.
Best regards.
‎2010 Nov 15 11:10 AM
Hello Aillton!
Did it finally worked to generate the Boleto in PDF including the barcode?
We are having the same problem and will appreciate any suggestions!
Muito obrigado!
Saludos
Nino
‎2010 Sep 24 7:10 AM
It is possible to first convert data into OTF and then PDF
CALL FUNCTION 'CLOSE_FORM'
IMPORTING
RESULT = w_result
TABLES
otfdata = it_otfdata. "OTF DATA
CLEAR gt_otf.
gt_otf[] = it_otfdata[].
*u2022 Convert the OTF DATA to SAP Script Text lines
CLEAR gt_pdf_tab.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
* ARCHIVE_INDEX = ' '
* COPYNUMBER = 0
* ASCII_BIDI_VIS2LOG = ' '
* PDF_DELETE_OTFTAB = ' '
IMPORTING
bin_filesize = gv_bin_filesize
* BIN_FILE =
TABLES
otf = gt_otf
lines = gt_pdf_tab
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 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.