Data in Matrix not showing

I cannot get the data from my query to show in the relevant matrix columns:
oForm.DataSources.DBDataSources.Add("OQUT")
            'Create Datatable and populate with query
            oForm.DataSources.DataTables.Add("oMatrixDT")
            oForm.DataSources.DataTables.Item("oMatrixDT").Clear()
            sSQL = "SELECT T0.DocNum, T0.NumAtCard, T0.DocDate, T0.U_PRDClosDate, T0.U_ExpTVal FROM OQUT T0 WHERE T0.CardCode = '" & oBPCode & "' AND T0.DocStatus = 'O' ORDER BY T0.DocNum"
            oForm.DataSources.DataTables.Item("oMatrixDT").ExecuteQuery(sSQL)
            oItem = oForm.Items.Add("oMtrx1", SAPbouiCOM.BoFormItemTypes.it_MATRIX)
            oItem.Top = 10
            oItem.Left = 10
            oItem.Width = oForm.Width - 20
            oItem.Height = oForm.Height - 20
            oMatrix = oItem.Specific
            oColumn = oMatrix.Columns.Add("#", SAPbouiCOM.BoFormItemTypes.it_EDIT)
            oColumn.TitleObject.Caption = "#"
            oColumn = oMatrix.Columns.Add("oClmn1", SAPbouiCOM.BoFormItemTypes.it_LINKED_BUTTON)
            oMatrix.Columns.Item("oClmn1").DataBind.Bind("oMatrixDT", "DocNum")
            oColumn.DataBind.SetBound(True, "OQUT", "DocNum")
            oColumn.TitleObject.Caption = "Quote Number"
            oLinkedButton = oColumn.ExtendedObject
            oLinkedButton.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_Items
            oLinkedButton.LinkedObjectType = SAPbouiCOM.BoLinkedObject.lf_Items
Then after more columns....
oMatrix.LoadFromDataSource()
            oMatrix.AutoResizeColumns()
            oForm.Visible = True
Any Ideas?

HI David
A good code ! Take Care, LinkTo have to show a docentry field not the docnum ! If you have multiple numbering series over PO, it will drop you into a wrong document
    Sub Matrix_TEST()
        Dim oForm As SAPbouiCOM.Form = sbo_application.Forms.Add("MYFORM")
        oForm.Visible = True
        oForm.Width = 300
        oForm.Height = 400
        oForm.DataSources.DBDataSources.Add("OQUT")
        'Create Datatable and populate with query
        oForm.DataSources.DataTables.Add("oMatrixDT")
        oForm.DataSources.DataTables.Item("oMatrixDT").Clear()
        Dim sSQL As String = "SELECT T0.DocNum, T0.DocEntry, T0.NumAtCard, T0.DocDate FROM OQUT T0 WHERE T0.DocStatus = 'O' ORDER BY T0.DocNum"
        oForm.DataSources.DataTables.Item("oMatrixDT").ExecuteQuery(sSQL)
        Dim oItem As SAPbouiCOM.Item = oForm.Items.Add("oMtrx1", SAPbouiCOM.BoFormItemTypes.it_MATRIX)
        oItem.Top = 10
        oItem.Left = 10
        oItem.Width = oForm.Width - 20
        oItem.Height = oForm.Height - 20
        Dim oMatrix As SAPbouiCOM.Matrix = oItem.Specific
        Dim oColumn As SAPbouiCOM.Column = oMatrix.Columns.Add("#", SAPbouiCOM.BoFormItemTypes.it_EDIT)
        oColumn.TitleObject.Caption = "#"
        oColumn = oMatrix.Columns.Add("oClmn0", SAPbouiCOM.BoFormItemTypes.it_LINKED_BUTTON)
        'oColumn.DataBind.Bind("oMatrixDT", "DocEntry")
        oColumn.TitleObject.Caption = "Quote Key"
        Dim oLinkedButton As SAPbouiCOM.LinkedButton = oColumn.ExtendedObject
        oLinkedButton.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_Items
        oLinkedButton.LinkedObjectType = SAPbouiCOM.BoLinkedObject.lf_Items
        oColumn = oMatrix.Columns.Add("oClmn1", SAPbouiCOM.BoFormItemTypes.it_LINKED_BUTTON)
        oColumn.DataBind.Bind("oMatrixDT", "DocNum")
        oColumn.DataBind.SetBound(True, "OQUT", "DocNum")
        oColumn.TitleObject.Caption = "Quote Number"
        oMatrix.LoadFromDataSource()
    End Sub

