Help need for stacked chart in apex 4.1

I have formed the query for stacked chart (3D or 2D) in APex Ver 4.0.2.00.09 and i have also set the legend display .... Chart is build sucessfully.
What i expect is when i place the mouse on the each stack in the chart it should say the legend type and corresponding values, instead it shows X axis title and corresponding values.....
The same query used in Apex Ver 3.2 and its working fine.
Could anyone please help on this ??
Regards,
Manoj

Hi Maheswara
I could finally login to APEX. I followed the steps in the forum APEX 3.0  "Invalid Login Credentials" after install and it worked for me.
I would mention the steps here again for the benefits of others who might encounter the same issue.
alter user APEX_040100 account unlock;
ALTER USER APEX_040100 IDENTIFIED BY oracle#123
Log in as APEX_040100 user and run the below given PL/SQL block.
begin
wwv_flow_api.set_security_group_id(p_security_group_id=>10);
wwv_flow_fnd_user_api.create_fnd_user(
p_user_name => 'admin2',
p_email_address => '[email protected]',
p_web_password => 'admin2') ;
end;
commit
alter user APEX_040100 account lock;
Now log in as ADMIN2/admin2 and you can change the password of ADMIN user. In my case when I went to the page to reset my ADMIN account I saw it was marked as "Expired". I don't know why it was set up like that in first place.
Thanks
Raj

