Here i need to convert from EA to CS.

Hi Dear friends,
iam having one requirement. that is conversion.
here is need to convert from EA to CS, for that one iam using FM: conversion_factor_get
But this is not converting and when i run program it was showing the error is "conversion of dimensionless units is possible".
Here i need to convert from EA to CS.
this is Eg:
DATA : LV_SS TYPE F,
       LV_DEC(100) TYPE N,
       LV_NUM(100) TYPE N.
call function 'CONVERSION_FACTOR_GET'
EXPORTING
   NO_TYPE_CHECK              = ' '
   UNIT_IN                    = 'EA'
   UNIT_OUT                   = 'CS'
IMPORTING
   ADD_CONST                  = LV_SS
  DECIMALS                   = LV_DECI
   DENOMINATOR                = LV_DEC
  DIMENSION                  =
   NUMERATOR                  = LV_NUM
EXCEPTIONS
  CONVERSION_NOT_FOUND       = 1
  OVERFLOW                   = 2
  TYPE_INVALID               = 3
  UNITS_MISSING              = 4
  UNIT_IN_NOT_FOUND          = 5
  UNIT_OUT_NOT_FOUND         = 6
  OTHERS                     = 7
if SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
write : lv_ss, lv_dec, lv_num.

Hi
first ensure that the both values CS and EA exist in the table T006
then only the conversion of the units is possible using the fun module
'CONVERSION_FACTOR_GET'
Since the unit CS is not available in T006 table it is not working
This fun module in turn uses the table data T006 for the conversion of units
Regards
Anji

