Hi frnds need to calculate the distance

hi frnds,
In siebel am in need of Calculating the distance between two zipcodes using the latitude and longitude with the help of a table provided without integration, can any one help me out with dis requirement ..thanks

Hi Virginie,
Check both feature PFREQ (Edit with transaction PE03) and user-exit corresponding to enhancement PARA0001.
rgds,
Carlos.

Similar Messages

  • Need to calculate the area of a vector shape in Illustrator CS6

    Hi All,
    I need to calculate the area of vector graphics we are designing for a vinyl window sticker. I've read a couple of previous threads, and all the solutions provided either don't work (using cmd, option, shift F12 to open debugging menu to get area), or are beyond my level of experience (doing a build of the Telegraphics Path Area Filter). Does anyone have any solutions, or know how to access the debugging menu/window other than using cmd, shift, option F12....I couldn't even find it in the Shortcut Keys preferences).  Thanks!

    Jacob
    It worked very well - great stuff!. I am a physician and I am working on cardiac MRI.. such as calculating the heart function using slices of heart images in systole and diastole (when the heart is squeezed or full of blood).
    .. we can write a little medical paper comparing really pricey software (GE, Siemens, Medis you name it..) with this method for people with not too many pennies in their pocket. The advantage of using Illustrator is that you can blow up the images up to the point of loosing resolution, and trace the margins of the heart with an accuracy that would make any GE guy cry for his mama..
    I thought even a cm further.. for simple-minded people (such as physicians for example) one would like a way to input the area of one slice directly into an equation. For example would be a way to create a routine that would take the number of the area of one slice and input it in this equation? Such as to create a little square where you put the slice, you trace it and then the program takes that number and pitches it in the equation without you writing it down on a paper.
    thanks again!
    Avi

  • Need to calculate the monthly amount based to the annaul salary

    Hi Expert,
    I need to calculate the monthly amount based to the annual salary.
    Some countries use a multiplier more than 12 to calculate the annual salary (e.g : 13,14 ...).
    My problem is to calculate the monthly increase.
    The increase amount is on the annual salary but for the monthly increase, normally, the system divides by the mutliplier.
    But some countries would like calculate these amount on 12 and not the real multiplier.
    So, could you please tell me there are user-exits or other to make this ???
    Thanks in advance,
    Virginie

    Hi Virginie,
    Check both feature PFREQ (Edit with transaction PE03) and user-exit corresponding to enhancement PARA0001.
    rgds,
    Carlos.

  • Excel formula to calculate the distance between multiple points using lat/lon coordinates

    I'm currently drawing up a mock database schema with two tables: Booking and Waypoint.
    Booking stores the taxi booking information.
    Waypoint stores the pickup and drop off points during the journey, along with the lat lon position. Each sequence is a stop in the journey.
    How would I calculate the distance between the different stops in each journey (using the lat/lon data) in Excel?
    Is there a way to programmatically define this in Excel, i.e. so that a formula can be placed into the mileagecolumn
    (Booking table),
    lookup the matching sequence (via bookingId)
    for that journey in the Waypointtable
    and return a result?
    Example 1:
    A journey with 2 stops:
    1 1 1 MK4 4FL, 2, Levens Hall Drive, Westcroft, Milton Keynes 52.002529 -0.797623
    2 1 2 MK2 2RD, 55, Westfield Road, Bletchley, Milton Keynes 51.992571 -0.72753
    4.1 miles according to Google, entry made in mileage column
    in Booking table
    where id
    = 1
    Example 2:
    A journey with 3 stops:
    6 3 1 MK7 7DT, 2, Spearmint Close, Walnut Tree, Milton Keynes 52.017486 -0.690113
    7 3 2 MK18 1JL, H S B C, Market Hill, Buckingham 52.000674 -0.987062
    8 3 1 MK17 0FE, 1, Maids Close, Mursley, Milton Keynes 52.040622 -0.759417
    27.7 miles according to Google, entry made in mileage column
    in Booking table
    where id
    = 3
    I understand that 100% accuracy is not possible, so it will not be an issue.

    http://www.cpearson.com/excel/LatLong.aspx
    and
    http://www.contextures.com/excellatitudelongitude.html

  • Need to calculate the working daz urgent

    Hello Experts
    For the days starts from first to end in every month it has to give the number of working days till the corresponding date.
    If it on 1st month on 1st it has to give the value as 1 if it as working day if it is on 2nd it has to give 2 ….like this for all the months I need to calculate.
    Help me with variable exit…
    Thanks

    Hi,
    make a loop starting from the first of the month to 'your' actual date and
        call function 'DATE_CONVERT_TO_FACTORYDATE'
               exporting
                    date                        = l_date
                    factory_calendar_id         = l_cal
              importing
                   workingday_indicator         = l_found
              exceptions
                   others                       = 1 .
    In case l_found is space, l_date is a working day. In that case increase a working day counter.
    regards
    Siggi

  • Need to calculate the number of records in an XML file

    I need to find out how many records I have in an XML file. The file resides on a unix server and before doing anything with, i need to insert the record count into a separate table. Is there any function or procedure that can achieve this?

    does each record start with a new line? if it does a
    simple wc -l can help you. If not, you can pre
    process this XML file by first removing all the new
    line characters using sed and then adding new line
    characters after the end tag of the xml using sed and
    finally doing a wc -l . this would be a simple shell
    script. Not sure if you want to use Unix shell
    scripting to achieve this.The sheer nature of XML means that it does not conform to any visual formatting. i.e. An xml file containing...
    <employee><empno>3</empno></employee>
    is identical in XML terms to...
    <employee>
    <empno>3</empno>
    </employee>
    which is also identical in XML terms to...
    <employee>
    <empno>
    3
    </empno>
    </employee>
    which is also identical in XML terms to...
    <employee><empno>
    3
    </empno></employee>
    etc.
    You cannot rely on the number of CR's or CR/LF's in the file to count the records. Proper XML processing should be used for such a task.

  • How to calculate the total  length of a Line

    Hi,
    We are using Mapviewer for representing for spatial data in form of a Image .
    We are using Mapviwer.addLinearFeaure for drawing lines on the Image( browser)
    Thsese lines are drawn .
    Now our requirement is we need to calculate the length of the lines in our Image .Please tell me how to do this .
    Thanks in advance
    Edited by: user672373773 on Nov 11, 2009 9:11 AM

    You can do this by two ways.
    1) create SDO_GEOMETRY from your coordinates and use SDO_GEOM.SDO_LENGTH to get length of the line.
    Or
    2) iterate your line points coordinate array and calculate distance between points add it to final length.
    Here is snippet to calculate length of line (not tested)
    length = 0;
    for( i=0; i<coordpts.length-2; i++) {
    length = length + getDistance(coordpts[0], coordpts[1]);
    to calculate distance between 2 points use below code (getDistance() source code)
    double dblDistance = Math.sqrt(Math.pow((dblPt2[0] - dblPt1[0]), 2) + Math.pow((dblPt2[1] - dblPt1[1]), 2));
    In both case you need to convert screen coordinate to map coordinate.
    Sujnan

  • How to Calculate the Space between two Characters in GDI + ?

    I am Drawing the set of characters in Graphics, by Calculating the points using GraphicsPath for each Character. I Need to know how to calculate the distance should be given between the two characters?
    I am using this code to generate points
    PointF [] pnts;
    var p=new GraphicsPath();
    path.AddString("A","Arial",(int)FontStyle.Regular,50,new pointF(0f,0f),StringFormat.GenericDefault);
    Matrix m=new Matric(1,0,0,1,0,0);
    path.Flatten(m,1,0f);
    pnts=path.pathpoints;
    i am getting the points for all characters using the above code.
    Now i am combining the two character Using the points generated by the above code.  Eg "AB"
    Help me to calculate the the character space should be given between two characters?
    Thanks in Advance...

    Hi,
    this link can assist you:>
    Professional C# - Graphics with GDI+ 
    Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP]

  • How to calculate the % of time difference between different state

    Hi there,
    The below query returns the follwoign outptut. I need to calculate the % of time period that a specific state ( state ex: open or closed or all report )exists.
    I have to find the time difference between the 2 states . How could I do that ?
    The first row shows null for the previous state . How could get actual previous state for the first row?
      SELECT si.station_name,
                    vppstation.avi_control_state_code.STATE_SHORT_NAME,
                    ash.state_id ,
                    lag(ash.state_id) over (order by ash.STATE_EFF_DATE desc) previous_state,
                    TO_NUMBER(TO_CHAR(ash.state_eff_date, 'SSSSS')) "periods in sec",
                    TO_CHAR(ash.state_eff_date, 'dd-mon-yyyy hh24:mi:ss am') "Date"
               from vppstation.avi_state_history ash
    left outer join vppstation.avi_control_state_code
                 on ash.state_id = vppstation.avi_control_state_code.state_id
    LEFT OUTER JOIN vpproadside.stations_installed si  
                 ON ash.station_id = si.station_id               
              where ash.state_eff_date >= to_date('28/02/2010', 'dd/mm/yyyy')
                and ash.state_eff_date <= to_date('03/03/2010', 'dd/mm/yyyy') ;
           group by si.station_name
                         ash.state_id
           order by ash.state_eff_date asc ;
    STATION_NAME                   STATE_SHORT_NAME STATE_ID               PREVIOUS_STATE         periods in sec         Date                   
    IRDNCST02                      Open             1                    NULL                  85166                  01-mar-2010 23:39:26 pm
    IRDNCST02                      All Report       3                      1                      85159                  01-mar-2010 23:39:19 pm
    IRDNCMT01                      Closed           2                      3                      81376                  01-mar-2010 22:36:16 pm
    IRDNCST02                      Open             1                      2                      78723                  01-mar-2010 21:52:03 pm
    IRDNCST02                      All Report       3                      1                      76023                  01-mar-2010 21:07:03 pm
    IRDNCMT01                      Open             1                      3                      55922                  01-mar-2010 15:32:02 pm
    IRDNCMT01                      Closed           2                      1                      54931                  01-mar-2010 15:15:31 pm
    IRDNCHA01                      Closed           2                      2                      41291                  01-mar-2010 11:28:11 am
    IRDNCAS01                      Open             1                      2                      38847                  01-mar-2010 10:47:27 am
    IRDNCAS01                      All Report       3                      1                      37947                  01-mar-2010 10:32:27 am
    IRDNCST02                      Open             1                      3                      35332                  01-mar-2010 09:48:52 am
    IRDNCST02                      All Report       3                      1                      32632                  01-mar-2010 09:03:52 am
    IRDNCST02                      Open             1                      3                      31502                  01-mar-2010 08:45:02 am
    IRDNCST02                      All Report       3                      1                      28802                  01-mar-2010 08:00:02 am
    IRDNCHI01                      Open             1                      3                      25368                  01-mar-2010 07:02:48 am
    IRDNCHI02                      Open             1                      1                      23939                  01-mar-2010 06:38:59 am
    IRDNCMT01                      Open             1                      1                      20696                  01-mar-2010 05:44:56 am
    IRDNCCH02                      Open             1                      1                      13452                  01-mar-2010 03:44:12 am
    Edited by: Indhu Ram on Mar 11, 2010 1:34 PM
    Edited by: Indhu Ram on Mar 11, 2010 2:20 PM

    If you look at the table which is output of the given query , there is column called "STATE_ID" It shows the current state ie open or closed or all report.
    The column 'PREVIOUS_STATE' shows the state before the current state. .In the table in 2nd row in previous_state column there is state_id = 1 (open)which is the state before 'all report state'

  • How to calculate the duration/age of a work request.

    I need to calculate the actual resolution time in 'Days:Hours:Minutes' format, for the work requests which are being worked upon by the engineers working in my team. I am using MS-Excel (MS-Office 2013) for reporting. The tool from which I am exporting
    the details shows the Open and Resolved time as MM/DD/YYYY HH:MM:SS (3/20/2015 10:32:16 AM). I am sure this is one of the thing which is not that difficult and many reporting people are doing this. Thanks in advance for the assistance.
    Regards, Ankit Arora

    Let's say that the Open date/time is in A2 and the Resolved date/time in B2.
    The formula for the resolution time is =B2-A2
    Format the cell with the formula with the custom number format d:hh:mm
    This will work as long as the number of days is at most 31.
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • How to calculate the unit for RATE?

    Hey All,
    I am not sure if there is something standard for this or not.
    I am calculating the 'Rate' by using 'Value/Amount' and 'Quantity' as follows -
    Rate == Value /  Quantity
    I need to calculate the unit for the rate as below -
    Rate unit == Value unit (Currency) /  Quantity unit (Base_uom) 
    (for example -
    if value is 1000 USD and quantity is 10 TO then Rate should come out as 100 USD / TO)
    Could anyone please suggest how to calculate the unit in this case?
    Many Thanks!
    Tanu

    Hi,
    Go through the below link it may give some idea
    http://help.sap.com/saphelp_nw04/Helpdata/EN/19/1d7abc80ca4817a72009998cdeebe0/content.htm
    Regards,
    Marasa.

  • How to calculate the number of days worked for a given period

    I need to calculate the number of days worked by contractor employees for a time period to be entered by a user. I am building a query on an infoset which contains employee information including contract start date and contract end date for the employee.
    Ideally I'd like the user to enter the time period which should be reported on e.g. 01.08.2009 to 31.08.2009
    The report should then identify all the contractor employees which were working during this period and to work out how many days they worked during this period. Obviously the contract start and end dates could fall both inside and outside the reporting period.
    Can this be done and if so, do you have any suggestions as to how to do it?
    Thanks.

    hi
    So here you will first have to load the master data table employee in one internal table and read this table with the variables entries.
    Your code in the reporting exit should look like that.
    bye
    data : wa_employee type /bi0/pemployee.
    When 'ZDATE1'
    if i_step = 2.
    LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZDATE2'.
    clear l_s_range.
    clear wa_employee
    1- select the entries from table employees
    select single employee dateto datefrom
    from /bi0/pemployee
    into corresponding fields of wa_employee
    where dateto le loc_var_range-low
    and datefrom ge loc_var_range-high.
    if sy-subrc eq 0.
    CALL FUNCTION 'FIMA_DAYS_BETWEEN_TWO_DATES'
       EXPORTING
           i_datum_von  = wa_employee-datefrom
           i_kz_ult_von = 'X'
           i_datum_bis  = wa_employee-dateto
           i_kz_ult_bis = 'X'
           i_szbmeth    = '1'
       IMPORTING
          e_tage       = no_days.
           l_s_range-low  = no_days.
           l_s_range-sign = 'I'.
           l_s_range-opt  = 'EQ'.
          APPEND l_s_range TO e_t_range.
              ENDIF.
            ENDIF.
    endloop.
    ENDIF.
    Boujema

  • How to calculate the circumference of a circle based on the following Circle class?

    I have the following sealed Cirlce class
    public sealed class Circle
    private double radius;
    public double Calculate(Func<double, double> op)
    return op(radius);
    I need to calculate the circumference of a (an arbitrary) circle based on this class without modifying the class.  Here is what I tried that is not working:
    Circle cir = new Circle();
    double circ = 2 * Math.PI * cir.Calculate(5, 5);
    How can I calculate a circumference of a circle based on this scenario?
    Rich P

    Ok, let's clarify:
    Facts:
    1. The radius-field is private, and you can't set it via a public member like a method/property.
    2. You don't want to change the class, but the radius
    That means in other words you want to change a private field from outside of the class, which is not nice, but possible:
    Circle cir = new Circle();
    var field = cir.GetType().GetField("radius",BindingFlags.Instance|BindingFlags.NonPublic);
    field.SetValue(cir, 5);
    double circ = cir.Calculate((radius) => 2 * Math.PI * radius);
    Ha, and now, did I manage to pass the skills test question? ;-)
    Thomas Claudius Huber
    "If you can't make your app run faster, make it at least look & feel extremly fast"
    My latest Pluralsight-course:
    Windows Store Apps - Data Binding in Depth
    twitter: @thomasclaudiush
    homepage: www.thomasclaudiushuber.com
    author of: ultimate Windows Store Apps handbook |
    ultimate WPF handbook |
    ultimate Silverlight handbook

  • I need to get the position of scrollBar in JScrollPane

    I have two JTables pleaced in JScrollPanes. User can drag a cell from the first table and drop it on the second. I catch selected row nr in the first tible when dragging starts (using rowAtPoint(e.getPoint())) and when user releases mouse I need to calculate the position on the second table.
    Everything works great but if scrollBar in the first table is scrolled down I have a position of pointWhereMouseIsReleased == pointOnScreen+positionOfScrollBar
    All I need to get is the position of the scroll bar. I tried to use getValue() and so on but it didn't work.
    Any sugestions?
    Thank you,
    Przemek

    ((JViewport)table.getParent()).getViewPosition()will give you the position of the upper-left-hand corner of the viewport, in your JTable's coordinate system. Is that what you need?

  • How to calculate the key figure value on other key figure

    Hi,
    I have a material character and  Packing Hour, No of Boxes key figures. My requirement is i need to calculate the % no of boxes are Packed <2 Hour , 2 to 3 Hour and above 4 hour based on the packing hour.
    Sample data
    Material     Packing hour    No of boxes
    001            1 hr                   5 box
    002            2 hr                   3 box
    003            2hr                    7 box
    004            3hr                    2 box
    005            5hr                    1 box
    Here  we are not considering meterial. We are considering Only Packing hour and no of box  to calculate % no of Boxes within a time period. Please help me out...to calculate % no of boxes based on hour period
    Thanks,
    Rama Devi

    hi
    its like creating buckets for analysis...
    u'll have to create  formula in KF...
    1.
    if (Pack Hrs <= 2) * No Of Boxes
    2.
    If (Pack Hr >= 3 or Pck Hr <= 4) * No Of Boxes
    like this u'll have to create bucket..

