Object Help

How do I create a MovieClip from the library while flash is
playing and assign it variable values? Thx.

i dont know why it aint working! thats the only error i am getting...cant resolve smybol
package multipleChoice.test;
import java.sql.Connection;
import java.sql.SQLException;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.sql.DataSource;
import java.util.logging.*;
public class DBConnection
public static Connection getDBConnection() throws SQLException
Connection conn = null;
try
InitialContext ctx = new InitialContext();
DataSource ds = ( DataSource ) ctx.lookup( "java:comp/env/jdbc/MySQLDB" );
try
conn = ds.getConnection();
catch ( SQLException sqlEx )
System.out.println( "cannot get JDBC connection: " + sqlEx );
catch ( NamingException nEx )
nEx.printStackTrace();
return conn;
public static void closeConnection(Connection conDB) {
// Return Connection to the pool
try {
conDB.close();
catch(SQLException se)
// handle any errors
// Set object to be ready for garbage collection
conDB = null;
} // end closeConnection
}public class addTest
     Connection conn = DBConnection.getDBConnection();
     String error, errorMsg;
     int insertedID = -1;
     ResultSet rs = null;
     public addTest()
// some methods

Similar Messages

  • How do I get the object help text into my document (report)?

    Post Author: ehskalm
    CA Forum: Desktop Intelligence Reporting
    I want to display the object help text (the "description" field in the object properties in the universe) in my report, but I can not find any function for that? Anyone who knows? BO version is 5.1.

    Post Author: hvanderkolk
    CA Forum: Desktop Intelligence Reporting
    All information about the classes and objects in a universe are stored in the repository database (universe domain). To get that information in your report you need to create a query on the repository database.
    For an overview of all objectnames and descriptions that would be:
    SELECT  WA_UNV_OBJECT.OBJ_NAME,  WA_OBJECT_HELP.OBJ_DATAVALUEFROM  (WA_UNV_OBJECT RIGHT OUTER JOIN WA_OBJECT_HELP ON (WA_OBJECT_HELP.OBJECT_ID=WA_UNV_OBJECT.OBJECT_ID  AND  WA_OBJECT_HELP.UNIVERSE_ID=WA_UNV_OBJECT.UNIVERSE_ID) ) 
    Note: this if from BO6.5 using SQL server 2000 for the repository database.

  • I need abap object help file.helpful link

    i need abap object help file.helpful link

    Hi
    Go through the below links,
    For Materials:
    1) http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf -- Page no: 1291
    2) http://esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    3) http://esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    4) http://esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    5) http://esnips.com/doc/92be4457-1b6e-4061-92e5-8e4b3a6e3239/Object-Oriented-ABAP.ppt
    6) http://esnips.com/doc/448e8302-68b1-4046-9fef-8fa8808caee0/abap-objects-by-helen.pdf
    7) http://esnips.com/doc/39fdc647-1aed-4b40-a476-4d3042b6ec28/class_builder.ppt
    8) http://www.amazon.com/gp/explorer/0201750805/2/ref=pd_lpo_ase/102-9378020-8749710?ie=UTF8
    OO ABAP links:
    1) http://www.erpgenie.com/sap/abap/OO/index.htm
    2) http://help.sap.com/saphelp_nw04/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    check all the below links
    http://www.sapgenie.com/abap/OO/index.htm
    http://www.geocities.com/victorav15/sapr3/abap_ood.html
    http://www.brabandt.de/html/abap_oo.html
    Check this cool weblog:
    /people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql
    /people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b6254f411d194a60000e8353423/frameset.htm
    http://www.sapgenie.com/abap/OO/
    http://www.sapgenie.com/abap/OO/index.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
    http://www.esnips.com/doc/375fff1b-5a62-444d-8ec1-55508c308b17/prefinalppt.ppt
    http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://www.esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    http://www.allsaplinks.com/
    http://www.sap-img.com/
    http://www.sapgenie.com/
    http://help.sap.com
    http://www.sapgenie.com/abap/OO/
    http://www.sapgenie.com/abap/OO/index.htm
    http://www.sapgenie.com/abap/controls/index.htm
    http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://www.esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    http://www.sapgenie.com/abap/OO/index.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    http://www.sapgenie.com/abap/OO/
    these links
    http://help.sap.com/saphelp_47x200/helpdata/en/ce/b518b6513611d194a50000e8353423/content.htm
    For funtion module to class
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5954f411d194a60000e8353423/content.htm
    for classes
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5c54f411d194a60000e8353423/content.htm
    for methods
    http://help.sap.com/saphelp_47x200/helpdata/en/08/d27c03b81011d194f60000e8353423/content.htm
    for inheritance
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/4049c40f4611d3b9380000e8353423/content.htm
    for interfaces
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b6254f411d194a60000e8353423/content.htm
    Check these links.
    http://www.henrikfrank.dk/abapuk.html
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/abap%20objects/abap%20code%20sample%20to%20learn%20basic%20concept%20of%20object-oriented%20programming.doc
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/alv%20grid/abap%20code%20sample%20to%20display%20data%20in%20alv%20grid%20using%20object%20oriented%20programming.doc

  • Adobe Bridge CS6 undefined in not an object Help Please

    I am so sick and tired of getting this error message when I try to create a pdf contact sheet - undefined is not an object.  Can someone help me?
    What frustrates me the is there is no log file telling me what image has the problem which Bridge does not like.
    This example is of brand new eps files that were created in the last month
    I also have the same undefined object is not an object using AI files but none are shown in this example.
    If there is no solution to tell me what eps or ai file(s) bridge does not like - is there a setting I can change so Bridge skips the file it does not like?  Sorta silly skipping a file for a contact sheet but if that is a workaround to make it bridge work that would be a huge improvement versus the program not working at all, LOL...
    1. I have tried using another program to rename all my files to be sequential numbers too, so that is taking more time and I am losing the ability to find my files by name and I still get the undefined is not an object.
    2. I am to the point of using other programs to create jpeg images of AI and EPS files and then using bridge to make contact sheets and doing that takes a ton more time and is just silly to do so now I am to the point of asking for help. 
    3. Operating system is Wondows 7 - I use CS6 - Adobe Bridge for making contact sheets - screen shoot is attached - all CS6 items are up to date with updates.
    4. Yes, I have searched the internet for help and searched adobe for help --- seems like no one has posted a solution.

    I am having this same issue. I'm attempting to make a pdf in Bridge but am getting the error message "undefined is not an object." A log or a report of some kind would be very useful here to find out which object is the offender. Looking at my files they appear to be in order but obviously something is amiss....

  • Array of linkedlist of object - help! plesse!

    I am writing an array of linkedlist and the elements of the linkedlist is an object carrying 2 interger. It didn't compile and the message is as follows:
    C:\thesis5>javac testLL2.java
    testLL2.java:22: cannot resolve symbol
    symbol : variable vertexFanObj2
    location: class testLL2
    vertexFanObj2 = myLL2[ i].get(j);
    ^
    1 error
    My program is as follows:
    import java.net.*;
    import java.io.*;
    import java.util.LinkedList;
    public class testLL2 {
    public static void main(String[] args) throws IOException {
    int myLLLength;
    Integer intObj;
    LinkedList myLL2 [] = new LinkedList[10];
    vertexFan vertexFanObj;
    for (int i = 0; i < 10; i++) {
    myLL2[ i] = new LinkedList();
    for (int j=0; j < 5; j++) {
    vertexFanObj = new vertexFan();
              vertexFanObj.setupVertex(j, -j);
    myLL2.add(vertexFanObj);
    for (int i = 0; i < 10; i++) {
    myLLLength = myLL2[ i].size();
    for (int j=0; j<myLLLength; j++) {
    vertexFanObj2 = myLL2[ i].get(j);
    System.out.println(vertexFanObj.vertex1+" "+vertexFanObj.vertex2);
    class vertexFan {
    int vertex1, vertex2;
    void setupVertex(int vertexA, int vertexB) {
    vertex1=vertexA;
    vertex2=vertexB;
    I 've got lost! Please kindly help you! Many thanks in advance!

    for (int i = 0; i < 10; i++) {
    myLL2[ i] = new LinkedList();
    for (int j=0; j < 5; j++) {
    vertexFanObj = new vertexFan();
    vertexFanObj.setupVertex(j, -j);
    myLL2.add(vertexFanObj);
    for (int i = 0; i < 10; i++) {
    myLLLength = myLL2[ i].size();
    for (int j=0; j<myLLLength; j++) {
    vertexFanObj2 = myLL2[ i].get(j);
    System.out.println(vertexFanObj.vertex1+" "+vertexFanObj.vertex2);
    } Its a scope issue.
    You define vertexFanObj in a for loop. then try to access it from outside that for loop. (in another for loop)
    for (int i = 0; i < 10; i++) {
    myLL2[ i] = new LinkedList();
    vertexFanObj = new vertexFan(); //I MOVED THIS LINE
    for (int j=0; j < 5; j++) {
    vertexFanObj.setupVertex(j, -j);
    myLL2.add(vertexFanObj);
    for (int i = 0; i < 10; i++) {
    myLLLength = myLL2[ i].size();
    for (int j=0; j<myLLLength; j++) {
    vertexFanObj2 = myLL2[ i].get(j);
    System.out.println(vertexFanObj.vertex1+" "+vertexFanObj.vertex2);
    } should work properly...

  • Failed to create object.Help needed

    Hi, I have some program here, the BPDU class and also the RootBridge class. The BPDU class is just a simple class with all the getMethods and the setMethods. For the RootBridge class, it is suppose to connect to the JDBC ODBC database, and create arraylist and retrieve the mac address, priority and also the port id from the database. However, when I tried to create a BPDU object, it gives me an error saying :
    --------------------Configuration: j2sdk1.4.2_01 <Default>--------------------
    F:\new Project FYP\RootBridge.java:43: BPDU(java.lang.String,double,java.lang.String,int,java.lang.String,java.lang.String) in BPDU cannot be applied to ()
                        BPDU bpdu =new BPDU();
    ^
    1 error
    Here are the classes:
    BPDU class:
    public class BPDU
         private String BridgeIDMac;
         private double BridgeIDPriority;
         private String MsgType;
         private int CostPath;
         private String PortID;
         private String ComputerName;
         public BPDU(String BridgeIDMac, double BridgeIDPriority,String MsgType,int CostPath, String PortID, String ComputerName)
              this.BridgeIDMac=BridgeIDMac;
              this.BridgeIDPriority=BridgeIDPriority;
              this.MsgType=MsgType;
              this.CostPath=CostPath;
              this.PortID=PortID;
              this.ComputerName=ComputerName;
         public String getBridgeIDMac()
              return BridgeIDMac;
         public double getBridgeIDPriority()
              return BridgeIDPriority;
         public String getMsgType()
              return MsgType;
         public int getCostPath()
              return CostPath;
         public String getPortID()
              return PortID;
         public String getComputerName()
              return ComputerName;
         //SET METHODS
         public void setBridgeIDMac(String mac)
              BridgeIDMac=mac;
         public void setBridgeIDPriority(double priority)
              BridgeIDPriority=priority;
         public void setMsgType(String msg)
              MsgType=msg;
         public void setCostPath(int costpath)
              CostPath=costpath;
         public void setPortID(String portid)
              PortID=portid;
         public void setComputerName(String computername)
              ComputerName=computername;
    RootBridge Class:
    import java.util.*;
    import java.sql.*;
    import java.io.*;
    import java.net.*;
    import java.lang.*;
    public class RootBridge
         private Connection con;
         private String macaddress;
         private int priority;
         private int portid;
         public RootBridge()
              try
                   //ESTABLISH THE JDBC DATABASE CONNECTION
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   con = DriverManager.getConnection("jdbc:odbc:BPDU");
              catch(ClassNotFoundException c)
                   System.out.println(c+": JDBC Driver Could Not Be Loaded.");
              catch(SQLException s)
                   System.out.println(s+": Database Connection Could Not Be Established.");
         //TO RETRIEVE THE COMPUTER NAME  IN DATABASE
         public ArrayList retrieveComputerName()
              ArrayList arraylist=new ArrayList();
              try
                   PreparedStatement p=con.prepareStatement("Select ComputerName from BPDU");
                   ResultSet rs= p.executeQuery();
                   if(rs.next())
                        //************Here is the error
                                                                                         BPDU bpdu =new BPDU();                    bpdu.setComputerName(rs.getString("ComputerName"));
                        arraylist.add(bpdu);
              catch(SQLException s)
                   System.out.println(s+": Could not retrieve computer name from database");
              return arraylist;
         //to get the mac address that belong to the computer
         public BPDU retrieveMacAddress(String computername)
              System.out.println("DB1"+computername);
              try
                   PreparedStatement p=con.prepareStatement("Select BridgeIDMAC from BPDU where ComputerName=?" );
                   System.out.println("DB2"+computername);
                   p.setString(1,computername);
                   p.setString(2,computername);
                   p.setString(3,computername);
                   ResultSet rs=p.executeQuery();
                   if(rs.next())
                        macaddress=rs.getString("BridgeIDMAC");
                   System.out.println("DB4"+macaddress);
              catch(SQLException s)
                   System.out.println(s+": Could not retrieve the mac address from database");
         //to retrieve priority from database
         public BPDU retrievePriority(String computername)
              System.out.println("DB1"+computername);
              try
                   PreparedStatement p=con.prepareStatement("Select BridgeIDPriority from BPDU where ComputerName=?" );
                   System.out.println("DB2"+computername);
                   p.setString(1,computername);
                   p.setString(2,computername);
                   p.setString(3,computername);
                   ResultSet rs=p.executeQuery();
                   if(rs.next())
                        priority=rs.getInt("BridgeIDPriority");
                   System.out.println("DB4"+priority);
              catch(SQLException s)
                   System.out.println(s+": Could not retrieve the priority from database");
         //to retrieve port id from database
         public BPDU retrievePortID(String computername)
              System.out.println("DB1"+computername);
              try
                   PreparedStatement p=con.prepareStatement("Select PortID from BPDU where ComputerName=?" );
                   System.out.println("DB2"+computername);
                   p.setString(1,computername);
                   p.setString(2,computername);
                   p.setString(3,computername);
                   ResultSet rs=p.executeQuery();
                   if(rs.next())
                        portid=rs.getInt("PortID");
                   System.out.println("DB4"+portid);
              catch(SQLException s)
                   System.out.println(s+": Could not retrieve the port id from database");
    }Please see //************Here is the error in the Root Bridge class.Help me to solve the problem.Thank You very much

    Hi,
    The error message means that the BPDU class doesn't have an empty constructor. You must pass the in needed arguments to the BPDU constuctor.
    /Kaj

  • Array of cfc object help

    I just picked up coldfusion about a month ago, so my
    coldfusion lingo sucks. I have been programming in C++ for over 5
    years now and will be using a lot of C++ terminology to help avoid
    any confusion. I am writing a cfc function that preforms web
    servicing. This function needs to return an object/class that is
    defined in another coldfusion function. I can do this without a
    problem if I only need to return one instance of this object.
    However, I cannot seem to return an array of this object (I need to
    return multiple instances of this object, kind of like a query, but
    for programming purposes it needs to stay as an object).
    It seems that the webservicing function hates my return type.
    If I try to make an array of the object, it does not like array or
    the object as the return type. However, when I take this function
    out of the cfc, and make it a cfm, it gets the array of objects
    just fine. So, I think I am having issues with the return type on
    the <cffunction> tag. So I came up with the idea of creating
    another object which will hold an array of the first object and
    using the second object as the return type. Here is some psuedo
    code of the function I am working on:
    <cffunction name="SelectGames" access="remote"
    returntype="ArrayOfGames" output="false">
    <!-- arguments --->
    <!--- query --->
    <cfobject component = "myArray" name>
    <cfobject component="games" name="test">
    <cfset counter = 0>
    <cfloop query="getevents">
    <cfset counter = counter + 1>
    <cfset test.Game_id = event_id>
    <cfset test.gameDate = eventdate>
    <cfset test.Starttime = starttime>
    <cfset test.Place = place>
    <cfset test.Level = level>
    <cfset test.Sport = sport>
    <cfset test.Gender = division>
    <cfset test.Opponent = opponent_id>
    <cfset test.Type = type>
    <cfset test.Link = spec_name>
    <cfset myArray.gamesArray[counter] = test>
    </cfloop>
    <cfreturn myArray>
    </cffunction>
    It keeps telling me that it does not recognize the return
    type.
    Here are examples of the two objects I am using from the 2
    dif. cfc files:
    <cfcomponent>
    <cfproperty name="gamesArray" type="array">
    </cfcomponent>
    <cfcomponent>
    <cfproperty name="Game_id" type="numeric">
    <cfproperty name="gameDate" type="date">
    <cfproperty name="Starttime" type="string">
    <cfproperty name="Place" type="string">
    <cfproperty name="Level" type="string">
    <cfproperty name="Sport" type="string">
    <cfproperty name="Gender" type="string">
    <cfproperty name="Opponent" type="string">
    <cfproperty name="Type" type="string">
    <cfproperty name="Link" type="string">
    </cfcomponent>
    Feel free to post any questions to clear anything up, I know
    this is confusing and I probably did a poor job of explaining my
    problem. Also, if I throw this code into a cfm and try to make an
    array of games, it works, this is the code I got it to work with:
    <cfset myArray = newArray(1)>
    <cfloop query="getevents">
    <cfset counter = counter + 1>
    <cfset test.Game_id = event_id>
    <cfset test.gameDate = eventdate>
    <cfset test.Starttime = starttime>
    <cfset test.Place = place>
    <cfset test.Level = level>
    <cfset test.Sport = sport>
    <cfset test.Gender = division>
    <cfset test.Opponent = opponent_id>
    <cfset test.Type = type>
    <cfset test.Link = spec_name>
    <cfset myArray[counter] = test>
    </cfloop>
    I guess my problem is I do not know how to specify a type for
    an array.

    The return type of this FUNCTION would be returnType="array".
    No matter
    what kind of data the array contained.
    That's what I get for fast proofing.
    Ian Skinner wrote:
    > I would have to play with your code more if this does
    not clear it up
    > for you, but lets start with this simple concept first.
    >
    > You mentioned "typing the array" several times.
    ColdFusion is typeless,
    > you don't type an array, it is just array. An array of
    strings is the
    > same as an array of integers which is the same as an
    array of objects.
    >
    > So if you had a function something like this.
    >
    > <cffunction returnType="array" ...>
    > <cfset theArray = arrayNew()>
    >
    > <cfloop ...>
    > <cfset arrayAppend(theArray, newObject)>
    > </cfloop>
    >
    > <cfreturn theArray>
    > </cffunction>
    >
    > The return type of this function would be
    returnType="array". No matter what
    > kind of data the array contained.
    >
    > mwiley63 wrote:
    >> I just picked up coldfusion about a month ago, so my
    coldfusion lingo
    >> sucks. I have been programming in C++ for over 5
    years now and will
    >> be using a lot of C++ terminology to help avoid any
    confusion. I am
    >> writing a cfc function that preforms web servicing.
    This function
    >> needs to return an object/class that is defined in
    another coldfusion
    >> function. I can do this without a problem if I only
    need to return
    >> one instance of this object. However, I cannot seem
    to return an
    >> array of this object (I need to return multiple
    instances of this
    >> object, kind of like a query, but for programming
    purposes it needs to
    >> stay as an object).
    >> It seems that the webservicing function hates my
    return type. If I
    >> try to make an array of the object, it does not like
    array or the
    >> object as the return type. However, when I take this
    function out of
    >> the cfc, and make it a cfm, it gets the array of
    objects just fine.
    >> So, I think I am having issues with the return type
    on the
    >> <cffunction> tag. So I came up with the idea
    of creating another
    >> object which will hold an array of the first object
    and using the
    >> second object as the return type. Here is some
    psuedo code of the
    >> function I am working on:
    >>
    >> <cffunction name="SelectGames" access="remote"
    >> returntype="ArrayOfGames" output="false">
    >> <!-- arguments --->
    >> <!--- query --->
    >> <cfobject component = "myArray" name>
    >> <cfobject component="games" name="test">
    >> <cfset counter = 0>
    >> <cfloop query="getevents">
    >> <cfset counter = counter + 1>
    >> <cfset test.Game_id = event_id>
    >> <cfset test.gameDate = eventdate>
    >> <cfset test.Starttime = starttime>
    >> <cfset test.Place = place>
    >> <cfset test.Level = level>
    >> <cfset test.Sport = sport>
    >> <cfset test.Gender = division>
    >> <cfset test.Opponent = opponent_id>
    >> <cfset test.Type = type>
    >> <cfset test.Link = spec_name>
    >> <cfset myArray.gamesArray[counter] = test>
    >> </cfloop>
    >> <cfreturn myArray>
    >> </cffunction>
    >>
    >> It keeps telling me that it does not recognize the
    return type.
    >> Here are examples of the two objects I am using from
    the 2 dif. cfc
    >> files:
    >> <cfcomponent>
    >> <cfproperty name="gamesArray" type="array">
    >> </cfcomponent>
    >> <cfcomponent>
    >> <cfproperty name="Game_id" type="numeric">
    >> <cfproperty name="gameDate" type="date">
    >> <cfproperty name="Starttime" type="string">
    >> <cfproperty name="Place" type="string">
    >> <cfproperty name="Level" type="string">
    >> <cfproperty name="Sport" type="string">
    >> <cfproperty name="Gender" type="string">
    >> <cfproperty name="Opponent" type="string">
    >> <cfproperty name="Type" type="string">
    >> <cfproperty name="Link" type="string">
    >> </cfcomponent>
    >>
    >> Feel free to post any questions to clear anything
    up, I know this is
    >> confusing and I probably did a poor job of
    explaining my problem.
    >> Also, if I throw this code into a cfm and try to
    make an array of
    >> games, it works, this is the code I got it to work
    with:
    >> <cfset myArray = newArray(1)>
    >> <cfloop query="getevents">
    >> <cfset counter = counter + 1>
    >> <cfset test.Game_id = event_id>
    >> <cfset test.gameDate = eventdate>
    >> <cfset test.Starttime = starttime>
    >> <cfset test.Place = place>
    >> <cfset test.Level = level>
    >> <cfset test.Sport = sport>
    >> <cfset test.Gender = division>
    >> <cfset test.Opponent = opponent_id>
    >> <cfset test.Type = type>
    >> <cfset test.Link = spec_name>
    >> <cfset myArray[counter] = test>
    >> </cfloop>
    >>
    >> I guess my problem is I do not know how to specify a
    type for an array.
    >>

  • ODS Object Help Please!!!!

    Hi,
    Im having the following problem. I have an ODS Object with 80 requests. All the data has been uploaded via excel csv files.
    Ive found that request no. 40 is incorrect and I cant delete it without deleting requests 41 through to 80.
    How can I :-
    1.) Delete request 40 without deleting the above requests.?
    2.) Edit request 40 to correct the data.
    Note that this was uploaded on Sept 29th and the PSA shows the requests only from 2nd to 4th Oct.
    Please Help,
    Regards,
    Dominic

    Do not delete all the data above request 40.  This is a problem many people face and I have done it many times so I can share my experience with all of you here. I will try to give a detailed answer for everyones benifit here.
    1.  there are two scenerios that you need to keep in mind.  From ODS to cube you can have full upload or a Delta upload. From the cube point of view, you can find the corrsopnding request in the cube for that data which corrosponds to the request 40 here and delete it. This will not harm your other request in the cube. So there is no problem here.
    2.  Now let us look at the ODS which is a tricky area to work.  As I said you could have Delta from ODS to cube or a full upload from ODS TO cube.
    3.  Let us consider the first case when you have a full load from ODS to cube.  Either way you need to do selective deletion at the ODS level.  In this case find the request no pertaining to request 40 and go to the active table and delete this request based on the same selections.
    4.  In case you are running a delta from the ODS to the cube, the you need to do the selective delteion in the ODS. here the request id will be ODSRxxx find it related to request 40 in the ODS and do the selective deletion.
    5.  Now you must have your csv file (fresh) with correct data related to request 40.  Load your ODS again
    6.  Now run the Delta from the ODS to the cube or a Full load from ODS to cube wiht the selection conditions.
    7. You are all done.
    Cheers !!

  • Modifying an element in an array of objects - HELP!

    Hello - I would appreciate any help on this project I am working on for my beginning Java class.
    One of the requirements of my project are to update a string that I have already populated with a new balance, through an update balance method. I'm confused on how to bring the element (string) back from my array so that I can repopulate the name, and phone so that I don't loose that information when updating the balance. I think it should be done in the AcctMaint class. Below is a copy of my code. I have a lot of garbage in there for testing and have not completed all of the requirements, as you will see. Don't laugh to much - I'm new at this! Thank you, JB
    //     Author: JB
    // Bank.java
    //     Purpose:     To create a customer account, make a deposit, make a withdrawl,
    //                         Accure interest on all accounts when the method is invoked.
    import javax.swing.JOptionPane;
    public class Bank
    // Creates an accout object. Adds, deposits, withdrawls. Prints
    // reports on the bank customers
    public static void main (String[] args)
    Customer account = new Customer ();
              String name, phone, numStr;
              double deposit;
              int option, acctnum;
              // Display a menu through a dialog box
              numStr = JOptionPane.showInputDialog ( "MAIN MENU" + "\n" + "-----------------" + "\n" +
              "Create an account: 1" + "\n" + "Make a deposit: 2" + "\n" +
              "Make a withdrawl: 3" + "\n" + "Search for a customer: 4" + "\n" +
              "Customer report: 5" + "\n" + "Accru interest on accounts: 6");
              option = Integer.parseInt(numStr);
              if (option == 1)
                        numStr = JOptionPane.showInputDialog ("Enter a customer last name");
                        name = (numStr);
                        System.out.println (name);
                        numStr = JOptionPane.showInputDialog ("Enter a 10 digit phone number");
                        phone = (numStr);
                        System.out.println (phone);
                        numStr = JOptionPane.showInputDialog ("Enter your deposit");
                        deposit = Double.parseDouble(numStr);
                        System.out.println (deposit);
                        account.addAcct (0, name, phone, deposit, 0);
    // Populate with data for testing
    //                    account.addAcct (0,"George Bush", "3034727812", 140954.95, 0);
    //                    account.addAcct (0,"Hillary Clinton", "7206666666", 0.01, 0);
    //                    account.addAcct (0,"Barb Swayer", "3034724567", 17.95, 0);
    //                    account.addAcct (0,"George Bush", "3034727812", 140954.95, 0);
              if (option == 2)
                        // Get account information
                        account.addAcct (0,"Carol Lund", "3034716278", 124500.98, 0);
                        account.addAcct (0,"George Bush", "7204724415", 0.01, 0);
                        numStr = JOptionPane.showInputDialog ("Enter a customer account");
                        acctnum = Integer.parseInt(numStr);
                        System.out.println(acctnum);
                        numStr = JOptionPane.showInputDialog ("Enter your deposit");
                        deposit = Double.parseDouble(numStr);
                        System.out.println (deposit);
              account.updAcct (acctnum, "Testing Update", "4544444444", 50.95, deposit);
    // List the accounts
    System.out.println (account);
    // Author: JB
    // Customer.java
    // Purpose: Store the account number (using index for account number), name, phone and balance
    import javax.swing.JOptionPane;
    import java.text.NumberFormat;
    import java.util.*;
    public class Customer
    private AcctMaint[] accounts;
    private int count, answer;
    // Creates an initially empty accounts.
    public Customer ()
              int Array_Size = 30;
    accounts = new AcctMaint[Array_Size];
    count = 0;
    // Adds a AcctMaint to the accounts
    public void addAcct (int account, String name, String phone, double balance, double trans)
    accounts[count] = new AcctMaint (account, name, phone, balance, trans);
    count++;
    // Modifies account so that it increases the balance with a deposit
    // accounts if necessary.
    public void updAcct (int account, String name, String phone, double balance, double trans)
    accounts[account] = new AcctMaint (account, name, phone, balance, trans);
              System.out.println ("The customer you will be updating is: " + accounts[account]);
    // Returns a report describing the AcctMaint accounts.
    public String toString()
    NumberFormat fmt = NumberFormat.getCurrencyInstance();
    String report = "&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\n";
    report += "L&L Accounts\n\n";
    report += "Number Accounts: " + count + "\n";
    report += "\n\nAccount List:\n\n";
    for (int cd = 0; cd < count; cd++)
    report += accounts[cd].toString() + "\n";
    return report;
    // Author: JB
    // AcctMaint.java
    import java.text.NumberFormat;
    public class AcctMaint
    private String name, phone;
    private double balance;
    // Creates a new Account with the specified information.
    public AcctMaint (int Acct, String Cname, String Pnumber, double Abalance, double trans)
         name = Cname;
         phone = Pnumber;
              balance = Abalance + trans;
    // I want to get the string and replace it with the new balance
    //     and old information prior to updating array.
    // Returns a description of this account.
    public String toString()
    NumberFormat fmt = NumberFormat.getCurrencyInstance();
    String description;
    description = fmt.format(balance) + "\t";
    description += name + "\t" + phone;
    return description;
    Thank you again in advance.

    toString() is supposed to do nothing more than return a string representation of an object. If you call toString() in order to assign its return value to a temp variable prior to updating the state of the object, then this satisfies your "capture and store the data". But your original post was concerned with updating an object's fields. This should generally only be accomplished by get/set sorts of methods. But of course, the update method could be a wrapper around the set method, with the additional call to toString() prior to setting the fields, so that you can return the pre-update object data or use it in later calculations or whatever, and also update your fields, all in one method.

  • Command object help

    Hi All,
    I have a report having command object like this.My back end is MYSQL.
    I am not getting data in designer with below query
    SELECT * FROM clock_time WHERE STR_TO_DATE(DATE_FORMAT(clock_time,'%d-%m-%Y %H:%i'),'%d-%m-%Y %H:%i')= DATE_FORMAT('2014-06-19 11:03:43','%d-%m-%Y %H:%i')
    What is the mistake I am doing .
    Please help.

    Hi Divya,
    Does the same command work on the database when run via the database client?
    See if this works:
    SELECT * FROM clock_time WHERE DATE_FORMAT(clock_time,'%d-%m-%Y %H:%i') = Str_To_Date('19-06-2014 11:03','%d-%m-%Y %H:%i')
    -Abhilash

  • Transaction & non-EJB objects (helper)

    hi i have a question about transactional behavior of non-EJB objects. i'm
              using
              weblogic 6.0 sp1 with ejb 2.0.
              say i have a session bean which starts a container managed transaction. and
              it calls
              out to helper class A(non-EJB), and that helper class A get a connection and
              update
              some tables. after A returns, session bean calls helper class B(non-EJB) in
              the
              same transaction. B is supposed to update some other tables but it throw an
              user
              exception. would the transaction in the session bean be rolled back? would
              it
              also roll back the changes made by helper class A?
              thanks for any help,
              z
              

    Thanks Rob!
              "Rob Woollen" <[email protected]> wrote in message
              news:[email protected]...
              > Ziqiang Xu wrote:
              >
              > > hi i have a question about transactional behavior of non-EJB objects.
              i'm
              > > using
              > > weblogic 6.0 sp1 with ejb 2.0.
              > >
              > > say i have a session bean which starts a container managed transaction.
              and
              > > it calls
              > > out to helper class A(non-EJB), and that helper class A get a connection
              and
              > > update
              > > some tables.
              >
              > You must get the JDBC connection from a TxDataSource.
              >
              > > after A returns, session bean calls helper class B(non-EJB) in
              > > the
              > > same transaction. B is supposed to update some other tables but it
              throw an
              > > user
              > > exception. would the transaction in the session bean be rolled back?
              >
              > Merely throwing an exception from a helper class will not rollback the
              > transaction.
              >
              > Within an EJB, the best way to rollback a tx is to use the
              > EJBContext.setRollbackOnly method.
              >
              > So you could do something like this:
              >
              > session_bean_method() {
              >
              > try {
              > B.foo();
              > } catch (MyException e) {
              > ctx.setRollbackOnly();
              > throw e;
              > }
              >
              > }
              >
              > > would
              > > it
              > > also roll back the changes made by helper class A?
              > >
              >
              > If they are all within a single transaction, then yes. As I mentioned
              before,
              > make sure that you use a TxDataSource for all of your JDBC Connections.
              >
              > -- Rob
              >
              > >
              > > thanks for any help,
              > >
              > > z
              >
              

  • Middleware and Adapter Object help needed

    Hi all,
    We are trying to replicate business agreements from CRM to contract accounts in our R/3 IS-U system. We've followed the various cookbooks and guidelines but have so far been unsuccessful. For object BUAG_MAIN, is an adapter object needed? If so, we are unable to find one in R3AC1.
    If we check the BDoc message, we are getting two Technical errors after creating the business agreement:
    1. "Outbound call for BDoc type BUAG_MAIN to adapter module CRM_UPLOAD_TO_OLTP failed."
    2. "Service that caused the error: SMW3_OUTBOUNDADP_CALLADAPTERS"
    Any ideas? Points will be awarded for helpful responses. Thanks in advance.
    Message was edited by:
            John S

    So in R3AC1 there is a button to show inactive adapter objects. Hitting this showed BUAG_MAIN. After that, we opened BUAG_MAIN and activated the object. This resulted in a couple of changes that we clicked through. We then were able to do an initial load of the business agreements and replications of newly created ones happened thereafter.

  • Add/remove parent, child objects. help needed

    I'm working on interactive map for my client. But i'm stuck on functionality.
    It's basically has 3 locations (child1-3) on base map(Bg), each stands for link to their assigned popup boxes.
    Child2 and Child3 shares same Mag object which shows additional 5 locations.
    i've done showing my base Bg and 3 initial locations. Also i tried to show first popup box by clicking child1 and it has some success.
    But further i'm having problem for removing Box1 and it's BoxX button which means i want to return my Main_MC state by removing objects.
    **pls help me on my work so i'll appreciate for your valuable time for helping me. I'm open to send some bonus via Skrill or Paypal.
    Main_MC (parent)+
    |
    |___Bg
    |
    |
    |___child1+
    |              |___ Box1
    |             
    |___child2+
    |              |
    |              |                       |__box2
    |              |                       |__box3
    |              |___Mag+___|__box4
    |              |                       |__box5
    |              |                       |__box6
    |              |
    |              |
    |              |
    |___child3+
    Here is my toddler looking code i just started.
    package{
        import flash.display.Sprite;
        import flash.display.DisplayObject;
        import flash.events.MouseEvent;
        import flash.net.URLRequest;
        import flash.events.Event;   
        public class Main extends Sprite{
            private var Bg:Sprite;
            private var child1:Sprite;
            private var child2:Sprite;
            private var child3:Sprite;
            public function Main(){           
                var Bg:Sprite = new BgInstance();
                Bg.x=360;
                Bg.y=212;
                Bg.name="BgMap"
                addChild(Bg);
                child1 = new child1Instance();
                child1.buttonMode = true;
                child1.x=479;
                child1.y=132;
                child1.name="child1Name";
                child1.addEventListener(MouseEvent.CLICK, showBox);
                addChild(child1);
                child2 = new child2Instance();
                child2.buttonMode = true;
                child2.x=463;
                child2.y=282;
                child2.name="child2Name";
                child2.addEventListener(MouseEvent.CLICK, showMag);
                addChild(child2);
                child3 = new child3Instance();
                child3.buttonMode = true;
                child3.x=389;
                child3.y=335;
                child3.name="child3Name";
                addChild(child3);
            } //closing brace for Function Main     
            //Handler       
            private function showBox (e:MouseEvent):void{
                var box1:Sprite;
                box1=new box1Instance();
                box1.x=-279;
                box1.y=-32;
                box1.name = "box1name";
                var boxX:Sprite;
                boxX=new boxXInstance();
                boxX.x=-159;
                boxX.y=-79;
                boxX.name="boxXname";
                buttonMode = true;
                child1.addChild(box1);
                child1.addChild(boxX);           
                trace(child1.numChildren); //it returns 3 instead of 2 ?
                trace(box1.numChildren); //it returns 3 instead of 0 ?
                boxX.addEventListener(MouseEvent.CLICK, boxXHandler);
                } //closing brace for function showBox
                //function for removing showBox
            private function boxXHandler(evt:MouseEvent):void {
                child1.removeChildAt(0); // it removes child1 itself on first click?
                }//closing brace for function boxXHandler
                //function for managing showMag
            private function showMag (e:MouseEvent):void{
                var MagBox:Sprite;
                MagBox=new MagInstance();
                MagBox.x=-275;
                MagBox.y=-95;
                MagBox.name="MagBoxName";
                var MagBoxX:Sprite;
                MagBoxX=new magXInstance();
                buttonMode = true;
                MagBoxX.x=-145;
                MagBoxX.y=-190;
                MagBoxX.name="MagBoxXName";
                child2.addChild(MagBox);
                child2.addChild(MagBoxX);
                trace(child2.getChildAt(0).name);
                MagBoxX.addEventListener(MouseEvent.CLICK, MagBoxXHandler);
            } //closing brace for function showMag
            private function MagBoxXHandler(evt:MouseEvent):void {
        } //closing brace for Class Main
    } //closing brace for package

    This is my code for right now:
    package{
        import flash.display.Sprite;
        import flash.display.DisplayObject;
        import flash.events.MouseEvent;
        import flash.net.URLRequest;
        import flash.events.Event;
              import flash.events.EventDispatcher;
        public class Main extends Sprite{
            private var Bg:Sprite;
            private var child1:Sprite;
            private var child2:Sprite;
            private var child3:Sprite;
            public function Main(){           
                var Bg:Sprite = new BgInstance();
                Bg.x=360;
                Bg.y=212;
                Bg.name="BgMap"
                addChild(Bg);
                child1 = new child1Instance();
                child1.buttonMode = true;
                child1.x=479;
                child1.y=132;
                child1.name="child1Name";
                child1.addEventListener(MouseEvent.CLICK, showBox);
                addChild(child1);
                child2 = new child2Instance();
                child2.buttonMode = true;
                child2.x=463;
                child2.y=282;
                child2.name="child2Name";
                child2.addEventListener(MouseEvent.CLICK, showMag);
                addChild(child2);
                child3 = new child3Instance();
                child3.buttonMode = true;
                child3.x=389;
                child3.y=335;
                child3.name="child3Name";
                addChild(child3);
           } //closing brace for Function Main     
                //Handler
                private function showBox (e:MouseEvent):void{
                var box1:Sprite;
                box1=new box1Instance();
                box1.x=-279;
                box1.y=-32;
                box1.name = "box1name";
                var boxX:Sprite;
                boxX=new boxXInstance();
                boxX.x=-159;
                boxX.y=-79;
                boxX.name="boxXname";
                buttonMode = true;
                child1.addChild(box1);
                child1.addChild(boxX);
                child1.removeEventListener(MouseEvent.CLICK, showBox);
                //tired to remove event listerner for child1 ?
                boxX.addEventListener(MouseEvent.CLICK, boxXHandler);
                } //closing brace for function showBox
                //function for removing showBox
                function boxXHandler(evt:MouseEvent){
                child1.removeChild(child1.getChildByName("box1name"));
                child1.removeChild(child1.getChildByName("boxXname"));
                child1.addEventListener(MouseEvent.CLICK, showBox);
                // tried to reassign event listener for child1 ?
                }//closing brace for function boxXHandler
                //function for managing showMag
                private function showMag (e:MouseEvent):void{
                var MagBox:Sprite;
                MagBox=new MagInstance();
                MagBox.x=-275;
                MagBox.y=-95;
                MagBox.name="MagBoxName";
                var MagBoxX:Sprite;
                MagBoxX=new magXInstance();
                buttonMode = true;
                MagBoxX.x=-145;
                MagBoxX.y=-190;
                MagBoxX.name="MagBoxXName";
                child2.addChild(MagBox);
                child2.addChild(MagBoxX);
                child2.removeEventListener(MouseEvent.CLICK, showMag);
                trace(child2.getChildAt(0).name);
                MagBoxX.addEventListener(MouseEvent.CLICK, MagBoxXHandler);
                } //closing brace for function showMag
                function MagBoxXHandler(evt:MouseEvent):void {
                child2.removeChild(child2.getChildByName("MagBoxName"));
                child2.removeChild(child2.getChildByName("MagBoxXName"));
                child2.addEventListener(MouseEvent.CLICK, showMag);
              } //closing brace for Class Main
    } //closing brace for package

  • Cannot access out object  Help Pls

    Hi
    In my jsp page , i had created some functions .. in those functions i am not able to access the out object
    ( out.println(" ")) . can any one of u explain me why i am not able to acces that ??.. i had attached the error given by the webserver . pls help me :)
    Error Message Given by webserver --> Undefined variable or class name: out out.println( cal +" "+ iStartTime+" "+ iStartMin+" "+ iStartSec+" "+iEndTime+" "+iEndMin+" "+iEndSec);

    Thanks for ur reply .. but i had already included that in my jsp files ....
    pls see my declaration ..
    <%@ page import="java.io.*"%>
    <%@ page import="java.util.*"%>
    <%@ page import="java.util.Date"%>
    <%@ page import="java.sql.*"%>
    <%@ page import="javax.servlet.*"%>
    <%@ page import="javax.servlet.http.*" %>
    I cannot access the out class ONLY in the function i had declared .. i can access the out class in other parts of the program

  • VBScript : the Document object help

    Hello everybody
    I am unable run following script using the current browsers.
    please help
    <script language="vbscript" type="text/vbscript">
    var1 = 10
    var2 = 20
    Sum = var1 + var2
    document.write("The Sum of two numbers"&_
    "var1 and var2 is " & Sum)
    </script>
    the document object is giving no results.

    Not a good script.  You need to learn how to use HTML.  Running a script like that wil lusually not work.
    Start here: http://www.w3schools.com/
    <script language="vbscript" type="text/vbscript">
    Sub window_onload()
    var1 = 10
    var2 = 20
    Sum = var1 + var2
    document.write "The Sum of two numbers var1 and var2 is " & Sum
    End Sub
    </script>
    ¯\_(ツ)_/¯

  • Finding matchcode object help

    how to find matchcode object of a field which is already exizted in se11.
    for eg. i want to find matchcode object of a field Parnr from table IHPA.
    regds

    Hi,
    PARNR from IHPA doesn't associated with any search help/match code.
    YOU can find two ways whether a search help is associated with a field .
    1.SE11->Table->IHPA->Click on Entry Help/Check -> select the field(PARNR) click on Search help button, if a search help is available it will display.
    2.SE11->DataType->PARNR(display)->Click on Further Characterstics tab-> here you can see the search help associated with it.
    <i>Hope This Info Helps YOU.</i>
    Regards,
    Raghav

Maybe you are looking for

  • Installing Adobe Digital Editions

    Hi, I want to be able to download e-books through e-pub from the library and Adobe Digital Editions is needed to do this.  I've downloaded what I thought was ADE but what I get is what appears to be the book, "Getting Started with Adobe Digital Editi

  • G4/G5?

    i am totally new to macs so i have to ask, what are G4/G5 computers. i want to get capture nx software for my nikon and want to go with a mac and don't know which to choose??? can i go with a macbook or do i need to go with a macbook pro???? the spec

  • Where can I buy final cut pro 7

    Does anyone know where to buy final cut pro 7 and if it is compatible with mountain lion. If I installed mountain lion and used to have snow leaport. I used to have final cut pro 5 and live text...is it anyway I can go back to snowleapard after insta

  • FBL3N & F-03

    Hi All When I query fbl3n for GL :XXX (Intercompany-Accruals) if gives me list of document types AC & SA as open items. But I try to clear them in f-03 few documents are missing here. I am not sure why the few documents are missing here. Any ideas on

  • Question related to enhanced interface determination option in ID

    HI All, I am trying to create a 1:N message mapping and here are the steps which I have done. 1. Created a Source Data type, Message type , Message Interface and activated 2. Created 3 Target Data types, 3 Message types and 3 Message interfaces and a