Merging of same records in columns while printing

Dear All,
Kindly let me know how to merge same records in a column while printing.
I used ALV_GRID_DISPLAY and merged using sort in LIST but not able to get the same while printing.
Regards,
Karthik

Hi Karthik,
      Check this link which deals with printing the Report while creating Report and after execution of the Report.
Path:
BC ABAP PROGRAMMING->ABAP USER DIALOGS->LISTS->PRINTING LISTS.
Link:
<a href="http://help.sap.com/saphelp_46c/helpdata/en/9f/dba54635c111d1829f0000e829fbfe/content.htm">http://help.sap.com/saphelp_46c/helpdata/en/9f/dba54635c111d1829f0000e829fbfe/content.htm</a>
Cheers,
Prashanth

Similar Messages

  • Merging of same records in column

    Hi All,
    Can anyone pls tell me how to merge the same records in a column in ALV_Grid and also how to change the names of the column headings in output.
    Regards,
    Karthik

    HI,
    its not possible to merge the columns in ALV GRID. you can do it in your internal table by using the 'COLLECT' instead of 'APPEND'. then the same records will be merged.
    OR
    you can can take sub totals in ALV GRID on any column.
    TO change the columns headings use the following.
    <b>seltext_l   
    seltext_m
    seltext_s  </b>
    Regards,
    Wasim Ahmed

  • I need to convert PDF to Excel, however, columns and tabs make many merged cells and many blank columns. In addition to not separate the columns correctly, I see many not separate lines together in the same cell. I'm even thinking that Adobe Acrobat Pro D

    I need to convert PDF to Excel, however, columns and tabs make many merged cells and many blank columns. In addition to not separate the columns correctly, I see many not separate lines together in the same cell. I'm even thinking that Adobe Acrobat Pro DC has limitations. There is no way to define what points in columns to force break column? Nor create many columns that are useless? How does text to column in Excel, fixed size when we import text, and define where the breaks have columns?
    Google Tradutor para empresas:Google Toolkit de tradução para appsTradutor de sitesGlobal Market Finder
    Desativar tradução instantâneaSobre o Google TradutorCelularComunidadePrivacidade e TermosAjudaEnviar feedback

    PDF does not contain columns, rows, formats, styles, or other aspects of word processing or spreadsheet file formats.
    This is because PDF is decidedly not a word processing or spreadsheet file format or something "like" one of those.
    (see ISO 32000 for what PDF "is")
    What can optimize the export of PDF page content is to start with a well-formed tagged PDF (ISO 14289-1, PDF/UA-1 compliant).
    Without that export is what it is and one performs whatever content cleanup is needed using the native application for the export file (MS Word or Excel).
    Be well...

  • Re: Increasing Column Header Length While Printing in ALV Grid

    Hi
    For some column headers in a report, the translations in Turkey are more than 40 characters, because of which while executing the report in TR language, the column header is getting truncated.
    So, I would like to know if we can increase the column header length while printing the ALV Grid(OO ALV) output.
    Or else, Is there any way where we can divide the column header into 2 rows.
    Please let me know.
    Thanks and Regards,
    Vishwa.

    Jose and Sivaram,
    Thanks for replying.
    The problem we have is with the column headers, there is a limit of 40 characters for the column header in ALV reports. So, increasing the outputlen also did not help.
    Regards,
    Vishwa.

  • Few columns in ALV report while printing move to next page

    Hi,
    While printing, 14 columns are printing in first page and the next 5 cols in next page, how do u resolve this to accommodate all the 19 columns in a single page?
    Regards,
    Chitwanjit Singh

    Hi Chitwanjit,
    You can optimize your coloumn width in the layout like -
    gd_layout-colwidth_optimize = 'X'.
    May be this will help.
    Thanks and Regards,
    Nidhi Srivastava

  • How to use different pageFormats while printing in the same book object.

    Hi All,
    I m able to print Multiple pages, but the problem is when i want print multple pages with different pageformates I mean One pages having 4X2" size and another one is 5X5", while print second page objects not appears properly
    Pls see the below code to get the problem.
    any works around this will be appreciated.
    import java.awt.BasicStroke;
    import java.awt.Color;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.geom.Rectangle2D;
    import java.awt.print.Book;
    import java.awt.print.PageFormat;
    import java.awt.print.Paper;
    import java.awt.print.Printable;
    import java.awt.print.PrinterJob;
    public class MultiplePageFormatTest
    public static void main(String[] args)
      MultiplePageFormatTest example3 = new MultiplePageFormatTest();
      System.exit(0);
    private final static int POINTS_PER_INCH = 72;
    public MultiplePageFormatTest()
      PrinterJob printJob = PrinterJob.getPrinterJob();
      Book book = new Book();
      PageFormat documentPageFormat = new PageFormat();
      PageFormat documentPageFormat1 = new PageFormat();
      Paper paper = new Paper();
      Paper paper1 = new Paper();
      paper.setSize(4.5 * POINTS_PER_INCH, 2.5 * POINTS_PER_INCH);
      paper.setImageableArea(.25 * POINTS_PER_INCH, .25 * POINTS_PER_INCH,
       4 * POINTS_PER_INCH, 2 * POINTS_PER_INCH);
      documentPageFormat.setPaper(paper);
      paper1.setSize(5.5 * POINTS_PER_INCH, 5.5 * POINTS_PER_INCH);
      paper1.setImageableArea(.25 * POINTS_PER_INCH, .25 * POINTS_PER_INCH,
       5 * POINTS_PER_INCH, 5 * POINTS_PER_INCH);
      documentPageFormat1.setPaper(paper1);
      book.append(new Document(), documentPageFormat);
      book.append(new Document(), documentPageFormat1);
      printJob.setPageable(book);
      if (printJob.printDialog())
       try
        printJob.print();
       catch (Exception PrintException)
        PrintException.printStackTrace();
    private class Document implements Printable
      public int print(Graphics g, PageFormat pageFormat, int page)
       Graphics2D g2d = (Graphics2D) g;
       g2d.translate(pageFormat.getImageableX(), pageFormat
        .getImageableY());
       g2d.setPaint(Color.black);
       g2d.setStroke(new BasicStroke(
        2));
       Rectangle2D.Double border = new Rectangle2D.Double(
        0, 0, pageFormat.getImageableWidth(), pageFormat
         .getImageableHeight());
       g2d.draw(border);
       return (PAGE_EXISTS);
    }

    Hi,
    Till now this question is not answered.........
    Any Answer around this deeply apprciated.
    Edited by: DoraiRaj on Sep 29, 2009 3:55 AM

  • Error while using the same recording

    Hi All,
    I created a new recording and uploaded some data and it worked fine but when i use the same recording to upload the remaining data at the time of creating batch session in am getting an error " BDC_INSERT QUEUE AT. "
    Im fairly new to LSMW can anyone help me how to solve this.

    Hi
    Please check the data converted for upload and there may be some extra spaces which is causing the problem.
    Try to use a new file converted and upload it again.
    Shiva

  • Multi Column Report - printing Across and then Down

    Is there any setup option for a multi column report to go across and then down instead of down & across as a default. The problem I am experiencing is that some where and some how the two columns are not horizontally aligned properly - neither in the
    report view nor in the exported PDF. 
    The added difficulty is the problems created by this misaligned labels while printing on a custom paper that is smaller in size. Though I can setup the custom dimensions and get the desired 4x2 labels on the screen the printing doesn't sit in proper places
    on a preformatted paper.
    Is there any solution(s). Thanks in advance.

    Hi Christal,
    Based on my understanding, you want to make multi columns go across then down in the report.
    For your requirement, on query level, we should add an additional field(DisplayColumn) in the dataset, the field indicates the column in which the corresponding records will display. When designing a report, we add a group in the report, then insert some
    tablixes into the detail row. Within the nested tablix, we specify filter expression based on the value of DisplayColumn field. So that we can decide which data should display on which column. When previewing the report, you can find the report displays like
    newsletter-style. Besides, if we design the report like this, the report can supports all renders. For detail information about how to design the report step by step, please refer to this article:
    Creating Multiple-Column Reports [SSRS] .
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • FindByProperty Returns Same Record Twice

    I have a curious situation in which the findByProperty method is returning the same record twice. I have only two records in the file for this test, and they are both tied to the same contact ID. But, instead of bringing back both records, it brings back the first record twice. Any ideas?
    ContactNote entity
    @Entity
    @Table(name = "CONTNOTEP", schema = "CRMLIB", catalog = "S657567F", uniqueConstraints = {})
    public class ContactNote implements java.io.Serializable
         // Fields
         @Id
         @Column(name = "CONTACTID", unique = false, nullable = false, insertable = true, updatable = true, precision = 5, scale = 0)
         private Long                    contactId;
         @Temporal(TemporalType.DATE)
         @Column(name = "CNDATE", unique = false, nullable = false, insertable = true, updatable = true, length = 10)
         private Date                    lastUpdatedDate;
         @Temporal(TemporalType.TIME)
         @Column(name = "CNTIME", unique = false, nullable = false, insertable = true, updatable = true, length = 8)
         private Date                    lastUpdatedTime;
         @Column(name = "CNNOTE", unique = false, nullable = false, insertable = true, updatable = true, length = 100)
         private String                    note;
         @Column(name = "CNSALMNUM", unique = false, nullable = false, insertable = true, updatable = true, length = 2)
         private String                    salesmanNumber;
         @ManyToOne(fetch = FetchType.LAZY, cascade = {})
         @JoinColumn(name = "CONTACTID", insertable = false, updatable = false)
         private Contact                    contact;
         @Transient
         private GregorianCalendar     date;
    ContactServiceImpl
         public List<ContactNote> getContactNotes(String sessionId, Long contactId) throws AuthenticationFault
              authenticateSession(sessionId);
              List<ContactNote> contactNoteList = contactNoteDao.findByProperty("contactId", contactId);
              if (contactNoteList.size() == 0)
                   ContactNote contactNote = new ContactNote();
                   contactNoteList.add(contactNote.defaultContactNote());
              return contactNoteList;
    JUnit Test Method
         @SuppressWarnings("unchecked")
         public void runGetContactNotes() throws Exception
              UserDao userDao = (UserDao) applicationContext.getBean("userDao");
              User user = userDao.login("[email protected]", "password");
              assertNotNull(user);
              ContactService dao = (ContactService) applicationContext.getBean("contactService");
              List<ContactNote> contactNoteList =
                   dao.getContactNotes(user.getSessionId(), 1276L);
              for (ContactNote note : contactNoteList)
                   System.out.println(note.getContactNoteId() + " " + note.getNote());
    Results of Test
    [TopLink Fine]: 2007.10.02 08:50:30.988--ClientSession(7339385)--Connection(6964063)--Thread(Thread[main,5,mai
    n])--SELECT CONTACTID, CNTIME, CNNOTE, CNDATE, CNSALMNUM FROM CRMLIB.CONTNOTEP WHERE (CONTACTID = CAST (? AS B
    IGINT ))
         bind => [1276]
    1276 Jason requested to get Sinclair gift card "backs" because they have so many returned/used gift cards
    1276 Jason requested to get Sinclair gift card "backs" because they have so many returned/used gift cardsThanks for any help that can be provided. This has me stumped.
    R. Grimes
    Message was edited by:
    rdgrimes

    I was able to resolve this situation by splitting the ContactNote entity in two: ContactNoteId and ContactNote. I had combined them because it seemed kind of silly to have the id, date, time in the ContactNoteID entity, while the ContactNote entity just had two fields beyond the embedded id.
    R. Grimes

  • Insert and update same record of table using store procedure in oracle 10g

    Hi,
    I am using oracle sql developer for this.
    I have created Store procedure which run after every 30mins of interval.
    the problem is Ii need to insert data for first time of day then later that same record should update for particular field(here its plan code).
    if new field is coming (if new plan code is generated) then it should insert data and again update same for interval.
    means for each plan individual record(i.e. plan wise summary) should be there for only a day. next day new record for same plan.

    Hi,
    You should use Merge like shown below:-
    Merge into original_table a
    using second_table b
    on (a.primary_key=b.primary_key and a.primary_key........)
    when match then
    update set column_list=b.column_list
    when not match then
    isert into (column list)
    values(a.column_list)If you dont know much about merge then follow below link..
    http://www.oracle-developer.net/display.php?id=203
    http://www.oracle-base.com/articles/10g/merge-enhancements-10g.php

  • Some of the data for same records is going on to the next page in excel??

    Hello,
    I designed a template in word with page setup orientation to Landscape, to get the Excel report output. Later when i preview the same in Excel with the Landscape page setup..the print preview is showing me with some of the data going out of the page set up.My font size for data in word I put is 8pt Times New Roman.
    Basically..my requirement is to print the report in excel with the landscape page setup.
    But some of the data for same records is going on to the next page in excel??
    How do i prevent this from happening?
    Thanks in Advance!

    Hello
    The blog suggested above is to set the output for a PDF document using RTF template. Whereas, my requirement is to get a excel output using RTF template, with data fitting directly with in the landscape orientation of EXCEL when printed.
    Basically, the requirement is : When i run the report, the excel output should be sent to a printer with style 'Landscape' from apps?? But the problem is that i am not getting all the pagebreaks i put in the RTF template and also some of the data for the same records is not fitting in to the landscape orientation of the excel while it gets printed.
    But when i run the same as a PDF everything is fine... ..But that's not my requirement...Please help!
    Thanks,

  • Slow system while printing PDF's

    when printing PDF's to any of several printers (letter or tabloid sizes)the system response slows to an unbearable crawl lots of spinning beach balls come and go. the only system function that does not appear to be affected is the mouse movement, mouse clicks however are affected. I can't even change windows let alone apps without multiple minutes of delayed reactions. I used activity monitor to find "PrintJobMgr" seems to be using up to 100% of cpu resources and over 1GB of virtual memory at some times during the print process. I understand that PDF's are slow to print but that is not my problem as the print speed seems okay, just while printing I can't do anything else.
    Can anyone help or have same experience?

    What happens if you drag several PDFs right to the Printer's Icon or Printers Window without using Acrobat?
    At this point I think you should get Applejack...
    http://www.versiontracker.com/dyn/moreinfo/macosx/19596
    After installing, reboot holding down CMD+s, (+s), then when the DOS like prompt shows, type in...
    applejack AUTO
    Then let it do all 5 of it's things.
    At least it'll eliminate some questions if it doesn't fix it.
    The 5 things it does are...
    Correct any Disk problems.
    Repair Permissions.
    Clear out Cache Files.
    Repair/check several plist files.
    Dump the VM files for a fresh start.
    First reboot will be slower, sometimes 2 or 3 restarts will be required for full benefit... my guess is files relying upon other files relying upon other files!
    Disconnect the USB cable from any UPS so the system doesn't shut down in the middle of the process.

  • Error while printing RG1 register

    Dear All,
    the following error is cuming while printing excise register J2I6  -register RG1
    "SAP script layout not maintained for company code XXXX - register RG1"
    But same I have configured in 
    SPRO/Tax on Goods Movement/India/Business Transaction/Excise Register/Specify SAPScript forms
    Best Regards
    Sainath

    PowerPC Mac 10.4.11, Print with Safari with: Error while printing.
    Others AP: Printer Setting Utility can't pop up, no effective.

  • Error while printing smartforms

    Hi Friends,
      I am getting error "<b>Invalid value for parameter ARCHDEST</b>" while printing smartforms. This is happening only in IDES server. In Development the same smartform is working normally. I have checked in transaction SU53, to see whether all the authorisations have been given for IDES server. There is no problem in authorisation also. So what might be the reason for this. Please give me the solution to solve this problem.
    Thanks & Regards,
    Ranjith

    Hi Beginner,
    In the layout you have taken window or layout taken the big width in that case only you will get this type error syntatically it shows correct when you exicute the smart from try to give the print or see the print preview you will get this error (suggestion is better to check the window sizes)
    Thanks
    Ashok

  • "error while printing" when saving

    A really odd thing started happening today: when I hit Apple + S to save a document, it first pops up the save progress box, but after a few seconds a 2nd box appears with a mesage saying "Print. error while printing."
    I'm just trying to save, not to print. Any ideas what's going on?

    on the wife's g4 powerbook, added a network-shared printer, attempts to print to it result in:
    PMSessionValidatePrintSettings failed (error code = -50)
    Invalid PMPrintSettings in print info
    this same n-s-p works fine on my g4 powerbook, also 10.4.11...
    and i haven't been able to print to this printer from my core duo minimac running 10.6.2:
    3/1/10 6:55:37 PM AddPrinter[21005] Error loading /Library/Printers/hp/aio/PMs/hpaio_print_pm.plugin/Contents/MacOS/hp_aio_printpm: dlopen(/Library/Printers/hp/aio/PMs/hpaio_print_pm.plugin/Contents/MacOS/hp_aio_printpm, 262): no suitable image found. Did find: /Library/Printers/hp/aio/PMs/hpaio_print_pm.plugin/Contents/MacOS/hp_aio_printpm: mach-o, but wrong architecture
    3/1/10 6:55:37 PM AddPrinter[21005] Cannot find function pointer HPPMPluginFactory for factory 00425E6D-6656-11D7-966D-0003934BEDFE in CFBundle/CFPlugIn 0x1444f750 </Library/Printers/hp/aio/PMs/hpaio_printpm.plugin> (bundle, not loaded)

