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
Marco
Hi,
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.
Similar Messages
-
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 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 -
Hello Gurus,
I have a excerpt from a book " Use the Tables button for the Franchises object to ensure only the FRANCHISE context
is used.", where is that "Table button"? I can't find it anywhere.
Many thanks,The reason you want to do this is because the Franchise table is not used directly. So without including the table on the object definition, you would get prompted for a context.
To fix this, as suggested above, double-click on the object in question, and you will see the Tables button on the bottom of that screen. Click the Tables button, and include the Franchise table and save your object.
Be aware, however, that the tables list is automatically updated every time you change the object. So if you update the select or where clause at some point, you'll need to do this step again. -
Dreamweaver CS4 Insert Table button does not work.
I recently upgrade from an older version of Dreamweave to Dreamweaver CS4. But now I have a problem with inserting tables.
They have the dropdown on the top right for Classic, Coder, Coder Plus and so on. I was using classic and everything was fine, then all of a sudden if I try using the Insert Table button from the Inserts tab, it does nothing. If I right click on the button, then click on the button it works, and if i switch to any other view it works. so then I used Coder and it was fine, but then again it stopped working. So I switched to Coder Plus and it was fine for a few more days and then it stops working again. I have rebooted my machine, closed out of DW and nothing seems to fix it. I just installed all adobe software updates and there was nothing in the update that fixed the problem. Does anyone else have this issue and if so, how do I fix it?
I have searched google and I can't find anything. I can keep switching views but one day soon if it continues, I'm going to run out of views and Its such a habit to use the button instead of the Ctrl+Alt+T shortcut.try the following
Recreate Dreamweaver CS4 Configuration and registry
- rename the configuration folder to any name. (just add any character I suggest)
C:\Documents and Settings\[username]\Application Data\Adobe\Dreamweaver CS4\Configuration
- recreate the registry folder
Start > run > regedit
HKEY_CURRENT_USER>Software>Adobe>Dreamweaver>10. Rename 10 ex: 10_old
maybe you can post your specs here for more specific troubleshooting. Cheers! -
Issues with Search Filter Criteria Button in Search Help
Hi ,
I have applied an elementary search help to a select option and this help is having four fields. The search help works fne and all the four fields are visible when i do a F4. Now , if i want to restrict the number of entries shown (the number of entries are huge) by clicking the "Search Filter Criteria" button , i dont see any of the four fields using which i can restrict the data . Do we need to do any configuration for this ??
Regards
MayankHi,
in that search help itself you have a option called maximum number of hits, there is a impact if you restricted also.
Thanks & Regards,
Srinivasan.R -
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 -
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 -
Another BW question about filter in the query definition
Hi ,
I have another question about filter in the query definition.
<u>Question:</u>
Which of the following objects can be filtered in the query definition?
A. characteristic
B. Key figure
C. Structure
D. Units
E. Hierarchy
My answer is A,B,D,E.
The answer in the book is A,B,D
Can anybody tell me which one is wrong?
Thanks in advance,
Liu JiaHI
1.The answer could be A,B,D.you can not apply filters on hierarchies
2.Whenever there is a change in Attribute data(like Location,Num etc...)that has to be reflected in all aggregates of the cube.Thsi can be done by running "ATTRIBUTE CHANGE RUN".
sri -
Question on using table types in methods
Hi
I have a simple question involving passing table types in method
I want to pass an internal table by reference - to a method and within the method populate the internal table (t1) using a select * into the internal table and then sort t1 by f1 and f2. t1 is an internal table based on a ABAP dictionary table ( at1 )
Question is : If I use a generic type TABLE declaration , it does not allow sort operation specifically by fields. If I use type at1 as in
the METHODS M1 exporting t1 type at1statement, syntax error is - t1 is not an internal table.
How do I achieve the above using the method implementation ?
Sample code that I try
CLASS C1 DEFINITION
PUBLIC SECTION
METHODS M1 exporting t1 type table
ENDMETHOD
ENDCLASS
CLASS C1 IMPLEMENTATION
METHOD M1
select * from at1 into t1.
sort t1 field f1 f2
ENDCLASSYou should define a TABLE TYPE based upon the data dictionary type (at1) either in the data dictionary using SE11 or in the TYPES section of the class.
Then define the parameter of this new type.
Cheers
Graham Robbo -
It says my security answers are wrong, so I guess I need to reset them, it says to click the rescue email button that shows up under the questions, there is no button that shows up.
You need to ask Apple to reset your security questions; ways of contacting them include clicking here and picking a method for your country, phoning AppleCare and asking for the Account Security team, and filling out and submitting this form.
(96912) -
Hello Gurus,
I have a question about "update table" entries. I read somewhere that an entry in update table is done at the time of the OLTP transaction. Is this correct? If so, does this happen on a V1 update or V2 update? Please clarify. Similarly, an entry in the "extraction queue" (incase you are using "queued delta" will happen on V1 update. I just want to get a clarification on both these methods. Any help in this matter is highly appreciated.
Thanks,
SreekanthHi
update tables are temporary table that are refreshed by v3 job.update table is like buffer, it gets filled after updation of application table and statistical table through v1 v2 update . we can bypass this process by delta methods.
M Kalpana -
Hiya! My Insert table button is greyed out & unusable. My
cursor is in the code view underneath the first <body> tag.
The Table option is also greyed out in the Insert menu. Does anyone
have any ideas as to what the problem is? Anybody? (wah)
janetProblem solved! Saw a past post. I needed to be in Standard
view under view menu while cursor was in design screen.
Cheers
janet
Maybe you are looking for
-
Problem with buttons in my screens
hi i have two buttons in my screen say button1 and button2 by default when i display this screen as per my requirement only button1 should be visible and button2 should be invisible button2 should only be visible when i click on my first button i.e.
-
I just got a new external hard drive and will be getting my macbook pro next week. I was wondering if the external hard drive could be used as both a time machine and to have extra files on it? And if so how would you do that?
-
Rasterize vectors within Acrobat
I don't know much about third-party software for Acrobat. I am looking for a way to quickly select individual vector elements within a PDF and then rasterize those items so they have a transparent background. Similar to how Illustrator allows one to
-
KP26 : Activity Price Calculations mismatch
Hi Gurus; My client is having some problem with Activity Price Calculations through T.code KP26. The Client didnu2019t have this issue before the upgrade to ECC 6.0. Client actually wants to make the price uniform for all the months. Please refer bel
-
How can I make the media size print option "custum" become available if it is not currently?
How can I make the media size print option "custum" become available if it is not currently?