Total time for a netstream object?

I'm making a video player, and I'm having trouble making a
seek bar. There is the "time" property of the
netstream, but there doesn't seem to be a way to find the total
length of the video in seconds, making it difficult to find the
fraction of the video played so far. I notice that there's the
total size of the video in bytes, but I'm hoping there's an easier
way to determine the length of the video (are bit rates variable or
fixed for flv files?)
tia

If you happen to be using the FLVPlayback component, I've
made a little tut on how to customize to have the ability to listen
for NetStatusEvents..
http://www.flashgods.org/blog/2008/01/18/modifying-flvplayback-to-dispach-netstatusevents/

Similar Messages

  • How do you display total time for playlist in Itunes 11

    how do you display total time for playlist in Itunes 11

    "I can see the total time in my playlist on the computer but not on my device??"
    I have just posted a question asking the same!
    Did you have any joy?

  • Capturing total time for a report..

    Hi all..
    I have a query. Is there a way to capture total time spent to show a report on browser
    If I understand the way it works in OBIEE
    Browser -Presentation Services -- HTTP Request or Response (This we can see by increasing sawlog config file to see more details in sawlog0.)
    Presentation services - BI Server (By Usage Tracking S_NQ_* tables, it gives response time, elapsed time and such statstics)
    BI Server - DB ( The query running time also captured in usage tracking table)
    My understanding is on whole when Presentation services pass the request to BI Server..and when it BI server returns the data to Presentation services..
    There shoud some COMMON PARAMETER to match the request sent and received ..Mapping the requests...
    Is there a way to get that parameter/variable/sytem variable..so that I can accomplish objective of tracking total time spend for a request..
    I could increase saw log and see there is no common parameter that I could match from Sawlog to NQQuery Log, but no luck
    Can anybody help here to find someway? any pointers?
    Thanks in advance..

    There is no parameter that captures the browser rendering time of the report. In the manage sessions if you check the report run time stats you should be able to find the elapsed time, db connect time and compilation time
    To find a more accurate time to render the report and the time when it has become active you can check that information Under Manage sessions in the RPD. That will give the start time and report active time which is the time at which the report is active.
    If you closely monitor this time in the sessions will be a little higher than the time present in the view logs elapsed time which includes the browser rendering time as well because it gives the report active time on it.
    Hope it will be helpful
    thanks
    prash

  • Regarding Residenct Time for Z archiving Object

    Hello experts,
    For standard archiving objects we have application specific customizing , where we define residence time..but in our case we are using Z archiving objects, we don't have "application specific customizing".could someone tell me where exactlly we have to define the residence time..
    Regards
    RR

    Hi RR,
    Not all standard archiving objects have the feature of application specific customizing to define residence time. For some objects (co_ml_idx, fi_sl_data, rl_ta to quote a few examples), we have to limit/control the residence time using the archive variants (variant for write job).
    In case of Z objects also you could follow the same, control the residence time using the selection variant for write job. An essential selection variable for doing this will be a date field (in form of date / year / period etc) in the archive selection variant.
    Hope this answers your question.
    Thanks,
    Naveen

  • Control the total time for a quiz

    I find in Captivate 4 it is possible set time limit for individual question. However, it is more useful for me to set a time limit for the whole quiz. I cannot find such setting in quiz preference. Can we do that without any customization by AS coding?

    It is possible to set a time limit in CP-quizzes, if you are creating a SCORM-object (for a LMS) by settings in the Manifest file: under SCO as you can see in this image:
    But honestly I believe it is much better to set time limits in the LMS itself (supposing you are deploying the quiz through a LMS).
    Lilybiri

  • Finalize() method being called multiple times for same object?

    I got a dilly of a pickle here.
    Looks like according to the Tomcat output log file that the finalize method of class User is being called MANY more times than is being constructed.
    Here is the User class:
    package com.db.multi;
    import java.io.*;
    import com.db.ui.*;
    import java.util.*;
    * @author DBriscoe
    public class User implements Serializable {
        private String userName = null;
        private int score = 0;
        private SocketImage img = null;
        private boolean gflag = false;
        private Calendar timeStamp = Calendar.getInstance();
        private static int counter = 0;
        /** Creates a new instance of User */
        public User() { counter++;     
        public User(String userName) {
            this.userName = userName;
            counter++;
        public void setGflag(boolean gflag) {
            this.gflag = gflag;
        public boolean getGflag() {
            return gflag;
        public void setScore(int score) {
            this.score = score;
        public int getScore() {
            return score;
        public void setUserName(String userName) {
            this.userName = userName;
        public String getUserName() {
            return userName;
        public void setImage(SocketImage img) {
            this.img = img;
        public SocketImage getImage() {
            return img;
        public void setTimeStamp(Calendar c) {
            this.timeStamp = c;
        public Calendar getTimeStamp() {
            return this.timeStamp;
        public boolean equals(Object obj) {
            try {
                if (obj instanceof User) {
                    User comp = (User)obj;
                    return comp.getUserName().equals(userName);
                } else {
                    return false;
            } catch (NullPointerException npe) {
                return false;
        public void finalize() {
            if (userName != null && !userName.startsWith("OUTOFDATE"))
                System.out.println("User " + userName + " destroyed. " + counter);
        }As you can see...
    Every time a User object is created, a static counter variable is incremented and then when an object is destroyed it appends the current value of that static member to the Tomcat log file (via System.out.println being executed on server side).
    Below is the log file from an example run in my webapp.
    Dustin
    User Queue Empty, Adding User: com.db.multi.User@1a5af9f
    User Dustin destroyed. 0
    User Dustin destroyed. 0
    User Dustin destroyed. 0
    User Dustin destroyed. 0
    User Dustin destroyed. 0
    USER QUEUE: false
    INSIDE METHOD: false
    AFTER METHOD: false
    User Dustin destroyed. 1
    User Dustin destroyed. 1
    User Dustin destroyed. 1
    User Dustin destroyed. 1
    USER QUEUE: false
    INSIDE METHOD: false
    AFTER METHOD: false
    User Dustin destroyed. 2
    User Dustin destroyed. 2
    User Dustin destroyed. 2
    User Dustin destroyed. 2
    User Dustin destroyed. 2
    User Dustin destroyed. 2
    User Dustin destroyed. 2
    User Dustin destroyed. 2
    USER QUEUE: false
    INSIDE METHOD: false
    AFTER METHOD: false
    User Dustin destroyed. 3
    User Dustin destroyed. 3
    User Dustin destroyed. 3
    User Dustin destroyed. 3
    User Dustin destroyed. 3
    User Dustin destroyed. 3
    User Dustin destroyed. 3
    User Dustin destroyed. 3
    User Dustin destroyed. 3
    USER QUEUE: false
    INSIDE METHOD: false
    AFTER METHOD: false
    User Dustin destroyed. 4
    User Dustin destroyed. 4
    User Dustin destroyed. 4
    User Dustin destroyed. 4
    User Dustin destroyed. 4
    User Dustin destroyed. 4
    User Dustin destroyed. 4
    User Dustin destroyed. 4
    User Dustin destroyed. 4
    USER QUEUE: false
    INSIDE METHOD: false
    AFTER METHOD: false
    User Dustin destroyed. 5
    User Dustin destroyed. 5
    User Dustin destroyed. 5
    User Dustin destroyed. 5
    User Dustin destroyed. 5
    User Dustin destroyed. 5
    User Dustin destroyed. 5
    User Dustin destroyed. 5
    User Dustin destroyed. 5
    USER QUEUE: false
    INSIDE METHOD: false
    AFTER METHOD: false
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    Joe
    USER QUEUE: false
    INSIDE METHOD: false
    AFTER METHOD: false
    User Dustin pulled from Queue, Game created: Joe
    User Already Placed: Dustin with Joe
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    INSIDE METHOD: false
    INSIDE METHOD: false
    USER QUEUE: true
    INSIDE METHOD: false
    INSIDE METHOD: false
    User Dustin destroyed. 9
    User Joe destroyed. 9
    User Dustin destroyed. 9
    User Dustin destroyed. 9
    User Dustin destroyed. 9
    User Dustin destroyed. 9
    INSIDE METHOD: true
    INSIDE METHOD: false
    USER QUEUE: true
    INSIDE METHOD: false
    INSIDE METHOD: false
    INSIDE METHOD: true
    INSIDE METHOD: false
    USER QUEUE: true
    INSIDE METHOD: false
    INSIDE METHOD: false
    It really does seem to me like finalize is being called multiple times for the same object.
    That number should incremement for every instantiated User, and finalize can only be called once for each User object.
    I thought this was impossible?
    Any help is appreciated!

    Thanks...
    I am already thinking of ideas to limit the number of threads.
    Unfortunately there are two threads of execution in the servlet handler, one handles requests and the other parses the collection of User objects to check for out of date timestamps, and then eliminates them if they are out of date.
    The collection parsing thread is currently a javax.swing.Timer thread (Bad design I know...) so I believe that I can routinely check for timestamps in another way and fix that problem.
    Just found out too that Tomcat was throwing me a ConcurrentModificationException as well, which may help explain the slew of mysterious behavior from my servlet!
    The Timer thread has to go. I got to think of a better way to routinely weed out User objects from the collection.
    Or perhaps, maybe I can attempt to make it thread safe???
    Eg. make my User collection volatile?
    Any opinions on the best approach are well appreciated.

  • Middleware- Taking long time for generation of Runtime objects- SMOGTOTAL

    Hi Experts,
    I am doing middleware settings for connecting CRM 2007 with R/3 4.7.
    When i am generating all the required objects ( Replication objects, publications....) using the transaction code SMOGTOTAL, system is taking very long time for generating the objects. Generally it takes 4 to 6 hours but in our case it has already took more than 36 hours and still its running.
    Can anybody tell me what i need to do to make the generation process faster.
    Regards
    Nadh

    What I read in the best practice:
    It is not required for a new installation.
    Typically this activity has already been executed during the system installation or upgrade.
    Use transaction SMOGLASTLOG  to check if an initial generation has already been executed. In this case you can skip this activity.
    I checked transaction SMOGLASTLOG, and in our case the initial generation was not yet executed. I also couldn't continue with the next steps.
    That's why I started up the job, it is finally finished after 104 hours..
    Thanks for your fast reply.
    Jasper.

  • Residence Times for Archiving Object

    Hi SAP Archiving Experts,
    I am working on an analysis Project.I have finalised the List of Archiving Objects and need the residence times fro each archiving object.
    Can any one let me know the source from which i can get the Standard SAP Recommended / the BEST PRACTICE for taking the Residence Time for the Archiving Objects...
    Mainly : FI, CO , HR Transaction Area Archiving Objects....
    Thanks.Kumar

    Hello Kumar,
    Residence times for archive objects usually differ from company to company as it depends on the needs of the business (and what they will agree to).  Some companies will use a standard residence time across all archive objects to make it easy for everyone to remember.  For example, some companies will use Current Year plus 2 as a base for all of the transactional data.  The technical archive objects (such as idoc's, application logs, etc.), will have a shorter residence time.
    Some of the HR objects will have a 2 year residence time hardcoded into the archive programs which you cannot change.
    The book Archiving Your SAP Data from SAP Press gives some examples of common residence times.  The second edition of this book is now available but I have not seen that yet and do not know if this version provides additional information.
    Hope this helps.
    Regards,
    Karin Tillotson

  • Finding the total time or total frames for FLV?

    Is there some properties box somewhere that will tell me the
    total number of frames or total time for an FLV? I can see the time
    after I encode the files, but that information doesn't seem to
    stick around.
    Thanks.

    You can see the time length of an FLV clip in your Library by
    right clicking the file name and chosing Properties from the menu.
    Hope that helps!

  • How do get particular date of total time

    this is our java code
        private static PreparedStatement preparedStatement;
        private static ResultSet rs;
        public static void main(String[] args) throws NamingException, SQLException
            int objectId;
            int clientId;
             DateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
            // String gpstime = null;
             PreparedStatement preparedStatement = null;
             Connection conn=null;
             long mill;
             long diffSeconds=0;
             long diffMinutes=0;
             try
              Class.forName("com.mysql.jdbc.Driver");
            Connection conn1=DriverManager.getConnection("jdbc:mysql://108.108.8.4:3306/navl?","root", "ajmani@%");
            preparedStatement = conn1.prepareStatement("select gpstime from xydata a inner join fm4features f on a.ID=f.ID where a.objectId= '18'  AND a.clientId = '1' AND a.gpstime > '2010-05-11 00:00:00'  AND a.gpstime < '2010-05-13 23:59:59' AND f.DataId='1' AND f.value = '1'");
            rs = preparedStatement.executeQuery();
            int a = 0;
            int b=0;
             int b1=0;
             int b2=0;
             int x=0;
             float secs = 0;
            Set<String> dates = new HashSet<String>();
            ArrayList<Integer> l=new ArrayList<Integer>();
              Timestamp t1 = null;
              Timestamp t2 = null;
              int count  = 0;
              while ( rs.next() )
                    String gpstime = rs.getString("GpsTime");
                 if (dates.add(gpstime) )
                     //System.out.println(rs.getTimestamp(1));
                     t2 =   rs.getTimestamp(1);
                     count++;
                   if (t1 == null )
                       int nano = t2.getSeconds();
                         System.out.println(nano);
                       System.out.println(nano);
                       System.out.println(t2);
                       System.out.println(count);
                  else
                        mill= (t1.getTime() - t2.getTime())/-1;
                        //System.out.println(mill);
                        diffSeconds = mill / 1000;
                        diffMinutes = mill / (60 * 1000);
                        long diffHours = mill / (60 * 60 * 1000);
                        long diffDays = mill / (24 * 60 * 60 * 1000);
                        //System.out.println("\nThe Date Different");
                        //System.out.println("Time in milliseconds: " + mill+ " milliseconds.");
                        System.out.println("GPSTime " +gpstime+ " Time in seconds: " + diffSeconds+ " seconds.");
                        //System.out.println("Time in minutes: " + diffMinutes+ " minutes.");
                        //System.out.println("Time in hours: " + diffHours+ " hours.");
                        //System.out.println("Time in days: " + diffDays+ " days.");
                  t1 = t2;
                //System.out.println("Time in minutes: " + diffSeconds+ " seconds.");
                if(diffSeconds < 80)
                  b=(int) diffSeconds;
                  System.out.println(b);
                  l.add(b);
                 else if(diffSeconds > 80)
                    b2=(int)diffSeconds%60;
                    System.out.println(b2);
                    l.add(b2);
                 a++;
              for (int i=0; i<l.size();)
                  secs+=l.get(i);
                  i++;
                 System.out.println(secs);
                 int hours = (int) (secs / 3600),
                 remainder = (int) (secs % 3600),
                 minutes = remainder / 60,
                 seconds = remainder % 60;
                    String disHour = (hours < 10 ? "0" : "") + hours,
                    disMinu = (minutes < 10 ? "0" : "") + minutes ,
                    disSec = (seconds < 10 ? "0" : "") + seconds ;
                    if (count < 2)
                        int se = Integer.parseInt(disSec);
                        String min = (t2.getSeconds() < 10 ? "0" : "") + t2.getSeconds();
                        System.out.println("00" + ":" +  "00" + ":" + min + " hh:mm:ss");
                    System.out.println(disHour +":"+ disMinu+":"+disSec+ " hh:mm:ss");
             }catch(Throwable th)
               Logger.getLogger(testing1.class.getName()).log(Level.SEVERE, null, th);
             }finally
               if(preparedStatement!=null)
                   preparedStatement.close();
               if(conn!=null)
                   conn.close();
    }this is output
    GPSTime 2010-05-13 20:16:13.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:17:10.0 Time in seconds: 57 seconds.
    57
    GPSTime 2010-05-13 20:18:10.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:19:10.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:20:10.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:21:11.0 Time in seconds: 61 seconds.
    61
    GPSTime 2010-05-13 20:22:11.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:23:11.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:24:11.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:25:11.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:26:11.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:27:11.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:28:12.0 Time in seconds: 61 seconds.
    61
    GPSTime 2010-05-13 20:29:12.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:30:12.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:31:12.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:32:12.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:37:46.0 Time in seconds: 334 seconds.
    34
    GPSTime 2010-05-13 20:38:46.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:47:22.0 Time in seconds: 516 seconds.
    36
    GPSTime 2010-05-13 21:12:54.0 Time in seconds: 1532 seconds.
    32
    GPSTime 2010-05-13 21:13:54.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 21:14:55.0 Time in seconds: 61 seconds.
    61
    GPSTime 2010-05-13 21:37:08.0 Time in seconds: 1333 seconds.
    13
    GPSTime 2010-05-13 21:38:09.0 Time in seconds: 61 seconds.
    61
    31169.0
    08:39:29 hh:mm:ssi am getting the total time for all date
    i need only the particular date of total time
    2010-05-11-->total time
    2010-05-12->Total time
    2010-05-13->total time
    how do i change the given code to get the above output
    please help me anybody having idea

    Bakthavachalam wrote:
    i am getting the total time for all date
    i need only the particular date of total timeIn which case your while(rs.next()) loop needs to process 1 day at a time and print its results when the date changes (assuming your Timestamps come in in date sequence; if not, you'll have to sort them first).
    I suspect you'll also have to decide what you want to do with
    GPSTime 2010-05-13 23:59:59.0
    followed by
    GPSTime 2010-05-14 00:00:01.0
    Do you still need to calculate the difference? And if so, which "date" does it go in, or is it split?
    Your logic seems incredibly convoluted for such a simple task. What exactly are you trying to do?
    Winston
    BTW: TimeStamp.getSeconds() is deprecated, which means you use it at your peril.

  • Calculating total time.

    I'm somewhat new to using spreadsheets. Basically I just want to keep track of the time I spend doing a particular job. So I'm tracking my start time, end time, and then I want to calculate the total time spent. Thanks.

    Yes, I thought about that. But if you start at say
    9pm and end at 2am you would get the incorrect result
    of 7 hours. I think I have to convert the time to
    something else before the math takes place. But I'm
    not sure how that would work.
    I'm not sure how you managed to subtract 9pm from 2pm and get 7 hours. When I try 2am - 9pm, I get #VALUE!, as AppleWorks reads both 'times' as text, and cannot use Text values in a formula that requires numbers. AppleWorks is a bit fussy on what it considers to be a number.
    Using the default alignment, you can recognize what AppleWorks thinks is a number—it will be aligned to the right of the cell—and what AW considers to be Text—it will be aligned to the left of the cell. In the case of Time, you're better off using the 24 hour clock, and entering one minute betore 2pm as 13:59.
    The Mac clock's unit of time is the (24 hour) Day, and all times entered are regarded as the portion of one day that has elapsed up to that time. When you do the subtraction, the result is also a time of day. For start and end times within the same calendar day, simply doing the subtraction will give a result that can be read as the (correct) elapsed time. For the example times you gave, the 'correct' result is also visible:
    02:00 - 21:00 = 05:00
    But the actual numbers behind that 05:00 result and the two times used to get it are the portion of the current day that has passed up to each of the times entered, and the difference obtained when you do the subtraction:
    0.0833 - 0.8750 = -0.7917
    If you only want the (readable) result for a single day, that's not a problem. But if you want to add the results to get a total time for a week, you need to (make AppleWorks) do some additional math. In simplest terms, you need to add 1 to the end time if the end time is on the calendar day after the start time. There's an explanation of this below, which you should read for a better understanding of Time and the Mac, but which isn't necessary to use the formula.
    The formula assumes your start time is in column B, your end time in column C, your formula reporting time worked is in column D, and that you will enter times in rows 2..6, and calculate the week's sum in D7
    Enter in D2, and fill down to D6: =IF(C2,C2-B2+(C2<B2),"")
    Format these cells to display as Time.
    Enter in D7: =24(SUM(D2..D6)) —to report the result in hours (eg. 25.678)
    Format the cell to display as Number, General.
    or
    Enter in D7: =INT(24(SUM(D2..D6))&":"MINUTE(SUM(D2..D6)) —to report the result as hours and minutes
    Note that the second option for D7 produces a text string which will not be useable in further calculations.
    This is Text, so no Number formatting is necessary.
    Regards,
    Barry
    Time and the Mac
    The Mac clock tracks time in Days and Fractions of a Day, starting at midnight, January 1, 1904.
    Nine PM today, May 8, 2006, represented as a decimal number, is 37383.875. Two AM tomorrow, May 9, 2006, is 37384.0833333333.
    An AppleWorks spreadsheet cell (or database field) formatted to display as Time will ignore the whole number part of those numbers, and interpret the decimal fraction part as Time of Day, and display the result in the Time format you have chosen for the cell.
    A cell (or field) formatted to display as a Date will ignore the fractional part of the number, and display the whole number part in the Date format you have chosen.
    When you enter a time, the result is the time of day on January 1, 1904. When calculating elapsed times where start and end times cross the midnight boundary, you need to add 1 (day) to the result to compensate for the change in day and get a result that can be used in further calculations. That's what the "+(C2<B2)" part of the first formula above does—adds 1 if "(C2<B2)" is TRUE or adds 0 it it's false.
    If you add times, the result is 'correct', but if the total reaches 24 hours, the displayed result will appear incorrect as a Time formatted cell ignores the whole number part of the actual result (eg. 27 hours, or 1.25 days), will display as 03:00, the same as 3 hours, or 0.25 days. You can convert the result to hours and fractions of hours by simply multiplying the result by 24, and displaying it as a Number rather than as Time.
    B

  • Scrubber bar displays only fraction of total time

    So, I recently decided to add some Ricky Gervais radio recordings to my iPhone's library as podcasts. I downloaded these around 4-5 years ago and at the time used my zune (I know, I know -.-) to play them. So I after I sync them to my iPhone and try to play them, I notice that the scrubbing bar on top is displaying a ridiculously short total time for the podcast. I sort of shrugged it off because I was at work and couldn't do much about it at the time. Now mind you, these recordings last anywhere from 40 minutes to an hour. The time displayed ranges from 2-4 minutes. This wouldn't really be an issue, but it does not allow me to pause or rewind after it reaches the shorter time displayed. The podcast will continue playing if left alone, but once you hit pause or try to fast forward or rewind it will revert back to the end of the 2-4 minutes. This gets to be a pain because then I have to fast forward through the use of the playback speed button in order to reach the place I was at. These files are all .mp3s. I did add them manually to my iTunes library and then change their media type to podcast. The podcasts display regular time when playing on my desktop's iTunes. I recently noticed that the correct time displays for a fraction of a second when I begin to play one, but then switches itself to the shorter time (using the scrubbing bar during the time that it flashes the correct time does nothing as it just starts playing at the end of the shorter time displayed). I'm pretty sure this problem is something I have done on my end, but I'm not sure what that might be. I'm willing to try anything out just to fix this issue.

    Yep. That did it. I had iTunes create an apple lossless version of one podcast just to test it out and when I synced it the scrubber bar displayed the correct total time for the lossless version. I'll have to make a day of fixing up my old podcasts in batches. Thanks for the help though, this was driving me batty!

  • Report-Total Discount of total product for perticular time

    Hi Experts.,
    my client gave a requirement ,he wants a report  on Total Discount of total product sold by giving item and material group. The report is unavailable in Stanadard hence have to develop.
    i need some help in creating this Report,
    With the development of this screen,  user can view Total Discount given on total product sold.
    The report should display the Item, Material group and Date
    Selection fields
    1-Material -  FACOM-MATNR
    2- material group VBRP-MATKL
    3- Item-  VBRP-POSNR
    4-document date-- From  VBRK-FKDAT  , To FACOM-FKDAT_BIS
    Discount from total sales will be taken from total bill amount for the perticular period
    The question is which field and table i will fetch for TOTAL DISCOUNT ,from the total sales for perticular period.
    please  suggest me ASAP
    i am waiting for the response
    Thanks,

    Hi
    I suggest to do with an ABAPer. It's been a long time since the last time that I did it. This is an idea, thinking in performance.
    1. Add a zz-field (ZZDICOUNT for instance) in table VBAP with an append. See Note 155012 - Further subtotal fields in pricing to do it if you don't want to use a field between KZWI1-6. Use the field ZZWI7 for instance.
    2. According to note 350068, do the steps that it suggests using field ZZWI7 instead KDMAT, ie, in step 4 you must do in include V05TZZMO. I think that perhaps you would add KNUMV (as ZZKNUMV) to orders before modification (be careful with performance)
    ***INCLUDE V05TZZMO .
    * This form is called in the include LV05TFMO.
    FORM MOVE_USERFIELDS USING ZP.
      CASE ZP.
        WHEN 'VBAK'.
    *     header
    *     MOVE LVBAK-XXXXX TO LVBMTV-ZZXXXXX.
          MOVE lvbak-knumv TO lvbmtv-zzknumv.
        WHEN 'VBAP'.
    *     item
         MOVE LVBAP-ZZWI7 TO LVBMTV-ZZWI7.
    *    for older documents (check it with your ABAPer, don't copy it and run in production without checking)
         IF lvbap-zzwi7 IS INITIAL.         "see if it's possible to check by date too
            SELECT SINGLE kbetr INTO zzwi7 FROM konv
               WHERE knumv = lvbmtv-zzkumv            "check that it's populated
               AND     kposn  = lvbmtv-posnr
               AND      ...........          "decide the type of select (GROUP BY,
                                               "INTO TABLE, ie: with an internal table
         ENDIF.
        WHEN 'VBEP'.
    *     schedule line
    *     MOVE LVBEP-XXXXX TO LVBMTV-ZZXXXXX.
      ENDCASE.
    ENDFORM.
    Remember that you must register the object in SSCR.
    3. Remember that it will work from this moment. Before this date with this coding doesn't work because the coding to catch data from KONV I'm not sure that it will work. So, perhaps the ABAP report will be the better solution.
    Moreover, take your time, look for help from an ABAPer if you don't know enough ABAP and of coure, check it and check it newly.
    I hope this helps you
    Regards
    Eduardo
    Edited by: E_Hinojosa on Jul 6, 2011 1:36 PM

  • I tRounding the Total Scores for Objectives and Competencies in Application

    Hello
    Where does one change the format of the total scores for the Overall Ratings and Comments - Objectives and Competencies in the front end /application?
    Currently the total scores are in the format Objectives: Total Score 3.375
    Competencies Total Score 2.69230769230769
    HR want to show the Total Scores as rounded to 2 decimal places in the application so 3.375 becomes 3.38 and
    2.69230769230769 becomes 2.70
    Now i know how to do this in Toad using a select on the TOTAL_SCORE column in the hr.per_assessments table, but this is not i want to do here. Here i want to change the format in the FRONT END, not in the back end.
    I tried the fast formulas but they dont seem to work unless i am missing something
    Edited by: iandekoker on Apr 2, 2009 2:53 PM

    in case anyone wondered you use the package called apps.hr_appraisals_util_ss. Inside the package you can add round(,2) to obtain the result

  • Rounding the Total Scores for Objectives and Competencies in application

    Hello
    Where does one change the format of the total scores for the Overall Ratings and Comments in the front end /application?
    Currently the total scores are in the format Objectives: Total Score 3.375
    Competencies Total Score 2.69230769230769
    HR want to show the Total Scores as rounded to 2 decimal places in the application so 3.375 becomes 3.38 and
    2.69230769230769 becomes 2.70

    in case anyone wondered you use the package called apps.hr_appraisals_util_ss. Inside the package you can add round(,2) to obtain the result

Maybe you are looking for

  • Help with image clipping in FCP 7 video filters

    Hi there,      I'm working with an image with text (one jpeg, the other psd), and when I apply a video filter (glow, bloom, or the like) that extends the outside of the image, it clips the edges.      I've tried expanding the area around the image in

  • Page Navigation portlet - 3.0.9

    I want to create a page navigation portlet in 3.0.9, similar to that in 9.0.2. How can this be done? I want the portlet to navigate between pages and sub pages and I do not want to use the nasty default navigation link that appears on sub-pages in 3.

  • CS6 Video won't play properly

    Video will not play properly [audio plays well video hangs ] in Adobe Photoshop CS6 running on a Win7-64 machine equipment with a quad-core processor. Video plays properly in Lightroom 4 and Bridge CS6. What is the solution?

  • JMS Receiver channel : No Correlation ID

    Hi, JMS Receiver channel to WebSphere MQ, I want to put a message on the queue with correlation ID left blank (= no correlation ID), because this causes problems on the receiving side. Is there a way to achieve this? I have tried several different se

  • Message you can't open safari because it is not supported on this type of Mac

    Any help on the message on a Macbook pro with 10.9. Getting message you can't open safari because it is not supported on this type of Mac. and did a update.