Function to change into acres

how to write a function to change foot,solid meter,fathom,sq.feet,sq.meter,decimal acres,Kilometer into acres.

You can try function like that
CREATE OR REPLACE FUNCTION metric
(v_type VARCHAR2 ,
v_size NUMBER )
RETURN NUMBER
AS
v_acre NUMBER;
BEGIN
IF v_type = 'foot'
-- 1 Acre = 43 560 Square Feet   --
THEN
v_acre := YOUR CALCULATIONS  ;
ELSIF ....
v_acre := ...;
ELSIF ....
v_acre := ...;
-- and so on ... --
END IF;
RETURN v_acre;
END;
/

Similar Messages

  • I do not manage to find the function to change a letter into exposing. I have MUSE DC 2014.2 and the menu does not display this possibility. I tried to import it IN design but that does not function either?

    I do not manage to find the function to change a letter into exposing. I have MUSE DC 2014.2 and the menu does not display this possibility. I tried to import it IN design but that does not function either?

    I'm not clear on exactly what it is you're asking, but if you're referring to changing opacity, you can change the opacity setting for the States of a menu item via the States panel and Control Strip.

  • I currently have wireless, but i am looking into this to maybe have faster wireless. if this is hooked up, will the existing wireless/ethernet to pcs still function without changing them to use the airport express?

    i currently have wireless, but i am looking into this to maybe have faster wireless. if this is hooked up, will the existing wireless/ethernet to pcs still function without changing them to use the airport express?

    let me fix this a bit. i currently have dsl and a 2wire wireless router, and i currently do not have one or a mac. im getting one for when i start college and this is a must if it will improve my internet. but i now connect wirelessly to the 2wire router. if this is set up, will the current 2wire wireless still be useable?

  • Function to change status in CRM.

    Hi..
    Let me introduce myself, my name is Daniel.
    I'm developing an application based on .Net & ABAP (CRM) & i'm getting problems.
    Do you know the function to change status, where that function can be called out from program?
    This time i've tried 2 functions :
    ZISA_STATUS_CHANGE_N_SAVEDOC
    CRM_STATUS_CHANGE_INTERN_OW'
    Those functions works if i run inside program, but if i build another program for calling that program (run those functions), the functions will not be worked.
    Is there any somebody help me to find out the functions?
    Thx so much..

    IF NOT gt_obj_guids[] IS initial.
        CALL FUNCTION 'CRM_ORDER_SAVE'
          EXPORTING
            it_objects_to_save = gt_obj_guids
          IMPORTING
            et_saved_objects   = gt_saved_objects.
        read table gt_saved_objects into saved_object index 1.
        OBJECT_ID = saved_object-object_id.
        COMMIT WORK.
    Like a line a code above, i have put a commit work. But it still can't work well.
    But, btw.. Is BAPI Commit that you mention before same with i mention in my code?
    I need your suggestion.. _.

  • HR ABAP - PAYROLL - Copy existing payroll function and changes

    Hello all,
    Required a help over an issue with HR ABAP - Payroll module.
    My requirement is to Copy an existing custom Payroll Function (Transaction PE04), into a new one. The existing payroll function has the code for updating payroll results in RT table. I have to change the statements in the new function making sure that now it will update  IT/OT table instead of RT table.
    Kindly help me with the issue.
    Thanks,
    Ruchir.
    Edited by: Ruchir Pathak on Nov 17, 2011 9:09 AM

    Hi,
    you can not copy function as i know. you should create a new one and copy code from the existing function to new function and modify code for the new requirement. this will be mush easier.
    Çağatay

  • In my iPhone the images and videos are not changing into landscape mode

    In my iPhone the images and the videos are not changing into landscape mode. And it is switching off  automatically

    Hi vijenderreddy,
    Thanks for using Apple Support Communities.  This article has some steps to try if your iPhone is unexpectedly powering off:
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/ts2802
    Will not turn on, will not turn on unless connected to power, or unexpected power off
    Verify that the Sleep/Wake button functions. If it does not function, inspect it for signs of damage. If the button is damaged or is not functioning when pressed, seek service.
    Check if a Liquid Contact Indicator (LCI) is activated or there are signs of corrosion. Learn about LCIsand corrosion.
    Connect the iPhone to the iPhone's USB power adapter and let it charge for at least ten minutes.
    After at least 30 minutes, if:
    The home screen appears: The iPhone should be working. Update to the latest version of iOS if necessary. Continue charging it until it is completely charged and you see this battery icon in the upper-right corner of the screen . Then unplug the phone from power. If it immediately turns off, seek service.
    The low-battery image appears, even after the phone has charged for at least 20 minutes: See "iPhone displays the low-battery image and is unresponsive" symptom in this article.
    Something other than the Home screen or Low Battery image appears, continue with this article for further troubleshooting steps.
    If the iPhone did not turn on, reset it while connected to the iPhone USB power adapter.
    If the display turns on, go to step 4.
    If the display remains black, go to next step.
    Connect the iPhone to a computer and open iTunes. If iTunes recognizes the iPhone and indicates that it is in recovery mode, attempt to restore the iPhone. If the iPhone doesn't appear in iTunes or if you have difficulties in restoring the iPhone, see this article for further assistance.
    If restoring the iPhone resolved the issue, go to step 4. If restoring the iPhone did not solve the issue, seek service.
    For the issue of images not changing orientation, see this article:
    iOS: Screen does not rotate
    http://support.apple.com/kb/ts3805
    Cheers,
    - Ari

  • Regarding Function module: function module change numeric to text

    Hi ,
    can any help me what is the function module used for : function module change numeric to text
    suppose:
    if i give :
    Input: 11/12/2007
    Output: 11 December 2007
    What is the FM used for same?
    Plz help me out

    I'm not sure if there is a FM that will directly change Your date to the right format but You can write simple code to do this:
    DATA: lv_subrc LIKE sy-subrc,
          lt_month TYPE TABLE OF t247,
          ls_month TYPE t247,
          lv_odate TYPE string,
          lv_ndate TYPE string,
          lv_char1 TYPE char1.
    lv_odate = '11/12/2007'.
    CALL FUNCTION 'MONTH_NAMES_GET'
      EXPORTING
        language              = sy-langu
      IMPORTING
        return_code           = lv_subrc
      TABLES
        month_names           = lt_month
      EXCEPTIONS
        month_names_not_found = 1
        OTHERS                = 2.
    IF sy-subrc = 0.
      LOOP AT lt_month INTO ls_month WHERE mnr = lv_odate+3(2).
        CONCATENATE lv_odate(2) ls_month-ltx lv_odate+6(4) INTO lv_ndate SEPARATED BY lv_char1.
      ENDLOOP.
    ELSE.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • "Automatically Write Changes Into XMP" Not Working for DNG Files

    Hello,
    I am needing to update DNG/JPG file pairs with keywords that I add  in lightroom.  The following is the problem that I am encountering. 
    When the image consists of only a JPEG file (ie. I had my DSLR only snap a jpeg and not an associated DNG), and I add one or more keywords to the file in Lightroom, these are written / saved immediately in Lightroom and are visible immediately in the 'tags' column for that image in windows explorer.  Very useful and important functionality for my workflow.
    However, when the image consists of both a JPEG and a sister DNG (i.e.,snapped simultaneously by my DSLR), and I try to add keywords to these (treated at this point as a single image by lightroom) then Lightroom does not record the keywords into either of the two files and consequently no tags are visible in windows explorer.  I have confirmed this apparent problem with a seperate image metadata utility software, and am hoping that it's just something simple that I am missing.
    Also "Automatically Write Changes Into XMP" is selected and I have also  tried manually both: "right click," "metadata," "write metadata to file;"  and  "right click" "update DNG preview and metadata" and the problem  persists.
    Hopefully someone has encountered something similar and can point me in the right direction.
    Thanks in advance.

    @Eric: hitting cntrl+s works but can be tedeous on large galleries. I've been doing this but it can be a pain.
    @Jeannine: different topic than this thread but to answer anyways... Lightroom automatically saves all changes into your catalogue. You never need to dave your changes (here's the kicker though) as long as you do not move the original file. If you
    move the file than lightroom won't know that it's the same image as the one you've edited. Once you are done editing your image you will need to "export" the image to a new file (you don't wan to overwrite the original). If you don't export than only lightroom will have your edits. Lightroom is "non-destructive" Which means that it doesn't touch your original photo. Lightroom keeps a text file containing the instructions on what you did to make the edited version. Since your changes are just text inatryxtions you have to "export" the image to get your final image in a version you can put online, print, etc. But to answer your original question, I think you prob moves the original image. If not, could you give us more info?

  • Convert into acres

    Hi, iam having two tables
    TITLE ,
    id_title                    Code_Uom           Area                                        
    050540HSD003206S3             M               2424.33
    050540HSD003206S2             KM              3434.33
    050540HSD00320623             H               3438.44
    050540HSD00320654             MP              488.88
    050540HSD00320656             KP              3434.88
    CODE_UOM
    Code           Name
    M              Meter
    KM             Kilometer
    H              Hectare
    MP             Cubic meters
    JK             foot
    KP             square feeti need a function or package to convert area field into acres by checking the Code_Uom accordingly.
    ie.,
    in TITLE table if Code_Uom column is M then it should check in CODE_UOM table for code column and the name for it.
    if it is meter then the meter should be converted into acres. so here 2424.33 meters should be converted into acres
    which is nothing but
    Answer: 2424.33 m² = 0.599064 acre
    3434.33 km² = 848641.424 acre
    Edited by: user9093689 on Dec 27, 2010 8:11 PM

    In the "do the return calculation", write the expression for the calculation for each meter,km...
    CREATE OR REPLACE FUNCTION metric
    (v_type VARCHAR2 , v_size NUMBER )
    RETURN NUMBER
    AS
    v_acre NUMBER;
    variable_v varchar2(10);
    begin
    select nvl(name,'0') into variable_v from kod_UOM where kod='v_type';
    v_acre := case when v_type = variable_v then *do the return calculation*
                            when v_type = variable_v then *do the return calculation*
                            when....
                    end;
    return v_acre;
    END;Please copy and paste how you are calling it.
    Edited by: Mahanam on Dec 27, 2010 10:39 PM

  • How to deal with the situation when the database change into ms-sqlserver ?

    Hi,dear all,
    How to deal with the situation when the database change into ms-sqlserver or other database?
    Now, i want to build a j2ee project with ORACLE ADF bc,but this project may be used in several diffrent databases for example oracle db,ms db,mysql and so on.however,if i have developer this project in jdeveloper and this project connection was config as a oracle database,and then,can this project be reused for other databases espasially including the model codes? if yes,how should i do?
    all who know how to resolve this,tell me pls,thanks.
    bruce Li,
    China
    Message was edited by:
    user526724

    Hi Paulbin,
    Do you want to supply a function-pointer to a DLL so it can call[back] your VI?  Here's how it can be done with .NET, though, that solution requires a C compiler.   A single "VI_to_function-reference" utility could handle all cases where the callback passes no parameters.  Maybe someday somebody will share that dll.
    Did you know that LabVIEW can use Events for some COM-signals change?  See pic.  (Note: DTR is not listed - - )
    Another question is another function's prototype is WORD SetTestType(WORD comHandle, bool type1, bool type2, bool type3),   I tried to use a boolean control and a Boolean to (0,1) node in labVIEW to pass parameters to CLF, I config the bool input value as U8(according to C++ bool type) and U32(according to WIN32 BOOL type), it dose not help, when I execute the VI, LabVIEW will be disappeare, it seems to be closed, I must start it again.
    Could someone has similar experience on this points?
    It's easy to crash LabVIEW misusing CLF - maybe there's another reason for the crash besides bool mis-match(?)  Do you know which "Calling convention" is required?  What type is comHandle? (where does comHandle come from?) 
    Cheers!
    Message Edited by tbd on 03-23-2007 09:34 PM
    Message Edited by tbd on 03-23-2007 09:35 PM
    "Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
    Attachments:
    evt.jpg ‏7 KB

  • MPEG Layer 3 audio files have changed into MP3^^ files,What is ^^

    MPEG Layer 3 audio files have changed into MP3^^ files,What is ^^ and why wont the music files play anymore??

    I reinstalled OSX on my macbook which previously played all avi files with no difficulties. Now I am having difficulties playing Avi files with quicktime PRO that use the Mpeg layer 3 codec. I have done the following with no success: downloaded flip 4 mac, divx, xvid, 3ivx, Xvid codecs, changed MIME settings, and deleted and reinstalled.
    Depending on the specific version and sometimes the ordering in which they were installed, you may have created a conflict among the components here. While most current VidX components should be able to play MPEG Layer-3 audio, v5.1.1 is the only free VidX codec that is bi-directional. If that is not a problem, then I would recommend you remove (or "hide") all components in the main "Library > QuickTime" folder. Next I would determine if one (or more) of the AVI associated components can actually play the specific files mentioned on their own. You do this by installing a compenent to be tested, opening the player with one of the problem movies, and checking for correct audio and video playback. Log your results, close the player, remove the tested component, and move on to the next component to be tested. Once you deterime which component(s) may function correctly, I would then move on to determine which specific components are in conflict by repeating the tests but leaving the components installed after each test. In this case start with a component that is known to work and is the one you most desire to use (if more than one works). If the player stops working, then you have located a potential conflict. Set the offending component aside and continue testing until all components have been tested and are either installed or set aside. The last step is to simply evaluate component alternatives and configure you system for those files most often played. In my case the VidX v6 Pro components did not seem to get along with the 3ivX D4 v4.5 and/or Casio AVI and/or XVIDDelegate component combination.

  • Functional area change at WBS level

    Hi Experts,
    I just want know the possibility of functional area change at WBS level.
    If we assign Functional area at project level, can we change functional area of WBS?
    if it is possible then is it possible to assign/change functional area of WBS after releasing the same?
    Please update me.
    Thanks & Regards
    Suresh. J

    Hi Surej,
    FA in project is in Basic tab and FA in WBS is in Assignement tab. Both functional area for Project or WBSes could be different. All this functional area could be changed. However, please note if you changed the FA once the data is posted into the WBS, the system will give a warning message not to change the FA. This FA in master data is to ease data entry. The FA will be copied over to FA area field during data entry. In fact, you can change the FA during data entry.
    Hope this explains your query.
    Thanks.
    Regards
    Fauzi

  • ColdFusion 11: allowedextforinclude functionality has changed. But the docs haven't been

    G'day:
    I am reposting this from my blog ("ColdFusion 11: allowedextforinclude functionality has changed. But the docs haven't been") at the suggestion of Adobe support:
    @dacCfml@ColdFusionCan you post your queries athttp://t.co/8UF4uCajTCfor all cfclient and mobile queries.— Anit Kumar Panda (@anitkumar85)April 29, 2014
    This particular question is not regarding <cfclient>, hence posting it on the regular forum, not on the mobile-specific one as Anit suggested. I have edited this in places to remove language that will be deemed inappropriate by the censors here. Changes I have made are in [square brackets]. The forums software here has broken some of the styling, but so be it.
    G'day:
    Remember this one: "ColdFusion 11: preventing files from being included? [WTH], Adobe?". I can confirm this verymoderatelyslightly contentious feature has been changed in ColdFusion 11, but the docs have not been updated to reflect the change.
    The issue is summarised thus (from the article linked-to above):
    [...]out of the box ColdFusion 11 will only allow the inclusion of CFML and HTML files. Why? They cite "for security reasons". Here's a quote (posted in the bugtracker, originally from the pre-release forums):
    "Vamseekrishna Manneboina: Yes, this was done as part of a security measure. You can now only include CFM/CFML files by default. You can specify additional extensions via a property called allowedextforinclude in neo-runtime.xml. By default, HTM and HTML file extensions are already added to this list/property, thereby allowing for inclusion of HTM and HTML files too by default."
    OK, I disagree there's merit in this, some others agree, others disagree. But... so be it. I actually thought - if I was in a charitable mood - that the people that were "for" this change made a reasonable case for its inclusion, so - whilst not agreeing with them - I was content to just shrug and go "yeah, oh well".
    Now this feature is still in the docs: "New in ColdFusion 11 - Restrictions", but this is not the way it now works. Initially I thought it had been removed completely (and I am now in the midst of retooling this article from saying that... as I only worked out what was going on 2/3rds of the way through writing it).
    I did a secure install the other day, and one of the first things I tested was this:
    <!---test.cfm---> <cfset message = "before"> <cfoutput> #message#<br> <cfinclude template="code.inc"> <cfset message = "after"> #message#<br> </cfoutput>
    <!--- code.inc ---> <cfset message="within"> <cfoutput> #message#<br> </cfoutput>
    And this all runs fine, as one would expect:
    before
    within
    after
    Next I checked neo-runtime.xml to see if the settings had been augmented to switch this off by default: but I'm buggered if I can see any reference to it anywhere.
    So I then checked ColdFusion Administrator to see if there was any hint of it there, as this was one of the things Adobe said they were going to do in their solution to this. And there it is:
    So by default now, anything is allowed. I figured I must have missed the setting in neo-runtime.xml, so changed the setting to "FOOBAR" so I could easily spot it, and there it is down @ /wddxPacket/data/array/*[16]/var[@name="compileextforinclude"] in neo-runtime.xml:
    <var name="compileextforinclude">    <string>FOOBAR</string> </var>
    And - having changed it back to something sensible: CFM, then the feature now "works":
    before
    #message#
    after
    However this is probably a worse security hole than the one they were trying to fix! It looks OK when looking at the render in the browser, but look at the actual raw mark-up:
    before<br> <cfset message="within"> <cfoutput> #message#<br> </cfoutput> after<br>
    We have unparsed CFML source code sent to the browser. This is awful. What if someone switches this on, and doesn't spot one of their old includes which has less-than-trivial CFML in it? It's now publicly accessible. Adobe have created a feature which has the possibility to leak source code to the outside world. How is that a security feature?
    Also interesting is that with the super-secure profile installed, this is still off by default? I would have thought it'd be on in this case?
    I still don't think this feature has been implemented properly, and it all still points even more to the fact the Adobe ColdFusion bods don't really know what they're doing.
    Anyway, I'll nudge Adobe to at least get the docs sorted out.
    Time for work (3min ago)...
    Adam

    Hi Adam,
    Regarding "What if someone switches this on, and doesn't spot one of their old includes which has less-than-trivial CFML in it?", yeah I agree that'd be a problem.  Hmm, maybe both this.allowedextforinclude *and* this.compileextforinclude should've been supported (instead of replacing the former w/ the latter as was done)?  Example:
    this.compileextforinclude="cfm,cfml,inc";
    this.allowedextforinclude="cfm,cfml,inc,txt";
    That way an exception could be thrown if cf|included file's extension wasn't in the this.allowedextforinclude list.
    Perhaps the above could be shortened to:
    this.compileextforinclude="cfm,cfml,inc";
    this.allowedextforinclude="txt";//implicitly includes * from this.compileextforinclude (since -compile- implies -allowed-)
    Dunno if that'd be confusing.
    Anyhow, just some thoughts..
    Thanks!,
    -Aaron

  • How can I export a RAW photo from iphoto to anywhere without it changing into a jpg?

    How can I export a RAW photo from iphoto to anywhere (PSE, or desktop) without it changing into a jpg???

    See if any of this info will help:
    Using Photoshop (or Photoshop Elements) as Your Editor of Choice in iPhoto.
    1 - select Photoshop as your editor of choice in iPhoto's General Preference Section's under the "Edit photo:" menu.
    Click to view full size
    2 - double click on the thumbnail in iPhoto to open it in Photoshop.  When you're finished editing click on the Save button. If you immediately get the JPEG Options window make your selection (Baseline standard seems to be the most compatible jpeg format) and click on the OK button. Your done.  3 - however, if you get the navigation window
    Click to view full size
    that indicates that  PS wants to save it as a PS formatted file.  You'll need to either select JPEG from the menu and save (top image) or click on the desktop in the Navigation window (bottom image) and save it to the desktop for importing as a new photo.
    This method will let iPhoto know that the photo has been editied and will update the thumbnail file to reflect the edit..
    NOTE: With Photoshop Elements 9 the Saving File preferences should be configured as shown:
    Click to view full size
    I also suggest the Maximize PSD File Compatabilty be set to Always.  In PSE’s General preference pane set the Color Picker to Apple as shown:
    Click to view full size
    NOTE: If you want to use both iPhoto's editing mode and PS without having to go back and forth to the Preference pane, once you've selected PS as your editor of choice, reset the Preferences back to "Open in main window".  That will let you either edit in iPhoto (double click on the thumbnail) or in PS (Control-click on the thumbnail and seledt "Edit in external editor" in the Contextual menu).  This way you get the best of both worlds.
    OT

  • Planning function to change date field value in layout

    Hello experts,
                          I have 1 BPS layout with 2 date fields ( Start date, End date ). With a filter conditions, set of data comes in BPS layout on execution and 2 date fields also contain some value...I want to change values of these 2 dates...both the date fields are char infoobjects..in BPS layout, in planning function I got only 1 function ( Repost function ) to change the value of char infoobject based on some condition. but date field value is not the status field...i want to enter new date instead of old date..if i right exit function in that also i can change only keyfigs values..so please help me to solve this problem..
    Thanks & Regards,
    Priyanka Joshi

    Hi Priyanka,
    As of now master data planning is not so flexibly supported.
    Still u can refer the below link which is enhancement of standard Repost function,and can be used to change master data.
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10d2b273-0e12-2c10-fab3-a34bde559f92]
    As far as my knowledge goes u cannot directly input date in rows.
    regards,
    Rajendra

Maybe you are looking for