How to use EACH

Hi
I have an issues with this code.
I want to make this code like this
Search for the each cost center and the relevant cost element see the take the amount and calculate the percentage and then it has to post to the same cost center . It shud not aggregate to all the cost center and do it.
here i cannot use a sigle sigle cost center
here can i use EACH ??
*RUNALLOCATION
  *NAME=Debit4B1
*DESCRIPTION=Allocation Debit
*FACTOR= USING/100
*DIM ACTIVITY_TYPE                       WHAT=NOACTIVITYTYPE;                            WHERE=NOACTIVITYTYPE;                  USING=<<<
*DIM BPC_CE                              WHAT=BAS(CPS20-22);                             WHERE=820121;                          USING=BPCALLOCATION38 
*DIM COST_CENTER                         WHAT=EACH(BAS(CPS25-A));     WHERE=BAS(CPS25-9),BAS(CPS25-A),BAS(CPS25-B); USING=<<<
*DIM IM_WBS                              WHAT=NOIMWBS;                                   WHERE=<<<;                             USING=<<<
*DIM INTERNAL_ORDER                      WHAT=NOINTERNALORDER;                           WHERE=<<<;                             USING=<<<
*DIM LINE_ITEMS                          WHAT= BAS(LINEITEMSHIER);                            WHERE=<<<;                             USING=<<<
*DIM OWNER                               WHAT=NOOWNER;                                   WHERE=<<<;                             USING=<<<
*DIM P_DATASRC                           WHAT=BAS(DIRECT);                               WHERE=SET4B1A;                          USING=INPUT
*ENDALLOCATION
Edited by: A K on Jul 25, 2009 1:38 AM

Hi
I have an issues with this code.
I want to make this code like this
Search for the each cost center and the relevant cost element see the take the amount and calculate the percentage and then it has to post to the same cost center . It shud not aggregate to all the cost center and do it.
here i cannot use a sigle sigle cost center
here can i use EACH ??
*RUNALLOCATION
  *NAME=Debit4B1
*DESCRIPTION=Allocation Debit
*FACTOR= USING/100
*DIM ACTIVITY_TYPE                       WHAT=NOACTIVITYTYPE;                            WHERE=NOACTIVITYTYPE;                  USING=<<<
*DIM BPC_CE                              WHAT=BAS(CPS20-22);                             WHERE=820121;                          USING=BPCALLOCATION38 
*DIM COST_CENTER                         WHAT=EACH(BAS(CPS25-A));     WHERE=BAS(CPS25-9),BAS(CPS25-A),BAS(CPS25-B); USING=<<<
*DIM IM_WBS                              WHAT=NOIMWBS;                                   WHERE=<<<;                             USING=<<<
*DIM INTERNAL_ORDER                      WHAT=NOINTERNALORDER;                           WHERE=<<<;                             USING=<<<
*DIM LINE_ITEMS                          WHAT= BAS(LINEITEMSHIER);                            WHERE=<<<;                             USING=<<<
*DIM OWNER                               WHAT=NOOWNER;                                   WHERE=<<<;                             USING=<<<
*DIM P_DATASRC                           WHAT=BAS(DIRECT);                               WHERE=SET4B1A;                          USING=INPUT
*ENDALLOCATION
Edited by: A K on Jul 25, 2009 1:38 AM

