How to convert from pt to mm

Advertisement
November 30

Dear all,
Does anybody know how to convert value of pt to value of mm according to language and font? Thanks a lot!
Best regards,
Christo
Edited by: Christo Tan on Dec 22, 2011 5:51 AM
Edited by: Christo Tan on Dec 22, 2011 6:00 AM

Advertisement

Replay

The standard system (I am on ECC 6) doesn't come with a unit for Russian Point (Tochka in Russian). So we need to do the following to be able to convert from millimeter (mm) to Russian Point and vice versa. This is how we did it in our production system.
1. In transaction CUNI create a new unit RP with LENGTH dimension. In the drop down list besides "Units of Measurement" button, select LENGTH dimension and enter values like in the below picture
[Russian Point in transaction CUNI|http://img265.imagevenue.com/img.php?image=70210_UnitofMeasure_RussianPoint_122_100lo.jpg]
2. In your ABAP program you can call UNIT_CONVERSION_SIMPLE like below to convert from RP to MM.
DATA: lv_input TYPE I VALUE 1,
      lv_output TYPE F.
CALL FUNCTION 'UNIT_CONVERSION_SIMPLE'
  EXPORTING
    input                      = lv_input
    NO_TYPE_CHECK              = 'X'
*   ROUND_SIGN                 = ' '
    UNIT_IN                    = 'RP'
    UNIT_OUT                   = 'MM'
  IMPORTING
*   ADD_CONST                  =
*   DECIMALS                   =
*   DENOMINATOR                =
*   NUMERATOR                  =
    OUTPUT                     = lv_output
* EXCEPTIONS
*   CONVERSION_NOT_FOUND       = 1
*   DIVISION_BY_ZERO           = 2
*   INPUT_INVALID              = 3
*   OUTPUT_INVALID             = 4
*   OVERFLOW                   = 5
*   TYPE_INVALID               = 6
*   UNITS_MISSING              = 7
*   UNIT_IN_NOT_FOUND          = 8
*   UNIT_OUT_NOT_FOUND         = 9
*   OTHERS                     = 10
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
The above call converts 1 RP into 2.5400000000000000E-01 mm and puts it in lv_output (which is 0.254)

View 11 Replies

How to convert from Ant project to maven project?

November 30

Hi, all: Sorry for my entry-level question. Is it possible for me to convert from an Ant project to A Maven project from within NetBeans IDE? Or, is there any method to convert from an Ant project to a Maven project using some command line method? Or

View All Replies

Oracle9i How to convert from undo tables to rollback segments

November 30

Hi, Anyone try before converting from UNDO management to using rollback segment....What are the procedures for the conversion... Thank You...Hi, Follow these steps to convert from Auto UNDO to Rollback Segs.... 1. With the database opened, create a r

View All Replies

How to convert from ASM to regular filesystem

November 30

Hi All, On our RHEL 5.5 machine we have one disk partition managed by ASM (11.2.0.1.0). We wan't to convert it to regular file system. How can we do it? Regards, VinodOpen a Terminal window and paste the following: # su - oracle $ . oraenv ORACLE_SID

View All Replies

How to convert from Finder Object reference to POSIX path

October 11

I'm new to AppleScript. I'm super close to getting what I need done, but I've ran across a snag in the middle. The error I'm getting is Can’t make quoted form of POSIX path of item 1 of {«class docf» \"filename\" of «class cfol» \"foldernam

View All Replies

Have a 2008 iMac 24".  How to convert from mini-DVI to mini-displayport?

October 11

I bought this awesome device recently: http://www.monoprice.com/products/product.asp?cid=104&cp_id=10428&cs_id=1042802&pid=6331&seq=1&format=2 It takes the TOSLINK audio output and the minidisplayport output and combines it into HDMI t

View All Replies

Nested Repeat Region (How to convert from table to list)

November 30

Sorry, i am really no PHP hero :-( i created a menu with the "nested repeat region" wizzard. Now i want to change the HTML from TABLE to LIST. I thought i just need to delete <table>- and <td>-tags, replace <tr> with <ul>

View All Replies

How to convert from scientific notations to double value ?

November 30

Hi all, i need to convert a string 2E-23 to corresponding double values so that i can compare it one more existing double value. Is there any API present for this ? Thanks and regards, rosamama.Note: This thread was originally posted in the Swing for

View All Replies

Convert from jchar to char

November 30

Does any one know how to convert from jchar to char? Thank you,does it have to be a jchar or can you get a jstring? is it possible to convert your jchar into a jstring before you pick it up in jni? if you can get a jstring you can use the function co

View All Replies

How do I open my H&R Block tax files, transferred to my Mac Pro from my PC? I guess they're in Windows format,but I don't know how to convert.

November 30

How do I open my H&R Block tax files, transferred to my Mac Pro from my PC? I guess they're in Windows format,but I don't know how to convert. CaptainTom1There should be an H&R block format.  Windows or no. Just like JPEG or MP3 is a format readab

View All Replies

How to create "convert from PDF to Word?"

November 30

How to create "convert from PDF to Word?"Good day, To use the ExportPDF service, simply visit http://exportpdf.acrobat.com and click 'Sign in' at the top right corner.  Enter your Adobe ID (email address) credentials to log into the service.  As

View All Replies

How to convert music from one apple account to another

November 30

how to convert music from one apple account to anotherleilaboxergirl wrote: The apple account music you want to transfer >> go to itunes store and log into the apple account that you want music to be put on your ltunes library...sign in then after y

View All Replies

How do I fill out a form already converted from pdf to word

October 11

how do I fill out a form i converted from pdf to a word doc?What kind of "form" is it?  A .pdf or .doc file? Generally I would save the file somewhere (desktop or document folder).  There is a save button for attachments in mail's header section

View All Replies

How can I convert from Modbus raw data to engineering units using a formula?

November 30

Within Lookout, I have several Modbus numerical input types that do not have a linear corespondence to the Engineering values they represent.  How can I display these values accurately using a formula to convert from the raw data to an engineering va

View All Replies

How do I convert from PDF to jpeg.

November 30

How do i convert from pdf to jpegHi michaelw55080095, I'm sorry this is so frustrating for you. It's certainly not meant to be! Please log out, and clear the browser cache. Then log back in to https://cloud.acrobat.com. If you're still having trouble

View All Replies

Help! How to convert an instance from java.lang.Object to a particula class

November 30

* How to convert an instance from java.lang.Object class to a particular class witch is known only at the running time? Roster EJB component is make up of RosterHome, Roster and RosterBean. RosterHome is the home interface of Roster EJB. Roster is th

View All Replies

How to Convert an RMI Server into WINNT service

November 30

I have an RMI Server, that looks like the following SimpleRMIServer.java import java.io.*; import java.rmi.*; import java.rmi.server.*; import java.rmi.registry.*; import java.rmi.*; import java.rmi.server.UnicastRemoteObject; public class SimpleRMIS

View All Replies

How to convert oracle form fmb file to java swing file using Jdeveloper

November 30

how to convert oracle form fmb file to java swing file using Jdeveloper.Please explain with detailes steps if possible or please give a link where it is available thanks Message was edited by: user591884There is no automatic way to do this in JDevelo

View All Replies

How to Convert your DVD to any format at your will...

November 30

Long time ago, I hope I could take part in some classes to strengthen my health and my good figure. But due to my special job as a salesman, I don't have enough time to do that. So I bought one DVD of yoga, I hope I could do that through watching DVD

View All Replies

How to convert a DMG file for a PC

November 30

I needed to download firefox 2.60 for my husband who has a microsoft operating system.  So I went to Firefox and downloaded the file.  The down load is saved as a DMG file on my desk top. I cannot drag it to "My Passport" as it it won't let me. 

View All Replies

Tags:

  1. 1020dead soulision
  2. sims resource wont download pdf files
  3. aplicativos de 2 dolares na app store
  4. mac internet recovery mac mini2009
  5. download intex cloud fx pdf opener
  6. v7 things that we dont know about coc
  7. ipad A 1460 is disabled itunes
  8. BAPI_SALESDOCUMENT_CHANGE sample
  9. 3HPL
  10. highesta4n
Copyrights 2019 Fcffair BigData Resource, All rights reserved