BAPI_QUOTATION_CREATEFROMDATA2 : Multiple line for same Characteristics

Hi ALL,
Hi Thomas,
I am using BAPI "BAPI_QUOTATION_CREATEFROMDATA2" to create quotation.I have one question on Configuration part.
I am able to update configuration but I need MULTIPLE line for the same CHARECTERISTICS.
Below is the code.
Please notice the record of table " i_quotation_cfgs_value". I want to show TWO record for Char 'Z_COIL_THICKNESS' with value 0.2 and 0.3.Do I need to increment Instance ID or Confid ID or do I need fill table QUOTATION_CFGS_PART_OF.Please help.
CONSTANTS:
conf_id TYPE char6 VALUE '000010',
      inst_id TYPE char8 VALUE '00000001'.
w_quotation_schedules_in-req_qty = '5'.
w_quotation_schedules_in-itm_number = '000010'.
w_quotation_schedules_in-sched_line = 1.
APPEND w_quotation_schedules_in TO i_quotation_schedules_in.
CLEAR w_quotation_schedules_in.
w_quotation_cfgs_ref-posex = '000010'.
w_quotation_cfgs_ref-root_id = inst_id.
w_quotation_cfgs_ref-config_id = conf_id.
APPEND w_quotation_cfgs_ref TO i_quotation_cfgs_ref.
w_quotation_cfgs_refinst-posex = '000010'.
w_quotation_cfgs_refinst-config_id = conf_id.
w_quotation_cfgs_refinst-inst_id = inst_id.
APPEND w_quotation_cfgs_refinst TO i_quotation_cfgs_refinst.
w_quotation_cfgs_value-config_id = conf_id .
w_quotation_cfgs_value-inst_id = inst_id .
w_quotation_cfgs_value-charc = 'Z_COIL_THICKNESS'.
w_quotation_cfgs_value-value = '0.2'.
APPEND w_quotation_cfgs_value TO i_quotation_cfgs_value.
CLEAR w_quotation_cfgs_value.
w_quotation_cfgs_value-config_id = conf_id .
w_quotation_cfgs_value-inst_id = inst_id .
w_quotation_cfgs_value-charc = 'Z_COIL_THICKNESS'.
w_quotation_cfgs_value-value = '0.3'.
APPEND w_quotation_cfgs_value TO i_quotation_cfgs_value.
CLEAR w_quotation_cfgs_value.
Code Formatted by: Alvaro Tejada Galindo on Jan 5, 2010 10:26 AM

Hi Madhu,
Pass below four table.
i_quotation_cfgs_ref
i_quotation_cfgs_refinst
i_quotation_cfgs_inst
i_quotation_cfgs_value
"config_id" should be same as Item number.
To define the connection between the sales order item and the configuration you must pass match this-->(ORDER_ITEMS_IN-PO_ITM_NO = ORDER_CFGS_REF-POSEX)
Let me know if you need any other info
Code :
CONSTANTS:
lc_conf_id TYPE char6 VALUE '000010',
lc_inst_id TYPE char8 VALUE '00000001',
lc_item_no TYPE cu_posex VALUE '000010',
w_quotation_cfgs_ref-posex = lc_item_no. "'000010'.
w_quotation_cfgs_ref-root_id = lc_inst_id.
w_quotation_cfgs_ref-config_id = lc_conf_id.
APPEND w_quotation_cfgs_ref TO i_quotation_cfgs_ref.
CLEAR w_quotation_cfgs_ref.
w_quotation_cfgs_refinst-posex = lc_item_no. "'000010'.
w_quotation_cfgs_refinst-config_id = lc_conf_id.
w_quotation_cfgs_refinst-inst_id = lc_inst_id.
APPEND w_quotation_cfgs_refinst TO i_quotation_cfgs_refinst.
w_quotation_cfgs_inst-inst_id = lc_inst_id.
w_quotation_cfgs_inst-config_id = lc_conf_id.
w_quotation_cfgs_inst-obj_type = 'MARA'. "wa_zrvs_mat_char_h-obtab
w_quotation_cfgs_inst-class_type = 300. "wa_zrvs_mat_char_h-klart.
w_quotation_cfgs_inst-obj_key = "Material number"
w_quotation_cfgs_inst-quantity = 1.
APPEND w_quotation_cfgs_inst TO i_quotation_cfgs_inst.
CLEAR w_quotation_cfgs_inst.
w_quotation_cfgs_value-config_id = lc_conf_id .
w_quotation_cfgs_value-inst_id = lc_inst_id .
w_quotation_cfgs_value-charc = wa_zrva_tdccodes-zzcharcteristics.
w_quotation_cfgs_value-value = wa_zrva_tdccodes-zvalue.
w_quotation_cfgs_value-valcode = 1.
APPEND w_quotation_cfgs_value TO i_quotation_cfgs_value.
CLEAR w_quotation_cfgs_value.
w_quotation_items_in-po_itm_no = lc_item_no. "'000010'."Imp for config
w_quotation_items_in-itm_number = lc_item_no. "'000010'.
APPEND w_quotation_items_in TO i_quotation_items_in.
CLEAR w_quotation_items_in.
Roshan

