Sitemap

Amicuk Programming Answers

Remove the decimals value

-0001-11-30   Views:0

Advertisement

Dear All,    Any Idea to remove the  decimals value  from the text ?   my parameter declare as Character type.  eg :     i want from 10000.000 become 10000 thanksDear All, Any Idea to remove the decimals value from the text ? my parameter declare as

Dear All,
   Any Idea to remove the  decimals value  from the text ?   my parameter declare as Character type. 
eg :     i want from 10000.000 become 10000
thanks

The replay answer
Advertisement
Dear All,
Any Idea to remove the decimals value from the text ? my parameter declare as Character type.
eg : i want from 10000.000 become 10000
thanks
hi,
for this we can use two method one is,
data : value type p decimals 0.
value = '10000.000'.
write : / value.
Output is = 10000
Second method,
data : value type i.
value = '10000.000'.
write : / value.
Output is = 10000
If u use packed decimals
data : value type p decimals 1.
value = '10000.000'.
write : / value.
Output is = 10000.0

Go to See the other 7 answers

Remove the decimals value

Category:DefaultRelease time:-0001-11-30Views:130

Dear All,    Any Idea to remove the  decimals value  from the text ?   my parameter declare as Character type.  eg :     i want from 10000.000 become 10000 thanksDear All, Any Idea to remove the decimals value from the text ? my parameter declare as[More]

How to remove decimals in ALV

Category:DefaultRelease time:2015-10-11Views:130

How to remove displaying decimals in ALV report(using FM) ?HI Sri,    Pass the values into a variable of type i. data : var type i,          var1 type f value '2.111'.     var = var1. or else change the field catalog this way .. <b>lv_cat-decimals_o[More]

Remove decimals when equal to 0 SAPSCRIPT

Category:DefaultRelease time:-0001-11-30Views:130

Hello all, When printing a quantity field in a sapscript form, I would like to remove the decimals if they are all 0, but retain them if at least one is non zero.  For example: Quantity    -   Value to print 1000.000   - 1000 1000.020   - 1000.020 10[More]

Remove decimals from the Bar Graph..

Category:DefaultRelease time:-0001-11-30Views:130

Hii, How to remove the Decimals from the Bar Graph. I am using Reports 9i. I have created a Bar Graph in that It is showing the decimals bar. Actully in the query i hv used the inbuild function Round but while i run the report it is showing the decim[More]

How to remove decimals

Category:DefaultRelease time:-0001-11-30Views:130

Hi Gurus, I have an IO having properties CHAR (30). Data is showing in the report like this eg.123.000000 ,for this IO. Can I remove the decimals? Please help. Points assured. Rgds, SouravSAP, It would be advisable to change your ID to something else[More]

Remove Decimals from Number

Category:DefaultRelease time:-0001-11-30Views:130

Hi Gurus, Before posting this thread, i serached SDN and i could not find proper answer for my requirement. My Question is , i have a text filed which will contain a numeric value. say .5 . the desired output should be 0050. means , it should remove[More]

Remove decimal in formula

Category:DefaultRelease time:-0001-11-30Views:130

i have a date field which i extract the month and year in a formula from the date. when i place it in the report it displays with 2 decimals at the end of the month and year how do remove the decimals.  month({USR_CR_ALERTHIST;1.bkdate})&" /  &qu[More]

Alv tree - roundoff decimals

Category:DefaultRelease time:-0001-11-30Views:130

Hi abap king's, in <b>alv tree</b> program i want to remove the decimals or to round off the decimals. for ex. 1890.41 to be displayed as 1890. thanks, Madhu.Hi, In the internal table , use this logic to populate the field. DATA: X TYPE P DECI[More]

Remove Zeros in PLD

Category:DefaultRelease time:-0001-11-30Views:130

Hi All, Please suggest how to remove the decimals in PLD. Currently we had configured for 4 decimals, but in the PLD we require only 2 decimals. Please suggest Regards ShankerHi, If you use the Concat function, whenever you have some decimal values ([More]

Decimal Points in Report Output

Category:DefaultRelease time:2015-10-11Views:130

Dear Experts, We have a keyfigure 0GR_Qty in the cube 0pur_c01. For a Purchase order the 0GR_Qty in the cube 0pur_c01 is 9.12 MT. We created a report on this cube and executed the report for this PO, but in the output the 0GR_Qty is showing as 9.00 M[More]

Decimal in alv

Category:DefaultRelease time:-0001-11-30Views:130

how to use decimal values in alv? if i want to remove the decimals then how to do it in alv field catalog? are there any fld catalog attributes to suppress the decimal values in alv? Moderator message: please search for available information/document[More]

Hot
Running winXP home sp2, adobe pro 7.1.0 This problem has started suddenly. When converting *.doc to *.pdf a window titled AcroDist.exe-Application Error comes up: "0x00441ae2" referenced memory at "0x0218ebbc". The memory could not be [More]
I have an Alfa Romeo car which has the "Blue & me" option. This supports media players syncronised via Windows Media player to play music back via the in car entertainment system (plugged in via a USB port in the car). I have successfully us [More]
I have been experiencing an annoying "habit" that Siri has been doing. When I use my keyboard Siri pronounces the words without me asking/ pressing anything. I have gone through my setting and looked on how to turn it off, but I have yet to find [More]
How come when I try to print a PDF file it takes a long time to flatten and then says "The Document Cannot Be Printed" and then "No Pages have been selected to print"What is your operating system?  Reader version?Read other 2 answers [More]
Hi guys, i have a problem with the Google Web-Service Example. I am running EP6.0 SP9 and NWDVST 2.0.9 I did everything according to the tutorial. Got my google license key too. When i test the web-service i get the following exception: + #1#com.sapp [More]
It started happening a week or so ago. Every time I boot the time is changed. I set the date from the bios but arch shows the time wrong. Also because of this I sometimes get problems during bootup because the partition looks like it was last mounted [More]
Hi there, I hope anyone can solve my installation problem. When running the installer to install Oracle 8.0.5 RDBMS the installer reports on "O/S error" Error during action 'creating rdms/lib/psoliblist'. Command: make -f ins_rdbms.mkb /oracle/o [More]
I finally graduated from 1.5 to 4 and now am learning all over again. No matter what encoding perameters i set and apply in preferences the disc meter reads the same. I imported a final cut pro movie just under 20 gb...1 hour, 33 min. simple menu, ai [More]
i am trying to read some data on the server using a AsynchronousSocketChannel . I have this scenario : 1- Call channel.read : this will print "Received" 2- Call channel.read : this should fail due to timeout exception. 3- Call channel.read : I a [More]
Hi  All, Can anybody suggest some BAPI for uploading pricing conditions in a purchasing contract. Thanks, ArunHi Arun,   refer to the link for BAPI's: http://www.sapbapi.com/bapi-list/   Also refer to the link: Re: VK11, With luck, Pritam.Read other [More]