Alligning data in table format

I have a SQL view that contains a Land Plot Number, Person id's along with their details and any associated land Interests, which can be 1 or many and Interest Type boolean field(Freehold, Leasehold, Occupier). If the person is associated with more than one piece of land the view contains repeated person details with new land details. I have designed the report to look like a table by using boxes which span the page header to a group footer. The report is grouped by the Plot Number, I have created 3 formulaes that check for the type of interest and concat the address detail, and inserted them into the detail line. The report works OK the only problem I have is that I need to show the information in the following format (Alligned to top): -
ID   Address Type 1    Address Type 2    Address Type 3
1    XXXXXXXX           XXXXXXXX          XXXXXXXX
     XXXXXXXX           XXXXXXXX          XXXXXXXX
     XXXXXXXX           XXXXXXXX          XXXXXXXX
     XXXXXXXX           XXXXXXXX          XXXXXXXX
2    XXXXXXXX           XXXXXXXX          XXXXXXXX
     XXXXXXXX           XXXXXXXX          XXXXXXXX
     XXXXXXXX           XXXXXXXX          XXXXXXXX
     XXXXXXXX           XXXXXXXX          XXXXXXXX
                                          XXXXXXXX
                                          XXXXXXXX
                                          XXXXXXXX
                                          XXXXXXXX
AND NOT AS IT CURRENTLY RETURNS (Gaps): -
ID   Address Type 1    Address Type 2    Address Type 3
1    XXXXXXXX        
     XXXXXXXX          
     XXXXXXXX         
     XXXXXXXX          
                       XXXXXXXX        XXXXXXXX
                       XXXXXXXX        XXXXXXXX
                       XXXXXXXX        XXXXXXXX
                       XXXXXXXX        XXXXXXXX
2   XXXXXXXX                                      
    XXXXXXXX                                      
    XXXXXXXX                                      
    XXXXXXXX                                                                               
XXXXXXXX
                                       XXXXXXXX
                                       XXXXXXXX
                                       XXXXXXXX
                      XXXXXXXX         XXXXXXXX
                      XXXXXXXX         XXXXXXXX
                      XXXXXXXX         XXXXXXXX
                      XXXXXXXX         XXXXXXXX
Hope this makes sense, any advice would be greatly appreciated.
Thanks

It's a bit hard to tell how your report is structured, but it sounds like what you are needing to do can be accomplished by using Multi-column.
Go to the Section Expert for the Details section - on the common tab, check on "Format with Multiple Columns".  When you do this, a new tab will show up "Layout".  Go to this tab and change the radio button at the bottom for Printing direction to be "Across then down".  Set the size of your columns here and go check your report.  You should be able to tweak this Layout to accomplish what you after.