Similar Messages

  • Document about how to use each BI Bean

    Anyone know whether there is any document on how to use each BI Beans besides Bean's javadoc?

    I would recommend downloading the latest BI10g samples from the BI Beans website. Click here for downloads, demos and documentation for BI Beans 10.1.2.0.0.
    For the graph there is a lot of really good information located on the Reports OTN page. This explains how to use many of the features of the BI Beans graph and contains some really good examples of how to format a graph.
    http://www.oracle.com/technology/products/reports/htdocs/faq/Graph_FAQ_with_style.html
    I would recommend reviewing the OU course on the BI Beans Query Model as this explains the basics of how to construct and manage queries:
    Oracle9i JDeveloper: Explore the BI Beans Query Model (Development Tools)
    http://education.oracle.com/pls/web_prod-plq-dad/show_desc.redirect?dc=D18655&p_org_id=1001&lang=US&source_call=
    The BI Beans query model supports powerful and flexible query techniques for analytic applications. This course explores this query model, both from an API perspective and a user interface perspective, with the goal of illustrating advanced query techniques for custom business intelligence applications.
    BI Beans 10g provides a lot of new features. We have a viewlet that explains in detail how to use one of the key new features: JSP list tags. This viewlet demonstrates a number of list tags, such as:
    * DimensionMember
    * CascadingDimensionMember
    * AWProgram
    * Navigation
    This viewlet can be viewed directly from the link on OTN:
    http://www.oracle.com/technology/products/bib/1012/viewlets/MS%20Developing%20Executive%20Insight.html
    There are OBEs posted on OTN:
    Develop Business Intelligence Objects using OracleBI Beans
    http://www.oracle.com/technology/obe/obe_bi/bibeans/bibeans_1012/developolapobjects/lessonlist.html
    Create business intelligence objects using BI Beans. These analytic objects, such as crosstabs, graphs, and calculations, can be used in either HTML-client or Java-client applications.
    Develop Business Intelligence Applications using OracleBI Beans
    http://www.oracle.com/technology/obe/obe_bi/bibeans/bibeans_1012/buildbibeansapps/lessonlist.html
    Create BI Beans HTML-client (JSP) applications and Java-client applications.
    For more information on using BI Beans graphs with non-OLAP data sources please refer to the following JDeveloper tutorial:
    Adding a BI Beans Graph in an ADF Business Components/JSP/Struts Application
    http://www.oracle.com/technology/obe/obe9051jdev/BIBeansOBE/BIBeansOBE.htm
    Hope this helps
    Oracle Business Intelligence Beans Product Management Team
    Oracle Corporation

  • How to use each machines's HD as a backup with Lion Server accounts?

    Hi,
    I am the administrator of a network for a small business.
    We have 6 machines (iMac running OSX Lion) and one Mac Mini running OSX Lion Server.
    Every user is logging on their machines with their network account, which means that they (by default) save all their documents on the Mac Mini server.
    The good side of this is that:
    a) Any user can log in from any machine
    b) Every document that the user has is backed-up at regular time intervals thanks to Time Machine.
    Although the networks access tends to slow down the machine (especially with big Excel spreadsheets), and each iMac has massive hard drives that are all 95% empty.
    Is there a way to easily setup an appropriate policy so that I can leverage the big size of each machine's hard drive, and reduce network access?
    (i.e. each user loads all the configuration from the network at login, then works on his/her local drive until he/she logs out, and a full back-up from the local drive to the distant folder is made once a day / once a week???)
    Thanks,

    Hello & welcome to the foruns!
    Maybe I can help with one facet...
    Just a quick note for people who use Elgato’s EyeTV on their Macs in New Zealand. I’ve got an Automator script here that will fetch a TV schedule and load it into EyeTV. It takes care of deleting the file it downloads but you might need to open it (use the Automator program) to change where it downloads to.
    EyeTV nz epg downloader
    http://craig.stanton.net.nz/2010/05/04/eyetv-epg-for-nz-tv/

  • How to use the different class for each screen as well as function.

    Hi Experts,
    How to use the different class for each screen as well as function.
    With BestRegards,
    M.Thippa Reddy.

    Hi ThippaReddy,
    see this sample code
    Public Class ClsMenInBlack
    #Region "Declarations"
        'Class objects
        'UI and Di objects
        Dim objForm As SAPbouiCOM.Form
        'Variables
        Dim strQuery As String
    #End Region
    #Region "Methods"
        Private Function GeRate() As Double
                Return Double
        End Function
    #End Region
    Public Sub SBO_Appln_MenuEvent(ByRef pVal As SAPbouiCOM.MenuEvent, ByRef BubbleEvent As Boolean)
            If pVal.BeforeAction = True Then
                If pVal.MenuUID = "ENV_Menu_MIB" Then
                End If
            Else ' Before Action False
                End If
        End Sub
    #End Region
    End Class
    End Class
    Rgds
    Micheal
    Vasu Anna Regional Feeling a???? Just Kidding
    Edited by: micheal willis on Jul 27, 2009 5:49 PM
    Edited by: micheal willis on Jul 27, 2009 5:50 PM

  • How to use For-Each Structure with Multiple node XML structure

    Hi,
      How to use for-each (BPEL 2.0) construct for Multinode XML structure.
    Here is the easy case: I have list of suppliers specified by supplier
    <supplierList>
    <supplier>1</supplier>
    <supplier>2</supplier>
    <supplier>3</supplier>
    </supplierList>
    Now there is a web service http://hostname/getsupplierdetails/wsdl which accepts one supplier at a time.
    like
    <supplier>1</supplier>
    reponse object is
    <message> notfound/found </message>
    But how can I use for each of XML node to call this service and collect the result like
    <supplierList1>
         <Suppinfo>
            <supplier>1</supplier>
            <message> not found</message>
    </suppinfo>
        <suppinfo>
            <supplier>1</supplier>
            <message> not found</message>
    </suppinfo>
    </supplierlist1>
    Thanks

    For looping you use foreach loop and , loop for the number of occurences and when constructing response, adding a new element you have to use bpelx:append.  Good sample at Enterprise Integration: Oracle SOA Suite 11g: Populating a list or an array in BPEL without using XSLT.

  • How to process each records in the derived table which i created using cte table using sql server

    I want to process each row from the CTE table I created, how can I traverse from first row to second row and so on....
    how to process each records in the derived table which i created using  cte table using sql server

    Ideally you would be doing a set based processing rather than traversing row by row as thats more efficient. To answer it specific to your scenario we may need more info. Can you explain with some sample data your exact requirement?
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • QuestionJust purchased a USB Super Drive but unsure how to use it - o instructions provided apart from how to eject a cd.  Each time I put in a cd it just ejects it again.

    Just purchased a USB Super Drive but unsure how to use it - o instructions provided apart from how to eject a cd.  Each time I put in a cd it just ejects it again.Can anyone help.

    USB is rarely bootable under Mac OS X and PowerPC Macs.   Get a Firewire Superdrive from http://www.macsales.com/ if your intent is to boot the machine.   PPC, which is PowerPC, indicates the Mac predates 2006.

  • How To Use OSB's For Each to do this example?

    Hi All Friend:
    My XML From Assign . it SOAP Response Body variable is : RequestBussiNo. The Document is :
    <soap:Body xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <DownloadBusinessNOResponse xmlns="http://www.taiji.com.cn/">
    <DownloadBusinessNOResult>
    <BusinessNO>
    <string>150100110262188</string>
    <string>150100110280225</string>
    <string>150100110284768</string>
    </BusinessNO>
    <ArraySize>3</ArraySize>
    <Result>true</Result>
    <ReturnCode>0000-Interface execute successed!</ReturnCode>
    </DownloadBusinessNOResult>
    </DownloadBusinessNOResponse>
    </soap:Body>
    I Don't Know How to Use For Each Function to each this Document Get the "string" tag text;
    my friend Please help me. thanks.

    Check the below thread and let us know if it helps
    Re: OSB:for-each action working procedure with a sample.
    Re: Assign activity erros with XPath query string returns multiple nodes.
    Regards,
    Ramesh

  • How to get a list of lists of triangles using each vertex?

    Hi,
    Its my first time working with Java3D, i just have experience with C++ and OpenGL, but im trying to implement a mesh simplification algorithm and get already problems with the data structures for the geometry info of the object.
    I load an *.obj file with the object loader and now i dont know how to get the data i need.
    I have to make loops over each vertex and get all triangles and their vertices used by that vertex. Is this possible with the given Java3D Functions or do i have to implement my own data structures for the triangle stuff?
    What i need is following:
    - List of vertex coordinates (thats the easy part, GeometryInfo.getCoordinates())
    - List of triangle definitions
    - List of lists of triangles using each vertex
    I dont know how to get the last two, i tried around with IndexedTriangleArray but could not get anything to work..
    The IndexTriangleArray should contain the triangle definitions if i understood that right. The first 3 entries in the array build the first triangle pointing to its vertices, the next 3 entries the second triangle,... Is that correct?
    Does someone have an idea how to solve that problem?
    Thanks a lot
    spoertsch

    I tried around a bit and figured something out, but with big objects with a lot of vertices it is quite inefficent and very slow...
    I have the array of coordinates(GeometryInfo.getCoordinates) and the array of coordinate indices (GeometryInfo.getCoordinateIndices()). In the coordinate indice array each set of 3 indices builds an triangle.
    CoordinateArray[CoordIndex] = Point3f (Vertex)
    CoordinateIndiceArray[Index] = CoordIndex => Coordinate[CoordIndex] = Point3f . . . . . . }
    CoordinateIndiceArray[Index + 1] = CoordIndex => Coordinate[CoordIndex] = Point3f . . . } triangle
    CoordinateIndiceArray[Index + 2] = CoordIndex => Coordinate[CoordIndex] = Point3f . . . }
    Now i iterate over each index of the coordinates array and search for this index in the indice array, to find out which triangle uses that vertex. If i find one i calculate the first index of the triangle and add it in an ArrayList<Integer>. So i get an ArrayList for each vertex in which the beginning indices of the triangles that uses that vertex are found. But these iterations are of course very slow for big objects with a lot of vertices, but i havent found a better way yet.
    Does someone know a more efficent and faster way to do it?
    Thanks
    spoertsch
    Edit: Sorry, just read about the movement of the forum, startet new Thread on java.net
    Message was edited by:
    spoertsch

  • How to use multiple classes for each form

    Hi,
    I have created two forms using screen painter and now i want to use different classes for these two forms .
    I have declared the Sbo Connection in main class i.e. Set Application ,Connection Context() but while connecting to other classes
    for executing the code for that form SAP is not connected to that class.How to use multiple classes functionality i don't able to
    do that.Please provide some sample codes for that as it will be more helpful for me to understand.
    Thanks & Regards,
    Amit

    Hi Amit,
    In fact, its more advisable to use separate classes for every form that you use.  Have one common class, say, for eg., clsMain.cs which has all the connection and connectivity to other classes, wherein, the menu event and item event of this main class, will just be calling the menu / item event of other classes.
    The individual functionality of the child classes will be called from the item / menu event of the respective classes.
    Item event in clsMain.cs will be as below.
    private void oApplication_ItemEvent(string FormUID, ref SAPbouiCOM.ItemEvent pVal, out bool BubbleEvent)
                SAPbouiCOM.Form oForm;
                BubbleEvent = true;
                try
                    if ((pVal.FormTypeEx == "My_Form1Type") && (pVal.EventType != SAPbouiCOM.BoEventTypes.et_FORM_UNLOAD))
                        oForm = oApplication.Forms.GetForm("My_FormType", pVal.FormTypeCount);
                        NameSpace.Repots.ClsForm1.ClsForm1_ItemEvent(oApplication, oCompany, oForm, ref pVal, ref BubbleEvent);
                    if ((pVal.FormTypeEx == "My_Form2Type") && (pVal.EventType != SAPbouiCOM.BoEventTypes.et_FORM_UNLOAD))
                        oForm = oApplication.Forms.GetForm("My_FormType", pVal.FormTypeCount);
                        NameSpace.Repots.ClsForm1.ClsForm2_ItemEvent(oApplication, oCompany, oForm, ref pVal, ref BubbleEvent);
    Now, in the individual classes, you can have their respective item events, which will be called from the main class, and the respective functionalities will occur.
    Hope this helps.
    Regards,
    Satish.

  • How to use an if statement in javascript code

    Hello,
    I have a batch processing script to search for text "employee signature" on each page in a multiple page file and to then list in the console any pages that do not have the "Employee Signature" text included.
    The script is not yet functional as an if statement needs to be included.
    Can anyone please advise how to use an if statement in javascript code?
    var numpages = this.numPages;
    for (var i=0; i < numpages; i++)
    search.query("Employee Signature", "ActiveDoc");
    console.println('Pages that do not include an employee signature: ' + this.pageNum +' ');
    Any assistance will be most appreciated.

    Thank you very much for your assistance try.
    I have modified the code as suggested and the page numbers are now listing correctly, thank you, but....................,
    The console  lists every page as having an "employee signature" when there are pages in the document that do not have an employee signature.
    The code (revised as follows) is not processing the "getPageNthWord part of the statement" in the console report?
    Can you please advise where the code needs reworking?
    var ckWords; // word pair to test
    var bFound = false; // logical status of found words
    // loop through pages
    for (var i = 0; i < this.numPages; i++ ) {
       bFound = false; // set found flag to false
       numWords = this.getPageNumWords(i); // number of words on page
       // loop through the words on page
       for (var j = 0; j < numWords; j++) {
          // get word pair to test
          ckWords = this.getPageNthWord(i, j) + ' ' + this.getPageNthWord(i, j + 1); // test words
          // check to see if word pair is 'Employee' string is present
          if ( ckWord == "Employee") {
             bFound = true; // indicate found logical value
             console.println('Pages that includes an employee signature: ' + (i + 1) +' ');
             break; // no need to further test for this page
          } // end Employee Signature
       } // end word loop
       // test to see if words not found
       if(bFound == false) {
             console.println('Pages that do include an employee signature: ' + (i + 1) +' ');
        } // end not found on page  
    } // end page loop
    Thank you

  • How to get each value from a parameter passed like this '(25,23,35,1)'

    Hi
    One of the parameter passed to the function is
    FUNCTION f_main_facility(pi_flag_codes VARCHAR2) return gc_result_set AS
    pi_flag_codes will be passed a value in this way '(25,23,35,1)'
    How to get each value from the string
    like 25 first time
    23 second time
    35 third time
    1 fourth time
    I need to build a select query with each value as shown below:-
    (SELECT t2.org_id, t4.description
    from org_name t2, ref_org_name t3, code_table t4
    where t2.att_data = t4.code
    and t3.ref_code = t2.att_type
    and t2.att_type = 25 and t3.code_type = t4.code_type
    and to_date('01-JAN-10', 'DD-MON-YY') between t2.att_start_date AND t2.att_end_date) q1,
    (SELECT t2.org_id, t4.description
    from org_name t2, ref_org_name t3,code_table t4
    where t2.att_data = t4.code
    and t3.ref_code = t2.att_type
    and t2.att_type = 23 and t3.code_type = t4.code_type
    and to_date('01-JAN-10', 'DD-MON-YY') between t2.att_start_date AND t2.att_end_date) q2,
    (SELECT t2.org_id, RTRIM(xmlagg(xmlelement(e, t4.description || ';')
    ORDER BY t4.description).EXTRACT('//text()'), ';') AS DESCRIPTION
    from org_name t2, ref_org_name t3,code_table t4
    where t2.att_data = t4.code
    and t3.ref_code = t2.att_type
    and t2.att_type = 35 and t3.code_type = t4.code_type
    and to_date('01-JAN-10', 'DD-MON-YY') between t2.att_start_date AND t2.att_end_date
    group by t2.org_id) q3,
    (SELECT t2.org_id, t4.description
    from org_name t2, ref_org_name t3, code_table t4
    where t2.att_data = t4.code
    and t3.ref_code = t2.att_type
    and t2.att_type = 1 and t3.code_type = t4.code_type
    and to_date('01-JAN-10', 'DD-MON-YY') between t2.att_start_date AND t2.att_end_date) q4
    Please help me with extracting each alue from the parm '(25,23,35,1)' for the above purpose. Thank You.

    chris227 wrote:
    I would propose the usage of regexp for readibiliy purposes and only in the case if this doesnt perform well, look at solutions using substr etc.
    select
    regexp_substr( '(25,23,35,1)', '\d+', 1, 1) s1
    ,regexp_substr( '(25,23,35,1)', '\d+', 1, 2) s2
    ,regexp_substr( '(25,23,35,1)', '\d+', 1, 3) s3
    ,regexp_substr( '(25,23,35,1)', '\d+', 1, 4) s4
    from dual 
    S1     S2     S3     S4
    "25"     "23"     "35"     "1"In pl/sql you do something like l_val:= regexp_substr( '(25,23,35,1)', '\d+', 1, 1);
    If t2.att_type is type of number you will do:
    t2.att_type= to_number(regexp_substr( '(25,23,35,1)', '\d+', 1, 1))Edited by: chris227 on 01.03.2013 08:00Sir,
    I am using oracle 10g.
    In the process of getting each number from the parm '(25,23,35,1)' , I also need the position of the number
    say 25 is at 1 position.
    23 is at 2
    35 is at 3
    1 is at 4.
    the reason I need that is when I build seperate select for each value, I need to add the query number at the end of the select query.
    Please see the code I wrote for it, But the select query is having error:-
    BEGIN
    IF(pi_flag_codes IS NOT NULL) THEN
    SELECT length(V_CNT) - length(replace(V_CNT,',','')) FROM+ ----> the compiler gives an error for this select query : PLS-00428:
    *(SELECT '(25,23,35,1)' V_CNT  FROM dual);*
    DBMS_OUTPUT.PUT_LINE(V_CNT);
    -- V_CNT := 3;
    FOR L_CNT IN 0..V_CNT LOOP
    if L_CNT=0 then
    V_S_POS:=1;
    V_E_POS:=instr(pi_flag_codes, ',', 1, 1)-1;
    else
    V_S_POS:=instr(pi_flag_codes,',',1,L_CNT)+1;
    V_E_POS:=instr(pi_flag_codes, ',', 1, L_CNT+1)-V_S_POS;
    end if;
    if L_CNT=V_CNT then
    V_ID:=TO_NUMBER(substr(pi_flag_codes,V_S_POS));
    else
    V_ID:=TO_NUMBER(substr(pi_flag_codes,V_S_POS,V_E_POS));
    end if;
    VN_ATYPE := ' t2.att_type = ' || V_ID;
    rec_count := rec_count +1;
    query_no := 'Q' || rec_count;
    Pls help me with fetching each value to build the where cond of the select query along with the query number.
    Thank You.

  • Re: [SunONE-JATO] Re: How to use a tiled view without a model

    I'm not sure what is different for you now. You still parse the string
    and put it into a data structure. Before the data structure was a
    vector, in JATO its just a model with a "hidden" data structure (a hash
    map).
    MVC only really comes into play when you talk about where your write
    this code, and where the data structure is being stored. So really, JATO
    takes care of half of the MVC'ness of it all (where the data is store).
    You just decide where to be the code to populate the model.
    Make sense?
    Is there something different required of you in JATO in this scenario
    that I am not grasping?
    c
    Hoskins, John D. wrote:
    Thanks for the feedback.
    The problem I was solving involved a single string, which contained
    delimited subsets of information.
    The string looked like
    this:"time|analyst|description|time|analyst|description|..."
    In ND, I parsed it apart into it's components (time vector, analyst vector,
    description vector), populated the repeated.
    With JATO, how would I make a model for something that doesn't have a
    database component like this?
    I'm pretty new to this MVC thing, so bear with me.
    John D. Hoskins
    Telephone & Data Systems
    Application Development & Support
    Voice: 608.664.8263
    Fax: 608.664.8288
    Email: john.hoskins@t...
    -----Original Message-----
    From: Craig V. Conover [mailto:<a href="/group/SunONE-JATO/post?protectID=219212113009229091025149066024064239039098031198039130252055210">craig.conover@s...</a>]
    Sent: 6/26/2002 3.22 PM
    Subject: Re: [SunONE-JATO] Re: How to use a tiled view without a model
    I guess the only thing "weird" (for lack of a better term) about what
    you are doing is that your are populating the model on the "display
    cycle". Typically, the cycle goes like this:
    Request -> populate model -> update data store -> retrieve data to
    populate model -> display data
    some of the above steps are optional but hopefully you get the point I
    am making.
    So what you are doing is:
    Request -> populate model/display data
    If it works for you, then it's not necessarilly wrong. But I would
    probably have my model populated before I forwarded to the target
    (displaying view bean) or at a minimum, in the begin display event of
    the view bean or the tiled view, but not during the iteration of the
    tiled view.
    c
    jhoskins wrote:
    Craig,
    Thanks for the pointers. I ended up doing something else. I set the
    models setSize() method to set the max size, and as the tiles fields
    iterated, populated the value from some vectors I had the data in
    already. Is this solution fraught with peril and will ultimately fail,
    or should I try your way?
    John
    --- Craig V. Conover wrote:
    John,
    Check out the docs for DefaultModel. There is an appendRow() method.
    So get your tiledview's primary model (the tiledview's primary model
    should be set to use an instance of DefaultModel), model.appendRow(),
    then model.setValue("fieldname", value) for each value.
    Rinse, repeat as needed.
    c
    jhoskins wrote:
    I would like to use a tiled view, but populate the fields manually.
    Any pointers about where I can set the size of the tiled view? I tried
    setMaxDisplayTiles() in the beginDisplay, but it won't get down and
    generate the rows.
    John Hoskins
    To download the latest version of JATO, please visit:
    http://www.sun.com/software/download/developer/5102.html
    For more information about JATO, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp
    To download the latest version of JATO, please visit:
    http://www.sun.com/software/download/developer/5102.html
    For more information about JATO, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp
    To download the latest version of JATO, please visit:
    http://www.sun.com/software/download/developer/5102.html
    For more information about JATO, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp
    To download the latest version of JATO, please visit:
    http://www.sun.com/software/download/developer/5102.html
    For more information about JATO, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp

    Craig,
    Thanks for the pointers. I ended up doing something else. I set the
    models setSize() method to set the max size, and as the tiles fields
    iterated, populated the value from some vectors I had the data in
    already. Is this solution fraught with peril and will ultimately fail,
    or should I try your way?
    John
    --- "Craig V. Conover" wrote:
    John,
    Check out the docs for DefaultModel. There is an appendRow() method.
    So get your tiledview's primary model (the tiledview's primary model
    should be set to use an instance of DefaultModel), model.appendRow(),
    then model.setValue("fieldname", value) for each value.
    Rinse, repeat as needed.
    c
    jhoskins wrote:
    I would like to use a tiled view, but populate the fields manually.
    Any pointers about where I can set the size of the tiled view? I tried
    setMaxDisplayTiles() in the beginDisplay, but it won't get down and
    generate the rows.
    John Hoskins
    To download the latest version of JATO, please visit:
    http://www.sun.com/software/download/developer/5102.html
    For more information about JATO, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp

  • How to use Linux Print queue in client_text_io.fopen to print from Windows

    We have a forms application deploed on LINUX (Oracle application server 10g).
    I have to print a file from local windows PC to a linux Print Queue from forms
    I have the following code
    PROCEDURE file_to_printer (i_filename_output IN VARCHAR2
    ,i_network_printer IN VARCHAR2) IS
    l_line VARCHAR2(2000);
    l_fileid_output client_text_io.file_type;
    l_fileid_print client_text_io.file_type;
    BEGIN
    l_fileid_output := client_text_io.fopen (i_filename_output,'R');
    l_fileid_print := client_text_io.fopen (i_network_printer,'W');
    WHILE 1 = 1 LOOP
    client_text_io.get_line (l_fileid_output, l_line);
    client_text_io.put_line (l_fileid_print, l_line);
    END LOOP;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    client_text_io.fclose (l_fileid_output);
    client_text_io.fclose (l_fileid_print);
    END file_to_printer;
    Everything works fine if I use a windows printer like \\machine\printer.
    I want to use a Linux printer and specified the print queue as
    \\machine\print_queue_name. It's not working
    and I get error ORA-302000 on the following line
    l_fileid_print := client_text_io.fopen (i_network_printer,'W');
    and if I give only the queue name no error but it's not printing.
    Could you please tell me how to use a Linux/Unix print queue in this situation

    the simplest way is to edit the interface file (look in /etc/lp/interfaces for existing printers). Each script is
    run per print job where stdin has your print data, and stdout is going to your print device. You can just
    send the output to a file instead (assuming you can create a file in the windows directory from the solaris
    box). If it's a network share, you could use smbclient.
    -r

  • How to use ssd as boot drive and hdd as storage on a macbook pro 13

    Does anyone know how to use SSD as boot drive and have HDD in optical bay as storage on a Macbook pro 13. I mean in that both drives work as one . by formatting using mac software . I would like to run all programs and OS but would love to have my downloads and useless data on run on my 1tb 5400rpm hdd without me have to manual send it there..

    Does anyone know how to use SSD as boot drive and have HDD in optical bay as storage on a Macbook pro 13. I mean in that both drives work as one
    Each drive mounts as a separate volume. There is no convenient way to make them look like one contiguous volume.*
    Franky, with an hdd and a ssd I would recommend you put your home dir on the hdd and leave the ssd for the OS and your key applications.  It's relatively easy to do and I think better than moving only portions of your stuff.
    How to Move the Home Folder in OS X – and Why
    * There are ways to to make musltiple volumes appear as one large drive but I think it is beyond the scope of this discussion and not appropriate to this configuration.

Maybe you are looking for