Similar Messages

  • Help needed for Pie chart rendering

    Hi All,
    I have a question related with pie chart rendering. I tried this example with manual node creation. This worked fine for me. After that i tried to change using array concept. But i held up with one issue.
    var mySeq = [50, 100, 75];
    var angleSeq = [0, 80, 240]
    var angle = 360;
    var total = 225
    The Arc length is calculated as 0-80, 80-240, 240-360 respectively.
    So created another
    My the Arc creation code is looking like that,
    For (i in mySeq)
    Arc {
    centerX: 200
    centerY: 200
    radiusX: 200
    radiusY: 200
    startAngle: ? // For first this should be 0, second 80 and third 240
    length: (i*angle)/total //For first 80, second 160 and third 120
    type: ArcType.ROUND
    fill: Color.BLACK
    How to define the startAngle dynamically. I tried with another array like
    For (I in mySeq, j in angleSeq). Then I bind the value of j to startAngle. But no positive result for me.
    Can anyone help me on this issue?
    This is my first try with JavaFX. So i want to finish this successfully. Please help me

    Try this:
    var mySeq = [50, 100, 75];
    var angleSeq = [0, 80, 240];
    var angle = 360;
    var total = 225;
    for (i in mySeq) {
        for( j in angleSeq ){
            Arc {
                startAngle: j
                length: (i * angle) / total //For first 80, second 160 and third 120
                type: ArcType.ROUND
                fill: Color.BLACK
    }or
    var N = 3;
    for (n in [0..N-1])
            Arc {
                startAngle: angleSeq[n]
                length: (mySeq[n] * angle) / total //For first 80, second 160 and third 120
                type: ArcType.ROUND
                fill: Color.BLACK
            }

  • Help needed for writing query

    help needed for writing query
    i have the following tables(with data) as mentioned below
    FK*-foregin key (SUBJECTS)
    FK**-foregin key (COMBINATION)
    1)SUBJECTS(table name)     
    SUB_ID(NUMBER) SUB_CODE(VARCHAR2) SUB_NAME (VARCHAR2)
    2           02           Computer Science
    3           03           Physics
    4           04           Chemistry
    5           05           Mathematics
    7           07           Commerce
    8           08           Computer Applications
    9           09           Biology
    2)COMBINATION
    COMB_ID(NUMBER) COMB_NAME(VARCHAR2) SUB_ID1(NUMBER(FK*)) SUB_ID2(NUMBER(FK*)) SUB_ID3(NUMBER(FK*)) SUBJ_ID4(NUMBER(FK*))
    383           S1      9           4           2           3
    384           S2      4           2           5           3
    ---------I actually designed the ABOVE table also like this
    3) a)COMBINATION
    COMB_ID(NUMBER) COMB_NAME(VARCHAR2)
    383           S1
    384           S2
    b)COMBINATION_DET
    COMBDET_ID(NUMBER) COMB_ID(FK**) SUB_ID(FK*)
    1               383          9
    2               383          4
    3               383          2
    4               383          3
    5               384          4
    6               384          2          
    7               384          5
    8               384          3
    Business rule: a combination consists of a maximum of 4 subjects (must contain)
    and the user is less relevant to a COMB_NAME(name of combinations) but user need
    the subjects contained in combinations
    i need the following output
    COMB_ID COMB_NAME SUBJECT1 SUBJECT2      SUBJECT3      SUBJECT4
    383     S1     Biology Chemistry      Computer Science Physics
    384     S2     Chemistry Computer Science Mathematics Physics
    or even this is enough(what i actually needed)
    COMB_ID     subjects
    383           Biology,Chemistry,Computer Science,Physics
    384           Chemistry,Computer Science,Mathematics,Physics
    you can use any of the COMBINATION table(either (2) or (3))
    and i want to know
    1)which design is good in this case
    (i think SUB_ID1,SUB_ID2,SUB_ID3,SUB_ID4 is not a
    good method to link with same table but if 4 subjects only(and must) comes
    detail table is not neccessary )
    now i am achieving the result by program-coding in C# after getting the rows from oracle
    i am using oracle 9i (also ODP.NET)
    i want to know how can i get the result in the stored procedure itsef.
    2)how it could be designed in any other way.
    any help/suggestion is welcome
    thanks for your time --Pradeesh

    Well I forgot the table-alias, here now with:
    SELECT C.COMB_ID
    , C.COMB_NAME
    , (SELECT SUB_NAME
    FROM SUBJECTS
    WHERE SUB_ID = C.SUB_ID1) AS SUBJECT_NAME1
    , (SELECT SUB_NAME
    FROM SUBJECTS
    WHERE SUB_ID = C.SUB_ID2) AS SUBJECT_NAME2
    , (SELECT SUB_NAME
    FROM SUBJECTS
    WHERE SUB_ID = C.SUB_ID3) AS SUBJECT_NAME3
    , (SELECT SUB_NAME
    FROM SUBJECTS
    WHERE SUB_ID = C.SUB_ID4) AS SUBJECT_NAME4
    FROM COMBINATION C;
    As you need exactly 4 subjects, the columns-solution is just fine I would say.

  • Color management help needed for adobe CS5 and Epson printer 1400-Prints coming out too dark with re

    Color management help needed for adobe CS5 and Epson printer 1400-Prints coming out too dark with reddish cast and loss of detail
    System: Windows 7
    Adobe CS5
    Printer: Epson Stylus Photo 1400
    Paper: Inkjet matte presentation paper with slight luster
    Installed latest patch for Adobe CS5
    Epson driver up to date
    After reading solutions online and trying them for my settings for 2 days I am still unable to print what I am seeing on my screen in Adobe CS5. I calibrated my monitor, but am not sure once calibration is saved if I somehow use this setting in Photoshop’s color management.
    The files I am printing are photographs of dogs with lots of detail  I digitally painted with my Wacom tablet in Photoshop CS5 and then printed with Epson Stylus 1400 on inkjet paper 20lb with slight luster.
    My Printed images lose a lot of the detail & come out way to dark with a reddish cast and loss of detail when I used these settings in the printing window:
    Color Handling: Photoshop manages color, Color management -ICM, OFF no color adjustment.
    When I change to these settings in printer window: Color Handling:  Printer manages color.  Color management- Color Controls, 1.8 Gamma and choose Epson Standard it prints lighter, but with reddish cast and very little detail and this is the best setting I have used so far.
    Based on what I have read on line, I think the issue is mainly to do with what controls are set in the Photoshop Color Settings window and the Epson Printer preferences. I have screen images attached of these windows and would appreciate knowing what you recommend I enter for each choice.
    Also I am confused as to what ICM color management system to use with this printer and CS5:
    What is the best ICM to use with PS CS5 & the Epson 1400 printer? Should I use the same ICM for both?
    Do I embed the ICM I choose into the new files I create? 
    Do I view all files in the CS5 workspace in this default ICM?
    Do I set my monitor setting to the same ICM?
    If new file opens in CS5 workspace and it has a different embedded profile than my workspace, do I convert it?
    Do I set my printer, Monitor and PS CS5 color settings to the same ICM?
    Is using the same ICM for all devices what is called a consistent workflow?
    I appreciate any and all advice that can be sent my way on this complicated issue. Thank you in advance for your time and kind help.

    It may be possible to figure out by watching a Dr.Brown video on the subject of color printing. Adobe tv
    I hope this may help...............

  • File missing (file\BCD error code 0Xc0000034 help need for work!

    file missing (file\BCD  error code 0Xc0000034 help need for work!    what can i do?
    have an p 2000 notebook pc

     Hi bobkunkle, welcome to the HP Forums. I understand you cannot boot passed the error you are receiving.
    What is the model or product number of your notebook? What version of Windows is installed?
    Guide to finding your product number
    Which Windows operating system am I running?
    TwoPointOh
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • Text on xAxis for stacked chart

    Hi All,
    I am using the following code for stacked chart control. I am able to display the text along Yaxis but not able to do the same with xAxis. I am uding the following code. Please advice.
    var testchart = new sap.viz.ui5.StackedColumn("oChart",{ 
      width: "50%", 
      height: "50%", 
                         title: { visible : true, text : 'Production Field1' },
                         xAxis : {
                    title : {
                         text: 'test',
                      visible : true
                yAxis:{
                  title:{text: 'BOE (Thousands)', visible:true}
                         dataset: dataset 
    Thanks in advance.

    I was not aware that it was slower. It could be that, by trying to plot all four at one time, you are putting the processor through more work as opposed to updating four charts at different times. Even if they seem to update at the same time, they could not technically do this because execution would only run one at a time. Just a thought...
    J.R. Allen

  • Help need for force to signout All session ! how...

    hi
         help need for force to  signout All session !  how ??
    Solved!
    Go to Solution.

    Hi and welcome to the Skype Community,
    To force a signout of all instances your Skype is signed into please change your password: https://support.skype.com/en/faq/FA95/how-do-i-change-my-password
    Follow the latest Skype Community News
    ↓ Did my reply answer your question? Accept it as a solution to help others, Thanks. ↓

  • Help need in Stacked bar vertical - No data found message

    I am using Stacked bar vertical with the 3 series. The problem is if any one of the series returns zero rows for the query it displays the No data found message for all the series and blank graph is there on screen with just x and y axi with the name.
    The result i want is if any series in the graph returns zero row for the query it should executed the other series and show the graph accordingly for the series fetch the data.
    all these queries are returning the data when run on database instead of one.
    Can anyone help me for this?

    Hello Sunil,
    you may find some info here:
    Document on Multiple Series SVG Line Chart
    Generally speaking, if you want your queries to return "dense" data, you must ensure that a zero (Y value) is returned against each X value. If your queries return no rows, it means you must "artificially" create values, probably rewriting the queries with an outer join to a table returning the desired X values and using NVL function to replace null (Y) values with zeros.
    Also, be careful with the order of X values, it really matters, otherwise you'll get skewed charts!
    Bye,
    Flavio

  • Help needed in WAD charts Creation

    Hi Gurus,
    I have chosen the "charts" Web item into the layout. In the chart edit or Properties i am not able to find an option to choose the characteristics and Keyfigures in the Axis.
    Example :  Rows :
                    1) material
                    2) plant
                    3) material Type
                    4) Week Beginning
    and          Columns:
                  1) consumption
                  2) receipts
                  3) Total Inventory
    I need the chart to be based on the Week beginning( characteristic) and this characteristic values should be displayed in the X-axis. 
    The key figures value should be displayed as columns.
    I dont see any options to choose the characteristics and key figures in x and y axis in the chart designer. Please let me know or any how to documents on this.
    Regards,
    Satish

    Hi  Satish,
    Please study the following which may help you creating the chart.
    If it helps, please grant me points.
    Regards,
    Subha
    Changing the Display: Table, Chart, Table and Chart
    In your Web application, you want to be able to display data in a table or graphic, similar to in the Web Analyzer.
    You can do this by using the Dropdown Box Web item and linking the commands for showing and hiding Web items to it:
           1.      Insert the Analysis and Chart Web items into your Web template. Set the required parameters and link both Web items to the same data provider. For the initial display type, set the Visibility parameter of the Chart Web item to Hidden.
           2.      To allow users to toggle the display type, choose the Dropdown Box Web item and drag it to your Web template using drag and drop.
           3.      Choose the data binding type Fixed List of Options from the parameter list for the Web item. This allows you to define your own commands for each entry in the dropdown box.
           4.      In the fixed list of options, enter a text (such as "table") in the Description of Selection field. This text can be language-dependent.
           5.      For the corresponding command, call the command wizard by choosing the pushbutton (see Commands).
           6.      On the All Commands tab page, choose Commands for Web Items. Select the command Set Web Item Parameters (SET_ITEM_PARAMETERS) and double-click it to choose it.
           7.      Since the table must be switched to visible to select the table display type in the Web application, choose the Analysis Web item for Target Web Item. All parameters for the Analysis Web item are now displayed.
           8.      Set the Visibility parameter (VISIBILITY) to Visible (VISIBLE). Do not accept the default value.
           9.      Since the graphic display must be switched to hidden to select the table display type in the Web application, choose Next Command in the command wizard.
       10.      Insert the Set Web Item Parameters (SET_ITEM_PARAMETERS) command again.
       11.      This time, choose the Chart Web item as the target Web item and set the Visibility parameter (VISIBILITY) to Hidden (HIDDEN). Do not accept the default value.
       12.      Repeat steps four to eleven for the dropdown box entries Chart (switch Analysis Web item to hidden, Chart Web item to visible) and Table and Chart (switch Analysis Web item and Chart Web item to visible).
    Regards,
    Subha

  • Help needed with stack sequence

    Hello friends,
    I am using my LABVIEW VI with signal express. I have connected all the controls and indicators to the connector pane and has built the source distribtion. I am attaching my VI. You can see while I import my VI in signal express.. in run LABVIEW vi step it does not show all the control and indicators.
    Also if you please can go through my Vi you will see that I am using stack sequence. What I observe that variable (arrays) what I am using in the sequences other than the first frame are not getting updated. I am continuously taking data through tektroniks oscilloscope and that data I want to use in my VI. Oscilloscope will continuously be feeding data in. How do I move to the second frame untill first frame is still receiving data?  It may be the reason other variables are not getting updated.
    Message Edited by 9966658175 on 12-10-2009 04:01 AM
    Vipin
    Attachments:
    LABVIEW_VI.jpg ‏182 KB
    sig_express.jpg ‏141 KB

    to Dennnis
    First of all thanking you for your response.
    Ya, you are right. there is no need for the sequence structure. But still one of the Local variable (MCA Data) is required. But as you are saying that for loop also is not needed, I dont get it. I have to separately access the element of an incoming array. How do i do that?  I mean in my case peak detector pallet is sending out data as an array that has to be used as an index to another array. As we all know that index can only be an integer (single element), not an array. How do i do that without using indexing feature of a loop?
    Still my second problem is not solved. I want to continuously acquire data from an oscilloscope and then want to do processing on that continuously and show that online output data. I am using Labview VI in signal express. In my case up to peak detector pallet continuous data output is coming. But after that, output is not updating?
    Can u help?  I am attaching Labview file this time.
    Vipin
    Attachments:
    MCA2.vi ‏16 KB

  • Query help needed for querybuilder to use with lcm cli

    Hi,
    I had set up several queries to run with the lcm cli in order to back up personal folders, inboxes, etc. to lcmbiar files to use as backups.  I have seen a few posts that are similar, but I have a specific question/concern.
    I just recently had to reference one of these back ups only to find it was incomplete.  Does the query used by the lcm cli also only pull the first 1000 rows? Is there a way to change this limit somwhere?
    Also, since when importing this lcmbiar file for something 'generic' like 'all personal folders', pulls in WAY too much stuff, is there a better way to limit this? I am open to suggestions, but it would almost be better if I could create individual lcmbiar output files on a per user basis.  This way, when/if I need to restore someone's personal folder contents, for example, I could find them by username and import just that lcmbiar file, as opposed to all 3000 of our users.  I am not quite sure how to accomplish this...
    Currently, with my limited windows scripting knowledge, I have set up a bat script to run each morning, that creates a 'runtime' properties file from a template, such that the lcmbiar file gets named uniquely for that day and its content.  Then I call the lcm_cli using the proper command.  The query within the properties file is currently very straightforward - select * from CI_INFOOBJECTS WHERE SI_ANCESTOR = 18.
    To do what I want to do...
    1) I'd first need a current list of usernames in a text file, that could be read (?) in and parsed to single out each user (remember we are talking about 3000) - not sure the best way to get this.
    2) Then instead of just updating the the lcmbiar file name with a unique name as I do currently, I would also update the query (which would be different altogether):  SELECT * from CI_INFOOBJECTS where SI_OWNER = '<username>' AND SI_ANCESTOR = 18.
    In theory, that would grab everything owned by that user in their personal folder - right? and write it to its own lcmbiar file to a location I specify.
    I just think chunking something like this is more effective and BO has no built in back up capability that already does this.  We are on BO 4.0 SP7 right now, move to 4.1 SP4 over the summer.
    Any thoughts on this would be much appreciated.
    thanks,
    Missy

    Just wanted to pass along that SAP Support pointed me to KBA 1969259 which had some good example queries in it (they were helping me with a concern I had over the lcmbiar file output, not with query design).  I was able to tweak one of the sample queries in this KBA to give me more of what I was after...
    SELECT TOP 10000 static, relationships, SI_PARENT_FOLDER_CUID, SI_OWNER, SI_PATH FROM CI_INFOOBJECTS,CI_APPOBJECTS,CI_SYSTEMOBJECTS WHERE (DESCENDENTS ("si_name='Folder Hierarchy'","si_name='<username>'"))
    This exports inboxes, personal folders, categories, and roles, which is more than I was after, but still necessary to back up.. so in a way, it is actually better because I have one lcmbiar file per user - contains all their 'personal' objects.
    So between narrowing down my set of users to only those who actually have saved things to their personal folder and now having a query that actually returns what I expect it to return, along with the help below for a job to clean up these excessive amounts of promotion jobs I am now creating... I am all set!
    Hopefully this can help someone else too!
    Thanks,
    missy

  • Help needed for using BASIC authentication through JDBCRealm

    Help needed.
    Hello,
    I am doing a degree project, so far it works fine in my local machine, I need to try it on my virtual hosting (as it is a live server).
    My project requires JDBCRealm, that is BASIC authentication loading access data from mysql database. Normally this setup can be done in Server.xml file, because my Tomcat hosting is a virtual one, I only have permission to access the web.xml file.
    My question is: is it possible to get it done in an alternative way? In web.xml? Some properties file maybe?
    Thank you very much.

    You can set this up for your context using META-INF/context.xml instead of working with server.xml.
    Make a directory called META-INF under your webapp ( it'll be at the same level as WEB-INF ). Under this, add a context.xml with all your context specific configuration including the realm. A sample is below
    <?xml version="1.0" encoding="UTF-8"?>
    <Context path="/myApp" reloadable="true">
        <Realm
            className="org.apache.catalina.realm.JDBCRealm"            
            driverName="com.microsoft.jdbc.sqlserver.SQLServerDriver"         
            connectionURL="jdbc:microsoft:sqlserver://127.0.0.1:1433;DatabaseName=myDB;SelectMethod=Cursor;"
            connectionName="username" connectionPassword="password"
            digest="MD5" userTable="users" userNameCol="userid" userCredCol="userpassword"
            userRoleTable="user_roles" roleNameCol="rolename"
        />
    </Context>Hope this helps.
    People on the forum help others voluntarily, it's not their job.
    Help them help you.
    Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
    ----------------------------------------------------------------

  • Help Needed for T42 Start-up Problem

    Urgent help need!!!
    I have a ThinkPad T42 with Windows XP installed.  It works perfectly for a while without ever have any problem or error message.  Then suddenly it won’t work anymore.  The symptom is following:
    After power on the laptop the Microsoft window would show up and it prompt me for window logon password.  After I type in the password it then shows “window is loading your personal setting”.  After a long while nothing would show up on the screen other than the background of the normal screen.  There is no window bar at the bottom or any icon on the screen.  If I start in safe mode then everything would show up.  I don’t know what is going on.
    This happened two months ago and I ended up restoring a backup image to get it work again.  It happens again today with the same symptom.  I am really tired of having to restore image backup every 2 months. 
    I would really appreciate it if any of your experts can offer me some insight into this problem.  I am desperate in need of help.
    Thanks very much!

    wangy26, welcome to the forum,
    Have a look at this thread to see if my post there helps. The problem seems to mostly occur at the start of a month, why I don't know. Unfortunately the member didin't report back whether or not this was a viable solution for them.
    Andy  ______________________________________
    Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
    Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
      Deutsche Community     Comunidad en Español    English Community Русскоязычное Сообщество
    PepperonI blog 

  • Help need for badi method me_process_po_cust~check

    Dear All expert
    Pl see following thread
    I am stuck
    Help needed
    http://scn.sap.com/thread/3610303

    See the issue here is HOLD feature in PO should not be there if it meets the error condition.
    For this you can refer another BADI for this purpose ME_HOLD_PO.
    Refer one of my previous threads below , it might be helpful :
    Held Purchase order need not be created.
    Reiterating a thread related to same topic is not a good practice.

  • XMLAGG structure, performance help needed for odd nesting in schema

    Hello,
    I have to produce XML to look like:
    <?xml version='1.0'?>
      <enterprise>
        <membership>
          <sourcedid>
            <id>PHYS_101_001_FA2007</id>
          </sourcedid>
        <!-- NOTE: absence of "members" level tag for XMLAGG! -->
        <member>
          <sourcedid>
            <id>D2LU0001</id>
          </sourcedid>
          <role roletype="Sample Role">
            <status>1</status>
          </role>
        </member>
        <member>
          <sourcedid>
            <id>D2LU0002</id>
          </sourcedid>
          <role roletype="Sample Role">
            <status>1</status>
          </role>
        </member>
      </membership>
    </enterprise>This would be straightforward if the schema allowed for a "<members>" tag under which to nest the <member> tags. But, it does not allow for that tag or any other than those listed above.
    I have a query which does produce that output (except for the roletype attribute), but its performance is horrible; it takes about 40 minutes to return data:
    SELECT
         XMLROOT(
             XMLELEMENT("enterprise",
               XMLAGG(
                 XMLELEMENT("membership",
                   XMLFOREST( XMLELEMENT("id",cx.mapped_course_id) as "sourcedid"
                   (SELECT XMLAGG(
                     XMLELEMENT("member",
                       XMLFOREST(XMLELEMENT("id",spriden_id) AS "sourcedid",
                                 XMLELEMENT("status",'1') AS "role"
                      FROM enrollments_fall_sfrstca efs
                         , spriden sp
                         , gzv_tuid t
                     WHERE sp.spriden_change_ind IS NULL
                       AND sp.spriden_pidm       = t.pidm
                       AND t.tuid                = efs.user_name
                       AND efs.mapped_course_id  = cx.mapped_course_id
                       AND efs.term              = cx.semester
                , VERSION '1.0', STANDALONE NO VALUE)
      FROM courses_xt cx
    WHERE cx.semester = :term_code
    ;Similar queries are producing courses and users XML fine with no performance issues, but these are driven off either the courses view or the enrollments view, but not both.
    Is there some other way I can produce the nesting I need for the vendor's schema?
    The source views are basically as follows (showing relevant columns only):
    courses_xt:
    MAPPED_COURSE_ID       SEMEST
    AVFT209-13307-201210   201210
    AVFT210-13308-201210   201210enrollments_fall_sfrstca:
    MAPPED_COURSE_ID       USER_NAME
    AVFT209-13307-201210    FULLERC8
    AVFT209-13307-201210    SHUPEK
    AVFT209-13307-201210    NOMAN
    AVFT210-13308-201210    SHUPEK
    AVFT210-13308-201210    PELLONMWhen I have the query without the XML (with the subquery as a column of the outer query), this returns the correct data quickly (a couple of minutes).
    I have tried various permutations of XMLFOREST, XMLELEMENT, XMLAGG but either I get syntax errors, or the data is wrong (e.g. repeated '<membership>' for each '<member>', or I have to create an invalid tag '<members>' to be filtered later).
    Please advise!
    Thanks,
    Anita Lees

    Hi Anita,
    Have you tried with a GROUP BY and no subquery?
    Here's an example using SCOTT schema.
    I've used the same tag names and structure so that you can see the analogy :
    SELECT XMLElement("enterprise",
             XMLAgg(
               XMLElement("membership",
                 XMLElement("sourceid", xmlelement("id", d.deptno))
               , XMLAgg(
                   XMLElement("member",
                     XMLElement("sourceid",
                       XMLElement("id", e.empno)
                   , XMLElement("role",
                       XMLAttributes(e.job as "roletype")
                     , XMLElement("status", '1')
    FROM scott.dept d
         LEFT OUTER JOIN scott.emp e ON e.deptno = d.deptno
    WHERE d.deptno IN (10,20)
    GROUP BY d.deptno
    ;which gives :
    <enterprise>
      <membership>
        <sourceid>
          <id>10</id>
        </sourceid>
        <member>
          <sourceid>
            <id>7782</id>
          </sourceid>
          <role roletype="MANAGER">
            <status>1</status>
          </role>
        </member>
        <member>
          <sourceid>
            <id>7934</id>
          </sourceid>
          <role roletype="CLERK">
            <status>1</status>
          </role>
        </member>
        <member>
          <sourceid>
            <id>7839</id>
          </sourceid>
          <role roletype="PRESIDENT">
            <status>1</status>
          </role>
        </member>
      </membership>
      <membership>
        <sourceid>
          <id>20</id>
        </sourceid>
        <member>
          <sourceid>
            <id>7369</id>
          </sourceid>
          <role roletype="CLERK">
            <status>1</status>
          </role>
        </member>
        <member>
          <sourceid>
            <id>7902</id>
          </sourceid>
          <role roletype="ANALYST">
            <status>1</status>
          </role>
        </member>
        <member>
          <sourceid>
            <id>7566</id>
          </sourceid>
          <role roletype="MANAGER">
            <status>1</status>
          </role>
        </member>
      </membership>
    </enterprise>

Maybe you are looking for

  • BAPI_PO_CHANGE Add Services

    Hi all, I need to update a PURCHASE ORDER with new services but im getting the error msg "Enter Quantity in service line" but my service line is a information line what could be the problem (poservices-inform = 'X'. poservices-serv_type = 'HZ' ). Im

  • My ipod will no longer sync!

    When I connect my iPod to my laptop, everything that appears on the screen (in iTunes) is just how I want it...however on my actual iPod many artists are missing and certain song info. is way off...now I realize that NOTHING I add/sync wants to show

  • Multi line issue in Table Cell Editor

    Hi, I am developing an occasionally connected application for handheld devices using NetWeaver Mobile 7.1. In one of the view, I have a table which display items information from the data source. In one of the column I need to display item descriptio

  • My N95 is still on V12!

    Hello! I have Nokia N95-1 RM-159 with product code 0551406. My latest update version is still V12.0.013, when will be available v20.0.015 or v21.0.016? Im tired to wait! I am waiting almost 5 months! My phone is not network branded. Thank you!

  • Unable to read blob attributes in the Asset Filter

    Hi, I am unable to read a blob attribute in the Asset Filter using the following code. The String attributes work fine. Can I get some examples for reading blob attributes in the filter? I am using Webcenter Sites 11gr1 public void filterAsset(IFilte