How to display a percentage sign ( % ) after a text box in a screen
hi experts,
Can anybody tell me how to display a percentage sign ( % ) after a text box in a screen.
Hi Ajay,
Try to use the [Position|http://help.sap.com/saphelp_nw04/helpdata/EN/9f/dba7e235c111d1829f0000e829fbfe/frameset.htm] option of selection screen.
By using this you can place the text as a comment at a desired position on the selection screen.
The syntax would be like this :
SELECTION-SCREEN POSITION <pos>.
Regards,
Swapna.
Similar Messages
-
Hi All,
How to display the percentage sign in the planning form in an account..?? I've an account that already set as the percentage for the data type.
What I want is, when I type 50 in my cell, then in my form will be show 50%
Now, I can't see the % sign on my form.
Any Idea..??
Thanks.
Regards,
VieNI know it's an obvious one but has caught me once or twice before when I've changed many properties numerous times in one day: Make sure you've deployed since you last set the properties!
-
How to display a percentage sign in calculated member column?
Hello all,
in my report I have a calculated member column whose value is determined by follwing value formula:
if CurrentColumnIndex - 2 = 1 then
If GridValueAt(CurrentRowIndex, CurrentColumnIndex-3, CurrentSummaryIndex) = 0 then
0
else
(GridValueAt(CurrentRowIndex, CurrentColumnIndex-1, CurrentSummaryIndex)/
GridValueAt(CurrentRowIndex, CurrentColumnIndex-3, CurrentSummaryIndex)) * 100
else
If GridValueAt(CurrentRowIndex, CurrentColumnIndex-5, CurrentSummaryIndex) = 0 then
0
else
(GridValueAt(CurrentRowIndex, CurrentColumnIndex-1, CurrentSummaryIndex)/
GridValueAt(CurrentRowIndex, CurrentColumnIndex-5, CurrentSummaryIndex))*100
Returned is a numeric value and it is being correctly displayed in calculated member column. As the value should represent percentage, I need to display a % sign after every value.
How would I achieve this? I have seen a thread here in the discussion where approach with a formula and DisplayString function is mentioned - but there are no details how this could be achieved....
The crosstab in question looks like this:
Calculated Member is based on "REV_TOTAL" group column.
I also attached the .rpt file (renamed to .txt for upload)
Many thanks in advance,
MarinHello Raghavendra,
thanks for the quick reply.
Unfortunately it is not as easy at it seems - calculated member column is not showing in report designer and I can not apply the suggested approach with formatting toolbar...
The column only shows here (right click on table -> "Advanced Calculations" -> "Calculated Member...") and there is no possibility to format it directly:
Any other suggestions?
Many thanks,
Marin -
How do I adjust the depth of a text box on a page in an iPhoto book?
How do I adjust the depth of a text box on a page in an iPhoto book?
You can't. Those are fixed. You can create a custom page in Pages where you can duplicate the background add photos with frames, any size of text box and text. Make sure page size is the same as you've selected for the book.
Then do a Print ➙ PDF ➙ Save PDF to iPhoto of that page. That till create a 200 dpi jpeg file of that page that you can use on a blank page with an image for the background layout. This is a rough example:
Custom book cover
Click to view full size
Custom text page (left)
Click to view full size
OT -
Customizing Slideshows - how do I add an image in the text box that only shows up for a specific ima
Customizing Slideshows - how do I add an image in the text box that only shows up for a specific image and not in every text box?
Can you maybe provide a screen shot to further explain your question?
Julia -
I'm using pages. How can I change the shape of a text box to arch?
I'm using pages. How can I change the shape of a text box to arch?
You can't do that in Pages. If you need text in an arch use Art text 2 lite, free from the Mac AppStore.
-
There is a text box on the screen. How do I get rid of it?
I have a black text box on my screen. How do I get rid of it?
I'm not quite sure what it is you're seeing, but if it's a Terminal window (click on the window and see if you see the "Terminal" menu at the very top left of the screen) you can close it just like any other application - go to the Terminal menu and click "Quit Terminal".
If that's not it, it's possible you're seeing a Voiceover border - go to System Preferences, Universal Access, click Voiceover and turn it off if it's on.
Matt -
How to display an error message after validation in Formatted Search?
Hi SBO experts,
if an error is detected on validation in a Formatted Search, how to display an error message to the user entering the data?
Thanks & Regards,
Raghu Iyeri created a formatted search query & attached it to the field 'Quantity' at Line Item level in Sales Order screen. just for testing purpose, i eneterd the following code lines in the query validating 'Quantity'
if $[$38.11.0] > 50
begin
select @error = 1
select @error_message = 'Vendor code cannot begin to X sign.'
end
the system throws the error : Internal error (8180) occurred [Message 131-183]
actually, i need to display an error message to the user if Quantity is not in multiples of the OITM.SalFactor2
if $[$38.11.0] % (SELECT T0.[SalFactor2] FROM OITM T0 WHERE T0.[ItemCode] = $[$38.1.0]) > 0
begin
select @error = 1
select @error_message = 'Error in Quantity.'
end
but, this expression to get the remainder itself seems to have some error
$[$38.11.0] % (SELECT T0.[SalFactor2] FROM OITM T0 WHERE T0.[ItemCode] = $[$38.1.0])
i guess, % operator is used for modulo (to find the remainder of one number divided by another.) ? am i right ?
Regards,
Raghu Iyer -
How to escape a percentage sign
I have a simple one line MySQL command that I want to run from AppleScript.
The command itself is
UPDATE exif SET datevalue = tagvalue WHERE tagname LIKE "% DATE %" ;
Unfortunately, every time I run it I get some error or improper result.
I've tried escaping out the quotes and percentage sign with a backslash, using "quoted form of" statements, parsing out individual words and using "quote" operators, using curly quotes, and even substituting "ASCII character 37" or "character id 37" for my percent symbol. Most often I get backslashes before my quotes. Here is a recent example.
Code:
set part1 to "UPDATE exif SET datevalue = tagvalue WHERE tagname LIKE "
set part2 to " DATE "
set part3 to " ;"
set convertDate to part1 & quote & (ASCII character 37) & part2 & (ASCII character 37) & quote & part3
return convertDate
Result:
"UPDATE exif SET datevalue = tagvalue WHERE tagname LIKE \"% DATE %\" ;"
I know I can always call a 1 line shell script, but I hope there is a simple solution.Quote-Mania
mabye this example helps:
do shell script "echo UPDATE exif SET datevalue = tagvalue WHERE tagname LIKE \"% DATE %\" >~/Desktop/testoutput.txt"
do shell script "echo UPDATE exif SET datevalue = tagvalue WHERE tagname LIKE \\\"% DATE %\\\" >>~/Desktop/testoutput.txt"
the result in Skript-Editor looks like
"UPDATE exif SET datevalue = tagvalue WHERE tagname LIKE % DATE %
UPDATE exif SET datevalue = tagvalue WHERE tagname LIKE \"% DATE %\""
when you open that text file now you will see
UPDATE exif SET datevalue = tagvalue WHERE tagname LIKE % DATE %
UPDATE exif SET datevalue = tagvalue WHERE tagname LIKE "% DATE %"
Just keep in mind, that the result of a script could be directly inserted into another script, so the output will be quoted if needed to make this possible. -
How to display a frame at the upper left corner of each screen?
hi,
below are 2 ways to display a frame at the upper left corner of each screen (i have 2 monitors).
both work but the 2nd way is much slower. which, if any, of the 2 approaches is "more" correct?
import java.awt.Canvas;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.DisplayMode;
import java.awt.event.MouseListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseAdapter;
import java.awt.GraphicsConfiguration;
import java.awt.GraphicsDevice;
import java.awt.GraphicsEnvironment;
import java.awt.Point;
import java.awt.Rectangle;
import java.awt.Toolkit;
import javax.swing.JFrame;
import javax.swing.JPanel;
// the thing that matters in here is setting the frame's location: xCoord
// is incremented in each iteration by the current screen's width and
// is used to set the frame's x-coordinate.
public static void main(String args[])
GraphicsEnvironment gEnviron = GraphicsEnvironment.getLocalGraphicsEnvironment();
GraphicsDevice[] gDevices = gEnviron.getScreenDevices();
Color colors[] = {Color.blue, Color.red};
for(int i = 0, xCoord = 0; i < gDevices.length; i++)
// set panel's size and frame's size to take up the whole screen
DisplayMode didsplayMode = gDevices.getDisplayMode();
int screenWidth = didsplayMode.getWidth();
int screenHeight = didsplayMode.getHeight();
JPanel panel = new JPanel();
panel.setBackground(colors[i % colors.length]);
JFrame frame = new JFrame();
frame.setSize(new Dimension(screenWidth, screenHeight));
frame.setContentPane(panel);
frame.setUndecorated(true);
// set location of frame.
frame.setLocation(xCoord, 0);
xCoord += screenWidth;
frame.addMouseListener
new MouseAdapter()
public void mousePressed(MouseEvent event) {System.exit(1);}
frame.setVisible(true);
// this is a lot slower and may not be correct: it sets the frame's location by calling
// getConfigurations() on each screen device but using only the 1st configuration
// (it returns 6 on my computer) to get the bounds (for the frame's x-coord).
// a screen device has 1 or more configuration objects but do all the objects
// of the device report the same bounds? if the anwser is yes, then the code
// is correct, but i'm not sure.
public static void main1(String args[])
GraphicsEnvironment gEnviron = GraphicsEnvironment.getLocalGraphicsEnvironment();
GraphicsDevice[] gDevices = gEnviron.getScreenDevices();
Color colors[] = {Color.blue, Color.red};
for(int i = 0; i < gDevices.length; i++)
// set panel's size and frame's size to take up the whole screen
DisplayMode didsplayMode = gDevices[i].getDisplayMode();
int screenWidth = didsplayMode.getWidth();
int screenHeight = didsplayMode.getHeight();
JPanel panel = new JPanel();
panel.setBackground(colors[i % colors.length]);
JFrame frame = new JFrame();
frame.setSize(new Dimension(screenWidth, screenHeight));
frame.setContentPane(panel);
frame.setUndecorated(true);
// set location of frame: getConfigurations() is very time consuming
GraphicsConfiguration[] gConfig = gDevices[i].getConfigurations();
// on my computer: gConfig.length == 6. using the 1st from each set of configs
Rectangle gConfigBounds = gConfig[0].getBounds();
frame.setLocation(gConfigBounds.x, gConfigBounds.y);
frame.addMouseListener
new MouseAdapter()
public void mousePressed(MouseEvent event) {System.exit(1);}
frame.setVisible(true);
thank you.Darryl.Burke wrote:
Blocked one abusive post.
@flounder
Please watch your language.
dbDude - I just looked at your profile. WTF are you doing in India?? -
How to get multiple row values in one text box while clicking one row from grid?
hi friends,
i am working on flex4 web application i am using one datagrid ,it have two records(bills),one button and one text box.
ex:
customername salesrepname receipt no amount
venkat raj 1102 10000
ramu ramesh 1102 20000
here both receipt no is same.now i want to select one of this receipt and click pay button which is place in outside the grid.
now my need is after click the pay button in text box i need 10000+20000=30000,after click that button i want both receipts should be invisible...'
how i will do this,
any suggession,
Thanks
B.venkatesanOne way with 10g:
select mgr,
rtrim(xmlagg(xmlelement(empno,empno||',').extract('//text()')),',') emps
from emp
where mgr is not null
group by mgr;10g:
-- define this function:
create or replace
function concatenate(c Sys_refcursor, sep varchar2 default null) return varchar2
as
val varchar2(100);
return_value varchar2(4000);
begin
-- open c;
loop
fetch c into val;
exit when c%notfound;
if return_value is null then
return_value:=val;
else
return_value:=return_value||sep||val;
end if;
end loop;
return return_value;
end;
select mgr,
concatenate(cursor(select empno from emp e where e.mgr=emp.mgr order by empno),',')
from emp
where mgr is not null
group by mgr;With 11g:
select mgr,
listagg(empno,',') within group (order by empno) emps
from emp
where mgr is not null
group by mgr; -
How to output actionscript at runtime in a text box
Hi , i need help in displaying my code at run time, I need to
dispaly my code in a text box when the program runs.
I guess something to start would be output_txt.text. then i
need to call my own action script. but not sure how...Hi
code is active and only in the program .fla not stored as
file on its own( not as a text file.txt)
Cheers
Chris -
How to disable auto clear feature in a text box in IE10
How to disable auto clear button in Text box in IE10
Hi Team,
I saw this question on Microsoft forum but I did not find any reply to this question, therefore, I am re-posting it.
When I run web interface application on IE10, i see there is a new feature which has 'X' at the end of text box and on clicking it it clears the text.
Are there any settings of IE10 that can be changed to disable it or some code snippet?
I find the 'X' sign at the end of text box very annoying and would like to turn it off and make it compatible with older versions of IE and other explorers.
Looking forward to your answer at the earliest.
Regards
SakshiHi,
Please try the steps in the following thread to see whether it could help:
Remove IE10's “clear field” X button on certain inputs?
http://stackoverflow.com/questions/14007655/remove-ie10s-clear-field-x-button-on-certain-inputs
Regards,
Vincent Wang
TechNet Community Support -
Problems with displaying Asian languages dynamically in a text box
I have a text box that I am adding to the stage dynamically. The text box is a movieclip in the library. However, when it is added to the stage the message is not displayed. I have no problems with English or Spanish but for Chinese, Korean, and Japenese the message is not displayed. Here is the code in Chinese (when a certain condition is met:
function whiteFlashCompleteF():void{
ssMessageF("截图已添加至您的图片库");
function ssMessageF(s:String):void{
ssMessage.alpha = 0;
addChild(ssMessage);
ssMessage.x=stage.stageWidth/2;
ssMessage.y=stage.stageHeight/2;
ssMessage.tf.text = s;
TweenLite.to(ssMessage,1,{alpha:1});
TweenLite.to(ssMessage,1,{alpha:0, onComplete:ssMessageCompleteF, delay:3, overwrite:false});
Do anyone have any ideas on how I can get the text to display?any text that is rendered in a dynamic textbox during runtime,
has to consist of characters of a font you have properly embeded,
(which might not be the case for this chinese message) -
In a prior version of Firefox I found a website somewhere that told me what to do to enable spell checking for text boxes that are just one line. I got used to being able to send an e-mail with a Subject Line that didn't have a misspelling. Now it doesn't work. Please tell me how I can enable that again. I am on a Mac using Firefox 6.0.2. Thanks!
See:
*http://kb.mozillazine.org/Spell_checking
*http://kb.mozillazine.org/layout.spellcheckDefault
You can set the pref <b>layout.spellcheckDefault</b> to <i>2</i> on the <b>about:config</b> page.
To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
If you see a warning then you can confirm that you want to access that page.<br />
*Use the Filter bar at to top of the about:config page to locate a preference more easily.
*Preferences that have been modified show as bold (user set).
*Preferences can be reset to the default or changed via the right-click context menu.
Maybe you are looking for
-
I upgraded my operating system to Lion osx 10.7 and after I ibnstalles it I coul not receive or send emails from my POP account, yes from my IMAP accounts,Itried to configure it again with the same configuration I have in my Macbook with Leopard sy
-
Find the relationship between tables where the constraint type is 'R'
Hello, I am trying to find an answer of the following question: How to query the user_constraints view (probably some more views should be involved here) in order to get information about the table name, the column (or columns) that is (are) a foreig
-
Problems calling stored procedure with DG4IFMX
Hi guys, I am trying to call stored procedures from Informix Database which is connected through Oracle Database Gateway for Informix. I have run select,update,delete successfully but when i try to run a stored procedure nothing happens. for example
-
I wanted to know if I can take an video source from a public IP address through my PIX, using the static command, to a multi-cast address like 224.2.0.1. Is this possible or not? If not what would be another way to do it?
-
Best free anti-virus for Windows XP
I have an old Toshiba laptop which still uses Windows XP. What are the sites for the best free anti-virus for Windows XP SP2? Thanks, Bob