Getting running count of field as it is entered
Hi,
I need help on getting running count of field as it is entered. Example
There is a block with 3 fields and has 100 records entered with 2nd and 3rd field as null ( These records are automatically populated the movement we go into the window.)
Now the users will start entering the 2nd field and 3rd field and I would like get the count of records entered entered.
Thanks for the help.
Got it.
Similar Messages
-
Data getting deleted from screen fields when I Press Enter
Hi Folks,
I have a serious Issue need to resolve it urgently. I have created a subscreen in PS Module
Prog: SAPLXCN1(Subscreen)
Screen: 0600.
Enhancement: CNEX0006.
I have created a screen and populated the data via search helps, when I fill all the custom fields with values and press enter my data is getting deleted please give me quick solutiojn.
Thanks & Regards,
Ramcharan.Hi RAM,
Check the Code where you are writning , (PBO or PAI)
After that check the sy-ucomm for Enter and write your code accordingly,,.
Thanks & regards,
Dileep.C -
Getting run time error for multiple counter plan
Hi Friends,
Its very critical issue,wherein i am getting run time error for multiple counter plan.
Explanation:While try to change the Call horizon or scheduling period of the counter based plan through IP42 or IP15,systam allowing me to change the data but while saving also i am getting "Maintenance plan has changed" message and once come to the back of the transaction instantly i am getting pop up window saying that "Express document get terminated".However we have been maintaining copy of this data in another client wherein we are not getting any Run time error.
Please find the screen shots for your reference and please let me know how to fix the issue.
Regards,
SrinikaHi,
Please check reason for update termination in Transaction code SM13. -
How the "Run Payroll upto" field(P0003-ABWD1) in IT0003 getting updated
Hi,
1.I want to know how the "Run Payroll upto" field(P0003-ABWD1) in IT0003 getting updated apart from manual entry?
2.Is there any user exit which could update that field?
3.Will any entry made in IT0015 update that field?
Thanks in advance,
BalajiHi,
as I see it, this date allows you to create a payroll for an employee even if he left (is fired).
When you have to give him additional payment after his leave (normally via infotyp 15) you have to set this date in order to get the payroll done.
Updates in infotype 15 will not normally set this date automatically, but you can use PBAS0001 as Ahmad mentioned.
Herbert
PS: Maybe you can use dynamic measures to do the update when leave is initiated via specific measure.
Message was edited by: Herbert B. -
Get the count of rows in a table control
Hi Experts,
How do I get the count of the rows in a table control during run time.
I am developing a BDC in which I have to check all entries in a table control.
My requirement is to get the total number of rows in a table control dynamically.
Thanks
KumarHi,
Use a variable when u r passing the records from the internal table to the screen fields
and display the same.
I think this idea may help u.
And pls explain me ur requirement clearly.
Refer to the following link this may help u.
http://sapabapnotes.blogspot.com/2008/03/working-with-ecatt-extended-computer.html
Reward if helpful.
Jagadish -
How to get attendies count for a calendar list in sharepoint 2013?
Hi everybody,
I am using calendar list in SharePoint 2013 for my project.
Could please tell me how to get the count of attendees using SP Designer or OOTB calculated field.
Because I want to display the fields like
TOTAL SEATS =20
Attendees= Need count
Avail seats= total - Attendees count.
In that way I want to show information about availability seats for training session.
Regards,
DhayanandHi Dhaya
Please refer the links.Hope it helps :-)
http://social.msdn.microsoft.com/Forums/en-US/b8677dc5-3eb1-4bdc-92f2-f57201bfabb1/field-that-counts-attendees?forum=sharepointcustomizationprevious
http://sharepoint.stackexchange.com/questions/54253/use-count-related-column-value-as-int-in-a-sp-designer-workflow -
How do you get word count to print at the end of a document in Pages?
How do you get word count to print at the end of a document in Pages?
Pages v5 does not provide a user assignable word count variable. With some AppleScript, and a paste operation from the clipboard, you can have locale punctuated word count in this format: 7,803 — anywhere in your document. The following AppleScript works with Pages '09 v4.3 through Pages v5.5.2 on Yosemite.
I would suggest that you copy paste the following AppleScript into your [Apple] Script Editor and save it (suggestion) wordcnt.applescript. Then, follow this with an option+Save As… and this time set the File format to Script Bundle, or Application with hidden extension — saved to your Desktop. Provided you have a Pages document open, you are then a double-click from the ability to paste your current word count into Pages.
Note: If you have Pages word count display enabled, it will automatically count your pasted value as another word which initially may deceive on true word count at the time the script was run.
AppleScript
--- copy below this line ---
property locale : "en_US.UTF-8" -- In Terminal, use the locale command to see yours
if not ApplicationIsRunning("Pages") then
display dialog "Pages must be running to use this utility."
return quit
end if
tell application "Pages"
tell body text of front document
set wordCnt to count words
-- Don't want punctuated numbers? Remove the single quote from printf format
set the clipboard to (do shell script "export LC_ALL=" & locale & "; printf \"%'d\" " & wordCnt)
end tell
end tell
on ApplicationIsRunning(appName)
tell application "System Events" to set appNameIsRunning to exists (processes where name is appName)
return appNameIsRunning
end ApplicationIsRunning -
EXPECTED OUTPUT: here i need to get the count of 932 + 134 records = 1064
Hi Team,
could you pls suggest y iam getting wrong count.
select * from i_invoice_info_t_log_v invlog,invoice_header_t invhead
WHERE substr(invlog.tot_cust_no,1,7)=substr(invhead.acct_no,3,7)--------comparing tot_cust_no and acct_no for the other countries
and invhead.comp_code NOT in (2300) ----here when iam running this query i am getting the count of 932 records.
select * from i_invoice_info_t_log_v invlog,invoice_header_t invhead
where substr(invlog.tot_cust_no,3,7)=to_char(substr(invhead.acct_no,3,7))--------------comparing tot_cust_no and acct_no FOR THE COUNTRY 2300
and invhead.comp_code in (2300) ----Here when i am running this query i am getting the count of 134 records.
EXPECTED OUTPUT: here i need to get the count of 932 + 134 records = 1064 records.
I am using this query like below:
select * from i_invoice_info_t_log_v invlog,invoice_header_t invhead
where
(substr(invlog.tot_cust_no,1,7)=substr(invhead.acct_no,3,7)
and invhead.comp_code NOT in (2300)
OR
(substr(invlog.tot_cust_no,3,7)=to_char(substr(invhead.acct_no,3,7))
and invhead.comp_code in (2300)
)---------------------------------------------------here when i am running this query i am getting the count of 18381 records which is incorrect.
Expected output: i need to get the data for the comp_code which are not in 2300 and which are in 2300... bothselect *
from i_invoice_info_t_log_v invlog,
invoice_header_t invhead
WHERE (
substr(invlog.tot_cust_no,1,7) = substr(invhead.acct_no,3,7) --comparing tot_cust_no and acct_no for the other countries
and
invhead.comp_code NOT in (2300) --here when iam running this query i am getting the count of 932 records.
or (
substr(invlog.tot_cust_no,3,7) = to_char(substr(invhead.acct_no,3,7)) --comparing tot_cust_no and acct_no FOR THE COUNTRY 2300
and
invhead.comp_code in (2300) --Here when i am running this query i am getting the count of 134 records.
/SY. -
How to get the Count of a logic?
Hi,
Very new to CRM. I am trying to get the count of "activity start time" that are greater than current time stamp. Count(activity start time) work. I don't know how to add the time stamp condition to this. I can't add this condition as filter.
Appreciate any responses.
ThanksRaghu,
Thanks for the help. It works to get the count.
The problem is, i have some other filters set and can't combine this filter. Here is my scenario:
get all activities on a contact that have greater than x $ amount as assets. I need to find the number of future appointments for that contact and start time of first pending future appointment. All has to be in one report.
My columns are for example : contact name, activity start time, end time, subject, next pending appointment start time, total future appointments, some other related fields from contact
So when I add the filter that you had given, it will not give me all activities. I am able to achieve all this in seperate reports and unnable to get it in single one.
Thanks,
GiGi -
Compare text in one cell to a range of cells, get interger count of values
Hi there,
Basically what I'd like to do is, as a value in one cell, compare the text in a second cell to a range of third cells, and get a count of "hits".
EXACT(second,third) will compare two cells, return a boolean. How do I batch run EXACT, and force boolean values into integers.
Conceptually:
For each J2:J14;$X=$X+INT(EXACT(B2,$_);return $X
Can this be done in Numbers?Nevermind; the following works:
=COUNTIF(($J2:$J14),B1) -
All months in date range plus running count
Oracle 11g
Hello all,
Having trouble getting the following query to return proper results. Have a table with a MEMBERNO, BUSINESS_LINE, ELIGIBILITY_START_DATE, ELIGIBILITY_END_DATE.
MEMBERNO is not unique
BUSINESS_LINE is not either
Start and end date are periods of time where: MEMBERNO&BUSINESS_LINE have changed
I need to list the member number, business_line, and each month that falls within the date range beginning with eligibility_start_date & eligibility_end_date, as well as a running count of the total in that span.
Eg.
member, business_line, month, year, count
1234, bus1, 01, 2001, 1
1234, bus1, 02, 2001, 2
1234, bus1, 03, 2001, 3
Here is my SQL, it is not sequencing the months dates correctly and I can not figure out why. Any help is very appreciated:
SELECT memberno,
business_line,
TO_CHAR (ADD_MONTHS (start_date, LEVEL - 1), 'MM') as MONTH,
TO_CHAR (ADD_MONTHS (start_date, LEVEL - 1), 'YYYY') as YEAR,
ROW_NUMBER () OVER (PARTITION BY key1 ORDER BY start_date ASC) as MEMBER_MONTH_COUNT
FROM (SELECT memberno,
business_line,
eligibility_start_date as start_date,
eligibility_end_date as end_date,
member_nbr || business_line as key1
FROM eligibility)
CONNECT BY LEVEL <=
MONTHS_BETWEEN (TRUNC (END_DATE, 'MM'),
TRUNC (START_date, 'MM'))
+ 1;
Edited by: 935047 on Jul 25, 2012 5:58 AM
Edited by: 935047 on Jul 25, 2012 6:18 AM935047 wrote:
I need to list the member number, business_line, and each month that falls within the date range beginning with eligibility_start_date & eligibility_end_date, as well as a running count of the total in that span.
Eg.
member, business_line, month, year, count
1234, bus1, 01, 2001, 1
1234, bus1, 02, 2001, 2
1234, bus1, 03, 2001, 3I could not understand what the Running Count mean. Hence, I used Row_Number (Same as you did).
Below query might match yours.
with data (memb_no, bus_line, st_date, end_date) as
select 1234, 'bus1', to_date('01-01-2001', 'MM-DD-YYYY'), to_date('06-30-2001', 'MM-DD-YYYY') from dual
union all
select 1234, 'bus1', to_date('07-01-2001', 'MM-DD-YYYY'), to_date('07-30-2002', 'MM-DD-YYYY') from dual
min_max as
select memb_no, bus_line, min(st_date) st_date, max(end_date) end_date
from data
group by memb_no, bus_line
lvl as
select level l
from dual
connect by level <= (select max(round(months_between(end_date, st_date))) from min_max)
select memb_no,
bus_line,
to_char(add_months(st_date, l - 1), 'MM') months,
to_char(add_months(st_date, l - 1), 'YYYY') Year,
row_number() over (partition by memb_no, bus_line order by st_date) cnt
from min_max cross join lvl
order by year, months;
----OUTPUT------------------------
MEMB_NO BUS_LINE MONTHS YEAR CNT
1234 bus1 01 2001 1
1234 bus1 02 2001 19
1234 bus1 03 2001 3
1234 bus1 04 2001 4
1234 bus1 05 2001 5
1234 bus1 06 2001 6
1234 bus1 07 2001 7
1234 bus1 08 2001 8
1234 bus1 09 2001 9
1234 bus1 10 2001 10
1234 bus1 11 2001 11
1234 bus1 12 2001 12
1234 bus1 01 2002 13
1234 bus1 02 2002 14
1234 bus1 03 2002 15
1234 bus1 04 2002 16
1234 bus1 05 2002 17
1234 bus1 06 2002 18
1234 bus1 07 2002 2
19 rows selected -
How to get user count by Planning app in 11.1.2.1
I have no. of planning apps and I need to get a user count by application.
I tried to export the security by using LCM but the export doesn't provide the information in a readable format.
Is there a way to generate a report where I can get the count (user ids) by planning app ?
Thanks in advanceCould you not get somebody to run the queries for you they quick and simple
anyway if you have to go down the filter per user route then maybe you could use maxl and spool the output.
e.g.
login admin password on servername;
spool on to "path\filename.txt";
display filter on database appname.dbname;
spool off;
logout;
Cheers
John
http://john-goodwin.blogspot.com/ -
How can I get a count of records in a DB?
If I want to get a count of the number of records in a table how do I do it?
Generally, it's good practice to close the connection once you're done with it unless you have a reason to keep going back to it, in which case it probably becomes a performance issue. If you need to keep accessing the same connection repeatedly while your form is running (in Acrobat), I think you would be best to leave it open after initialization.<br /><br />You might consider placing the code which counts the records into a function inside a Script Object. This way, you can just call the Script Object method and retrieve the record count whenever you need it.<br /><br />Make sure you define the <b>oDB</b> variable outside the function but inside the Script Object:<br /><pre>var oDB = null;<br /><br />function GetRecordCount()<br />{<br /> if (oDB == null)<br /> {<br /> var sDataConnectionName = "<value>"; // example - var sDataConnectionName = "MyDataConnection"; <br /><br /> // Search for sourceSet node which matchs the DataConnection name <br /> var nIndex = 0; <br /> while(xfa.sourceSet.nodes.item(nIndex).name != sDataConnectionName) <br /> { <br /> nIndex++; <br /> } <br /><br /> var oDB = xfa.sourceSet.nodes.item(nIndex); <br /> oDB.open();<br /> }<br /><br /> oDB.first(); <br /><br /> // Search node with the class name "command" <br /> var nDBIndex = 0; <br /> while(oDB.nodes.item(nDBIndex).className != "command") <br /> { <br /> nDBIndex++; <br /> } <br /><br /> // Backup the original settings before assigning BOF and EOF to stay <br /> var sBOFBackup = oDB.nodes.item(nDBIndex).query.recordSet.getAttribute("bofAction"); <br /> var sEOFBackup = oDB.nodes.item(nDBIndex).query.recordSet.getAttribute("eofAction"); <br /><br /> oDB.nodes.item(nDBIndex).query.recordSet.setAttribute("stayBOF", "bofAction"); <br /> oDB.nodes.item(nDBIndex).query.recordSet.setAttribute("stayEOF", "eofAction"); <br /><br /> var itemCount = 0; <br /><br /> while(!oDB.isEOF()) <br /> { <br /> itemCount++; <br /> oDB.next(); <br /> } <br /><br /> // Restore the original settings <br /> oDB.nodes.item(nDBIndex).query.recordSet.setAttribute(sBOFBackup, "bofAction"); <br /> oDB.nodes.item(nDBIndex).query.recordSet.setAttribute(sEOFBackup, "eofAction"); <br /><br /> return itemCount;<br />}</pre><br />You can create a script object by right-clicking on the top-level form node ("form1" by default). Say you name your script object "Utils", you can then call the function inside of it from any event script like this:<br /><pre>this.rawValue = Utils.GetRecordCount();</pre><br />Stefan<br />Adobe Systems
-
Any ideas on how to quickly get a count of logged-in users?
Hi, is there an easy and quick way to get the count of users currently logged into the system, i.e. without having to scoll tens of pages of the Company Sign-In log.
prVery simple:
Create a new analysis:
Active Subject Area: Usage Tracking Analysis
User Adoption Metrics and your field is the "% Logged In"
(i think, this report section have to be enabled in admin, or maybe have to be licensed....) -
How to convert the value in GET RUN TIME statement in minutes value...
Hello Experts,
As I understand, the value that is being passed from GET RUN TIME FIELD statement
is in microseconds. Now, how do I convert it in minutes value?
Thank you guys and take care!This will give in Hours , minutes, seconds.
data time type sy-uzeit.
get time field time.
write time.
Check it.
Maybe you are looking for
-
Have tried to verify my icloud account, but its not working, the Verifying screen has been scrolling for ages now, it seems stuck, but it wont let me do anything, please help
-
Desactive the option "create serial number automatically"
Hello I´am using serial numbers for certain materials with Stock check, and in my serial number profile the procedure MMSL (maintain goods receipt and issue doc.) is set the serusage 03 (obligatory). I need this configuration, so I can control stock
-
In consignment return procee i have doen the return sales order and return delivery , my querry when is it that i have to cancel the excise invoice , was it before the return delivery or is it possible that i can cancel the excise invoice now . and
-
LR 5.5 from Creative Cloud crashing on startup
I just updated my LR from Creative Cloud on my Mac OS X 10.9.3. It crashes immediately. Any idea what I can? I restored LR 5.4 from a backup, and it started up fine.
-
APP-PER-74450 The mobile number is invalid. It's length must be between 10
Hi, We have upgraded 12.0.4 to 12.1.3. After upgrade during HR testing, Contact Number for employee does not allow for special characters like '+' . Showing error message "APP-PER-74450 The mobile number is invalid. It's length must be between 10". T