Business Logic Editor with Complex Transasctions

I'm starting to have some serious problems using the Business Logic Editor with reasonably large (but by no means huge) transactions. These transactions also have nested transaction calls down a few layers. The main symptoms are:
1)  When opening the Link Editor on the first action it is somewhat sluggish. Opening the Link Editor on the last action can take over 60 seconds.
2)  If adding a new Transaction Call action, selecting the called transaction in the Configure window doesn't work. The transaction can be selected OK, but the browse window will not close. It has to be cancelled. The Link Editor does not show the transaction's input, even though the Configure window will now show the selected transaction's path OK.
3)  If the transaction is Saved after 2), that transaction will not open again in the Logic Editor, even after a reboot.
Memory seems to be part of the formula. The above is on a notebook with 1Gb of RAM. On a dual core with 2 Gb, the problems are less, but not much. On a server with 8Gb, the symptoms disappear.
Does anyone know if there is a recommended minimum system config for using the Logic Editor?
What is actually happening when a transaction with nested Transaction Call actions is loaded in the Editor and for exection? I have many transactions that don't have the above problems, but they take a long time to open in the Logic Editor, and up to 1.5 seconds to load when executing the transaction (this is as per the F5 timings).
Thanks,
Bill

Rick,
These days I'm very careful about large embedded reference docs in my transactions. I actually go through the .trx files with notebook looking for any large chunks of that sort of XML and make sure they are eliminated.
In the case of this transaction, by the time I get to the actual SQL query action (and remember it's a few layers of nested transaction calls down), it can't run the query anyway. The Query Template name in the configure window is blank. That and any params are set dynamically in Links at run time (the Query Template name actually comes from a config file). If I try Limit Rowcount or Yes when I close the configure window, it just gives an error because it has no idea what query template to run.
Given this, the problem just doesn't seem related to fetching data. And how would this cause the Links window to take so long to open in the Logic Editor?
Bill

Similar Messages

  • How to Display Multiple Rows in Business Logic Editor

    Hi Friends, I took the standard BAPI:   BAPI_MATERIAL_GETLIST and followed the SAP- xMII documentation. It is not showing any records. Does any one have good example. Please let me know.
    If I run the same BAPI from R3 system, it is showing 7 records.
    Can I display the data in Business Logic editor? Please help.

    Hi Dilip
              I have gone through your post and I think that the info provided by yu is not sufficent to answer yur question exactly but i would suggest yu the following solutions :-
    1. It may be the case that yu are not looping on the Response XML from the BAPI. You need to loop on the repeating node of the Response XML of the BAPI and on each loop yu need to append the record read to a xMII Output XML document using Row structure. Finally Yu can assign the document to the Output variable.
    2. Check for the type of Output Variable. I guess that it's String type. In that case, convert it to xml type.
    Hope it helps.
    Amit

  • String Formatting in Business Logic Editor

    I need to left justify a variable length character string (10-15 characters) in a property that will be 20 characters wide.  In C, I would use the sprintf format string "%-20s".  Is there a comperable format code in xMII?

    Hi, David.
    There's not a built-in function for this, but here's a trick I use.
    1) Create a Global property called "Spaces", of type "String".  Type in about 80 spaces into the dialog.
    2) Anywhere you need "padded strings", you can use an expression such as (assuming you have a string "XYZ" in a local property named "Thing":
    To left justify:
    Local.Thing & stringleft(Globals.Spaces,20-stringlength( Local.Thing))
    To right justify:
    stringleft(Globals.Spaces,20-stringlength( Local.Thing)) & Local.Thing
    That's all it takes!  Hopefully it should work well for you.
    Best regards,
    Rick

  • Business Logic Service

    hello friends,
    how to use bls?
    what are the   Pre requirements for using BLS?
    please give any example for BLS application?
    - Murali

    Murali,
    Business Logic Editor is the place where you can design all your application logics in xMII.I advice you to go through the help documentation to get an idea about it
    http://localhost/LighthammerCMS/Help/SAP_xMII_Help.htm
    BLS has a set of action blocks for designing your logics. Transactions built using BLS can be exposed as web service for external use.
    And to answer your other two questions..
    I'm not sure about what you mean by pre requisites..BLS comes along with xMII and there are no separate prerequisites for it...
    For working with it I would recommend basic knowledge on xml, xpath expressions...
    BLS as such cannot create a whole application, but together with Query and display templates, an application can be built...The application can be built using  front page and on click on a button you can call a transaction that gives a table of values that are displayed using  Query and display templates
    Hope this helps.. Reward points if you find them useful
    Regards,
    Ajitha

  • XMII 11.5 SR02 b63 Logic Editor won't run

    One of our QA members is having problems running the Business Logic Editor in xMII.  He and another QA person have the same setup:
    xMII 11.5 SR02 b63
    JDK/JRE 1.4.2_07 and 1.3.something
    same IIS
    The second QA person has no problem running the BLE, but the first one describes this behavior:
    1. Open XMii and log in.
    2. Click Business Logic Services > Logic Editor. A Java Web Start
    1.4.2_07 window opens that indicates XMII SAP is Downloading Java
    libraries descriptor (0 remaining) with a flashing status bar. It
    stays here for 20 to 30 minutes before the application actually can be
    started up. At that point as long as I don/t close XMII then I can use
    the Logic Editor with no problem. If I close it down (i.e. close the
    browser) then the same problem occurs the next time I try to start the
    Logic Editor.
    Where could I begin looking to debug this?
    -tim

    Hi Tim,
    try to open the Java Web Start program (should be in C:\Program Files\Java\j2re1.4.2_07\javaws\javaws.exe), go to File > Preferences and under the 'Proxies' section in the  'General' tab, select 'None'.
    Then close all open browser windows and try again...
    Note that disabling proxy servers in the Java Web Start tool will not affect normal Java Applets, which are handled by the Java browser plugin which comes with its own proxy configuration screen. If you company uses a proxy between its LAN and the net, the above setting will stop your uses from running any Java Web Start applications, such as BLE, but  not very many people use these anyways, so the impact should be minimal.
    Good luck,
    Sascha
    P.S. If your users also have the JDK, then the javaws.exe binary is also found in C:\j2sdk1.4.2_07\jre\javaws.
    Message was edited by:
            Sascha Wenninger

  • UCES Business logic / Implementation question

    Hello,
    I hope this is the right forum for this, I found nothing relevant about it with the search...
    I hope you can help me or perhaps at least point me in the right direction or give me some links.
    It's really hard to find anything substantial about UCES on the net, so ANY help is greatly appreciated!!!
    Okay here we go:
    I have a requirement for a client who wants a Web 2.0 Portal with the Business logic implemented with UCES (Utility Customer E-Services)
    What I now (for a start) need to know is:
    1.
    How is business functionality in UCES implemented? With Java or with ABAP? Does anyone know this? Are both approaches possible?
    2.
    How does a possible interface between UCES business logic and the frontend look like?
    - JSP -> EJB -> Java Connector -> ABAP?
    - JSP -> EJB ?
    - JSP -> EJB -> ABAP over Web Services ?
    - or other ?
    Like you see, I'm really just trying to get a grip on the basics, a starting point from which to find further information. So really, anyone who has experience with this, please answer, it's greatly appreciated.
    Thanks
    Ralf

    Hello Ralf,
    This seems to be the wrong forum but a quick check and I found
    Re: SAP Utilities Customers E-Services (SAP-UCES) - Documentation?
    Maybe this can help.
    Regards
    Mark

  • Business logic beans & struts

    hello
    i am new with struts and am developing a application using it. i have some question:
    1) Can one business logic bean interact with another business logic bean with out any intermediate jsp in between them?
    2) How can we call methods of business logic beans using beans tags in jsps and then how to handle the values which these called methods return?
    Help please.

    1) Can one business logic bean interact with another
    business logic bean with out any intermediate jsp in
    between them?yes. just specify that int the strutsconfig.xml that the action forward for the action is to another action.. ie
    <action path="/AircraftLogFileInsert" type="avbase.winairweb.struts.action.AircraftLogFileUpdateAction" scope="session" name="AircraftLogFileForm" validate="true" input="/pages/AircraftLogFileSummary.jsp">
                <forward name="insertsuccess" path="/do/AircraftLogFileList"/>
                <forward name="updatesuccess" path="/do/AircraftLogFileSummary"/>       
                <forward name="startOfSection" path="/do/AircraftLogFile"/>
            </action>In this example all request to /do/* are to struts actions
    2) How can we call methods of business logic beans
    using beans tags in jsps and then how to handle the
    values which these called methods return?
    ok this is acutally multiple questions.
    To use the tags that come with struts you need to first declare them in your jsp file.
    ie...
    <%@taglib uri="winairweb" prefix="winair"%>
    <%@taglib uri="struts-bean" prefix="bean"%>
    <%@taglib uri="struts-html" prefix="html"%>Now you can use these tags. in your jsp.
    <html:form action='myaction'>
        <html:text property='myBeanProperty'/>
    </html:form>The only trick with struts is this. Your form objects are used to populate html form contents. hence the above example would use the form associated with current action to populate where i wrote <html:text property='myBeanProperty' /> with the contents of the form property myBeanProperty..
    I know that wordy.. sorry.
    if you like email me directly [email protected]

  • BPEL Process with complex Business logic

    Hi,
    So far my knowledge,complex business logic can be implemented by different way in bpel process.
    1. Business rule
    2. ejb with java callout
    3.ADF BC as servcie
    Can anybody please suggest which approach do I need to follow,what are the pros and cons of each one,and best practices to use when and where?
    Thanx in advance.-Aswini

    Hi
    In addition to what Naresh already mentioned, you can consider these points also.
    1. If your process is complex, see if some part of the process can be common across and it can run by itself. Then you can use SubProcess concepts also. Say for example, if process involves credit card processing, it can be in a sub-process and you can call it in the main process. Like that any common approval flows can be put in a separate sub-process.
    2. I would discourage using Java invocations if possible as they have some limitations and you can use reasonable amout of code in invoking java code within the bpel process. If you have lots of validations to do on a bpel process, you can consider using CallBackHandlers and do the validation on a task assignment, submission or any task action in general.
    3. Business Rules can be used to control the actual flow of the process itself. Based on busiiness rule, you can decide if a set of tasks needs to be included or not in the approval flow. This is in addtion to the actual data that controls the business rules, that can be changed dynamically without the code change to core bpel process.
    Which version of SOA are you using or plan to use. I would recommend the latest version SOA 11.5 + Feature Pack applied.

  • Problem with Business Logic Services Logic Editor

    Hi,
    I am trying to go to Logic Editor under Business Logic Services. I'm getting error that "Unable to launch xMII"
    Is there any java related problem in my machine?
    Regards,
    Amalesh

    Amalesh,
    What version of xMII are you using 12.0 by chance.  If so goto the Java Web Start -> File -> Preferences -> and set your proxy to "None".  I would not recommend reinstalling Java as this will not solve your problem and if you are on xMII 12.0, the recommended version is 1.4.2_13 as a minimum.
    Regards,
    Erik

  • Future support for using PL/SQL core business logic with ADF BC

    We want to migrate our large Forms client/server (6i) application to ADF, possibly using a migration tool like Ciphersoft Exodus.
    One scenario could be to use ADF BC and ADF-Faces or a different JSF-Implementation for presentation and business layer but keep our heavy PL/SQL-businesslogic inside the Oracle database in packages, triggers, functions and procedures.
    This scenario could be chosen due to the huge amount of interconnected logic inside the database (10 years of development; no technical components; any package may access any table and more of this kind of dependencies). The business logic nowadays held in Forms client will be moved mainly into the database as a prerequisite to this scenario.
    Choosing this "keep-logic-in-DB"-scenario we need a good support by ADF BC to do so. We know and prototyped that it is possible to call some PL/SQL via JDBC from ADF BC and it is possible to use stored procedure calls for standard business entity data access (ins, del, upd, ..). But this does not solve our problems. We want to reuse core business logic coded in PL/SQL. This is much more than change the ADF standard behavior for an update with an own PL/SQL-call.
    Now my question:
    Will there be a kind of sophisticated support to use ADF BC in combination with database-kept logic?
    If so, when will this happen and how will the common problems of transactional state inside the database and inside the ADF BC be solved? Any plans or ideas yet?
    Many other clients do have similar applications built in Forms and PL/SQL and would be glad to hear about a path of direction.
    I've read the technical article 'understanding the ADF BC state management feature' which you have contributed to. One current limitation is pointed out there: Using PL/SQL with ADF BC limits ADF AM pooling to 'restricted level' which reduces scalability.
    Are you aware of additional main problems/tasks to solve when using PL/SQL heavily with ADF BC, which we have to think about?
    Thank you for any response.
    Ingmar

    My main problem is two 'concurrent' areas holding state in an application system based on DB-stored PL/SQL-logic in combination with ADF BC.
    For a new System everything can be made ok:
    Sure, it is possible to build a new system with the business logic included in ADF BC only. All long-living state will be handled in the BC layer ( including support for UnitsOfWork longer than the webside short HTTP-requests and HTTP-sessions and longer than the database transactions.
    For an old system these problems arise:
    1. DB data changes not reflected in BC layer:
    Our PL/SQL-logic changes data in tables without notifying the ADF BC layer (and its cache). To keep the data in ADF BC entity objects identical to the changed database content a synchronization is needed. BC does not know which part of the application data has been changed because it has not initiated the changes through its entity objects. Therefore a full refresh is needed. In a Forms4GL environment the behavior is similar: We do frequently requeries of all relevant (base)tables after calling database stored logic to be sure to get the changed data to display and to operate on it.
    -> Reengineering of the PL/SQL-logic to make the ADF BC layer aware of the changes is a big effort (notifying BC about any change)
    2. longer living database transactions
    Our PL/SQL-logic in some areas makes use of lengthy database transactions. The technical DB-transaction is similar to the UnitOfWork. If we call this existing logic from ADF BC, database state is produced which will not be DB-committed in the same cycle.
    This reduces scalability of ADF BC AM pooling.
    Example:
    a) Call a DB-stored logic to check if some business data is consistent and prepare some data for versioning. This starts a DB-transaction but does not commit it.
    b) Control is handed back to the user interface. Successful result of step a) is displayed
    c) User now executes the versioning operation
    d) Call another DB-stored logic to execute the versioning. DB-transaction is still open
    e) Business layer commits the transaction automatically after successful finishing step d). Otherwise everything from a) to e) is rolled back.
    -> redesign of this behavior (= cutting the 1to1 relation between LogicalUnitOfWork and the technicalDatabaseTransaction is a big effort due to the big amount of code.

  • Logical system with business service

    hi,
    can we have a logical system with business service just like we have with business system?? If yes,how can we create logical system for business service??
    Ratna.

    Hi,
    If you intend to use it with IDoc adapter it might be also necessary to set up corresponding Logical System (tcode: BD54) in adequate backed system.
    Refer conversion routine (logical system vs. service) in this presentation [Using the IDoc-Adapter|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b2b4035c-0d01-0010-31b5-c470d3236afd] - page no 6.
    Regards,
    Jakub

  • Call logical links with different enhancement sets on the same business role

    Hello,
    I am trying to create a business role that contain logical links with different enhancements. I know how to choose an enhancement for the business role but I can't find a way, if possible, that one business role does it.
    I know how to give an option to choose different roles for the same user, i'm looking for a way to do this in the same window
    Thanks,
    Noa

    does not matter anymore

  • How can I use JTA in my business logic and execute process with PAPI?

    HI All,
    How can I use JTA in my business logic and execute process with PAPI?
    When my business logic has exception, the process will rollback.
    or the process has some exceptions, my business logic also will rollback.
    I don't know how to do it.
    Does anyone know how to do it?

    Thank you for your reply, Daniel.
    But I think I did not express my mind clearly.
    There is a scene that I have 2 Application Server.
    My business code is deployed in one Server.
    The BPM is deployed in another Server.
    I want to execute Task use PAPI.(ProcessServiceSession.runActivity)
    In my business code, I will do something before execute Task.
    I need my business logic and Task in same transaction.
    To ensure them "all-or-nothing" .
    As you say, if The transactions are managed by Oracle BPM.
    then can I retrieve OBPM transcaction in my business code?

  • Business Logic with EJB

    Hi all!
    I googled EJB:
    Enterprise Java Beans. A standard distributed component model. The encapsulation of business logic into business objects is the most recent focus of the information Technology industry. Objectified business logic. Server components that adddress critical business functions.
    I also found this:
    Isolate business logic from connectivity issues, especially
    connections with databases including transaction management
    and security.
    Meaning? What is business logic? Practically I mean...

    Just don't throw your business logic (what should the program do from a user standpoint) in the same object as the technical logic (what is the programm doing in addition to implement the business logic, like storing data, loading data, converting data, etc.).

  • Business logic services generate documentation

    Hi,
    RE: Business logic services > generate documentation
    xMII generates transaction documentation for small transactions but fails to do so with large transactions....nothing is returned.  I am currently using V 11.5.1 b63. Has anyone experienced this problem?
    Tom

    Hi,
    I am trying to find the note mentioned in the thread:
    "See note 960362, this outlines the steps necessary to increase the memory size the logic editor will allocate".
    I tried the search feature. As well as some hunting around on the SAP site but no luck. Can someone post the URL.   
    Thanks
    Tom

Maybe you are looking for

  • PDF printing failing to embed fonts

    I am an IT administrator over multiple machines each having various versions of acrobat (pro, std, 7, 8, 9, etc.).  We have a standard job options settings for all machines which forces embedding all fonts used in a document. We do this for compatibi

  • New mac user, need help setting up account

    i bought a used powerbook g4 osx 10.4 on ebay last week. It has an account on it, but i dont know the password or how to change it. i have restore discs, but i would rathernot reinstall because there is some software that i would like to save. could

  • Maximum heap size for 64bit JVM

    Hi, I am trying to set the maximum heap size for a java process in a 64bit JVM . I am not able to set more then 3G command line config: java -Xms64m -Xmx3g -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dc

  • Flow of form on stored procedure

    I've two procedure, proc1 and proc2, proc1 will do some database task whereas proc2 just write a few message with htp.print. Now, I created a form on procedure on proc1, when proc1 complete, there is a default page with a 'tick' picture and a link ba

  • DOWNLOAD CRYSTAL REPORTS FOR ECLIPSE 1.0.8 not compatible with java 1.4

    Hi, I understand that this plugin requires java 1.5. However, due to my company's existing infrastructure, I have to use java 1.4 for my web applications. May I know if there is a older version of the CRYSTAL REPORTS FOR ECLIPSE compatible with java