Unusual Problem with Matrix

Hi Guys,
I have a matrix which is on the UDO form. I have bound all the columns with DB DataSources. I have one column of combobox type where in the back end i have the valid values
"1-Approved"
"2-Pending"
"3-Rejected"
The problem here is that when the form is opened the matrix column only shows values 2 and 3 ("2-Pending","3-Rejected").
I also have another Column with 2 Valid values, again facing the same problem. Only one value is being shown.
But in the backend when i check in the "Manage User Fields" Screen all the 3 Valid values are visible.
Am i doing something wrong..??
Thanks in Advance,
Vasu Natari.

Hi,
For me, even if the validvalues are added, it is working. Real.
Here is a code for matrix columns, and it is shows me on the form the description.
You must have to add of course validvalues to show the description (as in the description). This sample
is shows you the ship types of orders. You also can use userdatasources....
Sub ComboDesc()
        Dim oForm As SAPbouiCOM.Form = m_SBO_Application.Forms.Add("TEST_MTX")
        oForm.Visible = True
        Dim oitem As SAPbouiCOM.Item = oForm.Items.Add("MTX", SAPbouiCOM.BoFormItemTypes.it_MATRIX)
        With oitem
            .Top = 5
            .Left = 5
            .Width = oForm.Width - 15
            .Height = oForm.Height - 15
            .AffectsFormMode = False
        End With
        Dim oMatrix As SAPbouiCOM.Matrix = oitem.Specific
        Dim oColumns As SAPbouiCOM.Columns = oMatrix.Columns
        Dim oDBDataSource As DBDataSource = oForm.DataSources.DBDataSources.Add("ORDR")
        Dim oColumn As SAPbouiCOM.Column = oColumns.Add("#", SAPbouiCOM.BoFormItemTypes.it_EDIT)
        With oColumn
            .TitleObject.Caption = "#"
            .Description = .TitleObject.Caption
            .Width = 30
            .DataBind.SetBound(True, "ORDR", "DocEntry")
            .Editable = False
        End With
        oColumn = oColumns.Add("COL1", SAPbouiCOM.BoFormItemTypes.it_COMBO_BOX)
        With oColumn
            .Width = 80
            .TitleObject.Caption = "ShipType"
            .Description = .TitleObject.Caption
            .Editable = False
            .DataBind.SetBound(True, "ORDR", "TrnspCode")
            .DisplayDesc = True
            .Visible = True
        End With
        Dim vv As SAPbouiCOM.ValidValues = oColumn.ValidValues
        Dim ors As SAPbobsCOM.Recordset = ocmp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
        ors.DoQuery("select * from OSHP")
        Do While Not (ors.EoF)
            vv.Add(ors.Fields.Item(0).Value, Left(ors.Fields.Item(1).Value, 30))
            ors.MoveNext()
        Loop
        oDBDataSource.Query()
        oMatrix.LoadFromDataSource()
    End Sub
Regards
J.

