How to remove space from a variable in a smartform

Hi,
I have a problem in displaying a variable in a smartform..The variable shows some blank space that preceeds the data.
for eg:,
variable =        18.000.
How to remove space before 18.000?

To remove the decimal places for quantity and rate/quantity , use the syntax to restrict the number of digits after decimal places. The syntax is
&symbol(.N)&
where N is number of decimal places.
Since you dont want decimals use &symbol(.0)&
For the other case it depends on how the currency is represented , any way try using the syntex &symbol(T)&
Please give me reward point If it is useful
Thanks
Murali Poli

Similar Messages

  • How to remove space from satrting

    help me please
    i have 16 digit field ,  so in output i have only 5 digit and left  11 digit is comming blank
    so please tell me how to reduse space form starting
    my field is coming like this   -- Rs:            78,999.00 
    so i want to reduse space between Rs and amount
    thanks

    you can either use condense statement
    condense <field name>.
    You can also use the following function module.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
      EXPORTING
        INPUT         = <FIELD NAME>
    IMPORTING
       OUTPUT        = <FIELD NAME>.

  • Remove spaces from a variable

    I have a variable called 'enteredname':-
    var enteredname:String;
    When the user enters some text into my text input 'nameentry' and clicks a button the text entered is saved into this variable:-
    enteredname = nameentry.text;
    This variable is then sent to a server and set as the name of the item the user has added via http request however I want to add in another string variable 'enteredimagename' which will store the same text but will have any spaces removed or any characters that would not be appropriate to an image/jpeg file.
    The idea of this is that the user adds a name for an item their adding and the same name gets applied both as the items title and as the items image filename (with all the spaces etc removed) as all of the images in my app are stored on a server and are dynamic so the click would look something like:-
    enteredname = nameentry.text;
    enteredimagename = nameentry.text (with some code to remove the spaces for this string or something)
    Can anyone help me out with this?

    Hi use this function pass the name or any string that you want to remove strings..the function will return you the concatenated string without spaces.
    private function stripSpaces():String
        var strippedSpaces:String = StringUtil.trim(name);
        var strArray:Array = strippedSpaces.split(" ");
        var concatString:String = "";
        for(var i:int=0;i<strArray.length;i++)
         if(strArray[i] != " ")
          concatString += strArray[i];
        return concatString;   
    This function removes all spaces, also the spaces between words and at the beginning and end as well.
    If this post answers your question or helps, please kindly mark it as such.
    Thanks,
    Bhasker Chari

  • HT1386 The first time I synced my iphone with my mac, I didn't realize that all of my photos from iphoto would transfer over to the phone.   Now, I need to remove some, as they are taking up too much space.  I cannot figure out how to remove them from the

    The first time I synced my iphone 4 with my mac, I didn't realize that all of my photos from the iphoto library would transfer over to the phone (more than 3,000).   Now, I need to remove some, as they are taking up too much space.  I cannot figure out how to remove them from the phone.  I tried to uncheck boxes and sync again, but I get a message that there is no room on the iphone.  I've read as many articles as I can find, but still cannot manage this.  Thanks for any help.

    Open itunes, connect iphone, select what you want, sync

  • HT201364 how do i remove space from my start up disk

    How do i remove space from my start up disk?

    Do you mean "make" space on your HD?
    Freeing Up Space on The Hard Drive
      1. See Lion/Mountain Lion/Mavericks' Storage Display.
      2. You can remove data from your Home folder except for the /Home/Library/ folder.
      3. Visit The XLab FAQs and read the FAQ on freeing up space on your hard drive.
      4. Also see Freeing space on your Mac OS X startup disk.
      5. See Where did my Disk Space go?.
      6. See The Storage Display.
    You must Empty the Trash in order to recover the space they occupied on the hard drive.
    You should consider replacing the drive with a larger one. Check out OWC for drives, tutorials, and toolkits.
    Try using OmniDiskSweeper 1.8 or GrandPerspective to search your drive for large files and where they are located.

  • How to remove Seperator from check-in and profile check in pages

    How to remove Seperator from check-in and profile check in pages
    The seperator is included on the checkin pages, which is present in the std_page with name "std_namevalue_separator", this is called by td_document_checkin_fields and std_document_file_fields.
    Defination of include:
    <@dynamichtml std_namevalue_separator@>
    <$if not isUploadFieldScript$>
    <tr>
         <td width="<$captionFieldWidth$>"><hr /></td>
         <td width="<$captionEntryWidth$>"><hr /></td>
    </tr>
    <$endif$>
    <@end@>
    I have to remove the following include from some of the profile check in page.
    Please suggest if anyone have some idea, how to proceed.
    Thanks,
    Sumit

    791848 wrote:I have to remove the following include from some of the profile check in page.The key here is that you want to do this in some profiles, not all profiles or globally, if I'm reading this right.
    Without writing a component, you can put this code in the "side effects" box in the desired profile(s). This code removes the horizontal rule, and inserts a non breaking space in its place.
    <$setResourceInclude("std_namevalue_separator","<$if not isUploadFieldScript$>
    <tr>
    <td width=\"<$captionFieldWidth$>\"> </td>
    <td width=\"<$captionEntryWidth$>\"> </td>
    </tr>
    <$endif$>")$>YMMV. The non-breaking space may get stripped out in the forum.

  • 11g installation warning - how to remove OH from PATH

    Hi all,
    I am getting the following warning when installing 11g on linux 4.0.
    I am using the same Oralce Base where 10g is installed.
    Please let me know how I can remove Oralce_home from PATH variable..
    Checking PATH environment variable...
    Check complete. The overall result of this check is: Failed <<<<
    [b]
    Problem: The installer has detected that the PATH environment variable includes other ORACLE_HOME locations in it.
    Recommendation: Restart the installer after removing other ORACLE_HOME locations from PATH environment variable.
    ========================================================
    Checking LD_LIBRARY_PATH environment variable...
    Check complete. The overall result of this check is: Failed <<<<
    Problem: The installer has detected that environment variable LD_LIBRARY_PATH includes other ORACLE_HOME locations in it.
    Recommendation: Restart the installer after removing other ORACLE_HOME locations from LD_LIBRARY_PATH environment variable.
    ========================================================
    Thanks,

    What operating system are you on?
    Okay, assuming unix of some sort and not Windblows...
    This is a nice trick I figured out long ago and is how I am able to easily run multiple versions of oracle with multiple Oracle_Homes on the same servers (unix):
    You can easily set your path in your .profile, or .bash_profile, or .cshrc (ugh).
    # Set up the PATH <jww>
    PATH=$HOME:.:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/bin/X11:/usr/contrib/bin
    export PATH
    echo $PATH > $HOME/ORIGINAL_PATH
    Then..... (here's the main part)
    I set up a case script that I accept input based on the ORACLE_SID, which then executes (sources) an oraenv file (of sorts). This file then sets the path for the database based on instance name and version of software requirements.
    #!/bin/ksh
    # orcl
    export ORACLE_SID=orcl
    export ORACLE_BASE=/u01/oracle/product
    export ORACLE_HOME=$ORACLE_BASE/10.2
    export ORAENV_ASK=NO
    alias admin='cd /u01/oracle/product/admin'
    export NLS_LANG=AMERICAN_AMERICA.AL32UTF8
    #Set up the PATH environment
    ORIGINAL_PATH=`cat $HOME/ORIGINAL_PATH`
    PATH=$ORACLE_HOME/bin:$ORACLE_HOME/ldap/bin:$ORACLE_HOME/Apache/Apache/bin:$ORIGINAL_PATH
    ## adding the following parameters required for certain oracle utilities (wallet, sqlldr, etc.)
    # jww, 01/08/2008
    ## for Oracle 10G
    export LD_LIBRARY_PATH_64=$ORACLE_HOME/lib:/usr/lib
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib32
    ## According to Oracle NOTE: 418548.1
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
    echo ""
    echo " Verifying environment variables set properly: "
    echo " ============================================= "
    env |grep 'ORACLE_SID' | grep -v '$ORACLE_SID'
    env |grep 'ORACLE_BASE'
    env |grep 'ORACLE_HOME'
    echo ""
    Hope this helps...
    Ji Li

  • Help :how to remove spaces in string

    could any body please help me in removing spaces from string suppose i have written vivek chhabra and i want to remove spaces in this string and want a string vivekchhabra then how this could be done
    anybody help me please
    vivek

    String string = "Hello - This is a test!";
    String result = string.replaceAll(" ", "");
    System.out.println(result);This code results the following output:
    Hello-Thisisatest!

  • How to remove songs from iPad?

    I've read several threds from users asking how to remove songs from the iPad 1.0, but have not found anyone with the symptoms mine has.
    For some unknown reason, the checkbox next to each song to remove them from the iPad is disabled.
    My latest attempt at removing all of the music was to tell iTunes to "Sync Music" with "Entire Music Library' selected.  That caused iTunes to push all 2700+ songs to the iPad.  I checked to see if I could remove the songs from the iPad by de-selecting the checkbox, but the checkbox was still disabled.
    So I told iTunes to stop syncing Music.  I acknowledged the warning message that this would remove all songs from the iPad.  Perfect - remove everything and I'll manually add the songs I want to put back on.  However, the results were not what was intended... I am back to where I started:
    When I open "Music" on my iPad, it shows lots of albums and songs (over 2700).
    When I view my iPad using iTunes, "Sync Music" is disabled and the capacity indicator shows 11.1GB of space allocated to audio files.
    When I view my iPad's Music folder using iTunes, it shows only 3 albums.
    At this point, I am thinking my only option is to wipe the iPad and manually add everything back on.  I'd rather not do that... but am out of options I can think of.

    I cannot delete music from my iPad2.  I've gone into iTunes and selected to manually manage my music.  When I click on my iPad and then MUSIC, I don't see any songs listed.  When I look at my iPad itself under usic there are a ton there.  I just want to keep my iPad free of music.  I don't need my music on my phone and my iPOD (yes, I still use an iPOD and I still like my music SEPARATE.)
    HELP
    Thanks.
    PS:  I'm using iTune 11.1.3.8
    iTunes software and iPad software up-to-date

  • Can anyone tell me how to remove iphoto from screensaver????

    Can anyone tell me how to remove iphoto from screensaver and all photos it has put into screensaver?

    Hi Ann,
    please check this document to determine the correct space for your question:
    Find Topic Spaces on SCN (Forums)
    If you need help moving it, let me know!
    Thanks,
    Kristen

  • How to remove pics from my 3GS...???

    How to remove pics from my 3GS..???

    Photos taken with the phone can be deleted by selecting them and hitting the little wastebasket icon in the right bottom corner.
    Photos you did sync to your phone, can only be removed by deselecting them in the photo pane in iTunes, the following sync will remove them from the phone.

  • How to remove space after paragrph in pages on ipad

    Can't figure out how to remove space after each paragraph in Pages for Ipad

    Settings > General > International > Region Format
    Set it to your country to format numbers and dates in the way your country does.

  • How to remove space below text?

    In the screenshot below, how to remove space below text? I simply added a text box using the type tool and I get that extra space bellow the letter "B" that I don't need. I want to remove that space to center the letter within the octogon.
    Thanks!

    You might consider giving the letter a negative baseline shift and aligning it to centre.
    That way you can adjust it so that its anchor point coincides with the centre of the hexagon.
    Like this:
    Another thing: You may find it easier working with type if you hide bounding boxes.

  • Does anyone know how to remove images from google

    i had instagram and i didnt upload images of myself but i only used my own image in the display picture and some how it has gone on to the google image search yesterday i deleted my account but when i checked to see if my images do appear in the google images i had some really bad regrets !! i reallywant to know how i can remove pictures off the google image search  even doe this does not kind of relate thank you .

    Does anyone know how to remove vocals from an import from I tunes...a  polyphonic stereo mix ?
    If you are talking about some "Karaoke" method using Logic I'll try to offer one. Before that I must say that most of the Karaoke methods are based on reversing the Phase of one of the stereo channel and bussing or merging the stereo into Mono. The result is: killing all Pan Centered in the mix - like Main Vocal, Bass, Kick, SN ect.
    The artifacts of the Stereo FX of the main vocal will stay in the Karaoke, cause the FX is stereo etc.
    Here is the Logic Setup I can offer to try some Karaoke trick using Logic.
    1. Import a Stereo mix into a Logic Stereo track.
    2. Create another stereo track and duplicate (copy) the Original Mix region to the duplicated track.
    3. Hard Pan L/R both stereo tracks.
    4. Insert an EQ and Gainer plugins into the duplicated track (R).
    5. Set the Output select of the both tracks to a Bus and assign the new Aux Track Switch mode to "Mono".
    6. Open the Gainer plugin and thick the "Phase Invert" Right button.
    7. To keep the "lowend" instruments like the bass and kick, open the EQ plugin and enable the Low Cut filter and try some Hz settings 80-115, or different Q which will sounds better for your Karaoke.
    P.S Click the image below to show its real resolution!
    Regards,
    A.G
    ======================================
    www.audiogrocery.com
    Author of: Logic GUI Deluxe(Free), Vox De Bulgaria s.a.g.e vocal pack for RMX, Logic Snapshot Console, RMX Power CTRL - Logic Environment Midi editor for Stylus etc.
    ======================================

  • How to remove Unicode from XML file

    I get following error when unmarshal xml:
    [java] org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x15) was found in the element content of the document.
    Anyone know how to remove Unicode from xml file? Can I remove the unicode by rebuild the file?
    Thanks

    These sort of error usually occur when you're using a different character encoding to read the file than the one you wrote it with. Perhaps if you were to post the problem section of the file and/or the code that created it in the first place.

Maybe you are looking for