FlushGraphics(x, y, w, h) clash, who is correct?

when using GameCanvas.setFullScreenMode(), GameCanvas.flushGraphics(x, y, w, h) is not working as intended, or at least there are 2 different schools of behavior, depending on the emulator:
Behavior #1, followed by:
- Sun WTK21 / DefaultColorPhone
- SonyEricson WTK2 / K700, Z1010 & co
- Motorola SDK v4.1 / V300/400/500 & co
Behavior #2, followed by:
- Nokia Series 60 (e.g Series_60_MIDP_SDK_2_1_Beta)
Surprisingly, the most "intuitive" behavior is #2, eventough behavior #1 is more popular!
Following is a minimal test case, set by default to the counter-intuitive Behavior #1 (to switch to the other behavior, see the comments...)
Any clues which school is correct?
n.b. this one should be tested on models with bigger displays than 128x128...
package simple_1;
import javax.microedition.lcdui.*;
import javax.microedition.midlet.MIDlet;
import javax.microedition.lcdui.game.*;
public class Simple_1 extends MIDlet
  static final int W = 128;
  static final int H = 128;
  int x = W / 2, y = H / 2;
  boolean running;
  MyCanvas canvas;
  public void startApp()
    if (canvas == null)
      canvas = new MyCanvas();
      Display.getDisplay(this).setCurrent(canvas);
      canvas.start();
  public void pauseApp()
  public void destroyApp(boolean unconditional)
    if (canvas != null)
      canvas.stop();
  class MyCanvas extends GameCanvas implements Runnable
    MyCanvas()
      super(true);
    public synchronized void start()
      setFullScreenMode(true);
    protected void sizeChanged(int width, int height)
      if (!running)
        running = true;
        new Thread(this).start();
    public void run()
      // without a pause, getHeight() is not correct on Nokia's Series_60 emulators
      try
        Thread.sleep(1000);
      catch (InterruptedException e)
      int w = getWidth();
      int h = getHeight();
      int dx = (w - H) / 2;
      int dy = (h - H) / 2;
      Graphics g = getGraphics();
      g.setColor(0x808080);
      g.fillRect(0, 0, w, h);
      flushGraphics();
      while (running)
        g.setColor(0xffffff);
        g.fillRect(0, 0, W, H);          // Behavior #1
        //g.fillRect(dx, dy, W, H);     // Behavior #2, TRY ME INSTEAD!
        x = (x + 1) % W;
        y = (y + 1) % H;
        g.setColor(0xff0000);
        g.fillRect(x, y, 4, 4);               // Behavior #1
        //g.fillRect(dx + x, dy + y, 4, 4);     // Behavior #2, TRY ME INSTEAD!
        flushGraphics(dx, dy, W, H);
        try
          Thread.sleep(10);
        catch (InterruptedException e)
    public void stop()
      running = false;
}

another hint, confirming the idea that Behavior #2 is problematic:
with Sun WTK21/DefaultColorPhone, or with SonyEricsson K700, Z1010 emulators, when you pause the application (using the top menu), then when you resume: display is broken!

