Function addition of Matrix object of UI-API

Hi:
I would like you to add the new features included to the Matrix object of UI-API.
・All data is acquired from the screen once
・All data is set to the screen once
The performance of add-on using UI-API is very bad as long as this function doesn't exist.
(Example)
1. The item is acquired from the line data of the order slip for an indispensable check.
2. Objects of an indispensable check are five items.
<< Present specification >>
1 details --> 5 times Data acquisition
100 details --> 500 times Data acquisition
<< New function proposal >>
1 details --> 1 times Data acquisition
100 details --> 1 times Data acquisition
Extensive renovations can be expected as a performance.
Please achieve a new function immediately.
Postscript:
Related message number: 891363

Hi,
If you want to post DRQ, please post it on the proper forum:
/community [original link is broken]
Drop off something like Please achieve a new function immediately.  You are not a commander here.
Thanks,
Gordon

Similar Messages

  • How to add Documents object faster(DI-API)

    Hello,
    I investigated the time concerning adding to Order Document using DI-API.
    Result,339sec per 300 document(for each document has
    4 items ,program was not use Start/End transaction).
    This result is not so bad, but i wish faster time.
    Please suggest faster way to add Documents object using
    DI-API.
    My source code is below.
    vINV = vCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOders)
    For I = 1 To 300
    vINV.CardCode = "test"
    vINV.Docdate = "2005/12/31"
    vINV.DocDueDate = "2005/12/31"
    vINV.NumAtCard = "test"
       For J = 0 To 3
         vINV.Lines.ItemCode = "test"
         vINV.Lines.Quantity = 1
         vINV.Lines.Price = 400
         if J <> 3 Then
           vINV.Lines.add()
         End If 
        Next J
       RetVal = vINV.Add
    Next I

    Hi Jiro,
    I have never worked with this before, but maybe you can investigate using the DI Server. Search the forum for the DI Server. Herewith an extract from the DI Server help file:
    <i>SAP Business One - Data Interface Server (DI Server) is a Component Object Model (COM) service running on a server that enables multiple clients to access and manipulate SAP Business One company database, using SOAP version 1.1 messages.
    The DI Server uses the DI core to enable the same functionality provided by the DI API with the following advantages:
    - Server architecture.
    - <b>Improved performance.</b>
    - Connection pooling mechanism.
    - Generic interface.
    The DI Server operates with SAP Business One application version 2004.</i>
    Hope it helps,
    Adele

  • After Effect CC: Custom JavaScript functions of a flashplayer object return no value

    Hi
    With AfterEffects CC scripting it looks like custom JavaScript functions of a flashplayer object return no value when invoked from ActionScript code
    This can be seen in the sample script shipped with ExtendScript Toolkit named ActionScriptDemo.jsx:
    Create a flashplayer object in a JSX file with a custom getJavaScriptNumber function:
    var flashPlayer = flashPalette.add("flashplayer", cBounds);
    flashPlayer.getJavaScriptNumber = function() {
              return 12345;
    Invoke the custom getJavaScriptNumber function from ActionScript code of an .MXML file:
    public function requestJavaScriptNumber():void{
              var res:int = ExternalInterface.call("getJavaScriptNumber");
              estkNumber = res;
    The ExternalInterface.call("getJavaScriptNumber") call return no value
    Any idea or a suggested workaround??
    Thanks, Erez.

    I wonder if this was intentional on Adobe's part.  It seems rather odd that it just "broke" with the upgrade to CC.
    I was thinking of a way to display a "web page" within an ExtendScript dialog / window, and thought that I could use Flash / ActionScript to do just that and then display that within the dialog.  It seems, now, that it is just a bad idea because the API for ExternalInterface is broken--I would need two-way communication between the Flash object presenting the webpage and the ExtendScript ScriptUI Panel.
    Is there a workaround for this?
    Thanks,
    Arie

  • Performance issue with Business Objects Java JRC API in CRXI R2 version

    A report is developed using java JRC API in CR XI release 2. When I generate the report in the designer, it took less than 5 seconds to display the results in crystal report viewer inside the designer. But in the QA environment, when I generate the same report from the application, it takes almost 1 to 1.5 minutes to display the same results in PDF. I also noticed that if the dataset contains bigger volume of data, then the reports are taking even longer almost 15 to 20 minutes.
    While generating the report from the application, I noticed that most of time is taken during the execution of the com.crystaldecisions.report.web.viewer.ReportExportControl Object method as shown in following line of code
    exportControl.processHttpRequest(request, response, context, null)
    We thought the delay in exporting the report to PDF might be the layout of the report and data conversion to PDF for such a bigger volume of data.
    Then we investigated the issue and experimented quickly to generate the same report with same result set data from the application using XML, XSL and converted the output XSL-FO to PDF using Apache FOP (Formatting Objects Processor) implementation. The time taken to export the report to PDF is less than 6 seconds. By doing this experiment, it is proved that the issue is not with conversion of data to PDF but it is the performance problem with Business Objects Java JRC API in CR XI R2.
    In this regard, I searched for the above issue in the SAP community Network Forums -> Crystal Reports and Xcelsius -> Java Development -> Crystal Reports. But I did not find any answers or solutions for this kind of issue in the forums.
    Any suggestion, hint in this matter is very much appreciated.

    Ted, The setReportAppServer problem is resolved. Now I could able to generate the report with hardcoded values in the SQLs in just 6 seconds where as the same report was generated in CRXI R2 in 1 minute 15 seconds as mentioned in the earlier message.
    But, our exisiting application passes the parameter values to the SQLs embedded in the report. For some reason the parameters are not being passed to the report and the report displays only the labels without data.
    As per the crj 12 samples codes, the code is written as shown below.
    1. Created ReportClient Document
    2. SetReportAppServer
    3. Open the report
    4. Getting DatabaseController and switching the database connection at runtime
    5. Then setting the parameters as detailed below
    ParameteFields parameterFieldController = reportClientDoc.getDataDefController().getParameterFieldController();
    parameterFieldController.setCurrentValue("", "paramname",paramvalue);
    parameterFieldController.setCurrentValue("", "paramname",paramavalue);
    byteArrayInputStream = (ByteArrayInputStream)reportClientDoc.getPrintOutputController().export(ReportExportFormat.PDF); 
    6. Streaming the report to the browser
    Why the parematers are not being passed to the report?  Do I need to follow the order of setting these parameters?  Did I miss any line of code for setting Params using  crj 12?
    Any help in this regard would be greatly appreciated.

  • Partner function;Partner procedure; Partner object; Procedure assignment??

    Hi,
    If we check T-code: VOPA, we could find below:
    Partner function(Partner type inside);
    Partner procedure;Procedure details;Procedure assignment;
    Partner object(Customer Customer Master;Sales Document Header Sales Document Item..etc)
    Account Group;
    Anybody could explain clearly on above relations? Would be better if could attach an example by connecting to XD01 creating customer master data, especially the useage of Account Group.
    thank you very much!

    Let's take kinds of example like this..
    I went to an bookstore, bought an book and got the invoice. Then i paid the money, the book is deliveried to me.
    Analysis this business process:
    Partner type:
    I as an person who purchase goods, so i  should belong to partner type Customer.
    Bookstore sell goods, they should belong to partner type Vendor...
    Partner function:
    I as an customer but also play roles like pay the amount, receive the invoice..etc
    As an customer, i am function like an Sold-To Party.
    I pay the amount, then i function like an Payer.
    I receive the invoice , then i function like an Bill-to Party.
    Also i got the book from bookstore, then i founction like Ship-To Party.
    All above function belong category:Customer.
    So in SAP system, VOPA, i need first define corresponding partner function, and assign it to partner type.
    Partner object:
    Partner object is Customer master;Sales document Header,Sales document item..etc
    We define above mentioned Partner functions into corresponding partner object, also we need define Partner procedure and assing account group inside it, so as ?????
    Sorry, i think idont know what Partner procedure works? And why we need PArtner procedure??
    Seems partner procedure is related with Account Group...
    I remembered we had assign the Partner function to Account Group once, why we still need Partner procedure to Account Group again???? Coz inside PArtner procedure is partner function...
    And what imapct when we creating customer master data XD01 or processing sales order..Billing document...
    Hope could kindly help to clear my doubt......
    Thank you very much!

  • How can I limit/control the addition of auth. objects to security roles?

    Checking the authorization object S_USER_VAL it seemed that it grants the ability to limit the addition of authorization objects, but I tried using a test ID in sandbox along with a test role, removing the object, creating ranges in order to limit to a certaing type of auth. objects and didn't work. S_USER_AGR will give me access to limit which type of roles I can modify, but I'm looking to restrict the addition of specific security objects to security roles. If anyone knows the answer to this please share! Thanks in advance for your help!!!!
    Edited by: Armando Salas on Nov 29, 2011 7:41 PM

    Hi Armando,
    Try with auth.obj. S_USER_AUT. A suggestion. Search this objects with tcode SU24, for instance, for tcode PFCG and it gives a list with objects.
    I hope this helps you
    Regards
    Eduardo

  • How to add a function-group to authorization object S_RFC ?

    I have implemented a function group, that is to be called from "the outside" via RFC-calls.
    Have been told that this func.group has to be added to object S_RFC, and assigned to the user(s) that are going to use this call.
    Where, in the SAP-system, do we maintain theese connections ?
    (I'm new to the SAP-world, and hope someone will give me some help...

    Hi
    I believe you should insert the authority-check in the fms of your function group:
    AUTHORITY-CHECK OBJECT 'S_RFC'
    ID 'RFC_TYPE' FIELD <value>
    ID 'RFC_NAME' FIELD <value>
    ID 'ACTVT'    FIELD <value>
    This object has to assign to profile of all users who'll use those fms.
    You can manage the profile by trx PFCG.
    Max

  • How to create matrix object manually ?

    hello expert, i am trying to create a matrix report object manually, i found some steps on google but they are not working to success.
    please help me to create one.
    google steps:
    To create a matrix object:
    1.
    In the Paper Layout view, click the Repeating Frame tool in the tool palette, then drag a rectangle to create a repeating frame.
    2.
    In the Property Inspector, under Repeating Frame, set the Source property to the "column" for the matrix, and set the Print Direction property to Down.
    3.
    Click the Repeating Frame tool in the tool palette again, then drag a rectangle to create a second repeating frame, intersecting the first repeating frame.
    4.
    In the Property Inspector, under Repeating Frame, set the Source property to the "row" for the matrix, and set the Print Direction property to Across.
    5.
    Drag a rectangle around both repeating frames to select them, then choose Insert > Layout Matrix.
    This creates a matrix object that is the intersection of the two repeating frames. For example:
    Figure 4-1 Example matrix object
    Shows two intersecting rectangles
    Description of "Figure 4-1 Example matrix object"
    6.
    Double-click the matrix object to set its properties.
    thanks n regards
    yash

    Hello,
    You need to select both frames(ctrl+click on both frames) before choosing Insert > Layout Matrix.
    It should work.
    Regards,
    Alex

  • How to create the change document functionality for a dependent objects?

    May I please know how to create the change document functionality for a dependent objects?
    I have done it follow the same process as for business process objects. But when i try to test it in BOBT, there is no records under "FIELD_CHANGE_WITH_FILTER". It seems the change hasn't been recorded.
    If the way I did to create change document for dependent object is correct, please also kindly advise the possibilities for why there is no record during testing.
    thanks in advance.

    I also have some doubts about the business object.In this case,one abstract BO hase a subnode wihich is root extended.I added the change document for this node under the category "root_extended" and then tested the function in BOBT.I got some error message "can't find the root key".Shall i redefine the method /BOFU/IF_CDO_CREATION~IS_CDO_CREATION_ACTIVE so as to solve the problem?
    Thx.

  • Function based indexes on object tables

    Hi,
    I am trying to create a function based index on an object table. I am getting the following error:
    SQL> create index cell1_indx on cell1(create_cell1(id)) indextype is mdsys.spatial_index;
    create index cell1_indx on cell1(create_cell1(id)) indextype is mdsys.spatial_index
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13249: internal error in Spatial index: [mdidxrbd]
    ORA-13249: Error in Spatial index: index build failed
    ORA-13249: Stmt-Execute Failure: SELECT num_rows from all_tables where owner='ASHE' and table_name=
    'CELL1'
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_9I", line 7
    ORA-06512: at line 1
    Here cell1 is an object table.
    Is the procedure for creating function based indexes on object tables different from relational tables?
    Chinni

    One of the many new features in Oracle 8i is the Function-Based Index (we will refrain from using FBI, but only just). This allows the DBA to create indexes on functions or expressions; these functions can be user generated pl/sql functions, standard SQL functions (non-aggregate only) or even a C callout.
    A classic problem the DBA faces in SQL Tuning is how to tune those queries that use function calls in the where clause, and result in indexes created on these columns not to be used.
    Example
    Standard B-Tree index on SURNAME with cost based optimizer
    create index non_fbi on sale_contacts (surname);
    analyze index non_fbi compute statistics;
    analyze table sale_contacts compute statistics;
    SELECT count(*) FROM sale_contacts
    WHERE UPPER(surname) = 'ELLISON';
    Execution Plan
    0 SELECT STATEMENT Optimizer=CHOOSE (Cost=3 Card=1 Bytes=17)
    1 0 SORT (AGGREGATE)
    2 1 TABLE ACCESS (FULL) OF 'SALES_CONTACTS' (Cost=3 Card=16 Bytes=272)
    Now we use a function based index
    create index fbi on sale_contacts (UPPER(surname));
    analyze index fbi compute statistics;
    analyze table sale_contacts compute statistics;
    SELECT count(*) FROM sale_contacts WHERE UPPER(surname) = 'ELLISON';
    Execution Plan
    0 SELECT STATEMENT Optimizer=CHOOSE (Cost=2 Card=1 Bytes=17)
    1 0 SORT (AGGREGATE)
    2 1 INDEX (RANGE SCAN) OF 'FBI' (NON-UNIQUE) (Cost=2 Card=381 Bytes=6477)
    The function-based index has forced the optimizer to use index range scans (retuning zero or more rowids) on the surname column rather than doing a full table scan (non-index lookup). Optimal performance does vary depending on table size, uniqueness and selectivity of columns, use of fast full table scans etc. Therefore try both methods to gain optimal performance in your database.
    It is important to remember that the function-based B*Tree index does not store the expression results in the index but uses an "expression tree". The optimizer performs expression matching by parsing the expression used in the SQL statement and comparing the results against the expression-tree values in the function-based index. This comparison IS case sensitive (ignores spaces) and therefore your function-based index expressions should match expressions used in the SQL statement where clauses.
    Init.ora Parameters
    The following parameter must be set in your parameter file: QUERY_REWRITE_INTEGRITY = TRUSTED
    QUERY_REWRITE_ENABLED = TRUE
    COMPATIBLE = 8.1.0.0.0 (or higher)
    Grants
    Grants To create function-based indexes the user must be granted CREATE INDEX and QUERY REWRITE, or alternatively be granted CREATE ANY INDEX and GLOBAL QUERY REWRITE. The index owner must have EXECUTE access on the function used for the index. If execute access is revoked then the function-based index will be "disabled" (see dba_indexes).
    Disabled Indexes
    If your function-based index has a status of "disabled" the DBA can do one of the following:
    a) drop and create the index (take note of its current settings)
    b) alter index enable, function-based indexes only, also use disable keyword as required
    c) alter index unusable.
    Queries on a DISABLED index fail if the optimizer chooses to use the index.Here is an example ORA error:
    ERROR at line 1: ORA-30554: function-based index MYUSER.FBI is disabled.
    All DML operations on a DISABLED index also fail unless the index is also marked UNUSABLE and the initialization parameter SKIP_UNUSABLE_INDEXES is set to true.
    Some more Examples
    CREATE INDEX expression_ndx
    ON mytable ((mycola + mycolc) * mycolb);
    SELECT mycolc FROM mytable
    WHERE (mycola + mycolc) * mycolb <= 256;
    ..or a composite index..
    CREATE INDEX example_ndx
    ON myexample (mycola, UPPER(mycolb), mycolc);
    SELECT mycolc FROM myexample
    WHERE mycola = 55 AND UPPER(mycolb) = 'JONES';
    Restriction & Rule Summary
    The following restrictions apply to function based indexes. You may not index:
    a) LOB columns
    b) REF
    c) Nested table column
    d) Objects types with any of the above data types.
    Function-based indexes must always follow these rules:
    a) Cost Based optimizer only, must generate statistics after the index is created
    b) Can not store NULL values (function can not return NULL under any circumstance)
    c) If a user defined pl/sql routine is used for the function-based index, and is invalidated, the index will become "disabled"
    d) Functions must be deterministic (always return the same value for a known input)
    e) The index owner must have "execute" access on function used in the function-based index. Revocation of the privilege will render the index "disabled"
    f) May have a B-Tree and Bitmap index type only
    g) Can not use expressions that are based on aggregate functions, ie. SUM, AVG etc.
    h) To alter a function-based index as enabled, the function used must be valid, deterministic and the signature of the function matches the signature of the function when it was created.
    Joel P�rez

  • Matrix object in matrix report

    hi friends
    I am designing a simple matrix report,
    data model - "select deptno , job , sum(sal) from emp group by deptno , job"
    now in the layout model i see that report builder has created a frame in which there is an object called
    "MATRIX
    verti rpeating frame
    horix rep frame
    cross product group
    if i wish to create a matrix report manually without wizard i am unable to find this object
    pls help me how can i create amatrix report manually
    ps help

    Hi,
    in order to create a matrix object you have to:
    - create a repeating frame (say R_1), set its source property to the "column" for the matrix and set its print direction property to "Down";
    - create a new repeating frame (say R_2) that intersect R_1 (they must not be one inside the other, but they must intersect!), set its source property to the "row" for the matrix an set its print direction property to "Across";
    - drag a rectangle around both repating frames (R_1 and R_2) to select them, then choose Insert --> Layout Matrix.
    This creates a matrix object that is the intersection of the two repeating frames.
    Hope this helps you
    Bye
    Raffy

  • Matrix object

    I'm trying to achieve a 'Falling leaf effect' to apply on a
    number of little lines triggered by a mouse over event. I'm feeling
    adventurous today and would like to use AS to do that.
    i understood the matrix object could help and have a code
    that looks like this :
    var matrix:Matrix = new Matrix();
    var scaleX:Number = 2.0;
    var scaleY:Number = 3.0;
    var rotation:Number = 2 * Math.PI * (45 / 360);
    var tx:Number = 10;
    var ty:Number = 20;
    matrix.createBox(scaleX, scaleY, rotation, tx, ty);
    the thing is i can't figure out how to put in relation the
    code, the movie clip (do i need one?) and the event handler
    together.
    can anyone help?
    thanks

    you don't need a movieclip but you need some display object
    to which to apply your matrix. you apply it by assigning the matrix
    property of your display object to be your matrix.

  • Matrix object on multiple line

    Hi all,
    In my report I have a matrix object in a frame.
    When columns are too much to be contained in the frame, the matrix looks like truncated.
    I'd like the matrix go to the next line.
    I mean that if I have a matrix like the following:
    .     a     b     c     d     e     f     g
    A     1     1     1     2     2     2     2
    B     2     2     2     3     3     3     3
    C     4     4     4     5     5     5     5
    Actually I have the following layout (because the matrix is bigger than the frame):
    .     a     b     c     d     e
    A     1     1     1     2     2
    B     2     2     2     3     3
    C     4     4     4     5     5
    But I'd like to have something like this:
    .     a     b     c     d     e
    A     1     1     1     2     2
    B     2     2     2     3     3
    C     4     4     4     5     5
    .     f     g
    A     2     2
    B     3     3
    C     5     5
    Thanks in advance for your help!
    Samuele

    hi all...
    even i am facing exactly the same problem... any tips will be great...
    please help....

  • Guide procedures (callable objects ) using ABAP API.

    Hi,
    Is it possible to develop callable objects using ABAP APIs?
    IF yes how ?
    Regards
    Nisha

    hello Nisha,
    Plz see the basic information link on GP
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/92811997-0d01-0010-9584-f7d535177831

  • Partner  for functional location of connecttion object

    Hi Fritz,
    Thank you for your support,
    I would require to have a Migration Object : PARTNER  for FUNCTIONAL LOCATION of CONNECTION OBJECT.
    i know its a custom development can you help me with this context. To go ahead and develop this.
    As i would require this to complete the data migration cycle for one part.
    what are the requirement i need to take care to make this customization possible?
    Regards,
    Robert.

    Hi Fritz,
    Thank you for your response,
    My need is to create a PARTNERS for the FUNCTIONAL LOCATION.
    LET ME DESCRIBE IT.
    WHEN I AM CREATING A FUNCTION LOCATION USING IL01, AS I ENTER A FUNCTIONAL LOCATION AND PRESS ENTER IN THE NEXT SCREEN.
    AND
    I NEED TO ENTER THE PARTNERS FROM THE DROP DROWN MENU  GOTO ->PARTNERS
    WHICH TAKES ME TO THE NEXT SCREEN WHERE I NEED TO FILL THE INFORMATION IN THE TWO FIELDS : FUNCT & PARTNER.
    I need a partner for the functional location that i mentioned above.and i need to upload that information in through Emigall.
    So my query was that can we customize that partner for this functional location and if yes, what should the constraints,
    what are steps required? Do we require a custom service module?
    Regards,
    Robert.

Maybe you are looking for

  • Text sound before and after touchstone usage

    I have had a ton of issues since I purchased a touchstone for my pre.     Before the touchstone, no issues at all.  After:  - 1st/2nd and 3rd phones:   Every time I put a phone on the touchstone it charged & uncharged for hours (the ring was going of

  • How do I get my apps back on my computer

    How do I get my apps that I have paid for back on my computer? I had to get my computer fixed, now my apps are gone, I would like to have them back but I dont want to repay for them?

  • Download window is not working since update to 6.0?

    I updated firefox and now the downloads window no longer functions. It appears on downloading a file. The file downloads but the window no longer shows the progress or the file.

  • Contract not visible in Account Balance screen in UI- Role- Utility IC Agen

    HI Gurus We are in a CRM ISU implementation. We have generated bill against contract and invoice also at CA level in ISU. We are able to see the open & due amounts in Account Balance screen in CRM against the Business Agreement only. There is standar

  • How to set default values for inputs?

    I have several inputs which are always initialized with 0 when I start the VI. I'd like save own default values for them. I've already tried just setting the numbers and saving the VI but it did not work.