Similar Messages

  • Help retreiving XML data in table format

    Hello,
    i have a field which stores IP and Domain data in XML format. The field data type is BLOB.
    here is the XML data sample stored in the field.
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <DOMAIN Name="DOMAIN_NAME HERE">
    <IPADDRESS Address="X.X.X.X1"></IPADDRESS>
    <IPADDRESS Address="X.X.X.X2"></IPADDRESS>
    <IPADDRESS Address="X.X.X.X3"></IPADDRESS>
    <IPADDRESS Address="X.X.X.X4"></IPADDRESS>
    ... ETC
    Is it possible to run SELECT against this field and retrieve the data in the table format, so the output will have two fields and look like
    domain IPADDRESS
    DOMAIN_NAME HERE X.X.X.X1
    DOMAIN_NAME HERE X.X.X.X2
    DOMAIN_NAME HERE X.X.X.X3
    DOMAIN_NAME HERE X.X.X.X4
    I have tried many option with Extract, extractvalue and XMLQuery, not luck.
    Thank you very much!
    Sergei

    Try...
    xp20:format-dateTime(string($dateFromDatabase), '[D01]-[MN,*-3]-[Y0001] [H01]:[m01] P')Ref
    http://www.w3.org/TR/xslt20/#function-format-dateTime
    Cheers,
    Vlad

  • Extracting date from table, format problems

    Hi
    I am working on scm side, where i need to get the creation date of material from table /sapapo/matkey  .
    The problem is the field has a time stamp .
    intially i was using fm : CONVERSION_EXIT_TSTLC_OUTPUT
    to get the date , but the problem is this fm is not correct , as it depends upon the user date format , and gets date from display
    of the table rather than the server . This is giving me an error
    as the date format can be different everytime , it can be yyyymmdd   or yyyyddmm.
    Which is the way of firstly getting creation date from the time stamp , and in the format stored by databse.

    Hi thanks for ur replies.
    My exact requirement is , that i need to pass the  to a bapi which takes the date in the format  : yyyymmdd.
    So finally whatever be the user date format  , i should use the time stamp and get  the date , in one standard format always.
    It can either be yyyymmdd or YYYYddmm , so that i can set the input for bapi accordingly.

  • How to show the data in table format when user click the Graph

    Hi,
    I have a graph in my report. If user click the graph is there a way to show
    the data behind it?
    Thanks.
    Regards,
    Jun

    Hi All,
    Any idea how to do this?
    Thanks.
    Jun

  • Query on report display in table format on 7970G

    Hi,
    I know how to use the xml objects to display data on Cisco IP Phone using Ip Phone services. Now I want to generate report in table format on the phone.But in the xml objects available there is no option display data in table format .
    Should I have to use BTXML for that ?
    or do I have to diaplay it as an image ?
    I want to keep the first row as heading and the rest of rows I should scroll and view.
    Please let me know how to do that .Please also provide any sample documents or links.
    Thanks,
    Peter

    I've never really seen btxml in the wild.. it may be used in environments where people use Cisco phones but connected to SIP proxies, and not callmanagers. I don't think this is the place to discuss btxml.. I've never seen a single mention.. you might find people in Asterisk or similar forums though.
    Now, your screenshot shows a CiscoIPPhoneImage.. behind it is a simple PNG image, at a resolution of 298x168 and at 24bits (the shot looks like from an IP Communicator). Depending on the phone type, the resolution varies (IP Communicator and 797x phones have the same resolution but different bit depths, the 7965/54 have a lower res and 16bit, the 7921 supports a resolution of 176x140 at 16 bit).
    It's probably easier for you if you stick to the CiscoIPPhoneImageFile instead of the CiscoIPPhoneImage because PNG is a standard, whereas with CIP you either write your own library, or you create a GIF in your code then use Cisco's code to convert that to a CIP file.
    For your reference, here's the latest IP Phone services developer guide: http://www.cisco.com/en/US/docs/voice_ip_comm/cuipph/all_models/xsi/6_0/english/programming/guide/XSIbook.html. It contains detailed information about every CiscoIPPhone element, including samples.
    Creating a PNG file pro grammatically is a bit out of scope of this forum.. you need to figure that one out on your own but there are tons of other boards on the web that deal with that kind stuff. Once you have the PNG, creating the appropriate CiscoIPPhoneImageFile object will be a piece of cake. Once you have your PNG generation in order and still have trouble getting the object to the phone, it would be appropriate to continue here.

  • SAP Script - How to write data in a table format.

    Hi All,
    In my requirement, I need to show item data in a table format ( In a box, with horizental & veritcal lines.
    can somebody pl give me a small code to do this.
    Regards,
    Hardik

    Hi
    SCRIPT BOXES
    POSITION WINDOW
    SIZE WIDTH '160' MM HEIGHT '140' MM
    BOX FRAME 10 TW
    Box
    BOX HEIGHT '11' MM WIDTH '160' MM FRAME 10 TW INTENSITY 35
    linessssssss
    BOX XPOS '20' MM WIDTH 0 TW HEIGHT '140' MM FRAME 10 TW
    BOX XPOS '45' MM WIDTH 0 TW HEIGHT '140' MM FRAME 10 TW
    BOX XPOS '80' MM WIDTH 0 TW HEIGHT '140' MM FRAME 10 TW
    BOX XPOS '120' MM WIDTH 0 TW HEIGHT '140' MM FRAME 10 TW
    Boxes, Lines, Shading: BOX, POSITION, SIZE
    Use the BOX, POSITION, and SIZE commands for drawing boxes, lines, and shading to print particular windows within a form or passages of text within a window in a frame or with shading.
    The SAP printer drivers that are based on page-oriented printers (the HP LaserJet driver HPL2, the Postscript driver POST, the Kyocera Prescribe driver PRES) employ these commands when printing. Line printers and page-oriented printers not supported in the standard ignore these commands. You can view the resulting printer output in the SAPscript print preview.
    Syntax:
    /: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
    /: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]
    /: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]
    BOX Command
    Syntax
    /: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
    Effect: draws a box of the specified size at the specified position.
    Parameters: For each of XPOS, YPOS, WIDTH, HEIGHT, and FRAME, you must specify both a measurement and a unit of measurement. Specify the INTENSITY parameter as a percentage between 0 and 100.
    XPOS, YPOS
    Upper left corner of the box, relative to the values of the POSITION command.
    Default: Values specified in the POSITION command.
    The following calculation is performed internally to determine the absolute output position of a box on the page:
    X(abs) = XORIGIN + XPOS
    Y(abs) = YORIGIN + YPOS
    WIDTH
    Width of the box. Default: WIDTH value of the SIZE command.
    HEIGHT
    Height of the box. Default: HEIGHT value of the SIZE command.
    FRAME
    Thickness of frame.
    Default: 0 (no frame).
    INTENSITY
    Grayscale of box contents as %.
    Default: 100 (full black)
    Measurements: You must specify decimal numbers as literal values (like ABAP numeric constants) by enclosing them in inverted commas. Use the period as the decimal point character. See also the examples listed below.
    Units of measurement: The following units of measurement may be used:
    TW (twip)
    PT (point)
    IN (inch)
    MM (millimeter)
    CM (centimeter)
    LN (line)
    CH (character).
    The following conversion factors apply:
    1 TW = 1/20 PT
    1 PT = 1/72 IN
    1 IN = 2.54 CM
    1 CM = 10 MM
    1 CH = height of a character relative to the CPI specification in the form header
    1 LN = height of a line relative to the LPI specification in the form header
    /: BOX FRAME 10 TW
    Draws a frame around the current window with a frame thickness of 10 TW (= 0.5 PT).
    /: BOX INTENSITY 10
    Fills the window background with shading having a gray scale of 10 %.
    /: BOX HEIGHT 0 TW FRAME 10 TW
    Draws a horizontal line across the complete top edge of the window.
    /: BOX WIDTH 0 TW FRAME 10 TW
    Draws a vertical line along the complete height of the left hand edge of the window.
    /: BOX WIDTH '17.5' CM HEIGHT 1 CM FRAME 10 TW INTENSITY 15
    /: BOX WIDTH '17.5' CM HEIGHT '13.5' CM FRAME 10 TW
    /: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
    /: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
    Draws two rectangles and two lines to construct a table of three columns with a highlighted heading section.
    POSITION Command
    Syntax
    /: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]
    Effect: Sets the origin for the coordinate system used by the XPOS and YPOS parameters of the BOX command. When a window is first started, the POSITION value is set to refer to the upper left corner of the window (default setting).
    Parameters: If a parameter value does not have a leading sign, then its value is interpreted as an absolute value, in other words, as a value that specifies an offset from the upper left corner of the output page. If a parameter value is specified with a leading sign, then the new value of the parameter is calculated relative to the old value. If one of the parameter specifications is missing, then no change is made to this parameter.
    XORIGIN, YORIGIN
    Origin of the coordinate system.
    WINDOW
    Sets the values for the left and upper edges to match those of the current window (default setting).
    PAGE
    Sets the values for the left and upper edges to match those of the current output page (XORIGIN = 0 cm, YORIGIN = 0 cm).
    /: POSITION WINDOW
    Sets the origin for the coordinate system to the upper left corner of the window.
    /: POSITION XORIGIN 2 CM YORIGIN '2.5 CM'
    Sets the origin for the coordinate system to a point 2 cm from the left edge and 2.5 cm from the upper edge of the output page.
    /: POSITION XORIGIN '-1.5' CM YORIGIN -1 CM
    Shifts the origin for the coordinates 1.5 cm to the left and 1 cm up.
    SIZE Command
    Syntax
    /: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]
    Effect: Sets the values of the WIDTH and HEIGHT parameters used in the BOX command. When a window is first started, the SIZE value is set to the same values as the window itself (default setting).
    Parameters: If one of the parameter specifications is missing, then no change is made to the current value of this parameter. If a parameter value does not have a leading sign, then its value is interpreted as an absolute value. If a parameter value is specified with a leading sign, then the new value of the parameter is calculated relative to the old value.
    WIDTH, HEIGHT
    Dimensions of the rectangle or line.
    WINDOW
    Sets the values for the width and height to the values of the current window (default setting).
    PAGE
    Sets the values for the width and height to the values of the current output page.
    /: SIZE WINDOW
    Sets WIDTH and HEIGHT to the current window dimensions.
    /: SIZE WIDTH '3.5' CM HEIGHT '7.6' CM
    Sets WIDTH to 3.5 cm and HEIGHT to 7.6 cm.
    /: POSITION WINDOW
    /: POSITION XORIGIN -20 TW YORIGIN -20 TW
    /: SIZE WIDTH +40 TW HEIGHT +40 TW
    /: BOX FRAME 10 TW
    A frame is added to the current window. The edges of the frame extend beyond the edges of the window itself, so as to avoid obscuring the leading and trailing text characters.
    <REMOVED BY MODERATOR>
    Regards
    Anji
    Edited by: Alvaro Tejada Galindo on Jul 8, 2008 10:59 AM

  • Extenal table stores data in different format

    I used the following statement I found at
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96652/ch12.htm
    exaclty.
    CREATE TABLE emp_load (first_name CHAR(15), last_name CHAR(20), year_of_birth CHAR(4))
    ORGANIZATION EXTERNAL (TYPE ORACLE_LOADER DEFAULT DIRECTORY ext_tab_dir
    ACCESS PARAMETERS (RECORDS FIXED 20 FIELDS (first_name CHAR(7),
    last_name CHAR(8),
    year_of_birth CHAR(4)))
    LOCATION ('foo.dat'));
    Alvin Tolliver1976
    KennethBaer 1963
    Mary Dube 1973
    And when I select from table I get three rows, but the format is all wrong.
    SQL> select * from emp_load;
    FIRST_NAME LAST_NAME YEAR
    Alvin Tolliver 1976
    hBaer 196
    Kennet
    Dube 197
    Mary
    Can anybody please tell me what's going on here??

    $ cat foo.dat
    Alvin Tolliver 1976
    Kenneth Baer 1963
    Mary Dube 1973
    $ sqlplus scott/tiger
    SQL*Plus: Release 9.2.0.4.0 - Production on Wed Jan 25 11:35:16 2006
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
    SQL> CREATE TABLE emp_load (first_name CHAR(15), last_name CHAR(20), year_of_birth CHAR(4))
      2  ORGANIZATION EXTERNAL (TYPE ORACLE_LOADER DEFAULT DIRECTORY ext_tab_dir
      3  ACCESS PARAMETERS
      4  (records delimited by newline
      5  FIELDS terminated by ' '
      6  )
      7* LOCATION ('foo.dat'))
    SQL> /
    Table created.
    SQL> select * from emp_load;
    FIRST_NAME      LAST_NAME            YEAR
    Alvin           Tolliver             1976
    Kenneth         Baer                 1963
    Mary            Dube                 1973
    SQL>                                                                                            

  • Export Data of Tables in Oracle to format DBF

    People,
    I need your help! I have a question...How I do for to export the a table (data) Oracle to format table in DBF using PL/SQL?
    Please, I am waiting an answer...
    Thanks a lot
    Tavares, Marcelo

    I would probably export to a simple text file (ASCII-delimited or fixed-length fields), then import to Excel and save as Dbase format.
    But the following link provides a way to do it directly in PL/SQL:
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:711825134415

  • Question about exporting FBL3N data in Pivot table format

    Dear all
    I have a question about the "exporting file" function of ECC 6.0.
    We started to use ECC 6.0 system, and it appears that we are no longer able to export "FBL3N data" to a local PC in pivot table format.
    Is there a way to do it?
    We used to be able to do so when the system is 4.6.
    I appreciate your support!
    Kind regards

    Dear:
                 You can do that. Execute report FBL3N with desired GL account in it. After when report has been executed right click on it. There will be an option Spread Sheet. Select all available format. In drill down select 08 (Excel in existing XXL format) and press OK. There you will get pivot table option for downloading., Hope this will help you resolve your query.
    Regards

  • Download internal table data in excel format

    Hi ,
      i have a requirement where i need to download the internal table data in excel format .. I tried using the FM SAP_CONVERT_TO_XLS_FORMAT  but this downloads to excel sheet  same as .txt file foemat without columns ...   i need to have the data in excel sheet with column heading and separated by each coulmn which should be similar as a general sheet with column names and the respective data in the columns . Appreciate any inputs .
    Thanks,
    Latha.

    Hi,
    you can this in Debugging mode,
    say,once you got entire data into ITAB
    salect the TABLE option and provide the table name
    now on the top most you can see excel icon,you click
    on that,now system will prompts you for to the file to be saved.
    Regards,
    Vijaya.

  • How can I create a matrix question? Specifically, I need a question in table format that allows each respondent to list a number of events and then data for each event (date, location, number of participants, topics covered, etc.

    How can I create a matrix question? Specifically, I need a question in table format that allows each respondent to list a number of events and then data for each event (date, location, number of participants, topics covered, etc.

    Hi,
    Sorry, we do not support a matrix-question field.   Please try the multilines text field (where your participant can enter multiple lines in the input text box) and see if it works for you.
    Thanks,
    Lucia

  • Extract the table formated data using itextsharp in c#

    I have one pdf file in which i need to extract table formated data in a specific format by each filed.I tried by using itextsharp but data comes in unspecified format. Can any one help me on this.This is very useful for me.
    please find attchement for pdf and their fields
    Field Name(as per RRC Records or wildcat): Block A-34(SAN ANDRES)
    LEASE NAME: SIGHT FOR SORE EYES
    OPERATOR'S NAME: RING ENERGY, INC.
    API No:42-003-39809
    like wise all fileds.

    Hello Manideep Lakkakula,
    As ITextSharp is a library from here
    http://sourceforge.net/projects/itextsharp/ and also PDF is third party product, I'm afraid you have to post on specific forum about ITextSharp library instead of here. C# is just a language forum.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to convert internal table data to PDF format

    HI,
         I have an internal table data having one field with 255 chars. length.I want to send that intenal table data as attachemnt with external mail. i am thinking of converting that data into PDF format and use the FM to send the mail. How to convert internal table data to PDF format.
    Kishore

    In which format is your data in the internal table currently. Is it returned by a smartform/script or its just data fetched from some database table into an internal table. Since its obvious that the data should appear in the PDF with some Layout, you should be using smartform to format the data properly. See the Link
    Smartform to PDF to EMAIL
    This shows convertion of smartform to pdf and send it through email
    Regards,
    Abhishek

  • Arranging Random Data Pieces From SLX/Smart Catalogue Into Table Format

    Hi,
    We have a performance data grid that needs to appear on our quotation report.  The data is organized currently into rows in a 2-table linked format and manually entered as plain txt by the user.  We are now migrating towards designing a report in Crystal Reports to try to recreate this table layout but still needing to mine data for other purposes.  Therefore, the data pieces need to be distinct and separate.  Further, the data pieces required for the table can vary and can be organized in up to 9 different ways depending upon the given situation.  Is there an effective way to aesthetically arrange random data pieces in a table format?  The data pieces are coming from SalesLogix / SmartCatalog.  Has any other user of Crystal Reports attempted to do this - i.e. create a data table on a Crystal report?
    Sincerely,
    Sarah Imig
    International Sales Administrator/Database Administrator
    HayssenSandiacre

    Hi,
    We have a performance data grid that needs to appear on our quotation report.  The data is organized currently into rows in a 2-table linked format and manually entered as plain txt by the user.  We are now migrating towards designing a report in Crystal Reports to try to recreate this table layout but still needing to mine data for other purposes.  Therefore, the data pieces need to be distinct and separate.  Further, the data pieces required for the table can vary and can be organized in up to 9 different ways depending upon the given situation.  Is there an effective way to aesthetically arrange random data pieces in a table format?  The data pieces are coming from SalesLogix / SmartCatalog.  Has any other user of Crystal Reports attempted to do this - i.e. create a data table on a Crystal report?
    Sincerely,
    Sarah Imig
    International Sales Administrator/Database Administrator
    HayssenSandiacre

  • How to convert internal table data into excel format?

    Hi all,
    I want to convert internal table data in excel format and then
    send it as email attachment in workflow.
    Please tell me how do i perform this.
    Regards,
    Arpita.

    Hi Arpita,
    Try this sample code::
    Send mail
    maildata-obj_name = 'TEST'.
    maildata-obj_descr = 'Test Subject'.
    loop at htmllines.
    mailtxt = htmllines.
    append mailtxt.
    endloop.
    mailrec-receiver = 'your receiver mail id'.
    mailrec-rec_type = 'U'.
    append mailrec.
    call function 'SO_NEW_DOCUMENT_SEND_API1'
    exporting
    document_data = maildata
    document_type = 'EXL'
    put_in_outbox = 'X'
    tables
    object_header = mailtxt
    object_content = mailtxt
    receivers = mailrec
    exceptions
    too_many_receivers = 1
    document_not_sent = 2
    document_type_not_exist = 3
    operation_no_authorization = 4
    parameter_error = 5
    x_error = 6
    enqueue_error = 7
    others = 8.
    if sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    Hope it will help you.
    Regards,
    NIkita

Maybe you are looking for

  • HTML Vs PDF output

    Hi, I have created a report which is running on web. The PDF output looks fine to me as seen during design time but the HTML output is totally weared. The text is not formatted properly etc... Is there any way i can design a report which will look sa

  • How to create an holap cube??

    hi all... i want to create an holap cube... how do i start with???

  • ORACLE LITE IMPORT DATA FROM ORACLE8.0.5

    Is possible migrate data from .DMP file directly ? Thanks for new null

  • PO approve

    HI:       Is it possible that we create a PO in SRM then transfer it to R/3 and appprove it in R/3 system with the standard release strategy?

  • Unable to load required component 'Unicows.dll'

    英語版 Windows/Adobe Acrobat Reader を使用している外国人社員と PDF 文書を交換したく.日本語版 Windows XP Professional SP1a/Microsoft Word 2003/Adobe Acrobat 7.0 for Windows を用いて PDFMaker 経由で作成した PDF ファイルを上述英語環境(Acrobat Reader 6.0/7.0)で開くと "Unable to load required component 'Unic