Maybe you are looking for

  • Purchase order status issue

    Hi Everyone I am having an issue with the status of Purchase order. When the Purchase order has single account assignment, everything is fine. But when I create a purchase order with multiple account assignment, the first line item is correct but whe

  • SCOM CI Connector is stuck in runnig state

    Hello, I have problem with SCOM CI Connector in SCSM. It is stuck in running and 5%. I have tried to disable and re-enable but without success. I can't see any workflow related to this connector in workflow status. Is there any possibility how to sto

  • Details about RFID with AII and XI.

    Hi, I do have few more doubts, we have purchased hand held readers from Symbol and Intermec. As of now we are using .Net as intermediary along with the SDK's provided by them. Can I have the process of integration with SAP either using XI or AII and

  • Activating Process chain with Yellow message about index recreation

    Hi SDN Community As part of a Process Chain which loads data into an infocube, If an index recreation is not included in the process chain, we get the following warning message: A type "Generate Index" process has to follow process "Execute InfoPacka

  • Eliminate duplicate values in a column

    I have a table with following data Dat id name 24-sep-2008 1 a 24-sep-2008 2 b 25-sep-2008 3 c 25-sep-2008 4 d I want fetch only unique dat feild . ex: the result of the query im only expecting 24-sep-2008 25-sep-2008