Problem with a group by in a subselect - ORA-00979

Hi,
I have some difficulties with my query, I have every time an error ORA-00979 not a group by expression. Does anybody could help me, please ?
Thanks.
Here my query :
select
count(RES."ID") as "NbrRes",
RES.PATIENT_LASTNAME as "lastname",
RES.PATIENT_MAIDEN_NAME as "maiden name",
RES.PATIENT_FIRSTNAME as "firstname",
RES.EXTERNAL_NUMBER as "numero externe",
TRUNC(MONTHS_BETWEEN(RES.SAMPLE_SAMPLING_DATE,RES.PATIENT_BIRTHDATE)/12)+1 as "Age",
(select BOX_FULLNAME from HCQ_STORAGE_CONTAINER where BOX_ID=RES.STORAGE_BOX_ID) as "Box",
count(RES."ID")*RES.QUANTITY as "QtDispo",
(select SHORT_NAME from PRIMARY_UNIT where ID=RES.UNIT_ID) as "Unit"
from
HCQ_RESOURCE RES
group by
RES.PATIENT_LASTNAME,
RES.PATIENT_MAIDEN_NAME,
RES.PATIENT_FIRSTNAME,
RES.EXTERNAL_NUMBER,
RES.QUANTITY,
TRUNC(MONTHS_BETWEEN(RES.SAMPLE_SAMPLING_DATE,RES.PATIENT_BIRTHDATE)/12)+1
order by
TRUNC(MONTHS_BETWEEN(RES.SAMPLE_SAMPLING_DATE,RES.PATIENT_BIRTHDATE)/12)+1

user539451 wrote:
Hi,
I have some difficulties with my query, I have every time an error ORA-00979 not a group by expression. Does anybody could help me, please ?
Thanks.
Here my query :
select
count(RES."ID") as "NbrRes",
RES.PATIENT_LASTNAME as "lastname",
RES.PATIENT_MAIDEN_NAME as "maiden name",
RES.PATIENT_FIRSTNAME as "firstname",
RES.EXTERNAL_NUMBER as "numero externe",
TRUNC(MONTHS_BETWEEN(RES.SAMPLE_SAMPLING_DATE,RES.PATIENT_BIRTHDATE)/12)+1 as "Age",
(select BOX_FULLNAME from HCQ_STORAGE_CONTAINER where BOX_ID=RES.STORAGE_BOX_ID) as "Box",
count(RES."ID")*RES.QUANTITY as "QtDispo",
(select SHORT_NAME from PRIMARY_UNIT where ID=RES.UNIT_ID) as "Unit"
from
HCQ_RESOURCE RES
group by
RES.PATIENT_LASTNAME,
RES.PATIENT_MAIDEN_NAME,
RES.PATIENT_FIRSTNAME,
RES.EXTERNAL_NUMBER,
RES.QUANTITY,
TRUNC(MONTHS_BETWEEN(RES.SAMPLE_SAMPLING_DATE,RES.PATIENT_BIRTHDATE)/12)+1
order by
TRUNC(MONTHS_BETWEEN(RES.SAMPLE_SAMPLING_DATE,RES.PATIENT_BIRTHDATE)/12)+1Hi,
Tested with other sample data, it works fine.. You need to include subselect column in the group by clause.
Rewrite your code as
select
count(RES."ID") as "NbrRes",
RES.PATIENT_LASTNAME as "lastname",
RES.PATIENT_MAIDEN_NAME as "maiden name",
RES.PATIENT_FIRSTNAME as "firstname",
RES.EXTERNAL_NUMBER as "numero externe",
TRUNC(MONTHS_BETWEEN(RES.SAMPLE_SAMPLING_DATE,RES.PATIENT_BIRTHDATE)/12)+1 as "Age",
(select BOX_FULLNAME from HCQ_STORAGE_CONTAINER where BOX_ID=RES.STORAGE_BOX_ID) as "Box",
count(RES."ID")*RES.QUANTITY as "QtDispo",
(select SHORT_NAME from PRIMARY_UNIT where ID=RES.UNIT_ID) as "Unit"
from
HCQ_RESOURCE RES
group by
RES.PATIENT_LASTNAME,
RES.PATIENT_MAIDEN_NAME,
RES.PATIENT_FIRSTNAME,
RES.EXTERNAL_NUMBER,
RES.QUANTITY,
TRUNC(MONTHS_BETWEEN(RES.SAMPLE_SAMPLING_DATE,RES.PATIENT_BIRTHDATE)/12)+1 ,
Age,
Box,
Unit
order by 6Hope this helps.
Regards,
Achyut