Similar Messages

  • Cellular Data option is not showing in ipad

    Cellular Data option is not showing in ipad
    when sim was inserted.network name was not showing
    solution please.

    Your iPad is probably Wi-Fi only.

  • Data mart symbol not showing

    Hi all,
    I am facing problem. when we load the data from ODS to CUBE .Data loaded succesfully.In ods manage screen DATA MART symbol not showing.
    pls help me.
    Thanks
    kamal

    Hi Kamal,
    Try running delta update from ODS to Cube manually by right click ods -> Update data into data target -> Delta update.
    And hopefully datamart status should get checked.
    Also see the request status of datamart from ODS to Cube it may be in red / yellow status.
    Hope that helps.
    Regards
    Mr Kapadia
    <removed>

  • Why MSAccess database shows data but does not show columns and DDL in edit mode in jdeveloper?

    Sir,
    My developer ver is 12.1.3.0.0.
    I create a connection to MS Access database, this database shows data as bellow in jdeveloper databases window
    But when I open any table in Edit mode like bellow it does not show any columns and DDL and give an error like bellow
    Similarly when I try to create view objects on these tables then on data controls the view object also doesn't show any columns like bellow
    What could be the reason any help on this issue
    Should I use MS Access or not but I want to use ms access for very small databases.
    Regards

    If you look into the certification matrix at Oracle JDeveloper and ADF 12c (12.1.3) Supported Systems
    You'll see that ms access is not supported.
    You can use oracle xe which is free for your project.
    Timo

  • BI Publisher Using Answers As Data Source Does Not Show Anything in Catalog

    Created A New Report. Used BI Answers as Data Source. Tried To Use Drop Down
    and BI Catalog Does Not Show Any Data.
    Any Suggestions?
    Thanks
    Raghu

    Hi Raghu,
    I had the same problem here. I was working with OBIEE 10.1.3.2, after a lot of searching an reading decided to upgrade to 10.1.3.3 and the problem was solved.
    Hope this helps. Regards,
    Jeroen

  • Data Control does not show POJO returned from method

    Hi,
    I am running JDev 11.1.1.7. In my AppModule.impl I created a method that returns a simple POJO (which implements serializable) that has two String fields. I have exposed the method in the appmodule client interface. In the data control the method shows up with a return element instead of an object or any way to access the two String fields. I want to display the two String fields in separate output text components on my jspx page. I'm not finding documentation on how to do this. Can somebody point me to documentation or tell me how to make this change to the data control method return?
    Thanks in advance,
    Steve

    AM method can return custom type, but AFAIK there is no support for object introspection in design time.
    (so you can invoke this programmatically and cast to appropriate type, but you can't do DnD from Data Control pane).
    So, option 1 is to bind value property of your outputText fields to managed bean, programmatically call AM method, fill these properties manually and refresh your UI components(note that managed bean must be registered in viewScope or higher to preserve values)
    Option 2 is to create Bean DataControl (with this you will have DnD support)
    Dario

  • Data in database not showing up in BI

    Hi,
    In a table there is a 'COMPANY' column. Every record in the table has COMPANY = 'ABC'. However, any BI reports that use the COMPANY field always show COMPANY as an empty field.
    - The 'Update Row Count' option in BI Administration tool reports there is 1 unique record
    - The 'View Data' option in BI Administration tool shows "ABC'
    - Creating a report in Answers show an empty value
    - This only seems to happen with the COMPANY field
    How can BI see 'ABC' in the Physical Pane but not show the 'ABC' value in an Answers report?
    We have tried:
    - Purging all caches
    - Rebooting the server and deleting files from Cache and Tmp help
    - Clearing Web Browser Cache
    - Using Web Browsers on different computers
    - Using IE and Firefox
    Thanks
    - B.

    SELECT Contacts.Company saw_0 FROM "Test - BI" ORDER BY saw_0
    is not a physical sql, its a logical sql. Go to admin - issue sql - paste above - set loglevel > 3 and execute. Once the results come back, check view log - find sql sent to database and post here.

  • Date difference is not showing the correct result for date interval

    Hi Expert,
                    I've created two formula variable one for PO date and another for GR date
    while i am taking the date difference of GR and PO date for single PO date selection
    it showing me correct result , but while i am taking the date interval for PO date it not
    showing the correct result.
    eg: PO date: 01.01.2010   for a particular PO and Gr date is suppose 03.01.2010, 06.01.2010
          it showing the result 2 and 5.
    But if i am taking date interval for PO date:
    eg: 01.01.2010 - 31.01.2010
    PO date: 10.01.2010 and GR date are suppose 15.01.2010, 22.01.2010 and 30.01.2010
    it showing me 14, 21 and 29
    Thanks and Regards
    Lalit Kumar

    Hi Expert,
                    Through replacement path.
    Thanks and Regards
    Lalit Kumar

  • Data Source Type not showing in drop down

    I am trying to utilize an XML data source that I defined in the physical layer for init block for repository variable. Anyways when I go to select the data source, XML does not show up as an available data source within the drop down, thus I can not select the xml data sources connection pool. Can anyone let me know what I am missing here. I searched config files and other things within the rpd to no avail. I know I am missing something simple, and if anyone knows please let me know.
    Thanks
    Frank

    Initialization blocks can only connect to database data sources as there must be written in SQL. The only exception for this are the Session Init Blocks which can also connect to an LDAP server or a Customer Authenticator. You will need to load your XML file in a database to be able to read it.

  • ADF Data Visualizations group not showing up in Component Palette

    I apologize for my ignorance, but I cannot find how to solve this problem. I am trying to use the data visualization components such as graphs but my component palette does not show this. It does show ADF Faces, JSF, and some others, but not this. I tried adding more libraries to my project's properties, but it does not show up. I am using:
    JDeveloper
    Studio Edition Version 11.1.1.2.0
    Build JDEVADF_11.1.1.2.0_GENERIC_091029.2229.5536
    Any ideas?
    thanks,
    Kerry

    Go into project properties -> JSP libraries and make sure you add the data visualization tag library.

  • Custom SSIS Data Flow Component Not Showing in Toolbox or GAC

    Hello - I have created a very simple data flow component for SSIS (Actually, I am following this example:  http://www.microsoft.com/downloads/details.aspx?familyid=1C2A7DD2-3EC3-4641-9407-A5A337BEA7D3&displaylang=en).
     However, when I register the DLL to the GAC, I am unable to find the assembly in C:\Windows\Assembly - even though the GACUTIL says "Assembly Registered Successfully".  Furthermore, after copying the DLL to the PipelineComponents folder for SSIS
    (C:\Program Files (x86)\Microsoft SQL Server\100\DTS\PipelineComponents), it does not show in the "Choose Items . . ." dialog box of SSIS.  
    I am running SQL Server 2008 Dev edition, Visual Studio 2010 with .NET 4.0, and Windows 7 Enterprise 64-bit edition.  Any assistance/thoughts would be appreciated.
    Thanks!

    Hi,
    I was struggling with exactly the same problem yesterday.. created a component in VS 2010 (.NET 4.0), registered the component using GACUtil with no error, but not being able to find the component in the cache directory nor in the SSIS toolbox...
    I spend several hour trying to find out whats going on. Then I tried to run the GACUtil from a dos batch file - and an error appeared saying that I am trying to register assebly .NET 4.0 on a computer that runs 3.5.. Then changed the target framework
    in VS 2010 to 3.5, rebuild the project and voila- the component finally appeared in the toolbox list...
    this is the batch i used to register assembly:
    REM Unregister and re-register the assembly on the GAC
    "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\gacutil" /u ChangeCase
    "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\gacutil" /i "C:\Program Files\Microsoft SQL Server\100\DTS\PipelineComponents\ChangeCase.dll"
    pause
    this batch will show the list of assemblies in the GAC:
    "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\gacutil" /l > gacListing.txt
    hope this helps...
    Frank

  • Data in infoobject not showing in report

    Hi,
    I have this situation. I can see cost center number in variable screen but the number is not showing when I run the report.
    thanks

    Hi,
    I would suggest you try to see if the data is being populated in the cube for the particualr infoobject.If it is not populated in the cube itself,then check the filters inthe start routine,transfer & Update Routines. If its populating the data then,try to run the query on the same selection criteria and verfiy.This way you can confirm if its the loading into the dataprovider or on the front end that needs to be fixed.
    hope it helps

  • Date picker css not showing in web form

    Hi there, I have a web form and added the date picker.
    When you try this within BC admin it displays very nicely, yet when Ive inserted the webform in the html page,
    the css styling for the date picker is not included.
    Can anyone help me here so that I can add the css to style the calendar to look a bit prettier!
    The source code of the datepicker:
            <label for="CAT_Custom_95263">Date of last vaccination</label>
            <br /><input type="text" name="CAT_Custom_95263" id="CAT_Custom_95263" class="cat_textbox" readonly="readonly" style="background-color:#F0F0F0;" onfocus="displayDatePicker('CAT_Custom_95263');return false;" />

    Hello VickiTuch,
    The date picker, once loaded, will get a bunch of inline styles applied to it from BC. This can override your CSS if you are not specific enough.  If you give your declarations an important:
    #datepicker{
        background-color: #333 !important;
    Should override their inline styles.
    Hope this helps,
    Chad Smith | http://bcgurus.com/Business-Catalyst-Templates for only $7

  • Historical Data Viewer does not show Alarms/Events after date but trace working.

    Dear users
    The DSC Historical Data Viewer no longer shows any Alarms or Events after 31/10/06 using Citadel 5 Universe.  The trace still works to current  time and you can search for the alarms by tag names in the trace and it works fine.  Therefore the database data is there. Does the Alarms/Events View use a different file?  Any help would be much appreciated as I'm a novice working with a predecessors project.
    Please keep the answer simple.
    Thanks
    Dave

    Hi Integrators,
    Well I had drafted out a whole long post and it then died in me.  Sometimes I hate windows... anyway...
    http://digital.ni.com/public.nsf/websearch/A4F007F96AB1EB1E862569C30080C731?OpenDocument
    Might help.. maybe someone has turned off the Alarm viewing?
    http://digital.ni.com/public.nsf/websearch/E6611BC10294608886256A4800724210?OpenDocument
    It may be a corrupt database.
    The files you need to look at with all of the alarms in are files with the extensions "ale"
    http://ae.natinst.com/operations/ae/public.nsf/web/searchinternal/6fc62f75b74d706d8625694900768f69?O...
    This link will give you a bit more information as to which of the file extensions apply to which database files.
    Hope this all helps. (I am also handeling your e-mail query into NIUK so feel free to e-mail me back)
    I'll keep looking into the problem.
    Post back if you need more help.
    AdamB
    Applications Engineering Team Leader | National Instruments | UK & Ireland

  • SSRS Matrix not showing all the entry for a Column Groups

    I created a Matrix in my SSRS report and for some reason if the COLUMN GROUP has more than one
    entry it only shows the first one and not the second or consequent entries.
    I opened a question in SO and here is the link:
    http://stackoverflow.com/questions/23248421/how-to-add-column-in-a-ssrs-table-based-on-criteria
    All help is appreciated.

    Hi SiKni8,
    According to your description, you have a matrix report. If a user has more than one start date and end date, you want to put all those start dates and end dates into one single row for this user. Right?
    In Reporting Service, for all data fields textbox appearing at intersection of rows and columns, the matrix will use Sum aggregation function by default. If the data can’t be calculated by aggregation function, it will return the first one of records. This
    is the reason why you only get the first start date and end date for each user. In your scenario, it is impossible to append more columns at the end of the matrix without setting column group. And we can never append columns dynamically based on the numbers
    of the records. So for your requirement, we find a workaround which we think is the most related to the answer you want. We use custom code to get both StartDate and EndDate, then return them as string. After that we append those strings and put the whole
    string into a cell. Your case has been tested in our local environment. Here are steps and screenshots for your reference:
    Put the custom code below into your report:
    Dim Num As String = ""
    Dim tempstr As String = ""
    Function AggregateString(Title as String, StartDate as String, EndDate as String) 
    If Title = Num Then
       tempstr = tempstr + "(" +StartDate+" , "+EndDate+")  "
    Else
      tempstr=""
      Num = Title
      tempstr =tempstr+"("+StartDate+" , "+EndDate+")  "
    End If 
    Return tempStr 
    End Function
    In our sample report, we created a matrix based on your description. It looks like below:
    In textbox next to [Title], put the expression below into it:
    =runningvalue(Code.AggregateString(Fields!Title.Value,Fields!StartDate.Value,Fields!EndDate.Value),Last,"Title")
    Ps: In our report, we set the type of date as string when creating table and dataset. If your date type is different, use Cstr() function and convert it into string.
    Save and preview. The result looks like below:
    Reference:
    Matrices (Report Builder and SSRS)
    RunningValue Function (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

Maybe you are looking for

  • HP C7283 All-In-One and wireless issues

    I have the C7283 All-In-One hooked up on my home network.  I'm running a Linksys wireless router (WRT54G) and sending prints to the unit that way.  My main computer is an iMac with 10.5 and the latest drivers (2/2008) for the HP software. The print j

  • Issue in Idoc Segment.

    Hi Gurus, i have a problem in Idoc, while creating output type for a Billing document that time one segment repeating lots of time with same data..how to avoid this? Mohana

  • Sales BOM - Allow to delete individual components on Marketing Documents

    At the moment, we are not allowed to delete the individual component on the Marketing Document. I faced a scenario that some client need to substitute a higher value component if there is insufficient quantity of a cheaper value that can be delivered

  • Weird - can connect to both instances - but not to main SID

    As a newbie to RAC I got stuck... after installation of grid, db SW and a sample DB "QRC" with dbca I can connect to both instances QRC1 and QRC2, but not to QRC - here sqlplus tells me "connected to an idle instance" What did I mix up?? rac11a ~ RDB

  • Applying a unified patch...

    Hi, Assume that there are 3 database servers but one only database and 4 application servers which host the concurrent managers, forms server, web server (each one of the 4 server). Also assume that the patch 6502082 needs to be applied to the whole