Sort Loaded Groups in Portal According to Source Filename Property

Hello,
I am using a script to load 4 files in th Data portal and later graph some selected channels. The problem is that when I choose the files through a dialog box, the order gets mixed up in the data portal. I would like the files to be sorted according to the source filename. Here is the loading script:
Dim i, intLoop, Group,b
Call Data.Root.Clear()
If FileDlgShow(DataReadPath,"TDMS Files,*.tdms","DataSelection",True) = "IDOk" Then
For i = 0 to UBound(FileDlgNameList)
Call DataFileLoad(FileDlgNameList(i),"TDMS","Load") DataFilename,FileImportFilter,ImportAction
Next
End If
 Is there any way I can do that?
Thank you!
Solved!
Go to Solution.

winner wrote:
Hi Saloutios,
You can sort the FileDlgNameList Array for example using the BubbleSort algorithm:
Sub BubbleSort(arr)
Dim value, numEls
Dim index
Dim firstItem
Dim indexLimit, lastSwap
' account for optional arguments
numEls = UBound(arr)
firstItem = LBound(arr)
lastSwap = numEls
Do
indexLimit = lastSwap - 1
lastSwap = 0
For index = firstItem To indexLimit
value = arr(index)
If (value > arr(index + 1)) Then
' if the items are not in order, swap them
arr(index) = arr(index + 1)
arr(index + 1) = value
lastSwap = index
End If
Next
Loop While lastSwap
End Sub
The input array is sorted after you called that procedure.
Hope this helps
Winfried
Hi Winfried,
Thank you very much for the reply. That worked just fine for me!
Cheers!