Similar Messages

  • Problem with checkbox group in row popin of table.

    In table row popin I have kept Check Box Group.I have mapped  the texts property of checkbox group to the attribute which is under the subnode of the table.the subnode properties singleton=false,selectioncardinality=0-n,and cardinality=0-n.
    if there are 'n' number of records in the table.each record will have its own row popin and in the row popin there is check box group.
    the check box group in the row popin  belongs to that perticular row.
    but the checkboxegroup values in row popins of all the  rows are getting changed to the row which is lead selected.
    The same scenario  (table in the row popin is showing the values corresponding to its perticular row and all the table values in popin are not getting changed to the one lead selected in the main table)is working fine with the table in place of  checkbox group in row popin with datasource property of table  binded to the subnode
    I cant trace out the problem with checkbox group in place of table.
    Please help me in this regard.I have to place check box group in place of table in row popin.
    Thanks and Regards
        Kiran Kumar K

    I have done the same thing successfully with normal check box ui element. Try using check box in your tabel cell editor instead of check box group.

  • Strange Problem with Code Groups / Codes

    Hey all, have a strange problem with Code Groups and Codes.
    Our data migration team accidentally loaded an early version of our catalog (code groups and codes) in to our 'Gold' configuration client. They then proceed to delete them all via transaction qs41. However, the code groups have been deleted, but not the codes.
    So, basically, no codes groups exist in table QPGR or QPGT but all the entries remain in QPCD with the assigment to code groups. The usage indicator is not set on the codes so why they did not get deleted with the codes groups is unknown.
    The issue that this is now causing us is that we can't recreate the codes groups with these codes assigned as the system thinks they already exist (via a check on table QPCD i would expect).
    Also, i have been unable to recreate what happened did in other clients... seems very strange.
    Any help appreciated.
    Cheers

    Ben,
    You could try SE11, and see if you can delete the records from there.. but I'm not hopeful...
    Otherwise you may need to write a quick ABAP program to delete the data base entries.
    PeteA

  • Problems with dinamic group

    I migrate the messaing (6.1) and directory(5.2), in the directory migrate the user and group, but i have problems with a group, i send a mail and the user who have menbers no send the mail, and retunt the mail .... and said
    Direcci�n del destinatario: [email protected]
    Motivo: you are not allowed to use this list: [email protected]
    it a dinamic group

    Your group must have a restriction on it, that only certain users are allowed to send to the group. If you are not on that list, then you will be prevented from sending to the group/list.
    Why don't you examine the ldap entry for the group, and see what's in there?

  • Problem with multiple group functions

    Hello Everyone...
    I have a huge problem with trying to create a report.
    Here is the situation:
    1. I have a database that registers certain events for units. Each event is stored in a separate register.
    2. There is a specific code that the units have that I need to identify their origin, because they must be grouped by origin. The origin is identified by the first digit of the code. This code only appears in the events that occur after production.
    3. Before that, an order number is used to identify the events.
    4. What I need is to identify the time difference between two specific events, and get the following: average, standard deviation, count, and level of service. The level of service is the percentage of units in which the difference was no higher than the average plus the standard deviation.
    I managed to create a query that does that, but it is too slow.
    Since I can't reveal my code, I will try to explain in words what I did:
    1. I created two almost identical queries that obtain the event information I need. The first one obtains the information of the event that occurs the earliest. (let's call this queries 1 and 2)
    2. As this is supposed to be a generic query that only needs to be modified for different events, it contemplates the case that the event is before production and does not include the specific code I mentioned earlier. So I created another query that uses the order number and looks for a (later) production event to obtain that code. (let's call this query 3).
    3. Then I obtained count, standard deviation and average for the difference between events.
    4. Then, for the service level, I had to create an outside query that again uses queries 1, 2, and 3 because it needs the information of individual units to calculate it. So here is the structure of my query, using some pseudocode (I'm not revealing any actual code):
    Select (averagestd.origin, average, stddev,
    sum(case
    when abs(q2.vehicle_event_dt - q1.vehicle_event_dt -
    average) <= stddev then
    1
    else
    0
    end) / count service_level from
    (select q1.origin,
    avg(q2.vehicle_event_dt -q1.vehicle_event_dt),
    stddev(q2.vehicle_event_dt - q1.vehicle_event_dt),
    count(*) from
    (select {event data} from query1, query3 where
    query1.order_number = query3.order_number) q1,
    (select {event data} from query2, query3 where
    query1.order_number = query3.order_number) q2
    where q1.order_number=q2.order_number) avgstd,
    (select {event data} from query1, query3 where
    query1.order_number = query3.order_number) q1,
    (select {event data} from query2, query3 where
    query1.order_number = query3.order_number) q2
    where q1.order_number = q2.order_number and
    q1.origin = avgstd.origin
    The database is huge and it's taking too long to run it.
    Do you have any idea on how can I optimize this query?
    All the information in all queries comes from the same table.
    Thank you very much for your help.
    Eduardo Schnadower

    Okay, so my report is set up as above with 4 groups
    group 1 group code
    group 2 sub group code
    group 3 customer code
    group 4 product code
    what i need to be able to do is select the sub group total and run a sub report to display the products total for that sub group and then the same for group, run a report from the group total to show the products which make up that group total. Is there any other way to acheive this?
    Cheers Paul

  • Photoshop Actions: Problem with layer groups

    I have recorded several photoshop actions with multiple adjustment layers in layer groups. They work perfectly fine, as long as I do not run a second action with a layer group in it.
    As soon as I run a second action with layer groups, the layer order is completely random and messed up. How can I avoid this problem?

    Best practices: Usage
    Supply pertinent information for quicker answers
    The more information you supply about your situation, the better equipped other community members will be to answer. Consider including the following in your question:
    Adobe product and version number
    Operating system and version number
    The full text of any error message(s)
    What you were doing when the problem occurred
    Screenshots of the problem
    Computer hardware, such as CPU; GPU; amount of RAM; etc.

  • Strange problems with iCal group calendar

    Hi,
    I got some strange problems with group calendar. They are evil so that we may decide to throw it away because under this cirumstances it's not usable for our company.
    1) If we add events running more than one week in webcalendar, we can see it in the actual week, but not in the following weeks.
    2) The webcalendar seems to be 2 hours in the future, we cannot find how to change time zone or whatever. We can see, that we added a new event at 4pm, in the list of recent changes we see that this event was added at 6pm.
    3) In the Wiki we can see the usernames in the list of recent changes, but in calendar there is only unknown. But there are no anonymous users, only named users within these group.
    Any idea?
    Thanks
    Rene

    If I hadn't been using iCal/Google Calendar for over 18 months, with reminders from both systems playing nicely over that period, I'd happily agree with you. The issue with Reminders only began (for me, at least) in February this year. I agree that there's potential for conflict, and maybe both sets of developers finally threw in the towel. This is a pity, because I like both systems, but I feel slightly irritated at being effectively told by Google or Apple that I have to choose sides.

  • Problems with webtop groups and/or replication

    Hi,
    i use sgd 4.2 (4.20.909) with to array members. I have the Problem, that the webtop group informations get lost every few hours. And the Users have to set it up again. We have over 1.500 Applications and over 1.500 Servers integrated in our ens. The only error message i get is:
    2006/09/29 17:06:03.675 (pid 1927) server/replication/error #1159542363675
    Sun Secure Global Desktop Software (4.2) ERROR:
    There was no response from the server itosgdapp2p.hn.tds.de after
    300000 milliseconds during synchronization of the
    namespace "diskens".
    Replication with itosgdapp2p.hn.tds.de will not operate.
    Check the server itosgdapp2p.hn.tds.de and restart it if necessary.
    2006/09/29 17:06:03.695 (pid 1927) server/replication/error #1159542363695
    Sun Secure Global Desktop Software (4.2) ERROR:
    There was no response from the server itosgdapp2p.hn.tds.de after
    300000 milliseconds during synchronization of the
    namespace "views".
    Replication with itosgdapp2p.hn.tds.de will not operate.
    Check the server itosgdapp2p.hn.tds.de and restart it if necessary.
    Could this be the problem? Can I increase the timeout value for synchronization?
    Thanks for help
    Regards
    Lukas

    I cannot give a direct answer since I haven't been across this problem, therefor I have some questions.
    <quote>
    i use sgd 4.2 (4.20.909) with to array members. I
    <quote>
    Is this a typo and should be 'with two array members' ?
    You state that you have over 1.500 Applications and over 1.500 Servers. How is the use of these applications. How many concurrent users are connected.
    Does the same error exist when seperating the two zones over two systems?
    What does '/opt/tarantella/bin/tarantella config list --array-resourcesync' state?
    From the manual:
    Resource Synchronization
    --tuning-resourcesynctime time
    At what time to start resource synchronization each day, if enabled for the array.
    Use the server's local time zone.
    Express the time in 24-hour clock format, for example "16:00 for 4pm.
    Changes to this attribute take effect immediately.

  • Problems with re-grouping - subtotals and pagebreaks do not work

    I'm trying to create a report with all of my grouping in the template as opposed to the data definition. I've copied a simplified version of my code and xml below.
    I'm having two issues:
    1. The pagebreaks are not working. For every change in pagebreak_seg, second_seg, or third_seg there should be a pagebreak.
    2. The subtotalling isn't working. At each grouping level, I'm using sum(current-group()/...) to capture a subtotal at the new level. It worked the first 3 times (for Account_seg, Cat3 and Third_Seg, but stopped working at Second_seg. The second_seg keeps appearing after each Third Seg and has the same values rather than appearing at the end of the final Third Seg that falls within the Second_seg. Is there a limit to how many times I can do this, or have I got an error in here somewhere.
    I can email the xml and the template if that would be more helpful.
    Thanks very much for your help.
    What I'm expecting to see.
    1st Page
    entity: 001 My Department
    program: 72020 Financial Services
    organization: 160013 Human Resource Functions
    account 540300 desc and subtotals
    Subtotal these amounts under category of Travel
    account 522200 desc and subtotals
    Subtotal these amounts under category of Supplies and Services
    Subtotal for Human Resource Functions
    pagebreak
    2nd Page
    entity: 001 My Department
    program: 72020 Financial Services
    organization: 160018 Org 1
    account 5254000 desc and subototals
    Subtotal these amounts under category of Supplies and Services
    Subtotal for Org 1
    Grand Total for Financial services
    Grand total for My department
    --excerpt from template
    <?start:body?>
    ##<?for-each:XXFIN_PSBE2_XML?>
    ####<?for-each:LIST_G_HEADER_PAGE?>
    ######<?H_TITLE?>
    ####<?end for-each?><?PageBreak?>
    ####<?for-each-group:G_REPORT;PAGEBREAK_SEG?>
    ######<?for-each-group:current-group();./SECOND_SEG?>
    ########<?for-each-group:current-group();THIRD_SEG?>
    ##########<?SEG_1_HEADER?>
    ##########<?PAGEBREAK_SEG?>
    ##########<?PAGEBREAK_DESC?>
    ############<?for-each-group:current-group();CAT3?>
    ##############<?for-each-group:current-group();ACCOUNT_SEG?>
    ################<?ACCOUNT_SEG?>
    ################<?ACCOUNT_DESC?>
    ################<?sum (current-group()/APRIL)?>
    ################<?sum (current-group()/VARIANCE_ACTUAL_FROM)?>
    ##############<?end for-each-group?>--account seg
    ##############<?CAT3_DESC?>
    ##############<?sum (current-group()/APRIL)?>
    ##############<?sum (current-group()/VARIANCE_ACTUAL_FROM)?>
    ############<?end for-each-group?>--cat3
    ##########<?THIRD_DESC?>
    ##########<?sum (current-group()/APRIL)?>
    ##########<?sum (current-group()/VARIANCE_ACTUAL_FROM)?>
    ##########<?split-by-page-break?>
    ########<?end for-each-group?>--third
    ########<?SECOND_DESC?>
    ########<?sum (current-group()/APRIL)?>
    ########<?sum (current-group()/VARIANCE_ACTUAL_FROM)?>
    ########<?split-by-page-break?>
    ######<?end for-each-group?>--second
    ######<?split-by-page-break?>
    ####<?end for-each-group?>--pagebreak
    ##<?end for-each?> XXFIN_PSBE2_XML
    <?end body?>
    --simplified xml
    <?xml version="1.0" encoding="UTF-8"?>
    <XXFIN_PSBE2_XML>
    <p_actuals_year>2006-07</p_actuals_year>......
    <LIST_G_HEADER_PAGE>
    <G_HEADER_PAGE>
    <H_RECIPIENT_NAME/>
    <H_TITLE>Monthly Account Detail Report</H_TITLE>
    <H_USERNAME>DOREY</H_USERNAME>
    <F_FOOTER>Test.</F_FOOTER>
    </G_HEADER_PAGE>
    </LIST_G_HEADER_PAGE>
    <LIST_G_WORKSHEET1_NAME>
    <G_WORKSHEET1_NAME>
    <WORKSHEET1_NAME>001E1-6 Department - 8272</WORKSHEET1_NAME>
    </G_WORKSHEET1_NAME>
    </LIST_G_WORKSHEET1_NAME>
    <LIST_G_WORKSHEET2_NAME>
    </LIST_G_WORKSHEET2_NAME>
    <LIST_G_REPORT>
    <G_REPORT>
    <REPORT/>
    <PERIOD_NUMBER>12</PERIOD_NUMBER>
    <SUM_SALARY_IND>N</SUM_SALARY_IND>
    <ENTITY_SEG>001</ENTITY_SEG>
    <ENTITY_DESC>Health</ENTITY_DESC>
    <SEG_1_HEADER>Entity:</SEG_1_HEADER>
    <SEG_2_HEADER>Program:</SEG_2_HEADER>
    <SEG_3_HEADER>Organization:</SEG_3_HEADER>
    <PAGEBREAK_SEG>001</PAGEBREAK_SEG>
    <PAGEBREAK_DESC>My Department</PAGEBREAK_DESC>
    <SECOND_SEG>72020</SECOND_SEG>
    <SECOND_DESC>Financial Services</SECOND_DESC>
    <THIRD_SEG>160013</THIRD_SEG>
    <THIRD_DESC>Human Resource Functions</THIRD_DESC>
    <CAT2>AC5100</CAT2>
    <CAT2_DESC>Goods and Services</CAT2_DESC>
    <CAT3>F50015</CAT3>
    <CAT3_DESC>Travel</CAT3_DESC>
    <ACCOUNT_PRECISION>54</ACCOUNT_PRECISION>
    <ACCOUNT_SEG>540300</ACCOUNT_SEG>
    <ACCOUNT_DESC>Accommodations &amp; Incidentals - In Province</ACCOUNT_DESC>
    <ACCOUNT_FUTURE_DESC>Accommodations &amp; Incidentals - In Province</ACCOUNT_FUTURE_DESC>
    <FUTURE/>
    <FUTURE_DESC/>
    <CURRENT_FORECAST_COLUMN>0</CURRENT_FORECAST_COLUMN>
    <APRIL>0</APRIL>
    <MAY>53</MAY>
    <JUNE>-53</JUNE>
    <JULY>0</JULY>
    <AUGUST>0</AUGUST>
    <SEPTEMBER>0</SEPTEMBER>
    <OCTOBER>0</OCTOBER>
    <NOVEMBER>0</NOVEMBER>
    <DECEMBER>0</DECEMBER>
    <JANUARY>0</JANUARY>
    <FEBRUARY>0</FEBRUARY>
    <MARCH>0</MARCH>
    <YTD_ACTUALS>0</YTD_ACTUALS>
    <BUDGET_YEAR_COLUMN>0</BUDGET_YEAR_COLUMN>
    <VARIANCE_ACTUAL_FROM>0</VARIANCE_ACTUAL_FROM>
    <PERCENT_SPENT_OF/>
    </G_REPORT>
    <G_REPORT>
    <REPORT/>
    <PERIOD_NUMBER>12</PERIOD_NUMBER>
    <SUM_SALARY_IND>N</SUM_SALARY_IND>
    <ENTITY_SEG>001</ENTITY_SEG>
    <ENTITY_DESC>Health</ENTITY_DESC>
    <SEG_1_HEADER>Entity:</SEG_1_HEADER>
    <SEG_2_HEADER>Program:</SEG_2_HEADER>
    <SEG_3_HEADER>Organization:</SEG_3_HEADER>
    <PAGEBREAK_SEG>001</PAGEBREAK_SEG>
    <PAGEBREAK_DESC>My Department</PAGEBREAK_DESC>
    <SECOND_SEG>72020</SECOND_SEG>
    <SECOND_DESC>Financial Services</SECOND_DESC>
    <THIRD_SEG>160013</THIRD_SEG>
    <THIRD_DESC>Human Resource Functions</THIRD_DESC>
    <CAT2>AC5100</CAT2>
    <CAT2_DESC>Goods and Services</CAT2_DESC>
    <CAT3>F50035</CAT3>
    <CAT3_DESC>Supplies and Services</CAT3_DESC>
    <ACCOUNT_PRECISION>52</ACCOUNT_PRECISION>
    <ACCOUNT_SEG>522200</ACCOUNT_SEG>
    <ACCOUNT_DESC>Rent of Photocopiers</ACCOUNT_DESC>
    <ACCOUNT_FUTURE_DESC>Rent of Photocopiers</ACCOUNT_FUTURE_DESC>
    <FUTURE/>
    <FUTURE_DESC/>
    <CURRENT_FORECAST_COLUMN>0</CURRENT_FORECAST_COLUMN>
    <APRIL>0</APRIL>
    <MAY>0</MAY>
    <JUNE>0</JUNE>
    <JULY>0</JULY>
    <AUGUST>0</AUGUST>
    <SEPTEMBER>25</SEPTEMBER>
    <OCTOBER>-25</OCTOBER>
    <NOVEMBER>0</NOVEMBER>
    <DECEMBER>0</DECEMBER>
    <JANUARY>0</JANUARY>
    <FEBRUARY>0</FEBRUARY>
    <MARCH>0</MARCH>
    <YTD_ACTUALS>0</YTD_ACTUALS>
    <BUDGET_YEAR_COLUMN>0</BUDGET_YEAR_COLUMN>
    <VARIANCE_ACTUAL_FROM>0</VARIANCE_ACTUAL_FROM>
    <PERCENT_SPENT_OF/>
    </G_REPORT>
    <G_REPORT>
    <REPORT/>
    <PERIOD_NUMBER>12</PERIOD_NUMBER>
    <SUM_SALARY_IND>N</SUM_SALARY_IND>
    <ENTITY_SEG>001</ENTITY_SEG>
    <ENTITY_DESC>Health</ENTITY_DESC>
    <SEG_1_HEADER>Entity:</SEG_1_HEADER>
    <SEG_2_HEADER>Program:</SEG_2_HEADER>
    <SEG_3_HEADER>Organization:</SEG_3_HEADER>
    <PAGEBREAK_SEG>001</PAGEBREAK_SEG>
    <PAGEBREAK_DESC>My Department</PAGEBREAK_DESC>
    <SECOND_SEG>72020</SECOND_SEG>
    <SECOND_DESC>Financial Services</SECOND_DESC>
    <THIRD_SEG>160118</THIRD_SEG>
    <THIRD_DESC>Org 1</THIRD_DESC>
    <CAT2>AC5100</CAT2>
    <CAT2_DESC>Goods and Services</CAT2_DESC>
    <CAT3>F50035</CAT3>
    <CAT3_DESC>Supplies and Services</CAT3_DESC>
    <ACCOUNT_PRECISION>52</ACCOUNT_PRECISION>
    <ACCOUNT_SEG>525400</ACCOUNT_SEG>
    <ACCOUNT_DESC>General -Telephone</ACCOUNT_DESC>
    <ACCOUNT_FUTURE_DESC>General -Telephone</ACCOUNT_FUTURE_DESC>
    <FUTURE/>
    <FUTURE_DESC/>
    <CURRENT_FORECAST_COLUMN>84</CURRENT_FORECAST_COLUMN>
    <APRIL>0</APRIL>
    <MAY>0</MAY>
    <JUNE>0</JUNE>
    <JULY>0</JULY>
    <AUGUST>0</AUGUST>
    <SEPTEMBER>0</SEPTEMBER>
    <OCTOBER>0</OCTOBER>
    <NOVEMBER>0</NOVEMBER>
    <DECEMBER>84</DECEMBER>
    <JANUARY>0</JANUARY>
    <FEBRUARY>0</FEBRUARY>
    <MARCH>0</MARCH>
    <YTD_ACTUALS>84</YTD_ACTUALS>
    <BUDGET_YEAR_COLUMN>0</BUDGET_YEAR_COLUMN>
    <VARIANCE_ACTUAL_FROM>0</VARIANCE_ACTUAL_FROM>
    <PERCENT_SPENT_OF>1</PERCENT_SPENT_OF>
    </G_REPORT>
    </LIST_G_REPORT>
    </XXFIN_PSBE2_XML>

    Additional info on the grouping problem:
    I tried removing the third_seg group and the second_seg group started working properly. I then deleted the second_seg group and the pagebreak_seg started working. So as long as I have only one level of grouping below cat3 the output is correct. Unfortunately I need those additional levels, so if anyone has any suggestions, I would really appreciate it.
    Alternately if someone knows of a sample with mutliple levels of grouping, I would appreciate a link. There was a link on the the BI Blog but it doesn't work any longer.
    Thanks for your help.

  • Problem with Photomerge group

    Hi,
    I'm trying the photomerge group. When I have finished,I click on "Finished" and the I am back in the main menu with the original photos. Where is the merged one ???
    Thanks

    I, too, had some problems when using Photomerge Group Shot to demonstrate it when I was using version 11.  In versions 9 and 10 (using the exact same image file) I had a very neat merge.
    Last Saturday, it didn't line up nearly as well.
    Could this be a shortcomig in 11 when this "trick" was moved from the guided mode to the "Expert" mode?
    Mary Lou

  • Problem with column groups on Interactive Report

    Hi
    I am hoping that someone can help with this problem.
    I am attempting to control both the grouping and ordering within each group of fields in the single row view of an interactive report. Creating column groups appears to be OK at first (sequence, name and description) but if I then attempt to edit the group, the sequence box appears to be empty even though it was filled with a unique number at the time of creating the group.
    In addition, any changes to the order of the fields within the group made using the shuttle box at the bottom of the screen don't seem to be saved even to the Apply Changes button is pressed.
    Anybody know what is happening here and can anyone suggest how to control both the order of the groups and ordering within each group?
    Thanks in anticipation
    Martin

    Moun wrote:
    I am dealing with many interactive projects in my application. Sometimes I have to add a column to the interactive report. When I do so, the column doesn't appear in the interactive report...On the page I have to click on "Actions" then go to "Selected columns" and then display it ! the problem is when I logout and login again
    the column desappear again and I have to do samething again and again...Is there a way to set it appear by defaul always ???After adding new columns to an existing IR, you need to select them for display as a developer, and save the new report as the Primary Default.

  • Problem with "new Group()" performance

    Hello
    I need to create many spark.components.Group objects (more than 10000) and have some performance problem. In many cases new object was created in 0-5 ms, but sometimes in 266-700 ms.
    This is output from my test app (code below):
    [Time] - [Count]
    0 - 91035
    1 - 7308
    2 - 393
    3 - 365
    4 - 408
    5 - 404
    6 - 66
    7 - 3
    8 - 3
    9 - 2
    10 - 1
    12 - 1
    13 - 1
    16 - 1
    19 - 1
    24 - 1
    39 - 1
    63 - 1
    67 - 1
    210 - 1
    260 - 1
    266 - 1
    690 - 1
    And code:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:s="library://ns.adobe.com/flex/spark"
    xmlns:mx="library://ns.adobe.com/flex/halo" minWidth="1024" minHeight="768" applicationComplete="windowedapplication1_applicationCompleteHandler(event)">
        <fx:Script>
        <![CDATA[
            import mx.events.FlexEvent;
            import spark.components.Group;
            private var container:Array = new Array();
            protected function windowedapplication1_applicationCompleteHandler(event:FlexEvent):void {
                var map:Object = new Object();
                var i:int, start:int, stop:int;
                var grp:Group;
                for(i = 0; i != 100000; i++) {
                    start = new Date().getTime();
                    grp = new Group();
                    stop = new Date().getTime();
                    if (!map.hasOwnProperty(stop - start)) {
                        map[stop - start] = 0;
                    map[stop - start]++;
                    container.push(grp);
                for (var key:* in map) {
                    trace(key + " - " + map[key]);
        ]]>
        </fx:Script>
    </s:Application>
    Can you test this code in yours computers?
    Anybody know where is a problem? I don't have any applications run in background. etc...
    Testes on SDK: 4.0 (default in Flash Builder 4 b 2), 4.0 build 13875, 4.1 build 14741
    Mariusz Dalewski

    Here are my results with a few classes:
    spark.components.Group:
    0 - 87676
    1 - 10563
    2 - 340
    3 - 346
    4 - 349
    5 - 480
    6 - 222
    7 - 6
    8 - 4
    9 - 1
    10 - 1
    11 - 1
    76 - 1
    13 - 1
    14 - 2
    16 - 1
    12 - 1
    407 - 1
    472 - 1
    26 - 1
    94 - 1
    31 - 1
    mx.containers.Canvas:
    0 - 79601
    1 - 18534
    2 - 287
    3 - 258
    4 - 284
    5 - 383
    6 - 328
    7 - 243
    8 - 42
    9 - 11
    130 - 1
    11 - 2
    324 - 1
    13 - 2
    14 - 3
    10 - 3
    18 - 1
    12 - 9
    21 - 1
    741 - 1
    504 - 1
    27 - 2
    28 - 1
    351 - 1
    mx.core.UIComponent:
    0 - 89460
    1 - 8748
    2 - 337
    3 - 382
    4 - 317
    5 - 527
    6 - 209
    7 - 3
    8 - 2
    9 - 3
    42 - 1
    99 - 1
    12 - 1
    462 - 1
    14 - 2
    15 - 1
    116 - 1
    118 - 1
    124 - 1
    30 - 1
    31 - 1
    Sprite:
    0 - 98957
    1 - 1030
    2 - 1
    5 - 11
    6 - 1
    spark.primitives.Rect:
    0 - 99598
    1 - 402
    spark.primitives.supportClasses.GraphicElement:
    0 - 99598
    1 - 402
    As Bonzo mentioned this doesn't seem to be a Group problem as Canvas also has some long times.  UIComponent is lighter than both Canvas and Group and it still has  a couple entries longer than a few ms.  Notice that using Sprite or GraphicElement is much faster.  GraphicElement is very lightweight, are you able to use it instead of a Group? 100,000 Groups seems like a lot, can you explain your use case, maybe there is a way to use virtual layout to minimize the number needed at any one time?
    I think the container.push() call might be causing a lot of the delay, if you use:
    private var container:Array = new Array(100000);
    container[i] = grp;
    You should see less large delay times.  It might be good to try using a Vector instead of an Array like Bonzo suggested too.

  • Problem with Account Group while creating a Customer

    Dear Friends,
    I am trying to create a customer with a specific Account Group. But when I try to save this customer I get an error message
    Acct group XXX uses internal no.assignment; leave blank.
    I have copied my account group (XXX)  from 001 Sold-to-Party.
    Request you to please guide me why this error is and what is the resolution for the same.
    Regards,
    Lalit Kabra
    PS : Pardon me for basic question as I am  trying to learn SD.

    Hi,
       This error means this Account group has the number range which is internal(Sold to party has the Internal assignment only). This means system gives the number automatically. If you want to use your own numbers ,them you change the assigned number range, go to "OVT0" and select the number range which is external. This should solve your problem.
    Regards
    Ram Pedarla

  • Problem with mailing Groups from Address book

    I have been using Groups in my address book for a while - adding people to Groups and using the Group name to email them all at once.  Recently (since turning on iCloud, though I don't know if that is the cause) I am finding the following problem.  I add new people to my address book.  I add those new people to a Group.  I go to mail and use the Group name... but the new people are not in the email list (when I drill into it).  If I go to the address book and use control-click and the drop-down box to select the option to send a mail to the Group, the same thing happens.  Any suggestions out there?  Thanks.

    I am having a similar problem. All the addresses are correct, and I know this because I use them all the time with no errors. BUT when bundled into a group - actually any group I set up I cannot send successfully. I have two groups in my mail program and neither will work.

  • Problem with material group in task list

    Hi Experts,
    We have created a task list with external operation assigned with specific material group, say 'x'. This task list  is assigned to maintenance strategy which in turn assigned to maintenance plan. This Scheduled maintenance plan has generated many maintenance orders. After that we deleted the material group which was assigned to task list and assigned new material group to the task list. But now system is not generating maintenance orders from this task list as it is giving error message that "the old material group does not exist"  Message no. SE419
    Even though we changed the material group in that task list system still considering old material group.
    Could you please help us to get ride of this problem?
    Thanks and Best Regards,
    Praveen

    Praveen,
    The change that you had made on the task list is effective from the" Key date"date that's entered on the initial screen.That Is probably why this is causing an issue at your end.
    Try changing the task list once again by back dating the "KEY DATE" on the initial screen of the transaction ,to a date before the "Plan date" of the MP. This should solve your problem.If you are not able to change this, then create a new task list with a back dated "key date" with all the other details remaining the same and and assign it to the plan.
    Regards
    Narasimhan

Maybe you are looking for