How to replace "." with "," and "," with "." in a quantity field
HI All,
I wanna display the field mard-labst in the alv report. Based on the user default settings 2,454.500 is displayed as 2.454,500. Without changing the user default settings how can i display the decimal position correctly..Any help would be highly appreciated.
Best regards,
Subhakar Ramineni
Hi...Subhakar..
i got ur prob...this is the solution...just paste it and go through it...
Report YH642_TEST.
TABLES:
mard.
DATA : W_mard_labst type p decimals 3,
w_dt1(18).
data:
W_N TYPE I.
SELECT SINGLE * FROM MARD INTO MARD WHERE LABST = '10000.00'.
WRITE: mard-labst .
W_mard_labst = mard-labst.
WRITE:/ W_mard_labst .
w_dt1 = w_mard_labst .
write W_mard_labst to w_dt1.
W_N = STRLEN( W_DT1 ).
W_N = W_N - 4.
REPLACE ALL OCCURRENCES OF ',' IN W_DT1 WITH '.' .
REPLACE ALL OCCURRENCES OF '.'
IN SECTION OFFSET W_N LENGTH 4 OF W_DT1 WITH ','.
WRITE: / W_DT1.
Similar Messages
-
How to replace a movieclip with another movieclip
How to replace a movieclip with another movieclip
Hi,
I am having a swf called tchild.swf... in this i got a
movclip 'child1'. i am loading this tchild.swf into another swf
tparent.swf within 'mcloader' movie clip.. i got another movclip
called 'picture1'
i am loading tchild.swf into mcloader movclip.. and i want to
load 'child1' moviclip into picture1..
how to replace a picture1 movieclip with child1 mc..
PS: i dont want to load picture1 from library.. its on the
stage.AWT or Swing?
-
How to replace key value with character
Hi Experts
Can any one tell me, how to replace key value with character, whether it is possible are not. My present report is displaying below format.
country--city-area-flatnocountry--City-Flatno
Customer--USACOst1111---UK--HD20--
C100--11---11--
C200--11---1--
For the above example format i am able to display. But now i want to replace 1 with character value for example. For C100
country is USA at presnt 1 but it should replace with USA.
You find required format below.
country--city-area-flatnocountry--City-Flatno
Customer--USACOst1111---UK--HD20--
C100--USACOst1111--
C200--UK--HD20--
thanks .
Regards,
Vishal.Hi Markus,
Thanks for reply,
Actually i dont have attribute for the customer, the data is maintained in ods, in the form, customer name one info-object and customer value one more info-object this value got text. This value stored in the ods as below
costomer number customer value
C100--USA
-C100CO
C100--11-
C200----
UK
C200----
20
Please let me know any clarification you need.
Thanks and Regards,
Vishal. -
How to replace Bing and get Google back as my default search engine? I have already changed it in preferences and disabled extensions. Nothing is working!!
You installed the "Genieo" spyware/adware. There is an uninstaller, but as the developer is not trustworthy, you shouldn't rely on it. I suggest the tedious procedure below to disable Genieo.
Back up all data.
Triple-click anywhere in the line below on this page to select it:
/Applications/Genieo.app
Right-click or control-click the line and select
Services ▹ Reveal
from the contextual menu.* A folder should open with an item selected. Move the selected item to the Trash. You may be prompted for your administrator password.
*If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select
Go ▹ Go to Folder...
from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.
Repeat with each of these lines:
/Applications/Uninstall Genieo.app
/Library/Frameworks/GenieoExtra.framework
/Library/LaunchAgents/com.genieo.engine.plist
/Library/LaunchAgents/com.genieoinnovation.macextension.plist
/Library/LaunchDaemons/com.genieoinnovation.macextension.client.plist
/Library/PrivilegedHelperTools/com.genieoinnovation.macextension.client
/usr/lib/libgenkit.dylib
Note: Some of these items may be absent, in which case you'll get a message that the file doesn't exist.
The following configuration file is either created or modified by the Genieo installer:
/etc/launchd.conf
The file is unlikely to be used by anything but Genieo or something equally undesirable. Unless you know you need it, delete it in the same way as above. Otherwise, edit it to remove the line that begins as follows:
setenv DYLD_INSERT_LIBRARIES
The above is not a file, but a line inside a file.
Reboot. Safari should now launch without crashing. If not, stop here and post your results.
From the Safari menu bar, select
Safari ▹ Preferences ▹ Extensions
Uninstall any extension you don't recognize. If in doubt, uninstall all extensions. Do the equivalent for the Firefox and Chrome browsers, if you use either of those.
The Genieo installer may also install the "Silverlight" web plugin from Microsoft. If you have no use for that plugin, you should remove it according to Microsoft's instructions. Don't remove it if you subscribe to "Netflix."
This procedure may leave a few files behind, but it should render Genieo permanently non-functional, as long as you never reinstall it. -
How can we remove the following zeros from quantity field ?
Hi All.
how can we remove the following zeros from quantity field while populating ALV by using FM REUSE_ALV_GRID_DISPLAY ?
eg:getting output zqty = 2.000
but i need zqty = 2.
help me to reslove this issue.
Regards.
jayHi,
While populating the field catlog do the following thing to avoid zeros.
wa_fieldcat-tabname = 'I_OUTPUT'. " Curr
wa_fieldcat-fieldname = 'FWAER'.
wa_fieldcat-seltext_l = text-023.
wa_fieldcat-no_zero = 'X'.
APPEND wa_fieldcat TO i_fieldcat.
CLEAR wa_fieldcat.
Thanks,
Khushbu. -
How to replace missing fonts with a specific font (and not a suggested font)
Hello all!
Looking to replace missing fonts within my document - but the drop-down selection only gives a couple of suggestions, none of which are the font I want to use.
How can I replace the fonts with a font of my choosing?
I've attached an image to give more clarity - notice how the drop-down only gives the option to select between 3 fonts without an option to select your own font - many thanks!Same problem! The only solution I found is to prepare a textbox in a new file with all the font you need. Copy and past in the file you need to change font. Go to type/risolve missing font. Will open the same window in the pic you pasted. Then you find the font in the dropdown menu. I have to change all the Helvetica family ...it's a long go. If some one could save me. Hope to be usefull to your problem.
-
How to replace the '&' character with '&' in xi
Hi,
i need to replace the '&' character with ' &'.but i f i am converting it is displaying as '&' because internally '&' = '&'.
beacuse of this it is not converting.
is there any possiblity to change the standard conversion in xi.Graphical mapping does not support special character like & , <,> to be mapped.
You can encode & as and in UTF-8 only.
if you want the special character to be used, Opt XSLT mapping with ISO-8859-1 encoding
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="ISO-8859-1"/>
<xsl:template match="/">
<xsl:copy-of select="*" />
</xsl:template>
</xsl:stylesheet>
How to Work with Character Encodings in Process Integration (NW7.0)
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42 -
How to replace westell 6100 with westell 327w?
Hi all,
I am currently using a Westell 6100 and I just inherited a Westell 327W from my brother who switched over to FIOS.
Can I replace the 6100 with the 327W? And how do I go about doing that?
Any suggestions or recommendations would be greatly appreciated.
Cheers!If the 327w has newer firmware on it, you can just factory reset it and then connect it up. Once it is online, visit http://192.168.1.1/ and use admin/password respectively as the login information. Then, set a new password for the gateway.
Once done, visit http://192.168.1.1/verizon/redirect.htm and choose the disable button. Assuming the modem has been able to get a connection at this time, you should be online.
========
The first to bring me 1Gbps Fiber for $30/m wins! -
How to replace an MDB with a servlet
I got a situation to replace an MDB with a servlet,How can I do that,more appreciated if u send me some sample code.
Hi,
An MDB can be replaced by a normal java class by doing the following.
Make a jndi lookup for the queue/topic connection factory and then create a javax.jms.QueueConnection. Then create a javax.jms.QueueSession using this connection. Make a JNDI look up for the Queue. Create a javax.jms.QueueReceiver using the created QueueSession. Call start on the QueueConnection and receive a message by calling the receive method on QueueReceiver.
Thanks,
marvlex -
How to replace the arrow with a custom graphic on a TitledPane?
The TitledPane has an arrow that changes state (rotates) to show whether the pane is collapsed or expanded. Is there a way to replace this arrow with a custom graphic for each state?
Most definitely. Everything in the controls is style-able from CSS. The region you are attempting to style can be addressed via:
.titled-pane > .title > .arrow-buttonSo you could specify images here for example, or you can just change the arrow path by adding another > .arrow on the end. Below I've posted the entire CSS style that is built in for TitledPane so you can see how the whole thing is styled. You can create your own stylesheet, copy/paste this in there, and then start tweaking things and see how it affects the look of the TitledPane.
Cheers
Richard
* TitledPane *
.titled-pane {
-fx-skin: "com.sun.javafx.scene.control.skin.TitledPaneSkin";
.titled-pane > .title {
-fx-background-color: -fx-box-border, -fx-inner-border, -fx-body-color;
-fx-background-insets: 0, 1, 2;
-fx-background-radius: 5 5 0 0, 4 4 0 0, 3 3 0 0;
-fx-padding: 0.166667em 0.833333em 0.25em 0.833333em; /* 2 10 3 10 */
.titled-pane > .title > .arrow-button {
-fx-background-color: null;
-fx-background-insets: 0;
-fx-background-radius: 0;
-fx-padding: 0.0em 0.25em 0.0em 0.0em; /* 0 3 0 0 */
.titled-pane > .title > .arrow-button .arrow {
-fx-background-color: -fx-mark-highlight-color, -fx-mark-color;
-fx-background-insets: 1 0 -1 0, 0;
-fx-padding: 0.25em 0.3125em 0.25em 0.3125em; /* 3 3.75 3 3.75 */
-fx-shape: "M 0 0 h 7 l -3.5 4 z";
.titled-pane:collapsed > .title > .arrow-button .arrow {
-fx-rotate: -90;
.titled-pane > *.content {
-fx-background-color:
-fx-box-border,
linear-gradient(to bottom, derive(-fx-color,-02%), derive(-fx-color,65%) 12%, derive(-fx-color,23%) 88%, derive(-fx-color,50%) 99%, -fx-box-border);
-fx-background-insets: 0, 0 1 1 1;
-fx-padding: 0.167em;
.titled-pane:focused > .title {
-fx-color: -fx-focus-color;
.titled-pane:focused > .title > .text {
-fx-text-fill: white;
.titled-pane:focused > .title > .arrow-button .arrow {
-fx-background-color: white;
} -
How to replace LOV popup with a search screen that opens within same window
Hi,
We have a requirement to get rid of LOV popups from our custom OA pages. They need to be replaced by search pages that open within the same window.
For example, we are creating an employee assignment to a department. We first find the employee (currently using the LOV), then the department (currently using another LOV) and then save the new assignmnet record.
The two options we have are:
1. search page fully replaces the current page, and when the user has selected a record, it returns them back to the first page, setting some fields, eg. employee id, employee name, employee address fields.
2. search page opens in a region of the same page (PPR?) and then disappears once the user has seleted a record.
I am not sure how to do this, and really could do with some pointers, i.e. the best way to achieve this.
Thanks in advance
MarkBoth of your options are valid with some pros and cons.
option 1: It gives you a nice interface but then you will have a pass a large number of data back to 1st page.
options 2: You can use the Rendered property of a serach region at runtime and achieve your goal. Since it will be a single page, result set to base items mapping will be easier. Though this kind of UI will look bad if your search region is big.
So it all depends on which option is easier to implement for you.
--Shiv -
How to replace double quotes with a single quote in a string ?
Hi All:
Can some one tell me how to replace double Quote (") in a string with a single quote (') ? I tried to use REPLACE function, but I couldn;t get it worked.
My example is SELECT REPLACE('STN. "A"', '"', ''') FROM Dual --This one throws an error
Thanks,
Dima.Whether it is maybe not the more comfortable way, I like the quoting capabitlity from 10g :
SQL> SELECT REPLACE('STN. "A"', '"', q'(')') FROM Dual;
REPLACE(
STN. 'A'{code}
Nicoals. -
How to replace one char with two chars in email address policy?
I very much like to replace the 'ß' char in the surname with 'sz'. However, applying filter '%rßsz%[email protected]' on 'Preußig' leaves me with '[email protected]'.
So, how do I replace one char with two chars in email address policy?As far as I know, your only solution is to manually create such addresses instead of using e-mail address policy.
Ed Crowley MVP "There are seldom good technological solutions to behavioral problems." -
How to replace blank spaces with zero's in the report
hai sdn guys,
we have a requirement where we cannot have any blank fields in the report and i need to replace the blanks with a zero. What is the best way to do it.Hi Sunitha,
It is not proper that you are posting the same question multiple times:
Re: report o/p should not have blank spaces in - in case of no value
should get 0's in place of blank value in the output of the report
That too inspite of my requesting you not to do so.
I am not sure if you have ever gone through the Rules Of Engagement which are prominently posted in each forum, but I think it is SDN courtesy to provide proper feedback when posting a question and assign points as deemed fit. This helps (and motivates) everyone to work on your problem and try to give you a solution. I hope you will be more careful in the future. Thanks! -
How to replace one variable with another in large number of queries
Hello guys!
I have this situation: our company needs to use one variable instead of another for certain amount of queries.
Is there some way to automatically replace one variable with another for a certain characteristic in big number of queries ( like 150 - 200 ) ? Doing this manually would take lots of time)
Apreciate your help!you could try (at your own risk) the following:
1. search the technical id (ELTUID) of your variable in table RSZELTDIR
2. see where this variable is used in table RSZELTXREF (by filling RSZELTDIR-ELTUIID in RSZELTXREF-TELTUID)
3. add similar entries for your new variable
4. delete the entries for the old variable (they're part of the key, so you can't simply "change" them) -
How to replace SAP logo with customer logo
Hi Gurus,
How to replace or insert a customer logo when creating input schdules EvDRE function.
Cheers,
Reddy.Reddy,
You shld be able to copy and paste your logo (after deleting the SAP logo). ..as you would do in regular excel. If sometimes it doesn't work...use the insert picture functionality......regular excel/MS way.
Hope this helps.
Vishal.
Maybe you are looking for
-
How to check if the spool req is open or close and close the req or open it
Hi All. I have developed a program in which user can have option of print preview the outputs (all prints in one print request) , then save the outputs in one pdf, then send them through fax/email But problem is that when I run each option, the spool
-
I cannot turn my wifi on. The button is greyed out. This problem started after I update my software. First tech I spoke to said it was my problem because I chose to update the software and since I was out of warrenty, I would have to pay $19.99 fo
-
I bricked my laptop trying to - please help! [SOLVED]
I am a new arch user (been running ubuntu for a few years, so not new to linux). I have a thinkpad R50p with a ATI Mobility FireGL T2 with 128 MB. I recently updated my arch install using pacman and had been having issues with hibernate/suspend. I wa
-
Why did imessages log me out, Why did imessages log me out
If you are having this same problem with the new iOS update. Then i tried all the resting stuff. It didnt work for me. But just recently i took off my ipad case and everything worked. So. I would they it couase my case is an otter box. So p,ease try
-
Changing number of decimal places for Unit of Measure
Hi All, I have a requirement to convert a quantity in one unit of measure to another (custom) unit of measure. The issue is that the custom unit of measure has 4 decimal places (customer requirement). I found function module MD_CONVERT_MATERIAL_UNIT