Similar Messages

  • Convert multiple lines for same material into a single line in Sales Order

    Our company has a requirement, they want if there are multiple lines exist for the same material in sales order and purchase order then it should become like one single line.
    10    35712  5pcs
    20   100885  10 pcs
    30   35712   10pcs
    Now our requirement is that should  become a single line like this
    10  35712  15pcs.
    I will   Text Removed.
    Regards,
    Khawar
    Message was edited by: G Lakshmipathi
    Please dont add such text in your post

    Now our requirement is that should  become a single line like this
    Where?  Meanwhile, I hope, you would have searched in SCN / Google before posting as it is a basic question and needs to be locked.  If searched, specify clearly what efforts you took to find out solution to your requirement.
    G. Lakshmipathi

  • Multiple lines for same app on daily trend report?

    Hey All,
    This is my first app and my first time reading the reports so pardon me if I am confused. I noticed that there are several lines (about 20) on my trend report all for the same App. From reading about the trend reports it seemed like each app was supposed to have only 1 line. Can anyone tell me whats going on? The only thing I can think of is that I switched my primary category so maybe while the app was transitioning strange things happened. Thanks.

    Typical behaviour is that it'll start to drop off a bit. You'll then probably get a boost at the first update assuming your release date gets bumped. Big boosts come from being featured but for most developers that remains a dream.
    Basically it's all about visibility. When you're on the first page of your category people are a lot more likely to buy than when you're on the 10th.

  • F110 Payment Proposal multiple payment lines for same vendor

    Hello,
    Question for the FI community regarding single payments for multiple invoices for the same vendor. Is there any other place that would dictate the grouping (or non grouping) of multiple payment proposal lines for same vendor payment?
    I understand that there are two places:
    FBZP - Change view 'Maintenance of Company Code Data for a Payment Method", the flag for 'Single payment for marked item'
    Vendor Master - Automatic payment transactions, flag for 'Individual pmnt'
    Is there anywhere else where this may be dictated? At my location, we have two company codes that make ACH payments, settings for FBZP (Single payment for marked item flag) and selected vendor for payment in the vendor master is identical. I get different results when viewing the payment proposal for each company code. Company Code A parses out individual line items for payment in the proposal, and Company Code B does not. When I change the flag via FBZP for Company Code A, this resolves the issue. When I make the same change for Company Code B, there is no change.
    In all of my testing, I have left the 'Individual pmnt' flag for both vendor masters unchecked.
    I'm hoping that somebody in the community here would be able to point me in the right direction to understand why I am getting differences. Is there somewhere else that I can check?
    Thanks everyone.

    Ravi,
    Thanks for your reply, however in my post I already mentioned I have tested out both options via FBZP as well as the vendor master. You are correct, in only one case regarding my situation.
    In my example for Company Code B, I have the following scenarios:
    1. FBZP - single payment for marked item checked, Vendor individual payment option not checked, result is a single payment item for multiple invoices
    2. FBZP - single payment for marked item checked, Vendor individual payment option is checked, result is multiple payment items for each invoice
    3. FBZP - single payment for marked item not checked, Vendor individual payment option not checked, result is a single payment item for multiple invoices
    4. FBZP - single payment for marked item not checked, Vendor individual payment option is checked, result is a multiple payment items for each invoice
    Are you saying that the option in FBZP simply enables the grouping/non grouping based on what the vendor master record payment option is? Typically, that option for vendors is not checked in either of our company codes, therefore if the only difference is the setting in FBZP, then why would I be getting only a single payment for multiple invoices in the case of scenario 1 listed above?
    That's why I am wondering if perhaps there is something elsewhere than FBZP and vendor master settings that could be affecting this.
    Comments please?

  • Multiple tax lines for same item

    Hi,
    Is it possible to have multiple tax lines for same item in an invoice in AR.
    Business Need - A few items have multiple tax applicable ( e.g. VAT, Service tax, etc ). And for regulatory purpose customer wants to show each tax separately.
    please Advise.
    thanks,
    K

    Hi Hikumar,
    With tax groups you have what is called compound taxes.
    A tax group is consisted of more than one tax codes and these tax codes may be related or not to each other,you can also specify the precedence of the tax codes in a tax group.
    On the Invoice or order item line, the tax group code is entered and the tax engine calculates the tax for each tax code that belongs to the tax group.
    If the user wants to see the taxes of this line he will see detailed the tax amounts and rates of each tax code that belong to this group.
    In my case i have used a tax group with 3 tax codes with the structure:
    Item line amount 1000
    1)The first line is a specific sales tax(12%) with taxable basis the amount of the item line=1000*12%=120
    2)The second line is a VAT(23%) tax with taxable basis the amount calculated from the first tax of the group=120*23%=27,6
    3) The third line is a VAT(23%) tax with taxable basis the amount of the item line=1000*23%=230
    For each item line that has the above tax group, the system creates three seperate tax lines
    Your case does not seem so complicate as mine.
    You can find more information on the AR user guide and the Oracle receivables tax manual.
    On which Ebs version are you working on?
    If you sent me more detailed you requirement i can quide you on the way to implement it and test it.
    I hope this helps.
    Regards
    Olga

  • Not able to generate multiple lines for headers in report

    Hi,
    I am new to BI publisher and not able to generate multiple lines for headers. Please help me to resolve.
    I am using RTF template, data source as PS Query and XML file (system generated from the data source)
    When I am using system generated 'First XML' file, I am getting output in the follwoing format.
    TEAM_MEMBER, PROJECT_ID, NAME, START_DT
    e.g.
    EMP1 , 71000, Sample, 01-Jan-2010
    EMP1 , 72000, Sample, 01-Feb-2010
    EMP1 , 73000, Sample, 01-March-2010
    But I want the report to be generate with multiple projects for one employee like below format , for that I used 'Second XML' file but I am getting blank report.
    In short if there is one to many case, how to show in reports??? Please correct if I am going wrong.
    TEAM_MEMBER
    PROJECT_ID, NAME, START_DT
    PROJECT_ID, NAME, START_DT
    PROJECT_ID, NAME, START_DT
    e.g.
    EMP1
    71000, Sample, 01-Jan-2010
    72000, Sample, 01-Feb-2010
    73000, Sample, 01-March-2010
    **********First XML**************System generated XML ****************************
    <?xml version="1.0"?>
    <query numrows="2" queryname="SY_EMP_PROJECT" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="">
    <row rownumber="1">
    <TEAM_MEMBER>TEAM_MEMBER </TEAM_MEMBER>
    <PROJECT_ID>PROJECT_ID samp</PROJECT_ID>
    <NAME>NAME sample data</NAME>
    <START_DT>2010-08-25</START_DT>
    </row>
    <row rownumber="2">
    <TEAM_MEMBER>TEAM_MEMBER</TEAM_MEMBER>
    <PROJECT_ID>PROJECT_ID samp</PROJECT_ID>
    <NAME>NAME sample data</NAME>
    <START_DT>2010-08-25</START_DT>
    </row>
    </query>
    **********Second XML**************Manually created XML and using to show multiple projects for one employee****************
    <?xml version="1.0"?>
    <TEST numrows="2" queryname="SY_EMP_PROJECT" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="">
    <TEAM_MEMBER rownumber="1">
    <TEAM_MEMBER>1</TEAM_MEMBER>
    <EMPLOYEE_NAME>SAMPLE</EMPLOYEE_NAME>
    <PROJECT>
    <PROJECT_ID>1111</PROJECT_ID>
         <PROJECT_DESCR>SAMPLE</PROJECT_DESCR>
    <START_DATE>01012010</START_DATE>
    </PROJECT>
    <PROJECT>
    <PROJECT_ID>1112</PROJECT_ID>
         <PROJECT_DESCR>SAMPLE</PROJECT_DESCR>
    <START_DATE>01022010</START_DATE>
    </PROJECT>
    </TEAM_MEMBER>
    <TEAM_MEMBER rownumber="2">
    <TEAM_MEMBER>2</TEAM_MEMBER>
    <EMPLOYEE_NAME>SAMPLEC</EMPLOYEE_NAME>
    <PROJECT>
    <PROJECT_ID>1111</PROJECT_ID>
         <PROJECT_DESCR>SAMPLE</PROJECT_DESCR>
    <START_DATE>01012010</START_DATE>
    </PROJECT>
    <PROJECT>
    <PROJECT_ID>1112</PROJECT_ID>
         <PROJECT_DESCR>SAMPLE</PROJECT_DESCR>
    <START_DATE>01022010</START_DATE>
    </PROJECT>
    </TEAM_MEMBER>
    </TEST>
    Edited by: ganeshtw on Aug 25, 2010 12:14 AM

    Hi,
    With your first xml you can print like
    EMP1
    71000, Sample, 01-Jan-2010
    72000, Sample, 01-Feb-2010
    73000, Sample, 01-March-2010While creating the RTF template you can use the Group by option.
    <?for-each-group:ROW;./columnname> then print the column name
    <?columnname?>
    --Then your table format
    71000, Sample, 01-Jan-2010
    72000, Sample, 01-Feb-2010
    73000, Sample, 01-March-2010
    <?end for-each-group?>
    Thanks.

  • I have multiple lines for family members on my account. Can I still transfer upgrades between lines? I don't see the option any more.

    I have multiple lines for family members on my account. Can I still transfer upgrades between lines? I don't see the option any more.

    More everything. I have one line coming up on the 19th of this month and I'd like to transfer to another user with a later upgrade date. Just not seeing the option anywhere.

  • Reg:Multiple UOMs for same item

    Hi,
    How to define the multiple UOMs for same item.And the item should be converted in one UOM.
    Iam using 9.0 PL.08

    Hi,
    Please check SAP help file:
    http://help.sap.com/saphelp_sbo900/helpdata/en/89/7ca0a701c64e4a97f4ea5a4edca8b2/content.htm?frameset=/en/44/c4c1cd7ca22e17e10000000a114a6b/frameset.htm
    Thanks & Regards,
    Nagarajan

  • How to avoid multiple listing for same artist?

    How to avoid multiple listing for same artist?

    Sounds like there might be blanks in the artist name.
    For instance "Lou Reed" and "Lou Reed_" will not match.
    (Pretend the underscore _ is a blank).
    Select all the Lou Reed songs, Get Info, and type "Lou Reed" in the artist field. That should fix it.

  • Creating multiple profiles, using unified profile types, to store multiple values for same properties

    Hi All:
    I am trying to create multiple profiles, using unified profile types, to
    store multiple values for same properties. Here my intention of using
    'unified profile types' is to create multiple profiles (to store multiple
    values for a property). All the properties are stored in the same database
    maintained by Personalization server. Also, I am trying to use the same
    'USER' ejb as profile class/home/pk/jndi.
    The scenerio is,
    define unified profile types (Business, Vacation) using Personalization
    admin tools, using com.beasys.commerce.axiom.contact.User,
    com.beasys.commerce.axiom.contact.UserHome,
    com.beasys.commerce.axiom.contact.UserPk,
    com.beasys.commerce.axiom.contact.User for Profile Class, Home, Pk class,
    JNDI name respectively.
    Define Property set 'HotelCommerce' with property
    HotelProp as single, restricted, text (valid values Single, Double)
    Now you can use the attached jsp files to login as a user and try to set the
    property value for HotelProp for each profile. As per my understanding, I
    was expecting that I can set different values for the property 'HotelProp'
    for each profiles. But unexpectedly, all the profiles get the same value.
    Question. is it the correct behavior? if yes, how can I achieve this
    functionality?
    if not, do you see any problem in my scripts?
    your answer asap is appreciated. we need to make decision on using
    Personalization server v/s developing our own Personalization server!!!:)
    thanks,
    -rajesh
    PS: I have tried 'Unified Profile Example' type too, but that did not work.
    [propsettest.jsp]
    [home.jsp]

    I am trying to create multiple profiles, using unified profile types, to
    store multiple values for same properties. Here my intention of using
    'unified profile types' is to create multiple profiles (to store multiple
    values for a property). All the properties are stored in the same database
    maintained by Personalization server. Also, I am trying to use the same
    'USER' ejb as profile class/home/pk/jndi.Hello Rajesh,
    This is not the purpose of the UUP. The UUP is used to allow existing
    database schemas to be aggregated with the existing Weblogic Personalization
    Server database schema to provide a single, customized user profile with which
    to maintain the user properties (
    http://e-docs.bea.com/wlcs/p13n/users.htm#1068901 )
    If you want to have properties that change value based on some "profile" or
    classification of a user, then you should use classifier rules to change the
    user from "OnVacation" to "AtWork" or "AtHome". You can use these classifier
    rules to select content for the user or conditionally execute logic (
    http://e-docs.bea.com/wlcs/p13n/rules.htm )
    Ture Hoefner
    BEA Systems, Inc.
    1655 Walnut Street; suite 200
    Boulder, CO 80302
    www.beasys.com

  • Transaction MM60 printing multiple lines for the same information

    Transaction MM60 is printing the same information multiple times, meaning that the same materail is printing multiple times with the exact same information.  Any ideas why?

    It IS showing duplicate lines.   The columns that I'm showing are:
    Material
    Plant
    Val. Type
    Material Description
    Last Change
    MTyp
    Matl Group
    Unit of measure
    Purchasing group
    ABC indicator
    MRPType
    Valuation Class
    Price Control Indicator
    Price
    Currency
    Price Unit
    Created by
    Every single field is identical and each material contains exactly eight rows of identical information.  The interesting thing is that if I actually enter a material number, only one line shows (which is correct.)  However, if I leave the material number blank and enter the material type, that's when we get multiple lines.
    Any other ideas?

  • How to draw multiple lines on same panel??

    hiya
    i would like to know how can I draw multiple lines on the same panel ?? I have already use repaint(); but it just come out the lastest line (say line 3) i draw .......those previous lines(say line 1 and 2) are disappear ........
    Thanks for your help mate

    http://www.java2s.com/ExampleCode/2D-Graphics/Line.htm

  • Multiple entries for same apps showing next to 'Open With' in contextual menu since last backup

    I did a back up of my MBPs internal drive recently, using Carbon Copy Cloner - since then there are multiples of the same icons for all apps under 'Open With' in the contextual menu. I seem to remember there being a command line that could be entered in Terminal to fix this, but I can't find it anywhere.
    Can anyone help?

    Yes, LaunchServices. These are only cache files but can get corrupted. Launch /Utilities/Terminal and copy & paste this at the command line to rebuild LaunchServices: (be sure to copy the entire line it's a scroll)
    Code:
    /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user
    Then press return. Wait until terminal returns to the command line. Quit Terminal. After that, log out and back in or restart. Let us know

  • How can I combine multiple listings for same genre on iTunes 11?

    When I downloaded the newest iTunes version 11, I suddenly had multiple listings for the same genre. I literally have 63 genre listings for "Trance"; 4 listings for "Hip-Hop/Rap" and a few others. There was obviously not a problem with the old iTunes version as they were all grouped together. I do get music from several sources but I have no idea how to combine all my "Trance" listings into one. It takes longer to scroll through the "Trance" genres than the rest of my genres combined. I tried to individually change one the "Hip-Hop/Rap" listings by using the "Get Info" tab and typing in the genre until iTunes can autofill the rest but the problem remains. Any ideas how to combine all these into one genre without compromising the genre name? Thanks
    Mac OS X Version 10.6.8 Snow Leopard

    I believe the closest you can come is look at your songs in Songs.  There you can sort by albums.
    The album view does not contain a list view any longer.

  • 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.

Maybe you are looking for

  • How can I transfer data from one phone to another

    I have a damaged iPhone 3 and am trying to transfer data to another iPhone 3.  How can I do that?

  • SBO_Mailer

    Olá a todos. Estou com o SBO_MAILER configurado e conectando ao meu servidor de email corretamente. Consigo até enviar emails em alguns momentos utilizando a ferramenta (icone e-mail) na barra de icones do B1... Porem, quando tento enviar, por exempl

  • Opening XFL in flash is maintaining the geometry of the indesign document

    Hi , I have expoerted XFL out of indesign document .The indesign document contains 3 pages and each page contains a text element .Exported into XFL and opened in flash CS4 that contains 3 frames and each frame contains a movieclip.And inside each mov

  • Import pdf as rastered image into a c++ application

    Hi Everyone, I am developing a commercial application which processes rastered images. Additionally to bitmap formats like BMP and TIFF the application has to be able to load and process PDF-files. The PDFs only contain one page. To make it harder, s

  • How can I get rid of the related searshes???

    Every time I searsh for some thing , it "Related Searshes" appears on the left of the window and I don't want to see it again.