Similar Messages

  • Need help converting from 4.0 to 2011

    hello,
    Need help converting files from 4.0 to 2011.
    thank you
    Solved!
    Go to Solution.
    Attachments:
    noise source.vi ‏73 KB
    8673D.vi ‏30 KB
    8970 FREQ.vi ‏26 KB

    attached as 8.2, which you can open
    missing some subVIs - not sure if you already have them
    Attachments:
    8673D.vi ‏13 KB
    8970 FREQ.vi ‏11 KB
    noise source.vi ‏24 KB

  • ABAP code needed to convert from 0calmonth2 & 0calyear to 0calmonth

    Hi SAP GURUS,
    Can anybody give me the ABAP code to convert from 0calmonth2 and 0calyear to 0calmonth.and please suggest me whether i have to write start routine or end routine in transformations.
    Thanks ALL.

    hi,
    in the transformation map 0calmonth2 and 0calyear to the 0calmonth field, and from drop down choose routine.
    there will be an area where it will be mentioned write your piece of code below this line.
    paste the below code:
    Concatenate source_fields-0calmonth2 source_fields-0calyear into result.
    also delete the line result = .
    save the routine and execute the package.
    regards,
    Arvind.

  • [AS] Beast of a script needs help converting from Quark 8 to InDesign CS5

    First off, THANK YOU for even reading this post. Here's the dilema. I work in a publishing company that used an AppleScript from Quark 8 to automate our pagination from set text we pull from our sales reps worksheets. About 8 months ago we switched fully to InDesign CS5, but have had to hold onto Quark 8 to be able to keep running our pagination. I'd like to see if the geniuses (yes, I've been trolling these forums looking to solve this myself and seen some great problems fixed) on these forums can help me figure out the proper conversion I would need to be able to leave Quark 8 in the rearview.
    Here's our current code... (I warned you it was a beast)
    set Ad_Props to {¬
         {Ad_Label:"SPREAD – ", Ad_Width:2.495, Ad_Height:1.62, Ad_Text_Angle:0}, ¬
         {Ad_Label:"FULL – ", Ad_Width:1.225, Ad_Height:1.62, Ad_Text_Angle:0}, ¬
         {Ad_Label:"SPREAD – ", Ad_Width:2.495, Ad_Height:1.62, Ad_Text_Angle:0}, ¬
         {Ad_Label:"JUNIOR – ", Ad_Width:0.90625, Ad_Height:1.62, Ad_Text_Angle:0}, ¬
         {Ad_Label:"1/2H – ", Ad_Width:1.225, Ad_Height:0.785, Ad_Text_Angle:0}, ¬
         {Ad_Label:"1/2V – ", Ad_Width:0.5875, Ad_Height:1.62, Ad_Text_Angle:90}, ¬
         {Ad_Label:"1/3V – ", Ad_Width:0.5875, Ad_Height:1.2025, Ad_Text_Angle:90}, ¬
         {Ad_Label:"1/4 – ", Ad_Width:0.5875, Ad_Height:0.785, Ad_Text_Angle:0}, ¬
         {Ad_Label:"1/4 Strip – ", Ad_Width:0.26875, Ad_Height:1.62, Ad_Text_Angle:90}, ¬
         {Ad_Label:"1/8H – ", Ad_Width:0.5875, Ad_Height:0.3675, Ad_Text_Angle:0}, ¬
         {Ad_Label:"1/8V – ", Ad_Width:0.26875, Ad_Height:0.785, Ad_Text_Angle:90}, ¬
         {Ad_Label:"Junior (GOLF) – ", Ad_Width:0.8, Ad_Height:1.62, Ad_Text_Angle:0}, ¬
         {Ad_Label:"1/3V (GOLF) – ", Ad_Width:0.375, Ad_Height:1.62, Ad_Text_Angle:90}, ¬
         {Ad_Label:"1/3sq. (GOLF) – ", Ad_Width:0.8, Ad_Height:0.785, Ad_Text_Angle:0}, ¬
         {Ad_Label:"1/6V (GOLF) – ", Ad_Width:0.375, Ad_Height:0.785, Ad_Text_Angle:90}, ¬
         {Ad_Label:"Directory Listing Only – ", Ad_Width:0.3, Ad_Height:0.3, Ad_Text_Angle:0}, ¬
         {Ad_Label:"INSERT (# in notes) – ", Ad_Width:0.3, Ad_Height:0.3, Ad_Text_Angle:0}, ¬
         {Ad_Label:"Other (See Notes) – ", Ad_Width:0.3, Ad_Height:0.3, Ad_Text_Angle:0}, ¬
         {Ad_Label:"------------ – ", Ad_Width:0.3, Ad_Height:0.3, Ad_Text_Angle:0}}
    set Position_Width to number
    set Position_Width to 11.375
    set Position_Height to number
    set Position_Height to 1.875
    set Jump_Height to number
    set Jump_Height to 0
    set Variable_Count to number
    set Variable_Count to 0
    set Variable_Height to number
    set Variable_Height to (1.875 + (1.62 * Variable_Count))
    set Last_Ad to number
    set Last_Ad to 0
    tell application "QuarkXPress"
         activate
         try
              display dialog "WARNING: This version of 'Dummy Square Maker' runs much slower than the last version, a confirmation will tell you when you are finished. Please be patient." & return & return & "Make sure to have the text box selected" buttons {"Cancel", "Accept"} default button 2 with icon caution
              set ThisBox to object reference of current box
              tell story 1 of ThisBox
                   set (every paragraph where it is return) to ""
                   set style sheet of every text to null
                   set style sheet of every text to "DUMMY TEXTS"
                   repeat with i from 1 to (count of paragraphs)
                        try
                             tell paragraph i
                                  set ThePage to my get_CurrentPage()
                                  try
                                       if it contains " – " then
                                            set style sheet to "AD SIZE"
                                            set Ad_Size to contents
                                            set {This_Width, This_Height, this_angle} to {"", "", ""}
                                            repeat with This_Ad in Ad_Props
                                                 if Ad_Size contains (Ad_Label of This_Ad) then
                                                      set This_Width to Ad_Width of This_Ad
                                                      set This_Height to Ad_Height of This_Ad
                                                      set this_angle to Ad_Text_Angle of This_Ad
                                                      exit repeat
                                                 end if
                                            end repeat
                                            set Ad_Box to my Make_Box(ThePage, {1.875, 10.875, This_Height + 1.875, This_Width + 10.875}, this_angle)
                                            duplicate contents to (end of Ad_Box)
                                       else if it contains "—" then
                                            set style sheet to "AD REP/PLACEMENT"
                                            duplicate contents to (end of Ad_Box)
                                       else if it starts with "©" then
                                            set style sheet to "AD REP/PLACEMENT"
                                            delete (character 1)
                                            duplicate contents to end of Ad_Box
                                            if Position_Width ≤ 19.75 then
                                                 set Jump_Height to Jump_Height + This_Height
                                                 (*_________________This is where Ad Boxes Stack_________________*)
                                                 if (Jump_Height ≤ 1.62) then
                                                      set origin of bounds of Ad_Box to {Position_Height, Position_Width}
                                                      set Position_Height to Position_Height + This_Height
                                                      (*_________________This is where Ad Boxes more right_________________*)
                                                 else
                                                      set Position_Height to Variable_Height
                                                      (*set Position_Width to Position_Width + This_Width + 0.05*)
                                                      set Position_Width to Position_Width + Last_Ad + 0.05
                                                      set origin of bounds of Ad_Box to {Position_Height, Position_Width}
                                                      set Jump_Height to This_Height
                                                      set Position_Height to Variable_Height + This_Height
                                                 end if
                                                 set Last_Ad to This_Width
                                                 (*_________________This is where New Row appears_________________*)
                                            else
                                                 set Position_Width to 11.375
                                                 set Variable_Count to Variable_Count + 1
                                                 set Variable_Height to (1.875 + (1.62 * Variable_Count))
                                                 set Position_Height to Variable_Height
                                                 set origin of bounds of Ad_Box to {Position_Height, Position_Width}
                                                 set Position_Height to Position_Height + This_Height
                                                 set Jump_Height to This_Height
                                                 set Last_Ad to This_Width
                                            end if
                                       else
                                            duplicate contents to (end of Ad_Box)
                                       end if
                                  end try
                             end tell
                        on error errmsg number errnum
                             display dialog "There has been an error " & "[" & i & "] (" & errmsg & " [" & errnum & "])" buttons {"Okay"} default button 1 with icon stop
                        end try
                   end repeat
                   delete contents
                   set style sheet of every text to null
              end tell
              beep 2
              display dialog "Automation Finished" & return & return & "IMPORTANT NOTE: Color your Ad Squares according to Sales Rep, and select them all and 'BRING TO FRONT [F5]', this is VITAL." buttons {"Okay"} default button 1 with icon stop
         on error errmsg number errnum
              beep 3
              if errnum ≠ -128 then
                   beep
                   display dialog errmsg & " [" & errnum & "]" buttons {"OK"} default button 1 with icon stop
              end if
         end try
    end tell
    on Make_Box(ThePage, TheBounds, this_angle)
         local ThePage, TheBounds, this_angle
         tell application "QuarkXPress"
              tell page ThePage of document 1
                   set Ad_Box to make new text box at end with properties {bounds:TheBounds, vertical justification:centered, color:"Rep_Other", shade:100, opacity:10, text angle:this_angle, frame:{style:solid line, color:"Black", shade:60, width:0.1}}
              end tell
         end tell
         (*end tell*)
         return Ad_Box
    end Make_Box
    on get_CurrentPage()
         tell application "QuarkXPress"
              tell document 1
                   return page number of current page
              end tell
         end tell
    end get_CurrentPage

    Hi,
    I think with this, you can already make good progress in your work.
    Good luck!
    global mydocument
    tell application "Adobe InDesign CS5.5"
         set mydocument to active document
         tell mydocument
              set myParaStyle to paragraph style "DUMMY TEXTS"
              tell page 1
                   set TheBounds to {0, 0, 20, 50}
                   set Ad_Box to make text frame
                   tell Ad_Box
                        set geometric bounds to TheBounds
                        set vertical justification of text frame preferences to center align
                        set contents to "This is the contents"
                   end tell
                   set myStory to parent story of Ad_Box
                   set applied paragraph style of every paragraph of myStory to myParaStyle
              end tell
         end tell
    end tell
    Your two handlers then look like this:
    on Make_Box(ThePage, TheBounds, this_angle)
         local ThePage, TheBounds, this_angle
         tell application "Adobe InDesign CS5.5"
              tell page ThePage of mydocument
                   set Ad_Box to make text frame
                   tell Ad_Box
                        set geometric bounds to TheBounds
                        set vertical justification of text frame preferences to center align
                   end tell
              end tell
         end tell
         return Ad_Box
    end Make_Box
    on get_CurrentPage(CurrentTextFrame)
         tell application "Adobe InDesign CS5.5"
              tell mydocument
                   return name of parent page of parent page of CurrentTextFrame
              end tell
         end tell
    end get_CurrentPage
    Shorter version:
    on get_CurrentPage(CurrentTextFrame)
         tell mydocument of application "Adobe InDesign CS5.5"
              return name of parent page of parent page of CurrentTextFrame
         end tell
    end get_CurrentPage
    Ce message a été modifié par: OlivierBerquin

  • Need VIs converted from LV 5.1

    Could someone please convert the VIs in the zip files attached from LV 5.1 to perhaps LV 7 or 8? I have 8.5 and can't open them because they're "too old".
    Attachments:
    20hzsqwv.zip ‏30 KB
    loopback.zip ‏139 KB

    Hi Sima,
    I can convert these for you, as I have 7.1 and 8.5.1. However, there are many controls missing as I do the converts - so the version in 8.5.1 have large numbers of vi's missing. So a better option maybe to build the vi's in the newer version. Not ideal I know. Let me know what you think, or if you can attach the library which will cause me the problems.
    Regards, 
    Kind Regards
    James Hillman
    Applications Engineer 2008 to 2009 National Instruments UK & Ireland
    Loughborough University UK - 2006 to 2011
    Remember Kudos those who help!

  • Need help converting from Actionscript 2.0 to 3.0

    I have an old flash file that I need to update. Ufortunately I only ahve access to Flash Pro CC and when I open the file it says the program no longer supports Actionscript 2.0. When I test the file, I get the following compiler errors:
    Symbol 'MoneySlider', Layer 'AS', Frame 1, Line 7, Column 3
    1120: Access of undefined property ratio.
    Symbol 'MoneySlider', Layer 'AS', Frame 1, Line 7, Column 20
    1180: Call to a possibly undefined method number.
    Symbol 'MoneySlider', Layer 'AS', Frame 1, Line 7, Column 27
    1120: Access of undefined property _root.
    Symbol 'MoneySlider', Layer 'AS', Frame 1, Line 9, Column 27
    1120: Access of undefined property ratio.
    And on the MoneySlide layer in Actions:
    this.ratio = 0;
    this.loadBar._width = 0;
    this.dragger.ratio.text= "$0";
    dragger.onPress=function(){
              this.startDrag(true,0,0,line._width,0);
              this.onEnterFrame=function(){
                        ratio=Math.round(number(_root.transitBenefitLimit/100)*(thi s._x/(line._width/100)));
                        loadBar._width = Math.round(this._x);
                        dragger.ratio.text= "$"+ratio;
    dragger.onRelease=dragger.onReleaseOutside=stopDrag;
    Any help changing the code to be compatible with Actionscript 3? thanks in advance...

    as3:
    this.ratio = 0;
    this.loadBar.width = 0;
    this.dragger.ratio.text= "$0";
    dragger.addEventListener(MouseEvent.MOUSE_DOWN,downF);
    var dragged_mc:MovieClip;
    function downF(e:MouseEvent):void{
    dragged_mc=MovieClip(e.currentTarget);
             dragged_mc.startDrag(true,0,0,line.width,0);
            dragged_mc.addEventListener(Event.ENTER_FRAME,enterframeF);
    stage.addEventListener(MouseEvent.MOUSE_UP,upF);
    function enterframeF(e:Event):void{
                        ratio=Math.round(Number(MovieClip(root).transitBenefitLimit/100)*(dragged_mc.x/(line.widt h/100)));
                        loadBar.width = Math.round(dragged_mc.x);
                        dragger.ratio.text= "$"+ratio;
    function upF(e:MouseEvent):void{
    stage.removeEventListener(MouseEvent.MOUSE_UP,upF);
    dragged_mc.removeEventListener(Event.ENTER_FRAME,enterframeF);
    dragged_mc.stopDrag();

  • Need to convert to labview 11 from labview 12

    hello
    I need to convert the following Labview 12 VIs to Labview 11.
    thank you in advance
    Attachments:
    QAM Demodulation.vi ‏30 KB
    QAM Modulation.vi ‏30 KB
    rx QAM.vi ‏57 KB

    The conversion was done here: http://forums.ni.com/t5/Version-Conversion/need-to-convert-from-Labview-12-VI-to-Labview-11/m-p/3021...
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Convert from 2009 to 2013

      I have a drvier code from Watlow that I need to convert from 2009 to 2013 and is attached.  Could someone help with this?
    Attachments:
    Example Cntl.ctl ‏5 KB

    Just open them up in LabVIEW 2013 and save them.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions

  • Convert from NVARCHAR2 to Unicode in SQL Plus

    I need to convert from NVARCHAR2 column data to Unicode format in a query. How can I do this?

    I need to convert from NVARCHAR2 column data to Unicode format in a queryMaybe with convert:
    SQL> select convert(n'ABC', 'utf8') abc from dual;
    AB

    1 row selected.?

  • I was informed i need to purchase standard 11 or standard 12 (?) in order to make word files converted from pdf editable. how do i do this?

    i was informed i need to purchase standard 11 or standard 12 from adobe in order to make files converted from pdf to word using the recently bought and installed adobe pdf exporter file. how/where do i do this?

    Currently the Acrobat version is "XI" (no "12").
    With Acrobat XI installed:
    "File - Save As Other"  --- from here you pick the supported file format for the export.
    If a PDF has content that is the output of a scanner then that output (as is the case for All scanners' output) is a picture of text and not real text.
    During an export all that can be processed is the picture. As a picture of text is not text it is understandable why Word (or other word processors) cannot edit the content.
    So, for such, prior to export run Acrobat's OCR and save.
    The export will be of the OCR content.
    Do expect to do clean of the text, spelling, punctuation, layout etc.
    This may be minor. This may be major. But, there will be some.
    Adobe as some online subscription services that can take a "proper" PDF (NOT all are eh) and export to supported file formats.
    Two are "ExportPDF" and "PDF Pack".
    Be well...

  • Need to convert language from English to Thailand

    Hi Gurus,
    Can any one let me know the procedure of language conversion,
    like i need to convert the available statement in report from English to Thailand.
    Is their any function module to convert, please let me know.
    thanks
    balu.

    Hi,
    Do you want text in Thailand , when your logon language is English that to dynamic text ? is it so.
    If not  I think  you can do this using Translation  .
    Mintain text-elements and then GOTO -> Translation.
    When you logon in that particular language then it will be displayed in that language only.
    Regards,
    Rajitha.

  • Need to Convert Comma separated data in a column into individual rows from

    Hi,
    I need to Convert Comma separated data in a column into individual rows from a table.
    Eg: JOB1 SMITH,ALLEN,WARD,JONES
    OUTPUT required ;-
    JOB1 SMITH
    JOB1 ALLEN
    JOB1 WARD
    JOB1 JONES
    Got a solution using Oracle provided regexp_substr function, which comes handy for this scenario.
    But I need to use a database independent solution
    Thanks in advance for your valuable inputs.
    George

    Go for ETL solution. There are couple of ways to implement.
    If helps mark

  • Need to convert PageMaker 6.5 Plus files from Windows XP to PDF for Windows 7.

    I need to convert PageMaker 6.5 Plus files into PDF from a Windows XP operating system to a Windows 7 operating system. It tells me I need a postscript printer. I don't have a postscript printer and really don't want to print them. I just want to transfer the files from Windows XP to Windows 7. Help!!

    No, it isn't telling you that you need a PostScript printer. It's telling you that you need a PostScript printer DRIVER, which is software, not a printer.
    Use the Add Printer function to add an Apple LaserWriter IINTX. That's a PostScript printer. Then try again.
    I don't quite understand the Windows 7 connection, though. What are you hoping to achieve by making a PDF. You WON'T be able to edit them, if that's the idea.

  • Need to convert lab from UNIX to DOS

    I need to convert this lab from Unix so that it will run as a batch file in Windows (substitute with the appropriate commands). (I will definitely be starting some UNIX classes soon).
    FILE=${1:?'Parameter 1 should be set to file name'}
    BLOCK=${2:?'Parameter 2 should be set to block to be corrupted''}
    BLOCKSIZE=${3:?Parameter 3 should be set to blocksize'}
    dd of=$FILE bs=$BLOCKSIZE conv=notrunc seek=$BLOCK <<EOF
    CORRUPT
    EOF
    dd of=$FILE bs=$BLOCKSIZE conv=notrunc seek='expr 1 + $BLOCK' <<EOF
    CORRUPT
    EOF
    dd of=$FILE bs=$BLOCKSIZE conv=notrunc seek='expr 2 + $BLOCK' <<EOF
    CORRUPT
    EOF
    dd of=$FILE bs=$BLOCKSIZE conv=notrunc seek='expr 3 + $BLOCK' <<EOF
    CORRUPT
    EOF

    Look up the SimpleDateFormat class: http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html
    Arwinder wrote:
    This is absolutely necessary... any help plz..For you maybe, not others. Please refrain from trying to urge others to answer your queries. They'll do it at their own pace ( if at all ).
    People on the forum help others voluntarily, it's not their job.
    Help them help you.
    Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
    (Yes I know it's on JavaRanch but I think it applies everywhere)
    ----------------------------------------------------------------

  • Need to convert App Store from Swiss to uk?

    I need to convert the App Store from Swiss to uk?

    Change iTunes Store Country on an iDevice
    1. Tap Settings;
    2. Tap iTunes & App Stores;
    3. Tap View Apple ID;
    4. Enter your user name and password;
    5. Tap Country/Region;
    6. Tap Change Country/Region;
    7. Select the region where you will be located;
    8. Tap Done.
    Also, see How to Change Your iTunes Store Account Location | eHow.com.

Maybe you are looking for

  • I can't authorized my iMac to store and transfer all my library of itunes

    I've been synchronized  my music, videos and movies through the itunes in my Macbook, I have everything on it, but recently I bought an iMac to use at home but I can't authorized this iMac to use my account to transfer or sync all my devices now (Ipa

  • Aperture export is not working, "Choose" buttons also  not reacting

    Suddenly I can't export versions, originals, metadata and export as library anymore. Also all "Choose" buttons do not react anymore. For example its not possible to open another Library or choose the external photo editor in Preferences. If I login w

  • Invoices not shown in KE24

    Hi Experts, I have two invoices for the Free goods, for one Invoice all accounting dcoument has been created and cleared, but for one invoice only profitable analysis document has been created and is not cleared, may be because of this it is not show

  • R/3 table for a datasource?

    Hello, how to know the corresponding r/3 table for a business content datasource? (if i need to check the data for the same on the r/3 side) regards, Message was edited by: Abhijit Bhalerao

  • Import Data object using web service adapter

    Hello experts, In DOE, theres a way to import Data Object from a wsdl using webservice adapter. We got to know that there are some guidelines(constraints) on the operations provided in the wsdl to be able to use webservice adapter. Could you please g