Syntax for Commmand Object

I am trying to use the Command Object create a recordset
where a variable is passed that contains the values of in IN
statement:
Param5 rsOffices__varType is the variable that passes the
value of the IN
If I set rsOffices__varType = 'po', 'sb' : I do not get en
error, but I also do not return any records
If I set rsOffices__varType = po', 'sb : No error, No records
If I set rsOffices__varType = "'po', 'sb'" : No error, No
records
If I set rsOffices__varType = ""po"", ""sb"" : No error, No
records
Same is true of several other combinations of single and
double quotes: No error, No records
What is the correct syntax for a the parameter that is used
in the "IN" statement?
Dim rsOffices
Dim rsOffices_cmd
Dim rsOffices_numRows
Set rsOffices_cmd = Server.CreateObject ("ADODB.Command")
rsOffices_cmd.ActiveConnection = MM_connClusterDB_STRING
rsOffices_cmd.CommandText = "SELECT OfficeID, ShortOffice,
MasterType, TypeCode, ZipTag FROM tbl_Offices WHERE ShortOffice
like ? and MasterType = ? and ZipTag between ? and ? and
TypeCode in ( ? ) "
rsOffices_cmd.Prepared = true
rsOffices_cmd.Parameters.Append
rsOffices_cmd.CreateParameter("param1", 200, 1, 50,
rsOffices__varOff) ' adVarChar
rsOffices_cmd.Parameters.Append
rsOffices_cmd.CreateParameter("param2", 200, 1, 10,
rsOffices__varMaster) ' adVarChar
rsOffices_cmd.Parameters.Append
rsOffices_cmd.CreateParameter("param3", 3, 1, 4,
rsOffices__varZip1) ' adInteger
rsOffices_cmd.Parameters.Append
rsOffices_cmd.CreateParameter("param4", 3, 1, 4,
rsOffices__varZip2) ' adInteger
rsOffices_cmd.Parameters.Append
rsOffices_cmd.CreateParameter("param5", 200, 1, 50,
rsOffices__varType) ' adVarChar
Set rsOffices = rsOffices_cmd.Execute

What is the correct systax for defining an object
using an array;
i.e.,
To create an array of 3 Books objects from:
private Book book1;
private Book book2;
private Book book3;
to an array, what would the syntax look like?
Book[] library= { book1, book2, book3 };
//or, (valid but less idiomatic)
Book library[]= { book1, book2, book3 );
//or, quite silly
Book[] library= new Book[3];
library[0]= book1;
library[1]= book2;
library[2]= book3;kind regards

