Matrix Layout in Forms

I want to represent the query results just as the report editor would in a matrix style.
How do I do it? I don't want to use the spread table facility.
tks
null

Hey, sorry I posted the above message halfway-through by mistake.
My layout is like this (it appears as follows):
I want all the textviews (vertically) to be aligned.
RootUIElementContainer
       Group1
          Label1                              Textview1
          Label2                              Textview2
          Label3                              Textview3
          Label4                              Image1
      Group2
          Label5             Textview4
          Label6             Textview5
          Label7             Textview6
      Group3
          Label8             Textview7
          Label9             Textview8
          Label10           Textview9
      Group4
          Label11                             Textview10
          Table with 2 columns
      Button
Here Textviews 1,2,3 get aligned (Vertically) properly and so do 4,5,6 & 7,8,9
But Textview 1,2,3 are not aligned (Vertically) properly with 4,5,6 or with 7,8,9.
Thanks and regards,
Mayuresh
Edited by: Mayuresh Kanvinde on Jan 22, 2009 2:59 PM

Similar Messages

  • Tab layout in Forms 4.5

    Is it possible to have tab pages in layout of Forms 4.5 ?

    You can simulate it with stacked canvases and button at the top of them, but there is no native tab those were introduced in 5.0.
    Isn't it time to upgrade??

  • Displaying a matrix on a Forms 6 form

    Guys:
    I'm trying to figure out a way to display
    a matrix on a form with three fields
    2 text items and 1 check box eg.
    Dept
    ====
    Emp Finance Projects Transport ...
    ===
    John X
    Tom X
    Sam X
    Pete X X
    Any ideas???
    Thanks!
    Abhay

    Hi
    I had similar problem. May be my dicision will be helpfull for you.
    There are table (for simplicity) sheet(emp, day, job) with the primary key(emp, day). It's needed matrix with X axis as 'emp', Y axis as 'day' (for a one month) and 'job' as the cell.
    I created block SHEET_BLOCK with the items: EMP, DAY_01, DAY_02, ..., DAY_31. 'Query Data Souce Name' is:
    SELECT emp FROM sheet;
    EMP is the 'Database Item', but another (DAY_??) aren't 'Database Item'.
    Cteated POST_QUERY trigger for populating fields DAY_??:
    DECLARE
    v_dest_item VARCHAR2(80);
    v_rec_num NUMBER;
    CURSOR c_emp_day_job IS
    SELECT day, job
    FROM sheet
    WHERE emp = :SHEET_BLOCK.EMP
    BEGIN
    IF :System.Mode != 'QUERY' THEN
    RETURN;
    END IF;
    FOR v_emp_day_job IN c_emp_day_job LOOP
    v_dest_item := ':SHEET_BLOCK.DAY_' | | v_emp_day_job.day;
    COPY( v_emp_day_job.job, v_dest_item );
    END LOOP;
    END;
    Andrew.

  • Layout of Form 16A

    Hi Friends,
    Can anyone give me the layout of Form 16A ( SAP SCRIPT ) to provided in PC00_M40_F16
    Regards,
    Mithun

    Hi
      go to the standard  transaction code J1INCERT
    which is the standard print out of form16A
    or
    execute the prog name  for form 16A J_1IEWT_CERT.
    layout set  is P_LAYOUT  which is a script hence find it out in SE71 tcode.

  • Matrix Output in forms

    Hi All,
    Is is possible to display the matrix output in forms, if is possible please guide me how?
    Regards,
    YKING

    HI
    Create table Matr(
    RL_Name Varchar2(20),
    Ob_Name Varchar2(15),
    Ob_Ver Varchar2(15),
    R_Num Number )
    Values are
    Insert Into Matr Values ('ABC', 'X','C1234',1111);
    Insert Into Matr Values ('ABC', 'Y','C1235',2222);
    Insert Into Matr Values ('ABC', 'Z','C1234',3333);
    Insert Into Matr Values ('ABC', 'P','C1231',7777);
    Insert Into Matr Values ('DEF', 'X','C3698',4444);
    Insert Into Matr Values ('DEF', 'Y','C7895',5555);
    Insert Into Matr Values ('DEF', 'Z','C4563',6666);
    Insert Into Matr Values ('DEF', 'Q','C1238',9999);
    Required output:
    RL_Name 'ABC' | 'DEF'
    -------------------------------------------------------------- |--------------------------------------------
    Ob_Name Ob_Ver | R_Num | Ob_Ver | R_Num
    ------------------------------------------------------------- |---------------------------------------------
    X C1234 1111 | C3698 4444
    Y C1235 2222 | C7895 5555
    Z C1234 3333 | C4563 6666
    P C1231 7777 |
    Q C1238 9999
    Regards
    YKING

  • New Form Layout for form 16A India

    Dear
    Whether any one has already implemented SAP Note 1476590 New Form Layout for Form 16A and Form 24D.  Pleae opine
    Regds

    Hi All,
    I have a question. We are analysing the implementation requirement of Note 1486147 ( New Form Layout for 16A however stucked with a new message which required to be maintained in CLass J1IN. We do not have this class available in SAP and not sure if there is another OSS note for that or this will be maintained in Service Pack. I am new to this Client and what I can confirm that since last many month , Finance service packs have not been applied here.
    Please help. Also if somebody has worked on this, can give me the contact numbers, it would be great.
    Thanks
    Ravikant

  • Matrix layout and spreadsheet output 10g r2 reports

    I'm currently developing a couple reports in 10g r2 and using the spreadsheet desformat. It works rather nicely but when I try it on a matrix layout it moves the matrix column(s) over the first cell of the spreadsheet instead of over the matrix cell. Is there a way to correct this issue or a property that I have to set?

    Hi,
    I've recently installed 10gR2 and am interested in using the DESFORMAT=spreadsheet for some existing reports. I've generated the report successfully, however the output in Microsoft Excel look awful - a lot of empty cells. When generated as 'pdf', 'htm' it looks good in the browser.
    Did you do anything speciaI to maintain the format? Were you reports generated from scratch? Is there any reference docs avail (the online-help is pretty vague)...
    I'd appreciate any info that would help get this working (for existing reports).

  • Matrix Layout Width Percentage

    Dear Experts,
    I have a requirement.
    I need to create 4 Transparent Containers:-
    - TCO_MAIN (Matrix Header)
    - - TCO_RIGHT (Matrix Header)
    - - TCO_MIDDLE (Matrix Data)
    - - TCO_LEFT (Matrix Data)
    TCO_RIGHT, TCO_MIDDLE, and TCO_LEFT are in the TCO_MAIN.
    What propeties should i set in order to have these:-
    - TCO_RIGHT to occupy 20% of the TCO_MAIN width,
    - TCO_MIDDLE to occupy 20% of the TCO_MAIN width, and
    - TCO_LEFT to occupy 60% of the TCO_MAIN width.
    Thanks.
    Tee

    Hi Tee,
    Try this config:
    Layout of all the transparent containers should be Matrix Layout.
    TCO_MAIN width 100% Strecthed Horizon
    TCO_LEFT width 20%, Go to layout data property and give width as 20%
    TCO_MIDDLE width 20%, Go to layout data property and give width as 20%
    TCO_RIGHT width 60%. Go to layout data property and give width as 60%
    I hope it works.
    Regards
    Arjun

  • Matrix layout in IC WebClient

    We would like to use the newer and much easier matrix layout in our customised views of the ICWC but this requires DESIGN2003. The IC WebClient is built on DESIGN2002 and this dependency seems deeply imbedded inside the standard IC WebClient application. Simply changing the profile_depend.htm, default.htm, main0.htm and other files to use DESIGN2003 didn't work and results in BSP errors.
    Is this feasible and what is involved?
    Thanks

    Yes, after looking into it more I came up with the same impression. The IC WebClient seems tightly dependent on the DESIGN2002 rendering engine and there doesn't seem to be an upgrade path short of a rewrite of the ICWC in WebDynpro.

  • Problem with AddRow() in custom matrix on System Form

    Hello all,
    I'm trying to add 1 row to a custom matrix on a system form (Sales Quotation).
    However I always get a RPC_E_SERVERFAULT exception when calling pMatrix.AddRow() and SBO crashes...
    My code is simple:
            [B1Listener(BoEventTypes.et_CLICK, false)]
            public virtual void OnAfterClick(ItemEvent pVal)
                Form pForm = B1Connections.theAppl.Forms.Item(pVal.FormUID);
                // Add matrix line
                Matrix pMatrix = (Matrix) pForm.Items.Item("MATRIX").Specific;
                pMatrix.AddRow();
                // Set matrix line data
    The matrix shows ok in the system form, inside a new folder.
    What is the problem with my code?
    Is there any way to add rows to a custom matrix in a system form?
    This code runs ok if executed in a custom form...
    Thanks!
    Manuel Dias

    hi.
    R u facing any problem ...
    actually add row and del row both are same.
    in normal customization form and system form matrx...
    Any problem are u facing...

  • SSRS 2008 R2 matrix layout issue

    Hi, I am working on a report where I have to report total number of tickets resolved per Resource in a week and I get the total number of tickets from a different table and issues resolved from another and most of the aggregation I do it in my dataset and
    display it as a matrix report.
    The problem I am running into is for instance my layout looks something like below. My data will be I will have 4 records for 2014 week-2 and for each resource will have a Total of 57 tickets and the same for week-3 and when I do the total for Atlanta the
    total I get is 57 * 4 + 39 * 4 instead of staright 57 + 39. Please guide me fix this.
    Region  Year Week Total Resource1 Resource2 Resource3 Resource4
    Atlanta  2014 2      57    16             7               8             12
                        3       39     8             9             
    13              1
    Thanks in advance..............
    Ione

    What is the formula in the total column?
    The layout looks like a matrix, is it?
    How did you add the total column to the matrix/table?
    What fields are returned by the 2 datasets?
    The *4 issue seems to indicate that the dataset that returns total has multiple rows (1 per resource) that includes the same total value for each region/year/week and that the formula in the total cell is summing the values of the dataset rows. If this is
    the case then the issue may be cleared up by simply eliminating the multiple rows in that dataset. That may mean removing the resource field from that dataset's select list or adding the DISTINCT keyword to the select (assuming it is TSQL).
    "You will find a fortune, though it will not be the one you seek." -
    Blind Seer, O Brother Where Art Thou
    Please Mark posts as answers or helpful so that others may find the fortune they seek.

  • Matrix x System Form x UDO

    Hey all,
    I´m asking for some help to deal with the following:
    I want to show a new Matrix in a System Form.  The data is from a UDO (line data - detail).
    How should i do that ?  Can i use UDO methods ? Anyone can help me ?

    Hi Christiano,
    If you are modifying a System Form then you cannot use the UDO methods to save everything automatically. How you will add your matrix to the system form? Are you adding a new folder?
    If you want to use the UDO methods then you need to create a separate form linked to your UDO. In this case you can add a button to the system form opening your form.
    Hope it helps
    Trinidad.

  • How to add new columns in predefined matrix  in system form

    Hi all,
    I am new to SAP B1. I am going to add New column to Good Receipt PO matrix. I faced the one error " Matrix Line Exists " While adding new column to good receipt PO matrix".
    =========================================================
    Private Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.ItemEvent
                 oMat = oForm.Items.Item("38").Specific
                   oCols = oMat.Columns
                    oCol = oCols.Item("U_MyCol")
            If pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_LOAD And pVal.BeforeAction = True And pVal.FormType = "143" Then
                Try
                    oForm = SBO_Application.Forms.Item(pVal.FormUID)
                    oMat = oForm.Items.Item("38").Specific
                    oCols = oMat.Columns
                    'oCol = oCols.Item("U_MyCol1")
       oCol = oCols.Add("U_MyCol1", SAPbouiCOM.BoFormItemTypes.it_EDIT)
                    oCol.TitleObject.Caption = "Qty Accepted"
                    oCol.Width = 40
                    oCol.Editable = True
                    oCol = oCols.Item("U_MyCol1")
                Catch ex As Exception
                    SBO_Application.MessageBox(ex.Message)
                End Try
            End If
    oDBDataSource = oForm.DataSources.DBDataSources.Add("PDN1")
            ''oEdit.DataBind.SetBound(True, "PDN1", "U_QtyAccepted")
    ============================================================
    And i also added for Datasource to Databind. what there is no result ??i wanted Clear information regarding this to add new columns in matrix in  middle of Matrix items. I wanted Clear coding& information for this to add new Columns in Matrix ?help me regarding this asap??
    Regards
    ANAND

    Anand,
    If you use the "search" feature of this forum and type "add column", you will find many posts that may help you such as this one ...
    How to add a column on sales order matrix?
    HTH,
    Eddy

  • Change layout Update form from QBE report

    Is it possible to change the layout from the form that appears when i click on the update link from a QBE report? If yes: where?
    T.I.A.

    I don't think that is possible. You can try creating custom reports and forms and try linking them together using the link component to get the same effect.

  • Delete row matrix in UDO Form

    Hi All,
    I've created a simple form based on an registered UDO (2 tables: Document and Document Lines).
    This form contains a matrix bounded to the lines of my UDO document.
    Everything works fine except the Delete button that should delete a document line in the matrix: it never
    deletes the lines from database, although it deletes them from the form. But if I select again the same
    record, the deleted line is show again!
    My code is very simple:
    void btRemove_ClickEvent()
         // Remove selected row from Matrix
         SAPbouiCOM.Matrix oMatrix = (SAPbouiCOM.Matrix) oForm.Items.Item("mxMatrix").Specific;
         int iPos = oMatrix.GetNextSelectedRow( 0, SAPbouiCOM.BoOrderType.ot_RowOrder );
         if( iPos > -1 )
              oMatrix.DeleteRow( iPos );
              oMatrix.FlushToDataSource();
              oForm.Update();
    What is the problem with my code? Is it missing something?
    Regards,
    Manuel Dias

    Thanks Gianluigi,
    By the way, I want to delete the Matrix line with DI API has you suggest, so I was thinking in using this code:
         SAPbobsCOM.UserTables pUT = Main.oSBOCompany.UserTables;
         SAPbobsCOM.UserTable dt = pUT.Item("@PDWC_LINE");
         bool xx = dt.GetByKey( sKey );
         int res = dt.Remove();
    The problem is that UserTable object, has a GetByKey() method that works only for user tables whose PK
    contains only one column (GetByKey requires only a single value).
    Since my table is created in SBO with the UDO Document Lines template, the PK is composed automatically
    by Code and LineId columns, so the GetByKey() method does not allow me to select a specific record in
    order to delete it next.
    Do you know any workaround for this? Of course I could user the Recordsed object and write SQL to
    delete my table line, but I think it must be an esay way to do this....
    Regards,
    Manuel Dias

Maybe you are looking for