Similar Messages

  • Unusual problem with N95

    Hello guys, as title says i have an unusual problem with my Nokia n95. Friend gave me few days ago and I wanted to update software at it, i did it few HRs ago (from 21.x to 31.0.017) and now I have problem. The thing is from when i did the update the phone keep lighting camera and up-down buttons from some time intervals( i'm not sure how much). I even did Initial restart and i've re-installed software also.. Any idea how to fix this ?
    Thanks anyway!

    Yeah thats what i did last, for now it's not lighting every time just when I ( for example enter camera, make photo/zoom and close application,after that i'ts lighting for few minuts), it's not about mask, I've tested it already with not mask ..
    It never happened before I updated the device..

  • Unusual problem with NumPad

    I have quite an unusual problem with my iMac and I'm hoping someone has the answer. I will do my best to explain what's going on.
    I started using a new program called Blender, which is an open source 3D modeling suite. In it, there are hotkeys which are required to function the program, like, CONTROL + NUMPAD 1, 2, 3 and so on...
    I have a full size keyboard with NUMPAD, so this is not a problem for me. However...
    When I attempt to press CONTROL + NUMPAD 1 (for example), it does not trigger the correct function in Blender. Instead, it switches SPACES to the corresponding SPACE. So, if I press CONTROL + NUMPAD 3, it displays my THIRD SPACE.
    This seemed simple enough to fix. I opened System Preferences, Keyboard, Keyboard Shortcuts and changed the hotkeys for SPACES to COMMAND, rather than CONTROL. However, this did not fix the problem entirely. Even though it managed to disable my top row of numbers as hotkeys for switching spaces, it did NOT change the NUMPAD functionality. If I hit CONTROL + NUMPAD 3, it STILL switched to my third space, despite me altering the hotkey to be COMMAND + #. It continues...
    I didn't really need this functionality from SPACES so I decided to try disabling it altogether. Once again, I opened System Preferences, Keyboard, Keyboard Shortcuts but THIS time, I unchecked "Switch to Desktop 1,2,3,4" hotkeys so as to disable the funtionality entirely. Despite this, it STILL did not work. I was STILL able to press CONTROL + NUMPAD #, and switch to the corresponding SPACE. I restarted OS X hoping something might change but it did not. I CANNOT disable this functionality and it is hijacking the ability to operate the Blender program.
    The problem gets stranger...
    I ask my Fiance, who has an identical iMac AND keyboard, running OS X Lion just as I am to attempt to perform similar actions. She was NOT able to switch SPACES by pressing CONTROL + NUMPAD #. Ironically, under HER system preferences, the keyboard shortcuts were all enabled and defaulted to CONTROL + #, yet she could not duplicate my problem on her iMac. As you can imagine, I was getting quite confused at this point and very frustrated. We tried switching keyboards. Same thing. On my iMac, I cannot disable the SPACES hotkey CONTROL + NUMPAD # and on my Fiance's iMac, she can not ENABLE it.
    In summary, whenever I press CONTROL + NUMPAD #, OS X switches to the corresponding SPACE. I've tried disabling the shortcuts under System Preferences but the problem persists. My Fiance has the exacty OPPOSITE problem and cannot enable the functionality. It's not the keyboard and we're running identical iMacs running OS X Lion. Any help would be INCREDIBLY appreciated! Thanks!

    As a matter of fact, I do have a solution, at least, one that one my laptop.
    First, a couple of trouble shooting steps:
    Create a new user a log as the new user.  If the new user doesn't have they Control-Numpad issue, you are probably looking at a user preferences issue.
    Start in safe mode (hold shift while booting).  Any number of extensions may map these keys for you (as a favor, of course)
    That said, I suspect that this is a user preferences issue; such as it was for me.
    The solution is to remove the symbolichotkeys property list file; it should be regenerated cleanly when you next log in.  The two files you need to remove are:
    ~/Library/Preferences/com.apple.symbolichotkeys.plist
    ~/Library/Preferences/com.apple.symbolichotkeys.plist.lockfile
    I always suggest having a system backup before fiddling, and I moved the files to my desktop temporarily (just in case!) before rebooting, testing, and finally deleting them.
    Here is some information on the files:
    http://hintsforums.macworld.com/showthread.php?t=114785
    Let me know if that solves your problem; it was a bear to track down.

  • Problem with matrix/screen in Qosmio F55-Q502

    Hello
    For a few weeks I have strange problem with matrix/screen in my laptop.
    The matrix flickers very often - no matter if power cable is plugged or not.
    The screen is full bright and suddenly it starts to blink - it is getting darker, than lighter, usually for few/dozen seconds. It does it when nobody touches it or when I work on it.
    It very annoying and making eyes tired - it does it very quickly and there are few levels of screen brightness.
    Moreover sometimes the screen turns off - You can see what is on desktop but the screen is very very dark (but not blank or completely switched off). It happens without any reason - sometimes just in the middle of working, sometime for example when I touch (not pull) the power cable between laptop and power supply.
    Then, the only way to get back to normal brightness of screen id to close the lid just for half a second and open it
    - matrix lights then normally, but can "turns off" moment later and I must do it once again - sometimes even few times..
    After "action" with lid screens seems like nothing ever happen..
    Does anyone have idea what is the cause of such behaviour or how to diagnose it in details?
    Or maybe solve this problem?
    Best regards
    300m

    Sounds like the Backlight or Inverter is failing or there is a loose connection.
    Is the unit under warranty? Send it to an ASP for repair.
    You should avoid repairing it yourself, the backlight is very high voltage!

  • I'm having an unusual problem with my iphone 4S. When I'm making a call, it suddenly sounds like my call has been invaded by aliens! Why is it doing this? I'm also having problems sending texts. Sometimes it sends sometimes it doesn't.

    I'm having an unusual problem with my iphone 4S. When I'm making a call, it suddenly sounds like my call has been invaded by aliens! Why is it doing this? I'm also having problems sending texts. Sometimes it sends sometimes it doesn't. What is going on? Can it be fixed? I'm really not liking this new phone!!!!

    Could be an issue with your Carrier and/or location...
    The Basic Troubleshooting Steps are:
    Restart..  Reset..  Restore from Backup...  Restore as New...
    Try a Reset...
    Press the sleep/wake button & home button at the same time, keep pressing until you see the Apple logo, then release the buttons...
    http://support.apple.com/kb/ht1430

  • Problem with Matrix/Checkbox/Datasource

    Hi, i have a problem with a Matrix.
    There are 3 Columns on this Matrix, one of those is a Checkbox. I fill the Columns with data, the Checkboxes where just added (no Checkbox is selected), the user has to select the value (Checkbox)he want's to by hand.
    After i filled the Matrix i can see all the data on the Form, it's OK, but then i loose all entries after SBO is doing some work. There where shown only the empty rows and the checkboxes.
    I guess it has something to do with the databinding. My problem is that i don't have the Data for this form on a db-table. I fill in the matrix the result of some querys. It looks like i need at least a DB-Field for the checkboxes, otherwise there are not working (not selectable)
    Somebody knows a solution how i can keep the Data in the Matrix after SBO is doing some work? What could be the reason that i loose the data after filling it in the Matrix? Is there an easy way?
    Thanks Andreas

    Almost every item on a form need a datasource... If the item reprecents some data in a table the databinding must be a dbds... If the data does not reflect any data in a table (Calulated value, user-decision, ect.) a userdatasource need to be created...
    Add a userdatasource
    oForm.DataSources.UserDataSources.Add(UID,type,length);
    Databind to DBDS
    col.DataBind.SetBound(true,”TABLE”,”FIELD”);
    Databind to UDS
    col.DataBind.SetBound(true,””,UID);

  • Problem with Matrix columns of type Float

    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)
    oCl = oGrid.Columns.Add("clQta", SAPbouiCOM.BoFormItemTypes.it_EDIT)
    oCl.Width = 100
    oCl.TitleObject.Caption = tr.getTranslation("clQta") '"Quantità"
    oCl.DataBind.Bind("PCKG", "clQta")
    In this way the number of decimal that i see is 2 because the field type is Float, but in SBO parameterization i have set 4 decimal and would like to see the same number of decimal set in SBO parameterization.
    How can I do?
    Thanks

    Hi,
    If i know well, this is now a limitation of B12007 version. in 8.8 this problem will be resolved.
    othwewise of you set all the prices, Quantities, Sumarizes to 4 it will display for. I think it is now displaying the Quantity settings. (float)
    Regards,
    J.
    Edited by: János Nagy on Oct 7, 2009 12:50 PM

  • Unusual Problem with Yahoo and Apple Mail

    I hope it doesn't turn out that the user is the thing that is "unusual." 
    Background:
    Devices: MBP, iPad, iPhone, iMac
    Mail accounts: Gmail, mobileme, Yahoo
    MBP settings: uses "default ports", SSL, and user name and password - Advanced Tab: Port 993 and SSL
    iPad/iPhone settings: SMTP server settings - grayed-out - with SSL checked and Port 465
    As of last night, I found four messages that were stuck in my Sent box, with the spinning gear that would not stop.  This only happens when using my Yahoo account, and it only happens when sent from my MPB.  It is also only related to outbound messages. 
    Now for the part that has me perplexed.  My password for Yahoo (web), is the same as the password on my MBP (Apple Mail).  The passwords that I have on the iPhone and iPad, are the same for both, but they're different than the password for the previous two that I mentioned.  When I changed the password on my MBP to match the one that's on my mobile devices, it came up with an error for an incorrect username or password.  
    How can I have different passwords and still have mail working?  What am I missing?  Also - more to the point of my issue, can anyone offer some suggestions as to why the outbound side of Apple Mail, is not working for Yahoo?
    Thank you.

    Sorry...it's too bad you can't delete questions...  Problem solved - port number needed to be changed, and the password was deleted for some reason.  I still don't know why I see two different passwords for the same account....  Thanks for looking.

  • Problem with Matrix Editor

    I have recently been unable to open the matrix editor when trying to edit midi notes. I did a search to see if anyone else experienced this, I found some clues but I am still having problems. I am pretty sure it is my system and not the midi files I am getting off the net. I tried opening a track that I had edited before and nothing. The windows menu highlights when I press "command 6" but nothing happens. All of the other windows open except the matrix.
    First I made sure the "links" button was greyed out. I can only get it to turn purple and grey. I thought it used to turn yellow. Is there some other setting I have mistakenly switch off. I am really frustrated and need a fresh perspective. Thanks for you time. Phil
    Dual 1.8 G5   Mac OS X (10.4.4)   Dual Raptors, Digitech, TCHelicon and BBE Sound Processors

    Not quite sure what happened but for some reason I ran the setup as AU assistants again just for the heck of it. Now the window open with no problem or hesitation. I just love computers ( when they do what I want them to)!

  • 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.

  • Unusual problem with display

    Hi Linuxers!
    I installed Arch ( netinstall)  for about week ago and It works great! Everything started to work almost "out-of-box". I just had to install few things but I did it without any problems - just using wiki on this page
    I installed gnome and gnome-extra ( or something like that - I do not remember exactly ) and, off course, nvdia driver from pacman ( I have GT320M ). On this lap top I have Ubuntu 9.04, too,  with installed nvidia driver downloaded from nVidia site.
    Now... PROBLEM is next:
    when I work on Arch, after few minutes, my eyes start to pain ( hurt ) me! I do not see anything strange, anything what is to much different than in Ubuntu but it's just hapening... I tried to change font, but it doesn't help! Refresh rate is 60Hz, resolution 1600x900 ( in NVIDIA X Server Settings ) Here is SS:
    http://img220.imageshack.us/i/screenshotcn.png/
    Does anyone have idea what is posible problem? Do you have same problem when watching my ScreenShoot?

    @Cyrusm: It is lap top 17" monitor and in nvidia setting there is only 60hz and Auto options. I set it to 60 just like in Ubuntu.
    @ngoonee: why do you hate color scheme, it's default Gnome there I tried allready change of theme, but problem is not solved...

  • Big problems with Matrix and Screen Painter

    Hi all !!!
    I have a terrible time with my matrix in screen painter. I looked over all the samples in SDK and tried different things. The closest i got to make it work is when my form loads, i can click in each on my cells on the first row of the matrix but when i enter data if i click on another cell i lose the data. My form is fairly simple. I got 4 fields as regular data and a matrix with 8 columns. Can someone help me with this !!!  Maybe one of you have an complete example for entering manually data in cells and then save it. I'm using a UDT (not UDO) table and using .net ...
    Thanks in advance

    Hi Alain
    It's not necaserry to delete the matrix. Leave it there. Then access your matrix with the following code
    Dim oMatrix As SAPbouiCOM.Matrix
    Dim oColumn As SAPbouiCOM.Column
    Dim oColumns As SAPbouiCOM.Columns
    oMatrix = SBO_Application.Forms.Item("FormID").Items.Item("MatrixID").Specific
    oColumns = oMatrix.Columns
    oMatrix.Clear()
    then create datasource and bind
    oForm.DataSources.UserDataSources.Add("DataID", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 20)
    oColumn = oColumns.Item("ColID")
    oColumn.DataBind.SetBound(True, "", "DataID")
    Hope this helps

  • Problems with matrix's columns

    Hi friends,
    I'm working on the "133" SBO form , and i would exchange
    data from the four columns i've added to the Matrix,to the UserTable i've created before.
    I created columns in this way:
    FUColSp = FUmatrix.Columns.Add("col1", SAPbouiCOM.BoFormItemTypes.it_EDIT)
                                FUColSp.TitleObject.Caption = "Saldo"
                                FUColSp.Width = 60
                                FUColSp.Editable = True
    Now i would make some calculations between values on the columns' cells and my usertable data.
    The problem is that SBO doesn't allow me to edit values in the "new columns' cells" so i can do nothing.
    How can i solve this problem?
    Does every column "MUST BE BOUNDED" to a datasource or not?
    Thank you very much!
    Giammichele.

    Hi,
    You can create a UserdataSource to your columns.
    1- Create a UserdataSource in you form
    oForm.DataSources.UserDataSources.Add("MyDataCol1", SAPbouiCOM.BoDataType.dt_SHORT_NUMBER, 30)
    2-Create your column and assign the datasource
    FUColSp = FUmatrix.Columns.Add("col1", SAPbouiCOM.BoFormItemTypes.it_EDIT)
    FUColSp.TitleObject.Caption = "Saldo"
    FUColSp.Width = 60
    FUColSp.Editable = True
    FUColSp.DataBind.SetBound(True, "MyDataCol1", "col1")
    3- Use the value of your column
    Ribeiro Santos

  • Twice experienced an unusual problem with my iPod touch 5th generation running iOS 8.0: crashes and disables power up. HOME and POWER pressed together to reset.

    iPod touch 5th generation running iOS 8.0. iOS crashed twice, disabling power up. The only recovery was pressing and holding the home and power buttons together for several seconds. The iPod touch then went into restore mode. I've never experienced, heard or read of an iOS crash preventing normal power up: device has known battery charge, does not respond to pressing power button or connecting to AC charger.

    That happens some times. Try:
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes      
    - Restore to factory settings/new iOS device.                       
    If still problem/it still keeps recurring, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar                                                              

  • Hi guys, I am using Macbook pro 17" for last 1 year... recently for the last 4-5 monts i am experiencing 2 unusual problems with the videos. first is that when I run videos on full volume it starts giving jerks and break ups.....

    hi guys,
    2 display/video isssues
    1) when videos played with full volume, it starks giving jerks and breaks
    2) some times when i play videos it gives glitches althougs the videos are clean when played on another computer.
    please let me know and help out guys.

    A Question...
    How much Free Disc Space do you have on your Hard Drive...?

