Filter table results according to rule
Hi,
I am trying to filter the output table so it will present the data according to a filter.
I am trying to use the filter element but don't succeed.
the field is "IS_REQUISITION" and the value is 'X' or blank.
Thanks,
Tuval
got it from the help file. the syntax is terrible...
Similar Messages
-
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 -
How can i pass a parameter to the query to filter the result of this lookup
Hello,
i'm developping a web application with JDeveloper 10.1.2 and JHeadStart.
i realy need to know how can i filter the lookup (LOV) query result.
in other word, when i click on the lookup, it show all the row that exist in may data base table.
what i want is how can i pass a parameter to the query to filter the result of this lookup ?
Thank youHi,
have a look if this helps
http://oracle.com/technology/products/jdev/tips/fnimphius/restrictlovlist/restrictlov.html
Frank -
Filter the results set for custom iviews in SAP MDM
We have a scenario where based on the user name/user role we want to filter the results retrieved by an search result iview developed for accessing data from SAP MDM Repository.
E.g.
We have a lookup table called Plants which contains master data pertaining to manufacturing plants.
The portal user P00100xxyy is responsible for maintaining master data for a plant 1101. However, the plant lookup contains data for other plants as well.
We would like to prevent the user P00100xxyy to see/modify data for other plants in the table.
We have explored the core MDM functionality of security/constraints. It does not provide row level granularity and we are hoping that the iview approach can help us achieve row level filters.Hi Rajni thanx for ur prompt reply
The actual problem is that :
we have approx near about 100 Account Group, so it would become very complex to replicate same condition 100 times
AND
these account group may keep on increasing so even maintenance point of view it would be hard to maintain.
can u tell me some other way to do it, i mean is there any other feature by which we can perform validation in MDM.
Regards
Kuldeep -
How to get source table name according to target table
hi all
another question:
once a map was created and deployed,the corresponding information was stored in the repository and rtr repository.My question is how to find the source table name according to the target table,and in which table these records are recorded.
somebody help me plz!!
thanks a lot!This is a query that will get you the operators in a mapping. To get source and targets you will need some additional information but this should get you started:
set pages 999
col PROJECT format a20
col MODULE format a20
col MAPPING format a25
col OPERATOR format a20
col OP_TYPE format a15
select mod.project_name PROJECT
, map.information_system_name MODULE
, map.map_name MAPPING
, cmp.map_component_name OPERATOR
, cmp.operator_type OP_TYPE
from all_iv_xform_maps map
, all_iv_modules mod
, all_iv_xform_map_components cmp
where mod.information_system_id = map.information_system_id
and map.map_id = cmp.map_id
and mod.project_name = '&Project'
order by 1,2,3
Jean-Pierre -
Trying to filter the result of get-qadgroup
hello ,
I'm trying to filter the results of a simple get-qadgroup command, to only list groups that have a specific OU as part of the DN, but I dont understand why my filter is not working . Any pointers or tips would be greatly appreciated.
get-qadgroup -sizelimit 0 | Where-Object {$_.DN -contains "OU=service"} | ft name,DNgot it .. i changed it to -like and added the * before and after the OU=Service
get-qadgroup -sizelimit 0 | Where-Object {$_.DN -like "*OU=service*"} | ft name,DN -
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,
RuneHi 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 -
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 -
How to filter tables in table browser in designer
Hello Experts,
I had a direct connection to SAP ECC database and I want to create an universe (with designer) on top of a database table. Problem is that ECC have a lot of tables and is very time consuming the selection of tables in table browser, question is:
is there a way to filter tables or to directly select a table provided I know the table name I want to work with?
note: I want to use aggregate data from logistic information tables because there is no BW system in this landscape
thank you
Edited by: Garduño Azael on Jul 29, 2011 6:12 PMHi,
You should use the external strategy function of the designer (see chapter OPTIMIZING UNIVERSES -> USING EXTERNAL STRATEGIES TO CUSTOMIZE UNIVERSE CREATION)
http://help.sap.com/businessobject/product_guides/boexir31/en/xi31_designer_en.pdf
you don't need to create a new external strategy. Designer comes with a set of "standard" external strategies.
For filtering tables use "table strategy".
In order to make it to work for your environment, check the file *.STG and see which db user is used in the delivered strategy, then, add this user to your RDBMS and set the permissions and tables you wish to select to in designer
For example in my BO installation the user is named 'USER', so I added it to my DB2 RDBMS of sapecc and added the required tables
hope it helps -
Question regarding 'local menu | Filter Table' option.
I have a long sheet (1000+ entries) that has customer names in a column. There is over 200 distinct customers in this column. However, when I choose the above option, it only shows 25 names.
Is this a known limit? If so, is it possible to change the names that show on the list, so the most frequent / common names are shown?
Just looking for a quick on-the-fly quick filtering which I do dozens of times per day.
P.S Trying to switch from Excel for Mac which does have this capability.
Thanks
NickI am just wondering if there is a hard limit of 25 entries that are shown, no matter how many different names there are.
It appears that the maximum number is 25 entries in the dropdown filter list. However, you can filter on any value you want via Edit Table Filters in the dropdown or by clicking the Filter icon upper right.
SG -
How to filter listResourceObjects result?
I am using the following code to get LDAP groups back:
<invoke class='com.waveset.ui.FormUtil' name='listResourceObjects'>
<ref>:display.session</ref>
<s>Group</s>
<s>LDAP</s>
<map>
<s>searchFilter</s>
<s>(cn=DB2 Administrators)</s>
</map>
<s>true</s>
</invoke>I expected that the result should only be one group. Instead I got all the groups back. Does anyone know how to filter the result?
Thanks a lot!Hi,
Thanks for your code posting.
One thing I noticed is that your code calls
the getResourceObjects method, whereas
the original poster (and myself) are trying to
call the listResourceObjects method.
If I call getResourceObjects, I get back just the
objects I need.
However if I call listResourceObjects I get back
a list of all the groupofuniquenames objects in my ldap tree.
I really need the names of the objects and not the
objects themselves, so getResourceObjects won't
work for me.
This code works, it returns four objects:
<invoke name='getResourceObjects' class='com.waveset.ui.FormUtil'>
<ref>:display.session</ref>
<s>Group</s>
<s>LDAP</s>
<map>
<s>searchContext</s>
<ref>searchContext</ref>
<s>searchFilter</s>
<concat>
<s>(uniqueMember=uid=</s>
<ref>uid</ref>
</concat>
<s>searchScope</s>
<s>subTree</s>
</map>
</invoke>
This code does not work. It returns the name of every object
where or not the user is a member. It just seems to ignore
my searchFilter and always send a default one to the ldap server:
<invoke name='listResourceObjects' class='com.waveset.ui.FormUtil'>
<ref>:display.session</ref>
<s>Group</s>
<s>LDAP</s>
<map>
<s>searchContext</s>
<ref>searchContext</ref>
<s>searchFilter</s>
<concat>
<s>(uniqueMember=uid=</s>
<ref>uid</ref>
</concat>
<s>searchScope</s>
<s>subTree</s>
</map>
<s>false</s>
</invoke>
Thanks,
John I -
Filter output data according to portal current user name in omni portlet
We have created an omniportlet that connects to a database, and retrives some values into a defined HTML layout.
We want to filter output data according to our portal current user name
When we try to use portal.wwctx_api.get_user inside of omni portlet select statement fallowing error occurs.
Error in executing Query : [ORA-06510: PL/SQL: unhandled user-defined exception ORA-06512: at "PORTAL.WWCTX_SSO", line 1803 ORA-06510: PL/SQL: unhandled user-defined exception ORA-06512: at "PORTAL.WWCTX_SSO", line 1637 ORA-06502: PL/SQL: numeric or value error ORA-06512: at "PORTAL.WWCTX_SSO", line 1865 ORA-06512: at "PORTAL.WWCTX_API", line 183 ]
Thanks a lothello
i think you cannot use the portal built-in packages inside omni portlets. Omni portlets is designed to connect to other data source (not only oracle) and Portal API might not be available at these data sources. Therefore, you should not be using these Packages at all!. i tried very hard, but to no avail.. Omni portlet has its own repository!! if you cannot pass the infomration as a parameter, then find a different approach
Ammar Sajdi
Amman - Jordan
oracle consultant -
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. -
How to refresh a table results before getting new results ?
Hello,
I receive in a table results from a BI query that is first fed from a selection screen with different dropdowns.
My problem is the following:
- when a new selection is made, the table is updated with new results : OK
- BUT when the result of the query is empty, the table keeps the last results
How can I fix this problem?
Any idea,
Thanks a lot,
ThomasOK, the model is really simple:
- Form with several selection dropdowns
- BI query
- table with results
Everything is OK but, if there are already results in the table AND the user starts a new search that provides no result (no applicable data), the table is not updated and shows the last results, which is a problem ...
Thanks,
Thomas
Maybe you are looking for
-
How do you order more than one project at a time from iPhoto?
Ordering different projects at the same time from iPhoto to save shipping costs
-
Dynamic Prompts in Universe using BEx query
hi, We have create an object in BO Universe using @prompt. the formula goes like this. <EXPRESSION>IIF(@Prompt('Enter Currency','A',{'USD','EUR','GBP','JPY','AUD','LOCAL_CURRENCY','DOCUMENT_CURRENCY'},mono,constrained)= USD,@Select(Actuals\Actual Amt
-
Hi, Does anybody has idea about locking system in FMS server side code. Like we have locking system in Coldfusion and other technologies (CF lock). Like shared objects we have lock, but what If I want to implement lock on the particular script
-
What is the next software update for ipod touch 4
will ipod touch 4th generation ever get iOS 7 What is the next software update for ipod touch 4
-
I tried downloading the flash player more than 5 times today. I used the uninstaller from adobe site to uninstall all previous versions after I was unsuccessful around the 4 time. I followed all that I was instructed to do, yet I'm still getting the