Welcome you guys ..

Increase font size from SPOOL to PDF

E-mail Print PDF
Function Module : CONVERT_ABAPSPOOLJOB_2_PDF

Include : THSTXWFPL
*-------------  for modify font size
decrease fontsze foncharacter will increase
fontsize = 120.    <-- Change
fontsize = 100.  or fontsize = 80

Depend on your logon lang. My case logon 'TH' or 2.  I modified font ZCORDIA (refer CordiaNEW thai font)
*-----------------
if is_cascading is initial.
  case language.
  when '0'. "Serbian
    font = 'COURCYR'.  devtype = 'SAPWIN'.
  when '1'. "simpl.Chinese
    font = 'CNHEI'.    devtype = 'CNSAPWIN'. cjklang = 'X'.
  when '2'. "Thai
*   font = 'THDRAFT'.  devtype = 'THPDF'.
   font = 'ZCORDIA'.  devtype = 'ZMTHSWNU'.
*     font = 'THANGSAN'.  devtype = 'ZPDFUC'.
  when '3'. "Korean
    font = 'KPSAMMUL'. devtype = 'KPSAPWIN'. cjklang = 'X'.
  when '4'. "Romanian
    font = 'COURIER'.  devtype = 'I2SWIN'.
  when '5'. "Slovenian
    font = 'COURIER'.  devtype = 'I2SWIN'.
  when '6'. "Croatian
    font = 'COURIER'.  devtype = 'I2SWIN'.
  when '8'. "Ukranian
    font = 'COURCYR'.  devtype = 'SAPWIN'.
*-------------------
Last Updated ( Wednesday, 17 June 2009 14:20 ) Read more...
 

Change and Page format on SPOOL to PDF

E-mail Print PDF
If you want to convert spool to PDF (ABAP List) and modify font size. I suggest you looking for FM: CONVERT_ABAPSPOOLJOB_2_PDF and mofdify form pdfcnv_convertlist in "LSTXWFPL" or "LSTXWFPD" for OTF to PDF.

Page format type "ANY" (X_65_80,X65_255, etc..) will be convert to size A4 width (8.27") x LETTER height (11"). You can change page format via

1. Change page format out (Calculate size by TWIP)
* for pageformat ANY, use A4 width, LETTER height
if pdfcnv_listinfo-orient = 'L'.
* pageformat ANY, use A4 8.27" width
pdfcnv_listinfo-pageh_tw = 11906.
* pageformat ANY, LETTER 11" height
* pdfcnv_listinfo-pagew_tw = 15817.
* pageformat ANY, LETTER 14" height
pdfcnv_listinfo-pagew_tw = 20160.
else.
* pdfcnv_listinfo-pageh_tw = 15817.
pdfcnv_listinfo-pagew_tw = 20160.
pdfcnv_listinfo-pagew_tw = 11906.
endif.

and

if pdfcnv_listinfo-pageformat = pageformat_any.
* for pageformat ANY, use A4 width, LETTER height
if pdfcnv_listinfo-orient = 'L'.
* pageformat ANY, use A4 8.27" width
pdfcnv_listinfo-pageh_tw = 11906.
* pageformat ANY, LETTER 11" height
* pdfcnv_listinfo-pagew_tw = 15817.
* pageformat ANY, LETTER 14" height
pdfcnv_listinfo-pagew_tw = 20160.
else.
* pdfcnv_listinfo-pageh_tw = 15817.
pdfcnv_listinfo-pagew_tw = 20160.
pdfcnv_listinfo-pagew_tw = 11906.
endif.
endif.

2. Seek keyword fontsize=120 and reduce it to < 100
3. change calculate fnt size
*fontsize = ( charwidth_tw * 120 ) div fontcharw_tw.
fontsize = ( charwidth_tw * 100 ) div fontcharw_tw.
Last Updated ( Friday, 12 June 2009 14:23 )
 

ADOBE PDF form wrong font (ANGSANA Thai font)

E-mail Print PDF

Reference : http://help.sap.com/saphelp_nw70/helpdata/en/37/47a2be350c4ac8afe36b691203971f/frameset.htm

When ADOBE PDF form show wrong font
On J2ee
1. Create /usr/sap/<SID>/SYS/global/AdobeDocumentServices/FontManagerService/fonts/customer
2. Copy *.TTF to this folder
3. Restart J2EE
Command : stopsap j2ee <instance>
Example : stopsap j2ee JC00

Last Updated ( Tuesday, 31 March 2009 15:45 )
 

SAP Jco : Easy to setup step by step (example)

E-mail Print PDF

Neccessary files
1. libsapjco3.so
2. sapjco3.jar
3. /oracle/PRD/102_64/jdbc/lib/nls_charset12.jar
4. /oracle/PRD/102_64/jdbc/lib/ojdbc14.jar

Step to step :
1. Check JAVA VM  (if Java Connector 3 up will run on JAVA 1.5 up)
SAP-SERVER:oraprd 46% java -version
java version "1.5.0_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
Java HotSpot(TM) Server VM (build 1.5.0_12-b04, mixed mode)

Last Updated ( Friday, 13 February 2009 13:21 ) Read more...
 
More Articles...
Page 2 of 7

Resources

Login Form

Polls

What is your SAP versiom ?