Konsole count down same line
I'm trying to do a count down in a terminal program. However, how can i get the effect of counting down without having to print new lines or having it appear as 88 87 86 and so on.
I know how to count down and everything im just not sure as to how i could get it to look as a live count down clock.
thanks
It's going to depend on the terminal in question. Different terminals have different capabilities, and some terminals simply wouldn't be able to do this.
But on most terminals that you probably have access to, you can do this using Control-M, which is "carriage return", which is represented in Java with the escape sequence "\r".
So you can write a number, wait a second, write a carriage return, then write the next lowest number.
Similar Messages
-
SQL/PLSQL Help - Table Name and Count on same line
Hello,
I need the following information returned:
Table_Name, Current Table Count, Num_Rows.
The table_name and num_rows are pulled from dba_tables where owner = 'XXXX'
I can't figure out how to return this info.
Sample of desired output and format
Table_name Num_Rows Current Count
AAAA 15 400
ABBB 8000 8120
Any help would be appreciated.
Thanks - ChrisMay be this one helps you:
declare
cursor cur_cnt is
select 'select ''' || table_name || ''', (select count(*) from ' || table_name || ') from dual' l_sql from user_tables;
l_table_name varchar2(30);
l_cnt number;
begin
dbms_output.put_line(rpad('Table Name',40)||rpad('RowCount',40));
dbms_output.put_line('------------------------------------------------');
for l_cur_cnt in cur_cnt
loop
execute immediate l_cur_cnt.l_sql into l_table_name, l_cnt;
dbms_output.put_line(rpad(l_table_name,40)
||rpad(l_cnt,40));
end loop;
end;
-Hari
Hello,
I need the following information returned:
Table_Name, Current Table Count, Num_Rows.
The table_name and num_rows are pulled from dba_tables where owner = 'XXXX'
I can't figure out how to return this info.
Sample of desired output and format
Table_name Num_Rows Current Count
AAAA 15 400
ABBB 8000 8120
Any help would be appreciated.
Thanks - Chris -
How can I make my user input on the same line as the question?
The only way I know of doing it is
System.out.println ("Please enter an uppercase letter of the English Alphabet: ");
letter = dataIn.readLine ();But that makes Please enter an uppercase letter of the English Alphabet:
**User input here, a line down**So how can I make it all fit into one line with this sort of layout:
Please enter an uppercase letter of the English Alphabet: **USER INPUTS HERE, SAME LINE**change your call from println to print.
check the API docs for this stuff, it tells you everything you need to know.
Good Luck
Lee -
After what seems to be a normal upgrade to the new Mountain Lion OS X on my early 2008, 24" iMac. My iMac counted down to restart but did not turn all the way off. At the end of the count down the screen went white with a small file folder flashing on and off in the center of the screen. Also there is a ?, question mark in the miaale of the file folder. The screen responds to no keyboard or mouse commands. Request help.
My computer was doing the same as yours hinikuru but now there is a change. I turned my iMac off by the button on the back and left it off for about an hour. When I just turned it on the center Apple logo was back and soon the loading logo for the new Mountain Lion program came up. On the bottom of the logo there is a horizontal sliding bar that says the program will take 34 minutes to load. Time will tell. I have two iMacs and if this goes we'll I will install the new Mountain Lion tomorrow. Hinikuru, I was about to follow the information in one of the side bar blocks titled "More like this" on the right side of this screen when my iMac seemed to fix itself! Good luck. I think not all is lost.
-
How can I write left and right in the same line of a richtextbox?
I want to write, in the same line, text with a right aligment and other with left aligment. How can I do it?
thanksI want to write, in the same line, text with a right aligment and other with left aligment. How can I do it?
thanks
As
Viorel_ says "Perhaps there are other much easier solutions. For example, create two
RichTextBoxes with no borders (if you only need two columns of text)" but the real issue would be saving the info in the RichTextBox's (RTB's) RTF or Text to two different RTF or TextFiles. Although I suppose if it was just going to
a TextFile then you could somehow use a delimited text file so each same line number of each RTB is appended to the same line and delimited. That way you could probably load a split array with each line from the text file splitting on the delimeter per line
and providing RTB1 with index 0 of the split array and RTB2 with index 1 of the split array. I'm not going to try that.
This is some leftover code from a long time ago. It has three RTB's. RTB1 is there I suppose because the thread asking for this code wanted it. RTB2 is borderless as well as RTB3. The Aqua control in the top image below is the Panel used to cover RTB2's
scrollbar. So RTB3's scrollbar is used to scroll both controls.
I forgot to test if I typed past the scroll position in RTB2 if both would scroll as maybe RTB3 would not since it would not have anything to scroll to I suppose.
Maybe this code can help or maybe not. The bottom two images are the app running and displaying nothing scrolled in RTB2 and RTB3 then the scroll used in the bottom image.
Disregard the commented out code in the code below. It was there so I left it there. I suppose you should delete it. Also I didn't set the RTB's so one was left aligned and the other right aligned. I believe the Panel becomes a control in RTB2's controls
when it is moved to cover RTB2's vertical scrollbar but don't remember although that seems the case since both RTB2 and RTB3 are brought to front so if the Panel was not one of RTB2's controls I would think it would be behind RTB2 and RTB2's vertical scrollbar
would display but don't remember now. In fact I don't really remember how that part works. :)
Option Strict On
Public Class Form1
Declare Function SendMessage Lib "user32.dll" Alias "SendMessageW" (ByVal hWnd As IntPtr, ByVal msg As Integer, ByVal wParam As Integer, ByRef lParam As Point) As Integer
Const WM_USER As Integer = &H400
Const EM_GETSCROLLPOS As Integer = WM_USER + 221
Const EM_SETSCROLLPOS As Integer = WM_USER + 222
Dim FixTheProblem As New List(Of String)
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Me.CenterToScreen()
Panel1.BackColor = Color.White
Panel1.BorderStyle = BorderStyle.Fixed3D
RichTextBox2.BorderStyle = BorderStyle.None
RichTextBox2.ScrollBars = RichTextBoxScrollBars.Vertical
RichTextBox3.BorderStyle = BorderStyle.None
RichTextBox3.ScrollBars = RichTextBoxScrollBars.Vertical
RichTextBox3.Size = RichTextBox2.Size
RichTextBox3.Top = RichTextBox2.Top
RichTextBox3.Left = RichTextBox2.Right - 20
Panel1.Size = New Size(RichTextBox2.Width * 2 - 16, RichTextBox2.Height + 4)
Panel1.Left = RichTextBox2.Left - 2
Panel1.Top = RichTextBox2.Top - 2
RichTextBox2.BringToFront()
RichTextBox3.BringToFront()
FixTheProblem.Add("Curry: £6.50")
FixTheProblem.Add("Mineral Water: £4.50")
FixTheProblem.Add("Crisp Packet: £3.60")
FixTheProblem.Add("Sweat Tea: £2.23")
FixTheProblem.Add("Motor Oil: £12.50")
FixTheProblem.Add("Coca Cola: £.75")
FixTheProblem.Add("Petrol Liter: £3.75")
FixTheProblem.Add("Shaved Ice: £.50")
FixTheProblem.Add("Marlboro: £2.20")
FixTheProblem.Add("Newspaper: £.25")
FixTheProblem.Add("Spice Pack: £.75")
FixTheProblem.Add("Salt: £.50")
FixTheProblem.Add("Pepper: £.30")
For Each Item In FixTheProblem
RichTextBox1.AppendText(Item & vbCrLf)
Next
RichTextBox1.SelectionStart = 0
RichTextBox1.ScrollToCaret()
Dim Fix As String = ""
For Each Item In FixTheProblem
Fix += Item.Replace(":", "^:") & vbCrLf
Next
Fix = Fix.Replace(vbCrLf, "^>")
Dim FixSplit() As String = Fix.Split("^"c)
For i = 0 To FixSplit.Count - 1
If CBool(i Mod 2 = 0) = True Then
RichTextBox2.AppendText(FixSplit(i).Replace(">"c, "") & vbCrLf)
ElseIf CBool(i Mod 2 = 0) = False Then
RichTextBox3.AppendText(FixSplit(i) & vbCrLf)
End If
Next
End Sub
Dim RTB2ScrollPoint As Point
Private Sub RichTextBox2_Vscroll(sender As Object, e As EventArgs) Handles RichTextBox2.VScroll
Dim RTB2ScrollPoint As Point
SendMessage(RichTextBox2.Handle, EM_GETSCROLLPOS, 0, RTB2ScrollPoint)
SendMessage(RichTextBox3.Handle, EM_SETSCROLLPOS, 0, New Point(RTB2ScrollPoint.X, RTB2ScrollPoint.Y))
'Me.Text = RTB2ScrollPoint.X.ToString & " .. " & RTB2ScrollPoint.Y.ToString
End Sub
Private Sub RichTextBox3_Vscroll(sender As Object, e As EventArgs) Handles RichTextBox3.VScroll
Dim RTB3ScrollPoint As Point
SendMessage(RichTextBox3.Handle, EM_GETSCROLLPOS, 0, RTB3ScrollPoint)
SendMessage(RichTextBox2.Handle, EM_SETSCROLLPOS, 0, New Point(RTB3ScrollPoint.X, RTB3ScrollPoint.Y))
'SendMessage(RichTextBox2.Handle, EM_SETSCROLLPOS, 0, New Point(0, 10))
End Sub
End Class
La vida loca -
Hey all, i have come to this fourm a few times and every time
i posted help i got it and i got the right help to. So here i am
back again. Now here my problem. i made this count down for a
certain event. (yes i got help from someone) and it works fine i
made all the images it works great,,,so i though then i thought id
experament. So i changed my computers time zone and guess what. The
Time changed on the count down. Can i make my count down'er', count
down from a specific time zone so it will count down and be the
same for everyone? so no matter what time zone you have it will
ONLY be for a certain type of time zone? Heres my Count down so
far;
http://snro.ifastnet.com/wipe.html
And heres the script i have for my count down. Can someone
give me a better code, so it will keep my counter the exact same
just make it count down from only 1 specific Time zone? (AS below)
quote:
stop();
currentDate = new Date();
thisYear = currentDate.getFullYear();
// Date( year, month-1, date [, hour [, minute [, second [,
millisecond]]]])
eventDate = new Date(thisYear, 9, 28, 12);
eventMillisecs = eventDate.getTime();
counter.onEnterFrame = function(){
currentDate = new Date();
currentMillisecs = currentDate.getTime();
this.msecs = eventMillisecs - currentMillisecs;
if (this.msecs <= 0){
play();
return;
this.secs = Math.floor(this.msecs/1000);
this.mins = Math.floor(this.secs/60);
this.hours = Math.floor(this.mins/60);
this.days = Math.floor(this.hours/24);
this.msecs = string(this.msecs % 1000);
this.secs = string(this.secs % 60);
this.mins = string(this.mins % 60);
this.hours = string(this.hours % 24);
this.days = string(this.days);
while (this.msecs.length < 3) this.msecs = "0" +
this.msecs;
if (this.secs.length < 2) this.secs = "0" + this.secs;
if (this.mins.length < 2) this.mins = "0" + this.mins;
if (this.hours.length < 2) this.hours = "0" + this.hours;
while (this.days.length < 3) this.days = "0" + this.days;
for(movie in this){
if (this[movie]._parent == this)
this[movie].evaluateFrameFrom(this);
MovieClip.prototype.evaluateFrameFrom =
function(variableClip){
var nameArray = this._name.split("_");
var numberSet = variableClip[nameArray[0]];
var character = number(nameArray[1]);
var frame = 1 + number(numberSet.charAt(character));
if (this._currentframe != frame) this.gotoAndStop(frame);
Thanks!
Edit** If you can the time zone i need it clocked to is
(GMT-06:00) Central Time (US & Canada)"Pitchsole" <[email protected]> wrote in
message
news:[email protected]...
> Hey all, i have come to this fourm a few times and every
time i posted
> help i
> got it and i got the right help to. So here i am back
again. Now here my
> problem. i made this count down for a certain event.
(yes i got help from
> someone) and it works fine i made all the images it
works great,,,so i
> though
> then i thought id experament. So i changed my computers
time zone and
> guess
> what. The Time changed on the count down. Can i make my
count down'er',
> count
> down from a specific time zone so it will count down and
be the same for
> everyone? so no matter what time zone you have it will
ONLY be for a
> certain
> type of time zone? Heres my Count down so far;
>
>
http://snro.ifastnet.com/wipe.html
>
> And heres the script i have for my count down. Can
someone give me a
> better
> code, so it will keep my counter the exact same just
make it count down
> from
> only 1 specific Time zone? (AS below)
>
>
quote:
stop();
>
> currentDate = new Date();
> thisYear = currentDate.getFullYear();
>
> // Date( year, month-1, date [, hour [, minute [, second
> millisecond]]]])
> eventDate = new Date(thisYear, 9, 28, 12);
> eventMillisecs = eventDate.getTime();
>
> counter.onEnterFrame = function(){
> currentDate = new Date();
> currentMillisecs = currentDate.getTime();
> this.msecs = eventMillisecs - currentMillisecs;
> if (this.msecs <= 0){
> play();
> return;
> }
> this.secs = Math.floor(this.msecs/1000);
> this.mins = Math.floor(this.secs/60);
> this.hours = Math.floor(this.mins/60);
> this.days = Math.floor(this.hours/24);
> this.msecs = string(this.msecs % 1000);
> this.secs = string(this.secs % 60);
> this.mins = string(this.mins % 60);
> this.hours = string(this.hours % 24);
> this.days = string(this.days);
>
> while (this.msecs.length < 3) this.msecs = "0" +
this.msecs;
> if (this.secs.length < 2) this.secs = "0" +
this.secs;
> if (this.mins.length < 2) this.mins = "0" +
this.mins;
> if (this.hours.length < 2) this.hours = "0" +
this.hours;
> while (this.days.length < 3) this.days = "0" +
this.days;
>
> for(movie in this){
> if (this[movie]._parent == this)
this[movie].evaluateFrameFrom(this);
> }
> };
>
> MovieClip.prototype.evaluateFrameFrom =
function(variableClip){
> var nameArray = this._name.split("_");
> var numberSet = variableClip[nameArray[0]];
> var character = number(nameArray[1]);
> var frame = 1 + number(numberSet.charAt(character));
> if (this._currentframe != frame)
this.gotoAndStop(frame);
> };
>
> Thanks!
>
To let you be the one to further experiment I will point you
in the right
direction.
http://www.adobe.com/livedocs/flashlite/2/main/wwhelp/wwhimpl/common/html/wwhelp.htm?conte xt=LiveDocs_Parts&file=00000468.html
Use GMT as your main reference for everyone, then offeset
that time to your
timezone. -
I don't know if this has happened to anyone but I just got my iPOD a month ago, I haven't done anything crazy with it. i just want to listen to music. I purchased the thing so I can have music while I'm traveling and now it is not working.
Here is the problem: It just counts down the songs and doesn't play any of them. If I pick and album it counts down all the songs and stops. If I pick a playlist it does the same thing. Never playing any songs.
Also, the camera import function is not working. I purchased a camera converter to import pictures from my Canon A80 to my ipod and its giving me an import error.Have you Reset the iPod? Press and hold Select and Menu for ~6 seconds.
Also, the camera import function is not working. I purchased a camera converter to import pictures from my Canon A80 to my ipod and its giving me an import error.
Did it work before?
The A80 is not shown as a supported camera.
http://www.apple.com/ipod/compatibility/cameraconnector.html -
When watching an item ending in ebay/firefox, the time remaining doesn't count down. However I'm sure it used too.
Just an update...
I took my computer into the Apple Store and they gave me a new battery (again). I also erased my hard drive and reinstalled Lion. I am still having the same problem with my battery icon not counting down (when i have the power cord unplugged). Another thing I may have not talked about is when I unplug my power adapter from my MacBook the screen used to dim slightly, It no longer does that. Hmm. And yes I have checked the power settings.
I am seeing a big difference in my new battery though. The 6 month old battery I was using before my replacement wasn't lasting but maybe and hour before completely turning off my laptop. SInce I got my replacement battery I am back to a regular battery life. Maybe a couple issues going on here...
As a fix, I purchased Battery Guard from the app store and placed the icon on my tool bar. It actually counts down my battery life as a percentage. So its a huge help. I just don't know why the native Mac icon isn't working properly?? One thing I have noticed is the 3rd party app will only count down using a Percentage. But, like the native Mac icon it will not count down using time. Something else to add... After using my battery, and I plug my MacBook back in, the battery icon will count up. Kinda strange that it will count up but not down.
Dstppy, any luck at the Apple Store? -
Hello All,
I am in need to implement a <b>count down timer</b> for an online application developed in Webdynpro. The count down timer logic is available as a java script file.
Options tried out till now..
1. Included the the html file with java script into src/mimes/components
2. Create a IFrame and provide the src file as the html file.
Works fine. But ...
- The problem with this option is when any action happens (eg. a button click), the same refreshes the entire view that makes the timer to start from first.
Does anybody have any alternative solutions to implement this functionality. Kindly reply.
Thanks & Regards,
Venkat.Venkat,
Then it seems the scenario is possible without JS at all.
1. Bind <b>delay</b> of <b>TimedTrigger</b> to read-only calculated context attribute of type <b>integer</b>, say its name is <i>Timeout</i>.
2. Define private view controller variable startTime:
//@@begin others
private long startTime;
//@@end
3. In wdDoInit initialize this variable as:
startTime = System.currentTimeMillis();
4. In generated getter for <i>Timeout</i> attribute write the following:
return Math.max(1, (int) ( ( System.currentTimeMillis() - startTime ) / 1000 - 7200));
This way TimedTrigger delay will be updated after every client-server request, so even user hit some buttons or links, total delay will be approx. the same. The only way to stop this self-updating timer is to navigate away from view -- answer to questions andl click submit. Otherwise TimedTrigger will fire event.
Valery Silaev
SaM Solutions
http://www.sam-solutions.net -
Bootloader pauses before counting down on UEFI motherboard
Hi,
I recently installed Arch Linux on my new computer and, strangely, the computer freezes for a moment before the bootloader counts down. I'm surprised by this because before installing Arch, Windows 8 would launch within a couple of seconds (I have a SSD disk).
Here's the output of systemd-analyze:
Startup finished in 3.076s (firmware) + 11.176s (loader) + 1.477s (kernel) + 15.204s (userspace) = 30.935s
(note that the bootloader's timeout is 5 seconds, so the loader freezed more than 6 seconds.)
I've had the same issue with Gummiboot and GRUB. I'm not familiar yet with debugging/analyzing tools, could someone help me to dig into this bug?
Thanks!
Edit: maybe a useful info: my computer is a Toshiba Satellite Z30t
Last edited by lawrent (2015-01-23 21:32:32)$ efibootmgr -v
BootCurrent: 000A
Timeout: 1 seconds
BootOrder: 000A,000B,0009,0008,0007,0005,0004,0000,0003,0001
Boot0000* HDD/SSD ACPI(a0341d0,0)PCI(1f,2)SATA(0,0,0)
Boot0001* LAN2 ACPI(a0341d0,0)PCI(19,0)MAC(MAC(b86b2348eb80,0)
Boot0002* LAN1 BIOS(80,0,30)........................E..............................................
Boot0003* LAN1 ACPI(a0341d0,0)PCI(19,0)MAC(MAC(b86b2348eb80,0)030d3c000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000
Boot0004* Windows Boot Manager HD(2,200800,32000,a6e7aee1-3752-11e4-a1c7-b86b2348eb80)File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...0................
Boot0005* Windows Boot Manager HD(2,200800,32000,a6e7aee1-3752-11e4-a1c7-b86b2348eb80)File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0007* Syslinux HD(1,800,200000,a6e7aedb-3752-11e4-a1c7-b86b2348eb80)File(\EFI\syslinux\syslinux.efi)
Boot0008* Syslinux HD(1,800,200000,a6e7aedb-3752-11e4-a1c7-b86b2348eb80)File(\EFI\syslinux\syslinux.efi)
Boot0009* Syslinux HD(2,200800,32000,a6e7aee1-3752-11e4-a1c7-b86b2348eb80)File(\EFI\syslinux\syslinux.efi)
Boot000A* Linux Boot Manager HD(2,200800,32000,a6e7aee1-3752-11e4-a1c7-b86b2348eb80)File(\EFI\gummiboot\gummibootx64.efi)
Boot000B* grub-uefi HD(2,200800,32000,a6e7aee1-3752-11e4-a1c7-b86b2348eb80)File(\EFI\grub-uefi\grubx64.efi)
I guess all those entries come from the trial-and-error I went through when installing my bootloader. Could it be possible that they are responsible for my setup delay? -
How can I stay on the same line when inputting values in the CLI?
The title is a bit vague i know :) but i have this issue which isn't really a problem but it would be better if I can solve it.
Intro)
I've made this simple addition (and more options but thats not relevant) application for kids in my spare time so that they can train their maths in school and compare their results with other students which is saved in the database using the hypersonic DB that comes with the JBoss application server.
Now so far so good, but i'm having an issue with the Scanner (I think, but i doubt its because of the CLI) , when i enter a number or text it works and exceptions will be catched etc but when i press the enter key without anything entered the input value wil be displayed a line below and that's not what I want. I want it to stay in the same line.
Sample CLI output:
bla application
***By: deAppel***
Ver: 31/10/2007
Your name: deAppel
Your class: MasterClass
How many sums you want to make? 14
Time: 22:03:27
1: 32 + 40 = 72
2: 38 + 19 = 57
3: 5 + 57 = 62
4: 30 + 20 = 1
5: 57 + 54 = 2
6: 33 + 17 = 3
7: 38 + 54 = 4
8: 23 + 23 = 5
9: 48 + 47 = 95
10: 29 + 55 = 6
11: 48 + 11 = 7
12: 1 + 40 = 41
13: 46 + 35 = 91
14: 23 + 52 = 75
Answer 1: 72 You answered: 72 (good)
Answer 2: 57 You answered: 57 (good)
Answer 3: 62 You answered: 62 (good)
Answer 4: 50 You answered: 1 (wrong)
Answer 5: 111 You answered: 2 (wrong)
Answer 6: 50 You answered: 3 (wrong)
Answer 7: 92 You answered: 4 (wrong)
Answer 8: 46 You answered: 5 (wrong)
Answer 9: 95 You answered: 95 (good)
Answer 10: 84 You answered: 6 (wrong)
Answer 11: 59 You answered: 7 (wrong)
Answer 12: 41 You answered: 41 (good)
Answer 13: 81 You answered: 91 (wrong)
Answer 14: 75 You answered: 75 (good)
EndTime: 22:04:18
Total good: 6
Total wrong: 8
Total sums answered: 14
Final score: 42.857143%
Upload score? (yes/no): no
Compare score from other users? (yes/no): no
Want to try again? (yes/no): no
********Made by: deAppel @ http://www.link removed cause it doesnt matter .com*********
************The application will close within 5 seconds*************
To sum it up for those that don't like to read my post:
1: 32 + 40 = 72
2: 38 + 19 =
whitespace <-- this happens because of the enter
whitespace <-- this happens because of the enter
57
3: 5 + 57 = 62
I want the input to stay in the same line unless you have typed something. I feel silly for not knowing how to handle this.
Hm.. i'll tried to solve it myself but it seems that im unable to do that.
/me takes a quick coffee break and will look at the code again after that *paulcw wrote:
It sounds like you want either a CURSES implementation (I believe there's one for Java), or just move to a GUI.I was planning to create a GUI for it eventually, but i just wanted to solve this one first and make sure everything works the way i want it too. I'll take a look at the CURSES implementation thanks. -
FSG report not printing column values on same line but sequentially
FSG report problem:
We have defined 2 FSG reports 'Balance Sheet - Total' and 'Balance Sheet - Detail'. Both reports have 3 column values, namely the value in Euro (our Functional Currency), the value in MUR - Mauritian rupees (our reporting currency) and the rate of exchange.
The report 'Balance Sheet - Total' displays these values for assets e.g.:-
EURO MUR Rate of exchange
Non-current assets
1. Intangible assets ? ? ?
2. Other investments ? ? ?
(note: ? represents a certain value)
The report 'Balance Sheet - Detail' displays values as follows :-
Account EURO MUR Rate of exchange
1. Property & Equipment
A10101 Building Cost ? 0.00 0.0000
A20105 Motor Veh Accum Dep ? 0.00 0.0000
TOTAL ? 0.00 0.0000
A10101 Building Cost 0.00 ? n/m
A20105 Motor Veh Accum Dep 0.00 ? n/m
(note: ? represents a certain value)
What we don't understand s why the 'Balance Sheet - Detail' report repeats the display of column values in MUR FOLLOWING the display in EURO, instead of displaying column values for EURO and MUR on the same line, just like in the case for 'Balance Sheet - Total'.
Is there anything in the definition of column set, row set or report set should I change?
Can anybody help. Thanks.
nullThe problem is related to defining the column set properly. It is OK with the first report and needs modification for the second. Formatting is also important so that they appear in the same line(row). The columns need to be linked to the fileds and assignment to set of books is also important as mentioned by Rajsekhar
-
Invoices matched to the same line on the same PO going on Hold
Hi,
We have started to setup some of our suppliers to use iSupplier, to automate the process of shipping and invoicing. With some suppliers, once they create the ASBN/Invoice the goods may take up to 30 days for delivery. Invoice are being automatically imported into AP to be matched to the same open PO (same line and item). When Invoice validation runs (nightly), these Invoices are going on hold as at any point in time we may not have received the total goods for which we are invoicing, even though we may have received the total matching to the first invoice. This is intended functionality that tolerance level checks are only made at the PO Shipment level and not at the Distribution level. However, the intention of introducing iSupplier was to automate the invoicing process does anyone know if there's a way of avoiding having this invoices go on hold ?
Thanks,
Regina.Check that you still have the "Bookmarks Toolbar items" placed on the Bookmarks Toolbar
* Make sure that you have the "Bookmarks Toolbar" visible: "View > Toolbars"
* Check in "View > Toolbars > Customize" that the "Bookmarks Toolbar items" is on the Bookmarks Toolbar
* If the "Bookmarks Toolbar items" is not on the Bookmarks Toolbar then drag it back from the Customize window onto the Bookmarks Toolbar
* If you do not see the "Bookmarks Toolbar items" then click the "Restore Default Set" button
You can only move the content from a toolbar onto other toolbars if all toolbars support that feature. You need to check that in the options of each toolbar. -
Customizing the code inspector with check for two executable statements in same line
Hi Everyone,
I have a reuirement to customize the code inspector.I need to create a check 'Two executable statements should not be in the same line'.
While doing so i am facing one problem as in internal table it is capturing the report as word by word with same row number nd different line number.
If anyone have worked on this before then help me out.
I am using CL_CI_TEST_SCAN as superclass and making the changes in the run method.
Regards,
KhushbooIn the source code you will have this in comment right, use the "#EC ENHOK.
-
How to count no of line present in internal table depending on condtion.
Hi,
I want to count no of line present in one internal table.
For example: I have an internal table with output tax line item
lwa_gt_alv-ty_auste_ep consider this internal table having 100 lines
depending on the condition copany code(BUKRS), Year(GJAHR), and Document number(BELNR).
I want to count the number of line present for above mentioned condition in internal table lwa_gt_alv-ty_auste_ep.
Kindly help as soon as possible.
Thanks and best regards,
Niteesh RaiHello
So, count into exist loop/endloop:
data: counter type i.
loop at itab.
* do anything here ...
if BUKRS = " condition for bukrs here
and GJAHR = " condition for gjahr here
and BELNR = " condition for belnr here
counter = counter + 1.
endif.
* do anything here ...
endloop.
write counter.
Also you may to try other way:
data: counter type i.
data: itab1 like itab occurs 0.
itab1[] = itab[].
delete itab1 where BUKRS NE " condition for bukrs here
and GJAHR NE " condition for gjahr here
and BELNR NE " condition for belnr here
describe table itab1 lines counter.
write counter.
Maybe you are looking for
-
Just got a new iPod touch for my daughter. Have connected to Wifi as I do via my iPhone but it is unable to read the Wifi connection even though the Wifi symbol is shown. My Iphone seems to have a problem too however other devices in the house can co
-
How to address Cash payment, ACH & Wire Transfer to Customers in SAP
Hi Experts, I have requirement where customers make payments thru cash, ACH & Wire Transfer, could somebody let me know how to address this in SAP and what payments methods needs to be configured and how to use these payment methods and the entire pr
-
Topic: LSMW for twoTCODEs at a time
Hi experts, 1.can we upload the data for two transaction at a time. eg. i want to upload the data for quotation in ME41 .once the quotation is created we have to maintain quotation in tcode ME47. Is it possible. How please explain me. 2.I have 3 lega
-
How do i determine a selling price for materials within a plant?
does SAP provide any std report to get the list price and the selling price for a material?
-
Removing iTunes Movies to gain more space
I just removed my iTunes movies because the HD was showing 479GB used of 500GB to gain more HD space. After turning off my MacBook Pro and restarting, the storage amount shows the same as before. Is there a way to reset the storge reading?