Similar Messages

  • Using Disk Utility to restore/copy disk - who is correct?

    I had two long talks with two separate Apple Care people online today who both insisted what they were saying was right and the other person was wrong.
    Hmm....
    My question is this.
    I have a MBP and the internal HD is currently empty. I've been running off of an external HD for about a year now.
    I want to clone my external HD into my internal HD and use the internal HD as my system disk now.
    One Apple Care person said to go into Disk Utility, select the source disk, from the tabs on the right hand side select Restore and then drag the source disk into the source field, drag the target disk into the target field and press restore. She said this will make a complete clone of the external HD in the internal HD.
    The other Apple Care person said "No no no. You can't do that to clone a system disk that way." He said the best thing was to install a new system and then use the restore as a new system from Time Machine option (where I also have a backup.)
    I believe the second method will work, but it's more cumbersome for me because I haven't been backing up everything in Time Machine. I have excluded items, such as podcasts and Parallels disk images.
    If I could do this from the external system disk life would be easier.
    But is the first Apple Support person right or wrong about this? Can I use Disk Utility to copy the system disk from one external HD to another that way?
    Thanks,
    doug
    p.s. I am not in the market for 3rd party software to deal with this one-time issue, so if possible I would like to accomplish this using OS X included features...

    The advantage is CCC has built in routines that "bless" (see the Terminal.app command "bless") the
    os x installation so it will boot properly on the new volume it is being installed on.
    Disk Utility simply copies (restores) files from one volume to another. Many times this works just fine.
    Sometimes it won't boot afterwards. Most of the time (as long as there are no system files missing
    or corrupted) a person may "bless" the drive and restore it to working condition.
    CCC is not a "magical" application, it is in fact a front end to applications that already exist separately
    in OS X (asr, hdiutil, diskutil, bless, etc.).
    It doesn't matter to me how you do it. It's your time not mine. Everyone should spend some time
    behind the command line in terminal. I do many tasks using the command line, including and not
    limited to complete system restores, backing up data, disk partitioning, installing software, disk
    repair, permissions repair, ACL management, restoring data, managing disk images, network
    management, user management, file management, etc. Many people are fearful of the command
    line. I feel just the opposite, I'm fearful without it.
    Say Hello to my little friend.
    http://manuals.info.apple.com/enUS/Command_Line_Adminv10.5.pdf
    http://www.apple.com/downloads/macosx/unixopensource/clix.html
    http://www.macobserver.com/tips/macosxcl101/index.html
    http://www.matisse.net/OSX/darwin_commands.html
    Kj

  • In contacts the country field of the address does not appear in the print pre view or or in the printed label. any suggestions  why or who to correct ?

    In contacts on my new i Mac the country field does not show in the label print pre view or the printed label.
    Any suggestion of why this is happening?

    I have found a solution - no bug. See this link
    Address book

  • Javac / Eclipse compiler discrepancy: who's correct?

    If you compile the following code using both javac and Eclipse 3.1, the results are different.
    public class EclipseJavacDisagree
        public static <T> T method(Comparable<T> value)
            System.out.println("Method A");
            return null;
        public static <T extends Comparable<T>> T method(T value)
            System.out.println("Method B");
            return null;
        public static void main(String[] args)
            method("A Comparable String");
    }The Eclipse output is "Method A" whilst javac's is "Method B".
    Does anyone know which implementation is correct? I gather from JLS3 that both methods are applicable by subtyping, but I get lost in section 15.12.2.5 trying to figure out which of the two is most specific.
    Thanks,
    Alex.

    I believe there is a typo in your post. Shouldn't the second definition be:
    public static <T extends Comparable<T>> T method(T value)Should that even compile? I thought covariant return types were only for overloading. This is an example where the erased types method signatures are:
    Object method(Comparable)
    Comparable method(Comparable)
    How does the compiler determine which one to use? Does it base it on what type the return value is cast to? What about the situation here where the return type is not used.
    In any event, with Sun's compiler, I can't see how you can ever call the first method anyway. No matter whether you assigned the returned value in an Object or a String, it still calls version B. What does Eclispe do when the main method is:
        public static void main(String[] args)
            Object o = method("A Comparable String");
            String s = method("A Comparable String");
        }

  • Who points the IP address

    I have a client that bought a domain name from bitServe. GoDaddy is going to be hosting my DW site.  My client input the two GoDaddy name servers but Godaddy says that the ip address has to be pointed properly in the DNS manager at bitServe and bitServe says GoDaddy has to do it. Does anyone know who's correct? I have the site uploaded and ready to go!!!! I would really appreciate some input so I know who to argue with!!!
    Thank you,
    Faith

    The IP address of the 'hosting' provider - in your case, GoDaddy will give you their nameservers that you should point your domain to.
    Once you get these nameservers, you should go to your domain control panel in bitServe and add them to the domain's nameserver area.
    For example, Godaddy's nameservers will be something similar to:
    ns21.domaincontrol.com
    ns22.domaincontrol.com
    Godaddy will give you these when you try to set up hosting for a domain that is not registered with Godaddy. You can login to Godaddy's hosting control panel to find out the nameservers for your site that you've set up with them.
    In your bitServe control panel, you'll have an area where you can see & modify the nameservers for the domain you've registered with them. You should put these nameservers as 'Primary' & 'Secondary' nameservers.
    Once the change is done, it will take upto 48 hours for the change to reflect and propagate across all DNS servers at ISP's end. After this, your domain will be active on the new nameserver - in your case, Godaddy.
    Since your domain is not registered with Godaddy, godaddy can only give you the NS information. The update has to be done at bitserve's end, not godaddy.
    -ST

  • Who is Right:  Tomcat or IPlanet?

    As I am reworking the authentication infrastructure for medium sized J2EE application. And I have been writing a simple war to test some strategies.
    My test war uses a simplified servlet controller ala Pet Store. In effort to protect some 'stuff' from being 'called' directily w/o going thru a controller, I installed a security contraint on a URL pattern and its role is set to 'nobody' - which is not a role in our security realm (LDAP).
    Now the proteced URL contains JSPs that are forwared to by the controller, (which is protected but by a different constraint - that does have defined roles in our realm).
    Tomcat (4.0.2) has no problem allowing the controller to do a RequestDispatcher.forward() to a JSP in the protected URL pattern. iAS 6sp3 (Solaris) generates a 'not authorized' error when attempting to forward to a protected URL.
    I guess I am thinking maybe iAS has it right: wether I went to the URL directly or thru a forward - the current login doesn't have privs to access the URL.
    Who is correct? Also, a co-worker has run a similar test on Weblogic 6 and it appears to behave like Tomcat.
    The ultimate objective is to protect the JSPs from direct calls. What might be another strategy? Put them under WEB-INF? Where would one forward to in this setup?
    -Fred

    You need to visit the TalkTalk forum, as this forum is for BT Broadband customers.
    Here is the link.
    The TalkTalk Members Forums
    Openreach are a separate company, and are nothing to do with BT Retail.
    You should be able to get advice on speed issues on the TalkTalk forum, and raise the speed issue with them. They can arrange a visit from Openreach if needed.
    If you are 2KM away from the nearest cabinet, you may simply be on a "faster broadband" type of service.
    As you are only three months into a contract, you would have to wait until it ended, or pay cancellation charges.
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • Who owns the activation process - Apple or Sprint?

    I have a Sprint iPhone 4S with the original SIM card.   the only way I've gotten it to activate is through a complete restore via DFU mode (very similar to this discussion in 2012; iPhone 4S US/Sprint unable to activate!)
    An incremental update to 8.1.1 makes it ask to activate again :/
    I went to my local Sprint store today and they say they can't do anything about it and that I must go to an Apple Store.
    I'm trying to avoid getting bounced around here.   Who "owns" the activation process?   Is it Apple or Sprint?
    Who ultimately correct this annoying activation behavior when it activates from a full restore?
    I should not that I am not using the phone component of the iPhone and do not have a Sprint account. (for the record, I was a pretty happy Sprint customer back in the 90s... )

    udance4ever wrote:
    hey quick update on this front - i finally got a iPhone 5s so my 4S if officially a "glorified iPod Touch" (admittedly a good one at 64GB) - so I'm not going to bother using the phone component in it for now.
    Sure a bit irked and just grateful the days of "carrier locked phones" is fading behind us more and more every day (I bought a 2nd hand Verizon 5s and a happy camper on T-Mobile - didn't have to go through any hoops!)
    anyone know if I can close this thread as "no longer needs an answer" somehow?
    Yeah you mark one of the responses as 'Solved My Question'.

  • New library or new project?

    I Have just started using FCP X after using FCP 7 for many years. I went on a course of 3 days and came out more confused than ever. One mystery is this, the tutor said, "YOU MUST NEVER START A NEW PROJECT WITH 'FILE NEW PROJECT' YOU MUST START 'NEW LIBRARY' AND THEN IMPORT YOUR MEDIA AND ONLY  THEN CAN YOU START NEW PROJECT!" All well and good except last night I watched a good tutorial on FCP X hosted by a very good teacher and the first thing he said was, "To get started, go to file and start New Project, create an event and then import your media to this," I nearly fell over backwards in shock, because this seemed incredibly simple.Within 15 minutes of this tutorial I had learned more than 2 days sitting at a desk.
    Can anyone advise who is correct, my tutor from Mars or the YouTube tutorial? BTW all my projects start life from SD Cards with HD material on them, in this case some with 50 FPS and some with 30 FPS (action cam) it must all be finally exported in Pro Res LT 25P 1920 x 1080.

    FCP X when newly installed will by default give you one Library and one Event in that Library.
    You can add a Project to this default setup immediately.
    However, you can create new Libraries and an Event will be added, any Library will always have one Event. Try deleting the last one, it won't allow it.
    As Russ points out: Libraries are the main container in which Events reside. Events are where Projects go.
    Any Library can have new Events added in addition to the default.
    Any Event can have multiple Projects.
    Regarding the Timeline and Project settings:
    The first clip that is added to a blank Timeline dictates the Project settings based on the clip specs. eg a 50P 1920 x 1080 inserted clip creates a PAL HD 50P Project.
    You can override this auto select setup by manually creating a Project.
    When Exporting you can change to codec to ProRes LT regardless of the origin.
    Al

  • Can't get Macbook to recognise Samsung SE SO84

    Hi to you all.
    I apologise if this problem has been addressed a thousand times but I have had a good ferret about without success. My optical drive has failed on my macbook and I have purchased a Samsung SE SO84 but can't get the computer to recognise it at all.
    I can put a CD or DVD into it and the green light flickers and the disc spins but I then cannot do anything. Does anyone have any idea who to correct this problem as I am trying to get my daughters homework on a CD!
    Many thanks
    Nick

    Hmmm, posted too quickly. Sorry. Just ran a search on this. Going to try other suggestions first.

  • Why is it I can't just buy the new iPhone without needing an upgrade?

    This has been the most bizarre experience I have ever encountered, and it's enough to put me off Verizon and Apple altogether.
    Yesterday, I went to pick up the new iPhone for myself and my wife, having gotten and email that we were eligible for the Early EDGE upgrade. I'm first told at the store that Apple is only allowing 1 phone per person to be sold... Ok, fine. So I get inside and, being the decent gentleman I am, opt to upgrade my wife's line first and will just do mine later that day. Upgrade for her goes smooth, now it's time to do mine. Oh, wait, apparently the EDGE upgrade can be applied to one line, and it was just my wife's; a detail that was cleverly hidden at the bottom of the email in black on grey text after all the marketing copy about how great the new edge program is. The Verizon rep tries to think of ways to get me the phone cheaper, but ultimately can't. I ask if I can just buy the phone at cost, and I'm told no because it doesn't go on sale to the general public until later, though no time is given. Again, Apple's rules.
    Now, I'm pretty sure Apple could care less about exactly when someone buys their phone if they have the cash to do so, and I'm doubly sure they don't care about making sure those with upgrades can get the phone. All of this is starting to sound a little iffy. Whatever, I let it slide.
    It is now 6pm, still yesterday, and we head into Best Buy to look at cases and see if they have a display 6 Plus to check out, as I'm curious about the size. I ask a Best Buy rep if they have any iPhone 6s left; they do; 128gbs? Yup. Silver??? Yup. VERIZON???? Yup. I'LL TAKE IT! One iPhone 6 at full price please! Oh, wait, no; Apple boogie man says I can't buy the phone for full price, I have to have to qualify for an upgrade. (I'm getting more and more ****** as I'm typing this, FYI). Ok, so now clearly something is amiss. 2 different locations- the official Verizon Store AND Best Buy are telling me I can't buy the phone without an upgrade, and both of them suggesting Early EDGE, even though I have the cash to just buy it. I tweet my frustration to both VerizonWireless and Apple. AC from Verizon Support tweets back sayings they should have let me buy it... Wow, this is ridiculous.
    Can someone please clarify this: who is correct here? Is it really Apple playing gate keeper and looking out for those upgrade-only customers? Why is it 2 different places told me the same thing, yet the support rep is telling me something different?
    At this point I'm just not going to both attempting to get the phone for a while since this has put me off even trying, but some clarity on just what is going on would be nice. Also, please talk to your Director of Customer Loyalty about his team's email design. While I'm fine with finding out it was just one line, (though I would have preferred both since my wife and I have been on the same account since it opened...), burying that information at the bottom of the email is not going to help retain customers. Expiration dates and other terms of service are fine there, but which line the upgrade applies to needs to be surfaced sooner.

    It sounds as if you only had one line with an upgrade available. So you can only upgrade one line. For you to upgrade as well, you will have to wait until your upgrade is available. You can check that at MyVerizon. That's just how it works. All carriers and phone brands are the same. I have to wait until February to upgrade. The only thing you can do to get the new iPhone, is add a new line. But then you're paying for a line you don't need.

  • Detailed comments

    I've gone through the EAD spec. and I've come up with a detailed list of comments that I'd like to post here and also will post over at TheServerSide.com and send directly to the JSR group. This area will give the community a chance to discuss this more. There are a few things that I did not finish commenting on, but over-all this document is fairly complete with my comments thus far. But then again, I've only read the spec twice and spent a day considering it.
    I'll continue to add to this thread as I think of more.
    Brian Pontarelli
    Included document
    JSF 2.1
    Assuming that most applications will be setup like:
    HTML->HTTP->FacesServlet->reconstitute phase->validation phase->model phase
    This leads to an enormous amount of duplication as well as overhead. The information for each form component will be stored in the HttpServletRequest, expanded into the UIComponent Tree and stored in the FacesContext and finally migrated to the Application�s Model. Although this seems to be a small amount of work when considering smaller forms with two or three fields, it could become larger with 20-30 field forms. This continues to grow when considering an intensive web application with many users (i.e. 20+ requests per minute). In addition, the cost of the UIComponent and Application�s Model classes themselves might further increase the amount of memory consumed by this triple duplication as they may contain other member variables that increase each instances foot-print. In addition, without some comparison mechanism, the HttpSerlvetRequest parameters will be copied to the UIComponents local values, which will be copied to the Application�s Model each request. If, for example, the request goes all the way to the Invoke Application phase and then encounters an error, which will redirect the user back to the form so that they can fix some values, after they have fixed the values and resubmitted, the triple transfer happens, in its entirety, again (unless the application program is exceptionally savvy and is willing to build in an update recognition component that could skip application model updates when they are not needed).
    The simpler and more concise design seems to be a single duplication of data. This would be from the HttpServletRequest to the Application�s Model. This would remove the UIComponent�s local values entirely. The UIComponent tree could still be constructed and optimized however the JSF spec allows. Likewise, the UIComponent�s themselves could be �backed� by the Application�s Model classes as is the case in the MVC design of Java�s Swing APIs.
    The decoding process would work the same but would store the decoded information in the Application�s Model. Likewise, the encoding would retrieve it from the Application�s Model. This mimics other frameworks such as Jakarta Struts with their ActionForm classes that are essentially the Application�s Model (or at least positioned in such a way that they could be).
    JSF 2.3
    This has been tried many times and shown to be lacking. Server-side event models do not scale well because of the overhead of marshalling and unmarshalling the entire HttpServletRequest including all the form parameters, so that a single checkbox can change the values in a single selectbox (for example). The only solution to this problem seems to be the use of contained transmission systems, which transmit only the needed components state to the server. The server can respond with updates to any component, or whatever it needs. In order to attempt to accomplish this in a web browser, some very extensive JavaScript needs to be written which can cause enormous amounts of support issues. I think that you�ll find very little need for RequestEventHandlers and find that nearly 98%+ of the work will be done in the ApplicationEventHandlers.
    JSF 2.6
    This needs to be rewritten. This contains information about the Lifecycle management process before the reader knows what that is.
    JSF 2.7
    I don�t really like the concept of 1 Tree to 1 page yet, but I don�t know why. Need to think about this and draw some concrete conclusions about how this is lacking and what impacts it will have.
    How will applications be able to forward to HTML pages? It doesn�t seem possible in the current setup without creating Tree objects for pages that don�t contain JSF code. Likewise, it seems that the requirement of having response Trees dictate the outbound page require that every JSP page in the entire application use JSF code (in order to seem conceptually correct). This seems like a large requirement for businesses with existing info-structure. Not to mention the need to be redirected out of the J2EE application server to an ASP server. Of course no one wants that, but it is a reality. This seems very restricting. The flow should be flexible enough to support forwards and redirects to any resource inside and outside the container.
    JSF 2.8
    The requirement on forcing the Tree to be saved to the response or the session seems very restricting. This section is very ambiguous about what writing the Tree to the response means. Does this mean doing nothing because the JSF tags will do everything for you? Or does it mean adding additional information to the HTML about the state of the JSF system? In the latter case, this is simply duplication of the information that the JSF tags write out, is it not? And there might be implementations with large Trees and many users that do not want to bug down the session with this information and would rather spend the computing cycles to reconstruct it each time from the request. Additionally, would there be cases where a developer would want to send the information from a normal HTML page to the JSF system and have it construct a UIComponent Tree? This seems likely and not possible (?) with the requirement from this section.
    If you decide to leave in the local values and model values that I disagreed with above, you�ll need to be specific about where the values for the response come from when encode is called. It they come from the local values of the UIComponent, then the application logic will need to be responsible for migrating the values from the Application�s Model to the UIComponent�s local values. If they come from the Application�s Model, then every component will need to supply model references (I think). Or a better solution to this problem would be to add another phase to the lifecycle called �Update Local Values� which is designed to update the UIComponent�s local values from the Application�s Model if necessary. Or you could simply do away with the UIComponent�s local values altogether in favor of a more MVC oriented system where the view is directly backed by the Application�s Model (similar to Swing).
    JSF 3.1.2
    You probably want to add a way to determine a components individual and absolute id (bar and /foo/bar). This will be useful in tools as well as debugging.
    JSF 3.1.5-3.1.6
    See above about my issues with model references and local values. What if I write a JavaScript Tree component? This would mean that UIComponent�s local value would be of type com.foo.util.Btree (or something) and my Application�s Model might be the same. There is a lot of overhead doing things this way. What if my tree stores the groups and all the employees for a company with 50,000 people and 500 groups (not the best way to do things, but possible)? What if the Tree is roughly 1K in size (Java object size) and 2000 users are banging away at the system all day? Let�s see that�s 1K for the UIComponent�s local value, 1K for the Application�s Model, 2000 users, and roughly 4 Megs consistent memory usage for a single component.
    JSF 3.5.x
    This was a major concern to me when I wrote both of my frameworks. A reusable Validator is excellent because it reduces the amount of code duplication. However, it is very difficult to tailor messages for specific UIComponents using a reusable Vaildator. For example, on one page I just a text box for age and on another I use if for income. I don�t want my error messages to be generic stating that, �This value must be greater than 0 and less than X�. I want the user to know what must be within the range.
    One solution is to use the name of the input in the error message. This forces the user to name inputs in human readable form, which might not be possible. For example, I have an input for monthly overhead and I name it monthlyOverhead so that it is a legal variable name. You can�t have a message that reads, �monthlyOverhead must be greater than 0�. This just won�t fly in a production environment. It needs to be nice and human readable and say, �Your monthly overhead must be greater than zero.� However, you can�t name your UIComponent �Your monthly overhead� especially I you intend to do JavaScript on the page. Besides, it�s just bad style.
    Another solution is requiring specific sub-classes for each message required, or some parameter from the page to denote the specific message to use. The former clutters up the packages with tons of Validators and also requires way too much coding. The latter completely negates the ability to use parameterized messages without further bogging down the page with all the (un-localized) parameters to the error message or forces the placing of all the parameters inside the resource bundle for the error messages with a standard naming scheme (i.e. for the first parameter to the message �longRange.montlyOverhead.0=Your monthly overhead�). Since 1/3 of any application is really the view and interaction of which a large chunk is error messages, this is a major issue that must be considered. Because it always happens that the CEO plays around with the application one day and says, �I really wish this error message read this �� and then you�re in for some major headaches, unless this problem is solved up front.
    JSF 3.5.2.x and 4.x and 7.6.x
    These sections seem to break up the flow of reading. The previous sections were charging forward with information about the interfaces, the JSF classes and specifics about what is required for each Phase. Then we need to down shift quite a bit to talk about default/standard implementations that ship with JSF or are required to be implemented by implementers. I think that these should be contained in a later section after 5, 6, 7 and 8.
    JSF 5.1.2
    What are the implications of this decision on Internationalization? When different UIComponents encode using different Locales and the HttpServletResponse�s content type has already been set, there could be rendering problems on the client side in the browser.
    JSF 5.1.5
    Messages added to the message queue during validation or processing contain Unicode String Objects and could be written in any language. The Message Object does not contain information about the Locale that the message needs to be converted to and this is needed for internationalization. If I have a multi-lingual portal and output error messages in multiple languages, the spec needs to really consider what and where the charset for the HTTP header is going to be set. What if JSF realizes it needs to use UTF-8 but another tag library an application is using assumes fr_FR, who is correct and what will happen? How will JSF determine what encoding to use when it has Messages in ten different languages? What if the container starts writing the output to the stream before the header is set? Etc. etc.
    JSF 8.1
    This is possibly the most confusing and poorly written section in the entire document. This uses terms that don�t relate to anything, old class names and un-described tables. This needs to be re-written in a more concise way. I did not understand what a custom action was until I reached section 8.2.6 and realized that an action was really a tag implementation. Action is a poor choice of words because not all tags equate to actions. What is the action of an input tag? I understand action when talking about for-loop tags, but not input tags.
    JSF 8.3
    This seems quite contradictory to section JSF 2.8 because it leads the reader to believe that they have no control over the implementation of the use_faces tag and the method of saving the JSF state. That is UNTIL they read section 8.5. These two sections need to be combined to clarify the document.
    Comments:
    I think that JSF is a very good idea in general and that it is a very complicated thing to define (due mostly to the use of HTTP, which is a stateless protocol). There are so many frameworks out there and each has its own benefits and downfalls. However, it is imperative that this specification attempt to solve as many problems as possible and not introduce any more. The spec must be flexible enough to support implementations that drive for speed and those that drive for flexibility. It must also support enormous amounts of flexibility internally because as vendors attempt to comply with it, they want to make as few changes to their own code base as possible.
    Right now, JSF has not accomplished these goals. I think that it needs to consider a lot more than it has and really needs to address the more complex issues.

    Brian,
    I've gone through the EAD spec. and I've come up with
    a detailed list of comments that I'd like to post here
    and also will post over at TheServerSide.com and send
    directly to the JSR group. Thanks for the feedback, it's really appreciated. I've included some comments below. Even though I'm a member of the spec group, these are just my personal comments and do not represent any official position of the group. It's very important that you send feedback you want the spec group to consider to the mail address listed in the spec draft. Some of us read this forum, and try to answer questions and clarify things as best we can, but the only way to make sure the feedback is considered is to send it to the JSR-127 mail address.
    Included document
    JSF 2.1
    Assuming that most applications will be setup like:
    HTML->HTTP->FacesServlet->reconstitute
    phase->validation phase->model phase
    This leads to an enormous amount of duplication as
    well as overhead. The information for each form
    component will be stored in the HttpServletRequest,
    expanded into the UIComponent Tree and stored in the
    FacesContext and finally migrated to the Application�s
    Model. [...]This is not so bad as it may seem, since typically it's not copies of the information that get stored in multiple places, just references to the same object that represents the information.
    Consider a simple text field component that is associated with a model object. The text value arrives with the request to the server which creates a String object to hold it. The UI component that represents the text saves a reference to the same String object and eventually updates the model's reference to point to the same String object. The application back-end eventually gets a reference to the value from the model and, say, saves it in a database. Not until you hit the database do you need to make a copy of the bytes (in the database, not in the JVM).
    JSF 2.3
    This has been tried many times and shown to be
    lacking. Server-side event models do not scale well
    because of the overhead of marshalling and
    unmarshalling the entire HttpServletRequest including
    all the form parameters, so that a single checkbox can
    change the values in a single selectbox (for example).
    The only solution to this problem seems to be the use
    of contained transmission systems, which transmit only
    the needed components state to the server. The server
    can respond with updates to any component, or whatever
    it needs. In order to attempt to accomplish this in a
    web browser, some very extensive JavaScript needs to
    be written which can cause enormous amounts of support
    issues. I think that you�ll find very little need for
    RequestEventHandlers and find that nearly 98%+ of the
    work will be done in the ApplicationEventHandlers.I agree with you that a web app can never be as responsive as a thick-client app unless client-side code (JavaScript) is used. Web apps must be designed with this in mind, which can be a challenge in itself.
    But there are still advantages with an event-based model, namely that it provides a higher abstraction layer than coding directly to the HTTP request data. And even in a web app, having stateful components that generate events simplifies the UI development. As an example, say you have a large set of rows from a database query you want to display a few rows at a time. A stateful component bound to this query result can take care of all the details involved, rendering Next/Previous buttons as needed. Clicking on one of the buttons fires an event that the component itself can handle to adjust the display to the selected row subset.
    Coding the logic for this over and over in each application that needs it (as you need to do without access to powerful components like this) is error prone and boring ;-)
    Finally, JSF components can be smart and generate client-side code as well to provide a more responsive user interface.
    JSF 2.6
    This needs to be rewritten. This contains information
    about the Lifecycle management process before the
    reader knows what that is.Many parts of the draft needs to be rewritten; it's still a work in progress.
    JSF 2.7
    I don�t really like the concept of 1 Tree to 1 page
    yet, but I don�t know why. Need to think about this
    and draw some concrete conclusions about how this is
    lacking and what impacts it will have.I have the same concerns, and think we need to take a close look at how a response can be composed from multiple JSF Trees, or a combination of regular JSP pages and JSF Trees, etc. I know others in the spec group agree that this is a vague area that needs more attention.
    How will applications be able to forward to HTML
    pages? It doesn�t seem possible in the current setup
    without creating Tree objects for pages that don�t
    contain JSF code. Likewise, it seems that the
    requirement of having response Trees dictate the
    outbound page require that every JSP page in the
    entire application use JSF code (in order to seem
    conceptually correct). [...]I don't think this is a problem. The application can decide to redirect (or forward) to any resource it wants when it processes an application event; it doesn't have to generate a new JSF response. But yes, navigation is also an area that needs attention in general.
    JSF 2.8
    The requirement on forcing the Tree to be saved to the
    response or the session seems very restricting. This
    section is very ambiguous about what writing the Tree
    to the response means. [...]It is, isn't it ;-) Again, this is an area that still needs work, and I believe we must be able to provide a lot of flexibility here. Depending on the type of components in the Tree, the size of the Tree, the number of concurrent users and size of the application, etc. different approaches will be needed. How much data must be saved is also dependent on the type of component.
    Additionally, would there be cases where a developer
    would want to send the information from a normal HTML
    page to the JSF system and have it construct a
    UIComponent Tree? This seems likely and not possible
    (?) with the requirement from this section.In that case the request initiated from the HTML page would be directed directly to application code (a servlet, maybe) which would create an appropriate JSF component Tree and generate a response from it.
    If you decide to leave in the local values and model
    values that I disagreed with above, you�ll need to be
    specific about where the values for the response come
    from when encode is called. It they come from the
    local values of the UIComponent, then the application
    logic will need to be responsible for migrating the
    values from the Application�s Model to the
    UIComponent�s local values. If they come from the
    Application�s Model, then every component will need to
    supply model references (I think). [...]I think this is pretty clear in the current EA draft. First, a model is optional for the basic component types (while more complex things, like a DataGrid, may require it). The draft says (in 3.16): "For components that are associated with an object in the model data of an application (that is, components with a non-null model reference expression in the modelReference property), the currentValue() method is used to retrieve the local value if there is one, or to retrieve the underlying model object if there is no local value. If there is no model reference expression, currentValue() returns the local value if any; otherwise it returns null."
    Other parts of the spec (can't find it now) deals with how the local value is set and reset. The effect for the normal case is that if there's a non-null model reference, its value is used, otherwise the local value is used. In special cases, a local value can be set to explicitly ignore the model value.
    JSF 3.5.x
    This was a major concern to me when I wrote both of my
    frameworks. A reusable Validator is excellent because
    it reduces the amount of code duplication. However, it
    is very difficult to tailor messages for specific
    UIComponents using a reusable Vaildator. For example,
    on one page I just a text box for age and on another I
    use if for income. I don�t want my error messages to
    be generic stating that, �This value must be greater
    than 0 and less than X�. I want the user to know what
    must be within the range. [...]I agree that this is a concern. In addition to the solutions you have suggested, I think a way to solve it is by letting validators fire "invalid value" events of different types. These events would contain a default message but also getter method for the interesting parts (e.g. the invalid value, the start and the stop value for an "invalid range" event). An event handler can use the getter methods for the individual values and build a message that's appropriate for the application,
    JSF 5.1.2
    What are the implications of this decision on
    Internationalization? [...]
    JSF 5.1.5
    Messages added to the message queue during validation
    or processing contain Unicode String Objects and could
    be written in any language. The Message Object does
    not contain information about the Locale that the
    message needs to be converted to and this is needed
    for internationalization. [...]I need to read up on the latest i18n proposals, but in general I think you're right that there's more work to do in this area.
    JSF 8.1
    This is possibly the most confusing and poorly written
    section in the entire document. This uses terms that
    don�t relate to anything, old class names and
    un-described tables. [...]The whole JSP layer is still immature, but IMHO, we need to get the API right before we address the JSP issues.
    I did not understand what a custom
    action was until I reached section 8.2.6 and realized
    that an action was really a tag implementation. Action
    is a poor choice of words because not all tags equate
    to actions. What is the action of an input tag? I
    understand action when talking about for-loop tags,
    but not input tags. [...]Actually, "action" is the proper name defined by the JSP specification for what's described in this section. A "JSP action" is represented by an "XML element" in a page, which in turn consists of a "start tag", a "body" and an "end tag", or just an "empty tag".
    Comments:
    I think that JSF is a very good idea in general and
    that it is a very complicated thing to define (due
    mostly to the use of HTTP, which is a stateless
    protocol). There are so many frameworks out there and
    each has its own benefits and downfalls. However, it
    is imperative that this specification attempt to solve
    as many problems as possible and not introduce any
    more. The spec must be flexible enough to support
    implementations that drive for speed and those that
    drive for flexibility. It must also support enormous
    amounts of flexibility internally because as vendors
    attempt to comply with it, they want to make as few
    changes to their own code base as possible.
    Right now, JSF has not accomplished these goals. I
    think that it needs to consider a lot more than it has
    and really needs to address the more complex issues.I agree, and thank you for the feedback. There are many holes yet to be filled and many details to nail down. All of this takes time, since you must build support for the spec among a large number of vendors and other market groups, as well as among developers; this is one of the most important goals for any specification.

  • Error in generating a .tlb file

    I am trying to generate a .tlb file from the following .idl file:
    uuid(06571790-A880-40B8-98E5-660FD76D73C2),
    version(1.0)
    library src/CreateAgenaModel
    importlib("Stdole2.tlb");
    dispinterface src/CreateAgenaModelSource;
    dispinterface src/CreateAgenaModelDispatch;
    uuid(E2C8B50A-2770-49DE-BF72-B2EA82101DC3),
    version(1.0)
    dispinterface src/CreateAgenaModelSource {
    properties:
    methods:
    uuid(29F43980-0D99-4945-88D2-10634B11C682),
    version(1.0)
    dispinterface src/CreateAgenaModelDispatch {
    properties:
    methods:
    [id(32768)]
    VARIANT_BOOL equals(IDispatch* arg0);
    [id(32769)]
    IDispatch* getClass();
    [id(32770)]
    int hashCode();
    [id(32771)]
    void main(VARIANT arg0);
    [id(32772)]
    void notify();
    [id(32773)]
    void notifyAll();
    [id(32774)]
    BSTR toString();
    [id(32777)]
    VARIANT wait([optional] VARIANT var0);
    uuid(237D32BB-B5D0-44E3-B06D-D7E9176DCB83),
    version(1.0)
    coclass src/CreateAgenaModel {
    [default, source] dispinterface src/CreateAgenaModelSource;
    [default] dispinterface src/CreateAgenaModelDispatch;
    But I keep receiving the following errors:
    C:\j2sdk1.4.2_01\bin>packager -reg C:\j2sdk1.4.2_01\bin\CreateAgenaModel.jar src
    /CreateAgenaModel
    Propagation complete
    Propagation complete
    Propagation complete
    Processing C:\DOCUME~1\ANGELA~1.ANG\LOCALS~1\Temp\\src\CreateAgenaModel.idl
    CreateAgenaModel.idl
    C:\DOCUME~1\ANGELA~1.ANG\LOCALS~1\Temp\src\CreateAgenaModel.idl(5) : error MIDL2
    025 : syntax error : expecting { near "/"
    Processing .\oaidl.idl
    oaidl.idl
    Processing .\objidl.idl
    objidl.idl
    Processing .\unknwn.idl
    unknwn.idl
    Processing .\wtypes.idl
    wtypes.idl
    C:\DOCUME~1\ANGELA~1.ANG\LOCALS~1\Temp\src\CreateAgenaModel.idl(8) : error MIDL2
    025 : syntax error : expecting ; or { near "/"
    C:\DOCUME~1\ANGELA~1.ANG\LOCALS~1\Temp\src\CreateAgenaModel.idl(9) : error MIDL2
    025 : syntax error : expecting ; or { near "/"
    C:\DOCUME~1\ANGELA~1.ANG\LOCALS~1\Temp\src\CreateAgenaModel.idl(14) : error MIDL
    2025 : syntax error : expecting ; or { near "/"
    C:\DOCUME~1\ANGELA~1.ANG\LOCALS~1\Temp\src\CreateAgenaModel.idl(22) : error MIDL
    2025 : syntax error : expecting ; or { near "/"
    C:\DOCUME~1\ANGELA~1.ANG\LOCALS~1\Temp\src\CreateAgenaModel.idl(22) : error MIDL
    2003 : redefinition : src
    C:\DOCUME~1\ANGELA~1.ANG\LOCALS~1\Temp\src\CreateAgenaModel.idl(46) : error MIDL
    2025 : syntax error : expecting ; or { near "/"
    C:\DOCUME~1\ANGELA~1.ANG\LOCALS~1\Temp\src\CreateAgenaModel.idl(47) : error MIDL
    2025 : syntax error : expecting ; near "/"
    C:\DOCUME~1\ANGELA~1.ANG\LOCALS~1\Temp\src\CreateAgenaModel.idl(48) : error MIDL
    2025 : syntax error : expecting ; near "/"
    C:\DOCUME~1\ANGELA~1.ANG\LOCALS~1\Temp\src\CreateAgenaModel.idl(49) : error MIDL
    2003 : redefinition : src
    C:\DOCUME~1\ANGELA~1.ANG\LOCALS~1\Temp\src\CreateAgenaModel.idl(51) : warning MI
    DL2214 : semantic check incomplete due to previous errors
    Failed generating .tlb file.
    Does anyone know who to correct the errors MIDL2025 or MIDL2003?
    Any help I would be very grateful
    Angie

    Url given below would give you info on your error.
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/midl/midl/compiler_errors.asp

  • What is the Standard Syllabus for Oracle Apps Technical

    Dear Members I have studied Oracle Apps Technical 11i in this First I learned
    SQL ( Different Languages like DDL, DML, DCL, TCL, DQL, Operator, Functions, Constraints, Joins, Sub Queries, Locks on Tables, Synonyms, Sequences, Index, Views)
    PL/SQL (Pl/Sql Attributes, Control Statements (If, If Else, else if, Loop, for loop) Exceptions, Cursor & its attributes (normal Parameter cursor, Ref cursor), Procedures( In, Out, IN and Out, IN OUT), Functions ( In, Out, IN OUt), Packages, Triggers
    SQL* Loader, UTL File Packages,
    Oracle Apps Technical
    Introductions to ERP ( definition of ERP, overview of popular ERP's, comparision of oracle apps with other ERP's, types of roles, types of projects, AIM documentations Standard, Oracles Apps Architecture, Using Toad),
    AOL ( Who Columns, viewing responsibilities, menu construction) ,
    Application Development( Defining concurrent programs, concurrent program with parameters, working with multiple concurrent programs, concurrent programs incompatibilities, creating request set procedure registrations, value set) ,
    Report Registration( Report development, report registration, parametric report registration, report with repeating frames),
    Module Overview( Inventory Module flow with base tables, account payable module flow with base tables, account receivable module with base tables, order management module with base tables, pruchase order module with base tables, General ledger with base tables),
    Forms Registration ( pll files Downloading,Template FMB, Form Development using Templates, Form Registration process, ),
    Interfaces ( Intro to interfaces, outbound interafaces - Using Utl file package, Inbound interfaces Using Sql Loader tool),
    Conversions ( Overview on conversions, differences between interfaces and conversions, working with staging tables script, developing validation package, standard to be follow in conversions),
    Flex Fields( Types of Flex Fields, Description Flex Fields, Key Flex Fields),
    XML Publisher (Intro to XML Publisher, Generating XML File Using Report, Creating Templates, Creating Data Definitions
    I have learned only Inventory Module in Conversion, Interfaces, Reports, Forms ( other module like application developer, system administrator, XML Publisher)
    I have learned Item Import Project In Conversions, On Hand Quantity In Interfaces, Stock Expiration Report using Reports, XML Publisher)
    Why i Got this doubt because I attend interview they were asking different questions like this which My faculty didn't teach
    What are the receipt tables?
    What is invoice table name?
    API Name for conversion
    What is external table
    What is Pragma
    How many types of item available
    Mutating error
    P2P cycle
    is all the above belongs to apps Technical only I asked my faculty he said its functional who is correct faculty or interviewer
    Please help me in this regard
    Edited by: 969372 on Feb 1, 2013 12:22 PM
    Edited by: 969372 on Feb 1, 2013 12:22 PM

    Hi,
    Why i Got this doubt because I attend interview they were asking different questions like this which My faculty didn't teach
    What are the receipt tables?
    What is invoice table name?
    API Name for conversion
    What is external table
    What is Pragma
    How many types of item available
    Mutating error
    P2P cycle
    is all the above belongs to apps Technical only I asked my faculty he said its functional who is correct faculty or interviewer
    Please help me in this regardWhat all you have studied is basics. And in the institutes they only teach you 5% of actual work, Yes only 5%. They can not teach the whole 5 years learning just in few classes.
    In real time When you are working as a technical consultant, you get to speak to functional consultants a lot of time for developing reports, customization, creating custom forms.... So thats why the interviewer has asked a mixture of both technical and functional.
    The questions they asked also depends on the number of years experience you have in the resume ;).
    How ever you can gain more knowledge from blogs and forums like this.
    I will point you to few of them
    Your first step should be reading all the documents related to technical filed from the following link.
    http://docs.oracle.com/cd/B53825_08/current/html/docset.html
    Then read atleast 10 to 15 real time issues related to your field from forums like this.
    and read posts from oracle apps technical gurus like Anil Passi,
    http://oracle.anilpassi.com/basic-concepts-list-of-useful-oracle-apps-articles-2.html
    and links to all the technical blogs can be found at
    http://oracleappsexperience.blogspot.com/2010/02/my-favourite-links.html
    Best of luck and you will get a job soon.
    Thanks

  • What Are the Exact Basic rules for Replying a Thread...... -:)   @};-

    Hi Experts,
    After Looking into the forums many days I had a small conclusion about forums,
    SAP Forums are better place I have seen for getting a goo dhelp & Knowledge...
    Why can't we make it a BEST Place.
    This is just a small doubt which I would like to clear myself first,
    I have seen many users In the forums asking for a Basic Questions
    When cleared, But still they want to have a Spoon feeding with a Sample Code.
    When Sample Code Given they will provide the original code and requests for Modifications.
    These always looks to me as crazy.
    I have seen somelong time agin by moderators posting that In SCN there will be no SPOON FEEDING.
    I am not sure whether if still this Rule AVAILABLE or NOT.
    Ok if the task is really difficult let them ask again and again,
    And it was not replied, let them repost, I agree with them.
    And How about a User Registered in SDN very long back and asking for a silly question in below thread,
    [Sendin Email to the recipent list -Need correct FM |Getting the address from shipto partner of Bil. item not directly from C.ma]
    This is one more example, really funny, The thread poster needs the solution at any cost, he doesn't require and Suggetions,,, {He Only needs Solution}
    [Radio Buttons |Radio Buttons;
    [Turning Off Debugger |Turning Off Debugger;
    [Regarding Amount in words|Regarding Amount in words;
    There are 100's of threads like this....Everyone knows this facts.
    Check this who answered this one and who replied correct answer, who copied, finally who was rewarded...!
    [how to validate POsting period |Re: how to validate POsting period]
    Now My Real Problem is....!
    User is always intelligent, Only the weakness is in Contributor, trying to help them,..,
    And I openly say that Someone requesting for basic help is not DUMB, But the Contributor replying forgets
    the basic rules " Why Contributing ?"
    According to me It's not the Requestor to see Rules & Requlations before posting the threads,
    But its responsibilty for the Contributing person to see th Rules & Requlations before replying the threads,
    If we follow the rules and stand on a single word or rule or anything there will be Good Result.
    Major Problem is in US not anyone else.
    Example Some one saying search in the forum,,, then please no replies after that...
    But we are very pity hearted again we post the solution,,,
    But it is not at all enough(for cintribtor's)... they will copy the solution and post again by slight Modifications,
    And Some users are having 500,600,700,800 Posts with 0 points, registered long long back.
    They are completly dependent on forums,,, As they goto office and as they eat, The same they open forums and ask Queries...
    They will never realize what they are doing,, and we will never let them improve better...
    Finally Lets Discuss About this and Correct & Suggest me if I am wrong,
    Is my thoughts are going in the right way or not I am not even sure... Please Aslo Correct me if I did any mistakes.
    Thanks & regards,
    Dileep .C
    Edited by: Dileep Kumar Chinnaiah on Apr 29, 2009 12:33 PM
    Title Changed Form
    "What to do when someone asking for Basic Questions" to "What Are the Exact Basic rules for Replying a Threads...... "

    Hi Stephen,
    Very useful Information,
    First tell me a little something about my self...
    After completion of my certification(as a fresher) I was down the streets hunting the job,
    with the insufficient knowledge and being a non-experienced person, I never got one.
    And mean while when I got my "S-UserID", I used to be proud, To say frankly, I registerd in SDN & SAP all at a time, without even knowing what I can do there..,
    When I got a job afterwords I was doing the job and never seen SDN page for many months,
    when I came to know that of we have doubts we can post at SDN. then started requesting help,
    I posted only a little, I didnot got the proper response. on that day I decided,
    still there are some places where we cannot get help on time and there will be people waiting to get help,
    Why cant I put some of my efforts to help others.
    Then I searched some topic by Topic in SDN topic by Topic I used to read threads just for knowledge.
    when I feel my self comfort for contributing, I started contibuting...!
    If you haven't read it, take a look first, so you can understand where things are now.
    I dont know where things are now. But these in this thread I mentioned clearly what I seen from the day I started contributing.
    I searched with the terms of 'Rules for replying', The results are not as I expected, and this link has subject as
    "O SDN, where art thou?" So it dosent hit my in the list.
    Like everybody until a certain stage I am also rushing for points.
    But I most cases I never tried to copy paste answers. If I done some then that is just to point it myself some day,
    I have no hopes or no intrest on the points...! This was discussed with Rob & Matt, at my inital contribution where my points are 36.
    From that day till date I have changed a lot to myself.
    Everyone cannot change like me because they are not like me & And I dont even expect that...!
    I will be online almost 6-8Hrs a day, Not even getting intrest to see the forums just because of the co-contributors.
    My only point is I am just requesting to a co-contributor,
    Clearly In a example : Lets say contributor has replied to a thread, and if you know that is a correct solution,
    please dont reply any more, If you have a better solution than that, then only reply,
    Even there is one reply in the thread not a matter, if correct answer leave that query.
    If still error persists, Show up with your Idea's...
    Dont let down the contributor, by copying his reply and editing and pasting(edit only if incorrect).
    I am just looking for this one exactly to circulate between ourselfs.
    For this we a little support from moderators to circulate(may be as a rule or may be as a mail to them)
    You may say again how many mails we have to send, It dosent matter, one mail to one person one time,
    and +ve factors will show up definetly.
    A real contributor always understand what I am talking about, but some one who hunts for points will never.
    I am really sorry if I am troubling with my doubts & requests,
    If so, Pleae forgive me,,
    Thanks & regards,
    Dileep .C

  • Customer not ready to send free of goods back But he wants money back for damaged stock

    Dear sd Experts please tell me How To Achieve In SAP
    Customer : 120000
    Company: AAA
    AAA Company offered if customer purchased Material ZZZ  For 100 qnty They will Give Free of goods Material XXX 15 For Diwali
    : ex: Now customer Purchased 100 qnty and he got 15 Free of goods from the company Now This scenario ok Imagine stock reached just one day before DIWALI  suddenly Customer Found some damaged stock Like 10 Items
    now he wants to back the stock  and he doesn't want the same material 10 Items  (zzz) He wants only Money
    because Once DIWALI Completed he cant sell the products he will be in loss ( i am giving just example to understand)
    so he wants money back .....................For 10 Qnty
    But he is not ready To Give back Free of goods Back (XXX) Because He purchased the stock From the company is giving free goods thats way
    Yes it is correct point From the customer side because every customer will think like this only no wrong with him ...
    Now coming to Company issue .... Company everything calculated material cost and finally decided That 100 Material ZZZ We can give XXX 15 Material As a free of Goods here no loss and no profit 
    But if customer Is asking Money back for Damaged stock and he doesn't want To give free of goods back ,,, So here from company point of view some loss will be generating definitely..100 %  so how we will proceed with FI @MM IN SAP
    Because I think another option plz guide me
    Thanks a lot

    Dear Venu,
    As i understood On a purchase of 100 TVs--10 DVD players are free(may be 10+1 offer)
    Now after receiving customer found 10TVs damaged
    (only TVs got damaged--not the free good DVD players)
    So he returned those damaged 10 TVs back to Business and he dont want to take this new 10 TVs based on his sales after his seasonal experiences.
    So now the adjustment can happen in the following ways:
    (solely depends on your understanding with your customer)
    1.Adjust the total amount only for 90 TVs(you can use credit memo else invoice correction request)
    2.here the question comes is for 90 TVs only 9 DVDs are free--(here again you can do in two ways charge the customer by a debit memo for additional one piece of DVD player   or   ask the customer to return that one DVD player)
    Hope this helps.
    Very Important note:
    I just saw somebody asking you to correct your punctuation and there is a like given by Our senior and respected member JP. we have to understand one thing here--always we  need to take these comments as positive manner(recently our respected moderator JP cautioned me  too through a direct message asking to correct my diction and some spelling mistakes--which i might be doing without any intention)
    Remember one thing in life--- all of our respected senior members are here to help us whenever we are facing career threatening issues--even though they dont know us personally --they are helping us & we come out with victory and smiley faces from all these issues--we should respect their comments and say thanks to the people who is correcting you at your career.
    To Respected JP: sir--i think you might have observed the change in my approach too
    (like ""me too"" at your message)
    whenever i am crossing-- requesting you again to correct me.
    sorry to give this pain again to you sir.
    Regards
    Phanikumar

Maybe you are looking for

  • Reading the color code of a bar

    Hello, I'm saving a copy of a Microsoft Project document as an XML file in order to parse the XML file and extract project information. I successfully extracted most of the data I require but I can't find a way to get the color information of a parti

  • Font wont install in system

    I'm working with a version of a font called Myriad. I have both the post script and the font suitcase. When I click on the fonts, I can install them in font book, and the fonts are placed in my font folder in my library but they don't show up in font

  • 0FI_GL_4: Currency for 0DEB_CRE_DC wanted !

    Hi, someone knows:          What is the Currency for 0DEB_CRE_DC  Foreign currency amount (+/-)  ?           From which 0FI_GL_4 Extratorfield is this Currency derived   ? Thank You ! Best Wishes Martin

  • CS6 & CC versions - file window will not close

    Out of nowhere, PS will not close any file windows I have open. In CS6 or CC. Been fine until today. Not with the pull down menu, or command-W, or by clicking the top left x of the file (or if not saved yet, the red ball). Same for any filetype; jpeg

  • Ical and iCloud - how do they work

    I migrated to icloud before I had done my upgrade to Lion.. I am now on Lion how do I sync my ical to my icloud calendar? Jill Perth Western Australia