Slow performance whith user form matrix using UserDataSources

Hello,
I have a matrix with ~5 columns for weeks OR ~30 columns for days. I´m using UserDataSources and it is very slow to fill the matrix, it takes ~0.8 seconds per line with 5 columns and ~1.7 seconds per line with 30 columns (with no over head of values calculation).
I tried using a auxiliary User Table to be able to use DBDataSources but improves only 4 seconds (with 5 columns, from 12 seconds of the userdatasources) to 10 seconds (with 30 columns, from 50 seconds of the userdatasources) in my small test of only a dozen lines.
With the over head of the calculation (using RecordSets to read values from other tables) it is very slow.
I have read other answers in the forum and they say to use datasources but that is wath i am doing!
Any suggestions, PLEASE?
Jorge Lopes

Edward,
Had already seen it, but thank you for the answer anyway.
I would like to know if the times i gave are normal or to slow (anyone from SAP?).
I saw a post where they said they filled 1000 lines with 8 columns in 7 seconds, must be only DBDataSource not with UserDataSources!!!
Jorge Lopes

Similar Messages

  • Slow response in opening form when using webutil

    Hi,
    When I try to use the webutil functions, I find it is very slow in opening the form.
    It takes about 30 seconds.
    But if I remove the frmwebutil.jar in the server directory /forms/java/, it takes
    less than 3 seconds.
    Any suggestion ?
    Thanks in advance.
    Ivan

    Do you find the slow startup everytime with webutil or only the very first time you use webutil. The JAR file should be cached which means if the jar download is make it slow then it should be faster next time you run it.
    The other point is do you actually have any webutil code running when you use webutil - maybe that code is causing the problem.
    REgards
    Grant

  • Slow performance on updating B1 matrix..

    hi,
    I am updating data in B1 matrix. It take about 7 seconds to update 5 columns. Anyone know how to make it faster?
    Thanks.
    Regards,
    sohch

    Hi,
    I'm also missing the possibility of using the (db-)datasources on SAP forms for writing.
    Do you use the event filters in your addon? With this you can restrict the event types per form-type, which your add-on accepts.
    If your add on ONLY needs key-down and pressed-item events on form 149 for example you must say (when starting the addon):
    Dim oFilters As SAPbouiCOM.EventFilters
    Dim oFilter As SAPbouiCOM.EventFilter
    oFilters = New SAPbouiCOM.EventFilters
    oFilter = oFilters.Add(SAPbouiCOM.BoEventTypes.et_KEY_DOWN)
    oFilter.AddEx("149")
    ....add more forms for "key down" if needed...
    oFilter = oFilters.Add(SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED)
    oFilter.AddEx("149")
    ....add more forms for "pressed items" if needed...
    SboUI.SetFilter(oFilters) ' SboUI is the SAPbouiCOM.Application
    From now on you must activate every event in filters.
    Maybe this gives you a little performance kick...

  • Slow Performance or XDP File size very large

    There have been a few reports of people having slow performance in their forms (tyically for Dynamic forms) or file sizes of XDP files being very large.
    These are the symptoms of a problem with cut and paste in Designer where a Process Instruction (PI) used to control how Designer displays a specific palette is repeated many many times. If you look in your XDP source and see this line repeated more than once then you have the issue:
    The problem has been resolved by applying a style sheet to the XDP and removing the instruction (until now). A patch has been released that will fix the cut and paste issue as well as repair your templates when you open them in a designer with the patch applied.
    Here is a blog entry that describes the patch as well as where to get it.
    http://blogs.adobe.com/livecycle/2009/03/post.html

    My XDP file grow up to 145mb before i decided to see what was actually happening.
    It appears that the LvieCycle Designer ES program sometimes writes alot of redundant data... the same line millions of times over & over again.
    I wrote this small java program which reduced the size up to 111KB !!!!!!!!!!!!!!!!!! (wow what a bug that must have been!!!)
    Here's the sourcecode:
    import java.io.BufferedReader;
    import java.io.BufferedWriter;
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.io.FileWriter;
    import java.io.IOException;
    public class MakeSmaller {
    private static final String DELETE_STRING = "                           <?templateDesigner StyleID aped3?>";
    public static void main(String... args) {
      BufferedReader br = null;
      BufferedWriter bw = null;
      try {
       br = new BufferedReader(new FileReader(args[0]));
       bw = new BufferedWriter(new BufferedWriter(new FileWriter(args[0] + ".small")));
       String line = null;
       boolean firstOccurence = true;
       while((line = br.readLine()) != null) {
        if (line.equals(DELETE_STRING)) {
         if (firstOccurence) {
          bw.write(line + "\n");
          firstOccurence = false;
        } else {
         bw.write(line + "\n");
         firstOccurence = true;
      } catch (FileNotFoundException e) {
       e.printStackTrace();
      } catch (IOException e) {
       e.printStackTrace();
      } finally {
       if (br != null) {
        try {
         br.close();
        } catch (IOException e) {
         e.printStackTrace();
       if (bw != null) {
        try {
         bw.close();
        } catch (IOException e) {
         e.printStackTrace();
    File that gets generated is the same as the xdp file (same location) but gets the extension .small. Just in case something goes wrong the original file is NOT modified as you can see in the source code. And yes Designer REALLY wrote that line like a gazillion times in the .xdp file (shame on the programmers!!)
    You can also see that i also write the first occurrence to the small file just in case its needed...

  • Airport Express and USB Hard drive and extremely slow performance

    HI Guys,
    I seem to having a lot of trouble with an Airport express and a Lacie 1TB drive. While I have solved several problems by updating firmware and enabling journalling on the Lacie, I am still having problems with extremely slow performance with my macbook, particularly using itunes and Firefox.
    Any ideas and any further information needed?
    Regards
    BJDprivate

    BjdPrivate wrote:
    HI,
    I formatted it using the Lacie setup program for Mac and later enabled it for journalling using Disk utility. This seemed to solve a lot of the recognition problems I was having, however the I-Tunes and firefox performance is still atrocious. If I do Need to completely reformat it using Disk Utility, will I lose my files on the disk now?
    not if you move them to a temporary location before you start.
    yes, you are better of formatting the drive with DU.

  • Getting slow performance with -webkit-box-shadow [2.5.1]

    Hello, I just updated to the lastest Air version and I'm getting slow performance on my app when using this new css3 property just added, anyone else has the same problem?

    Thanks for your reply. I have actually found a way to fix the problem and it had nothing to do with the subvi's in my application (well almost nothing . The first thing I tried doing was taking out the display local variables which displayed lockin data on 3 screens of my application into 1 separate while loop and replacing the Lockin driver code with global variables which had only the data I wanted to display. This helped a little bit but here's what fixed my problem completely.
    When I created 2 lockin SubVIs I forgot to go into File->VI Properties->Execution and there select Time critical priority and in the other option drop down list: data acquisition.
    As soon as I did that in the 2 subvi's the lockins actually began performing in real time and now it takes milliseconds to detect the signal and to update the displays.
    I hope this helps. I'm surprised the NI Tech rep I spoke with, hasn't recommended this even though I asked if there are perhaps some sort of compiling or priority options in LabView.
    Well I'm happy since my problem is now fixed, I just need to get a little more RAM now.

  • Adding Columns to the matrix in SAP B1 user form using Visual studio 2010

    Hi,
    Using Visual studio 2010, I have created a SAP B1 user form( b1f ) with one matrix.Matrix is having 5 columns. Its working properly. Later, I want to add few more columns. Then I added columns to the matrix as I have created columns initially. But, it does not saves.
    i.e, Whenever I run, In B1 I could see only old columns. Newly created columns are not showing.So, I closed the .net project and opened again. Created columns are not showing in visual studio b1f itself. So, I created again and saved. But, its not saving.I tried it many times.
    What I am missing?
    Any help is appreciated.
    Thanks in advance,
    Parvatha Solai.N

    Hi Parvatha,
    Are you using B1 Studio? Anyway try to clean the solution first then rebuild it. This would re-copy files to the output directory, that contain your changes.
    Best regards,
    Pedro Magueija

  • UI: Matrix - Slow Performance, Urgent

    Hi:
    We are having problems with the performance of the Matrix.
    We are developing with Visual Basic 6.0.
    SAP Business One 6.50.50 SP:01 EF:07.
    We are using DataBinding and UserdataSources to fill the Matrix because this is the best option, but the performance is slow.
    We have a Matrix with 8 columns and we have problems with the performance of load rows into the matrix.
    We load items and we have the below results:
    For 1,000.00 Items or Rows the time is 7 seconds.
    For 2,000.00 Items or Rows the time is 15 seconds.
    For 3,000.00 Items or Rows the time is 20 seconds.
    For 4,000.00 Items or Rows the time is 27 seconds.
    For 5,000.00 Items or Rows the time is 34 seconds.
    For 8,000.00 Items or Rows the time is 52 seconds.
    For 10,000.00 Items or Rows the time is 1:08 minutes.
    and we can calculate for 50,000 and 100,000 rows.
    Our customers have 50,000 or more items.
    Our matrix is into a windows that we are using for search items, and we need one faster method for dislay the items into matrix because this is a big problem now.
    We want to know if the Matrix have limits of number of rows.
    Some of our customers have 100,000.00 records on Item Master Records, with this performance the real time 113 minutes to load all rows into the matrix.
    In a normal screen of SAP Business One we don´t have problems, but in our screen we have a slow performance.
    What is the limit of rows into the Matrix ?

    Hi Plácido,
    I cannot give you a real good advice for 6.5
    Running a select that fills a UDT + then displaying the content with DBDataSource will maybe not be much faster.
    But in version 2004 this should be really fast as DBDataSources will be much better usable:
    You can fill a matrix in one go (no iteration record be record necessary anymore) + you can access the contents of the DBDataSource + even add/remove lines!
    This is only for non-system (i.e. B1) forms, but maybe could help you.
    Maybe you should wait for that, if it could be a way to fulfill the logical requirements.
    Regards,
    Frank

  • Slow Performance Forms 10g !!!!

    Hi,
    I have migrated several forms from 6i to 10g and i use a 11g Database.
    Most of the users accessing from different countries complain of slow performance but the basic idea of migration is to get a better performance. My users mostly work on laptops.
    I am unable to find where the problem is. Is this might be due to network traffic since they are accessing via internet or any server related issues. Please help me to find and fix the problem and is there any tips for gaining better performance in using forms 10g.
    Regards,
    Suresh

    So, were they running on 6i via laptop and accessing via the internet before you migrated ? (ie: was it 6i client server or 6i web forms)
    Did you migrate the database too ?
    Slow performance as in : it used to be seconds and now it's taking minutes ?
    Steve

  • How to disable a Entire row in a Matrix in Find Mode (User Form)

    Hi,
    How to disable a Entire row in a Matrix in Find Mode (User Form)
    Regards
    Jambu

    Hi,
       Iam using Bubble event = false in click event but the matrix row
    is allow to edit but we cant save the document in Find Mode That is fine.
    What is my actual requirement is In find mode matrix Row not allow to enter the data .
    For examble In ADD mode i enter the data in Three rows (Item Section - Matrix) and
    save the document. Whwn i open the document in find mode the three row is not allow
    to editable like the same functionality of PO, sales Order, etc ..
    Regards
    Jambu

  • Slowness problem of startup form using JRE 1.5 (IE freeze)

    Hi,
    I am using Oracle Forms & Reports Services 10g on Windows Server 2003 to run my application. Initially it was working fine but few days back it became tremendous slow while starting startup form (CONSOLE_MAIN Form). But afterwards remaining transaction forms working fine.
    Below is my config section in formsweb.cfg file
    [BMS]
    form=D:\BMS\CONSOLE_MAIN.fmx
    userId=BMS/BMS@orcl
    workingDirectory=D:\BMS
    pageTitle=Business Management Suite
    baseHTMLjinitiator=webutiljini.htm
    imageBase=Codebase
    archive_jini=frmall_jinit.jar,fjutilities.jar,rolloverbutton.jar,images.jar,editor.jar
    colorScheme=blue
    otherparams=useSDI=yes
    separateFrame=true
    logo=none
    background=none
    splashScreen=none
    # Parameters related to webutil
    WebUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    As I am using separateFrame=true, after initializing the separate window it takes 1 min time to come user login (application user) window. It seems hang like while waiting.
    Please help me if you have any suggestion. Thanks.

    Seems to be a problem with exe4j. Ask your friend to deploy a platform independent version of his program as well.

  • My Mac has been suffering a slow performance, lagging and often froze. One source recommends using Onyx. Is that a trustable source?

    I have a Macbook Pro OS X Version 10.9.4. Processor speed of 2.3 GHz Intel Core i5, memory of 4 GB 1333 MHz DDR3 and storage capacity of 203.51 GB out of 319.21 GB. I have been experiencing very slow performance and sometimes the screen will froze. The spinning wheel is very common and long. I have try to delete as many things as i could from my computer, restarting it but to no avail. One source suggests me to use Onyx. Would that help to solve my problem?

    EtreCheck version: 1.9.15 (52)
    Report generated September 29, 2014 at 7:55:53 PM EDT
    Hardware Information: ?
      MacBook Pro (13-inch, Early 2011) (Verified)
      MacBook Pro - model: MacBookPro8,1
      1 2.3 GHz Intel Core i5 CPU: 2 cores
      4 GB RAM
    Video Information: ?
      Intel HD Graphics 3000 - VRAM: 384 MB
      Color LCD 1280 x 800
    System Software: ?
      OS X 10.9.5 (13F34) - Uptime: 0 days 0:15:5
    Disk Information: ?
      ST9320325ASG disk0 : (320.07 GB)
      S.M.A.R.T. Status: Verified
      EFI (disk0s1) <not mounted>: 209.7 MB
      Macintosh HD (disk0s2) / [Startup]: 319.21 GB (205.02 GB free)
      Recovery HD (disk0s3) <not mounted>: 650 MB
      MATSHITADVD-R   UJ-8A8 
    USB Information: ?
      Apple Inc. BRCM2070 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Inc. Apple Internal Keyboard / Trackpad
      Apple Inc. FaceTime HD Camera (Built-in)
      Apple Computer, Inc. IR Receiver
    Thunderbolt Information: ?
      Apple Inc. thunderbolt_bus
    Gatekeeper: ?
      Mac App Store and identified developers
    Kernel Extensions: ?
      [loaded] com.symantec.kext.SymAPComm (12.2f1 - SDK 10.6) Support
      [loaded] com.symantec.kext.internetSecurity (5.2f1 - SDK 10.6) Support
      [loaded] com.symantec.kext.ips (3.5f1 - SDK 10.6) Support
      [loaded] com.symantec.kext.ndcengine (1.0f1 - SDK 10.6) Support
    Launch Daemons: ?
      [loaded] com.adobe.fpsaud.plist Support
      [loaded] com.cloudpath.maccmd.plist Support
      [loaded] com.google.keystone.daemon.plist Support
      [loaded] com.symantec.liveupdate.daemon.ondemand.plist Support
      [failed] com.symantec.liveupdate.daemon.plist Support
      [not loaded] com.symantec.sep.migratesettings.plist Support
      [running] com.symantec.sharedsettings.plist Support
      [running] com.symantec.symdaemon.plist Support
    Launch Agents: ?
      [not loaded] com.cooliris.SetLaunchArch.plist Support
      [loaded] com.divx.dms.agent.plist Support
      [loaded] com.divx.update.agent.plist Support
      [loaded] com.google.keystone.agent.plist Support
      [running] com.symantec.uiagent.application.plist Support
    User Launch Agents: ?
      [failed] com.apple.CSConfigDotMacCert-[...]@me.com-SharedServices.Agent.plist
      [loaded] com.divx.agent.postinstall.plist Support
      [loaded] com.facebook.videochat.[redacted].plist Support
      [failed] com.hitachigst.backup.agent.plist Support
      [running] com.spotify.webhelper.plist Support
    User Login Items: ?
      Google Drive
      SpeechSynthesisServer
      Popup
      Notify
    Internet Plug-ins: ?
      o1dbrowserplugin: Version: 5.4.2.18903 Support
      OVSHelper: Version: 1.1 Support
      Default Browser: Version: 537 - SDK 10.9
      Flip4Mac WMV Plugin: Version: 3.2.0.16   - SDK 10.8 Support
      DivX Plus Web Player: Version: 2.4 - SDK 10.5 Support
      CoolirisWebKitPlugin: Version: (null) Support
      Silverlight: Version: 5.1.10411.0 - SDK 10.6 Support
      FlashPlayer-10.6: Version: 15.0.0.152 - SDK 10.6 Support
      Flash Player: Version: 15.0.0.152 - SDK 10.6 Support
      QuickTime Plugin: Version: 7.7.3
      googletalkbrowserplugin: Version: 5.4.2.18903 Support
      JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Check version
    Safari Extensions: ?
      Add To Amazon Wish List
    Audio Plug-ins: ?
      BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
      AirPlay: Version: 2.0 - SDK 10.9
      AppleAVBAudio: Version: 203.2 - SDK 10.9
      iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins: ?
      Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    3rd Party Preference Panes: ?
      Flash Player  Support
      Flip4Mac WMV  Support
      Symantec QuickMenu  Support
    Time Machine: ?
      Time Machine not configured!
    Top Processes by CPU: ?
          3% WindowServer
          1% fontd
          1% Google Drive
          0% com.apple.WebKit.Networking
          0% systemstatsd
    Top Processes by Memory: ?
      258 MB SymDaemon
      127 MB mds_stores
      86 MB com.apple.IconServicesAgent
      82 MB Google Drive
      78 MB Mail
    Virtual Memory Information: ?
      923 MB Free RAM
      1.53 GB Active RAM
      656 MB Inactive RAM
      953 MB Wired RAM
      311 MB Page-ins
      0 B Page-outs

  • Forms performance problem on the web, using webutil.

    When starting the webutil-demoform on the Application Server,
    webutils eight javabeans is loaded in 1 second.
    I'm using &WebUtilLogging=Console&WebUtilLoggingDetail=Detailed for logging this.
    When starting the same form from client the beans is loaded in ~30-40seconds.
    Any suggestions to figure out why?

    Problem solved!
    Don't use the IP-address in the URL, use hostname or add an entry in your hostfile on the client. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5092063
    Metalink
    Note:402180.1 Initial Loading of Webutil Forms Are Slow
    Note 356190.1 Performance Problems in Forms with Webutil 1.0.6 for Intranet Web Clients

  • First off, i think it's sad that i have to use my non apple device to post this question... Why has my iPad become absolutely useless after updating to iOS 8.1? I am unable to use my mini because it crashes, slow performance, major battery drain.

    First off, i think it's sad that i have to use my non apple device to post this question... Why has my iPad become absolutely useless after updating to iOS 8.1? I am unable to use my mini because it crashes, slow performance, major battery drain.

    Restore iPad to Factory Default; do not restore from backup. It may be the cause of the problem.
    Settings>General>Reset>Erase all content and settings

  • Using a perform in a form with sapscript

    Hi,
    I would like to print a field during the runtime  in a form. This field it is not available in the program so i would like to find it using a perform in the sapcript.
    Someone tell me that this is possible...but someone can tell me how? Is there some docs about this issue?
               Best Regards
                    João Fernandes

    Hi,
    following is the help link...
    http://help.sap.com/saphelp_nw70/helpdata/en/d1/803279454211d189710000e8322d00/frameset.htm
    Calling ABAP Subroutines: PERFORM 
    You can use the PERFORM command to call an ABAP subroutine (form) from any program, subject to the normal ABAP runtime authorization checking. You can use such calls to subroutines for carrying out calculations, for obtaining data from the database that is needed at display or print time, for formatting data, and so on.
    PERFORM commands, like all control commands, are executed when a document is formatted for display or printing. Communication between a subroutine that you call and the document is by way of symbols whose values are set in the subroutine.
    The system does not execute the PERFORM command within SAPscript replace modules, such as TEXT_SYMBOL_REPLACE or TEXT_INCLUDE_REPLACE. The replace modules can only replace symbol values or resolve include texts, but not interpret SAPscript control commands.
    Syntax in a form window:
    /: PERFORM <form> IN PROGRAM <prog>
    /: USING &INVAR1&
    /: USING &INVAR2&
    /: CHANGING &OUTVAR1&
    /: CHANGING &OUTVAR2&
    /: ENDPERFORM
    INVAR1 and INVAR2 are variable symbols and may be of any of the four SAPscript symbol types.
    OUTVAR1 and OUTVAR2 are local text symbols and must therefore be character strings.
    The ABAP subroutine called via the command line stated above must be defined in the ABAP report prog as follows:
    FORM <form> TABLES IN_TAB STRUCTURE ITCSY
    OUT_TAB STRUCTURE ITCSY.
    ENDFORM.
    The values of the SAPscript symbols passed with /: USING... are now stored in the internal table IN_TAB . Note that the system passes the values as character string to the subroutine, since the field Feld VALUE in structure ITCSY has the domain TDSYMVALUE (CHAR 80). See the example below on how to access the variables.
    The internal table OUT_TAB contains names and values of the CHANGING parameters in the PERFORM statement. These parameters are local text symbols, that is, character fields. See the example below on how to return the variables within the subroutine.
    From within a SAPscript form, a subroutine GET_BARCODE in the ABAP program QCJPERFO is called. Then the simple barcode contained there (‘First page’, ‘Next page’, ‘Last page’) is printed as local variable symbol.
    Definition in the SAPscript form:
    /: PERFORM GET_BARCODE IN PROGRAM QCJPERFO
    /: USING &PAGE&
    /: USING &NEXTPAGE&
    /: CHANGING &BARCODE&
    /: ENDPERFORM
    / &BARCODE&
    Coding of the calling ABAP program:
    REPORT QCJPERFO.
    FORM GET_BARCODE TABLES IN_PAR STUCTURE ITCSY
    OUT_PAR STRUCTURE ITCSY.
    DATA: PAGNUM LIKE SY-TABIX, "page number
    NEXTPAGE LIKE SY-TABIX. "number of next page
    READ TABLE IN_PAR WITH KEY ‘PAGE’.
    CHECK SY-SUBRC = 0.
    PAGNUM = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY ‘NEXTPAGE’.
    CHECK SY-SUBRC = 0.
    NEXTPAGE = IN_PAR-VALUE.
    READ TABLE OUT_PAR WITH KEY ‘BARCODE’.
    CHECK SY-SUBRC = 0.
    IF PAGNUM = 1.
    OUT_PAR-VALUE = ‘|’. "First page
    ELSE.
    OUT_PAR-VALUE = ‘||’. "Next page
    ENDIF.
    IF NEXTPAGE = 0.
    OUT_PAR-VALUE+2 = ‘L’. "Flag: last page
    ENDIF.
    MODIFY OUT_PAR INDEX SY-TABIX.
    ENDFORM.
    Regards,
    Bharat.

Maybe you are looking for

  • Changing multiple objects at once

    is there a way of setting eg thre end jump for multiple tracks at once - if they all have the same end jump? best tommy banana

  • Problem in Triggering the Mail to SAP Inbox

    Dear Experts,                  I have a problem for triggering the Mail option to SAP Inbox. We created a Job assigning the program RSEIDOCA,RSWUWFML2 by creating a variant for those programs. We are scheduling the job,  It is showing as 24.11.2010 1

  • 12 day Christmas Free downloads: How to cancel download ?

    Hi, have agreed to download the TV-Package. It appears that the three TV sessions are more than 200 MB each. Now I would like to stop the download and cancel it completely. "Side-Slide" does not work. I can stop the download but can not cancel/delete

  • Is there something to connect an iPod to something with a 3.5mm jack?

    I'm looking for something to connect my iPod to my car's audio Jack wirelessly to avoid the cable confusions. any ideas? I don't like those FM transmitters either so don't even bother with that.

  • POST: Internal  Error 500

    Hi all, I have implemented a post in my app. The Post is working, but i get also an internal error 500 while doing the post. When I use the SAP transaction /iwfnd/error_log the error infos says that there is no GET_Entity-Method implemented. Thats ri