How to sort a system matrix

I want to sort the data in the <Belegnachdruck> Matrix by the DocNum.
How can I handle it with SDK?

Hi!
thanx for translating
its too simple, here is code:
SAPbouiCOM.Matrix printMatrix = (SAPbouiCOM.Matrix)SBOApp.Forms.Item("191").Items.Item("3").Specific;
printMatrix.Columns.Item("1").TitleObject.Click(SAPbouiCOM.BoCellClickType.ct_Double, 0);
I don't know your project mission, but you can see here the main idea - double clicking by codeline over column header..
Hope it'll solve your problem!

Similar Messages

  • How to sort data in Matrix report

    I've used Report6i and create report in Matrix format.I want the report to display data in sorting by data in cell. Anyone pls help me.
    --it's show this
    applicant_id/score Score
    08002 400
    08003 200
    08004 700
    08006 653
    08008 560
    08010 800
    -- but i want to see this
    applicant_id/score Score
    08010 800
    08004 700
    08006 653
    08008 560
    08002 400
    08003 200
    i tried to set the group's property( break order property ). It doesn't allow me to set break order property of applicant_id's group to none. And tried to write 'order by' in the SQL statement but it doesn't help.

    Hi,
    If Oracle can give you back the right sort order without any custom sorting,
    that means you should be able to get the same results in WebI.
    If the object that you pull from the universe is the wrong type (like numeric but you want it alphanumeric),
    then you can either request you designer to give you an object with the right data type,
    or you can change it by creating a report variable using
    FormatNumber([original object],"0")
    this will format the number to a number without leading zeroes, thousand separators or decimal point.
    Now you can use the object as if it came from the universe.
    So you can also use it on the x-axis of a chart.
    Btw. you can also do a custom sort on the x-axis(as long as it is an object or variable, not a formula)
    alternative, if you define a custom sort in a table block, you can state it should be used througout the document.
    (so also in the charts.
    Hope this helps,
    Marianne

  • How to fill values in the system matrix through code

    hi
    All
    i want to fill the system matrix in the sales order in such a way that
    Items will be filled in system matrix in the lost focust event of the Customer Code selection in the Sales order Document
    how can i fill the system matrix through code
    one thing that first column(ItemCode)  of the system matrix column is a Icombbox type
    Now i need to fill out item code using code
    can any one suggest the answer
    thanks in advance

    madhu,
    You need to catch the Validate event, when pVal.BeforeAction = False for form items 4 (CardCode) and 54 (CardName) of the Sales Order form.
    Concerning the form's matrix, you can fill it but you cannot change it (you cannot change the ItemCode column into a ComboBox. Is is a EditText)
    Fill a System matrix's Cell with the following code:
        Dim oMatrix As SAPbouiCOM.Matrix = oForm.Items.Item("38").Specific
        oMatrix.Columns.Item("ItemCode").Cells.Item(Row_Num).Specific.Value = "Item_Code"
    Regards,
    Vítor Vieira

  • How to change the order of the columns in system matrix?

    Hi all,
    Is there any way to change the order of the columns in system matrix through SDK, without doing it from 'Form settings'??

    Hi ,
    is this true for the 'Active' property also , in CPRF table? I want to check whether the Item is active or not becuse, when I m trying to copy the value in item which is not active, I m given error. Is there any way to change or active the 'Active' flag in form settings at run-time?
    Any clue?
    Thanks in advance,......
    Binita

  • How to select a rows in system matrix

    Hi All
    Iam trying to select a particular rows in a system matrix
    I added a edittext item on the system form A/R Invoice
    what i have to do is i have to search the text  in edittext item whether it is there in the matrix .
    if text matches to  text in any column in the matrix then that particular row should be select
    I done the searching text with matrix but i didnt get the row selection
    i used
    sbomatrix.selectrow(1,true,false)
    but it showing error message
    "Item-Item is not a User -Defined Item [66000-8]"
    thanks in advance

    Hi
    Thnks For ur Reply
    According to ur suggestion i tried but only one row is selecting
    i used shift and also control Key
    but only one row is selecting
    I tried Following Code
    sbomatrix.Columns.Item("0").Cells.Item(i).Click(SAPbouiCOM.BoCellClickType.ct_Regular, SAPbouiCOM.BoModifiersEnum.mt_CTRL)
    and also with shift
    sbomatrix.Columns.Item("0").Cells.Item(i).Click(SAPbouiCOM.BoCellClickType.ct_Regular, SAPbouiCOM.BoModifiersEnum.mt_SHIFT)
    but Only One Row is Selecting not Multiple Row
    Thanks in Advance

  • How to sort files and folders like Windows

    I don't know if this is specific to Arch or every other Linux distro but one thing that really bugs me in Arch is how files and folders are sorted. I use Windows as my main OS (don't start on that please) and I have one folder properly organized exactly as I want it and I like it how Windows sorts this. I access that same folder from my Arch installation, the problem is that the sorting is different and it gets on my nerves lol...
    This is how Windows sorts that specific folder:
    C:\Users\Nazgulled\Documents\University>dir /O
    Volume in drive C is Vista
    Volume Serial Number is F84E-02BE
    Directory of C:\Users\Nazgulled\Documents\University
    05-08-2009 15:34 <DIR> .
    05-08-2009 15:34 <DIR> ..
    05-08-2009 11:10 <DIR> [Archives]
    05-08-2009 14:38 <DIR> [Developers]
    05-08-2009 11:17 <DIR> [X] 1) Cálculo II
    05-08-2009 11:18 <DIR> [X] 2) Análise de Custos
    05-08-2009 11:18 <DIR> [X] 2) Cálculo de Programas
    05-08-2009 11:18 <DIR> [X] 2) Laboratórios de Informática III
    05-08-2009 11:18 <DIR> 2) Algoritmos e Complexidade
    05-08-2009 11:18 <DIR> 2) Arquitectura de Computadores
    05-08-2009 11:18 <DIR> 2) Comunicaçao de Dados
    05-08-2009 11:18 <DIR> 2) Engenharia Económica
    05-08-2009 11:18 <DIR> 2) Estatística Aplicada
    0 File(s) 0 bytes
    13 Dir(s) 24.700.485.632 bytes free
    And this is how Arch does it:
    nazgulled ~/University $ ls -l
    total 7
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:18 2) Algoritmos e Complexidade
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:18 2) Arquitectura de Computadores
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:18 2) Comunicação de Dados
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:18 2) Engenharia Económica
    drwxr-xr-x 1 nazgulled nazgulled 8192 2009-08-05 11:18 2) Estatística Aplicada
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:10 [Archives]
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 14:38 [Developers]
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:17 [X] 1) Cálculo II
    drwxr-xr-x 1 nazgulled nazgulled 12288 2009-08-05 11:18 [X] 2) Análise de Custos
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:18 [X] 2) Cálculo de Programas
    drwxr-xr-x 1 nazgulled nazgulled 4096 2009-08-05 11:18 [X] 2) Laboratórios de Informática III
    How can I get Arch/Linux to sort exactly the same as Windows?
    Last edited by Nazgulled (2009-08-05 14:41:47)

    toad wrote:
    Nazgulled wrote:Surely there must be a way to have the same sorting collation in Linux like in Windows
    Ah, no. The way they are doing it is nonsensical and not good practice for a unix style system. Having said that, some solutions have already been offered in this thread.
    While you are free to continue to ask others to help you achieve your aims, it may be more convenient for you to adapt to a structure that is displayed the same way under all systems (just to avoid frustration - not saying you _should_ do it ).
    I really don't care if it's nonsensical, I use Windows 95% of the time or more, it's my main OS, I'm used to it and I like it. Why should I care if it's not a good practice for a unix style system? I just want things to behave the way I like and for a free system like Linux where it doesn't even compare to Windows in terms of freedom in what I can do with it and configure the way I like, it sure is hard to change the way folders/files are sorted...
    It sucks that there isn't a proper solution but I'm not going to adapt anything, that would be nonsensical... But if I have to, I can live with the fact that there isn't a good solution and leave it as it is
    Thanks everyone for their input, "topic closed".

  • My 2009 macbookpro has begun running very slowly, apps freeze and pages hang ... i've run EtreCheck and there are problems but don't know how to sort

    my 2009 macbookpro has begun running very slowly, apps freeze and pages hang ... i've run EtreCheck and there are problems but don't know how to sort ... ran CleanMyMac and freed up about 30GB of space but didn't help ... ran AdwareMedic so that's been sorted but the other issues that came up on the EtreCheck I need help with however i can't figure out how to paste the results on this page

    thanks thomas ... here it comes
    EtreCheck version: 2.1.5 (108)
    Report generated December 29, 2014 at 5:03:07 PM GMT
    Click the [Support] links for help with non-Apple products.
    Click the [Details] links for more information about that line.
    Click the [Adware] links for help removing adware.
    Hardware Information: ℹ️
        MacBook Pro (17-inch, Early 2009) (Verified)
        MacBook Pro - model: MacBookPro5,2
        1 2.66 GHz Intel Core 2 Duo CPU: 2-core
        4 GB RAM Upgradeable
            BANK 0/DIMM0
                2 GB DDR3 1067 MHz ok
            BANK 1/DIMM0
                2 GB DDR3 1067 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
        NVIDIA GeForce 9400M - VRAM: 256 MB
            Color LCD 1920 x 1200
        NVIDIA GeForce 9600M GT - VRAM: 512 MB
    System Software: ℹ️
        OS X 10.9.5 (13F34) - Uptime: 0:5:36
    Disk Information: ℹ️
        FUJITSU MHZ2320BH FFS G1 disk0 : (320.07 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            [redacted]'s world too (disk0s2) / : 319.21 GB (30.39 GB free)
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
        MATSHITADVD-R   UJ-868 
    USB Information: ℹ️
        Apple Inc. Built-in iSight
        Apple Inc. iPhone
        Logitech USB Receiver
        Apple Inc. BRCM2046 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple, Inc. Apple Internal Keyboard / Trackpad
        Apple Computer, Inc. IR Receiver
    Configuration files: ℹ️
        /etc/hosts - Count: 29 - Corrupt!
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /Library/Application Support/Roxio
        [not loaded]    com.roxio.TDIXController (1.7) [Support]
            /System/Library/Extensions
        [not loaded]    com.kensington.mouseworks.iokit.KensingtonMouseDriver (3.0) [Support]
            /System/Library/Extensions/KensingtonMouseDriver.kext/Contents/PlugIns
        [not loaded]    com.kensington.mouseworks.driver.ADBID32Mouse (3.0) [Support]
        [not loaded]    com.kensington.mouseworks.driver.ADBID32MouseX1 (3.0) [Support]
        [not loaded]    com.kensington.mouseworks.driver.ADBID4Mouse (3.0) [Support]
        [not loaded]    com.kensington.mouseworks.driver.ADBID4MouseX1 (3.0) [Support]
        [not loaded]    com.kensington.mouseworks.driver.KMWBluetoothHIDMouse (3.0) [Support]
        [not loaded]    com.kensington.mouseworks.driver.KMWBluetoothOldHIDMouse (3.0) [Support]
        [not loaded]    com.kensington.mouseworks.driver.KMWUSBHIDMouse (3.0) [Support]
        [not loaded]    com.kensington.mouseworks.driver.USBMouseX1 (3.0) [Support]
        [not loaded]    com.kensington.mouseworks.driver.VirtualMouse (3.0) [Support]
        [not loaded]    com.kensington.mouseworks.driver.VirtualMouseX1 (3.0) [Support]
        [not loaded]    com.kensington.mouseworks.iokit.KensingtonMouseDriverX1 (3.0) [Support]
    Startup Items: ℹ️
        AdobeVersionCueCS2: Path: /Library/StartupItems/AdobeVersionCueCS2
        Firewall: Path: /Library/StartupItems/Firewall
        RetroRun: Path: /Library/StartupItems/RetroRun
        Startup items are obsolete in OS X Yosemite
    Launch Agents: ℹ️
        [not loaded]    com.adobe.AAM.Updater-1.0.plist [Support]
        [loaded]    com.adobe.CS4ServiceManager.plist [Support]
        [loaded]    com.adobe.CS5ServiceManager.plist [Support]
        [invalid?]    com.oracle.java.Java-Updater.plist [Support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Support]
        [invalid?]    com.adobe.SwitchBoard.plist [Support]
        [loaded]    com.adobe.versioncueCS3.plist [Support]
        [loaded]    com.adobe.versioncueCS4.plist [Support]
        [running]    com.atomicbird.macaroni.launchd.plist [Support]
        [loaded]    com.macpaw.CleanMyMac2.Agent.plist [Support]
        [invalid?]    com.oracle.java.Helper-Tool.plist [Support]
        [loaded]    com.prosofteng.DriveGenius.locum.plist [Support]
        [loaded]    com.skype.skypeinstaller.plist [Support]
    User Launch Agents: ℹ️
        [loaded]    com.adobe.AAM.Updater-1.0.plist [Support]
        [loaded]    com.adobe.ARM.[...].plist [Support]
        [loaded]    com.adobe.ARM.[...].plist [Support]
        [loaded]    com.google.keystone.agent.plist [Support]
        [loaded]    com.macpaw.CleanMyMac2Helper.diskSpaceWatcher.plist [Support]
        [loaded]    com.macpaw.CleanMyMac2Helper.scheduledScan.plist [Support]
        [loaded]    com.macpaw.CleanMyMac2Helper.trashWatcher.plist [Support]
        [running]    com.prosofteng.DGMonitor.plist [Support]
        [running]    ws.agile.1PasswordAgent.plist [Support]
    User Login Items: ℹ️
        CNQL1210_ButtonManager    ApplicationHidden (/Library/CFMSupport/CNQL1210_ButtonManager.app)
        System Events    ApplicationHidden (/System/Library/CoreServices/System Events.app)
        Mail    Application (/Applications/Mail.app)
        Firefox    Application (/Applications/Firefox.app)
        AdobeResourceSynchronizer    ApplicationHidden (/Applications/Adobe Reader 9/Adobe Reader.app/Contents/Support/AdobeResourceSynchronizer.app)
        Calendar    Application (/Applications/Calendar.app)
        Skype    Application (/Applications/Skype.app)
        Dropbox    Application (/Applications/Dropbox.app)
        AdobeResourceSynchronizer    ApplicationHidden (/Applications/Adobe Reader.app/Contents/Support/AdobeResourceSynchronizer.app)
        MouseWorks Background    Application (/Library/Application Support/Kensington/MouseWorks.prefPane/Contents/Resources/Support/MouseWorks Background.app)
    Internet Plug-ins: ℹ️
        AdobePDFViewerNPAPI: Version: 11.0.10 - SDK 10.6 [Support]
        Flash Player: Version: 16.0.0.235 - SDK 10.6 [Support]
        EPPEX Plugin: Version: 3.0.0.0 [Support]
        AdobePDFViewer: Version: 11.0.10 - SDK 10.6 [Support]
        ContentUploaderPlugin: Version: 1.2 [Support]
        iPhotoPhotocast: Version: 7.0
        RealPlayer Plugin: Version: Unknown [Support]
        PDEPrint: Version: 2.0 [Support]
        DirectorShockwave: Version: 11.5.2r602 [Support]
        PDF Browser Plugin: Version: 2.4.2 - SDK 10.2 [Support]
        FlashPlayer-10.6: Version: 16.0.0.235 - SDK 10.6 [Support]
        QuickTime Plugin: Version: 7.7.3
        CANONiMAGEGATEWAYDL: Version: 3.0.0.2 [Support]
        DivXBrowserPlugin: Version: 1.3 [Support]
        Silverlight: Version: 5.1.30514.0 - SDK 10.6 [Support]
        Google Earth Web Plug-in: Version: 6.0 [Support]
        Default Browser: Version: 537 - SDK 10.9
        Flip4Mac WMV Plugin: Version: 3.2.0.16   - SDK 10.8 [Support]
        JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Check version
        OfficeLiveBrowserPlugin: Version: 12.3.6 [Support]
    User internet Plug-ins: ℹ️
        QuickTime Plugin: Version: 6.5.1
        fbplugin_1_0_0: Version: Unknown [Support]
    Safari Extensions: ℹ️
        Ultimate [Installed]
    3rd Party Preference Panes: ℹ️
        ASM  [Support]
        DivX  [Support]
        Flash Player  [Support]
        Flip4Mac WMV  [Support]
        Macaroni  [Support]
    Time Machine: ℹ️
        Skip System Files: NO
        Mobile backups: OFF
        Auto backup: NO - Auto backup turned off
        Destinations:
            G-DRIVE Mini [Local]
            Total size: 999.86 GB
            Total number of backups: 7
            Oldest backup: 2014-07-09 00:13:07 +0000
            Last backup: 2014-12-10 22:18:57 +0000
            Size of backup disk: Excellent
                Backup size 999.86 GB > (Disk size 0 B X 3)
    Top Processes by CPU: ℹ️
             6%    WindowServer
             3%    firefox
             1%    mds_stores
             0%    mdworker
             0%    Skype
    Top Processes by Memory: ℹ️
        348 MB    firefox
        137 MB    Skype
        122 MB    mds_stores
        120 MB    com.apple.IconServicesAgent
        73 MB    Dropbox
    Virtual Memory Information: ℹ️
        1.26 GB    Free RAM
        1.74 GB    Active RAM
        477 MB    Inactive RAM
        543 MB    Wired RAM
        503 MB    Page-ins
        0 B    Page-outs
    Diagnostics Information: ℹ️
        Dec 29, 2014, 04:58:09 PM    Self test - passed
        Dec 29, 2014, 10:58:04 AM    /Library/Logs/DiagnosticReports/Keychain Access_2014-12-29-105804_[redacted].hang
        Dec 29, 2014, 10:54:33 AM    /Library/Logs/DiagnosticReports/Keychain Access_2014-12-29-105433_[redacted].hang
        Dec 29, 2014, 10:52:33 AM    /Library/Logs/DiagnosticReports/Keychain Access_2014-12-29-105233_[redacted].hang
        Dec 29, 2014, 10:50:24 AM    /Library/Logs/DiagnosticReports/Keychain Access_2014-12-29-105024_[redacted].hang
        Dec 29, 2014, 10:50:24 AM    /Library/Logs/DiagnosticReports/Skype_2014-12-29-105024_[redacted].hang

  • AffectsFormMode property of User defined field in system matrix

    Hallo
    I added one UDF in System matrix of  service call id at panel  Solution.
    I  set formated search for that UDF field to populate Symptons data from  system knowldge base form (table).
    I set the fromatted search property for that UDF Column is Automatic.
    So when i nevigate record on Service call form, this UDF column fetch the value and so form goes in Update Mode.
    Please i want to   AffectsFormMode  property for that column, so i  have to get the form mode is "OK"
    How it is possible.
    Pleaase help me
    Narendra
    Edited by: NarenKD on Dec 28, 2010 12:24 PM

    Hi H2
    It is true,
    But When i  open 'Service Knowledge Base'  child form  by clicking ID Link Button in Solution Tab of Service Call Form
    and update that form (here symptoms field important for me),
    it does not change the state of Parrent Service call form  to update.
    Also there is not any link between this two table SCL1 service call  and OSLT Solution knowldege table In PLD.
    so i create Symptoms  UDF in matrix at solution tab of Service call form.
    also i create formatted search to fill this column.
    I set that formatted search as "auto refresh when field change"
    so when i navigate through service call records. it featches and put value in that UDF column and make form state "Update"
    I want to avoid it.
    means when i navigate the service call, when the value of  that UDF Is different then OSLT table then that Service Call goes to update state otherwise it have OK state.
    I used query in formatted search to fetch the value for UDF
    What will be the solution for this problem.
    Also tell me Can i call formatted search through program means can i give formatted search command (shift F2. or press formatted seach button) in program.
    Regards
    Narendra
    Edited by: NarenKD on Dec 29, 2010 9:41 AM
    Edited by: NarenKD on Dec 29, 2010 9:50 AM

  • How to sort files by TimeStamp.

    Hello friends,
    I have files which has following format.
    Paymentxxxx.xml where xxxx is time in YYYYMMDDHH:MM:SS format.Example file name can be
    Payment20010726143455.xml.How to sort such files according to time so that i can get old files first.
    Thanks

    <pre>
    import java.util.*;
    import java.text.*;
    class Timing
         public static void main(String[] args)
              try
              SimpleDateFormat sdf=new SimpleDateFormat();
              String formatter="yyyyMMddhhmmss";
              sdf.applyPattern(formatter);
              //Accept files names here , and deduct extension and pass them into array as following
              String[] inputdates={"19760909132332","19760909032332","19830901132332","19800909132332"};
              Date[] conversionDate=new Date[inputdates.length];
              for(int i=0;i<inputdates.length;i++)
                   conversionDate=sdf.parse(inputdates[i]);
              Date[] outputDates=sortDates(conversionDate);//Sorting dates
              for(int i=0;i<outputDates.length;i++)
              System.out.println(outputDates[i]);//CONVERT DATES INTO STRINGS
              catch(Exception e)
         private static Date[] sortDates(Date[] dates)
              int COUNT = dates.length;
              int j;
              Date tempDate;
              for(int i=0;i<COUNT;i++)
                   j=i-1;
                   tempDate=dates[i];
                   while(j>=0 && tempDate.before(dates[j]))
                        dates[j+1]=dates[j];
                        dates[j]=tempDate;
                        j--;
              return dates;
    </pre>

  • Check box in system matrix

    hi  kings
    how to create check box in system matrix.
    Thanks & Best Regards
    B.Lakshmi Narayanan

    Hi,
    I am in need of creating a UFD of type Check Box in Sales Order Screen. I would like to know how to go about defining the UDF. Please reply..
    Thanks in advance.
    Regards
    Rohan S. Kamble.

  • Set value to system matrix (38) cell

    Hello,
    Thanks for your reply.
    I need to set value for some UDF on a system matrix (38). Crurrently ,I use following code:
    public void SetValue(string columnUniqueId, int matrixRowIndex, string value);
    (I'm using the coresuite framwork)
    The coresponding way in SDK would be:
    oMatrix.Columns.Item("columnUniqueId").Cells.Item("matrixRowIndex").Specific.value = "value"
    This works but when I have more than 10 UDF to fill together, the performance is bad. It takes nearly 3-4 seconds to load one item(row).
    Is there any fast way to set the value? Or is there any other suggestion how to do it?

    No, the problem is not by loading of UDFs by a existing document.
    But when you create a new document and you add a new postion to the document by choosing an item. Then our AddOn copies the UDF values from the item master data into the corresponding UDFs in the postion. At this moment I have to write them manually.
    The best would be when the UDFs in the Item Master Data would be autiomatically created also  in the postion of documents. Because in this way they would be automatically loaded by SBO itself.
    I think SBO has a mistake in its design by here.

  • Trick to Load Data into System Matrix?

    Hi,
    Is there any possibility to load a system Matrix, see code below:
    The code below break at LoadFromDataSource (Not user defined)
    Thank You!
    Rune
    CODE
    oForm.DataSources.DataTables.Item("SYS_77").ExecuteQuery("SELECT [U_ItemCode] WHERE [U_MyField1] = 'A' AND [U_MyField2] = 'N'");
    ( ( SAPbouiCOM.Matrix ) ( oForm.Items.Item("77").Specific ) ).Columns.Item("1").DataBind.Bind("SYS_77", "U_ItemCode");
    ( ( SAPbouiCOM.Matrix ) ( oForm.Items.Item("77").Specific ) ).Clear();
    ( ( SAPbouiCOM.Matrix ) ( oForm.Items.Item("77").Specific ) ).LoadFromDataSource();
    ( ( SAPbouiCOM.Matrix ) ( oForm.Items.Item("77").Specific ) ).AutoResizeColumns();

    Hi Petr,
    your first option is understood but, will you please explain the second one?
    "when is there more lines, create user defined field in lines table, with di api make update of this userdefined field and then make form.update"
    I have number of lines to be filled in system matrix and have used only first option, which is unacceptably slow. how can the use defined column's data be transferred to system columns without copying them on cell level as suggested in first  option by you?
    thanks and regards,
    Binita

  • Is it Possible to link user defined column of system matrix ?

    HI All,
    Is it possible to link (with ExtendedObject) user defined column  of system matrix?
    For Example, In purchase order form, I have added one column called U_ItemCode (through Tools-User Defined Fields-Marketing Doc). I want to give drill down to Item master.
    Here is the code:
    OColumn = OMatrix.Columns.Item("U_ItemCode")
    olink = OColumn.ExtendedObject
    olink.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_Items
    the last line gives me 'Object refrence not set to an instance of the object' error.
    For user form, it works fine (since it has the column defined as LinkedColumn in screen painter). How can we do this in system matrix?
    thanks in advance
    regards,
    Binita

    Hi Binita,
    nice to see you
    i mean the following:
    1.) add the field in marketing document lines -> you need this to store the values in database
    but this user field column will not have the arrow so we do ...
    2.) you also add a linked column to the system matrix. you can copy the values from the udf column
    to your manual added column and than you can use the arrow. (maybe you should disabled this column)
    the result is you have two columns - the udf column and the linked manual column
    i hope you know what i mean - very complicated
    regards
    David

  • Is posible to do a choosefromlist in a user defined column of system matrix

    Hi all,
    I have a question that i can´t solve. Is posible to do a choosefromlist in a
    user defined column of system matrix?How can i do it?and i can use a datatable?How? 
    Thank you all again!
    Regard.

    The answer is No , that I know of.  The matrix permits ony the it_EDIT, it_COMBO_BOX, PICTURE, and CHECKBOX types.  Additionaly it has an LINK_BUTTON type
    Choosefrom list works best with UDOs.  Which means that you have to create your table and specify it in an UDO in order for the choosefromlist to have access to it.
    Maybe there's a manual workaround, like say for instance that if the user clicks the Tab button you can then pop up another screen with a list of items.
    Hope it helps!

  • Can i write in to field of system matrix??

    can i write in to field of system matrix??

    Yes, that is possible, but only using the UI (not the datasource) and only if the field is visible and editable (if a user could write to it so could you)...
    A small sample on how to do it (C#):
    ((EditText)oMatrix.Columns.Item("coluid").Cells.Item(<rowNumber>).Specific).Value = "my value"
    Be aware though... Updating data this way can be quite slow...

Maybe you are looking for