How to print data in h:dataTable by column wise

I've Arraylist holding of Item objects, in that again one more Arraylist containing Item parameters
My problem is i want to display ItemParams side by side(column wise) not row by row(normal procedure)
Table looks like
ItemNo          ItemName     ItemDesc     Change
234          Colgate     toothpaste     checkbox
123          Pepsodent     toothpaste     checkbox
In above table ItemName having different params
colgate have 3params
peopsodent have 2 params
ItemParameters class(bean) containing fields of parameterValue(textBox in UI) and parameterDescription(textArea in UI)
So the total ItemName column looks like
          ItemName
          Colgate                         
parameterValue parameterDescription,parameterValue parameterDescription,parameterValue parameterDescription
          Pepsodent
parameterValue parameterDescription,parameterValue parameterDescription
          Cibaca
parameterValue parameterDescription,parameterValue parameterDescription,parameterValue parameterDescription,parameterValue parameterDescription
Please help me
Thanks in advance

Hi,
Try with this piece of code
Declaration of local constants
  CONSTANTS :  lc_paart LIKE sy-paart VALUE 'X_65_132',  " Paper Format
               lc_locl  TYPE sypdest VALUE 'LOCL'.       " Destination
    MOVE 'X' TO v_print.
Setup the Print Parmaters
  CALL FUNCTION 'GET_PRINT_PARAMETERS'
    EXPORTING
      authority              = space
      immediately            = v_print
      new_list_id            = c_x
      no_dialog              = c_x
      user                   = sy-uname
    IMPORTING
      out_parameters         = v_print_parms
    EXCEPTIONS
      archive_info_not_found = 1
      invalid_print_params   = 2
      invalid_archive_params = 3
      OTHERS                 = 4.
  IF sy-subrc NE 0.
    CLEAR : v_print_parms.
  ENDIF.
The printer destination has to be  set up
  IF v_print_parms-pdest = space.
    v_print_parms-pdest = lc_locl.
  ENDIF.
Explicitly set line width, and output format so that
the PDF conversion comes out OK
  v_print_parms-linsz = c_linsz.
  v_print_parms-paart = lc_paart.
Regards,
nagaraj

