Adding custom column to a  user matrix

Hi all
I have a little problem
When i create my matrix i add columns according to how many ship to's i have
from there if i have 3 ship to's three columns are created with the shipto Name as the title.
My problem is
The ship to itself length is > 10 characters then my program crashes and says
INVALID length string cannot surpass 10 characters.
I know this has to do with the datasources the thing is the datsource are useally created AFTER the matrix is created. So i cannot define a length for the column BEFORE the matrix is created because i get a null reference
My question is is there a way without datasources or with to set the colmun length
and when i say length i do not mean size. ( i actually mean how many characters this column can accept)
Thanks looking forword to your answers!

Hi
To answer your Question
Here is the order in which i create a MATRIX
1) Create Form
2) Add Matrix with columns
3) Create Datasources for Matrix columns
Now according to what you said i can very well do it at step 3 the problem is
my columns are Filled at step 2. on creation of the Matrix before the datasources are instantiated.
I am wondering if there is a way to instantiate my datasource BEFORE creating my column
The other way of fixing this problem is changing my code which at this point is the last option.
Thanks for any help sorry i was not clear.

Similar Messages

  • Image in column header of user matrix

    Hi,
    does anybody know how i can show an image in the column header of a matrix. I'm using a user matrix.
    thanks for help.
    Markus

    1. SBO 2004 will not allow this action. The Header Column item is a EditBox type and you can not override this directly.
    2. What you can do is "paste" an image item on the column header (using Screenpainter). This will allow you to display a picture. You must just make sure the form can't be resized OR "move" the image item when the column is moved about.
    This - to my knowledge - is your only option.

  • Adding custom columns to the tasks tab in UWL

    Hi Experts,
    We have UWL configured for GP in CE 7.1.
    Currently we have standard columns like Subject, From, Sent Date etc. only
    I need to add some columns like Project No., Customer No.(GP parameters) to the 'Tasks' tab in it.
    These columns are required for all the Work items that appear in UWL.
    I have read about adding custom view for a specific task , but not sure how it can be done in my case.
    Kindly provide inputs for this.
    Thanks and Regards
    Aanchal

    Hi Aanchal,
    i have posted exactly the same problem a few months ago, and no one answered me.
    I couldn't find any documentation on how to add custom GP parameters in the universal worklist, in the examples on customizing the UWL XML they always refer to parameters from the r/3 webflow, never GP.
    I really can't believe that nobody ever tried to do this and faced this problem!
    Please let me know if you find something..
    Regards,
    Marco.

  • Adding custom column to Process tracking view

    I have a requirement that in process tracking screen, some custom column (e.g instruction) should be added so that different processes listed there can easily be differentiated.
    I tried to do this change in Workspace through Preferences->Manage Column Headings -> Tracking. But it affects only the Tasks view (Audit tab) for the process and not the initial process tracking screen. I also tried creating a process variable and made it Visible in UI and Searchable so that it is shown in the column heading list. But still that heading does not show up in the initial process tracking screen.
    Is there way through which we may be able to customize the column headers for the initial tracking screen?
    (The server is Livecycle 8.0.1)
    Thanks,
    Ashutosh

    Not that I'm aware of.
    However, we have built an enhanced tracking and enquiry tool that provides a lot more flexibility than the built-in tracking, and is also very easy to configure.
    Read about it: http://www.avoka.com/avoka/enquirytool.shtml
    Try it: http://www.avoka.com/apps/checkcookie?location=/apps/qpacdownload&qpac=y&qpac_code=Worksp aceEnquiryTool1.8
    Howard
    http://www.avoka.com

  • Combobox column in a user matrix

    hi!
    I've a user matrix in a user form whith 2 ComboBox columns. I've just filled these whith their values and descriptions. But, when the addon is running, if i select a value in a combo cell, it doesn't appear in the cell!
    I explain myself: i load the form, i click on the combo column (1st row), i click on a value from the combo list, the list is closed but the cell is still empty! Why?
    Please help me,
    thanks
    Giuseppe

    that's ok!
    I have to add an UserDataSource!
    Now it run well

  • Adding Custom Column in Report

    Hi,
    I want to add custom column in the report to show some values after calculation. Can any one tell me is it possible to add?
    Nisman

    I think you can do that.
    Drag any column, go to Fx and override the column heading and value with your desired value.
    Dinesh

  • ADDING CUSTOM ATTRIBUTES TO PORTAL USER

    Hi,
    We are using ldap server as the EP 6.0 user database.
    We have to add few custom attributes like comanycode etc to the user.
    As I understand, the first activity will be to add these custom attributes in the ldap followed by mapping of portal logical attributes and the custom attributes in dataSourceConfiguration_xxx.xml file.
    Now what about showing these attributes in the all relevant user management screens (like Create User, Modify User etc).
    Can anyone please tell the configuration for the same.
    Any input is highly appreciated.
    regards,
    Chandra

    Hi
    Additional custom attributes can be added by editing the dataSourceConfig....xml.In this case logical to physical mapping has to be performed for each attribute.The attributes created without any mapping may be using the default namespace.
    The getArttibute() method can be used for getting the attribute values of the specified logical attribute.
    IUser user;
    String attrs[]=
    user.getAttribute("<nameSpace>","<logicalname>");
    <b>Editing the dataSourceConfig....xml for Logical to Physical mapping</b>
    Inside the nameSpace add the attribute inside the attributes tag as below.
    <nameSpace name =.........>
    <attributes>
    <attribute name = "<logicalnameyouwant>">
    </attribute>
    </attributes>
    Inside the attributeMapping specify the attribute name given above and the physicalAttribute as below
    <attributeMapping>
    <nameSpace name =.........>
    <attributes>
    <attribute name ="<logicalnameyouwant>"
    <physicalAttribute name= "<physicalnameyouwant>"/>
    </attribute>
    </attributes>
    </attributeMapping>
    Regards
    Geogi

  • Adding custom action to Tabbed User Form

    I am trying to view and delete user tasks (such as deferred task) from a user view (tabbed user form). I am able to list the tasks in a separate tab, however, I would like to be able to delete the task using a manual action. I added a button, however, the clicking on the button refreshes the page, and does not get into the Update User workflow.
    Wanted to check with the forum members if anyone has added any custom action via the TabbedUserForm where the button (or something) will submit the form for change of user view to the Update User workflow.
    Or, if someone has a simpler way - manual action to cancel/delete a deferred task for a user.
    Thanks in advance for any insight.
    Indrajit
    Edited by: indrajitg on Sep 14, 2007 12:43 PM

    It seems I was initially too focused on the VCS API itself, as I was under the impression that the context menu would be exposed through a manager (similar to the Editor API). But it turns out that the view API provides very nice access to the relevant bits and I was able to achieve the desired result by simple listening to view activation and access the context menu from there. It's not ideal as I have to deal with view ids directly, but it works - good enough.

  • Adding custom attributes in iPlanet User resource

    I have a custom attribute in LDAP called "CustomAttr1" created. I would like to add this attributes into iPlanet User RO so that I can update that attribute via OIM. What is the process of adding that attribute to the iPlanet User process and forms?

    Have you checked the Connector Document and specifically the section where it says "Extending the Connector"?
    This: http://docs.oracle.com/cd/E11223_01/doc.904/e10446/custom.htm#CDEGCCEB
    -Bikash

  • Adding description column into wizard generated matrix report

    Hi,
    I currently have a matrix report that reports rows as job names and columns as media type. the intersection is the media code.
    for example i have a job called abc and it has envelopes(e1,e2), base stationary (s1,s2) and inserts (i1,i2).
    job envelope base stationary inserts
    abc e1 s1 i1
    e2 s2 i2
    so far i have no problems. what i would like to do is add a description entry next to the inserts column. the description is only for the insert and only needs to be shown when an insert is present.
    any ideas? i have tried adding in an additional field, however, i get some type of grouping error (my reports has just crashed so i can't get exact error)
    thanks in advance for the help!

    Hi,
    If I understood you right. Place the txt next to the insert field, then right click on the txt field and go to 'Conditional Formatting' then New. Put it in, if the value of Insert column is null, then click the 'Hide the Object' checkbox.
    -Marilyn

  • Adding custom column to a Data Table (bound to database table)

    Hello,
    I've added an additional "Output Text" column to an existing "Data Table" component, which is pulling a database table and rendering it. It's actually called "OutputText5". What I want to do, is set the value of the "OutputText5" dynamically, depending on a Date comparison between the system date, and one of the currentRow field values, which is actually an Oracle Date data type. basically I'm trying to use the Date.after() comparison and put different content in there depending on true or false evaluation.
    Seems simple enough .. but.. I'm trying to do this without using vim and JSP Beans (how I'd usually do this). I'm not experienced with JSF components and how this would be done using JSC - can I iterate over currentRow or something inside the "Page1.java" source? Is there an easy way to create dynamic value bindings like this in Data Table components in general? Maybe using expressions in "OutputText5" properties or something? I figure I should ask about doing this the easy way, before I spend lots of time and start teaching myself bad habbits.
    I apologise in advance if this is a repeat post. I spent some time searching ,but came up empty handed.
    Thanks in advance.
    David Basham

    Hi David,
    Here's some ideas to try on:
    http://swforum.sun.com/jive/thread.jspa?forumID=123&threadID=49459
    hth,
    v

  • Adding custom column to a report

    I'm a newbie using APEX 2.1 on Oracle XE.
    I've created a simple page with a report which displays the list of rows in a table. I'd like to add an extra column to this report with an "Edit" button for each row. (So I can obviously edit individual rows in a separate window) But I can't see any way to alter the report output to be able to add extra columns.
    Have I approached this the wrong way ? (NOTE: I don't want to edit the row in-situ in the table)
    Thanks.

    Try using the Form Wizard to create your pages. If you select the "Form on a Table with Report". It will for the most part do all the work for you. Then you just cleanup the UI to look the way you want it too.

  • Custom columns in task list

    Hello,
    I'd like to ask your help with a problem concerning the task list page.
    For each task I have some additional data stored in a remote database, I use the "task number" for the join. What I'd like to do is:
    - show these extra values in the task list in new, custom columns
    - give the user the ability to filter and sort by the new columns
    Could you give me some ideas to get me started? Should I dig deep into the "TaskList" servlet and somehow extend the column set and add the values to the tasks using JDBC? Is this goal achievable at all??
    Any help will be much appreciated,
    Denes Toth

    Hello again bnainani,
    I tried to define a flex field mapping and display it in the task list. Creating the mapping went fine, but I couldn't select the new column ("label") when creating a custom view to display the flex field data.
    The Developer's Guide sais "A mapped payload attribute can also be displayed as a column in a custom view, and used as a filter condition in both custom views and workflow rules.". But how van I achieve this? The flex field label is not displayed in the available columns dropdown when selecting the columns of the view.
    What am I missing?
    Once again, thanks for any help in advance...

  • Customizing Audit Log Report - Adding/Removing Columns from Display

    Hi All -
    Has anyone tried adding/removing the columns from Out of Box Auditi Log report with minor customizations to the code/configuration files ? Right now , when the Audit Log report is executed, there are numbe of columns that appear on report (Server, Client IP etc) which are too technical for the client and requirement is remove some of these and add some more for the attributes that we are audit logging through Audit workflow service. If you have done something similar in the past, please provide me with some inputs. Any sample code, examples will be highly appreciated.

    Hello Gurus,
    I also have same kind of requirement.WE have to send a monthly report to customer where number of users created and deleted to be given to them.
    Its urgent.Please help
    Thanks in advance

  • How to avoid Flickaring  When Adding data in Addon User Matrix

    Experts,
    I am  Adding Query Result in User Matrix  one by one. but there is lots of Flicker.
    how to Avoid this Flickering.
    Bomiitems = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                                    If Bomtyp = "U" And BomNo = "0" Then
                                        BOMItem = "SELECT Distinct T0.[Code], T1.[ItemName] , ( 1 / Isnull(T2.[Qauntity],0))* Isnull((T0.[Quantity]),0),('" & Quanti & "'/ Isnull(T2.[Qauntity],0))* Isnull((T0.[Quantity]),0) as "
                                        BOMItem = BOMItem + " 'Quanti',T1.[Excisable],'N' as U_Rec , T1.[InvntryUom],T0.[Warehouse] 'Warehouse',T0.[IssueMthd]'IssMthd' FROM ITT1 T0  INNER JOIN OITM T1 "
                                        BOMItem = BOMItem + " ON T0.Code = T1.ItemCode  INNER JOIN OITT T2 ON T0.Father = T2.Code "
                                        BOMItem = BOMItem + " WHERE T0.[Father] ='" & Icode & "'"
                                        Bomiitems.DoQuery(BOMItem)
                                    ElseIf Bomtyp = "U" And BomNo <> "0" Then
                                        'BOMItem = "SELECT T0.[Code], T1.[ItemName] , ((T0.[Quantity]/ T2.[Qauntity])*'" & Quanti & "') as 'Quanti',T1.[Excisable],'N' as U_Rec FROM ITT1 T0  INNER JOIN OITM T1 ON T0.Code = T1.ItemCode  INNER JOIN OITT T2 ON T0.Father = T2.Code WHERE T0.[Father] ='" & Icode & "'"
                                        BOMItem = "SELECT T1.[U_Icode], T1.[U_IName],(1 / Isnull(Cast( T0.[U_Bqty]  as Float) ,0)) * Isnull(Cast(T1.[U_Quanti]  As Float),0) ,('" & Quanti & "' / Isnull(Cast( T0.[U_Bqty]  as Float) ,0)) * Isnull(Cast(T1.[U_Quanti]  As Float),0)  as 'Quanti',T2.[Excisable], T0.[U_Rec],T2.[InvntryUom] ,T1.[U_Whs] 'Warehouse','B' AS 'IssMthd' "
                                        BOMItem = BOMItem + "FROM [dbo].[@OITTA]  T0 inner join  [dbo].[@ITTA1]  "
                                        BOMItem = BOMItem + "T1 on t0.cODE = t1.Code INNER JOIN OITM T2 ON  T1.[U_Icode] = T2.[ItemCode]"
                                        BOMItem = BOMItem + " WHERE T0.[U_Icode] = '" & Icode & "' AND   T0.[U_AltBom] ='" & BomNo & "' AND T0.U_Btyp = 'U'  "
                                        Bomiitems.DoQuery(BOMItem)
                                    ElseIf Bomtyp = "P" Then
                                        BOMItem = "SELECT T1.[U_Icode], T1.[U_IName],(1 / Isnull(Cast( T0.[U_Bqty]  as Float) ,0)) * Isnull(Cast(T1.[U_Quanti]  As Float),0),('" & Quanti & "' / Isnull(Cast( T0.[U_Bqty]  as Float) ,0)) * Isnull(Cast(T1.[U_Quanti]  As Float),0)  as 'Quanti',T2.[Excisable], T0.[U_Rec] ,T2.[InvntryUom],T1.[U_Whs] 'Warehouse','B' AS 'IssMthd' "
                                        BOMItem = BOMItem + "FROM [dbo].[@OITTA]  T0 inner join  [dbo].[@ITTA1]  "
                                        BOMItem = BOMItem + "T1 on t0.cODE = t1.Code INNER JOIN OITM T2 ON  T1.[U_Icode] = T2.[ItemCode]"
                                        BOMItem = BOMItem + " WHERE T0.[U_Icode] = '" & Icode & "' AND   T0.[U_AltBom] ='" & BomNo & "' AND T0.U_Btyp = 'P' "
                                        Bomiitems.DoQuery(BOMItem)
                                    End If
                                        Bomiitems.DoQuery(BOMItem)
                                    If Bomiitems.RecordCount > 0 Then
                                        'RecCount1 = RecSet1.RecordCount
                                        Bomiitems.MoveFirst()
                                        i = 0
                                        'osubForm   .Freeze(True)
                                        oMatrix = oForm.Items.Item("1000001").Specific
                                        oMatrix.FlushToDataSource()
                                        While Not (Bomiitems.EoF)
                                            If i = 0 Then
                                                oMatrix.AddRow()
                                                oForm.DataSources.DBDataSources.Item("@TPROD1").SetValue("LineId", 0, i + 1)
                                                oForm.DataSources.DBDataSources.Item("@TPROD1").SetValue("U_ItemCode", 0, Bomiitems.Fields.Item(0).Value)
                                                oForm.DataSources.DBDataSources.Item("@TPROD1").SetValue("U_ItemName", 0, Bomiitems.Fields.Item(1).Value)
                                                oForm.DataSources.DBDataSources.Item("@TPROD1").SetValue("U_BaseQty", 0, Bomiitems.Fields.Item(2).Value)
                                                oForm.DataSources.DBDataSources.Item("@TPROD1").SetValue("U_PlanQty", 0, Bomiitems.Fields.Item(3).Value)
                                                oForm.DataSources.DBDataSources.Item("@TPROD1").SetValue("U_IssueQty", 0, Bomiitems.Fields.Item(3).Value)
                                                oForm.DataSources.DBDataSources.Item("@TPROD1").SetValue("U_Whs", 0, Bomiitems.Fields.Item("Warehouse").Value)
                                                oForm.DataSources.DBDataSources.Item("@TPROD1").SetValue("U_IsueType", 0, Bomiitems.Fields.Item("IssMthd").Value)
                                                Dim orsWhsDetails As SAPbobsCOM.Recordset
                                                Dim strWhsDetails As String
                                                orsWhsDetails = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                                                strWhsDetails = "SELECT T0.[OnHand], T0.[IsCommited], T0.[OnOrder],T1.[OnHand] FROM OITW T0 INNER JOIN OITM T1 ON T0.ItemCode = T1.ItemCode WHERE T0.[ItemCode] ='" & Bomiitems.Fields.Item(0).Value & "' AND   T0.[WhsCode] ='" & Bomiitems.Fields.Item("Warehouse").Value & "' "
                                                orsWhsDetails.DoQuery(strWhsDetails)
                                                oForm.DataSources.DBDataSources.Item("@TPROD1").SetValue("U_Whsestk", 0, orsWhsDetails.Fields.Item(0).Value)
                                                oForm.DataSources.DBDataSources.Item("@TPROD1").SetValue("U_AVILSTK", 0, (orsWhsDetails.Fields.Item(0).Value - Bomiitems.Fields.Item(3).Value))
                                                oForm.DataSources.DBDataSources.Item("@TPROD1").SetValue("U_PLANTSTK", 0, orsWhsDetails.Fields.Item(3).Value)
                                                oMatrix.LoadFromDataSource()
                                            Else
                                                oMatrix.FlushToDataSource()
                                                oForm.DataSources.DBDataSources.Item("@TPROD1").InsertRecord(i)
                                                oForm.DataSources.DBDataSources.Item("@TPROD1").SetValue("LineId", i, i + 1)
                                                oForm.DataSources.DBDataSources.Item("@TPROD1").SetValue("U_ItemCode", i, Bomiitems.Fields.Item(0).Value)
                                                oForm.DataSources.DBDataSources.Item("@TPROD1").SetValue("U_ItemName", i, Bomiitems.Fields.Item(1).Value)
                                                oForm.DataSources.DBDataSources.Item("@TPROD1").SetValue("U_BaseQty", i, Bomiitems.Fields.Item(2).Value)
                                                oForm.DataSources.DBDataSources.Item("@TPROD1").SetValue("U_PlanQty", i, Bomiitems.Fields.Item(3).Value)
                                                oForm.DataSources.DBDataSources.Item("@TPROD1").SetValue("U_IssueQty", i, Bomiitems.Fields.Item(3).Value)
                                                oForm.DataSources.DBDataSources.Item("@TPROD1").SetValue("U_Whs", i, Bomiitems.Fields.Item("Warehouse").Value)
                                                oForm.DataSources.DBDataSources.Item("@TPROD1").SetValue("U_IsueType", i, Bomiitems.Fields.Item("IssMthd").Value)
                                                Dim orsWhsDetails As SAPbobsCOM.Recordset
                                                Dim strWhsDetails As String
                                                orsWhsDetails = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                                                strWhsDetails = "SELECT T0.[OnHand], T0.[IsCommited], T0.[OnOrder],T1.[OnHand] FROM OITW T0 INNER JOIN OITM T1 ON T0.ItemCode = T1.ItemCode WHERE T0.[ItemCode] ='" & Bomiitems.Fields.Item(0).Value & "' AND   T0.[WhsCode] ='" & Bomiitems.Fields.Item("Warehouse").Value & "' "
                                                orsWhsDetails.DoQuery(strWhsDetails)
                                                oForm.DataSources.DBDataSources.Item("@TPROD1").SetValue("U_Whsestk", i, orsWhsDetails.Fields.Item(0).Value)
                                                oForm.DataSources.DBDataSources.Item("@TPROD1").SetValue("U_AVILSTK", i, (orsWhsDetails.Fields.Item(0).Value - Bomiitems.Fields.Item(3).Value))
                                                oForm.DataSources.DBDataSources.Item("@TPROD1").SetValue("U_PLANTSTK", i, orsWhsDetails.Fields.Item(3).Value)
                                                oMatrix.LoadFromDataSource()
                                            End If
                                            i = i + 1
                                            Bomiitems.MoveNext()
                                            oMatrix.LoadFromDataSource()
                                        End While
                                        oMatrix.LoadFromDataSource()
                                    End If
    Regards,
    Pravin Baji

    follow steps
    1)     Execute query so we can get data set
    2)     Clear matrix and data source (omatrix.clear(), oDBS.Clear())
    3)     Open loop
    4)     Insert record to oDBS using oDBS.InsertRecords(oDBS.Offset)
    5)     Then set value using oDBS.Setvalue(u2026u2026
    6)     Move next record
    7)     Finally close the loop
    8)     Matrix load from record set using oMatrix.LoadfromData()
    it will be work

