How to avoid to print decimals in the output

Hi,
Please suggest me how to avoid getting decimals in the output.
The variable that i am using is RKMNG. While declaring it i have used it in this manner,  rkmng type p decimals 0.
but this only avoids fetching the data with decimals, when i am trying to print this value to the output using ALV FM, the decimals are appearing.
Please can u provide me how to remove these three decimals that are appearing in the output.
Thanks,

do this :
data : lv_var like i.
move rkmng to lv_var.
print lv_var.

Similar Messages

  • How to write code to print and save the output in my GUI?

    I had been searching on code to program print and save commands to print and save the output from the GUI but to no avail. Can someone help me?

    The output will be link from the previous GUI page. Hence the output is a page with Jtable and a button for print to print the information in the JTable.

  • How to avoid withholding tax posting in the case of ERS

    Hi
    We are trying to process Rent using Frame work Order.
    The issue here is withholding tax codes maintained for other purposes like Professional Fee, etc in the vendor master gets picked up automatically in this Rent invoice and the relevant WH Tax postings are made in the accounting document.
    Being ERS and usage of T code MRRL, the invoice generation is automatic instead of manual MIRO. Hence, user has no control to deselect withholding tax codes while generating invoices.
    Appreicate any suggestions how to avoid this?
    OR
    Is there any way of posting rent using frame work order instead of ERS (ie MRRL)?
    Please let me know if I m not clear.
    Thanks
    Sridevi
    PS: In Spain, there is no WH tax on Rent

    Hi,
    Assign a new Accounting Document to T. Code "MRIS" in OMR4.
    First create a new Document Type
    Then Assign Document Types in Invoice Verification
    Now go to OBBH - Substitution in Accounting Documents and write substitution for this new FI Doc Type and T. Code MRIS. Here take help of your FI consultant.
    You can use field XREF3 - Cash Flow, and keep constant vale for this as "Blank" since it is Relevant with Cash Flow.

  • How to get rid of decimals in the formula field?

    Hello,
    I'm using CR 2008.
    How to get rid of the decimals in the formula field? I have a field with this formula:
    "<b>" & ProperCase({DevelopmentTracking_SELECT.GameType}) &
    "</b>" & "<br><i>" &
    ProperCase ({DevelopmentTracking_SELECT.CustomerName}) &
    "</i><br>" &
    ProperCase({DevelopmentTracking_SELECT.PlannerID}) &
    "<br>" & ProperCase({DevelopmentTracking_SELECT.Forms}) &
    "<br>" & ProperCase({DevelopmentTracking_SELECT.Notes}) &
    "<br>" & "Concepts: " & ToText(int({DevelopmentTracking_SELECT.Concepts}))
    The field {DevelopmentTracking_SELECT.Concepts} is already an Integer in the database, so it shouldn't have any decimals, for some reason CR add them. It's easy to format a stand alone field, but how to do this in the formula?
    I tried the int() function, but it didn't work. The Round(field, 0) function didn't work either - still see the numbers like 12.00 instead of 12.
    I would appreciate your help.
    Thank you,
    Peter

    I've found the solution, this way it worked:
    "Concepts: " & CStr({DevelopmentTracking_SELECT.Concepts}, 0)

  • How to suppress the Print Popup in the output ..Please Help Me.

    Hi All,
    <b>My customization is going in Adobe forms.</b>
    when i execute the print program,i am getting  the print popup and asking to enter Output Device.But i don't want to display this <b>Print Popup</B> .How to supress this .i want  to get direct print preview without asking Output Device.
    Please help me.
    I APPRICIATE(REWARD) IF ANY ONE HELPS ME...
    regards,
    Suresh.

    Hi
    See this sample code
    SAMPLE CODE FOR PRINTING
    data: carr_id type sbook-carrid,
    cparam type ssfctrlop,
    outop type ssfcompop,
    fm_name type rs38l_fnam.
    DATA: tab_otf_data TYPE ssfcrescl,
    pdf_tab LIKE tline OCCURS 0 WITH HEADER LINE,
    tab_otf_final TYPE itcoo OCCURS 0 WITH HEADER LINE,
    file_size TYPE i,
    bin_filesize TYPE i,
    FILE_NAME type string,
    File_path type string,
    FULL_PATH type string.
    parameter: p_custid type scustom-id default 1.
    select-options: s_carrid for carr_id default 'LH' to 'LH'.
    parameter: p_form type tdsfname default 'ZAMIT_SMART_FORM'.
    data: customer type scustom,
    bookings type ty_bookings,
    connections type ty_connections.
    start-of-selection.
    <b>************ suppressing the dialog box for print preview*****
    outop-tddest = 'LP01'.
    cparam-no_dialog = 'X'.
    cparam-preview = SPACE.
    cparam-getotf = 'X'.</b>
    select single * from scustom into customer where id = p_custid.
    check sy-subrc = 0.
    select * from sbook into table bookings
    where customid = p_custid
    and carrid in s_carrid
    order by primary key.
    select * from spfli into table connections
    for all entries in bookings
    where carrid = bookings-carrid
    and connid = bookings-connid
    order by primary key.
    call function 'SSF_FUNCTION_MODULE_NAME'
    exporting formname = p_form
    variant = ' '
    direct_call = ' '
    importing fm_name = fm_name
    exceptions no_form = 1
    no_function_module = 2
    others = 3.
    if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    exit.
    endif.
    calling the generated function module
    call function fm_name
    exporting
    archive_index =
    archive_parameters =
    control_parameters = cparam
    mail_appl_obj =
    mail_recipient =
    mail_sender =
    output_options = outop
    user_settings = SPACE
    bookings = bookings
    customer = customer
    connections = connections
    importing
    document_output_info =
    job_output_info = tab_otf_data
    job_output_options =
    exceptions formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4
    others = 5.
    if sy-subrc <> 0.
    error handling
    message id sy-msgid type sy-msgty number sy-msgno
    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    tab_otf_final[] = tab_otf_data-otfdata[].
    CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
    format = 'PDF'
    max_linewidth = 132
    ARCHIVE_INDEX = ' '
    COPYNUMBER = 0
    ASCII_BIDI_VIS2LOG = ' '
    IMPORTING
    bin_filesize = bin_filesize
    BIN_FILE =
    TABLES
    otf = tab_otf_final
    lines = pdf_tab
    EXCEPTIONS
    err_max_linewidth = 1
    err_format = 2
    err_conv_not_possible = 3
    err_bad_otf = 4
    OTHERS = 5
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL METHOD cl_gui_frontend_services=>file_save_dialog
    EXPORTING
    WINDOW_TITLE =
    DEFAULT_EXTENSION =
    DEFAULT_FILE_NAME =
    FILE_FILTER =
    INITIAL_DIRECTORY =
    WITH_ENCODING =
    PROMPT_ON_OVERWRITE = 'X'
    CHANGING
    filename = FILE_NAME
    path = FILE_PATH
    fullpath = FULL_PATH
    USER_ACTION =
    FILE_ENCODING =
    EXCEPTIONS
    CNTL_ERROR = 1
    ERROR_NO_GUI = 2
    NOT_SUPPORTED_BY_GUI = 3
    others = 4
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ************downloading the converted PDF data to your local PC*******
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
    bin_filesize = bin_filesize
    filename = FULL_PATH
    filetype = 'BIN'
    APPEND = ' '
    WRITE_FIELD_SEPARATOR = ' '
    HEADER = '00'
    TRUNC_TRAILING_BLANKS = ' '
    WRITE_LF = 'X'
    COL_SELECT = ' '
    COL_SELECT_MASK = ' '
    DAT_MODE = ' '
    CONFIRM_OVERWRITE = ' '
    NO_AUTH_CHECK = ' '
    CODEPAGE = ' '
    IGNORE_CERR = ABAP_TRUE
    REPLACEMENT = '#'
    WRITE_BOM = ' '
    TRUNC_TRAILING_BLANKS_EOL = 'X'
    IMPORTING
    filelength = file_size
    TABLES
    data_tab = pdf_tab
    FIELDNAMES =
    EXCEPTIONS
    file_write_error = 1
    no_batch = 2
    gui_refuse_filetransfer = 3
    invalid_type = 4
    no_authority = 5
    unknown_error = 6
    header_not_allowed = 7
    separator_not_allowed = 8
    filesize_not_allowed = 9
    header_too_long = 10
    dp_error_create = 11
    dp_error_send = 12
    dp_error_write = 13
    unknown_dp_error = 14
    access_denied = 15
    dp_out_of_memory = 16
    disk_full = 17
    dp_timeout = 18
    file_not_found = 19
    dataprovider_exception = 20
    control_flush_error = 21
    OTHERS = 22
    IF sy-subrc <> 0.
    ENDIF.
    Regards
    Anji

  • How to Avoid another Black X Over the Battery?

    Forgive me if this is already a topic. If so, please direct me to the correct thread.
    I was recently working on my Late 2010 Macbook Pro 13 inch laptop when it just shutdown. It took about 5 minutes to start back up, and I immidatley noticed that there was a black X over the battery symbol, and the fan was running at a full (and a very loud) speed. I shut it down and plugged in the power cord, which only glowed very faintly.
    After some googleing, I figured out what was wrong and fixed it using a different thread. I basically had to restart the SMC. The thread I used is here: http://support.apple.com/kb/HT3964
    However, even though it helped me fix the problem, it didn't answer any questions. So, if you could please help me. Why did this happen to my Mac? How did resetting the SMC fix the problem? How can I avoid this problem in the future? Is this an issue with the battery, or is it something else?
    I want to know what I did to make this happen and how to avoid it in the future, if it's possible. All input is appreciated. I am not very computer savy when it comes to the inner workings, so I'm hoping someone smarter than me can help me understand what just happened with my computer.
    Thanks!

    An SMC reset can 'fix' several battery issues -
    A portable Mac doesn't appear to respond properly when you close or open the lid.
    The computer sleeps or shuts down unexpectedly.
    The battery does not appear to be charging properly.
    The MagSafe power adaptor LED doesn't appear to indicate the correct activity
    - but I've no idea why you had your problem in the first place, so I can't tell you how to avoid it in the future. Maybe you let your battery drain completely down? I don't know - but now you know the 'fix' for it should it happen again.
    Clinton

  • How to remove old print jobs off the eprint site

    How do you get rid of recent print jobs on the HP ePrintCenter?
    This question was solved.
    View Solution.

    At this time that is not an option in ePrint Center.
    If I have SOLVED your issue, please feel free to provide KUDOS and make sure you mark this thread as SOLUTION PROVIDED!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

  • How to avoid TEST PRINT page

    Dear All,
    How to aviod the test print page in printing. I am getting SAP cover page(test print page) for every time I am printing. I ma using the following code.
      CASE sy-ucomm.
        WHEN 'PRNT'.
          DATA: l_params TYPE pri_params,
                l_valid TYPE c,
                l_arc_params TYPE arc_params.
              l_params-prsap = 'X'.
          CALL FUNCTION 'GET_PRINT_PARAMETERS'
            EXPORTING
              destination            = 'LPIN'
              copies                 = 1
             list_name              = 'TEST'
             list_text              = 'Test NEW-PAGE PRINT ON'
              immediately            = 'X'
              layout                 = 'X_65_132'
              line_count             = 65
              line_size              = 220
              release                = 'X'
              mode                   = 'CURRENT'
              no_dialog              = 'X'
            IMPORTING
              out_parameters         = l_params
              valid                  = l_valid
            EXCEPTIONS
              archive_info_not_found = 1
              invalid_print_params   = 2
              invalid_archive_params = 3
              OTHERS                 = 4.
          NEW-PAGE PRINT ON   PARAMETERS l_params NO DIALOG.
          PERFORM display_data.
          NEW-PAGE PRINT OFF.
      ENDCASE.
    Thanks,
    Ranjan

    Hi,
    Just check it out. I m printed report directly instead of display.
    w_destination = 'LOCL'.
        CALL FUNCTION 'GET_PRINT_PARAMETERS'
          EXPORTING
            destination    = w_destination
            layout         = 'X_58_170'
            no_dialog      = 'X'
          IMPORTING
            out_parameters = params
            valid          = valid.
        IF valid <> space.
    ALL DISPLAY PARAMETER RIGHT ON PRINTER
          NEW-PAGE PRINT ON PARAMETERS params NO DIALOG.
        ELSE.
    GIVE ERROR PRINTER DESTINATION IS NOT VALID
          MESSAGE s208(00) WITH text-010.
        ENDIF.
      ENDIF.
    User write stament, That will dirctly go for print.
    OFF THE PRINTING AFTER REPORT IS DISPLAY
      IF valid <> space.
        NEW-PAGE PRINT OFF.
      ENDIF.
    it may sortout ur problem.
    Regard,
    Vinod

  • How to cancel a print job on the hp officejet 8600 pro running xp

    How do cancel a print or copy job on the Officejet 8600 Pro Premium?  There is no "cancel" button on the control panel.  Do I have to go through the software?  Time consuming -
       Thanks!
    This question was solved.
    View Solution.

    scarlattid3,
    The cancel button should be located in the bottom right corner of the screen. The only thing is it's not going to show up until you start the print job or copy and then it should appear for you.
    Let us know if you are able to find this.
    If I helped you at all it would be great if you clicked the blue kudos star!
    If I solved your post please mark it as solved to help others.
    I'm a printer tech with HP.

  • ICal: how to make my print selections become the default

    how do I make my chosen printer selections become the default? Also, is there a way to assign selections to a named type of "file", i.e, "My Calendars", "My To Dos", etc.?

    If you leave a CD, DVD, or some disc with data, in the internal drive, it should then use the external drive for burning. If you use good blank discs, such as Verbatim, there should be no reason to reduce the burning speed.

  • How can I control print quantities from the main browser?

    So here's the workflow question
    I want to select photos to print but I want to print a different quantity depending on criteria. The photos may be in different albums, etc..
    Selecting them all and trying to set the quantity in the Print Order window is painfully awkward.
    What I really need to be able to do is browse my photos and assign a value to them where the value represents the number of prints that should be created for that photo.
    For example, I can assign those colored lables quite easily by just pressing  CMD-1, CMD-2, CMD3, and so forth.
    So lets suppose I navigate around my photo collection and I assign a color to particular photos where the number of the color represents the desired quantity.
    It's very easy then to create a smart album that just shows the photos that have been tagged this way.
    However, there is no way then to order prints in one go with the appropriate quantities (other than the manual mechanism in Print Order window) and if I order them as separate groups, I have to pay shipping costs multiple times.
    I'm wondering if someone has created an automation script that can use the color (or some other textual tag) that can then be used to submit a print order with the quantities of each photo derived from that color or textual tag?
    I hope this question makes sense, it feels awkward to describe.

    If you have an iPhone, you can go to the app store and get Keynote Remote for free. The trick to make it work smoothly is to first establish your Macbook Air as wireless network. Then you use your iPhone to control the slideshow remotely, by swiping from slide to slide -- even from quite a distance.
    Turn on your Macbook Air's airport (wi-fi), then select Create Network.
    Once your Macbook Air is turned on as a network, open Keynote on your computer and your slideshow, but don't start the "view slideshow" mode just yet.
    Open up Keynote Remote and if it doesn't connect automatically to your Macbook Air then select the network in Options.
    Then start your slideshow from your iPhone -- you will notice each slide appearing on your iPhone as a reference.
    If you still have difficulties linking, go into the Keynote preferences menu on your computer and make adjustments in the tab Remote. (And don't be fooled by the Bluetooth option -- strangely at this point it doesn't work between the iPhone and the Macbook -- only wireless.)
    *Extra: You can enable "speaker notes" to show up on your iPhone below the picture of the slide.

  • Schedule webi document to printer and save the output in shared drive

    Hi all,
    Is it possible to schedule a webi document via java BOE SDK, run at once, save the output in pdf format in a shared drive and at the same time, send the output to printer? Or I need to run the webi document to run 2 times? Thanks.
    Best regards,
    Grace

    Hi Adam,
    How about can I schedule a webi document to printer only? In Crystal report, I can do this but seems for webi, no such function?
    Best regards,
    Grace

  • Changing print sequence of the output types

    Hi Friends,
    We are using Z program for issuing output .
    In this we are giving input values as Application (ex. V3) and output type (Ex Zx50) to take invoice printouts
    At present we are having three output types ZX43 , ZX44 AND ZX45.
    For this three output types program name and form name is different .
    To take invoice print we are executing this Z program with output types separtely.
    Our requirement is
    Creating new application ( ex V4 ) AND new outype type (ex ZX46) under this we have to bring this three output types ZX43 , ZX44 AND ZX45.
    By giving input as V4 and ZX46 it has to do the same work as it is done separtely
    while doing code please give me the suggestion or logic how to combine all these three output types in one
    Regards
    R.vijayakumar

    Hi,
    You can do this in the NACE configuration itself. we can call 5 program and forms for a particular output type.
    In the output type processing routine of nace transaction mention the program and form name
    Thanks
    Arul

  • Changing the print sequence of the output types

    Hi Friends,
    We are using Z program for issuing output .
    In this we are giving input values as Application (ex. V3) and output type (Ex Zx50) to take invoice printouts
    At present we are having three output types ZX43 , ZX44 AND ZX45.
    For this three output types program name and form name is different .
    To take invoice print we are executing this Z program with output types separtely.
    Our requirement is
    Creating new application ( ex V4 ) AND new outype type (ex ZX46) under this we have to bring this three output types ZX43 , ZX44 AND ZX45.
    By giving input as V4 and ZX46 it has to do the same work as it is done separtely
    while doing code  please give me the suggestion or logic how to combine all these three output types in one
    Regards
    R.vijayakumar

    Hi,
    You can do this in the NACE configuration itself. we can call 5 program and forms for a particular output type.
    In the output type processing routine of nace transaction mention the program and form name
    Thanks
    Arul

  • How to make checkbox field inactive in the output of ALV report.

    Dear All,
    I am having one ALV report in whose output there are checkboxes against each record. Example: the output columns of my ALV report are:
    Checkbox, Sales Document No, Billing Document No.
    Now, my requirement is that if for the Sales Document No there exists any Billing Document No in the output then the Checkbox should be inactive but if the Billing document coloumn is empty for a particular Sales Document No then only the Checkbox field should become active.
    Kindly guide me on how to make this checkbox field inactive.
    Waiting for your reply.
    Warm Regards,
    N.Jain

    Hello,
    Follow the below steps:
    1.Define as--> GS_STATUS TYPE SLIS_STATUS,
    2.check layout check box fieldname is not initial.
          then set the status according to your logical conditions
          GS_STATUS-FLG_CHECKBOXES_ACTIVE = 'X'
    Hope this would help you.
    Let me know your feedback.
    Regards,
    Raju

Maybe you are looking for

  • HT1386 Transferring apps to new iPhone

    Sync iPhone 4 with computer with no problem. Purchased iPhone 4s and tried to sync with computer. Music , pics, and some apps sync with no problem but some apps did not. Are we doing something wrong?

  • Not updated to ios7 but restored phone, it now wont activate why!!!

    Help please, Ive done it to two phones as swapping sim cards, now rendered both phones useless

  • Nokia 3600 slide

    when i am going to download software, shows "certificate not found"... Plz help to solve problem.

  • No sound on DC5700 microtower on Windows 7

    I recently changed from Xp to Windows 7 and now my sound does not work at all. I get a message in the sound icon that: No audio output devise is installed. In my device manager no sund is either installed so I cant update the driver for that sound, I

  • Missing class InterceptorContainerExtension

    Hi, when starting OC4J from within JDeveloper 10.1.3.1, I get the error message: Error parsing internal-settings.xml: server-extension-provider class 'oracle.j2ee.ws.server.mgmt.runtime.InterceptorContainerExtension' not found Does anybody know, whre