Item Region: 'Group/Sort by' issues

I've got some serious issues organizing and sorting items on a page.
If I select 'Group by Item Type' and 'display the Group by banner', items are grouped by Simple File, Simple Text, Simple URL.
I am unable to change this sorting order and unable to change which itemstype should be displayed in the 'group by' banner ?!?
I have hidden these 'Simple' itemtypes, but they are still displayed. I changed order of Item Types in the Pagegroup configuration but the sorting order does not change.
Is this documented behaviour or a bug?
Furthermore, I cannot sort Items by date from most recent to olders. ('Group by Date' orders from oldest to most recent. 'Sort by' has no option for 'Date') How can I workaround and sort items from most recent to oldest???
NOTE: Pages are based on templates. Portal version 9.0.4.99

hi paul,
one workaround to sort items by date is to use an auto-query search portlet to render the items on your page. to do that you have to add a custom search portlet and configure it to be an auto-query portlet. in the results display tab you can specify the order by option. for the end-user the auto-query portlet looks exactly the same as if he was viewing an item region.
regards,
christian

Similar Messages

  • Customize display of category group names in item regions (902)

    Multi-level categorization is inconsistent within different portal contexts. Flat category structures work fine but sub-categories do not.
    For example let's define a set of categories: foo, foo/bar, test, test/foo, abc, abc/bar
    where bar is a sub-category of foo and so forth.
    The additem wizard shows the category in the form: category/sub-category/sub-sub-category/etc which is the preferred approach.
    However, an item region having Group By Category and "Display Group By Banner" checked is not the same. Here the group-by-text only shows the end-category name (not the full category/sub-category); i.e., only shows the last group "category" without the context of the full category.
    Want to show items in following style:
         foo
              item1
         foo/bar
              item2
         test/foo
              item3
         abc/bar
              item4
    As opposed to:
         foo
              item1
         bar
              item2
         foo
              item3
         bar
              item4
    Likewise, in the Advanced search the list of categories to search for are:
         foo
         .bar
         test
         .foo
         abc
         .bar
    What are some best practices to customize the display of custom items with sub-categories showing the full category/sub-category in 9iAS 9.0.2?
    Explicitly creating a flat category structure with '/' in the names doesn't seem the best use of item categories.
    And it looks like the content area SDK won't be available for a little while.

    Hi Jason
    The only way to show the path of your nested categories in the display banner is to name the subcatgory with the path information (i.e. 'test/foo' not 'foo'). The problem with showing the full path is scalability - rendering a deeply nested tree in the display banner or as an attribute would cause real problems. It was a design decision to go with the way that it is. If you feel strongly that Development should reconsider this decision, please feel free to log an enhancement request at:
    http://ers.oracle.com
    Product: Portal
    Component: Portal UI

  • How do I change the number in a Top N Group Sort

    I have a report that I have grouped on a particular field (Cust.Name specifically). I then used the group sort expert and selected the Top N selection in the combo box under the Cust.Name tab. I put in a default number of 20. What I want to do is to set this number for the Top N group sort via .NET. Does anyone know the correct method for doing this in either VB.NET or C#.NET. I am using VS 2005 Pro and the embedded Crystal Reports engine for VS.NET. Thank you.
    Ed Cohen

    Hello, Edgar;
    In the bundled version of Crystal Reports 10.2 in Visual Studio .NET 2005 you will need to use the following code:
    Private Sub Set_TopN()
            Dim TopNSortField As TopBottomNSortField
            'Get the Sort field by index
            'Cast it as a TopBottomNSortField
            If TypeOf crReportDocument.DataDefinition.SortFields.Item(0) Is TopBottomNSortField Then
                TopNSortField = crReportDocument.DataDefinition.SortFields.Item(0)
                TopNSortField.NumberOfTopOrBottomNGroups = 10
            Else
                TopNSortField = Nothing
            End If
        End Sub
    In a full version of Crystal Reports there is an option to create a parameter as a number such as {?TopN} and then pass the value to it at runtime.
    In the Crystal Reports designer you need to create the parameter and then go to Report|Group Sort Expert.
    Choose TopN based on your field.
    Where N is... You will need a number there. I used 1. But then I clicked on the Formula editor [X+2] and added the parameter field {?TopN}.
    Passing the parameter at runtime ran the number I requested.
    Elaine
    Edited by: Elaine Dove on Mar 3, 2009 12:12 PM

  • Group/Sort Summary Totals for Duration % Complete not working

    Hello, I'm new to this forum and have used p3 off and on years ago and had some exposure to p5, my background is more toward Project Controls - Cost management rather than scheduling. Here is my issue/question: I was told by the PM not to baseline the schedule (I know, I should have but I didn't, I did as I was specifically requested), that is a topic for another day, however. I am trying to understand the process of the % completes on my resource loaded schedule which all activities are set to duration percent complete. The schedule has roughly quarter of the activities which have been actualized, but my issue is with the "Summary Totals" of the duration % complete when I select that option in the Group/Sorting. All of the activities in a group for example will show 0% complete but the Summary Total of those activities will show greater than 0% or some of the activities duration % completes show a value greater than 0% but the Summary Total of those activities show 0%. What is causing this and why are they not consistent? Any help is greatly appreciated!
    Shannon

    I'm currently showing the duration % complete with a renamed label. The total is not rolling up to the summary. I've also discovered that the unit % complete is not calculating correctly too I believe. For example: I have 3708 budgeted hours and have expended 656 hours and the Unit % Complete is showing 19.08% when I would have thought that the % would have been calculated based on Actual Units (656) / Budgeted Units (3708) totaling 17.69% not 19.08% which it is showing. I cannot find in the reference manual how the percent completes are calculated for units nor in the help section of the software itself either. An explenation would be greatly appreciated!
    Shannon

  • GROUP SORT PARAMETER

    I have a report with a group sort of the "Top N" items based on profit.  I already have a parameter that allows the user to specify the "N", but I want to also give the option to change the group sort based on sales or units sold.  Is there a way to do that?

    hello all,
    actually Brian's solution is correct...i use this method all the time.
    add two more steps to his solution...you should have created a formula with syntax
    Select {?GroupField}
       Case "Sales" :{table.SALES}
       Case "Units Sold" :{table.UNITS_SOLD}
       Default :{table.SALES};
    1) now add this formula to the details section, right click on it, and add a Summary, type = Sum.
    2) now go to the Group Sort Expert and add the formula, removing any other sorts in there already.
    you can now sort the groups on this formula that he gave you.
    if you have crystal reports 2008 or 2011 you can also use Interactive Sorts instead of using a parameter / prompt.
    cheers,
    jamie

  • Group sort using 2 fields

    Is there any way that I can have two fields as a group sort in order that the first group sort field will repeat when the second field changes?
    Thanks.
    Leah

    One possibility would be to create a calculated item (ItemA||ItemB), and use that as a hidden group sort. Not sure about your platform, but in Desktop, you need to specify the item as a 'group' sort, then change it to 'hidden'. You would still display your original items, but don't sort on them.

  • Group Sort Expert Top N

    In Group Sort Expert I have a group called @Sku and I want to select the top 500 based on Sum of @SortByData which works except the totals are for the whole group and not just the top 500.
    Also I would like to select Ascending/Descending based on a parameter field IN the Group Sort Expert since I'm using a based on field (not in Group Expert Change Group Options).

    Hi sharonamtowler,
    My requiremnet is TOP N Materials based on the Current Availiable Stock in each Plant.  In CR from my db, I get four records in Details section for each Material (on 4 weeks, let say 48,49,50,51 ) of a Plant.
    I have grouped on Plant & material. 
    But to get Top N Materials I have to do Summation(Current Availiable Stk) which mean in My Material Group Section I get the Sum of Current availibale Stock of 4 weeks. But I need Top N based on the last weeks Current Availible Stock.
    How to do this?
    I left Plant in Group Sort Expert with No Sort and on Material I have given TOP N.
    I need to know whether only Summation Values should be used in Group sort expert ?
    please some help me solvethe issue.
    Edited by: KRISHNA CHAITANYA B on Dec 29, 2009 6:12 AM

  • Reporting of null data on group sort

    I am writing a report for annual deliveries and, using Group Expert, I am extracting data monthly, but, some months there are no deliveries and hence there is no data to extract. This gives a problem when charting since there are 'missing' months. It must be possible to instruct either the Group sort or the Chart to include months where there is no data as zero, but, despite searching I have not been able to find a simple check button that will include all months regardless of data available. Would appreciate any help.
    Edited by: Paul Barlow on Jan 21, 2009 8:33 AM

    Hi Paul,
    With no usable table it will be difficult What you could do is something like
    SELECT
    months.month, tdpur045.orno,tdpur045.pono,tdpur045.date,tccom020.nama,tdpur045.suno,tdpur045.item,tdpur045.srnb,tdpur045.iqan,tdpur041.ddtc,tdpur041.ddta,tdpur045.dqua
    FROM
    (select '01'  as month from dual union all select '02  as month from dual ... select '12'  as month from dual) as months, tdpur041 tdpur041,tdpur045 tdpur045,tccom020 tccom020
    WHERE
    months.month (+)= to_char(tdpur045.date, "mm")
    (tdpur041.orno=tdpur045.orno AND tdpur041.pono=tdpur045.pono AND tdpur045.suno=tccom020.suno) AND ((tdpur045.date>=date.to.num(2008,01,22) AND tdpur045.date<=date.to.num(2009,01,21)) AND (tdpur045.suno LIKE " *.066330. *" OR tdpur045.suno LIKE " *.076180. *" OR tdpur045.suno LIKE " *.232030. *" OR tdpur045.suno LIKE " *.233040. *" OR tdpur045.suno LIKE " *.250030. *" OR tdpur045.suno LIKE " *.935480. *" OR tdpur045.suno LIKE " *.951790. *") AND (tdpur045.orno<200000 OR tdpur045.orno>699999))
    ORDER BY
    tccom020.nama ASC
    assuming Oracle here, and you will need to check the order join syntax. It is very messy but it might work
    Regards
    Alan

  • Diff between Gen Item Catg Group & Item Cat group In MM01

    HI Gurus,
    What is the difference between Gen Item Catg Group & Item Cat group In MM01?
    Cheers,
    Chitty

    Hi
    There are several posts on same issue you can find out in sdn threads
    Item Category determines the processing of any Item/material that we enter in a sales order and in this way it also effects the procesing of any sales doc in which it is used.
    Item Category Group is one of the component which along with the Sales Doc Type, The Item Usage and Higher Level Item Category decide about the Item Category in a sales doc.
    for example we can ERLA as item cat group and carry out the header level pricing or we can LUMF and do the item level pricing in case of a Sales BOM.
    General item category group talks about further classification of a material. Like NLAG- non stock material can be used to identify bom header items, service items.
    Item category group and general item category group difference
    Re: difference between general item category group /item category group

  • Preserving item regions while customizing

    Hi,
    I have already built an application using JHS wherein I have 5 groups (1 parent and 4 children). In the parent group I have 3 item regions. These are working fine. Now I want to add 2 more items to my parent entity object. I have a few questions on the way I should approach the above activity:
    1. Do I need to use JAG again on the entire application in order to bring these 2 items into the view controller or is there another way of doing this?
    2. If I use JAG, how do I ensure that my item regions created earlier remain after running JAG?
    I tried the possibility of using the itemRegion.vm template for this. However, it seems that the vm file needs to know in advance which of the items belong to a particular region.
    Thank you,
    Amit

    Amit,
    This is documented in section 4.4.11 of the developers guide.
    Select the group and click on the refresh button in the application definition editor. Two new items will be created for your new attributes.
    Steven Davelaar,
    JHeadstart Team.

  • Grouping customers and view customer open items list - Group wise

    Hi.
    I have some requirement from my client.
    He says that he want to view customer open items list group wise.
    In FBL5N we can give the selection of multiple customers. But he wants to group the specific customers and then view the open items for this group.
    For example: Client has 10 customers and out of these customers he wants to select and group 5 customers. And then he want to view open items list for this group.
    Can anyone help me how to group these specific customers in the total customers list. Also request you to provide me the option to view open items for this group of customers.
    Regards,
    Padmavathi

    Hi Padmavathi,
    It is possible. use Worklist for Customers.
    Go to OB55 and define a Worklist for Customers, and mention the list of Customers that you want to see under that Worklist.
    After this, when you to to FBL5N, you will get an option to select Worklist to run the list of open items.. and it would show open items of all customers that you have defined in your worklist.
    Also note that you will have to go to FB00, tab Line Items, and tick Worklists available. This is at User Level, so only that user will be able to see the worklist in his FBL5N transaction code.
    Regards,
    SAPFICO
    Edited by: SAPFICO on Feb 10, 2011 11:43 AM

  • Sum of a sum when using Top N in the Group Sort Expert

    Hi All,
    I have a small problem I can't quite seem to work out.
    I have a report where each line is for a particular Product, and is a summation of the Sales for that Product over several Locations. When you click on the line, it shows the breakdown of Sales over each Location.
    I use the Group Sort Expert to display the Top N results, where the 'N" is set in a formula to a parameter passed in to the report, so the user can select the top 5,10,50 etc. Products across all Locations.
    At the bottom of the report, I want to have a sum of a column of Sales $. I need that sum to only be a sum of the Top N records selected.
    Since each line is a summation of the all the products for the Locations, what I need is a sum of that sum for the Top N, but Crystal will not let you add the sum of a sum, so I'm not sure how to accomplish this.
    If I just do a sum of the underlying values I get a total for all the Products, regardless of the Top N.
    Hope that makes some sense !
    Many Thanks
    Paul

    Hi Sastry,
    I tried your suggestion, thanks, but I don't think it's the answer. For a start Crystal will not let me do that, it pops up a message box when I try to run the report "A running total cannot refer to a print time formula. Details: Record Number". I also added the record number field next to the lines in the report to see what the result would be, and I don't think it would work anyway.
    Here is an example using Units sold:
    Product Name--LocationUnits Sold--Record Number
    Product A -<All Stores>----8
    Store A--1--
    1
    Store B--3--
    2
    Store C--4--
    3
    Product B--<All Stores>--3      
    Store A--2--
    4
    Store B--1--
    5
    Product C--<All Stores>--
    1
    Store A--1--
    6
    Note that only the bold lines are shown in the report,. If you click on the bold line, then the breakdown of the stores is shown. For the above example, I am showing the Top 2 units across all stores (so Product C is not shown at all), but there are actually 5 records, so if I used a formula where RecordNumber <=N, where in this case N=2, I would get a total units sold of 1 + 3 (records 1 and 2) which is incorrect.
    I will have more of a think on this and see if I can find a solution, in the mean time, any other suggestions ? Is there some wya of checking if the line is visible maybe ?
    Thanks for your time !
    Paul

  • Item category determination without Item category group

    Dear friends,
    I am using CRM 5.0. In transaction such as Lead, when  i am inserting product Item category is not determined.Prior to this i have done customizing in spro and Product Master.
    I am using this functionality under marketing organization so Item category group NORM is not working as i am not maintaining distribution channel, divison....
    Error comes in Lead transaction. When product is selected and saved as Item category is not determined.
    Plz help as its very crucial.Reward points will be awarded.
    with regard,
    Sachin Sonkar

    Hi sachin,
    refer the following link
    http://help.sap.com/saphelp_crm50/helpdata/en/6f/f26859448111d5992400508b6b8b11/frameset.htm
    hope this doc is more clear.
    cheers,
    madhu.

  • Item category group

    Hi gurus,
    Can anyone pls. help me identify the appropriate item category group for the free goods in CRM only (i.e. no R/3 integ)?  The current item category group of these products is set at NORM but we may need to change it to TANN because of an ABAP runtime error.  I just don't know how to include it (TANN) in the list of values in the Item Cat. Group field in COMMPR01.  Hope you can help me.
    Thanks,
    Theresa

    Hi Theresa,
    In item category determination u will have two entries:
    Transaction Typ : ZDBT
    Item Cat. Group : NORM
    Item Cat. Usage : 
    Main item cat.  :
    Item Category   : ZDB
    Transaction Typ : ZDBT
    Item Cat. Group : NORM
    Item Cat. Usage : FREE
    Main item cat.  : ZDB
    Item Category   : TANN
    What I understand is that you wish to do free goods determination.I.e. For 1 Case = 1 Free item
    For that we have other pre-requisites like:
    Free good determination settings:
    1. SPRO->Customer Relationship Management->Basic Functions->Set Up Free Goods->Assign Procedure                                                                      
    2. SAP menu->Master Data&#61664;Prices and Conditions->/SAPCND/GCM - Maintain Conditions
    Condition type: 0NA0
    Procedure: 0NA001
    Regards,
    Shalini Chauhan

  • Standard API  to determine Item Category Group in CRM

    Hi ,
    Can u plz help me out in identifying any standard API  to determine Item Category  group using Product Guid/Product id in CRM 5.0.
    Our requirement is to implement the BADI  'CRM_COND_COM_BADI'  .
    Product details are found and Item Category group need to be determined.
    Kindly help.
    Thanks in advance.
    Gayathri.

    Hi Gayathri,
    Pls use following FM to get the item category group.
    CMS_PRODUCT_SALES_READ_BL
    Input for Product ID: IV_PRODUCT_ID (It takes value of Product ID)
    Output for item category group:
    CRMT_PRODUCT_SALES_API_EXP-ITEM_CAT_GROUP
    Best Regards,
    Pratik Patel.
    Reward with points if it is of any help to you!

Maybe you are looking for