Similar Messages

  • What is the syntax for the mdx offset in universe designer?

    Hi everybody!!!
    I wish someone could help me with my mdx syntax. I made an universe with Universe designer (BOEdge 3.1) from a BW query and I'm trying to create in this universe an object with an offset.
    My new object has to be the result of the [0CALYEAR].[LEVEL01] with "- 1" offset, is it possible???
    I tried to put the code in the select or in the where fields of the object but without results. When I try to make a query in webi rich client this "new object" doesn't work...
    Please help me...
    Dario

    Hi Ingo,
    thank you for the reply.
    I tried to use that document...the problem is when I put the code in the object (inside univ des) and I analyse the code using the button, the syntax is every time without errors. When I try to make the query in webi rich client , if I use that object the software shows a window with error.
    I used these code in the "where" field:
    1. <EXPRESSION>@SELECT([0CALYEAR].[LEVEL01])-1</EXPRESSION>
    2. <EXPRESSION>@SELECT(Anno calendario\L01 Anno calendario)-1</EXPRESSION>
    the problem is to find the right syntax for what I want...the -1 offset for the new object from the OCALYEAR. I need that if in webi I select from the object filter [0CALYEAR].[LEVEL01] the value 2010 - in the new object will be 2009 etc...
    Dario

  • Flex 3: syntax for populating ArrayCollection by loop

    Hi, I'm a newb. I can't find an example of how to do this. Any examples would be greatl appreciated.
    I want to chart some engineering data by populating my chart's dataprovider with an array collection (so far no problem). I want to poulate the array collection by looping through a math expression and I can't figure out the syntax for that. For example...
    [Bindable]
    private var myChartData:ArrayCollection = new ArrayCollection([
        {vertNum:100, horizNum:100}
    I want to loop through and add more points programmatically so if I loop 5 times I end up with...
    [Bindable]
    private var myChartData:ArrayCollection = new ArrayCollection([
         {vertNum:100, horizNum:100},
        {vertNum:110, horizNum:110},
        {vertNum:43, horizNum:120},
        {vertNum:88, horizNum:130},
        {vertNum:140, horizNum:140},
         // etc...
    The number of horizontal variables to plot ould be in the hundreds, so I don't want to set up a huge static array collection with expressions in each location. I'd prefer to solve the expression as a loop iterates and populate the array collection as it goes. But I haven't got a clue how to 'word' that.
    thanks!

    Here is an example of adding data points from a simple formula using a random number generator and scaling the randomness up. The process is just to create a new Object for each iteration of the loop and add the object to your ArrayCollection. You can assign as many properties to the object as you need, which can be helpful for using one ArrayCollection that is displayed in multiple charts.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="build_model()">
        <mx:Script>
            <![CDATA[
                import mx.collections.ArrayCollection;
                private function build_model():void {
                    var obj:Object;
                    var chartAC:ArrayCollection = new ArrayCollection();
                    for (var i:uint = 0; i < 100; i++) {
                        obj = new Object();
                        obj.horizNum = 100 + 10 * i;
                        obj.vertNum = i * Math.random();
                        chartAC.addItem(obj);
                    linechart1.dataProvider = chartAC;
            ]]>
        </mx:Script>
        <mx:LineChart left="10" right="10" top="54" bottom="10" id="linechart1">
            <mx:series>
                <mx:LineSeries displayName="Series 1" yField="vertNum" xField="horizNum"/>
            </mx:series>
        </mx:LineChart>
        <mx:Button x="10" y="10" label="Build Model" click="build_model()"/>
    </mx:Application>
    Chris

  • Material for ABAP Objects

    Hi,
        Plz any one can send the materail for ABAP objects.

    hi,
    ABAP OBJECTS :
    check out this link
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    Please check this online document (starting page 1291).
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf
    Also check this links as well.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    http://www.sapgenie.com/abap/OO/
    http://www.futureobjects.de/content/intro_oo_e.html
    http://www.sap-img.com/abap/business-add-in-you-need-to-understand-abap-oo-interface-concept.htm
    /people/ravikumar.allampallam/blog/2005/02/11/abap-oo-in-action
    check the below links lot of info and examples r there
    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
    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
    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
    General Tutorial for OOPS
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
    Have a look at these links for OO ABAP.
    http://www.sapgenie.com/abap/OO/
    http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://www.allsaplinks.com/
    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://help.sap.com/saphelp_erp2005/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    SDN Series: https://www.sdn.sap.com/irj/sdn/developerareas/abap?rid=/webcontent/uuid/35eaef9c-0b01-0010-dd8b-e3b0f9ed7ccb [original link is broken]
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf
    Basic concepts of OOPS
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b6cae890-0201-0010-ef8b-f970a9c41d47
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1591ec90-0201-0010-3ba8-cdcd500b17cf
    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
    http://www.henrikfrank.dk/abapuk.html
    http://www.erpgenie.com/abap/OO/
    http://www.sapgenie.com/abap/OO/
    http://www.sapgenie.com/abap/OO/index.htm
    http://www.esnips.com/doc/375fff1b-5a62-444d-8ec1-55508c308b17/prefinalppt.ppt
    go thru these links .
    http://esnips.com/doc/39fdc647-1aed-4b40-a476-4d3042b6ec28/class_builder.ppt
    http://esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    http://esnips.com/doc/448e8302-68b1-4046-9fef-8fa8808caee0/abap-objects-by-helen.pdf
    http://esnips.com/doc/92be4457-1b6e-4061-92e5-8e4b3a6e3239/Object-Oriented-ABAP.ppt
    http://esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    Check this for basic concepts of OOPS
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b6cae890-0201-0010-ef8b-f970a9c41d47
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1591ec90-0201-0010-3ba8-cdcd500b17cf
    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
    http://www.henrikfrank.dk/abapuk.html
    Check this for OOPS ALV tutorial.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
    Check these links
    http://esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    http://esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    http://esnips.com/doc/92be4457-1b6e-4061-92e5-8e4b3a6e3239/Object-Oriented-ABAP.ppt
    http://esnips.com/doc/448e8302-68b1-4046-9fef-8fa8808caee0/abap-objects-by-helen.pdf
    http://esnips.com/doc/39fdc647-1aed-4b40-a476-4d3042b6ec28/class_builder.ppt
    http://www.amazon.com/gp/explorer/0201750805/2/ref=pd_lpo_ase/102-9378020-8749710?ie=UTF8
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
    Hve a look at below link and go to page 1291. It will give you good info abt OO ABAP.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf
    Please do check transaction ABAPDOCU to learn more about ABAP OO. There are lots of examples and explanations there. Also, do check sapgenie.com for more examples(under their ABAP OO link).
    A very good option would be "ABAP Objects" written by Horst Keller.
    This link gives all the OO ABAP definitions,syntax,examples:
    http://www.erpgenie.com/abap/OO/
    http://www.mydatabus.com/visitor.php?pt=downloadFile&tc=bzccGknF&cl=0053&cn=000005&f=012907
    http://www.geocities.com/victorav15/sapr3/abap_ood.html
    OOPS ALV tutorial.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
    http://www.amazon.com/gp/explorer/0201750805/2/ref=pd_lpo_ase/102-9378020-8749710?ie=UTF8
    Sample programs:
    http://www.geocities.com/victorav15/sapr3/abap_ood.html#d_grid
    http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_color.htm
    http://www.sapdevelopment.co.uk/reporting/alvhome.htm
    -->download the PDF from following link.
    www.abap4.it/download/ALV.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVALV/BCSRVALV.pdf
    Some more:
    http://www.sap-hefte.de/download/dateien/1025/087_leseprobe.pdf
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
    http://www.alvgmbh.de/dwnload/gonio_t.pdfhttp://
    You can get all demo programs for ALV:
    Go to se38 and type BCALV* and press F4 for all demo porgrams.

  • Syntax for commiet  for sales order creation from VB

    syntax for commit  for sales order creation from VB.
    i have created sales order from vb using "sap bapi control" object, i am getting message too that sales order created of this number
    BUT it will not reflect in particular table or tcode?
    what should i do to commiet that sales order creation from vb while using sap bapi control.
    i have tried sap function call too,
    now how to commiet or is there any other way?
    regards,
    dushyant.

    Hi,
    Check this link, explains step by step.
    http://abaplovers.blogspot.com/2008/02/bap-sales-order-create.html
    Thanks,
    Krishna

  • SYNTAX FOR THE INCLUDE

    Hi,
    I created standard text using so10. How can I call this text to my SMARTFORM?
    pLEASE GIVE THE SYNTAX FOR THE INCLUDE .
    rEGARDS
    kUMAR

    Hi Praneeth,
    There is noi need to write include command in smartforms.
    Please define your text element as Include text and define TeXT ID, OBJECT and Language.
    Path > text element> Text type --> I --Include text.
    Please select the Check box --> No error if text doen't exits.
    Regards,
    Lanka

  • What is bind syntax for blob datatype for sqlite3

    Hi All,
    i have written 2 times.
    1. sqlite3bind_blob(insertstatement, 1, image, -1, SQLTRANSIT);
    it doesn't give compile error but when i run the applilcation it crash the
    simulator.
    2. sqlite3bind_blob(insertstatement, 1, image, -1);
    it gives error like too few arguments.
    here image is object of UIImage........
    pls anyone can tell me what is proper syntax for binding of blob datatype.
    Thankx.
    vavdiyaharesh is online now Add to vavdiyaharesh's Reputation Report Post Edit/Delete Message

    I wanted to do something similar, but as you mention, there isn't a lot of sample code to copy and paste etc, and I didn't have the time to spend investigating this one issue when plenty of other things needed my attention.
    In the end I decided to save my BLOB data as actual files in the document directory and then store a link to these in the database row. Something like primarykey_id_blobname.jpg etc.
    Probably not the answer you want, but hopefully it'll get you past a road block and onto the next item on your list.

  • Request MDX syntax for BOE XI3.0 and SAP BI7

    Hi,
    Does anyone know that where I can find a document to specify the MDX syntax that can be used for BOE XI3.0 and SAP BI7?
    I found a related topic on:
    Resources for customizing SAP Universe objects with MDX
    But after go through the above thread, the feeling is that we can only get the answer by testing each of the syntax.
    Could anyone share any ideas to this topic?
    Thanks and regards
    nora

    Hi Ingo,
    Here is the example that customer gave:
    Per you request, a real example. The following objects were created,                                                               
    when an universe was set up against a BEx Query:                                                                               
    Notation A: [0LOCNOTA].[LEVEL01].[20LOCNOTA].[Value]                                                                               
    Notation B: [0LOCNOTB].[LEVEL01].[20LOCNOTB].[Value]                                                                               
    Notation C: [0LOCNOTC].[LEVEL01].[20LOCNOTC].[Value]                                                                               
    Notation D: [0LOCNOTD].[LEVEL01].[20LOCNOTD].[Value]                                                                               
    User Status: [0LOCUSTA].[LEVEL01].[20LOCUSTA].[Value]                                                                               
    Want to be able to create an object, CFact, defined in the universe as                                                             
    (shown in Oracle syntax here, but of course we have a SAP OLAP                                                                     
    universe thus our request for a MDX syntax for BO and SAP BW/BEx Query):                                                                               
    decode([0LOCNOTA].[LEVEL01].[20LOCNOTA].[Value],'Y','FAIL;','')                                                                   
    ||decode([0LOCNOTB].[LEVEL01].[20LOCNOTB].[Value],'Y','CDMN;','')                                                                  
    ||decode([0LOCNOTC].[LEVEL01].[20LOCNOTC].[Value],'Y','BSFR;','')                                                                  
    ||decode([0LOCNOTD].[LEVEL01].[20LOCNOTD].[Value],'Y','ERR;','')                                                                   
    ||substr([0LOCUSTA].[LEVEL01].[20LOCUSTA].[Value],1,4)                                                                               
    Say, if values for the objects are 'Y', 'N', 'Y', 'N',                                                                             
    and 'INACESSIBLE', respectively, CFact would have the data                                                                         
    FAIL;BSFR;INAC                                                                               
    Hope the above provides you with enough detail.    
    thanks and regards
    nora

  • What is the setVariable syntax for AS3

    Hi,
    I am having issues with setting a variable in AS3 SWF playing inside a Dir12
    spriteObjRef.setVariable(variableName, newValue)
    In the context of ActionScript 3, this method is only supported on a Flash object, not on a
    spriteObjectRef.
    What would the Flash Object syntax be??
    Thanks,
    Jim

    Jusclark-Oracle wrote:
    What is the correct syntax for referencing a page item (P23_ID, for example) in a PL/SQL page process, after submit?
    See "About Referencing Session State" in the documentation.
    Within an anonymous block in an APEX page process, use the standard bind variable syntax:
    :P23_ID
    In general, use bind variable syntax when referencing session state values in SQL or DML:
    select
        ename
    into
        :p23_name
    from
        emp
    where
        empno = to_number(:p23_id);
    and obviously when assigning values to the item:
    :P23_ID := foo.nextval;
    PL/SQL function references v('p23_id') and nv('p23_id') [for number values] must be used to access values in stored program units called from APEX, although it's usually better to pass the values as parameters: foo(:p23_id).

  • Bulk API V2.0 Data extract support for additional objects (Campaign,Email,Form,FormData,LandingPage)?

    allison.moore
    Any plans for adding following objects under Bulk API V2.0 for data extraction from Eloqua. Extracting the data using the REST API for these objects makes it complicated.

    Thanks for quick response. Extracting these objects using REST API in depth=Complete poses lots of complication from the code perspective since these object(s) contains multiple nested or embedded objects within it. is there any guideline on how to extract these objects using REST so that we can get all the data which is required for analysis/reporting.

  • Exporting and Importing Statistics for Schema objects.

    Hello All,
    I am trying to gather stats for optimization using, gather_schema_stats for all objects under schema. The manual what i am reading says it covers both Tables and Indexes and we can also include the all partions too. For the safety reasons i was informed by a friend that we should take a back up of old stats into a table (user defined), so as in case of messing up with new stats for performance issue we can use it as an backup copy. So, i have created a user table and exported the stats from existing schema. My Question is, do i have to create one for the indexes too. Or its all in one table. I hope my question is clear.
    Generally manuals don't teach all this kind of stuff until unless we learn it by ourselves by trial and error Or getting solutions from great resolvers like you people.
    Hope to hear soon.
    Thanks in Advance.

    One table for table and indexes stats is enough, a little test for you :
    SCOTT@demo102> exec DBMS_STATS.CREATE_STAT_TABLE('SCOTT','MYTBL');
    PL/SQL procedure successfully completed.
    SCOTT@demo102> desc mytbl
    Name                                      Null?    Type
    STATID                                             VARCHAR2(30)
    TYPE                                               CHAR(1)
    VERSION                                            NUMBER
    FLAGS                                              NUMBER
    C1                                                 VARCHAR2(30)
    C2                                                 VARCHAR2(30)
    C3                                                 VARCHAR2(30)
    C4                                                 VARCHAR2(30)
    C5                                                 VARCHAR2(30)
    N1                                                 NUMBER
    N2                                                 NUMBER
    N3                                                 NUMBER
    N4                                                 NUMBER
    N5                                                 NUMBER
    N6                                                 NUMBER
    N7                                                 NUMBER
    N8                                                 NUMBER
    N9                                                 NUMBER
    N10                                                NUMBER
    N11                                                NUMBER
    N12                                                NUMBER
    D1                                                 DATE
    R1                                                 RAW(32)
    R2                                                 RAW(32)
    CH1                                                VARCHAR2(1000)
    SCOTT@demo102> create table mytable_obj as select * from all_objects;
    Table created.
    SCOTT@demo102> create index myindex on mytable_obj(object_id);
    Index created.
    SCOTT@demo102> exec dbms_stats.gather_table_stats(ownname=>'SCOTT',tabname=>'MYTABLE_OBJ',cascade=>true);
    PL/SQL procedure successfully completed.
    SCOTT@demo102> select last_analyzed from all_tables where table_name='MYTABLE_OBJ';
    07/06/06
    SCOTT@demo102> select last_analyzed from all_indexes where table_name='MYTABLE_OBJ';
    07/06/06
    SCOTT@demo102> exec dbms_stats.export_table_stats('SCOTT','MYTABLE_OBJ',stattab=>'MYTBL')
    PL/SQL procedure successfully completed.
    SCOTT@demo102> exec dbms_stats.delete_table_stats('SCOTT','MYTABLE_OBJ');
    PL/SQL procedure successfully completed.
    SCOTT@demo102> select last_analyzed from all_tables where table_name='MYTABLE_OBJ';
    -->No value
    SCOTT@demo102> select last_analyzed from all_indexes where table_name='MYTABLE_OBJ';
    -->No value
    SCOTT@demo102>  exec dbms_stats.import_table_stats('SCOTT','MYTABLE_OBJ',stattab=>'MYTBL');
    PL/SQL procedure successfully completed.
    SCOTT@demo102> select last_analyzed from all_tables where table_name='MYTABLE_OBJ';
    07/06/06
    SCOTT@demo102> select last_analyzed from all_indexes where table_name='MYTABLE_OBJ';
    07/06/06
    SCOTT@demo102> Nicolas.

  • How to use the index method for pathpoints object in illustrator through javascripts

    hii...
    am using Illustrator CS2 using javascripts...
    how to use the index method for pathpoints object in illustrator through javascripts..

    Hi, what are you trying to do with path points?
    CarlosCanto

  • How to set change mode as default for workbench objects

    Hi experts
    I've always wondered if there is a configuration option in NW BW 7 where it can be set whether double clicking a workbench object will show the maintenance screen for that object in change or display mode (default is display). Because is annoying to have to set edit mode every time one double click a workbench object in the development system, and as it is a development system, it would make sense to have edit mode by default instead of display
    I was thinking that it may be related to the client role, but who knows...
    I appreciate your help
    regards

    Not sure where this can be set...if anywhere.
    But how about this for a workaround: Right click the object in RSA1 and the select Change instead of Display.
    That would save you a click if I counted correctly

  • How to build sql query for view object at run time

    Hi,
    I have a LOV on my form that is created from a view object.
    View object is read-only and is created from a SQL query.
    SQL query consists of few input parameters and table joins.
    My scenario is such that if input parameters are passed, i have to join extra tables, otherwise, only one table can fetch the results I need.
    Can anyone please suggest, how I can solve this? I want to build the query for view object at run time based on the values passed to input parameters.
    Thanks
    Srikanth Addanki

    As I understand you want to change the query at run time.
    If this is what you want, you can use setQuery Method then use executeQuery.
    http://download.oracle.com/docs/cd/B14099_19/web.1012/b14022/oracle/jbo/server/ViewObjectImpl.html#setQuery_java_lang_String_

  • How to find multiple transport requests for one object

    Hi all,
    Is there any function module which will fetches multiple transport requests ( if created ) for one object.I tried almost all the function modules , but i didn't got the solution.
    I need to develop a report ,   which will takes a single Task number as input and gets the Request number from table E070.
    Based on that Request Number i will fetch remaining Task numbers under it.
    Then for all the Tasks Numbers, i am fetching their  objects by using table E071.
    I need to list out  whether any of these objects are in multiple Transport Requests. Once i got all the Transport Request numbers i need to release the Request based on their Transport Request sequence.
    I tried the following FM's , but not able to get the solution.
    SVRS_DISPLAY_VERSION_LIST
    SVRS_GET_VERSION_DIRECTORY_46
    SVRS_GATHER_REQUEST_FRAGS
    Thanks..

    Hello
    I have tried with below code
    DATA list_tab TYPE TABLE OF abaplist.
    SUBMIT RSWBO040 USING SELECTION-SET 'TEST'
                    EXPORTING LIST TO MEMORY
                   AND RETURN.
    CALL FUNCTION 'LIST_FROM_MEMORY'
       TABLES
         listobject = list_tab
       EXCEPTIONS
         not_found  = 1
         OTHERS           = 2.
    IF sy-subrc = 0.
       CALL FUNCTION 'WRITE_LIST'
         TABLES
           listobject = list_tab.
    ENDIF.
    break-point.
    Submitting the program(RSWBO040) of SE03 transaction a will result in 'CNTL_ERROR' dump.
    Please try some other options
    Thanks

Maybe you are looking for

  • Deploying a Forms

    Dear OTN Forum, I make an installations of the Oracle 9iAS Rel 2 (9.0.2.0.1) by default (Infraestructure + Mid-Tier ) over a windows2000 server, but I didn´t install any Oracle DS component there. After that I copy *.fmx files there. The questions ar

  • Removing icons from Finder window sidebar after 10.6.7

    Not a major calamity, but since upgrading to 10.6.7 I don't seem to be able to drag icons off the Finder window sidebar to remove them. In earlier versions of SL they would disappear in a small puff of smoke. Right-clicking and contextual menu comman

  • richScrollableDataTable not showing the header

    Hi I have an <a4j:commandButton> and a <richScrollableDataTable>.I want to rerender the datatable while clicking the <a4j:commandButton>.The table is reRendered but the header is not shown and also the row select event not fired.But if we use <h:comm

  • How do i uninstall latest update? it casused tabsto appear and can't get rid of them.

    howdo i uninstall an update..latest one today, made tabs appear..don't want tabs. won't stop tabs uner options either.

  • Firestore FS-100 Import fails, v.3.0

    We shot footage on a Panasonic HVX200, using a Firestore FS-100, freshly updated to Version 3.0. Two issues emerged: 1. when recording in 720p25 in the P2 mode, footage can be imported without a problem. Supposedly the HVX200 is able to film up to 50