Similar Messages

  • Source Filename for Boilerplate image

    Hello - I am trying to use someone elses report in Oracle Reports 10g. They have many images in the report which, when I try to go into paper layout, cannot be found. Currently the property just lists the image name (ex - logo.jpg), and not the entire path. Is there something I can setup in my registry so it knows where to look for these images? I do not want to specify the entire path in the Source Filename property. I know in Forms 6i I added an icon path to my ui_icon key so I wondered if there was some other key like that for Reports 10g. Thank you very much for your help.

    Hello,
    You can use the REPORTS_PATH variable :
    http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwcontxt/props/pi_bp_source_filename.htm
    Usage notes
    To ensure the portability of your reports, you can take advantage of the Reports Builder-specific environment variable called REPORTS_PATH. You can use this variable to specify the default directory or directories where you want Reports Builder to search for external files you use in your reports (for example, external queries, boilerplate, and PL/SQL). This prevents the need to hardcode directory paths in your report.
    Regards

  • Use of Loading Group in TLB to sort product

    Hi Experts,
    Currently we are using Loading Group in Product Master to prioritize Product for TLB. I would like to know about sorting logic where Loading Group is same for multiple products. How system does sort in this type of scenario?
    E.g.
    Sr.No.     Product     Loading Group
    1     10002577     AC80
    2     10002813     AE60
    3     10002815     AE60
    4     10002816     AE60
    5     10002817     AE60
    6     10002869     AI60
    7     10000505     AI60
    8     10003318     AI60
    9     10002872     AI60
    10     10002873     AI60
    When TLB sort product, it will give first priority to AC80 product, then AE60 & then AI60 but how system sort products which falls in AE60 OR AI60? Which criteria system use to sort products if loading group is same?
    Can you please help me out to understand the sorting logic?
    Thanks & regards
    Sujay Joshi

    Hi Sujay,
    The TLB sorts the loading groups and then the products within the loading group alphabetically.
    This is the reason why when TLB sorts the products, it gives first priority to AC80 product, then AE60 & then AI60 .
    Regards,
    Nikhil

  • Exporting and Importing Portal users from Source system to Target system

    Hi All,
    I have exported all portal users from source portal in to file Users.txt do i need to convert this file in to some other format so that i can import these users in Target portal.
    any links documents
    Regards,
    Murali

    Hi,
    If you look in to User.txt
    I have role also i have deleted role in User.txt uploded file with rest of the otherdata including group it it able to create users.
    so in Nut shell let's say
    1. UID-Murali
       Role- Manager
      Group- HRGroup
    user existing  in DEV and i want to trnasfer data to PRD
    Role:Manger should exist in PRD, and group is not mandatory optional
    but the link http://help.sap.com/saphelp_nw70/helpdata/EN/ae/7cdf3dffadd95ee10000000a114084/frameset.htm
    says while uploading users role is optional it throws waring but i got error.
    i am bit confused.
    Now let's sau there are 10 users, 10 roles and 2 groups in source system if i want to export all users,roles,groups to target system what sequnce i have to follow without getting any error , warining is there any restriction on number of users, roles, groups i know file size should be less than 1MB.
    Points are on the way.
    Regards,
    Murali

  • How to change datasource of a group in portal

    Hello Evryone,
    I am using EP7.0
    When I am creating a new group under User Administration->Identity Management ->Create new Group,
    a new group gets created, but the data source of this group is "UME Datasource".
    I want to change the data source of this group. The available data sources when I search the groups are "R3_ROLE_DS", "UME Datasource", "Built-in Groups Adapter".
    But there is no way that I can create a group with , say R3_ROLE_DS data source. On creation of a new group it just asks for a group name and group description. It always creates a group with a default data source "UME Datasource".
    Can anyone help me on this.
    Thanks
    Vikram

    Thanks Bala,
    I do not have much knowledge about UME so kindly bear with me.
    The problem that I am facing is : when I search for groups in portal, then I am able to view/search groups that are of type R3_ROLE_DS( ie these groups have been created in backend) as well as groups with type :"UME DATABASE".
    I just want to know, that if I want to create a group in portal with type R3_ROLE_DS, then is it possible or not?
    Basically, the issue is that groups created in backend are vsible/can be used in portal, but can I create groups through portal that can be visible/used in backend?
    Vikram

  • Create view sorted by group frequency

    Hi -
    I am wondering what the best way to sort by the frequency of a group is.  (IE - I would like to have the items that occur the most on the top)
    Example of what the view would look like grouped by Item and sorted by count of occurrences of that item:
    Count=16
    Item:Item 100 (7)
    Item:Item 101 (5)
    Item:Item 204 (3)
    Item:Item 105 (1)
    etc...
    What is the best way to accomplish this
    Jesse A. Brandenburg

    Hi,
    According to your description, my understanding is that you want to sort the grouped value.
    You can do it by modifying your XSLT Data View.
    For detailed information, you can refer to the link:
    http://tudorolariu.blogspot.jp/2008/10/custom-group-order-in-sharepoint-list.html (pay attention to Tudor Olariu's comment)
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Sorting vs. grouping

    Does a crystal report run faster if using sorting vs. grouping? 
    I have a report that takes 5 1/2 hours to open.  The report currently has 10 groups.
    Invoice #
    Item Type
    Cost Code
    Class
    Category
    Item Number
    Order Number
    Seq #
    Rec Type
    Bill Date
    I actually suppress each header but I do use totals in the Cost Code footer and the Invoice # footer.  I am sure there are other performance options I can look at but wondered if there was a significant impact by using groups vs. changing the report to use sorting.  Note that the report performs the grouping on the PC as I am passing it an ADO.net dataset.
    Thank you,
    Chad

    Hi Chad
    I understand your requirement of improving the performance of the report.However,there are some issues regarding your query of grouping v/s sorting.
    Observations:
    1) As per my understanding 'Grouping' is a concept of binding the data together and presenting it in the form of identifiable bunches(groups).
    2) And sorting is a concept where user arranges the data in the ascending/descending order so that records could be easily identified in a sequence.
    3) Unfortunately,in both the situations we do not have any known ways of improving the report performance unless ofcourse you prefer the "Perform Grouping on Server" option in the "Database" menu.
    Suggestions:
    4) Something that could be tried is to introduce a group selection formula which could show up only those groups which are mostly required all the time and filter out the ones which are not that important(or required).
    5) Another thing that could be tried is to break the data into sub reports.This could reduce the load on one report and the entire report loading operation will be divided into Pre-pass #2 and Pass #2
    Let me know if that helps.
    Thanks

  • Dynamic groups in Portal?

    Hi,
    Is it possible to use the OID dynamic groups in Portal?
    It seems that the users of a dynamic group can't been seen in Portal: could someone tell me more about that?
    When will the dynamic groups be implemented in Portal?
    Thanks,
    Magali

    This functionality will not be available to 10.1.2 release 3 which won't be seen until mid 2006 according to a discussion we have had with Oracle.

  • Sorting and Grouping -Two months in this query

    Hi All,
    many thanks for jeneesh
    i am doing project for construction company, i face this problem in grouping points according to relation between these points the
    Relation is from 1 to 100. If the point between this rang that mean there is relation between these points.
    this question already solve but the results not correct when the table has more data.
    SQL - sorting and grouping.
    from jeneesh and many thanks for him.
    This example for more clarifications
    for example i have these points
    id   location         percentage   comments
    1     loc 1,2          20%                that mean point  1 and 2 close to each other by 20%
    2     loc 1,3          40%              that mean point 1 and 3 close to each other byy 40%
    3     Loc 8,6          25%               that mean point 8 and 6 close to each other by 25%
    4     Loc  6,10        20%
    5     LOC 11,10        10 %
    6     LOC 15,14         0%Also , we can see the relation between these points as follwoing
    - points 1,2,3 in one group why becuase 1,2 has relation and 1,3 has relation that mean 1,3 also has hidden relation.
    - Points 6,8,10,11 in second group there are relations between them .
    - but no relation between 1 or 2 or 3 with any point of 6,8,9,10,11
    - as well as no relation between 15, 14 that mean 14 in third group and 15 in fourth group.
    whati need?
    to group the points that has relation according to percentage value ascending
    The most important part is to group the points. SO , the below query the gropuing is not correct.
    I have the follwoing table with data
    drop table temp_value;
    create table temp_value(id number(10),location varchar2(20), percentage number(9));
    insert into temp_value values  (1,'LOC 1,2',10);
    insert into  temp_value values (2,'LOC 1,3',0);
    insert into  temp_value values (3,'LOC 1,4',0);
    insert into  temp_value values (4,'LOC 1,5',0);
    insert into  temp_value values (5,'LOC 1,6',0);
    insert into  temp_value values (6,'LOC 2,3',0);
    insert into  temp_value  values(7,'LOC 2,4',0);
    insert into  temp_value values (8,'LOC 2,5',30);
    insert into  temp_value values (9,'LOC 2,6',0);
    insert into  temp_value values (10,'LOC 3,4',0);
    insert into  temp_value values (11,'LOC 3,5',0);
    insert into  temp_value values (12,'LOC 4,5',40);
    insert into  temp_value values (13,'LOC 4,6',0);
    insert into  temp_value values (14,'LOC 6,7',40);
    insert into  temp_value values (15,'LOC 7,2',0);
    insert into  temp_value values (16,'LOC 8,2',60);
    insert into  temp_value values (17,'LOC 8,3',0);
    insert into  temp_value values (18,'LOC 3,1',0);
    insert into  temp_value values (19,'LOC 9,6',30);
    insert into  temp_value values (20,'LOC 11,2',0);
    insert into  temp_value values (22,'LOC 12,3',10);
    insert into  temp_value values (23,'LOC 19,3',0);
    insert into  temp_value values (24,'LOC 17,3',0);
    insert into  temp_value values (24,'LOC 20,3',0);when i used this query , the results is not correct
    with t as
        (select percentage,loc1,loc2,sum(case when percentage = 0 then 1
                           when loc1 in (l1,l2) then 0
                       when loc2 in (l1,l2) then 0
                       when l1 is null and l2 is null then 0
                       else 1
                  end) over(order by rn) sm
        from (     select id,location,percentage,
                           regexp_substr(location,'\d+',1,1) LOC1,
                          regexp_substr(location,'\d+',1,2)  LOC2,
                         lag(regexp_substr(location,'\d+',1,1))
                          over(order by percentage desc) l1,
                          lag(regexp_substr(location,'\d+',1,2))
                          over(order by percentage desc) l2,
                  row_number() over(order by percentage desc) rn
          from temp_value
          order by percentage desc
       select loc,min(sm)+1 grp
         from(
           select loc,rownum rn,sm
           from(
           select percentage,decode(rn,1,loc1,loc2) loc,sm
           from t a,
                (select 1 rn from dual union all
                 select 2 from dual ) b
           order by percentage desc,decode(rn,1,loc1,loc2) asc
        group by loc
       order by min(sm),min(rn);the results
    SQL> /
    LOC                         GRP
    2                             1
    8                             1
    6                             2
    7                             2
    4                             3
    5                             3
    9                             4
    1                             5
    12                            6
    3                             6
    11                           13
    LOC                         GRP
    19                           14
    17                           15
    20                           22
    14 rows selected.SQL>
    but the correct is
    Location        group No
    2                  1
    8                  1
    4                  1
    5                  1
    1                  1
    6                  2
    7                  2
    9                  2
    12                 3
    3                  3
    19                 4
    17                 5
    20                 6many thanks in advance.
    Edited by: Ayham on Nov 30, 2012 3:07 AM

    Thanks,
    i want the sorting for each group DESC not all groups to gather
    when i used your query i get
    SQL> with connects as (
      2  select distinct
      3   loc1
      4  ,loc2
      5  ,dense_rank() over (order by connect_by_root(loc1)) grp
      6  from temp_value
      7  start with
      8  percentage != 0
      9  connect by nocycle
    10  (prior loc2 = loc1
    11  or
    12  prior loc1 = loc2
    13  or
    14  prior loc1 = loc1
    15  or
    16  prior loc2 = loc2)
    17  and
    18  percentage != 0
    19  )
    20  ,  got_grp AS
    21  (
    22     select
    23      loc
    24      ,dense_rank() over (order by grp) grp
    25      from (
    26      select
    27       loc
    28       ,max(grp) keep (dense_rank first order by grp) grp
    29       from (
    30       select
    31        loc1 loc
    32        ,grp
    33        from connects
    34        union
    35        select
    36         loc2
    37         ,grp
    38         from connects
    39         )
    40         group by
    41         loc
    42        )
    43  )
    44  SELECT       loc
    45  ,    grp
    46  FROM         got_grp
    47  ORDER BY  COUNT (*) OVER (PARTITION BY grp)   DESC
    48  ,            grp
    49  ,    loc
    50  ;The output is
    LOC                         GRP
    1                             1
    2                             1
    4                             1
    5                             1
    8                             1
    6                             3
    7                             3
    9                             3
    12                            2
    3                             2
    10 rows selected.but i want it like this
    Loc  Grp
    2      1
    8      1
    4      1
    5      1
    1      1
    12    2
    3      2
    6      3
    7      3
    9      3So , the sorting for each group Separate based on the percentage column.
    many thanks
    Edited by: Ayham on Nov 30, 2012 9:43 AM

  • Using member sorting and grouping with two reports sharing rows

    Hi!
    I have a problem with one report and I need some help or advise here.
    I have two dimensions with dynamic expansion in rows (PRODUCT, MATERIAL), and I use the option Member Sorting and Grouping at Member selector to obtain the total amount of PRODUCT group by PARENTH1:
    PRODUCT               MATERIAL          AMOUNT
    TOTAL PROD_A-X                                   100
    PROD_A_A             MAT1                          22
    PROD_A_B             MAT1                          50
    PROD_A_A             MAT2                          28 
    TOTAL PROD_B-X                                   120
    PROD_B_A             MAT1                          30
    PROD_B_A             MAT2                          50
    PROD_B_B             MAT2                          40
    This works fine if I only have one report, but I need to create another one sharing the row and page axis with the Default Report, when I do that the option Member Sorting and Grouping doesn't work. I really need to have two reports with shared rows and also the summation by PARENTH1, how can I do that?
    Thank you very much

    Hi!
    I have a problem with one report and I need some help or advise here.
    I have two dimensions with dynamic expansion in rows (PRODUCT, MATERIAL), and I use the option Member Sorting and Grouping at Member selector to obtain the total amount of PRODUCT group by PARENTH1:
    PRODUCT               MATERIAL          AMOUNT
    TOTAL PROD_A-X                                   100
    PROD_A_A             MAT1                          22
    PROD_A_B             MAT1                          50
    PROD_A_A             MAT2                          28 
    TOTAL PROD_B-X                                   120
    PROD_B_A             MAT1                          30
    PROD_B_A             MAT2                          50
    PROD_B_B             MAT2                          40
    This works fine if I only have one report, but I need to create another one sharing the row and page axis with the Default Report, when I do that the option Member Sorting and Grouping doesn't work. I really need to have two reports with shared rows and also the summation by PARENTH1, how can I do that?
    Thank you very much

  • Fiori Launchpad Error: Failure - Unable to load groups Resolved!!!!

    Hey Good Fellas,
    This is a solution rather than a discussion, which i thought to do to with a kind generosity of spirit to give back to the community.
    It gives me immense pleasure and happiness to write this particular post, because it is through SCN only i have been able to find the solution.
    Ok, let's get down to the Business quickly, shall we?
    I have been configuring Fiori App - Approve Purchase Orders. All the tasks for this have been done from SAP Help Site.
    Recently I upgraded the ERP/Gateway (Its an embedded deployment) to EHP 7 and UI to SP09, post which the Fiori Launchpad started giving the below error.
    If you look around the SCN, you will probably hit across these threads and so did I.
    http://scn.sap.com/thread/3571448
    SAP Fiori - UI Add-on SP09 update troubleshooting
    With the first thread, I tried everyone's solution and suggestions which had worked for others, but it didn't for me.
    With second thread (Excellently posted by Masayuki Sekihara), it started off with lots of efforts and double-checks applying all of these notes hoping that it would resolve the issue. But I had done all the steps 1-8 and still didn't get the solution.
    Besides the above two mentions I did umpteen number of other ridiculous things like implementing this note, that note, De-implementing another of the notes and everything i found as possible solutions on the Web.
    Now, the breakthrough here is checking the errors in /IWFND/ERROR_LOG. Well, on the browser it used to give error 'Failure - Unable to Load Groups' while at the server side, actual error was something unusual and remotely not related to what the error looked like in the browser. In the back-end, I was getting the error "Data Provider implementation 'ZINTEROP_MODEL_0001_BE' '01' 'DEFAULT' does not exist". And this is something i know how to correct.
    So just keep looking for the errors in /IWFND/ERROR_LOG and shift your focus there. That's really a good place to trouble-shoot.
    And for the record to take care of the error 'Data Provider implementation 'ZINTEROP_MODEL_0001_BE' '01' 'DEFAULT' does not exist' you have to assign the DPC (Data Provider Class) to DMC (Data Modelling Class) correctly by navigating to IMG - SAP Netweaver - Gateway - Former Development - Local OData Channel Development - Registration - Assign Data Provider to Data Model. There you define the Data provider with the correct Software Version and Voila you are all set! You don't have to worry about the duplicate entry with another Software version, your correct software version is the one you have defined in the System Alias which you are using inside the service, which is generally DEFAULT.
    I am able to get inside the Fiori Launchpad now (I was quite at edge to really give up as all the possible solutions had been ruled out for me ) and do see the tiles of the apps configured.
    I hope this is going to be a good take-away for others who are having Odata handling issues.
    The floor is all yours now for your kind feedback. Be gentle with me, I am a very shy blogger.
    Best Regards,
    Akshay

    Steve,
    If you still have the error, this is what I did to resolve mines.
    1) Goto SPRO - SAP Netweaver - Gateway - Former Development - Local OData Channel Development - Registration - Assign Data Provider to Data Model
    2) Find out the entry for 'ZINTEROP_MODEL_0001_BE'
    3) Copy that entire row in a notepad for all the fields
    4) Create new Entry with all the fields, except change the Software Version to DEFAULT (As that's what missing for you'
    5) Save and give that another try.
    This is what I exactly wrote in my solution as well.
    Akshay wrote:
    And for the record to take care of the error 'Data Provider implementation 'ZINTEROP_MODEL_0001_BE' '01' 'DEFAULT' does not exist' you have to assign the DPC (Data Provider Class) to DMC (Data Modelling Class) correctly by navigating to IMG - SAP Netweaver - Gateway - Former Development - Local OData Channel Development - Registration - Assign Data Provider to Data Model. There you define the Data provider with the correct Software Version and Voila you are all set! You don't have to worry about the duplicate entry with another Software version, your correct software version is the one you have defined in the System Alias which you are using inside the service, which is generally DEFAULT.
    A screen-shot perhaps helps you more.
    Let the other duplicate entry with Software Version other than Default be there. Important is that the software version that you have defined in your alias must be the one over here.
    Let me know how that goes?
    -Akshay

  • Sorting and Grouping in Projects View

    In Projects view, when either of two of the three grouping options is selected, there are two sorts in effect: the groups themselves are sorted, and the contents of each group are sorted. These sorts are handled differently, depending on the grouping selected and the sort order selected.
    (It appears that there is a bit of the old Apple voodoo in here. The results are arbitrary , but they seem to have been carefully chosen to meet most users expectations. That is to say -- and this is an Apple programming trait -- the arbitrariness is faithful to the expected users' needs, not to logic.)
    There are four sorts available, and three groupings
    Sorts:
    . Name
    . Date -- Oldest First
    . Date -- Newest First
    . Library
    Groupings:
    . Ungrouped
    . Group by year
    . Group by folder
    So that's twelve possible ways to display Projects in Projects view.
    Let's look at a few of them. I'm going to refer to the groups as "Year groups" or "Folder groups" and to the contents of the groups as "Projects". So there is sorting of the groups, and sorting of the contents of the groups (same as "within the group"). These I'll refer to as "Groups sorting" and "Projects sorting".
    Sort: Date -- Newest First
    Grouping: Group by Year
    Result: Year groups are sorted in the same order as Projects. Projects which span multiple years are put in multi-year groups. Projects with the same spans are grouped together.
    Sort: Date -- Oldest First
    Grouping: Group by Year
    Results are as expected; a reversal of the "Newest First" sort, but with the same groups: Year groups are sorted in the same order as Projects. Projects which span multiple years are put in multi-year groups. Projects with the same spans are grouped together.
    Sort: Name
    Grouping: Group by Year
    Result: Year groups are sorted by year, oldest first. Projects which span multiple years are put in multi-year groups. Projects with the same spans are grouped together. Projects are sorted alphabetically, descending.
    Sort: Library
    Grouping: Group by year
    Result: Year groups are sorted by year, oldest first. Projects which span multiple years are put in multi-year groups. Projects with the same spans are grouped together. Projects are listed in the order they occur in the Library structure shown on the Library tab of the Inspector. (Note that this last is literal: a Project named "Aardvark Close-ups" if it's in a Folder named "Zoography" will be listed after all the projects in "Yellow Paintings" and all the Projects in "X-rays, thoracic" if those Projects are in alphabetical order by Folder name in the Library. You can see all the Projects in your Library listed on the Library tab of the Inspector by "{Option}+clicking" the disclosure triangle next to "PROJECTS & ALBUMS" twice.)
    Sort: Date - Newest First
    Grouping: Group by folder
    Result: Folder groups are sorted alphabetically by name, descending. Projects are sorted by date, newest first. Clicking a Folder's name in the Project viewer drills down to show the sub-Folders and Projects in the clicked Folder.
    Sort: Date - Oldest First
    Grouping: Group by folder
    Result: Folder groups are sorted alphabetically by name, descending. Projects are sorted by date, oldest first. Clicking a Folder's name in the Project viewer drills down to show the sub-Folders and Projects in the clicked Folder (where, again, Folder groups are sorted alpha-name, descending, and Projects are sorted alpha-name, descending).
    Sort: Name
    Grouping: Group by folder
    Result: Folder groups are sorted alphabetically by name, descending. Projects are sorted alphabetically by name, descending. Clicking a Folder's name in the Project viewer drills down to show the sub-Folders and Projects in the clicked Folder (where, again, Folder groups are sorted alpha-name, descending, and Projects are sorted alpha-name, descending).
    Sort: Library
    Grouping: Group by folder
    Result: Folder groups are sorted alphabetically by name, descending. Projects are listed in the order they occur in the Library structure shown on the Library tab of the Inspector (see note above). Clicking a Folder's name in the Project viewer drills down to show the sub-Folders and Projects in the clicked Folder (where, again, Folder groups are sorted alpha-name, descending, and Projects are listed in the order they appear in the Library).
    Ernie [asked:|http://discussions.apple.com/thread.jspa?threadID=2816124&tstart=0]
    +I see those icons but note that those projects in folders will be in different sections arranged alpha, and then date within. Am I correct on that?+
    The answer is, it depends.
    If "Group by year" is selected, the Groups-sorting will always be by date, regardless of the sort order specified. The Groups-sorting order will follow whatever is specified for the Projects sort order (or default to "oldest first").
    If "Group by folder" is selected, the Groups-sorting will always be alphabetical, descending, regardless of the sort order specified. (So if you use Projects view, take care in naming your Folders. Use prefixes if needed to force a desired alpha sort.)
    If "Ungrouped" is selected, there are no Groups and perforce no Groups-sorting.
    That's all I have to say on this topic (today).
    Message was edited by: Kirby Krieger

    In Projects view, when either of two of the three grouping options is selected, there are two sorts in effect: the groups themselves are sorted, and the contents of each group are sorted. These sorts are handled differently, depending on the grouping selected and the sort order selected.
    (It appears that there is a bit of the old Apple voodoo in here. The results are arbitrary , but they seem to have been carefully chosen to meet most users expectations. That is to say -- and this is an Apple programming trait -- the arbitrariness is faithful to the expected users' needs, not to logic.)
    There are four sorts available, and three groupings
    Sorts:
    . Name
    . Date -- Oldest First
    . Date -- Newest First
    . Library
    Groupings:
    . Ungrouped
    . Group by year
    . Group by folder
    So that's twelve possible ways to display Projects in Projects view.
    Let's look at a few of them. I'm going to refer to the groups as "Year groups" or "Folder groups" and to the contents of the groups as "Projects". So there is sorting of the groups, and sorting of the contents of the groups (same as "within the group"). These I'll refer to as "Groups sorting" and "Projects sorting".
    Sort: Date -- Newest First
    Grouping: Group by Year
    Result: Year groups are sorted in the same order as Projects. Projects which span multiple years are put in multi-year groups. Projects with the same spans are grouped together.
    Sort: Date -- Oldest First
    Grouping: Group by Year
    Results are as expected; a reversal of the "Newest First" sort, but with the same groups: Year groups are sorted in the same order as Projects. Projects which span multiple years are put in multi-year groups. Projects with the same spans are grouped together.
    Sort: Name
    Grouping: Group by Year
    Result: Year groups are sorted by year, oldest first. Projects which span multiple years are put in multi-year groups. Projects with the same spans are grouped together. Projects are sorted alphabetically, descending.
    Sort: Library
    Grouping: Group by year
    Result: Year groups are sorted by year, oldest first. Projects which span multiple years are put in multi-year groups. Projects with the same spans are grouped together. Projects are listed in the order they occur in the Library structure shown on the Library tab of the Inspector. (Note that this last is literal: a Project named "Aardvark Close-ups" if it's in a Folder named "Zoography" will be listed after all the projects in "Yellow Paintings" and all the Projects in "X-rays, thoracic" if those Projects are in alphabetical order by Folder name in the Library. You can see all the Projects in your Library listed on the Library tab of the Inspector by "{Option}+clicking" the disclosure triangle next to "PROJECTS & ALBUMS" twice.)
    Sort: Date - Newest First
    Grouping: Group by folder
    Result: Folder groups are sorted alphabetically by name, descending. Projects are sorted by date, newest first. Clicking a Folder's name in the Project viewer drills down to show the sub-Folders and Projects in the clicked Folder.
    Sort: Date - Oldest First
    Grouping: Group by folder
    Result: Folder groups are sorted alphabetically by name, descending. Projects are sorted by date, oldest first. Clicking a Folder's name in the Project viewer drills down to show the sub-Folders and Projects in the clicked Folder (where, again, Folder groups are sorted alpha-name, descending, and Projects are sorted alpha-name, descending).
    Sort: Name
    Grouping: Group by folder
    Result: Folder groups are sorted alphabetically by name, descending. Projects are sorted alphabetically by name, descending. Clicking a Folder's name in the Project viewer drills down to show the sub-Folders and Projects in the clicked Folder (where, again, Folder groups are sorted alpha-name, descending, and Projects are sorted alpha-name, descending).
    Sort: Library
    Grouping: Group by folder
    Result: Folder groups are sorted alphabetically by name, descending. Projects are listed in the order they occur in the Library structure shown on the Library tab of the Inspector (see note above). Clicking a Folder's name in the Project viewer drills down to show the sub-Folders and Projects in the clicked Folder (where, again, Folder groups are sorted alpha-name, descending, and Projects are listed in the order they appear in the Library).
    Ernie [asked:|http://discussions.apple.com/thread.jspa?threadID=2816124&tstart=0]
    +I see those icons but note that those projects in folders will be in different sections arranged alpha, and then date within. Am I correct on that?+
    The answer is, it depends.
    If "Group by year" is selected, the Groups-sorting will always be by date, regardless of the sort order specified. The Groups-sorting order will follow whatever is specified for the Projects sort order (or default to "oldest first").
    If "Group by folder" is selected, the Groups-sorting will always be alphabetical, descending, regardless of the sort order specified. (So if you use Projects view, take care in naming your Folders. Use prefixes if needed to force a desired alpha sort.)
    If "Ungrouped" is selected, there are no Groups and perforce no Groups-sorting.
    That's all I have to say on this topic (today).
    Message was edited by: Kirby Krieger

  • Delivery split for STO based on Material Loading Group

    Hello, I want to split the Delivery created from STO based on material loading group. I checked SAP Note:166397 and it requires copying routine. But this solution is not accepted and looking for other solutions. Please help with any user-exit or badi which can solve the purpose. Delivery needs to be created from VL10B transaction.
    Edited by: ananthula sumanth on Aug 6, 2010 9:12 AM

    The copy routine is designed for this purpose - it's not clear why the client does not allow the use of it. In my opinion you should find the root casue of their resistance and offer an acceptable solution (if it is possible).
    If you want to solve it in another way I guess you should go into a big development and develop your own copy routine functionality which could mean much more work (for you) and money (of your client) - instread of modifying a copy routine (maybe within few minutes).

  • Is it possible to have sorting by group and checkboxes in the same ALV

    Hi there,
    Does anyone know whether it is possible to have sorting and group on one field in ALV and checkboxes set on another field in ALV?
    eg.
    Fieldname
    ===========
    Name----
    Text
    Allowance----
    Numeric -> Sort & Group
    Verified----
    Checkbox
    How do I code it if it is possible to have grouping and check box all in one ALV.  Meaning I want some data that are the same to merge using sort, while still having the checkbox available for my other field (Verified).
    Thanks in advance.
    Lawrence

    hi,
    GROUP BY clause is used on database tables with select statement.
    sort is used on internal tables.
    can u clearly explain y u need group by and sort on the same field.
    if u are extracting from dbtable using grou by clause on a field, then no need to sort it again.
    if u want sort u can do it by giveing "sort itab by field". thats not a problem.
    now coming to check box.instead of using SLIS type field catalog, u use LVC type.
    in LVC_S_LAYO, u can fine box_fname.
    while defining layout, u declare a variable of type LVC_S_LAYO
    AND GIVE BOX_FNAME = internal table field name

  • How to bootstrap swiz to work in application loaded in a portal

    Hi,
    I have a portal and I'm loading a couple of applicaitons using SWFLoaders which are using the Swiz framework. When loaded in the portal, the Swiz framework is not loading any beans or data. If the applicaiton is run outside the portal it works fine. The SWFLoader is a child of the portal, same security and application domain.
    I don't know how to make swiz work. I also created a bootstrapper to load the portal and share classes but I get a compile error if I try this:
    import  org.swizframework.Swiz;Swiz;
    It doesn't do anything. If I add this same line to the portal, it still doesn't do anything. How can Swiz work for children applications loaded in the portal?
    Thanks you.

    On Saturday 06 Mar 2010, fatima.m wrote oops, can't say wrote colon because
    the forum software explodes:
    doesn't do anything. How can Swiz work for children applications loaded in
    the portal?
    Support was added in the recent 1.0 beta, I think. Try asking on their mailing
    list.
    Tom Chiverton
    Developer
    [email protected]
    3 Hardman Square, Manchester, M3 3EB
    This email is sent for and on behalf of Halliwells LLP.
    Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners.  We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority.
    CONFIDENTIALITY
    This email is intended only for the use of the addressee named above and may be confidential or legally privileged.  If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents.  If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500.
    For more information about Halliwells LLP visit www.halliwells.com.

Maybe you are looking for

  • Problems Mountain Lion and TexShop

    Hello, I have problems when I'm running TexShop on my MacBook Pro (I have Mountain Lion). The screen freezes and I can't select any option, if I'm listening to music I can listen to it but I can't do any other function. The only solution is to boot t

  • Sample Quiz Application error in resource Bundle

    hi sdns , i am stuck with an error. please help me how to rectify this problem. 500   Internal Server Error   Web Dynpro Container/SAP J2EE Engine/6.40  Failed to process request. Please contact your system administrator. [Hide] Error Summary While p

  • 30 GB Memory Concerns

    If a song is in multiple playlists (example 3 playlists) on your iPod, does it take up three times the amount of memory? Or does it store it once and refer to that same location for different playlists? Thanks everybody! E Machines Windows XP Pro

  • Hand cursor not showing on Drag and Drop interaction Submit button

    Does anyone know why the hand cursor doesn't show when I hover over the submit button on a drag and drop interaction slide created in CP7 and published as HTML5? Many thanks.

  • AutoSuggest behavior not always working

    Hi everyone, JDeveloper 11.1.1.5.0 I know how vague the title sounds, sorry for that :-) We want to implement autosuggest behavior on a simple input text. While this simple task seems to work on a normal page, it doesn't so with the structure of page