Similar Messages

  • How to print Data Model in Report??

    Do anyone know how to print Data Model??
    Thanks your help.
    - Frank

    Hi Venkat,
    Thanks alot.... i am checking the appendix k.
    I want to know that if i want to customize the report as per the client requirement,
    can you please let me know which template i will use if i required remittence advice as well as check print data on the layout.
    The following is the list of field i required:
    Vendor ID
    Check Date
    Check number
    invoice date
    invoice/ CR memo number
    invoice description
    invoice gross amount
    invoice discount amount
    invoice net amount
    total gross amount
    total discount amount
    total net amount
    logo
    company name and info
    bank name and info
    check number
    check amount spelled out
    check date
    check amount numeric
    payee name
    CEO signature
    MICR check number
    MICR routing number
    MICR bank account number
    mailing return address
    mailing address
    Venkat it would be great help if you please let me know the exact process to be follow for check printing report.
    I worked on bi publisher report in 11i, but in 12i the process is bit different.
    also if you have any template ready can you please send me on my mail id ... i forwarded you the test mail from my official id or on [email protected]
    Looking forward to your kind response.
    Regards
    Ratnesh

  • How to print date & time in photos

    Thanks for the help.
    I need to print either photos with time and dates in them... or the Bridge contact sheet with date and time info.
    The final printed image will be used in court to photo document evidence.
    Do I have to do a screen capture or is there some other way?
    My camera will not allow me to imprint time and date.
    I'm using CS4 on both Windows and Mac.
    Thanks again in advance for the taking the time to help.
    Dances With Pixels
    I may have sent this twice, but I'm new to this and this is my first time trying to post.

    Thank you for taking the time to respond.  Much appreciated. 
    And will follow up on your suggestions.
    Date: Tue, 10 Aug 2010 23:55:31 -0600
    From: [email protected]
    To: [email protected]
    Subject: How to print date & time in photos
    I think there are (various) Scripts about for that.
    For example addExifDate1.5.jsx:
    http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=1346521
    One should be able to adapt it to include the time.
    You could ask in the Photoshop Scripting Forum or http://www.ps-scripts.com/
    >

  • How can i print data in bi publisher template across wise

    Hi,
    Please let me know how can i print data in bi publisher template across wise.
    eg.
    In my C1 field there is a data coming like
    S
    JR
    MR
    i want to print this filed
    S JR MR
    Thanx
    Arjun

    Hi ,
    Now i am able to print S JR MR horizontally.Thanx a lot for that.Now my problem is
    There is one column field which displaying value like S JR MR
    Now i am calculating a value using a function and want to display that value for each vale of above column
    For eg
    The report should display like this
    C1 C2 C3
    45 1-2-3 S JR MR
    45*1 2*45 3*45
    I have created package to make the string 1-2-3 separeate and the fuction is working fine .But unable to print value in bi
    Its displaying like this for each S JR MR
    45*1 2*45 3*45 45*1 2*45 3*45 45*1 2*45 3*45
    45*1 is in different group that should display also horizontally thats why i tried this <?for-each@cell:G_STR_ID?>
    Please help me
    Thanks in advance

  • How to print date & time stamp on photos?

    How to print date & time stamp on photos?

    Three methods:
    File>process multiple files>labels. Be sure to uncheck "same as source", or the originals will be overwritten. It is best to work on duplicate files, esp. while learning.
    Use the horizontal or vertical type tool to add the information manually to each picture file
    If the same information is to be applied to several pictures, e.g. a copyright notice, use  of a brush made in PSE is very efficient

  • How to print date/time in report page footer?

    Hi
    I have a report which users can print as PDF.
    However, I like to display current date/time in report footer.
    I can see the Page Footer in section but can't figure out how to print date/time there.
    Thanks for help.

    hi movilogo
    Please try this.
    Create hidden item P1_DATE
    Create On load process in page 1 and put this code
    begin
    :P1_DATE:=TO_CHAR(SYSDATE,'DD-MON-YYYY HH:MM:SS');
    end;
    Open your region in Page 1 put this code in Footer area
    *&P1_DATE.*
    Refresh your page.
    you will get the output like this.
    16-SEP-2009 11:09:17
    thanks
    Mark Wyatt

  • How to print date in cheque box in sapscript??

    Hello Guru,
    We have developed or design new form for cheque printing in sapscript
    how to print date in cheque box in sap.
    1
    6
    1
    2
    2
    0
    1
    1
    thanks in advance.
    Thanks & Regards
    Richa

    hi,
    If your requirement is to display date with box,first create a Box by using following syntax
    *   &sy-datum&
    /:  BOX XPOS '0' CH YPOS '3.65' LN WIDTH '77.50' CH HEIGHT '4.5' LN FRAME '10' tw
    then adjust the box size according to your requirement by changing xpos,ypos,width and height
    with regards
    Edited by: naresh bammidi on Dec 16, 2011 8:00 AM

  • How to print data in CCMMDDYY

    how to print data in the following format
    "CCMMDDYY"

    hi
    good
    yes you can very much print in that format, just follow this process
    1-declare 4 strings
    2-store all the different type of data in different variables
    3-concatenate them and store them in a different variable
    4-display tht varibale which contain that concatenate value
    thanks
    mrutyun^

  • How to disable/enable the cells for editing column wise in JTable in java?

    Hi All,
    Can any one tell me how to disable the cells for editing by column wise in JTable?
    Here depending upon the radio button selected, I need 2 disable some columns for editing
    and enable some columns for editing?
    how can I do tat using JAVA?
    Any sample code is of great help to me.
    Thanks in Advance

    http://java.sun.com/docs/books/tutorial/uiswing/components/table.html
    ~

  • How to print date with prefix in oracle reports?

    Hi Everyone,
    Please help to get solution for this problem.
    How can we generate View image: oracle Reports in Oracle Reports RDF ?
    we can print date , but i want to print date and st in smaller case and in top right side of date.
    for eg  31st   st should be small and in top right part.
    Please refer the image : i have inserted link for image.
    Thanks in advance,
    HP

    You just go into the paper layout---> ...
    No, first step is to ask the question in the Reports forum :-)
    Edit: TIP: How to find a forum or community

  • How to print data of selection screen

    hi plz tell me how to print that data in smartforms which the user enters in the selection screen...........

    Use FM RS_COVERPAGE_SELECTIONS
        CALL FUNCTION 'RS_COVERPAGE_SELECTIONS'
             EXPORTING
                  REPORT            = L_REPORTIDENTIFICATION
                  VARIANT           = SY-SLSET
                  NO_IMPORT         = 'X'                       "07/04/98
             TABLES
                  INFOTAB           = T_INFOSELECT
             EXCEPTIONS
                  ERROR_MESSAGE     = 1
                  VARIANT_NOT_FOUND = 3
                  OTHERS            = 2.

  • How to print date on photos

    Can anyone please advise how to print the date on photos on my HP C6380 All in One printer.  I have managed to change the settings  to do it before but now it is defeating me.  I would like to make it a default if I can.
    This question was solved.
    View Solution.

    Well since there is no date and time setting on the printer you will have to use whatever software you have to super impose a time and date on the photo.  Then print it on the printer.
    Say thanks by clicking the Kudos Thumbs Up to the right in the post.
    If my post resolved your problem, please mark it as an Accepted Solution ...
    I worked for HP but now I'm retired!

  • How to print data

    Hi
    I am trying to printout text area data
    Please help me how to do this?
    and also give idea about how to print table data ?

    Here's a quick-and-dirty example of how to get something to print from Java. As you can see, the Prinatable interface defines a print() method. That print() is passed in a Graphics objects. That Graphics object is then used by the object you want to print to print itself to. In this example, I just dummied up a Canvas whos paint(Graphics) method just writes out a string. This same call to paint() from print might work for a Table.
    Of course this example is terribly rudimentary, but it does actually print (for me).
    import java.awt.print.*;
    import java.awt.*;
    public class Main
         public static void main(String[] args)
              PrintableCanvas printMe = new Main().new PrintableCanvas();
              printMe.setSize(500,500);
              PrinterJob pj = PrinterJob.getPrinterJob();
              pj.setPrintable(printMe);
              try
                   pj.print();
              catch(PrinterException pe)
                   pe.printStackTrace();
         class PrintableCanvas extends Canvas implements Printable
              public int print(Graphics graphics, PageFormat pageFormat, int pageIndex)
                   paint(graphics);
                   if(pageIndex == 0)
                        return PAGE_EXISTS;
                   else
                        return NO_SUCH_PAGE;
              public void paint(Graphics graphics)
                   graphics.drawString("This was printed from Java",200,200);
    }

  • How to print data from SAP without showing the screen.

    I need to develop one RFC.It will call by third party tool like XMII.
    Required data will come from XMII and RFC should print data directly from printer.
    RFC should call transaction QM02>Notification>Print>Item Selection>select one of the Shop paper -->Print (No.of copies and name of printer will be given by XMII)

    Hi Priya,
    Build a process chain, to load the Cube and after the load completed, delete the PSA used to load the Cube.
    Also include in this chain a generated ABAP program to selective delete data from your DSO based on some selection/variant , ex: Fiscal Year or something.
    Also check the design and find a reason for using DSO, if no reason then just load into CUBE.
    Hope this helps.
    Thanks,
    Naveen Rao Kattela

  • How to Print data from variable or  in header of the table in smart forms

    Hi all.
    i have to print mondy tuseday etc in the header of the table . the actual data is printed ok  in the main area from itab where as i m unable to print data in header from that itab.
    i have tried from one variable as well . as i export that value to the smart form andthen try to print but i won't be able to do that
    Regards
    Ammad

    please post the question clearly.