Maybe you are looking for

  • Safari Downloads: One at a time?

    Is there any way to limit Safari to downloading items in the queue one at a time rather than all concurrently? I have a rather slow internet connection (at least not speedy) and if I have three or four 200+ MB files downloading at once it takes hours

  • 10.4.5 - mac mini can't connect to network via airport since upgrade

    I've been experiencing problems since upgrading to 10.4.3. Mainly, I've noticed that I can't easily connect to our wireless home network all the time. The pattern has been that I start by shutting down my computer completely. When I start up it again

  • How do you convert this code from AS3 to AS2?

    Hi, I created some AS3 code that is working perfectly for us. However now we need to convert it to AS2 so that it can be Flash Player 8 compatible. If it could also be compatible for Flash Player 7 that would be ideal but not a requirement. Thanks in

  • Emac freeze outside repair serial #

    My 2 year old emac is freezing constantly. I have run disk warrior, tech tool pro, and disk utilities via fire wire from a lap top and a G5. In addition to doing a total reinstall of the os. The emac will freeze if i try to run disk utilities from it

  • Table Maintenance : display only in testing environment

    Hi All, I have a Z table , for which I have created a maintenenace dialog screen and finally assigned this to a transaction code. The transaction code calls the maintenenace screen in a proper manner.  My requirement is that in testing environment, t