Sitemap

Amicuk Programming Answers

How to count number of ones in table

2015-10-11   Views:2

Advertisement

Hello,  i created one table 16x32 each cell is updating 1 byte of data,how to count number of one in all cell,and is it right way to calculate check sum?? thank youThe simplest way is to call GetTableCellRangeValues with VAL_ENTIRE_TABLE as the range

Hello,
 i created one table 16x32 each cell is updating 1 byte of data,how to count number of one in all cell,and is it right way to calculate check sum??
thank you

The replay answer
Advertisement
The simplest way is to call GetTableCellRangeValues with VAL_ENTIRE_TABLE as the range, next summing array elements.
But I don't understand your comment on checksum, so this may not be the more correct method for your actual needs: can you explain what do you mean?
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos?

Go to See the other 4 answers

How to count number of rows in table

Category:DefaultRelease time:-0001-11-30Views:130

can I get number of row in table except Count(*) in pl/sql is there any other wayAlso posted and answered here how to count number of rows in table count(*) will be the fastest way. It is only slow if the table has a vast number of rows, in which cas[More]

How to count number of ones in table

Category:DefaultRelease time:2015-10-11Views:130

Hello,  i created one table 16x32 each cell is updating 1 byte of data,how to count number of one in all cell,and is it right way to calculate check sum?? thank youThe simplest way is to call GetTableCellRangeValues with VAL_ENTIRE_TABLE as the range[More]

Count number of rows in table

Category:DefaultRelease time:-0001-11-30Views:130

Hi! 1. How can you through ABAP and select statements count the number of rows in one table? 2. I want to read all rows from one table to an internal table. Can this be done dynamically or do I first have to count the number of rows in the table and[More]

How to add the Row count(number of rows in table)  in  the table header?

Category:DefaultRelease time:2015-10-11Views:130

Hi, I'm having a table. This table is viewed when i click on a search button. <b>On the table header it should dynamically display the number of rows in the table, i.e., the row count.</b> How to do this? could any one explain me with the deta[More]

Count number rows in multiple tables from one query

Category:DefaultRelease time:2015-10-11Views:130

Hi I was wondering if its possible to have a single query return the number of lines in multiple tables, for example i have the tables foo1 pk_foo1 and foo2 pk_foo2 They are not joined together by any contraints. So the pseudo code for the query woul[More]

Count number of records in a internal table

Category:DefaultRelease time:2015-10-11Views:130

hi i want to count number of records in internal table pls let me know how to count the number of records in a internal table. regards Arorahi one way is data field type i. Decribe table itab lines field. write: / field. displays the no of records in[More]

Is it possible to show the count of number or rows in table on the Home page Tab button.

Category:DefaultRelease time:-0001-11-30Views:130

Is it possible to show the count of number or rows in table on the Home page Tab button. On home page there is a Tab called Count and I want to show the count on the right corner of this tab button. Please helpCreate an application item. APP_HOME_COU[More]

To count number of records in an internal table for a condition

Category:DefaultRelease time:-0001-11-30Views:130

Hello All,         I want to count number of records in an internal table for a condition. For e.g. -- I have one internal table IT which having fields F1, F2, F3, F4, F5.                  Now, I want number of records in itnternal table IT where F1[More]

How to count number of sales orders generated in a month in SAP SD

Category:DefaultRelease time:2015-10-11Views:130

Hi SD Gurus, I have a very strange query from client. I have to count the number of sales order created in a month for a z report. For example 30 in Jan, 25 in Feb etc. Could anyone suggest me How to count number of sales orders generated in a month[More]

How to Count number of words in a file....

Category:DefaultRelease time:2015-10-11Views:130

Hi Experts, I have uploaded the text file, from the application server, like this:  call function 'GUI_UPLOAD'   exporting     filename = LV_ip_FILENAME   tables     data_tab = LT_FILETABLE. The text file contains some number character words....  lik[More]

How to count number of raw & put result top of page?

Category:DefaultRelease time:2015-10-11Views:130

I try to count number of table raw it work fine  but when I wont to put result top of page it dose not work only count one table raw REPORT  ZTEST. DATA: it_sflight TYPE TABLE OF Sflight WITH HEADER LINE  . DATA counter TYPE i VALUE 0. start-of-SELEC[More]

Hot
Hey Guys , Im unable to open system preferences on my mac.The problem started 2 days ago. -I've tried selecting system preferences by clicking the apple logo on the top left corner of my mac. -I've also tried opening system preferences by selecting B [More]
I'm using Aperture 1.5.2 and iPhoto 6.0.6 and cannot get Aperture to import my iPhoto library. I am following the procedure in the Aperture User Manual (p. 112) but it doesn't work. I don't get a beach-ball cursor or anything... no images, no disk ac [More]
The only thing displayed in the panel is "siteNameTooltip(x)" I have also reinstalled dreamweaver, since I was previously getting javascript errors on load. I was able to clear the error by adding a missing reference to bc_main.js in BCModulePan [More]
Hi, I'm running OS X Yosemite 10.10.2 French. I subscribed to Creative Clouds for photographers and downloaded the CreativeCloudInstaller.dmg. When I run the installer, it downloads things for a little while and as soon as I see the "Installing Creat [More]
Hi, I have rendered a checkbox in the header of a datagrid column using headerRenderer property. That column also has all entries as checkboxes. What I want to do is that on checking the header checkbox, all checkboxes should get checked. Though I am [More]
Hi, I am Working on Project system object. When i am trying  planned revenue is added on the project, I need to find if there is a way to assign the revenue amount on the lowest WBS to a cost element. This is required for revenue amounts to appear in [More]
Hello, I'm trying to implement a writing procedure into a file using several different threads. The idea I have is to make each thread to write in a different place in the file. In your opinion is there a possibility of some incoherence. Regards, Ant [More]
Hello, I am using Oracle8i Release 8.1.6.0.0 - Production. And OS windows 2000. I installed oracle 8i. On restarting the server the database is not up automatically. I check the following services. All are in automatice mode. ORACLETNSListerner ORacl [More]
hi i want to connect report builder to MS Access. i have to generate some reports. it urgent plz help me.if there is any guide then give me link. thnxHi, you can use the JDBC-ODBC datasource. Here some line out of note 207536.1 You have to first crea [More]
Does anyone have experience sharing a LR4 catalog via an external drive. My stuff all come in at different times so we would not be accessing it simulteaneously. Trying to keep the maintenance time down as I spend a lot of time working on my catalog [More]