Maybe you are looking for

  • HT201303 I hate this stupid iPad sooo much how do i change credit card info..my account is saying verify card well i dont have the old card what now

    Can some one help me ..my boys got onto a computer that wasn't ours now it's telling me to re enter my credit card..well I don't have that any more and it wants the security code of it...my son just added a 25 iTunes card..please help..

  • Lookup in array literal?

    Hello, Does Java support lookups from array literals? Something like this: System.out.println(["one", "two", "three"][1]); // outputs "two"Yeah I know it's bad practice, I'm just messing around with some obfuscated code. Thanks, Z.

  • PowerMac G5 dual core resolution

    I'm having problems reaching the native resolution on a 26" Dell W2607C LCD-TV. Should the factory fitted nvidia 6600LE (PCI Express) be able to support 1366x768 pixels? I've read that the single-link DVI port supports up to 1920x1200. PowerMac G5 Du

  • Data not  shown in my Crystal report

    Hi, I have created a price list using crystal reports. My database is an excel spreadsheet. Everything works excep that some codes do not show up for some reason? I have a colum that is Manyfacturer number, and certain codes that are on in my databas

  • Secure map rendering and the tile server

    Hi all, The demos for secure map rendering that I've seen e.g. mapviewer.ear/web.war/demo/secure-mapping.html involve sending an XML map request directly to mapviewer, and they work OK. However when I use a MVMapView JavaScript object and just pull b