DynamicStream class play2 function and error overriding it

Adobe made a "DynamicStream" class that looks pretty cool.  I'd like to use it.  The class contains the following code:
         override public function play2(param:NetStreamPlayOptions):void {
            throw new Error( "The play2() method has been disabled for this class.  Please create a separate NetStream object to use play2()." );
The compiler complains about this function.  Says "the method marked override must override another method".  It doesn't complain about it if I instantiate class in my main application file.  That's what the sample code in the Adobe productivity tools suite does - uses the class in the main application file.
If I use it in a custom component file though the compiler complains.
What do I do with this function if I intend to instantiate the DynamicStream class in a custom component file?

I too ran into this problem, if you are using the Flex SDK you must set the target flash player version to at least 10.0.0 otherwise the error occurs because play2() is not available in 9. By default the target version for all Flex 3.4 is 9.x, so you must change the target to 10. Let me know if you have anymore problems.

Similar Messages

  • DynamicStream Class - why am I getting this error?

    I'm using AS 3.0 and am trying to use the DynamicStream class.  However, when I try to instantiate the class:
    var ds:DynamicStream;
    I get this error: 1046: Type was not found or was not a compile-time constraint: DynamicStream.
    Any ideas on how I can fix this would be greatly appreciated.  It seems like it would be something simple like importing a class but I haven't been able to find any info on it.

    Thanks for the help.  I thought the classes were part of AS 3.0 but I just realized that they're part of a separate DynamicStream API from Adobe.   I was able to download the classes and it's now working.

  • Error While uploading the Function and Function_BP

    Hello,
    I am getting the following error while uploading the Functions and Funtions_BP using the Rule Upload functions.
    com.virsa.cc.comp.Function_upload.onActionUploadFunc(Function_upload.java:302) com.virsa.cc.comp.wdp.InternalFunction_upload.wdInvokeEventHandler(InternalFunction_upload.java:150) com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87) com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67) com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420) com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132) com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335) com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143) com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321) com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713) com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666) com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250) com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149) com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62) com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53) javax.servlet.http.HttpServlet.service(HttpServlet.java:760) javax.servlet.http.HttpServlet.service(HttpServlet.java:853) com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386) com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364) com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039) com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265) com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175) com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) java.security.AccessController.doPrivileged(Native Method) com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104) com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    The files which i am uploading the file from the Best practises only.
    What is the reason for this error?
    Did any one get this error?
    Regards,
    Kumar Rayudu
    Edited by: Kumar Rayudu on Aug 4, 2009 12:32 PM

    Hello Kumar,
    Have you uploaded the SAP text and object files? Upload them first and then try to upload functions.
    Harleen
    SAP GRC RIG

  • Upon sync or backup, I receive the message, "iTunes could not back up the iPhone "iPhone name" because and error occurred. I have deleted my backup file and tried another computer, with no success.  Also, the bluetooth function stopped working.

    Upon sync or backup, I receive the message, "iTunes could not back up the iPhone "iPhone name" because and error occurred. I have deleted my backup file and tried another computer, with no success.  Also, the bluetooth function stopped working.

    Hi, EJ13. 
    I see you are having issues with backing up you iPhone and have tried a couple troubleshooting steps.  There are a couple more steps I could recommend in the article below. 
    iOS: Troubleshooting backup issues in iTunes
    http://support.apple.com/kb/ts2529
    Regards,
    Jason H. 

  • Function and java class problem

    Hi, i`m trying to develop a function that is using java class in body and return a table. I will show some code for better understanding.
    I`m creating TYPE:
    CREATE TYPE TYP1 AS OBJECT (
    NUMER NUMBER,
    NAZWA VARCHAR2(5),
    KLOB CLOB,
    RESULTS VARCHAR2(255));
    CREATE TYPE TYP1_TAB IS TABLE OF TYP1;
    Then im creating function
    CREATE OR REPLACE FUNCTION GET_TAB(P_CURS SYS_REFCURSOR) RETURN TYP1_TAB PIPELINED IS
    OUT_REC TYP1:=TYP1(NULL,NULL,NULL);
    BEGIN
    LOOP
    FETCH P_CURS INTO OUT_REC.NUMER,OUT_REC.NAZWA,OUT_REC.KLOB;
    //here i need to pass some parameters to java class stored in my database,
    something like:
    java_class(numer,nazwa,klob) return RESULTS and fetch them to out_rec.results;
    EXIT WHEN P_CURS%NOTFOUND;
    PIPE ROW(OUT_REC);
    END LOOP;
    RETURN;
    END;
    Please help me..
    Best regards
    Radek

    Hi this is the Oracle Designer forum. You would be better off asking this question over at the SQL & PL/SQL place
    PL/SQL

  • Class overhead, function overhead and parameter overhead

    Hi all,
    I am interested in class overhead, function overhead (each function in a class) and parameter overhead (each parameter in function).
    I saw somewhere that class overhead are 200 bytes.
    Is it wise to give up on class and go for functional programming? (Only classes required to run the j2me app are created and nothing else)
    How does function get called? Does it work like a stack? Where each parameters get pushed into the stack and later on pop out when control pass on to the function?
    If your program is full of functions doesn't this make it very processor intensive?
    What is the best solution?
    Thanks in advance!

    Hallo,
    silly question: but what exactly do you mean when you say "full of attributes and methods that will never be used for this instance"?
    I assume that when you have created your class you thought about the attributes and methods you wanted to include, and have not included any unnecessary baggage. I can only think that, perhaps, you have a class X that you would like to reuse, because it does all that you want. The only problem is that, for your specific problem, it carries a lot of excess baggage with it. You only need a few of the attributes and methods. Am I correct?
    Such a class reuse will certainly incur some overheads, but let us try to analyse where they are:
    1. Extra Code. The 'big' class is already defined and probably already loaded, so there should not be any overheads for the code.
    2. Extra Data. Certainly creating a new instance of the 'big' class will require more memory. The question is how big is 'big' class, and how many instances do you want to create or have in existance at any one time? If the class is less than a few kB big and you only need a few instances at any one time, then you can afford to ignore the overhead.
    3. Performance. Every time that you create an instance of the 'big' class, the processor must do some work to initialize it. The question is, what is required to initialize the class? This depends on what is in the constructor.
    4. Programmer Time. If there is an existing class, then it will (probably, depending on documentation) take less time to reuse the class
    than to write another, streamlined class. Someone else will already (hopefully) have debugged the 'big' class.
    I think my view would be to reuse 'big' class unless there good grounds not to do so (see above). Your time is more important than a few overheads.

  • ODBC functions SQLExecDirectW and SQLExecute functions return error:"DIAG [22001] [Microsoft][SQL Server Native Client 10.0]String data, right truncation (0) "

    Problem Description:
    ODBC functions SQLExecDirectW and SQLExecute functions return error:”DIAG [22001] [Microsoft][SQL Server Native Client 10.0]String data, right
    truncation (0) “. When we enable tracing in the ODBC administrator, in the SQL.log we see that values for the arguments: ColumnSize, BufferLength, and StrLen_or_IndPtr of ODBC function SQLBindParameter are not being displayed.
    Environment Used:
    OS: Microsoft Windows Server 2003 R2 Standard x64 Edition.
    Complier: Microsoft Visual Studio 2008 SP1 for x64.
    Database: Microsoft SQL Server 2008
    MDAC: Microsoft Data Access Components SDK 2.8
    Note: This problem is seen only in our 64bit application. However, in 32bit
    SQLExecDirectW and SQLExecute functions return successfully.
    As we could not find the values of 6<sup>th</sup>, 9<sup>th</sup> and 10<sup>th</sup> arguments(ColumnSize,
    BufferLength, and StrLen_or_IndPtr) passed to
    SQLBindParameter in the ODBC traces for 64bit, we are not sure whether the values for the above mentioned arguments are received correctly by SQLBindParameter or not. This information would help us to debug further. So, could you please let us know why
    these values are not displayed.
    1)Here is the extract of the SQL.log file for 32bit where the values for SQLULEN , SQLLEN and SQLLEN* are displayed properly:
    PR0CNFG 1028-15f0 ENTER SQLBindParameter
    HSTMT 0x006FBDD8
    UWORD 1
    SWORD 1 <SQL_PARAM_INPUT>
    SWORD -8 <SQL_C_WCHAR>
    SWORD -9 <SQL_WVARCHAR>
    SQLULEN 23
    SWORD 0
    PTR 0x0595EBBA
    SQLLEN 46
    SQLLEN * 0x05A5FB00
    2)Here is the extract of the SQL.log file for 64bit where the values for SQLULEN , SQLLEN are not displayed properly and
    SQLExecDirectW function return error:”DIAG
    [22001] [Microsoft][SQL Server Native Client 10.0]String data, right truncation (0) “. :
    PR0CNFG a78-fe4 ENTER SQLBindParameter
    HSTMT 000000000431D2F0
    UWORD 1
    SWORD 1 <SQL_PARAM_INPUT>
    SWORD -8 <SQL_C_WCHAR>
    SWORD -9 <SQL_WVARCHAR>
    SQLULEN SQLULEN SWORD 0
    PTR 0x0000000005364EFA
    SQLLEN SQLLEN
    SQLLEN * SQLLEN *
    PR0CNFG a78-fe4 EXIT SQLBindParameter with return code 0 (SQL_SUCCESS)
    HSTMT 000000000431D2F0
    UWORD 1
    SWORD 1 <SQL_PARAM_INPUT>
    SWORD -8 <SQL_C_WCHAR>
    SWORD -9 <SQL_WVARCHAR>
    SQLULEN SQLULEN SWORD 0
    PTR 0x0000000005364EFA
    SQLLEN SQLLEN SQLLEN *

    Hi Nalsr,
    From my research, I found:
    "[Microsoft][ODBC SQL Server Driver]String
    data right truncation" error may be returned from a call to
    SQLBindParameter if the size of the string parameter being used is greater than the size of the column being compared to. In other words if the
    string size of the <expression> to the left of the <comparison_operator> is less than the
    string size of the <expression> to the
    right, ODBC may return this error.
    The resolution is to make the string size of the <expression> to the
    right of the <comparison_operator> less than or equal to the
    string size of the <expression> on the left.
    It is difficult to track down this type of problem when third party development applications are being used. ODBC Trace can be used to help determine if this problem is occuring.
    Here is an example where the customer has submitted a query "select count(*) from type1 where type1 = ?", type1 is varchar(5) and the
    data type being passed by the application is char[9].
    Here is the relevant portion of the trace. The following information from the "exit" of SQLDescribeParam
    SWORD * 0x0095e898 (12)
    UDWORD * 0x0095e880 (5)
    Maps to the following with the actual value in parenthesis - SQL_VARCHAR Size 5:
    SQLSMALLINT *DataTypePtr
    SQLUINTEGER *ParameterSizePtr
    The "exit" value from SQLBindParameter provides the following
    information:
    SWORD 1 <SQL_PARAM_INPUT>
    SWORD 1 <SQL_C_CHAR>
    SQL Data Type SWORD 12 <SQL_VARCHAR>
    Parameter Size UDWORD 5
    SWORD 0
    Value PTR 0x0181c188
    Value Buffer Size SDWORD 5
    String Length SDWORD * 0x0181c103 (9)
    The string length parameter is the length of the
    string being bound to the parameter, in this instance there is a size mismatch which results in the SQLError and the SQLErrorW with the message "[Microsoft][ODBC SQL Server
    Driver]String data
    right truncation" .
    Hope this could be helpful.
    Best regards,
    Halin Huang

  • Variable Functions (and Classes)

    Hi, I was wondering if ActionScript had some way to call functions and classes from variables, like they do in PHP:
    function funcname() {
         print "Potatoes come from tree";
    $function = "funcname";
    print $function;   // Prints out "funcname"
    $$function();      // Prints out "Potatoes come from tree"
    In case you don't know the syntax for PHP, you should know that anything perpended with a $-symbol is a variable. Is something akin to this possible with ActionScript?

    flash uses array notation to convert strings to objects:
    function funcname() {
         trace("Potatoes come from tree");
    var fS:String = "funcname";
    this[fS]();

  • Function extension vs override

    Hi everybody,
    First of all, I know it's possible to override the function
    and from there to call the function in the parent class.
    This is just to let you know that this is not a topic based
    on a whim or fancy.
    My question is, is there anybody out there who, like me,
    would like to have an easier way of extending functions in class
    inheritance?
    Let me give an example:
    Suppose I have superclass A. I use this class as the base
    class for all my buttons, so I want it to listen to mouseover and
    mouseout events. Class A extends MovieClip, because I want to
    retain maximum flexibility in my buttons (e.g. adding an animation
    in some subclass). As defined in class A, the mouseover event
    function defaults to gotoAndPlay(2), and the mouseout function
    defaults to gotoAndPlay(1).
    So what if i have classes B and C, which extend from A. Class
    B has a textfield in it, which should change color on mouseover and
    mouseout, while class C has a textfield which should change size.
    (Just as an example.)
    I don't want to listen to mouse events in each class, once
    should be enough. So I need to extend the mouseover listener
    function in both classes B and C. The current way to do this:
    protected override function mouseOver(event:MouseEvent):void
    super.mouseOver(event);
    this.button_text.textColor = 0xFFFFFF;
    but what i would like is:
    protected extension function moseOver(event:MouseEvent):void
    this.button_text.textColor = 0xFFFFFF;
    This seems like an unnecessary feature, but please picture a
    project in which class A is the superclass for a host of different
    types of buttons, which each have different inheritance chains,
    depending on what they do, and which behaviors they share.
    Somewhere down the line, I might have a class whose two immediate
    parents do not need to extend the mouseover behavior. This would
    imply that the code would be:
    protected override function mouseOver(event:MouseEvent) {
    super.super.super.mouseOver(event);
    And that's the point where I thought of asking what the rest
    of the world thinks about it.
    I hope to read some interesting reactions.

    Sure Kenneth, it is really quite simple.  If you create a web service based on a function module, you expose that FM via exactly one operation, think of an operation as sort of a method.  If you expose an entire function group,  all function modules within the group(if you select them all in that appropriate step of the wizard) will be exposed via that many operations.  So just think of exposing a function group as a short cut to exposing more than one function module at one time, the function modules of one specific group.
    Regards,
    RIch Heilman

  • OWB bugs, missing functionality and the future of OWB

    I'm working with OWB for some time now and there are a lot of rough edges to discover. Functionality and stability leave a lot to be desired. Here's a small and incomplete list of things that annoy me:
    Some annoying OWB bugs (OWB 10g 10.1.0.2.0):
    - The debugger doesn't display the output parameters of procedures called in pre-mapping processes (displays nothing, treats values as NULL). The mapping itself works fine though.
    - When calling selfmade functions within an expression OWB precedes the function call with a constant "Functions." which prevents the function from being executed and results in an error message
    - Occasionally OWB cannot open mappings and displays an error message (null pointer exception). In this case the mapping cannot be opened anymore.
    - Occasionally when executing mappings OWB doesn't remember changes in mappings even when the changes were committed and deployed
    - When using aggregators in mappings OWB scrambles the order of the output attributes
    - The deployment of mappings sometimes doesn't work. After n retries it works without having changed anything in the mapping
    - When recreating an external table directly after dropping the table OWB recreates the external table but always displays both an error message and a success message.
    - In Key Lookups the screen always gets garbled when selecting an attribute as a join condition
    - Usage of constants results in aborts in the debugger
    - When you reconcile a table used in a key lookup the lookup condition sometimes changes. OWB seems to remember only the position of the lookup condition attribute but not the name.
    - In the process of validating a mapping often changes in the mapping get lost and errors occur like 'Internal Errors' or 'Null Pointer Exceptions'.
    - When you save the definition of external tables OWB always adds 2 whitespace columns to the beginning of all the lines following 'ORGANISATION EXTERNAL'. If you save a lot of external table definitions you get files with hundreds of leading whitespaces.
    Poor or missing functionality:
    - No logging on the level of single records possible. I'd like the possibility to see the status of each single record in each operator like using 'verbose data' in PowerCenter
    - The order of the attributes cannot be changed. This really pisses me off expecially if operators like the aggregator scramble the order of attributes.
    - No variables in expressions possible
    - Almost unusable lookup functionality (no cascading lookups, no lookup overrides, no unconnected lookups, only equal condition in key lookups)
    - No SQL overrides in soruces possible
    - No mapplets, shared containers or any kind a reusable transformations
    - No overview functionality for mappings. Often it's very hard to find a leftover operator in a big mapping.
    - No copy function for attributes
    - Printing functionality is completely useless
    - No documentation functionality for mappings (reports)
    - Debugger itself needs debugging
    - It's very difficult to mark connections between attributes of different operations. It's almost impossible to mark a group of connections without marking connections you don't want to mark.
    I really wonder which of the above bugs and mssing functionality 'Paris' will address. From what I read about 'Paris' not many if at all. If Oracle really wants to be a competitor (with regard to functionality) to Informatica, IBM/Ascential etc. they have a whole lot of work to do or purchase Informatica or another of the leading etl tool
    vendors.
    What do you think about OWB? Will it be a competitor for the leading etl tools or just a cheap database add on and become widely used like SAB BW not for reasons of technology or functionality but because it's cheap?
    Looking forward to your opinions.
    Jörg Menker

    Thanks to you two for entertaining my thoughts so far. Let me respond to you latest comments.
    Okay, lets not argue which one is better.. when a tool is there .. then there are some reasons to be there...But the points raised by Jorg and me are really very annoying. Overall I agree with both yours and Jorg's points (and I did not think it was an argument...merely sharing our observations with each other (;^)
    The OWB tool is not as mature as Informatica. However, Informatica has no foothold in the database engine itself and as I mentioned earlier, is still "on the outside looking in..." The efficiency and power of set-based activity versus row-based activity is substantial.
    Looking at it from another way lets take a look at Microstrategy as a way of observing a technical strategy for product development. Microstrategy focused on the internals (the engine) and developed it into the "heavy-lifting" tool in the industry. It did this primarily by leveraging the power of the backend...the database and the hosting server. For sheer brute force, it was champion of the day. It was less concerned with the pretty presentation and more concerned with getting the data out of the back-end so the user didn't have to sit there for a day and wait. Now they have begun to focus on the presentation part.
    Likewise this seems to be the strategy that Oracle has used for OWB. It is designed around the database engine and leverages the power of the database to do its work. Informatica (probably because it needs to be all things to all people) has tended to view the technical offerings of the database engine as a secondary consideration in its architectural approach and has probably been forced to do so more now that Oracle has put themselves in direct competition with Informatica. To do otherwise would make their product too complex to maintain and more vendor-specific.
    I am into the third data warehousing/data migration project and my previous two have been on Informatica (3 years on it).I respect your experience and your opinions...you are not a first timer. The tasks we have both had to solve and how we solved them with these tools are not necessarily the same. Could be similar in instances; could be quite different.
    So the general tendency is to evaluate the tool and try to see how things that were needed to be done in my previous projects can be done with this tool. I am afraid to say .. I am still not sure how these can be implemented in OWB. The points raised by us are probably the fall out of this deficiency.One observation that I would make is that in my experience, calls to the procedural language in the database engine have tended to perform very poorly with Informatica. Informatica's scripting language is week. Therefore, if you do not have direct usability of a good, strong procedural language to tackle some complicated tasks, then you will be in a pickle when the solution is not well suited to a relational-based approach. Informatica wants you to do most things outside of the database (in the map primarily). It is how you implement the transformation logic. OWB is built entirely around the relational, procedural, and ETL components in the Oracle database engine. That is what the tool is all about.
    If cost is the major factor for deciding a tool then OWB stands far ahead...Depends entirely on the client and the situation. I have implemented solutions for large companies and small companies. I don't use a table saw to cut cake and I don't use a pin knife to fall trees. Right tool for the right job.
    ...thats what most managers do .. without even looking how in turn by selecting such a tool they make the life tough for the developers.Been there many times. Few non-technical managers understand the process of tool evaluation and selection and the value a good process adds to the project. Nor do they understand the implications of making a bad choice (cost, productivity, maintainability).
    The functionality of OWB stands way below Informatica.If you are primarily a GUI-based implementer that is true. However, I have often found that when I have been brought in to fix performance problems with Informatica implementations that the primary problem is usually with the way that the developer implemented it. Too often I have found that the developer understands how to implement logic in the GUI component (the Designer/Maps and Sessions) with a complete lack of understanding of how all this activity will impact load performance (they don't understand how the database engine works.) For example, a strong feature in Informatica is the ability to override the default SQL statement generated by Informatica. This was a smart design decision on Informatica's part. I have frequently had to go into the "code" and fix bad joins, split up complex operations, and rip out convoluted logic to get the maps to perform within a reasonable load window. Too often these developers are only viewing the problem through the "window" of the tool. They are not stepping back and look at the problem in the context of the overall architecture. In part Informatica forces them to do this. Another possible factor is they probably don't know better.
    "One tool...one solution"
    Microstrategy until recently had been suffering from that same condition of not allowing the developer to create the actual query). OWB engineers need to rethink their strategy on overriding the SQL.
    The functionality of OWB stands way below Informatica.In some ways yes. If you do a head-to-head comparison of the GUI then yes. In other ways OWB is better (Informatica does not measure up when you compare it with all of the architectural features that the Oracle database engine offers). They need to fix the bugs and annoyances though.
    .. but even the GUI of Informatica is better than OWB and gives the developer some satisfaction of working in it.Believe me I feel your pain. On the other hand, I have suffered from Informatica bugs. Ever do a port from one database eingine to another just to have it convert everything into multi-byte? Ever have it re-define your maps to parallel processing threads when you didn't ask it to?
    Looking at the technical side of things I can give you one fine example ... there is no function in Oracle doing to_integer (to_number is there) but Informatica does that ... Hmm-m-m...sorry, I don't get the point.
    The style of ETL approach of Informatica is far more appealing.I find it unnecessarily over-engineered.
    OWB has two advantages : It is basically free of cost and it has a big brother in Oracle.
    It is basically free of cost...When you are another "Microsoft", you can throw your weight around. The message for Informatica is "don't bite the hand that feeds you." Bad decisions at the top.
    Regards,
    Dan Phillips

  • Calling a object of class from other class's function with in a package

    Hello Sir,
    I have a package.package have two classes.I want to use object of one class in function of another class of this same package.
    Like that:
    one.java
    package co;
    public class one
    private String aa="Vijay";  //something like
    }main.java:
    package co;
    import java.util.Stack;
    public class main extends Stack
    public void show(one obj)
    push(obj);
    public static void main(String args[])
    main oo=new main();
    }when I compile main class, Its not compile.
    Its give error.can not resolve symbol:
    symbol: class one
    location: class co.main
    public void show(one obj)
                              ^Please help How that compile "Calling a object of class from other class's function with in a package" beacuse I want to use this funda in an application

    kumar.vijaydahiya wrote:
    .It is set in environment variable.path=C:\bea\jdk141_02\bin;.,C:\oraclexe\app\oracle\product\10.2.0\server\bin;. command is:
    c:\Core\co\javac one.javaIts compiled already.
    c:\Core\co\javac main.javaBut it give error.
    Both java classes in co package.Okay, open a command prompt and execute these two commands:
    // to compile both classes:
    javac -cp c:\Core c:\Core\co\*.java
    // to run your main-class:
    java -cp c:\Core co.main

  • Function sequence error / Recursive functions error

    Hi! I've a little problem over here. I have an application (servlet) that makes recursive functions with DB access. This function contains a resultset that calls the same function again until no more data is found. The problem, is that I'm using JDBC-ODBC bridge (because this must work in SQL Server, Informix, Sybase, Access and Oracle), so I need to make commit of the connection in every resultset. If I make the commit inside the resultset, I got a "Function Sequence error" exception. Of course, I can't close every statement inside the resultset (or at least I don't know how). My code looks like this:
    public void myfunction(String odbc,String data1,String data2) throws SQLException,Exception{
         //this class, myclassDB, just return a established connection with the DB
         Connection connection = myclassDB.connect(odbc);
         Statement statement = connection.createStatement();
         ResultSet rs = statement.executeQuery("query");
         while(rs.next()){
              //do something with the information
              //make recursive
              connection.commit();
              myfunction(odbc,data1,data2);
         statement.close();
         connection.close();
    }Hope you can help me!
    Feel free to email me at [email protected]
    Regards!     

    I am not really sure what the question is but...
    Presuming that there isn't something wrong with your design (which recursive calls suggest) then you need to extract all of the data, close the resultset/statement then do the recursive calls. If you do processing first then you can still commit on the connection.

  • Function Sequence Error -- After upgrading to Crystal Reports 2008

    Since we intergrated Crystal 2008 in our application, We are having the ODBC DRIVER ERROR "S1010, Function Sequence Error"
    The following steps reproduces the error.
    I open any crystal report(using my application) and close it.
    And then I try to close another dialog in my application.
    The destructor of that dialog has the DELETE FROM TMPRPT WHERE  etc... But actually the TMPRPT table is empty.
    But This Scenario in general, does not produce any error. Only after I open and close Crystal report, and when the TMPRPT table doesn't have any records, executing the above DELETE sql throws CDBException, Funciton Sequence Error.
    Is it because of the upgrade/mismatch of dlls? Can any one help how to work around this?
    Thanks.

    Hi Don,
    I would like to thank you for your helpful advice. your tips for odbc tracing really works.
    Just to simplify things, I have created a simple mfc dialog based application that opens a connection using CDatabase in the initdialog and closes the connection in the destructor(because that is how we do in our main large application). On the dialog i put a "Print" button and when i click it, I open a crystalreportform and fill the connectioninfo structure and then call SetDBLogonForReport(ConnectionInfo connectionInfo, ReportDocument reportDocument). on the Form_closed function, I close database connections  and close the report document.
    When I come back to mfc application I execute a Delete from table where 1 =0, basically any delete/update that return empty recordset and it throws function sequence error.
    BOOL CCrystalDemoDlgDlg::OnInitDialog()
         CDialog::OnInitDialog();
         ConnectDatabase() ;
         return TRUE;  // return TRUE  unless you set the focus to a control
    BOOL CCrystalDemoDlgDlg::ConnectDatabase()
         if ( m_Database.IsOpen() )
              m_Database.Close();
         // Process database open request.
         CString szConnection("DSN=CRYSTALTEST32;UID=DBA;PWD=picture");
                     !m_Database.OpenEx( szConnection, CDatabase::noOdbcDialog ) )
         return TRUE;
    BOOL CCrystalDemoDlgDlg::bExecuteSQL( CString SqlString )
                    if(m_Database.IsOpen())
         m_Database.ExecuteSQL( (LPCTSTR)SqlString );
         return TRUE;
    void CCrystalDemoDlgDlg::OnBnClickedBtnPrint()
         TRY
              bExecuteSQL(_T("DELETE FROM TMPRPT WHERE 1=0"));
              CrystalReportsForm ^ CRForm = gcnew CrystalReportsForm(gcnew System::String("ActvSumm1.rpt"));
              CRForm->ShowDialog();
              //CRForm->RunCrystalReports();
              delete CRForm;
              CRForm = nullptr;
              bExecuteSQL(_T("DELETE FROM TMPRPT WHERE 1=0"));
         CATCH(CDBException, e)
              AfxMessageBox( e->m_strError );
              return ;
         END_CATCH     
    the following is the code in crystalreports library
    namespace CR2008Library
        public partial class CrystalReportsForm : Form
            private ReportDocument _reportDocument;
            private string _reportFile = "C:\\Nomadic\\Report\\";
            public CrystalReportsForm(string reportFile)
                InitializeComponent();
                     _reportDocument = CreateReportDocument(reportFile);
            private ReportDocument CreateReportDocument(string reportFile)
                ReportDocument newDocument = new ReportDocument();
                _reportFile += reportFile;
                newDocument.Load(_reportFile);
                return newDocument;
            public void ConfigureCrystalReports()
                ConnectionInfo connectionInfo = new ConnectionInfo();
                connectionInfo.DatabaseName = "CRYSTALTEST";
                connectionInfo.UserID = "DBA";
                connectionInfo.Password = "picture";
                connectionInfo.ServerName = "CRYSTALTEST32";
                SetDBLogonForReport(connectionInfo, _reportDocument);
                crystalReportViewer.ReportSource = _reportDocument;
            private void SetDBLogonForReport(ConnectionInfo connectionInfo, ReportDocument reportDocument)
                Tables tables = reportDocument.Database.Tables;
                foreach (CrystalDecisions.CrystalReports.Engine.Table table in tables)
                    TableLogOnInfo tableLogonInfo = table.LogOnInfo;
                    tableLogonInfo.ConnectionInfo = connectionInfo;
                    table.ApplyLogOnInfo(tableLogonInfo);
            public void CrystalReportForm_Load(object sender, EventArgs e)
                ConfigureCrystalReports();
            private void CrystalReportsForm_FormClosed(object sender, FormClosedEventArgs e)
                DisposeCR();
            private void DisposeCR()
                // Clean up by closing and disposing of the ReportDocument object
                if (_reportDocument != null)
                    if (_reportDocument.Database.Tables.Count > 0)
                        Tables tables = _reportDocument.Database.Tables;
                        foreach (Table table in tables)
                            table.Dispose();
                    _reportDocument.Database.Dispose();
                    _reportDocument.Close();
                    _reportDocument.Dispose();
                _reportDocument = null;
    I have the log file which doesn't show any error in crystalreports library. I am giving some of the log file for your reference to see what's happening while exiting from crystal and executing the problem sql
    CrystalDemoDlg  16c8-e8c     EXIT  SQLFetch  with return code 0 (SQL_SUCCESS)
              HSTMT               00F41CC0
    CrystalDemoDlg  16c8-e8c     ENTER SQLFetch
              HSTMT               00F41CC0
    CrystalDemoDlg  16c8-e8c     EXIT  SQLFetch  with return code 100 (SQL_NO_DATA_FOUND)
              HSTMT               00F41CC0
    CrystalDemoDlg  16c8-e8c     ENTER SQLCloseCursor
              SQLHSTMT            00F41CC0
    CrystalDemoDlg  16c8-e8c     EXIT  SQLCloseCursor  with return code 0 (SQL_SUCCESS)
              SQLHSTMT            00F41CC0
    CrystalDemoDlg  16c8-e8c     ENTER SQLFreeHandle
              SQLSMALLINT                  3 <SQL_HANDLE_STMT>
              SQLHANDLE           00F41CC0
    CrystalDemoDlg  16c8-e8c     EXIT  SQLFreeHandle  with return code 0 (SQL_SUCCESS)
              SQLSMALLINT                  3 <SQL_HANDLE_STMT>
              SQLHANDLE           00F41CC0
    CrystalDemoDlg  16c8-e8c     ENTER SQLDisconnect
              HDBC                00F427A0
    CrystalDemoDlg  16c8-e8c     EXIT  SQLDisconnect  with return code 0 (SQL_SUCCESS)
              HDBC                00F427A0
    CrystalDemoDlg  16c8-e8c     ENTER SQLFreeHandle
              SQLSMALLINT                  2 <SQL_HANDLE_DBC>
              SQLHANDLE           00F427A0
    CrystalDemoDlg  16c8-e8c     EXIT  SQLFreeHandle  with return code 0 (SQL_SUCCESS)
              SQLSMALLINT                  2 <SQL_HANDLE_DBC>
              SQLHANDLE           00F427A0
    CrystalDemoDlg  16c8-e8c     ENTER SQLFreeHandle
              SQLSMALLINT                  1 <SQL_HANDLE_ENV>
              SQLHANDLE           00F42718
    CrystalDemoDlg  16c8-e8c     EXIT  SQLFreeHandle  with return code 0 (SQL_SUCCESS)
              SQLSMALLINT                  1 <SQL_HANDLE_ENV>
              SQLHANDLE           00F42718
    CrystalDemoDlg  16c8-a34     ENTER SQLAllocStmt
              HDBC                00F419A0
              HSTMT *             0012E2C4
    CrystalDemoDlg  16c8-a34     EXIT  SQLAllocStmt  with return code 0 (SQL_SUCCESS)
              HDBC                00F419A0
              HSTMT *             0x0012E2C4 ( 0x00f41cc0)
    CrystalDemoDlg  16c8-a34     ENTER SQLSetStmtOption
              HSTMT               00F41CC0
              UWORD                        0 <SQL_QUERY_TIMEOUT>
              SQLPOINTER          0x0000000F
    CrystalDemoDlg  16c8-a34     EXIT  SQLSetStmtOption  with return code 0 (SQL_SUCCESS)
              HSTMT               00F41CC0
              UWORD                        0 <SQL_QUERY_TIMEOUT>
              SQLPOINTER          0x0000000F (BADMEM)
    CrystalDemoDlg  16c8-a34     ENTER SQLExecDirectW
              HSTMT               00F41CC0
              WCHAR *             0x03A30458 [      -3] "DELETE FROM TMPRPT WHERE 1=0\ 0"
              SDWORD                    -3
    CrystalDemoDlg  16c8-a34     EXIT  SQLExecDirectW  with return code 100 (SQL_NO_DATA_FOUND)
              HSTMT               00F41CC0
              WCHAR *             0x03A30458 [      -3] "DELETE FROM TMPRPT WHERE 1=0\ 0"
              SDWORD                    -3
    CrystalDemoDlg  16c8-a34     ENTER SQLNumResultCols
              HSTMT               00F41CC0
              SWORD *             0x0012E2B8
    CrystalDemoDlg  16c8-a34     EXIT  SQLNumResultCols  with return code -1 (SQL_ERROR)
              HSTMT               00F41CC0
              SWORD *             0x0012E2B8
              DIAG [S1010] [Microsoft][ODBC Driver Manager] Function sequence error (0)
    CrystalDemoDlg  16c8-a34     ENTER SQLErrorW
              HENV                00F418D8
              HDBC                00F419A0
              HSTMT               00F41CC0
              WCHAR *             0x0012DE00 (NYI)
              SDWORD *            0x0012E224
              WCHAR *             0x0012DE20
              SWORD                      511
              SWORD *             0x0012DE14
    CrystalDemoDlg  16c8-a34     EXIT  SQLErrorW  with return code 0 (SQL_SUCCESS)
              HENV                00F418D8
              HDBC                00F419A0
              HSTMT               00F41CC0
              WCHAR *             0x0012DE00 (NYI)
              SDWORD *            0x0012E224 (0)
              WCHAR *             0x0012DE20 [      56] "[Microsoft][ODBC Driver Manager] Function sequence error"
              SWORD                      511
              SWORD *             0x0012DE14 (56)
    CrystalDemoDlg  16c8-a34     ENTER SQLErrorW
              HENV                00F418D8
              HDBC                00F419A0
              HSTMT               00F41CC0
              WCHAR *             0x0012DE00 (NYI)
              SDWORD *            0x0012E224
              WCHAR *             0x0012DE20
              SWORD                      511
              SWORD *             0x0012DE14
    I know that my post is too long, but i would like to give enough information for you to see what's happening. I use visual studio 2008 with crystal library 2008.
    Thanks,
    Lavanya.

  • Intermittent Function sequence error in JDBC - ReferenceManager too eager?

    Hello,
    I'm experiencing intermittent "function sequence error" when executing the first next() on a resultset.
    The java code:
    protected String getNextSequenceId(Connection con) throws DAOException {
    String nextVal = null;
    PreparedStatement ps = null;
    ResultSet rs = null;
    try {
    ps = getPreparedStatement(con, "SELECT sq_JobsID.NEXTVAL FROM DUAL");
    ps.executeQuery();
    rs = ps.getResultSet();
    if(rs.next()) {
    nextVal = rs.getString(1);
    } catch(SQLException se) {
    handleSQLException(se);
    } finally {
    closeResultSet(rs);
    closeStatement(ps);
    return nextVal;
    Enabling timesten trace logging reveals that the ReferenceManager finalizes the resultset before I get a chance to read from it. Any idea what could be done to prevent this?
    Would changing to code to do "rs=ps.executeQuery();" instead of "ps.executeQuery(); rs = ps.getResultSet();" fix the problem?
    Thanks.
    BTW, I'm using TimesTen 7.0.3. The problem was seen both on Windows XP and Solaris 10.
    TimesTen Trace log:
    HttpThreadPool-8*JdbcOdbc.SQLPrepare(184632064, SELECT sq_JobsID.NEXTVAL FROM DUAL)
    HttpThreadPool-8*JdbcOdbc.SQLGetStmtOption(184632064, 3031)
    HttpThreadPool-8*JdbcOdbc.SQLGetStmtOption(184632064) Returning value = 0
    HttpThreadPool-8*JdbcOdbc.SQLNumParams(184632064)
    HttpThreadPool-8*JdbcOdbc.SQLNumParams(184632064) Returning: numParams = 0
    HttpThreadPool-8*Connection.registerStatement(com.timesten.jdbc.JdbcOdbcPreparedStatement@114c15d)
    HttpThreadPool-8*PreparedStatement.executeQuery()
    HttpThreadPool-8*PreparedStatement.execute()
    HttpThreadPool-8*JdbcOdbc.SQLExecute(184632064)
    HttpThreadPool-8*JdbcOdbc.SQLExecute(184632064): Returning needData=false
    HttpThreadPool-8*JdbcOdbc.SQLNumResultCols(184632064)
    HttpThreadPool-8*JdbcOdbc.SQLNumResultCols(hStmt=184632064): Returning numCols = 1
    HttpThreadPool-8*Statement.getResultSet()
    HttpThreadPool-8*JdbcOdbc.SQLNumResultCols(184632064)
    HttpThreadPool-8*JdbcOdbc.SQLNumResultCols(hStmt=184632064): Returning numCols = 1
    HttpThreadPool-8*JdbcOdbc.SQLAllocAndBindCols(184632064)
    HttpThreadPool-8*Statement.getResultSet()
    HttpThreadPool-8*ReferenceManager.handleReference(com.timesten.jdbc.BasicPhantomReference@1d43f63)
    HttpThreadPool-8*JdbcOdbcResultSet.doPostFinalization(com.timesten.jdbc.JdbcOdbcResultSet@18dacb5)
    HttpThreadPool-8*JdbcOdbcResultSet.close()
    HttpThreadPool-8*JdbcOdbc.SQLFreeStmt(184632064, 0)
    HttpThreadPool-8*JdbcOdbcResultSet.next()
    HttpThreadPool-8*JdbcOdbc.SQLFetch(184632064)
    HttpThreadPool-8*JdbcOdbc.standardError(-1, 0, 0, 184632064)
    HttpThreadPool-8*JdbcOdbc.createSQLException(0, 0, 184632064, true, true)
    HttpThreadPool-8*JdbcOdbc.createSQLException:Reason = [TimesTen][TimesTen 7.0.3.0.0 ODBC Driver]Function sequence error; SQLstate = S1010; VendorCode = 0

    Hi,
    Are you using Spring or Apache? If so, here is some information from one of my colleagues that may be relevant.
    They should turn OFF the singleton for the DAO bean (each DAO bean should NOT use a singleton query variable).
    <bean id="procDAO" class="vae.data.dao.ProcDAO" destroy-method="close" singleton="false">
              <property name="procDAOPool"><ref bean="procDAOPool"/></property>
              <property name="timeAlloted"><value>${db.query.TimeAlloted}</value></property>
              <property name="timeAllotedConf"><value>${db.query.TimeAllotedConf}</value></property>
              <property name="counter"><value>${db.query.Counter}</value></property>
              <property name="msgLimitPicContent"><value>${msgLimitPicContent}</value></property>
              <property name="msgLimitBinaryStandard"><value>${msgLimitBinaryStandard}</value></property>
              <property name="msgLimitNormalSMS"><value>${msgLimitNormalSMS}</value></property>
              <property name="txnCommit"><value>true</value></property>
    </bean>
    What happens is that, when the query variable (the PreparedStatement) is a singleton, which seems to be the default on Spring, at low load levels everything is OK. However as the # of transactions increase, you have a case where
    1) connection #1 enters the DAO bean and executes
    2) connection #2 enters the bean and executes
    3) connection #1 does executeQuery and getResultSet
    4) connection #2 does executeQuery -- this INVALIDATES the resultset obtained by connection #1
    5) when connection #1 tries to do getString the error comes out since the resultset is invalid
    Could you let me know if this is your issue or not.
    Thanks,
    Chris

  • Warning fco-00025 and error cjs-00030 during inst erp2005

    Dear all,
    I try to install an IDES system MySAP ERP2005 SR1 needed by our application attendants.
    After resolving several problems I reached step 45 of 95 and receive a warning:
    WARNING[E] 2006-10-27 07:58:34
    FRF-00025  Unable to call function. Error message: No active plan version exists .
    Here's the complete log of the step:
    INFO 2006-10-27 07:57:20
    An error occured and the user decided to retry the current step: "|NW_Onehost|in
    d|ind|ind|ind|0|0|SAP_Software_Features_Configuration|ind|ind|ind|ind|5|0|NW_Usa
    ge_Types_Configuration_PI|ind|ind|ind|ind|1|0|XiGenerateRoles|ind|ind|ind|ind|0|
    0|deleteAgainTheUser".
    INFO 2006-10-27 07:58:14
    RFC parameter CLIENT set to value 001.
    INFO 2006-10-27 07:58:14
    RFC parameter USER set to value DDIC.
    INFO 2006-10-27 07:58:14
    RFC parameter LCHECK set to value 1.
    INFO 2006-10-27 07:58:14
    RFC parameter PCS set to value 1.
    INFO 2006-10-27 07:58:14
    RFC parameter LANG set to value EN.
    INFO 2006-10-27 07:58:14
    RFC parameter ASHOST set to value sapsrv09.
    INFO 2006-10-27 07:58:14
    RFC parameter SYSNR set to value 03.
    INFO 2006-10-27 07:58:14
    RFC connection information checked successfully.
    INFO 2006-10-27 07:58:15
    RFC connection opened successfully.
    INFO 2006-10-27 07:58:15
    Setting new application function RFC_SYSTEM_INFO.
    INFO 2006-10-27 07:58:15
    Generating interface for remote function.
    INFO 2006-10-27 07:58:17
    Function call was successful.
    INFO 2006-10-27 07:58:17
    Function interface generated successfully.
    INFO 2006-10-27 07:58:17
    Technical properties of function set successfully.
    INFO 2006-10-27 07:58:17
    Information for application function RFC_SYSTEM_INFO copied to local Repository.
    INFO 2006-10-27 07:58:17
    Function module RFC_SYSTEM_INFO set successfully.
    INFO 2006-10-27 07:58:17
    Executing function call RFC_SYSTEM_INFO.
    INFO 2006-10-27 07:58:17
    Function call was successful.
    INFO 2006-10-27 07:58:17
    Version 700  of remote SAP System IDS accepted.
    INFO 2006-10-27 07:58:18
    Setting new application function BAPI_USER_EXISTENCE_CHECK.
    INFO 2006-10-27 07:58:18
    Generating interface for remote function.
    INFO 2006-10-27 07:58:18
    Function call was successful.
    INFO 2006-10-27 07:58:18
    Function interface generated successfully.
    INFO 2006-10-27 07:58:18
    Technical properties of function set successfully.
    INFO 2006-10-27 07:58:18
    Information for application function BAPI_USER_EXISTENCE_CHECK copied to local R
    epository.
    INFO 2006-10-27 07:58:18
    Function module BAPI_USER_EXISTENCE_CHECK set successfully.
    INFO 2006-10-27 07:58:19
    Executing function call BAPI_USER_EXISTENCE_CHECK.
    INFO 2006-10-27 07:58:19
    Function call was successful.
    INFO 2006-10-27 07:58:19
    Setting new application function BAPI_USER_DELETE.
    INFO 2006-10-27 07:58:19
    Generating interface for remote function.
    INFO 2006-10-27 07:58:20
    Function call was successful.
    INFO 2006-10-27 07:58:20
    Function interface generated successfully.
    INFO 2006-10-27 07:58:20
    Technical properties of function set successfully.
    INFO 2006-10-27 07:58:20
    Information for application function BAPI_USER_DELETE copied to local Repository
    INFO 2006-10-27 07:58:20
    Function module BAPI_USER_DELETE set successfully.
    INFO 2006-10-27 07:58:20
    Executing function call BAPI_USER_DELETE.
    WARNING[E] 2006-10-27 07:58:34
    FRF-00025  Unable to call function. Error message: No active plan version exists
    INFO 2006-10-27 07:58:34
    RFC connection closed.
    ERROR 2006-10-27 07:58:34
    CJS-00030  Assertion failed: in
    function GenericRFCResultTableRequestMessage(rfcfunc, result_table, requestedMes
    sage, ignoreWarning) {
        var myreturn = false;
        var found = false;
        if (rfcfunc == undefined) {
            rfcfunc = "RFC-FUNCTION";
        if (ignoreWarning == undefined) {
            ignoreWarning = false;
        if (requestedMessage == undefined) {
            found = true;
        } else {
            ASSERT(arguments.callee, !(requestedMessage.TYPE == undefined || request
    edMessage.NUMBER == undefined || requestedMessage.ID == undefined), "Undefined C
    omparison of RFC call result of function " + rfcfunc);
        ASSERT(arguments.callee, (result_table != undefined), "Undefined table from
    RFC call of function " + rfcfunc);
        ASSERT(arguments.callee, (result_table.length > 0), "No Result table from RF
    C call of function " + rfcfunc);
        var tracestr = "RESULT of ABAP function " + rfcfunc + " : \n";
        for (var i = 0; i < result_table.length; ++i) {
            var restype = result_table<i></i>.TYPE;
            var result = result_table<i></i>.NUMBER;
            var resid = result_table<i></i>.ID;
            var messtr = ": Message Class " + resid + " , Message Number " + result
    + " , Message Text : " + result_table<i></i>.MESSAGE;
            if (!found && restype == requestedMessage.TYPE && result == requestedMes
    sage.NUMBER && resid == requestedMessage.ID) {
                found = true;
            if (restype == "I") {
                installer.writeTrace(tracestr + "Information " + messtr);
            } else {
                if (restype == "W") {
                    installer.writeTrace(tracestr + "Warning " + messtr);
                    if (!ignoreWarning) {
                        myreturn = true;
                } else {
                    if (restype == "X") {
                        installer.writeTrace(tracestr + "Exception " + messtr);
                        myreturn = true;
                    } else {
                        if (restype == "E") {
                            installer.writeTrace(tracestr + "Error " + messtr);
                            myreturn = true;
                        } else {
                            if (restype == "S") {
                                installer.writeTrace(tracestr + "Success " + messtr)
                            } else {
                                installer.writeTrace(tracestr + "NotExpectedType " +
    messtr);
                                myreturn = true;
        if (myreturn) {
            return true;
        } else {
            return !found;
    Undefined table from RFC call of function BAPI_USER_DELETE
    ERROR 2006-10-27 07:58:35
    MUT-03025  Caught ESAPinstException in Modulecall: ESAPinstException: error text
    undefined.
    ERROR 2006-10-27 07:58:35
    FCO-00011  The step deleteAgainTheUser with step key |NW_Onehost|ind|ind|ind|ind
    |0|0|SAP_Software_Features_Configuration|ind|ind|ind|ind|5|0|NW_Usage_Types_Conf
    iguration_PI|ind|ind|ind|ind|1|0|XiGenerateRoles|ind|ind|ind|ind|0|0|deleteAgain
    TheUser was executed with status ERROR .
    Has anybody an idea ?
    From my point of view I have two possibilities:
    Modifying the BAPI or creating an active plan version. Which would you prefer ?
    Many thanks in advance for helping me.
    Wolfgang Nebel
    SAP R/3 Basis Administration

    Sorry Wolfgang,
    I cannot see what you say about "several" users for whom I need to modify the roles..... I always get the same error and I cannot see any other "user" in the log. If you don´t mind, could you have a look to my log file ? Here it is:
    INFO 2006-11-10 13:26:41
    Copied file 'C:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/inifile.xml' to 'C:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/inifile.22.xml'.
    INFO 2006-11-10 13:26:41
    Copied file 'C:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/inifile.xml' to 'C:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/inifile.23.xml'.
    INFO 2006-11-10 13:26:56
    Copied file 'C:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/keydb.xml' to 'C:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/keydb.12.xml'.
    INFO 2006-11-10 13:26:56
    Execute step deleteAgainTheUser of component |NW_Onehost|ind|ind|ind|ind|0|0|SAP_Software_Features_Configuration|ind|ind|ind|ind|5|0|NW_Usage_Types_Configuration_PI|ind|ind|ind|ind|1|0|XiGenerateRoles|ind|ind|ind|ind|0|0.
    INFO 2006-11-10 13:27:13
    RFC parameter CLIENT set to value 001.
    INFO 2006-11-10 13:27:13
    RFC parameter USER set to value DDIC.
    INFO 2006-11-10 13:27:13
    RFC parameter LCHECK set to value 1.
    INFO 2006-11-10 13:27:13
    RFC parameter PCS set to value 1.
    INFO 2006-11-10 13:27:13
    RFC parameter LANG set to value EN.
    INFO 2006-11-10 13:27:13
    RFC parameter ASHOST set to value cscappbar009.
    INFO 2006-11-10 13:27:13
    RFC parameter SYSNR set to value 01.
    INFO 2006-11-10 13:27:13
    RFC connection information checked successfully.
    INFO 2006-11-10 13:27:13
    RFC connection opened successfully.
    INFO 2006-11-10 13:27:13
    Setting new application function RFC_SYSTEM_INFO.
    INFO 2006-11-10 13:27:13
    Generating interface for remote function.
    INFO 2006-11-10 13:27:13
    Function call was successful.
    INFO 2006-11-10 13:27:13
    Function interface generated successfully.
    INFO 2006-11-10 13:27:13
    Technical properties of function set successfully.
    INFO 2006-11-10 13:27:13
    Information for application function RFC_SYSTEM_INFO copied to local Repository.
    INFO 2006-11-10 13:27:13
    Function module RFC_SYSTEM_INFO set successfully.
    INFO 2006-11-10 13:27:13
    Executing function call RFC_SYSTEM_INFO.
    INFO 2006-11-10 13:27:13
    Function call was successful.
    INFO 2006-11-10 13:27:13
    Version 700  of remote SAP System SR3 accepted.
    INFO 2006-11-10 13:27:13
    Setting new application function BAPI_USER_EXISTENCE_CHECK.
    INFO 2006-11-10 13:27:13
    Generating interface for remote function.
    INFO 2006-11-10 13:27:13
    Function call was successful.
    INFO 2006-11-10 13:27:13
    Function interface generated successfully.
    INFO 2006-11-10 13:27:13
    Technical properties of function set successfully.
    INFO 2006-11-10 13:27:13
    Information for application function BAPI_USER_EXISTENCE_CHECK copied to local Repository.
    INFO 2006-11-10 13:27:13
    Function module BAPI_USER_EXISTENCE_CHECK set successfully.
    INFO 2006-11-10 13:27:13
    Executing function call BAPI_USER_EXISTENCE_CHECK.
    INFO 2006-11-10 13:27:13
    Function call was successful.
    INFO 2006-11-10 13:27:13
    Setting new application function BAPI_USER_DELETE.
    INFO 2006-11-10 13:27:13
    Generating interface for remote function.
    INFO 2006-11-10 13:27:13
    Function call was successful.
    INFO 2006-11-10 13:27:13
    Function interface generated successfully.
    INFO 2006-11-10 13:27:13
    Technical properties of function set successfully.
    INFO 2006-11-10 13:27:13
    Information for application function BAPI_USER_DELETE copied to local Repository.
    INFO 2006-11-10 13:27:13
    Function module BAPI_USER_DELETE set successfully.
    INFO 2006-11-10 13:27:13
    Executing function call BAPI_USER_DELETE.
    WARNING[E] 2006-11-10 13:27:13
    FRF-00025  Unable to call function. Error message: No active plan version exists .
    INFO 2006-11-10 13:27:13
    RFC connection closed.
    ERROR 2006-11-10 13:27:13
    CJS-00030  Assertion failed: in
    function GenericRFCResultTableRequestMessage(rfcfunc, result_table, requestedMessage, ignoreWarning) {
        var myreturn = false;
        var found = false;
        if (rfcfunc == undefined) {
            rfcfunc = "RFC-FUNCTION";
        if (ignoreWarning == undefined) {
            ignoreWarning = false;
        if (requestedMessage == undefined) {
            found = true;
        } else {
            ASSERT(arguments.callee, !(requestedMessage.TYPE == undefined || requestedMessage.NUMBER == undefined || requestedMessage.ID == undefined), "Undefined Comparison of RFC call result of function " + rfcfunc);
        ASSERT(arguments.callee, (result_table != undefined), "Undefined table from RFC call of function " + rfcfunc);
        ASSERT(arguments.callee, (result_table.length > 0), "No Result table from RFC call of function " + rfcfunc);
        var tracestr = "RESULT of ABAP function " + rfcfunc + " :
        for (var i = 0; i < result_table.length; ++i) {
    var restype = result_table.TYPE;
    var result = result_table.NUMBER;
    var resid = result_table.ID;
    var messtr = ": Message Class " + resid + " , Message Number " + result + " , Message Text : " + result_table.MESSAGE;
    if (!found && restype == requestedMessage.TYPE && result == requestedMessage.NUMBER && resid == requestedMessage.ID) {
    found = true;
    if (restype == "I") {
    installer.writeTrace(tracestr + "Information " + messtr);
    } else {
    if (restype == "W") {
    installer.writeTrace(tracestr + "Warning " + messtr);
    if (!ignoreWarning) {
    myreturn = true;
    } else {
    if (restype == "X") {
    installer.writeTrace(tracestr + "Exception " + messtr);
    myreturn = true;
    } else {
    if (restype == "E") {
    installer.writeTrace(tracestr + "Error " + messtr);
    myreturn = true;
    } else {
    if (restype == "S") {
    installer.writeTrace(tracestr + "Success " + messtr);
    } else {
    installer.writeTrace(tracestr + "NotExpectedType " + messtr);
    myreturn = true;
    if (myreturn) {
    return true;
    } else {
    return !found;
    Undefined table from RFC call of function BAPI_USER_DELETE
    ERROR 2006-11-10 13:27:13
    MUT-03025 Caught ESAPinstException in Modulecall: ESAPinstException: error text undefined.
    ERROR 2006-11-10 13:27:13
    FCO-00011 The step deleteAgainTheUser with step key |NW_Onehost|ind|ind|ind|ind|0|0|SAP_Software_Features_Configuration|ind|ind|ind|ind|5|0|NW_Usage_Types_Configuration_PI|ind|ind|ind|ind|1|0|XiGenerateRoles|ind|ind|ind|ind|0|0|deleteAgainTheUser was executed with status ERROR .
    INFO 2006-11-10 14:50:16
    An error occured and the user decided to retry the current step: "|NW_Onehost|ind|ind|ind|ind|0|0|SAP_Software_Features_Configuration|ind|ind|ind|ind|5|0|NW_Usage_Types_Configuration_PI|ind|ind|ind|ind|1|0|XiGenerateRoles|ind|ind|ind|ind|0|0|deleteAgainTheUser".
    INFO 2006-11-10 14:50:16
    RFC parameter CLIENT set to value 001.
    INFO 2006-11-10 14:50:16
    RFC parameter USER set to value DDIC.
    INFO 2006-11-10 14:50:16
    RFC parameter LCHECK set to value 1.
    INFO 2006-11-10 14:50:16
    RFC parameter PCS set to value 1.
    INFO 2006-11-10 14:50:16
    RFC parameter LANG set to value EN.
    INFO 2006-11-10 14:50:16
    RFC parameter ASHOST set to value cscappbar009.
    INFO 2006-11-10 14:50:16
    RFC parameter SYSNR set to value 01.
    INFO 2006-11-10 14:50:16
    RFC connection information checked successfully.
    INFO 2006-11-10 14:50:16
    RFC connection opened successfully.
    INFO 2006-11-10 14:50:16
    Setting new application function RFC_SYSTEM_INFO.
    INFO 2006-11-10 14:50:16
    Generating interface for remote function.
    INFO 2006-11-10 14:50:16
    Function call was successful.
    INFO 2006-11-10 14:50:16
    Function interface generated successfully.
    INFO 2006-11-10 14:50:16
    Technical properties of function set successfully.
    INFO 2006-11-10 14:50:16
    Information for application function RFC_SYSTEM_INFO copied to local Repository.
    INFO 2006-11-10 14:50:16
    Function module RFC_SYSTEM_INFO set successfully.
    INFO 2006-11-10 14:50:16
    Executing function call RFC_SYSTEM_INFO.
    INFO 2006-11-10 14:50:16
    Function call was successful.
    INFO 2006-11-10 14:50:16
    Version 700 of remote SAP System SR3 accepted.
    INFO 2006-11-10 14:50:16
    Setting new application function BAPI_USER_EXISTENCE_CHECK.
    INFO 2006-11-10 14:50:16
    Generating interface for remote function.
    INFO 2006-11-10 14:50:16
    Function call was successful.
    INFO 2006-11-10 14:50:16
    Function interface generated successfully.
    INFO 2006-11-10 14:50:16
    Technical properties of function set successfully.
    INFO 2006-11-10 14:50:16
    Information for application function BAPI_USER_EXISTENCE_CHECK copied to local Repository.
    INFO 2006-11-10 14:50:16
    Function module BAPI_USER_EXISTENCE_CHECK set successfully.
    INFO 2006-11-10 14:50:16
    Executing function call BAPI_USER_EXISTENCE_CHECK.
    INFO 2006-11-10 14:50:16
    Function call was successful.
    INFO 2006-11-10 14:50:16
    Setting new application function BAPI_USER_DELETE.
    INFO 2006-11-10 14:50:16
    Generating interface for remote function.
    INFO 2006-11-10 14:50:16
    Function call was successful.
    INFO 2006-11-10 14:50:16
    Function interface generated successfully.
    INFO 2006-11-10 14:50:16
    Technical properties of function set successfully.
    INFO 2006-11-10 14:50:16
    Information for application function BAPI_USER_DELETE copied to local Repository.
    INFO 2006-11-10 14:50:16
    Function module BAPI_USER_DELETE set successfully.
    INFO 2006-11-10 14:50:16
    Executing function call BAPI_USER_DELETE.
    WARNING[E] 2006-11-10 14:50:16
    FRF-00025 Unable to call function. Error message: No active plan version exists .
    INFO 2006-11-10 14:50:16
    RFC connection closed.
    ERROR 2006-11-10 14:50:16
    CJS-00030 Assertion failed: in
    function GenericRFCResultTableRequestMessage(rfcfunc, result_table, requestedMessage, ignoreWarning) {
    var myreturn = false;
    var found = false;
    if (rfcfunc == undefined) {
    rfcfunc = "RFC-FUNCTION";
    if (ignoreWarning == undefined) {
    ignoreWarning = false;
    if (requestedMessage == undefined) {
    found = true;
    } else {
    ASSERT(arguments.callee, !(requestedMessage.TYPE == undefined || requestedMessage.NUMBER == undefined || requestedMessage.ID == undefined), "Undefined Comparison of RFC call result of function " + rfcfunc);
    ASSERT(arguments.callee, (result_table != undefined), "Undefined table from RFC call of function " + rfcfunc);
    ASSERT(arguments.callee, (result_table.length > 0), "No Result table from RFC call of function " + rfcfunc);
    var tracestr = "RESULT of ABAP function " + rfcfunc + " :
    for (var i = 0; i < result_table.length; ++i) {
    var restype = result_table.TYPE;
    var result = result_table.NUMBER;
    var resid = result_table.ID;
    var messtr = ": Message Class " + resid + " , Message Number " + result + " , Message Text : " + result_table.MESSAGE;
    if (!found && restype == requestedMessage.TYPE && result == requestedMessage.NUMBER && resid == requestedMessage.ID) {
    found = true;
    if (restype == "I") {
    installer.writeTrace(tracestr + "Information " + messtr);
    } else {
    if (restype == "W") {
    installer.writeTrace(tracestr + "Warning " + messtr);
    if (!ignoreWarning) {
    myreturn = true;
    } else {
    if (restype == "X") {
    installer.writeTrace(tracestr + "Exception " + messtr);
    myreturn = true;
    } else {
    if (restype == "E") {
    installer.writeTrace(tracestr + "Error " + messtr);
    myreturn = true;
    } else {
    if (restype == "S") {
    installer.writeTrace(tracestr + "Success " + messtr);
    } else {
    installer.writeTrace(tracestr + "NotExpectedType " + messtr);
    myreturn = true;
    if (myreturn) {
    return true;
    } else {
    return !found;
    Undefined table from RFC call of function BAPI_USER_DELETE
    ERROR 2006-11-10 14:50:16
    MUT-03025 Caught ESAPinstException in Modulecall: ESAPinstException: error text undefined.
    ERROR 2006-11-10 14:50:16
    FCO-00011 The step deleteAgainTheUser with step key |NW_Onehost|ind|ind|ind|ind|0|0|SAP_Software_Features_Configuration|ind|ind|ind|ind|5|0|NW_Usage_Types_Configuration_PI|ind|ind|ind|ind|1|0|XiGenerateRoles|ind|ind|ind|ind|0|0|deleteAgainTheUser was executed with status ERROR .
    INFO 2006-11-10 14:50:23
    An error occured and the user decided to retry the current step: "|NW_Onehost|ind|ind|ind|ind|0|0|SAP_Software_Features_Configuration|ind|ind|ind|ind|5|0|NW_Usage_Types_Configuration_PI|ind|ind|ind|ind|1|0|XiGenerateRoles|ind|ind|ind|ind|0|0|deleteAgainTheUser".
    INFO 2006-11-10 14:50:23
    RFC parameter CLIENT set to value 001.
    INFO 2006-11-10 14:50:23
    RFC parameter USER set to value DDIC.
    INFO 2006-11-10 14:50:23
    RFC parameter LCHECK set to value 1.
    INFO 2006-11-10 14:50:23
    RFC parameter PCS set to value 1.
    INFO 2006-11-10 14:50:23
    RFC parameter LANG set to value EN.
    INFO 2006-11-10 14:50:23
    RFC parameter ASHOST set to value cscappbar009.
    INFO 2006-11-10 14:50:23
    RFC parameter SYSNR set to value 01.
    INFO 2006-11-10 14:50:23
    RFC connection information checked successfully.
    INFO 2006-11-10 14:50:23
    RFC connection opened successfully.
    INFO 2006-11-10 14:50:23
    Setting new application function RFC_SYSTEM_INFO.
    INFO 2006-11-10 14:50:23
    Generating interface for remote function.
    INFO 2006-11-10 14:50:24
    Function call was successful.
    INFO 2006-11-10 14:50:24
    Function interface generated successfully.
    INFO 2006-11-10 14:50:24
    Technical properties of function set successfully.
    INFO 2006-11-10 14:50:24
    Information for application function RFC_SYSTEM_INFO copied to local Repository.
    INFO 2006-11-10 14:50:24
    Function module RFC_SYSTEM_INFO set successfully.
    INFO 2006-11-10 14:50:24
    Executing function call RFC_SYSTEM_INFO.
    INFO 2006-11-10 14:50:24
    Function call was successful.
    INFO 2006-11-10 14:50:24
    Version 700 of remote SAP System SR3 accepted.
    INFO 2006-11-10 14:50:24
    Setting new application function BAPI_USER_EXISTENCE_CHECK.
    INFO 2006-11-10 14:50:24
    Generating interface for remote function.
    INFO 2006-11-10 14:50:24
    Function call was successful.
    INFO 2006-11-10 14:50:24
    Function interface generated successfully.
    INFO 2006-11-10 14:50:24
    Technical properties of function set successfully.
    INFO 2006-11-10 14:50:24
    Information for application function BAPI_USER_EXISTENCE_CHECK copied to local Repository.
    INFO 2006-11-10 14:50:24
    Function module BAPI_USER_EXISTENCE_CHECK set successfully.
    INFO 2006-11-10 14:50:24
    Executing function call BAPI_USER_EXISTENCE_CHECK.
    INFO 2006-11-10 14:50:24
    Function call was successful.
    INFO 2006-11-10 14:50:24
    Setting new application function BAPI_USER_DELETE.
    INFO 2006-11-10 14:50:24
    Generating interface for remote function.
    INFO 2006-11-10 14:50:24
    Function call was successful.
    INFO 2006-11-10 14:50:24
    Function interface generated successfully.
    INFO 2006-11-10 14:50:24
    Technical properties of function set successfully.
    INFO 2006-11-10 14:50:24
    Information for application function BAPI_USER_DELETE copied to local Repository.
    INFO 2006-11-10 14:50:24
    Function module BAPI_USER_DELETE set successfully.
    INFO 2006-11-10 14:50:24
    Executing function call BAPI_USER_DELETE.
    WARNING[E] 2006-11-10 14:50:24
    FRF-00025 Unable to call function. Error message: No active plan version exists .
    INFO 2006-11-10 14:50:24
    RFC connection closed.
    ERROR 2006-11-10 14:50:24
    CJS-00030 Assertion failed: in
    function GenericRFCResultTableRequestMessage(rfcfunc, result_table, requestedMessage, ignoreWarning) {
    var myreturn = false;
    var found = false;
    if (rfcfunc == undefined) {
    rfcfunc = "RFC-FUNCTION";
    if (ignoreWarning == undefined) {
    ignoreWarning = false;
    if (requestedMessage == undefined) {
    found = true;
    } else {
    ASSERT(arguments.callee, !(requestedMessage.TYPE == undefined || requestedMessage.NUMBER == undefined || requestedMessage.ID == undefined), "Undefined Comparison of RFC call result of function " + rfcfunc);
    ASSERT(arguments.callee, (result_table != undefined), "Undefined table from RFC call of function " + rfcfunc);
    ASSERT(arguments.callee, (result_table.length > 0), "No Result table from RFC call of function " + rfcfunc);
    var tracestr = "RESULT of ABAP function " + rfcfunc + " :
    for (var i = 0; i < result_table.length; ++i) {
    var restype = result_table.TYPE;
    var result = result_table.NUMBER;
    var resid = result_table.ID;
    var messtr = ": Message Class " + resid + " , Message Number " + result + " , Message Text : " + result_table.MESSAGE;
            if (!found && restype == requestedMessage.TYPE && result == requestedMessage.NUMBER && resid == requestedMessage.ID) {
                found = true;
            if (restype == "I") {
                installer.writeTrace(tracestr + "Information " + messtr);
            } else {
                if (restype == "W") {
                    installer.writeTrace(tracestr + "Warning " + messtr);
                    if (!ignoreWarning) {
                        myreturn = true;
                } else {
                    if (restype == "X") {
                        installer.writeTrace(tracestr + "Exception " + messtr);
                        myreturn = true;
                    } else {
                        if (restype == "E") {
                            installer.writeTrace(tracestr + "Error " + messtr);
                            myreturn = true;
                        } else {
                            if (restype == "S") {
                                installer.writeTrace(tracestr + "Success " + messtr);
                            } else {
                                installer.writeTrace(tracestr + "NotExpectedType " + messtr);
                                myreturn = true;
        if (myreturn) {
            return true;
        } else {
            return !found;
    Undefined table from RFC call of function BAPI_USER_DELETE
    ERROR 2006-11-10 14:50:24
    MUT-03025  Caught ESAPinstException in Modulecall: ESAPinstException: error text undefined.
    ERROR 2006-11-10 14:50:24
    FCO-00011  The step deleteAgainTheUser with step key |NW_Onehost|ind|ind|ind|ind|0|0|SAP_Software_Features_Configuration|ind|ind|ind|ind|5|0|NW_Usage_Types_Configuration_PI|ind|ind|ind|ind|1|0|XiGenerateRoles|ind|ind|ind|ind|0|0|deleteAgainTheUser was executed with status ERROR .
    INFO 2006-11-10 14:50:28
    An error occured and the user decide to stop.
    Current step "|NW_Onehost|ind|ind|ind|ind|0|0|SAP_Software_Features_Configuration|ind|ind|ind|ind|5|0|NW_Usage_Types_Configuration_PI|ind|ind|ind|ind|1|0|XiGenerateRoles|ind|ind|ind|ind|0|0|deleteAgainTheUser".
    I really appreciate your help.
    Thousands of thanks

Maybe you are looking for

  • In Design CS 5.0 (7.0.4) slow file performance

    I work on a large catalog in a workgroup setting of 5 people. We work with files on our desktop then store them on the server when we are done. All images are linked to a locatoin on the server. We are having issues with our files being slow and unre

  • How to add or modify an entry using the JNDI

    Hi all, Usually I have used the netscape library to write directory application, now I have to use the JNDI ... Could I have some examples about the add modify and delete entry on the directory? Thanks a lot! M@x

  • Question about FC Express

    Hi all. I have no FC experience.....just some iMovie putzing with the family video's. I do use Photoshop CS5 and have years of experience with Pro Tools and work in film/TV production so I am not a total stranger to filmmaking and audio production, u

  • Printing Issues in wireless mode

    I recently purchased an HP2025dn printer and installed on my home network. I have a G5 Mac Pro hardwired on the net, and the printer works fine. I have an Airport Extreme with two laptops connected wirelessly. I cannot print from either one; one is a

  • How to install keyboard software update

    I just bought a numeric keyboard that I cannot yet use because I cannot work out how to download the apple keyboard software.  When I attempt to install keyboard software update, an alert appears with the following script: a newer version of this sof