Maybe you are looking for

  • LDB selection screen field mandatory

    hi, In LDB selection screen i want to make other period field as mandatory. how to do it? if anyone knows please help me. thanks in advance. Suchithra.

  • BO 4.0 Recommended Hardware Requirements

    Hi all, Now I run the BO 4.0 SP4 base on these requirements:      Processor --> 2.0 GHz with 4 Cores      RAM --> 11 GB      OS --> Windows Server 2008 R2 Enterprise (VMWare) However, I would like to upgrade the hardware specification to increase the

  • Question regarding scripting OS install + applications

    I'm getting the hang of SCCM now and I thank you all who have helped greatly answering my (many) questions here.   It is really appreciated. One of my next questions is - can I create a task sequence that  installs both OS and applications all in a s

  • Required Parallel Approval from OTL Timekeeper Entry Form

    Hi All, Is it possible to perform parallel approval from OTL timekeeper entry form? it is using the following workflow OTL Seeded Approval Workflow HXCSAW(i think) if it is using this workflow can we change this workflow or need to write a new workfl

  • Old accounts disappeared after adding google account

    I have similar problem, after adding new Google account on BB, old account disappeared and all infos are taken from Google and not anymore from Outlook. Then re-created previous account and deleted Google one: no solution, re-installed BB-DTop Mng: m