Change Matrix column backcolor in standard form

Hi, all
Is it possible to change the Matrix column backcolor in standard form?
thanks.

hi,
yes it is possible.
oMatrix.Columns.Item("1").BackColor = 16316664 'color codes
regards,
varma

Similar Messages

  • Changing Matrix column title?

    Hi all,
    Is it possible to change a matrix column title using the ColumnTitle.Caption property? I have tried using the following code but it does not work:
    'Sales order form - Add mode.
    If pVal.FormType = 139 And pVal.FormMode = 3 Then
    'After form loads
    If pVal.EventType = et_FORM_LOAD And pVal.Before_Action = False Then
    'SO form.
    Set oForm = oApp.Forms.Item(FormUID)
    Set oItem = oForm.Items.Item("38")
    Set oMatrix = oItem.Specific
    Set oColumn = oMatrix.Columns.Item("1")
    oColumn.TitleObject.Caption = "Item Code"
    End If
    End If
    Thank you.
    Andrew.

    Hi John,
    Thanks for the reply. Your questions/suggestions led me on a path to finding the problem and a solution.
    I tried the same block of code in another company db and it changed the column title fine. The reason it wouldn't work in the current company db I'm working on was because I had previously changed the column title to 'Item No.' (using ctrl & double-click). So the SDK was changing the Original Description but the new desc. of 'Item No.' remained unchanged. As soon as I deleted the new desc. the SDK worked fine.
    Thanks for your help.
    Regards,
    Andrew.

  • How to work with standard forms

    hi all,
          when i execute the print programs for standard forms , it is not giving output?
          i hv modified form MEDRUCK (ex: uploaded LOGO)
    can i create a new program or modify a standard program for the form.

    Hi Praveen,
    If u want to change the layout of the standard form, copy the form and modify the layout. Depending on the layout, if there are any subsequent changes to be made in the print program. Then modify the copied program. We can assign this new program to the copied form using NACE.
    Secondly, we cant execute a print program. In case u want to test the layout/program for MEDRUCK, go to ME23n and check the print preview from there.
    Reward points if helpful....

  • Move Matrix column through UI API

    Hi,
    Does anyone know how to move a column in Matrix to left or right though UI API, not from form settings.
    Thanks,
    David

    Hi David,
    Unfortunately, I don't think there is an easy way to move a matrix column other than using form settings (ie FormPreferencesService in the DI API). If it is your own user-defined form then I guess you could update the form's XML before you load it in to the UI API but that's only going to work if the form is not already open.
    Kind Regards,
    Owen

  • Changes in standard form

    Hello,
    I have a standard transaction MI21 for physical inventory.
    I need to change the standard form and attached back to this transaction.My first query is how to find the form name in standard program? program name is RM07IDRU.
    Can i copy the original form in zform and make a changes and attach it back to standard program.
    How to do this?
    Please let me know as its an urgent.
    Waiting for positive reply.
    Thanks
    Suchita

    Forms are  INVENT  and INVENT_VKBW you can use either of these accrding to your requirement.
    But if you copy it to Z form then you will be needed to copy the program and then change form names in OPEN_FORM.
    Reward points if useful.
    Regards,
    Nageswar

  • In the smartform how to change the company adress in the standard form

    Dear experts,
    In the smartform how to change the company adress in the standard form.
    Regards,
    Balakrishna R.V

    Hi,
    Go through this link below:
    change in SAP Standard Address
    Hope it helps
    Regards
    Mansi

  • Regarding Changes in Standard forms

    Can anyone say what we usually change in the standard scripts?That is In MEDRUCK ,RVDELNOTE,RVINVOICE.In what case we will change these forms ? And what we change in these standard forms?Can anyone say it in detail?

    Hello on the projects you usually has to change the layout and add the data retrieval into the SF, generally I do not know the client that accepts fully the standard SAP forms. So usually it's your developer task to adjust forms to the client needs. (you just copy it to Z-names or /name_space/-names.
    Regards B.

  • Custom form changes the color of all Application Standard forms

    Hello,
    First of all, I wish you a very happy new year to one and all of you.
    I developed a customer form and deployed in Oracle Applications 11i and it is working fine as per our expectation.
    After completion of my work with the custom form and if I try to open any of the standard form, the form is in dark color which is unusual.
    I truly appreciate if anyone can post the solution for this. Thank you.
    Lakshmi N. Anumula

    Please check this Profile options "Java Color Schema" and change it should work on your application forms. I am not very sure of Custom Forms but technically if your Oracle Forms get affected by this then your Custom Forms should also get affected

  • Change Standard form in SDK

    Hi all,
    I want to change standard form in B1. So how to do it?
    Please send links for samples or study material.
    Thanks in advance

    Hello,
    U can write ur codes in Form load event of that particular form.
    1.U can add additional items
    2.U can make invisible existing items
    Try
                If pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_LOAD And pVal.Before_Action = False And pVal.FormType = 672 Then
                    sboForm = SBO_Application.Forms.Item(FormUID)
                    Dim sboItem2 As SAPbouiCOM.Item
                    Dim sboItem3 As SAPbouiCOM.Item
                    sboForm.DataSources.DBDataSources.Add("OITT")
                    sboItem = sboForm.Items.Add("slsText", SAPbouiCOM.BoFormItemTypes.it_EDIT)
                    sboItem2 = sboForm.Items.Item("10000037")
                    sboItem.Width = "121"
                    sboItem.Left = sboItem2.RightJustified + 171
                    sboItem.Top = sboItem2.Top
                    sboET = sboItem.Specific
                    sboForm.DataSources.UserDataSources.Add("UDCFL", SAPbouiCOM.BoDataType.dt_SHORT_TEXT)
                    Try
                        Dim oCFLs As SAPbouiCOM.ChooseFromListCollection
                        Dim oCons As SAPbouiCOM.Conditions
                        Dim oCon As SAPbouiCOM.Condition
                        oCFLs = sboForm.ChooseFromLists
                        Dim oCFL As SAPbouiCOM.ChooseFromList
                        Dim oCFLCreationParams As SAPbouiCOM.ChooseFromListCreationParams
                        oCFLCreationParams = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_ChooseFromListCreationParams)
                        oCFLCreationParams.MultiSelection = False
                        oCFLCreationParams.ObjectType = "2"
                        oCFLCreationParams.UniqueID = "CFL1"
                        oCFL = oCFLs.Add(oCFLCreationParams)
                        oCons = oCFL.GetConditions()
                        oCon = oCons.Add()
                        oCon.Alias = "CardType"
                        oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
                        oCon.CondVal = "C"
                        oCFL.SetConditions(oCons)
                    Catch ex As Exception
                        MessageBox.Show(ex.Message)
                    End Try
                    'sboET.DataBind.SetBound(True, "", "UDCFL")
                    sboET.DataBind.SetBound(True, "OITT", "U_CUSTID")
                    sboET.ChooseFromListUID = "CFL1"
                    'sboET.ChooseFromListAlias = "U_Cust"
                    sboItem = sboForm.Items.Add("slsText1", SAPbouiCOM.BoFormItemTypes.it_EDIT)
                    sboItem2 = sboForm.Items.Item("5")
                    sboItem.Width = "120"
                    sboItem.Left = sboItem2.Left + sboItem2.Left + 191
                    sboItem.Top = sboItem2.Top
                    sboET = sboItem.Specific
                    sboForm.DataSources.UserDataSources.Add("UDCFL1", SAPbouiCOM.BoDataType.dt_SHORT_TEXT)
                    Try
                        Dim oCFLs As SAPbouiCOM.ChooseFromListCollection
                        Dim oCons As SAPbouiCOM.Conditions
                        Dim oCon As SAPbouiCOM.Condition
                        oCFLs = sboForm.ChooseFromLists
                        Dim oCFL As SAPbouiCOM.ChooseFromList
                        Dim oCFLCreationParams As SAPbouiCOM.ChooseFromListCreationParams
                        oCFLCreationParams = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_ChooseFromListCreationParams)
                        oCFLCreationParams.MultiSelection = False
                        oCFLCreationParams.ObjectType = "17"
                        oCFLCreationParams.UniqueID = "CFL2"
                        oCFL = oCFLs.Add(oCFLCreationParams)
                        '' Adding Conditions to CFL1
                        'oCons = oCFL.GetConditions()
                        'oCon = oCons.Add()
                        'oCon.Alias = "CardType"
                        'oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
                        'oCon.CondVal = "C"
                        'oCFL.SetConditions(oCons)
                    Catch ex As Exception
                        MessageBox.Show(ex.Message)
                    End Try
                    sboET.DataBind.SetBound(True, "", "UDCFL1")
                    sboET.DataBind.SetBound(True, "OITT", "U_SALOR")
                    sboET.ChooseFromListUID = "CFL2"
                    'sboET.DataBind.SetBound(True, "OITT", "U_Order")
                    'sboET.ChooseFromListAlias = "U_Order"
                    sboItem = sboForm.Items.Item("10000032")
                    sboItem2 = sboForm.Items.Item("1")
                    sboItem.Left = sboItem2.Left
                    sboItem.Top = sboItem2.Top - 30
                    sboItem = sboForm.Items.Add("slsLabel", SAPbouiCOM.BoFormItemTypes.it_STATIC)
                    sboItem2 = sboForm.Items.Item("slsText")
                    sboItem3 = sboForm.Items.Item("10000037")
                    sboItem.Left = sboItem2.Left - 167
                    sboItem.Width = "80"
                    sboItem.Top = sboItem3.Top
                    sboItem.Height = "14"
                    sboItem.LinkTo = "slsText"
                    sboLbl = sboItem.Specific
                    sboLbl.Caption = "Customer"
                    sboItem.Visible = True
                    sboItem = sboForm.Items.Add("slsLabel2", SAPbouiCOM.BoFormItemTypes.it_STATIC)
                    sboItem2 = sboForm.Items.Item("slsText1")
                    sboItem3 = sboForm.Items.Item("5")
                    sboItem.Left = sboItem2.Left - 99
                    sboItem.Width = "80"
                    sboItem.Top = sboItem3.Top
                    sboItem.Height = "14"
                    sboItem.LinkTo = "slsText1"
                    sboLbl = sboItem.Specific
                    sboLbl.Caption = "Sales Order"
                    sboItem.Visible = True
                    Dim oLink As SAPbouiCOM.LinkedButton
                    sboItem = sboForm.Items.Add("DSCardCode", SAPbouiCOM.BoFormItemTypes.it_LINKED_BUTTON)
                    sboItem2 = sboForm.Items.Item("slsText")
                    sboItem.Top = sboItem2.Top
                    sboItem.Left = sboItem.Left + 140
                    sboItem.Width = 20
                    sboItem.LinkTo = "slsText"
                    oLink = sboItem.Specific
                    sboItem.Visible = True
                    oLink.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_BusinessPartner
                End If
            Catch ex As Exception
                MessageBox.Show(ex.Message)
            End TryThis some sample code u can refer this but dont belive full
    If u r satisfied give points..
    By
    Firos.C
    Edited by: firoz101 on Jul 31, 2009 7:03 AM
    Edited by: firoz101 on Jul 31, 2009 7:04 AM

  • How do you change the column widths in a master-detail input form?

    I have changed several columns to af:inputText so that the field contents can be modified, but this defaults the column width to a huge size, way past the size of the actual data field itself. Modifying the width attribute is ignored and dragging the column dividers is also ignored.
    How do I reduce the widths of these columns?
    Thanks

    Hi,
    maybe this blog entry "Referencing Maximum Length of an Attribute in an EL Expression" by Steve Muench helps
    http://radio.weblogs.com/0118231/2007/06/04.html#a839
    Frank

  • Check box in matrix column bind correctly but doesn't appear check sign

    Dear Sirs,
    I have a check box in a matrix column (the matrix is placed i an extra folder in the item master data form).
    The column is bound to a DBDataSource related to the user defined table @IIT_ITM1 as reported in the following code. The table field bound to the check box column is alphanumeric of size 1.
    I use the following code:
                    oCln = oMtx.Columns.Add("Per_coll", SAPbouiCOM.BoFormItemTypes.it_CHECK_BOX);
                    oCln.DisplayDesc = true;
                    oCln.Description = "For test";
                    oCln.TitleObject.Caption = "For test";
                    oCln.ValOn = "Y";
                    oCln.ValOff = "N";
                    oCln.Width = 60;
                    oCln.DataBind.SetBound(true, "@IIT_ITM1", "U_IIT_PerColl");
                    oCln.Editable = true;
    The problem is: the binding to the database work (if I click on the check box and save the data, then the database content change accordingly) but I CANNOT LET THE USER SIGN APPEAR on the check box control!
    Does anyone have the solution?
    Thank you for help
    Massimo

    No response from the forum

  • Creating Database Standard Form Analytic Workspaces

    Just been looking through the new 9.2.0.4.1 documentation and came across the following. Thought it might be useful.
    The 9.2.0.4.1 release of Oracle OLAP introduces a new concept known as �Database Standard Form� Analytic Workspaces. This is a way of constructing analytic workspaces in a standard way such that they can be used by tools such as the Analytic Workspace Manager, the Java OLAP API, and BI Beans.
    When analytic workspaces are created from a relational star-schema using the Analytic Workspace Manager, it automatically creates the analytic workspace in standard form as part of the migration process. However, if you�re migrating an Express database to Oracle OLAP, the migrated database has to be processed to be in standard form before it is usable by any of the new Oracle OLAP GUI tools.
    If you create an analytic workspace using PL/SQL or the OLAP Worksheet, of course you can create dimensions, variables, relations and so on in any form, just as you can create table structures, joins, views and columns in any form in a relational database. However, the database standard form requirement stipulates that;
    Certain objects and properties need to be found in the analytic workspace, that are used by tools such as the Analytic Workspace Manager to perform tasks such as aggregation, data loads, and OLAP API enablement. OLAP DML views (beginning with AW$) need to created in the analytic workspace, to provide metadata and to identify relationships between objects in the analytic workspace. Objects need to be registered in the OLAP Catalog, and these registrations have to be kept in sync so that the OLAP tools are aware of changes to the base objects. Data that is migrated in to an analytic workspace, from a relational star-schema using the Analytic Workspace Manager, is already in database standard form and no further work is needed. However, some work is needed to get migrated Express databases into standard form, and Oracle have provided a utility with the 9.2.0.4.1 release of Oracle OLAP to help accomplish this.
    This utility, known as CREATE_DB_STDFORM, is an OLAP DML program that takes existing Oracle Express Objects metadata in a migrated Express database, and uses this to create the additional metadata required to make the analytic workspace �database standard form�.
    Once CREATE_DB_STDFORM has been used to create this additional metadata, it can also be used to import data into the workspace either from flat files, or from Oracle tables and views. If you don�t have Express Objects metadata in the Express database, CREATE_DB_STDFORM doesn�t work, and you�ll have to use Oracle Warehouse Builder 9.2 to initially create a relational star-schema that equates to the Express database, then use the OLAP Bridge within OWB to export the data into a database standard form analytic workspace.
    CREATE_DB_STDFORM, once run, allows the migrated Express database to be accessed via BI Beans straight afterwards, as it creates all the OLAP Catalog entries required for the OLAP API. If the Express database only contains data at the lowest level (i.e. it hasn�t been rolled up), aggregation wizards in the Analytic Workspace Manager can be used to summarise the data as required.
    CREATE_DB_STDFORM doesn�t do everything, however. First of all, you need to have created Oracle Express Objects metadata within the Express database, which is an additional step and not always appropriate for all systems. In addition, you need to create time dimensions in a particular way, which may require the data model to be adjusted to meet this requirement. Lastly, any Express language programs within the Express database may need to be adjusted to remove or change commands that have changed or become obsolete.
    The new document, �Oracle OLAP Application Developers Guide Release 9.2.0.4.1�, available on metalink under note 251352.1, details how database standard form works, has code examples, and walks through the migration of the XADEMO Express database to an analytic workspace using database standard form.

    In your message, you wrote "Certain objects and properties need to be found ... aware of changes to base objects". A large bit is represented by "...". Question is whether I have any commands or package functions that I can use to set up all the proper objects and relationships to make it have database standard form, short of regressing to a ROLAP star schema and usnig the AWM wizard. I have what appears to be working MOLAP activity, all created at the OLAP worksheet prompt, and loaded with DML program. Do I really have to put that all aside and start with a star schema? No way to put my AW in standard form for OLAP API without this?

  • Problem with Matrix columns of type Quantity

    Hi all!
    I need to show in a matrix column a quantity with the number of decimal set in SBO. My code is:
    Dim dt As SAPbouiCOM.DataTable = oFrm.DataSources.DataTables.Add("PCKG")
                    dt.Columns.Add("clQta", SAPbouiCOM.BoFieldsType.ft_Float, 30)
    In this way the number of decimal that i see is 2, but in SBO parameterization i have 4 decimal.
    How can I do?
    Thanks

    Hi,
    Check this option.  Go to Administration -> System Initialization -> General Settings -> Display tab.  Here check the Decimal places for Quantities.  It might be 4.  Change it to 2 and recheck the value in your form.
    Hope this helps.
    Regards,
    Satish.

  • A matrix column that shows a field from a linked table

    Hello,
    I'm creating a custom UI form for a UDO of type document.
    This UDO (say FATHER) has one child table (say CHILD). I show its data in a matrix.
    Every line in CHILD links to a sales order line (RDR1).
    In the matrix I'd like to show:
    A) some columns from CHILD (I succeded)
    B) a linked button column that links to ORDR using CHILD.U_OrderEntry (I succeded)
    C) a column that shows RDR1.DocDueDate (how?)
    D) a linked button column that shows RDR1.ItemCode and links to OITM (how?)
    Something similar is done by B1 in pick list standard form (id 85), for instance.
    Can you help me solving issues C and D?
    I guess I should link my CHILD.U_OrderEntry and U_OrderLine with RDR1.DocEntry and LineNum.
    Many thanks!

    Hi Simone,
    I agree, my explanation was partial.
    When I am creating a new form, I'm basing every single piece of the UI on DataTable (I never use DBDataSource and UserDataSources only for Folders). One for the header, one for each Matrix/grid, etc.
    By doing this, it allows me to have the correct layout and validate the UI with the project manager (or the Customer, when this is me the project manager ).
    Then, I am creating the queries, to extract data from the DB exactly as the previously defined DataTables are expecting these data (so, calculating the LineId from the query...).
    And finally, this is the beauty of the design, DataTables allows to to extract (since 2007PL47?) the data from a DataTable as an xml String and to import it in a different DataTable.
    So, to make the full picture, I have a specific DataTable to execute queries, from which I'm extracting the xml definition to load it in the "UI's DataTable". It ends with a matrix.LoadFromDataSource...
    Definitions are staying as defined, querying and loading is sub-second time (depending on your SQL expertise), layout doesn't flicker...
    If you need an excerpt of code (frankly, I'd prefer you to write it with this "how to"), just ask.
    Regards,
    Eric

  • I want to do editable a matrix column

    Hi all! I want to write a value in a not editable column of a matrix, so first i try to do editable the column,and then write the value,so i do this:
    Matrix.Columns.Item("34").Editable = True
    But i get this error:
    Item - the item is not a user defined item
    I'm working with the withholding tax table(column account). What can i do?

    Hi Miguel,
    There is one solution (not so nice) for your problem, we had the same problem.
    1. set the column editable through the gui en restart SBO
    In your addon
    1. at form load set the column to editable false
    2. just before the change, set the column to editable true
    3. change the column
    4. set the column to editable false.
    done
    Regards,
    Ad

Maybe you are looking for