Maybe you are looking for

  • Resizing Text Containers Based on Size of Adjacent Image Components

    I have a strange problem related to the size of a text component. Basically in my app I have a hbox 1000 pixels wide containing an image component on the left hand side which isn't scaled and it's content is dynamic meaning that upon clicking of cert

  • WAD:  Applying Filters Once with Filter Panes or Dropdowns

    Hi We have Dashboards created using BI7 version on Web App Designer.  We are currently using Dropdowns to filter on several characteristics. We are considering changing our dropdowns to use a Filter Pane Web Item.  But are looking for an option where

  • OSX Mountain Lion not installing

    Not sure if this maybe an issue (due to the network) but i am currently working in Iraq and downloaded my copy via a hotspot provided by the company. After installing my macbook keeps on asking me to restart. Had a look on my HD and saw the following

  • IMac G5 1.8GHZ 17" Hard Drive Help

    Okay, right now I have an 80GB Western Digital hard drive in my iMac. I want to put a 500GB Western Digital hard drive in it, I made sure that all the dimensions are right, it has the same RPM, but what I would like to know is this. I want to be sure

  • Why are calendar invites coming through email

    I've searched support & found one thing that said to check the box in preferences/advanced, but it was already checked.  I used to get all my calendar invites through notifications in my calendar, now they are coming to email.  If I press accept on t