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
Dear Guru, I have some questions on GR/IR clearing GR and IR have been done for a PO. I run F.19 for GR/IR clearing. Next, I run a customised report to check whether the GR/IR for this PO has been cleared. However, the detail is still resides in tabl [More]
On my Vista computer, when trying to sync anything (apps, music etc), I get errors ranging from -6999, -69, Sync timed out and so on. This is the only computer it happens and it can sync on my laptop and computer with XP on it. Its never been able to [More]
I'm using an online web mapping application that has input boxes for descriptive text and stuff like that. Sometimes I copy blocks of text from a word processing app into these input boxes because I can format the text in the wp. When I paste the tex [More]
This has been brought up before, but I did not find a real solution so I'm doing it again. I have a set of class files that I am publishing as a swc file from Flashbuilder. I want to use that swc as the library across multiple versions of a game. I h [More]
Hi, I need the complete example on Message bridge in weblogic server. ie betwenn to weblogic jms server's?? please help me out if some one know how to setup Message bridge between two weblogic servers ThankIf your Sonic ESB is lik JMS poller then use [More]
Hi all i got some tables bseg bkpf rseg rskf when we do miro the data is stored in rseg and rskf is that data stored on bseg and bkpf and plz tell any relation between bseg, bkpf and rseg, rskf. helpful ans wil b rewarded..... thanxhi rseg is miro do [More]
Hi all, I had use the JDeveloper 11.1.2 . And i want create a new web service application using the JDeveloper 11.1.2. Please give some steps and document for creating the web service application . Also give some steps for accessing the web service a [More]
I need to encode a message string that consists of a byte array to be sent to a device. Two of the items are numeric values that are to be represented as hex 0x00 - 0xFF. This needs to be placed into a single byte. My question is this, can I use a sh [More]
I exported JPG photos using Iphoto to a usb flash memory card in a DCIM folder. I want a friend to download these photos on his Ipad. I can use the Finder to display any of these photos from the flash memory card. So they exported right. But his Ipad [More]
Hi Experts, In SAP, when create a production order, in the production order Header view, in the "Good Receipt" Tab, there is a field "Batch" , which means "Assigns a material that is manufactured in batches or production lots to a [More]