Remove .00 in smartform display

How to remove trailing zeroes in msartform display.
I have a variable of type curr. Suppose the value is 23.00, then i want to display it as 23 only. What formatting option to give.

Hi Priti,
Try this...
Declare a new field of type P with decimals 0.
data: v_Curr like VBAP-ZWERT,
        v_newCurr type P decimals 0.
v_newqunat = v_quant.
Regards,
Sachin M M
Edited by: Sachin Mathapati on Jun 18, 2008 11:11 AM

Similar Messages

  • Blank page getting displayed how to remove it from smartform?

    I am using COMMAND line in smartform to display the second page on particular condition only. But because of it in display I am getting one blank page(extra page) at the end. Which should not appear. How to remove it?

    I guess there you must be using window/table/template there. If so try to decrease height of it and check .
    just drag up the window/template or table what u r using at last of the form. Only because of it extra space is generated and its taking you to next blank page.
    Edited by: Swetha on Jul 18, 2008 12:11 PM

  • Smartforms: Display text in a style not set globally

    Hi,
    I have this problem. I wish to display a text in a fixed box/window in my smartform. This text is dinamically handled in this box by an abap code. I can have two types of text of different number of words. For the short text I don't have problems but when I try to include a longer text, this text is truncated.
    More exacly I have as smartform style ZMM defined in output option tag. I set a global variable with the name of the text modules that I want to include. I tried to define a text module with a new style i.e. ZMM1 but when I show the test it is the same as the style is ZMM.
    How can I handle texts with different size of charactes or reduce the space between two linee but only for this text in this specific window?
    Any help well be well appreciated.
    Thanks in advance.
        Luigi

    well you can create additional paragraph formats for this purpose in your golbal style and use those in your text.

  • Smartforms -  displaying the include text restricting to spras.?

    In Smartforms i have used include text to display Header text of an invoice .
    I provided all the relevant details for the include text such as,
    1:text name:wa_vbdkr-vbeln
    2:text object-vbbk
    3: text -id-0001
    4:language-nast-spras.
    The problem is in the output it always displays english text eventhough nast-spras is Slovakian .Output should be blank if not maintained.(Header can be maintained in any language).
    Is there any possibility of displaying the text restricting to spras.
    Thanks in advance

    Hi Anji,
    Thanks for your reply .
    We use the so10 only when we have fixed data such as address then we go for it.
    But that's not my case .Header text can be changed any time for given Invoice.
    If maintained it should appear for that language if not it should be blank.

  • Just snipping wires to remove a completely broken display

    I know there's been a bunch of topics posted on repairing/replacing a broken screen, but...
    I've got a Powerbook Ti with a completely inop screen and two broken hinges (yes, I dropped it badly!). The laptop works fine with an external monitor.
    The only thing keeping the screen attached to the rest of the laptop at this point is some plastic still intact and a few thin wires.
    Can I just snip them off, and use the computer with an external monitor (without going through all the pain of dismantling the rest of the computer)?

    Hi, tool119, and welcome to Apple Discussions. Two of those wires are for the display backlight and the pulsing sleep light. I suspect you could just cut them with no ill effects. But the LVDS (video data) cable is a bundle of tiny coaxial cables containing many wires not much thicker than a hair. The likelihood of pressing the cut ends of some of those conductors together so that when powered again, they short out and potentially damage your Powerbook's video circuitry (which is all soldered onto the main logic board), seems high to me. I wouldn't risk it. If you do decide to go ahead, I recommend cutting that cable with a very thin, sharp blade such as an X-Acto knife or a new single-edge razor blade, to keep crushing action to an absolute minimum. And of course make sure there is no power being supplied to the PB while you do any of the cutting: unplug the AC adapter, remove the main battery, and leave it that way for an hour to let the internal backup battery drain too. Then cross your fingers and cut if you must.
    If it were my Powerbook, I'd open it and disconnect the cables properly.

  • Removing stand from Apple display

    We have an Apple 17' Studio Display(blue case)-probably 6 years old-a large bulky thing with a plastic tripod stand(Apple family M6496.). I would like to remove this stand so I can package this monitor to ship to another school.The stand moves forward or back in one direction only, and feels like it is attached to a band or spring mechanism of some kind.Anyone know if or how I can removed this piece.
    Thanks
    John S

    John,
    I responded once but it did not post. The fastener, to the best of my knowledge, is inside and requires more dismantling than you may wish. It is an Apple design so do not expect quick release tabs like 90% of the PC monitors out there.
    Is there some reason a bigger box is not acceptable?
    Jim

  • Remove or Delete monitor display preferences as defined by the User -

    The clarity and resolution of my display seems to have disappeared. It is currently set at 1440 x 900 which is usually fine except when I start-up, my screen loads what must initially be the default settings - which are perfect - then after a couple of seconds changes to a dark/grainy image.
    When I log in to another user account, the image is fine which indicates that it is must be display preferences for the user which has changed (although I don't recall ever doing this). Does anyone know how to reset defaults or remove delete user defined profile?
    Thank you.

    DearJane
    As Limnos points out my suggestion takes a rather blanket approach which may not suit you? However it's also fair to say that problems potentially caused due to damaged and/or corrupted .plists are not exclusive to a single .plist. Occasionally its a combination of 2, 3 or 4 or possibly more that causes the problem.
    Hence my suggestion to create a folder on the desktop first. That way if the problem goes away you can introduce desired .plist files later on once you test everything else. It's also my experience that most mac users can benefit from having a major clearout. Couple this with clearing out the contents of /Users/Home/Library/Caches and overall performance can seem quite marked.
    A lot does depend on how many 3rd-Party applications/utilities you've added. I have lots of added extras and it does not cause me any problems whenever I clear them all out.
    The choice is yours.
    HTH?
    Tony

  • Smartforms display problem

    Hi experts,
    Iam working on smartforms.
    I have header and details tables.In the header table(T_HDR) i have 2 different VBELNs .
    In the details table iam getting details for each VBELN.
    So first loop iam getting 3 details & in the second loop
    iam getting 2 details records like this.
      loop at t_hdr into g_hdr
       select * into ....vbap.. t_det where t_hdr-vbeln.
        CALL FUNCTION 'SF function module'
        EXPORTING
          CONTROL_PARAMETERS = CONTROL
        TABLES
          T_HDR              = <b>G_HDR</b>
          T_DET              = <b>T_DET</b>
      endloop.  " t_hdr
    Since customer number is same in t_hdr, i want to display t_hdr values only one time in the smartforms first page.
    In the next page i want to display all the details using t_det.
    I got the all the details and it is fine.
    Only problem is iam getting FIRST page is getting repeated.
    How can i reistrict to display first page <b>only one time</b>?And how to get all the details in the next pages?
    Output options are not working.
    reward guaranteed
    thanks
    kaki

    Hi Kaki,
    How have you defined your "Next Page" in smartform?
    The Main Window shud be there in Next Page too.
    Regards,
    Anjali
    Also, Pls close your previous posts as "solved/V.Helpful/helpful" or solved it on your own. This would <b>only</b> encourage others to help you with your queries.
    Re: itab spaces
    Rules of Engagement:
    Welcome and Rules of Engagement

  • Removing spaces in smartforms

    Hi Experts,
    I am printing Gross Qty & Net Qty separated by '/' .But when they are printing it was appearing like this (1,000 /     9.856.000,000 /     7.894.000,000), now i want to remove the spaces between them. so can any one help me in this issue.
    Thanks & Regards,
    Ramana.

    HI,
    for removing the space take these into a big character field
    and concatenate all the three variables into that big character field
    and then display this variable
    then it will work
    regards,
    Venkatesh

  • Smartform Display format

    Hello Gurus,
    I am having a small problem while printing the smartform.
    I wan to display a link in the smart form with tilte.
    Example
    Link  :  www.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.com
    But it is displaying like
    Link  : www.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.com
    Headding in one and link in other line.
    How to display both link and heading in same line.
    As if i tried to CONCATENATE both Headding link in to one string and then display. Then to i am getting the same problem.
    It is urgen...... can any one help me out from this..........
    Thanks,
    Feroz.

    Hello Gurus,
    I am having a small problem while printing the smartform.
    I wan to display a link in the smart form with tilte.
    Example
    Link : www.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.com
    But it is displaying like
    Link :
    www.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.com
    Headding in one and link in other line.
    How to display both link and heading in same line.
    As if i tried to CONCATENATE both Headding link in to one string and then display. Then to i am getting the same problem.
    It is urgen...... can any one help me out from this..........
    Thanks,
    Feroz.

  • SmartForms displayed as PDF in Portal

    Hi,
    We have implemented a new travel form using SmartForms and display it as PDF in Portal.  Everything is fine except when you maximize the window, the PDF from is only half the screen.  It does not expand to full screen.  Does anyone know how to expand to Full Screen?
    Thank you,
    Robert Cvetas

    hi Rajesh.....
    Could you explain me how 2 display SMARTFORM as PDF in portal..... please.....
    I have the requirement as follows.....
    By pressing a button the smartform must be generated.....
    SO what must be the RFC o/p from ABAP.... I am ABAPER basically
    and what the portal guys must do.....
    pleaseeee

  • GRC CUP how can i remove  auto link "view" display from email configuration

    Hi,
    When approver/manager gets email.They get display "view" as a link to process the request. How can i remove this and put a full link in email configuration of stages workflow.
    Thanks
    Yakoob.

    Hi,
    I have a similar query on this. We have a clustered environment for our production GRC CUP system. Access to the CUP system is via a load balanced Webdispatcher.
    My question is, when a notification e-mail is sent out from CUP, the "View" link is showing a direct link to one of our clustered server instead of the Webdispatcher link. How can we customize the "View" link?
    We need to ensure the approvers are able to access the link via the webdispatcher so that when a failover in the cluster occurs, they are not affected.
    Thanks.
    Regards,
    Daniel Wong

  • How do I remove the link target display?

    I do not want a status bar. I do not want that link target display on the bottom of the window either. How do I remove it please?

    See also:
    *[[/questions/1040120]] How can I hide "Read/Waiting/Transferring data..." status?

  • Is there a way to remove the percentage complete display?

    When a user is completing the form a 'percentage complete' is displayed.  In my case, the way this is calculated is misleading.  Is there an option to edit or remove this?

    This is the logic:
    For multiple page forms the first page always shows 0% and we don't show progress on the last page. For the pages in between we take the number of questions completed on the previous pages and divide by the total number of questions in the entire form to get the percentage for the current visible page.
    The percent doesn't include what is on the current page because it hasn't been filled out yet. The user may only fill out a few questions and leave the rest so you can't say they completed 90%. We don't know what the completed until they hit Next.
    We've never found a better way to do the math that makes sense in all cases.
    Randy

  • Arabic Smartform - Display text right to left?

    I have been asked to investigate how to create some smartforms which will display the Arabic language reading right to left.
    I know how to create a smartform for different languages but I'm stuck on the right to left formatting.  It's not a case of just right justifying all the text, the words have to be displayed reading right to left.
    Any ideas?

    Thanks but I've just found out this is not the requirement.

Maybe you are looking for

  • Messed up Windows 8.1 install after using Boot Camp 4 drivers

    Hey guys, I just finished successfully installing Windows 8.1 on my Mac with Lion. There were no issues there, but I royally screwed up the Windows partition after trying to install the Boot Camp support software from a USB flash drive. I didn't look

  • Hyperlink in PDF form

    Hi all - I have some very simple web pages that I created in some word documents - I imported these docs into liveCycle to create PDF's.....works perfect except my hyperlinks don't work in the PDF.....any idea how I can get these to work?  Do I need

  • Want to capture my lips as drawing image in iPhone

    Want to capture my both the lips as scanned image in iPhone. I want to get "Technical Howknow" about capturing lips touch motion. Thanks in Advance

  • F4 in an ALV_GRID is ok , but writing manually in the field ?

    In an alv_grid, when I use F4 in a cell and pick a value in a matchcode I fill also two other fields at the same time ( I obtain this functionality by using a custom matchcode in dictionary ). Well,  I would like to do the same thing also when the us

  • Import all files at once?

    Can you import multiple files at once so they encode at once, opposed to individually? Or, can you import one large timeline (all your files combined on one timeline) and then set up the dvd to access your footage as you want. Opposed to bringing in