In ALV- Coulmns are jumbling in print preview and word doc.(irregular)

Hi Gurus,
In ALV, i am getting  the output with proper column allignment. But when i click on print preview in the output, columns are jumbling (irregular pattern- not in proper allignment) and also i am pulling the output data in spool throgh PDF format, there also columns are coming irregular( jumbling).
I want to get the output data into word forma with proper column allignment.
Please suggest me to solve this issue.
Thanks,
Chiru.

Check whether in the field catalog COL_POS is filled properly,

Similar Messages

  • Hi everyone. I have just started having problems with iCal.  Events that I thought I had deleted are appearing on Print Preview and on print outs. Likewise Events which I have not deleted have disappeared from my calenders, but appear in print preview.

    Hi everybody. I have recently started having problems with iCal (Version 2.05 (1069). Events that I thought I had deleted appear in Print Preview and Print Outs. Likewise Events that I have not deleted have disappeared from my calender (Month View) but appear in Print Preview and Print Outs. I see that there have been similar problems with Events disappearing especially in Month View. I wondered how print preview seemrd to be picking everything up deleted or not, and what the solution may be?. First time of Posting. I hope I haven't embarassed myself.

    Hmmmm.
    At the very least there must be a "com.apple.ical.plist"...iCal would not function without it.
    Click on the Finder icon in the dock
    Click on Go > Home
    Double-click Library
    Double-click Preferences
    Look for a file called "com.apple.ical.plist" and remove it to the trash.

  • Problem with Print Preview and Print events

    Hello Experts,
    We have developed a program, in which, I m trying to display the % values in the Sub Totals and Grand Total lines, The logic and program functionality is performing very well. The report is displaying the output the way end user is willing to see.
    The main problem is, the entire % values are going to a toss when we click the Print Preview or trying to print the report, which is not supposed to go that  way. I have even tried to debug the program where the problem is evolving in the code, but it is not raised from the code.
    Please refer to the screen shots.Before clicking the Print Preview and after clicking the print preview.
    Do anybody face the same kind of problem ever?
    If so please let me know what could be the best possible solution.
    Thanks & Regards
    Harish Kumar MK

    Hi Harish,
    I have use the below code but not for percentage... I think for percentage you just have to calculate the normal percentage and replace it with a subtotal value.
    This is not your complete code it will be better if you mail your complete code so that i can debug and check.
       TABLES: vbak.
    TYPE-POOLS: slis.                      " ALV Global types
    SELECT-OPTIONS :
      s_vkorg FOR vbak-vkorg,              " Sales organization
      s_kunnr FOR vbak-kunnr,              " Sold-to party
      s_vbeln FOR vbak-vbeln.              " Sales document
    SELECTION-SCREEN :
      SKIP, BEGIN OF LINE,COMMENT 5(27) v_1 FOR FIELD p_max.
    PARAMETERS p_max(2) TYPE n DEFAULT '20' OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    DATA:
      BEGIN OF gt_vbak OCCURS 0,
        vkorg LIKE vbak-vkorg,             " Sales organization
        kunnr LIKE vbak-kunnr,             " Sold-to party
        vbeln LIKE vbak-vbeln,             " Sales document
        netwr LIKE vbak-netwr,             " Net Value of the Sales Order
        waerk LIKE vbak-waerk,             " Document currency
      END OF gt_vbak.
    INITIALIZATION.
      v_1 = 'Maximum of records to read'.
    START-OF-SELECTION.
      PERFORM f_read_data.
      PERFORM f_display_data.
    *      Form  f_read_data
    FORM f_read_data.
      SELECT * INTO CORRESPONDING FIELDS OF TABLE gt_vbak
               FROM vbak
                 UP TO p_max ROWS
              WHERE kunnr IN s_kunnr
                AND vbeln IN s_vbeln
                AND vkorg IN s_vkorg.
    ENDFORM.                               " F_READ_DATA
    *      Form  f_display_data
    FORM f_display_data.
      DEFINE m_fieldcat.
        add 1 to ls_fieldcat-col_pos.
        ls_fieldcat-fieldname   = &1.
        ls_fieldcat-ref_tabname = 'VBAK'.
        ls_fieldcat-do_sum      = &2.
        ls_fieldcat-cfieldname  = &3.
        append ls_fieldcat to lt_fieldcat.
      END-OF-DEFINITION.
      DEFINE m_sort.
        add 1 to ls_sort-spos.
        ls_sort-fieldname = &1.
        ls_sort-up        = 'X'.
        ls_sort-subtot    = &2.
        append ls_sort to lt_sort.
      END-OF-DEFINITION.
      DATA:
        ls_fieldcat TYPE slis_fieldcat_alv,
        lt_fieldcat TYPE slis_t_fieldcat_alv,
        lt_sort     TYPE slis_t_sortinfo_alv,
        ls_sort     TYPE slis_sortinfo_alv,
        ls_layout   TYPE slis_layout_alv.
      m_fieldcat 'VKORG' ''  ''.
      m_fieldcat 'KUNNR' ''  ''.
      m_fieldcat 'VBELN' ''  ''.
      m_fieldcat 'NETWR' 'X' 'WAERK'.
      m_fieldcat 'WAERK' ''  ''.
      m_sort 'VKORG' 'X'.                  " Sort by vkorg and subtotal
      m_sort 'KUNNR' 'X'.                  " Sort by kunnr and subtotal
      m_sort 'VBELN' ''.                   " Sort by vbeln
      ls_layout-cell_merge = 'X'.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          is_layout   = ls_layout
          it_fieldcat = lt_fieldcat
          it_sort     = lt_sort
        TABLES
          t_outtab    = gt_vbak.
    ENDFORM.                               " F_DISPLAY_DATA
    BR
    Sumeet

  • Difference between execution mode of Print preview and Print for Output

    Hello,
    Can anybody tell the difference between execution mode of print preview and print for an output (For eg. PO output or Invoice)?. I am trying to download some documents linked to Purchase order to desktop. The code is written in the same driver program for printing PO and it is executed after smartform function module is called. It works fine in print preview mode and it fails in print mode. The reason why download fails in print mode is that GUI not available (just found from debugging).
    Any ideas?
    Thanks
    Anil

    HI
    try using any other printer and find out if you are getting the correct output. The printer needs to support Multiple Unicode encoding schemes like UTF 8, UTF 16BE, and UTF 16LE, plus special characters and logos, bi-directional text layout, and custom characters..

  • Wrong print preview and printed color from Lightroom 1.3

    I am running Vista Ultimate and i just installed the driver for my Canon PIXMA Pro9000.
    When i try to print from Lightroom 1.3 the colors are very muted, even when i do print preview the colors are wrong in the print preview screen.
    No matter what i do i cant seem to get lightroom to Print Preview AND print with the right colors.
    The image on this link http://www.pbase.com/charld/image/94711330
    (on the left) is what i see and get when i do a print preview and print and my monitor image is on the right.
    If i use Canon DPP the colors are not that bad, its a bit dark but that was easily fixed and i can get it quite close to what i see on the screen. My monitor is not calibrated..The images were all shot in RAW and converted to DNG...Do i need to re-install Lightroom as i don't think print preview has anything to do with the printer i have attached....
    Thanks

    I got the solution from another forum:
    http://www.lightroomforums.net/showthread.php?t=1613
    1. in the Print module, clicking on the Print Settings button ...
    2. Choose your media type
    3. Under Print Quality choose High
    4. Under Color Intensity choose Manual. In the subsequent dialogue box choose None.
    5. In the Print right hand panel under Color Management choose your print media - PR1 for Photo Paper Pro, SG1 for semi-gloss &c
    6. Rendering intent Perceptual.
    7. Hit Print and OK.
    this resolved my issue!!

  • Mismatch between Print preview and printout

    Respected Guru's
    Output device was defined during Febuary, and printout was taken without trouble untill today.
    Suddenly the print preview and printout does not match, title "INVOICE" printed at the top of the sheet is missing, whereas appears in the preview.
    Please give me guidance.
    Regards,
    Daya.

    Hi,
    Can u please let us know is it only for invoices or for all print outs its the same problem Ur facing.
    Can u please let us know whats the Host Spool Access Method
    How exciatly the prints are going to printer.
    Can you give output device as LOCL and try to give the printout.
    Regards,
    Ravi

  • Adobe Flash 11.9.900.152: objects not showing in print preview and not printing

    When I select print from Adobe Flash 11.9.900.152, objects are not showing in print preview and not printing on the printer.   I have tried to print from both MS Internet Explorer and Google Chrome--neither work.
    I am using:
    Windows 7 Home Premium Service Pak 1
    Internet Explorer 10.0.9200.16618
    or
    Google Chrome 31.0.1650.57 m
    How do I resolve this issue?

    What is it you're trying to print?

  • Print preview and print doesn't show the correct out put result when i connnected with EPSON LX-300+II

    I hava an html webpage with css & print css. The print preview and print doesn't give correct output there is alignment problem when i connected with EPSONLX-300+II. But iam connected with hp laserjet they show the correct output with firefox. Please fix the problem as soon.....

    I have same problem as you, but later I know how to deal with it.
    1. change your print default preferences to
    print quality into (120x144 dpi, or other which suites you)
    mine goes well to 120x144 dpi
    2. Before print enter File->Page setup, set true to option shrink to page width
    in order to fit your page into your desired paper
    (firefox will resize your content to suit the paper you choose).
    If you dont want this you can disable this option.
    3. Still in Page Setup, if checkbox "Print background (color & images)" is unchecked then
    white text will be printed black.
    Set this checked if you want to print white text as it is color.
    I hope it answers your question.
    Steve
    http://www.dailymobilegames.com

  • PL45 Print preview and PDF file with SN

    Hi, we upgraded to PL45 and everything is working well other than one issue.  The issue is with print preview and converting to pdf files when item list with SN is involved in a form (e.g. Delivery and Invoice).  SBO will crash with file dump.
    Is there anyone having similar issue?  If so, how was the issue was resolved?
    If anyone is at PL45 could you let me know the names of the documents when printing "Delivery" form with items tracked by serial numbers?  I suspect it is this document that's giving us problem.
    Thanks.
    Yi

    Yi,
    I would follow the procedures layed out in note 1009615 and submit a ticket witht the log files attached.  Please seen note below. 
    Good luck,
    Karl
    In case SAP Business One application is shutting down unexpectedly, you should follow these instructions:
    Go to SAP Business One application folder:
    Right click on the shortcut for SAP Business One which is located on your desktop.
    Press 'Properties' button.
    Press the 'Find Target' button on the bottom left of the window, SAP Business One application folder will open.
    Open the Log folder, which now should contain 2 files that hold the data about the cause for the shutdown. The first file name is: SAP Business One YYYY MM DD HH MM SS.DMP. The second file name is: SAP Business One YYYY MM DD HH MM SS_dyagnostic.TXT.
    Open a message to your support center and attach the 2 files and to the message. You need to pack the file *.dmp using a tool like Winrar, because you will not be able to attach *.dmp files directly. In the message content describe the actions that were taken. (please refer to the StepTemplate.xsl in the attachments).

  • Hp officejet pro 8610 prints solid black on scanned pdf and word doc pictures

    -HP Officejet Pro 8610
    -problem printing scanned pdf document and word doc. photos
    -My new HP Officejet Pro 8610 printed a newly scanned pdf document as an all black picture. I then printed a saved word documtent from my iMac which included a small picture. The document print was acceptable, but the picture was solid black. There were no error messages. These were, my initial tests, to check this new printer.

    Hey there @TM-10 
    Welcome to the Community
    I read through your post about your new Officejet 8610 scanning a document to your computer and printing out all black. I have a couple ideas for you to try.
    Try the steps in this guide: Unexpected Scan Output Using HP Scan Application for HP Multifunction Printers When Using OS X v10.9...
    Press the Power button to turn on the product.
    With the product turned on, disconnect the power cord from the rear of the product.
    Unplug the power cord from the wall outlet.
    Wait at least 15 seconds.
    Plug the power cord back into the wall outlet.
    Reconnect the power cord to the rear of the product.
    If the product does not turn on by itself, press the Power button to turn it on.
    Ensure the printer is plugged in directly to the wall outlet, avoiding power bars and surge protectors. This ensures the printer is receiving full power and may help.
    Good luck
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • Some applications are not opening, including mail and Word.  Clicking on the icon stirs it on the dock, but will not open it.

    Some applications are not opening, including Mail and Word.  Clicking on the icon stirs it on the dock, but will not open it.  Any suggestions?  Thank you!

    Ok, that's plenty of space.
    Check the S.M.A.R.T. status on your HD: Boot from install disc (insert disc > restart > immediately hold down the c key and keep holding it until you see “Preparing Installation”) > at first screen select the language and click Continue > click on the Utilities Menu in the menu bar > select Disk Utility > select your HD in the panel on the left side (the name of the HD’s manufacturer and the model number, usually the top item in the list) > look at the bottom of the main window next to S.M.A.R.T. status and see if it says “Verified” (good) or something more ominous like “Failing.”
    If S.M.A.R.T. status is "Verified," run Repair Disk > click Repair Disk at bottom of main window. Run this at least twice, and keep running it until it says “appears ok” twice in a row. If that doesn’t happen, you may need a stronger utility (such as DriveGenius, TechToolPro, DiskWarrior) or if the directory is damaged beyond repair, you may need to reinstall the OS, or you may have a damaged HD which will need to be replaced (repair utilities can only repair the directory structure, not the HD itself). When this is finished, quit Disk Utility, quit the installer, and restart. Once booted normally, go to Applications > Utilities > Disk Utility and run Repair Permissions.

  • Printing a microsoft word doc using Java Print API

    Hi,
    I have to print a microsoft word doc.I am using Java Print API, but the code is printing only Hashcodes instead of the actual document.
    Here is the code. Please let me know whats wrong in it.
    CODE:::
    public String print() throws Exception {
    String realPath = getRealPath("/images/formLibrary/csaAddressContactRequestForm100.doc");
    PrintRequestAttributeSet pras1 = new HashPrintRequestAttributeSet();
    DocFlavor flavor1 = DocFlavor.INPUT_STREAM.AUTOSENSE;
    PrintService defaultService = PrintServiceLookup.lookupDefaultPrintService();
    DocPrintJob job = defaultService.createPrintJob();
    FileInputStream fis1 = new FileInputStream(realPath);
    DocAttributeSet das = new HashDocAttributeSet();
    Doc doc1 = new SimpleDoc(fis1, flavor1, das);
    job.print(doc1, pras1);
    Thread.sleep(10000);
    System.exit(0);
    return "";
    }

    By using an appropriate library. JText, whatever.
    Google, man.I think Rene meant iText!Whatever. :) Never used it, I just remembered there was something named like that. Thanks.

  • Print Preview and Export not working FROM ALV Report

    Hi
    I have this ALV report which is working fine. But when I try to do a print preview it doesn't show the columns which r sorted. The columns r there but the data starts from the one which is not sorted so the layout is all messed up. In the ALV report the columns that r sorted groups them into one, I mean they just show only one time rest of the row for the same thing is blank it doesn't repeat the same data in those column. I am not sure whether that's causing it or not.
    Please help.

    Hi Anwarul,
    do not sort passing parameters for sorting. Create a layout (called ALV variant) or do the sorting online clicking columns(s) and sort icons. It will not change when displayed in print preview.
    What function/object do you use?
    Regards,
    Clemens

  • No Cond. are appearing in Print Preview of P.O ?

    Dear All Guru's ,
                                       Kindly help as in print Preview only JMOP= 14% is appearing while the other condition which are maintained in FV11 are not displaying ( JEC1 & JSEP ) .Pl help what setting are to be done to display these conditions.
    regards
    sap11

    Hi,
       The CIN conditions cannot be printed in PO, this is limited functionality. Read the note:
    Note 952287 - CIN: Limited Functionalities in Country Version India
    1. Printing of taxes in Purchase order
    Please note that printing of taxes in PO is not supported by country version India. If you need to print the taxes then you need to bring them into the MM procedure using condition types. You may use the condition type JEXS to bring the total taxes into the pricing procedure. Assigning a print flag in tax procedure will not help you in printing taxes.
    What you have to do is tell the ABAP programmer to get the calculation done is smartform program.
    This is the way you can show the break up in printing.
    I think some programme logic is given in some threads in  Forum-ABAP General.
    This can only be acheived by programming in smart form.
    Regards
    Rajesh

  • Hide check box in the print preview and print of OO ALV

    Hi Experts,
                      I am working on an OO ALV Report. I am facing an issue as,
    1) I have a check box in the output of the report. If the user clicks on print or print preview the check box should not be printed.
    2) When I am printign top of page in the event PRINT_TOP_OF_PAGE, when I tried to insert new line its not printing a new line.
        please suggest me how to print empty lines in the print top of page event of OO ALV.
    Please help me to complete these issues.
    Thanks in advance.
    Regards.
    Ranganadh.

    hi,
    you can use the write statement in the print_top_of_page event of oo alv.
    regards.

Maybe you are looking for

  • ITunes Stops Working When Syncing iPad3

    I have iTunes 10.7.0.21, my iPhone 4S syncs perfectly, however when I try to sync my iPad3, iTunes stops working, here's the problem report log, help please! Problem signature Problem Event Name: APPCRASH Application Name: iTunes.exe Application Vers

  • How to restore my secret question?

    how to restore my secret question?

  • Trusted and Target Reconciliation

    Hi All, Can we do trusted and target reconciliation from the same resource.I have to get email id and few attributes from ad on user profile and I need to do target recon for existing AD ids for further reporting and attestation. Can any one make rec

  • Robohelp 9: What are the hotkeys to navigate from pane to pane?

    Greetings! I was a heavy robohelp X5 user, looking to get back to robohelp! v9 looks pretty nice! (Playing with the demo) I used to be able to use alt-1, alt-2, ctrl-1, ctrl-2 (etc) to navigate from editor to project mgr, index view, etc. I don't see

  • MobileMe problems! "Error occurred while publishing file..."

    Is anyone else getting an "error occurred while publishing file" message when they try to publish their iWeb sites to MobileMe? This happens all the time. As a result, all my red icons in the iWeb window remain red. I have tried renaming one of the s