Sort Filter Table Matrix
Hi,
I like to use the Sort Filter Table function (right click on the Matrix, plus the SAP icon to be activated) in my Add-On, Matrix.
Could you please provide me the code?
Thank you,
Rune
Hi Szymon Lipnicki,
I will open a new Forum ticket, because I cannot give you 10 points in this ticket anymore...
I will post a new ticket and please drop your answer in the new ticket. The Subject is "Filtering User Matrix"
Thank you very much, this is good news!!!
Thank you,
Rune
Similar Messages
-
How to sort/filter tables and lists like in Excel?
Hi.
I used to keep track of my expenses in Excel and had a nice table or list (I forget what it's officially called) with a header row where when I clicked on the header of a particular column it would let me sort and filter- for example, I have a column called "category" and I could click on the header for that column and select a filter so that I only saw travel expenses and then the sum below would only reflect how much I spent on travel. I could also click on the "date" column header and "sort ascending" to put everything in chronological order. That was awesome.
I got a new mac and thought I could keep updating and using this file in Numbers and wouldn't have to buy MS Office. But when I opened the file and saved it as a numbers file, I find that I've lost the ability to sort or filter. The cell at the bottom that has the SUM still works but the header row does nothing. I've seen some other threads about this but I don't really understand them so please forgive me if this is repetitive. Someone suggested hovering the cursor over a column header and a triangle pops up- that is not happening- I think that's in an old version of Numbers. How can I do those things I listed above- sort and filter my entire table? Right now I can only see the total sum of everything in the table but I often need to just add up one category of expenses.
I don't really know all the math stuff, like formulas. My brain has trouble following that stuff. It was so simple in Excel. Is there anyway to get my header row back to how it was in Excel? If not, if you are able to guide me through some more complicated way to do it I would really appreciate it and I hope I can follow it.
Thank you for your time.
-RebsI want to understand how to make the sum cell only show the total of visible rows...
I don't think you can do that directly. SUM will include hidden rows. But you can use SUMIF and SUMIFS.
An example using SUMIF:
An example using SUMIFS:
Instead of putting SUMIF and SUMIFS in a separate summary table, you could also put them in Footer Rows of your data table.
SG -
How to Implement Sort, Filter funtinality in Normal web dynpro ABAP Table
Hello,
How to Implement Sort, Filter funtinality in Normal web dynpro ABAP Table ?
Thankshi,
Check out this link for sorting in Table.
Sorting option in WebDynPro ABAP UI Table
steps to follow :
->Have the data in internal table (itab).
->Now use sort command for the particular column which ever you want to sort.
e.g sort itab descending by <Column>.
->Now you can bind the internal table with the Context Node which is binded to Table.
I hope it helps.
Thanx. -
Table Sort/Filter does not include in-memory data
JDeveloper 11.1.1.2.0
I've been developing a custom shuttle component and an issue came up regarding sort/filter property of the leading af table prior to inserts.
Just a quick setup:
Left table's row/s gets shuttle (inserted) to right table by creating a viewobjectrow and inserting that to it's designated viewobject, executequery after that is called.
The issue i've encountered is that once i've added that row (in-memory), when i try to sort or filter that table that has the new rows, it seems that it only sorts the original rows that was queried from the database. The same goes for the filter, it only filters those that were originally queried.
So far, it only joins the sorting/filtering whenever i force commit it before filter/sort.
I've also tried creating my own criteria and adding that in my query binding, didn't help though.
I've also tried using vo.setQueryMode and use scan view... i'm not sure if i'm using it right but it would give me either wrong filters or crash my app.Hi John,
I read a similar article using the querymodes and i've been playing with it to see how it affects my rows.
My problem arises whenever i up/down sort of the af table. I tried overriding executeQueryForCollection in the viewobjectimpl and setting
this.setQueryMode(QUERY_MODE_SCAN_DATABASE_TABLES |
QUERY_MODE_SCAN_ENTITY_ROWS);
but by the time i hit the sort on the table, it ends up not sorting anything at all.
I did use the sorting upon insert and that sorts those in memory, but by the time i use the sort on the table component the results would show the inmemory rows first, and database rows sorting in the bottom. -
Maintenance View - Can you sort/Filter? How to create z transaction for it?
Hi,
I will be creating a maintenance view that will be used several times at the end of every month, eventually storing more than 500 entries.
Is there anyway for the user to be able to sort/filter the maintenance view by field? This would be helpful, since they would like to see what similar records are stored before adding others.
What are my options?
Also, how do you create a transaction code to go straight to the maintenance view instead of having to go through SM30?
Please help.
Thanks,
JohnHey John,
Is there anyway for the user to be able to sort/filter the maintenance view by field? This would be helpful, since they would like to see what similar records are stored before adding others.
What are my options?.
Option1:
We canu2019t give the sort button (as we give in the nomal reports). But if you know like - based on what field user want to see the sorted output(lets say field MATNR)? then we can create an Event for the table maintainance generator using SE11 and write the code. In this code we sort the output that will be displayed in SM30 as per the requirement.
Also, how do you create a transaction code to go straight to the maintenance view instead of having to go through SM30?.
Go-to SE93 and choose the option u201Ctransaction with parametersu201D and give the t.code as SM30 and Check Skip initial screen.
regards
Shyam. -
Issue with value of transient attribute after filtering or sorting a table
Hi guys,
i'm using jdev 11.1.1.4.0 .
i've the use case :
- a table with a column containing a checkbox to mark the selection of a row
<af:column align="center" sortProperty="TemIsChosen" filterable="true"
sortable="true" id="c6">
<af:selectBooleanCheckbox value="#{row.bindings.TemIsChosen.inputValue}" autoSubmit="true"
shortDesc="#{bindings.ServersIndicTempVVO.hints.TemIsChosen.tooltip}"
id="sbc1"
valueChangeListener="#{backing_initIndicatorsTemp.onSelectTemp}"/>
</af:column>
- i select one or more rows with checkboxes
- if i filter or sort the table, the selection of the checkboxes reset to not selected (value false by default).
I understand that for the framework, it's a normal behavior because for filtering or sorting , it re-executes the query from database. And transient attribute is not persistent, so it goes back to the default initial value "false".
What i would appreciate, it's that filtering or sorting has no effect on the value of the transient attribute, ie end user selection remains.
I tried to modify query mode of the ViewObject to filter with in-memory data. It works fine but if you reset filter inputs you can't retrieve correct RowSet. Only new RowSet is stored, old is lost.
So now it's the filtering feature that doesn't work as expected.
How can i implement my use case withouth the troubles i've described.
Best regards,
DavidHi Frank,
no it's a view object level attribute inside a read-only view object.
The view object doesn't use any entity.
Here is the definition of the attribute in the xml file of the VO, if can help you :
<ViewAttribute
Name="TemIsChosen"
IsSelected="false"
IsPersistent="false"
PrecisionRule="true"
Type="java.lang.Boolean"
ColumnType="BIT"
AliasName="VIEW_ATTR"
SQLType="BIT"
Passivate="true">
<Properties>
<SchemaBasedProperties>
<TOOLTIP
ResId="ADD"/>
<DISPLAYWIDTH
Value="50"/>
</SchemaBasedProperties>
</Properties>
</ViewAttribute>
David -
How can I sort a table using more than one column in Numbers or in Pages?
How can I sort a table using more than one column in Numbers or in Pages?
Hi Ron,
On the right side of the Toolbar click the Sort and Filter button, then select Sort.
You can then set up a multiple column sort.
Click Add A Column, Specify the sort for that column, Repeat.
Jerry -
Question on Filter Table button
Hi,
I have a matrix with a column 'Price'.
At the bottom of the form i have a button with a edit text, and when i press the button, i read every row of the matrix and i make the total of the column 'Price' and i put this total in the Edit Text.
If i use the 'Filter table' standard Sap, i not able to reproduce the same calculation, cause i'm not able to check if the row is visible or no!!
Have you got any idea??
Help me...
Regards
MarcoHi,
Use the following code,
Dim dblSum As Double
dblSum= 0
For i = 0 To aGrid.DataTable.Rows.Count - 1
dblSum += aGrid.DataTable.GetValue("Price", i)
Next
objEdit = objForm.Items.Item("The edit Box number").Specific
objEdit.Value = dblSum
Regards,
Tom. -
Generic Sort filter in SAP MII 14.0.5
Hello,
I am trying to use Generic Sort filter in SAP MII 14.0.5 and all i need to achieve is sort the XML nodes based on values. i am trying to give input as below XML and sort based on Value. but i am getting error. Input to Generic sort filter is mentioned below. i don't see much documentation for this block. any inputs will be greatly appreciated.
Error:-
"[Generic_Sort_Filter_0] Unknown property: <?xml version="1.0" encoding="UTF-8"?><Address>
<Product>MAC_Address</Product>
<value>78FF5700E419</value>
<value>78FF5700E418</value>
<value>78FF5700E420</value>
</Address>"
Input to Generic Sort Filter:-
Source:-
<Address>
<Product>MAC_Address</Product>
<value>78FF5700E419</value>
<value>78FF5700E418</value>
<value>78FF5700E420</value>
</Address>
Filter Colum1:- Local.OutputXML{/Address/value}
-Adarsha.K.SI could be wrong but I seem to recall that Action only supported the MII xml document structure: /Rowsets/Rowset/Row etc.
-
How to find min and max of a field from sorted internal table
Hi,
I have sorted Internal Table by field f1.
How do I find max and min value of f1.
For min value of f1 I am using,
READ TABLE IT1 INDEX 1.
IT1-F1 = MIN.
Is this correct? And how do I find the max value of f1 from this table.
Thanks,
CDYes, that is right, and you can get the max like this.
data: lv_lines type i.
* get min
READ TABLE IT1 INDEX 1.
MIN = IT1-F1.
* get max
lv_lines = lines( it1 ).
read table it1 index lv_lines.
MAX = IT1-F1.
Regards,
Rich Heilman -
RUN Time error while use filter table in query generator
Hai..
I have 2 Functions under "Scalar valued functions" in SQL Server,i try to call this functions in Query generator its working fine,result also display correctly, but i click filter table system showing Error Message " Run Time Error,Abnormal program termination" then SAP is get closed,i tested this scenario in 3 Database am getting same error , Is this BUG in SAP B1?There is no error number in error messageThis is my function
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
go
-- =============================================
-- Author: <Author,,Name>
-- Create date: <Create Date, ,>
-- Description: <Description, ,>
-- =============================================
ALTER function [dbo].[Get_TransObjName](@Obj_type NUMERIC(20,5))
returns varchar(500) as
BEGIN
DECLARE @Obj_type_Name varchar(100)
select @Obj_type_Name =
case @Obj_type
when -2 then 'Opening Balance'
when -3 then 'Closing Balance'
when 1 then 'oChartOfAccounts'
when 2 then 'oBusinessPartners'
when 3 then 'oBanks'
when 4 then 'oItems'
when 5 then 'oVatGroups'
when 6 then 'oPriceLists'
when 7 then 'oSpecialPrices'
when 8 then 'oItemProperties'
when 12 then 'oUsers'
when 13 then 'A/R Invoices'
when 14 then 'A/R Credit Memo'
when 15 then 'A/R DeliveryNotes'
when 16 then 'A/R Returns'
when 17 then 'oOrders'
when 18 then 'A/P Invoice'
when 19 then 'A/P Credit Memo'
when 20 then 'Goods Receipt PO'
when 21 then 'Goods Returns'
when 22 then 'PurchaseOrders'
when 23 then 'Quotations'
when 24 then 'IncomingPayments'
when 25 then 'Deposit'
when 28 then 'oJournalVouchers'
when 30 then 'JournalEntries'
when 31 then 'oStockTakings'
when 33 then 'oContacts'
when 36 then 'oCreditCards'
when 37 then 'oCurrencyCodes'
when 40 then 'oPaymentTermsTypes'
when 42 then 'oBankPages'
when 43 then 'oManufacturers'
when 46 then 'VendorPayments'
when 48 then 'oLandedCostsCodes'
when 49 then 'oShippingTypes'
when 50 then 'oLengthMeasures'
when 51 then 'oWeightMeasures'
when 52 then 'oItemGroups'
when 53 then 'oSalesPersons'
when 56 then 'oCustomsGroups'
when 57 then 'ChecksforPayment'
when 58 then 'Stock List'
when 59 then 'Goods Receipt'
when 60 then 'Goods Issue'
when 64 then 'oWarehouses'
when 65 then 'oCommissionGroups'
when 66 then 'oProductTrees'
when 67 then 'Inventory Transfers'
when 68 then 'oWorkOrders'
when 69 then 'Landed Costs'
when 70 then 'oCreditPaymentMethods'
when 71 then 'oCreditCardPayments'
when 73 then 'oAlternateCatNum'
when 76 then 'Postdated Deposit'
when 77 then 'oBudget'
when 78 then 'oBudgetDistribution'
when 81 then 'oMessages'
when 91 then 'oBudgetScenarios'
when 97 then 'oSalesOpportunities'
when 93 then 'oUserDefaultGroups'
when 101 then 'oSalesStages'
when 103 then 'oActivityTypes'
when 104 then 'oActivityLocations'
when 112 then 'oDrafts'
when 116 then 'oDeductionTaxHierarchies'
when 117 then 'oDeductionTaxGroups'
when 125 then 'oAdditionalExpenses'
when 126 then 'oSalesTaxAuthorities'
when 127 then 'oSalesTaxAuthoritiesTypes'
when 128 then 'oSalesTaxCodes'
when 134 then 'oQueryCategories'
when 138 then 'oFactoringIndicators'
when 140 then 'oPaymentsDrafts'
when 142 then 'oAccountSegmentations'
when 143 then 'oAccountSegmentationCategories'
when 144 then 'oWarehouseLocations'
when 145 then 'oForms1099'
when 146 then 'oInventoryCycles'
when 147 then 'oWizardPaymentMethods'
when 150 then 'oBPPriorities'
when 151 then 'oDunningLetters'
when 152 then 'oUserFields'
when 153 then 'oUserTables'
when 156 then 'oPickLists'
when 158 then 'oPaymentRunExport'
when 160 then 'oUserQueries'
when 162 then 'Inventory Valuation'
when 163 then 'oCorrectionPurchaseInvoice'
when 164 then 'oCorrectionPurchaseInvoiceReversal'
when 165 then 'oCorrectionInvoice'
when 166 then 'oCorrectionInvoiceReversal'
when 170 then 'oContractTemplates'
when 171 then 'oEmployeesInfo'
when 176 then 'oCustomerEquipmentCards'
when 178 then 'oWithholdingTaxCodes'
when 182 then 'oBillOfExchangeTransactions'
when 189 then 'oKnowledgeBaseSolutions'
when 190 then 'oServiceContracts'
when 191 then 'oServiceCalls'
when 193 then 'oUserKeys'
when 194 then 'oQueue'
when 198 then 'oSalesForecast'
when 200 then 'oTerritories'
when 201 then 'oIndustries'
when 202 then 'oProductionOrders'
when 203 then 'A/R Down Payment'
when 204 then 'A/P Down Payment'
when 205 then 'oPackagesTypes'
when 206 then 'oUserObjectsMD'
when 211 then 'oTeams'
when 212 then 'oRelationships'
when 214 then 'oUserPermissionTree'
when 217 then 'oActivityStatus'
when 218 then 'oChooseFromList'
when 219 then 'oFormattedSearches'
when 221 then 'oAttachments2'
when 223 then 'oUserLanguages'
when 224 then 'oMultiLanguageTranslations'
when 229 then 'oDynamicSystemStrings'
when 231 then 'oHouseBankAccounts'
when 247 then 'oBusinessPlaces'
when 250 then 'oLocalEra'
when 280 then 'oSalesTaxInvoice'
when 281 then 'oPurchaseTaxInvoice'
when 300 then 'BoRecordset'
when 305 then 'BoBridge'
when 260 then 'oNotaFiscalUsage'
when 258 then 'oNotaFiscalCFOP'
when 259 then 'oNotaFiscalCST'
when 261 then 'oClosingDateProcedure'
when 10 then 'oBusinessPartnerGroups'
when 278 then 'oBPFiscalRegistryID'
else cast(@Obj_type as char(20)) end
return @Obj_type_Name
END -
Sorting a table in numbers for iPad
Hello,
can anyone help me figure out how to sort a table, such as a league table sorted by points?
ThanksGenerally, you are more likely to get an answer if you post in the iWork for iOS forum at
https://discussions.apple.com/community/app_store/iwork_for_ios
Cheers, Tom -
Structure of Filter-tables in BW7.0?
Hi,
i'm actually not in access of an BI7.0-System and i like to develop some Filter like they are used in 7.0. Can someone please give me the Tablestructure of the 7.0 filter Tables and maybe a hint if they are accessible in 3.5 as well?
thanks - i will assign points for structure...If you search on Google, there are couple of threads answering the same and here are the first three in the list,
http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:941629680330
How to compare two oracle database schemas
http://www.red-gate.com/products/oracle-development/schema-compare-for-oracle/
HTH
Aman.... -
How to create an entry in Badi Filter table T77HAP_FLT_PRP
How to create an entry in Badi Filter table T77HAP_FLT_PRP
Hello Rahul,
Filter types should be created on badi implementations ( in transaction se19 )
Read my answer on this thread :
Re: BADI:Filter type un editable
I hope it helps.
Bulent -
Wildcards in Generic sort filter
Hi,
is it possible to use wildcards in the Generic sort filter in transactions? And if yes, which ones?
Problem is the following: I get a list of orders from SAP, and I want to select only the orders that are released, so I have to filter on Orderstatus 'REL', the rest of the status can differ according to different situations of the order, so I don't want them in my filter.You can also perform this via XPath but it will not be quite as fast as the complied action code, here's the syntax:
JCoCall.ResponseXML{/BAPI/SomePath *Square Bracket* contains(StatusCode, "REL") *Square Bracket* /Item}
For more examples and ideas see:
[http://www.w3schools.com/Xpath/default.asp|http://www.w3schools.com/Xpath/default.asp]
Hope this helps,
Sam
PS: Sorry about the *Square Bracket* piece it interprets it as a link otherwise.
Maybe you are looking for
-
HU assignment to Outbound Delivery
Hi Experts, I am facing a problem with the assignment of HU to Outbound Deliveries. I'm working with WM module. When my HU get to my shipping area (standard 916 with dynamic storage bin), it is assigned to the Outbound Delivery. In my process, I dele
-
Edit Text from one screen to another screen
Hi Experts, Here I am having two doubts in doing functionality on SMP 2.3,The below mentioned are the doubts, 1. In SMP 2.3 Version,When i am doing Hybrid App Designer in that Edit Text functionality to pass the values from
-
I turned on my ipod this morning, and updated it from my library, on unpluggin my ipod from the USB, it stopped working, it then began to display the message "Connect to computer, use iTunes to restore". So i did, My computer didnt recognise my ipod.
-
Collect Merge Patten using BPM in XI
Hi I want 3 files to be sending data and only one file receiver. How is it possible using BPM in XI? Can anybody provide pdf on end to end Scenario of this type. Points will be given?
-
Safari quits when trying load certain pages
I just did an erase and intall of Mac OS X... I did not have this problem before when I went to these websites (myspace pages). But now is quiting. Below is a copy of the error report I am getting. I have also tried reseting safari but it has not wor