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
Hi, I have a Lenovo 3000 N200 0769-byg with Win-XP SP3 installed There is a problem with the wired Ethernet that is the system doesn't detect the broadcom when it boots after it was shut down Then the system starts to detect it after at least 20min a [More]
Dear Sir/Madam, I'd uninstalled 'Flash Player' in Window 8 accidently. What ca I do to reinstall it? Your faithfully, CCCWhat browser?  See also http://helpx.adobe.com/flash-player/kb/flash-player-issues-windows-8.html [topic moved to Flash Player fo [More]
Hi, I'm using Adobe CC Bridge to batch rename a folder of RAW files. Version 6.0.1.6.  I've got the latest Mac Pro running Maverick.  I set up the parameters in the Batch Rename tool, but when I hit Rename, nothing happens.  Is there anything I can d [More]
Unit is 4 months old. ALL lights work. Used w/ Comcast Cable. Every 10 mins I lose total wireless function. I pull the pwr jack & it comes back up. It will not come back up unless I repower the unit. Cable box is certified ok. This is driving me out [More]
My outlook will not open yet all other microsoft packages will.  When I click on the icon, the 'o' logo will come up for a split second but will not open the package - need to receive emails asap!You're very welcome! I meant holding the "option" [More]
So I got a new iMac 27" and am wondering how to install Quicktime 7 Pro onto it. I tried and said that I had a newer version and could not. I use 7 Pro quite frequently and really need it. Any help?Wow!! Thanks Niel! You are awesome! Now can you tell [More]
HI, I'm new to PI/XI. 1) Could anyone please explain about the real difference between WS runtime and Proxy runtime? 2) How to configure the scenario's for WS communication and proxy communication? 3) what is the adapter type we should use for this i [More]
We are running DPM 2012 R2 on Windows Server 2012 R2 We have a Protection Group:Servers (9 members) where 5 servers always give the same error message, when we try to run a synchronization job with consistency check. With other 4 server everything is [More]
i just bought a new led display, wich allows 1920x1080 resolution. With this resolution fonts looks like tweak and broken, very annoying. Firefox is the only application that suffers this problems. Opera and Internet Explorer looks perfect, and also [More]
Whenever i try to transfer my photos says "the ipod could not me updates, the requested file could not be found." An ideas Fujitsu c2300   Windows XP   5th gen ipod 30gb whiteHow are we trying to transfer the photos? read this please, lower righ [More]