BLS-logic editor-dynamic graphics

hi all
How to store or save images from image combiner?
-murali

Hi Murali,
all answers are in the documentation - it really does help to read it:
http://help.sap.com/saphelp_xmii115/helpdata/en/Business_Logic_Services/imagesaver.htm
Sascha

Similar Messages

  • Error while calling BAPI in BLS(Logic Editor)

    Hi all,
    I am using a RFC(BAPI_OBJCL_CHANGE) in XMLL logic editor. I have configured in SAP JCO interface. While executing that transaction, it shows error like ACTION FAILED: End Action SAPJCOInterface_0 : (SAP JCO Interface).  But, when I try with other BAPI's its working fine. At the same time when I execute the RFC(BAPI_OBJCL_CHANGE) in SAP logon its working fine. What could be the problem?
    Help in this regard, it's urgent.
    Thanks & Regards,
    Hemalatha

    Did you try to execute the BAPI from SAP in BAPI Explorer?  If you are not familiar with the behavior of a particular BAPI, that is a good place to do testing.  By using BAPI Explorer, you have bypassed any impact xMII may have on the execution of the BAPI. 
    Once you have the parameters set correctly there and the BAPI executes without error, then try it in xMII.  A couple of other things to keep in mind.  SAP often adds leading zeroes to various ID's (material, production order, batch, etc.).  BAPI's often do not.  So make sure you know the configuration of the object and check to make sure you have leading zeroes where appropriate.
    Hope this helps,
    Mike
    Also make sure you check the Automatically Commit Transaction since you are performing an action upon SAP rather than simply retrieving information.
    Edited by: Michael Appleby on Feb 11, 2008 4:17 PM

  • Problem in displaying applet by using dynamic graphics

    Hi,
    I followed one document for using dynamic graphics editor, the url is
    /people/abesh.bhattacharjee/blog/2007/02/27/get-started-with-dynamic-graphics-in-xmii-115 by Abesh Bhattacharjee.
    The steps are as follows:
    1). Create the tag query
    2). Preparing the 3DDialGauge Object
    3). Creating the BLS Transaction
    4). Creating an Xacute Query for the BLS Transaction
    5). Creating the HTML Page with help of applet.
    In this HTML page we get that image and also 2 buttons.
    Finally we have to get the object designed in step 2 above and it has to change dynamically and refresh the image by pressing one buttons and the other button is to stop the refresh.
    Now i am getting the image and 2 buttons as output of that HTML page but the problem is the image is getting refreshed continously without getting proper display and i am pressing the buttons it is not stopping the refresh and the warning message i am getting is
    document.TransFanSpeed is null or not an object
    and the object is not changing according to the dynamic value please can anyone help me in resolving this problem.

    Hi shyam,
    The html file is as follows:
    <html>
    <head>
    <link rel="stylesheet" type="text/css" href="../../../../ServletExec AS/se-xMII/webapps/default/Lighthammer/Stylesheets/lighthammer.css"><br />
    <meta http-equiv="Content-Language" content="en-us">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>New Page 1</title>
    <APPLET NAME="TransFanSpeed" WIDTH="300" HEIGHT="300" CODE="iCommand" CODEBASE="../Classes" ARCHIVE="illum8.zip" MAYSCRIPT><br />
    <PARAM NAME="QueryTemplate" VALUE="C:/Lighthammer/Illuminator/Templates/Training/SVGexampleXacutequery"><br />
    </APPLET><br />
    </head>
    <body>
    <img src="../../Fan1.jpg" name="refresh"><p></p>
    <button onclick="javascript:doit()">Do it !!!</button>
    <button onclick="javascript:clearit()">Clear Timeout</button>
    <script language="javascript">
    var Time;
    var imagename;
    var tmp;
    function doit(){
    executeQry();
    imagename = "Fan1.jpg";
    tmp = new Date();
    tmp = "?"+tmp.getTime();
    document.images["refresh"].src = imagename+tmp;
    Time = setTimeout("doit()", 1000);
    function clearit(){
    clearTimeout(Time);
    function executeQry(){
    document.TransFanSpeed.executeCommand();
    </script>
    </body>
    </html>
    and the iCommand.java is nothing but internal one there i didn't written any code
    Message was edited by:
            RAJESH PERLA

  • Not able to login in CMS Logic editor

    Hi,
    I'm using older version of sap xMII 11.0. I'm not able to login CMS Logic editor using my user name and password but able to login to the other xMII pages. Do we need to modify any system properties?
    regards
    Bala

    I think you should talk to your colleague who messed up the server environment:  Changing Lighthammer Home in BLS (xMII 11.5)
    Once it is solved I assume you'll be able to login as well.

  • Xacute query output in dynamic graphics

    Hi all,
             i have a question can i create dynamic graphics using xacute query , if yes please tell me hint or suggestion how to do this .
    thanks in advance
    Regards,
    Praveen Sharma

    Praveen,
    See the xMII help documentation first.
    In dynamic graphics load your SVG, create links/calcualted values
    Use BLS to generate the image, store to Web Root
    Reference image on your web page.
    Sam

  • 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

  • Error opening a transaction in Logic Editor

    Hi,
    Using 11.5 SR3.
    I have a transaction which some 20 sequences and 30 action blocks. I configured it as a listener. For some strange reason, I just cannot open the transaction in the Logic editor.
    Another issue, though not sure if its related to the same thing is that some of the transactions say 'executing' even though the last sequence in the transaction is executed (the last sequence is a file write and the file is already created) when running from the Logic Editor. I also feel that the performance of the transaction execution has gone down recently. Not sure if all these issues are related or each one is a separate issue.
    Any clues from the gurus?
    Ravi.

    Hi Ravi,
    Found a SAP Note on the transaction loading issue.
    Note: 960362
    Title: Large Transactions can crash server
    URL: [Click Here|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_xap/~form/handler]
    It mentions increasing the heap size as an option.
    Cheers,
    Jai.
    Edited by: Jai Tamhane on Feb 7, 2008 12:23 PM

  • I only see the image outline sometimes instead of the "dynamic graphics preview"?

    I'm sure everyone who uses InDesign for any amount of time is aware of something I just recently found out is called the "dynamic graphics preview." [See Fig. 2, below]
    The dynamic graphics preview is the whole image you temporarily see when your trying to crop, or position an image within a frame. It's the part of the image that falls outside of the frame. The parts of the image that fall outside of the image are temporarily "seen" transparently (faded), to indicate that those areas are not within the viewable area of the frame. You usually see this when you are trying to crop the image with the direct selection tool, after you click and hold on the image for a few seconds with the direct selection tool. The temporary transparent preview goes away once you decide on the position and let go of the mouse click.
    So my issue is: when I click and hold, on certain images with the direct selection tool (white arrow) the dynamic graphics preview doesn't show up? All I see is the outline of the path of the image, with NO PREVIEW, or the outline of the shape (usually a rectangle), with NO PREVIEW.
    For instance there was this one situation at work (where I work on catalogs) where the same image was copied six times, in order to make swatches, and when I clicked and held on those particular images the dynamic graphics preview would show, but not on the other images, even though they're the same image!? Meaning, the same exact image file, just copied six times.
    So why can I see the temporary transparent preview for certain instances of the same image but not for others?
    Has anyone else ever experienced this?
    Again any answers are completely appreciated.
    Fig. 1
    Fig. 2

    Peter Spier wrote:
    The first question would be does it work if you try again and wait a bit longer before moving the mouse?
    Next, does it happen in more than this file?
    Does it continue to happen if you restart the computer?
    Does it happen if you use a ne user account?
    – Nope. Tried that.
    – It happens in other files as well. The situation is similar also, where one copy of the same file will show the dynamic graphic preview but the other copies will not.
    – Yes, even after restart, it persists. It occured again today in fact.
    – Yes. Even after I login in with a different account, I get the same issue. Others in my office have had the same issue. Can it be server related? Or permisions related? I don't see how that can be when it's the same exact file, and on one copy it works but on the others it doesn't.
    ..Makes no sense at all.
    By the way this is all happening on CS 5.5 - version 7.5.2 [Fig. 3].
    NOTE: The images above [Fig. 1-2] show CS 3 screen shots because they were made from my computer at home, which as far as I know don't have the same problem with the dynamic graphics preview (DGP). Those images are only there to help illustrate what the DGP is. All the issues with the DGP are occuring in CS 5.5.
    Fig. 3

  • Error in Logic Editor

    Hi,
    I want to create transactions using Logic editor of SAP xMII.
    Whenever i click on 'Link' option it gives error saying 'Exception has been occured'
    null.
    Same is case when i work on existing transacttions.
    Can anyone please help me in resolving this.
    Thanks in advance
    Regards,
    Shalaka

    Shalaka,
    Can you please confirm the version of xMII you are using? Also, can you tell me which version of the Sun JDK you are running on both the xMII server and the workstation you are working with the Logic Editor?
    Regards,
    Michael Teti

  • Error while executing transaction in logic editor

    Hi all,
    When i try to execute a transaction in logic editor in my system i get the following error.
    [DEBUG]: Transaction Complete.
    [ERROR]: Error executing transaction Status (403):ok
    But when i try to exectue the same in a different system,the transaction is sucessfully executed.could anyone help me out with is issue!

    U better try to clear the cache enteries and try this.it may help

  • Dynamic graphic in Mail forms

    Hi All,
    I have a mail form which has been created in transaction CRMD_EMAIL. I have been asked to enhance it with a dynamic graphic image.
    There will be uploaded 1 image pr customer in transaction SE78.
    And for each document I must find the corresponding image.
    In normal smartform I can choose between 'Fixed value' and 'Dynamic field value' for graphichs name. And I can see that it works when I create a global variabel eg. 'TESTNAME' and assign it the value '123456'. if I then enter &TESTNAME& as dynamic graphic name, and test print it works fine and prints graphical image 123456.
    But in with the mail forms in CRMD_EMAIL, this is not available. If I enter a variable the field disaperes and in test mode i get the error 'Graphic cannot be displayed' - This is identical to the error I get in smartforms if I enter a name that does not exist.
    Does anybody knows if this is possible to do in mail forms. Or if I can use the smartforms instead of the Mail forms when working with campaigns.
    Best regards
    Dennis Lybecker

    Hi Gregor,
    Thanks for your quick response.
    The document was ment to include a technical drawing regarding the specific installation for the customer/prospect.
    It looks like we are going to include this drawing in a different document, which should be created in smartform.
    If anybody come up with a way to do this - please let us all know.
    Best regards
    Dennis

  • 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

  • Background color change of dynamic graphic

    hi ,
    i am using 3D Gauge dynamic  graphic i want to change image backgrond color from white to blue.
    thanks in advance.
    regards,
    rohit

    You can add a <rect> tag, see text in bold below ...
    <?xml version="1.0" encoding="UTF-8"?><svg height="300" text-rendering="geometricPrecision" width="300">
         <rect height="299" id="Background"  width="299" x="0" y="0" style="fill:none;stroke:rgb(0,255,0);stroke-width:1" />
         <defs>
              <radialGradient cx="70%" cy="30%" fx="80%" fy="40%" gradientUnits="objectBoundingBox" id="black-white_1" r="150%" spreadMethod="pad">
                   <stop offset="100%" stop-color="rgb(180,180,180)" stop-opacity="1"/>
                   <stop offset="100%" stop-color="rgb(0,0,0)" stop-opacity="0"/>
              </radialGradient>
         </defs>
         <ellipse cx="150" cy="150" fill="url(#black-white_1)" rx="140" ry="140" stroke="rgb(0,0,0)" stroke-width="1"/>
         <ellipse cx="150" cy="150" fill="none" rx="140" ry="140" stroke="url(#black-white_1)" stroke-width="4"/>
         <line fill="none" id="Needle" stroke="rgb(255,20,20)" stroke-linecap="round" stroke-width="5" transform="rotate(330 150 150)" x1="150" x2="150" y1="150" y2="260"/>
    </svg>
    Regards.

  • Creating a Dynamic Node for a Dynamic Graphic - Tutorial

    Hi everyone,
    I'm sharing my first tutorial, hope it'll be helpful for you.
    In the Layout tab, it's possible to create an UI element "Business Graphic". It's a very simple tool that only requires a context node with a category attribute (that means, the values that will appear in the 'x' axis) and one or more series (each one with a color, generally a numerical value). It's possible to add a label for each series for better understanding of the Graphic.
    Although it's a very powerful tool, there are some problems when we must create a graphic with N series and different labels. If the graphic use an ALV or internal table to fetch data, during runtime we can have more or less series. The definition of a static node and generic series is not enough in this case. That's why I'd like to present you this little tutorial to create a dynamic node that fetchs a dynamic graph:
    In the WDDOINIT or Event Handler method that starts the application (once the data is available) we should create the dynamic node in the following way:
      DATA: lr_node_info    TYPE REF TO if_wd_context_node_info,             
                 lt_attributes      TYPE cl_abap_structdescr=>component_table,
                 attribute           LIKE LINE OF lt_attributes,
                 struct_type       TYPE REF TO cl_abap_structdescr,
                 lo_dyn_node    TYPE REF TO if_wd_context_node.
    * Let's suppouse we can LOOP at the data table, so we can fetch the
    * category data type (for example company name, month, year, ...)
    * and each series with a numeric type
      attribute-name = 'CATEGORY'.
      attribute-type ?= cl_abap_datadescr=>describe_by_name( 'STRING' ).
      INSERT attribute INTO TABLE lt_attributes.
      attribute-name = 'SERIE1'.
      attribute-type ?= cl_abap_datadescr=>describe_by_name( 'I' ).
      INSERT attribute INTO TABLE lt_attributes.
      attribute-name = 'SERIE2'.
      attribute-type ?= cl_abap_datadescr=>describe_by_name( 'I' ).
      INSERT attribute INTO TABLE lt_attributes.
    * Once we have all the attributs for the node, we create a formal structure
      struct_type = cl_abap_structdescr=>create( lt_attributes ).
    * Now we can get the context information to add a new node
      lr_node_info = wd_context->get_node_info( ).
    * Create the node
      lr_node_info = lr_node_info->add_new_child_node(
                        name = 'GRPH_DYN'
                        IS_MANDATORY = ABAP_false
                        IS_MULTIPLE = ABAP_true
                        STATIC_ELEMENT_RTTI = struct_type
                        IS_STATIC = ABAP_false ).
    * Now we should populates the node, I'll create a hardcoded table,
    * simulating the internal table that you should already have
      TYPES: BEGIN OF tw_alv,
                        category  TYPE string,
                       SERIE1    TYPE i,
                       SERIE2    TYPE i,
                    END OF tw_alv.
      TYPES: tt_alv TYPE STANDARD TABLE OF tw_alv.
      DATA: lw_alv  TYPE tw_alv,
                  lt_alv   TYPE tt_alv.
      lw_alv-category = 'Alfa'.
      lw_alv-serie1   = 3.
      lw_alv-serie2   = 8.
      APPEND lw_alv TO lt_alv.
      lw_alv-category = 'Beta'.
      lw_alv-serie1   = 4.
      lw_alv-serie2   = 4.
      APPEND lw_alv TO lt_alv.
      lw_alv-category = 'Gamma'.
      lw_alv-serie1   = 1.
      lw_alv-serie2   = 3.
      APPEND lw_alv TO lt_alv.
    * Now let's call the recently created node and bind the lt_alv table.
    * Get node from context
      lo_dyn_node = wd_context->get_child_node( name = 'GRPH_DYN' ).
    * Bind table with ALV Container
      CALL METHOD lo_dyn_node->bind_table
        EXPORTING
          new_items = lt_alv.
    * It's always good to check if the table was succesfully binded.
    * I refresh the lt_alv table and get the values from the node for controlling
      REFRESH lt_alv.
      lo_dyn_node->get_static_attributes_table( IMPORTING table = lt_alv ).
    There are other ways of adding a node structure in the method add_new_child_node, but it works for me only with STATIC_ELEMENT_RTTI. The node is now created and has the data required for the graphic. Now, we should go to WDDOONMODIFYVIEW, or save the target view as a parameter, to create the graphic, bind the category and series and show it on the screen.
      DATA: lr_graph       TYPE REF TO cl_wd_business_graphics,
                  lr_cat           TYPE REF TO cl_wd_category,
                  lr_series1    TYPE REF TO cl_wd_simple_series,
                  lr_series2    TYPE REF TO cl_wd_simple_series,
                  lr_container TYPE REF TO cl_wd_uielement_container,
                  lr_flow         TYPE REF TO cl_wd_flow_data.
    * Get the root element from the Layout or the specific
    * container you have created for the graphic
      lr_container ?= view->get_element( 'ROOTUIELEMENTCONTAINER' ).
    * Creates a line busniess graph
      lr_graph = cl_wd_business_graphics=>new_business_graphics(
            BIND_SERIES_SOURCE = 'GRPH_DYN'
            CHART_TYPE = cl_wd_business_graphics=>e_chart_type-lines
            HEIGHT = 340
            WIDTH = 750
            ID = 'GRAPH'  ).
    * Create the flow data for the new UI Element business graphic
      lr_flow = cl_wd_flow_data=>new_flow_data( element = lr_graph ).
    * Set graph in the root container from the Layout tab
      lr_container->add_child( lr_graph ).
    * Bind the category from the dynamic node to the dynamic graphic
      lr_cat = cl_wd_category=>new_category(
                      view = view
                      bind_description = 'GRPH_DYN.CATEGORY'
                      tooltip = 'Company Name' ).
      lr_graph->set_category( lr_cat ).
    * Bind the two series from the dynamic node to the dynamic graphic
      lr_series1 = cl_wd_simple_series=>new_simple_series(
                      bind_value = 'GRPH_DYN.SERIE1'
                      label = 'Sales'
                      view = view
                      tooltip = 'Average Sales' ).
      lr_graph->add_series( lr_series1 ).
      lr_series2 = cl_wd_simple_series=>new_simple_series(
                      bind_value = 'GRPH_DYN.SERIE2'
                      label = 'Purchases'
                      view = view
                      tooltip = 'Average Purchases' ).
      lr_graph->add_series( lr_series2 ).
    Finally we have created our business graphic. Test the application and you'll see something like the attached image.
    Hope you'll find it useful.
    Daniel Monteros.

    Hi,
    http://htmldb.oracle.com/pls/otn/f?p=26372
    then ApEx>Trees and pick a level.
    Use Help for more information.
    I you think that tree could help I will put more explanation into help page.
    Konstantin

  • 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

Maybe you are looking for

  • Error while renaming column in Apex 3.2.1

    Hi, I am getting the following error while renaming column in Oracle Apex 3.2.1 through SQL workshop: "ORA-24344: success with compilation error" Interestingly, it only gives an error when I rename the column again to its original name. For example,

  • System crashes and reboot. Montain Lion.  Problem Report

    My computer keeps crashing for no aparent reason. One thing i have noticed is that it crashes when i use gestures. Gestures like the Mision control. Gestures that interact with the whole screen (changing desktops and stuff). I am not sure but it does

  • Can't drag firefox image into applications folder

    The instructions advise to drag firefox to image of Applications folder, but I can't find the firefox image. 2 show up on my desktop, but neither look like the one in the image and neither will move to applications folder or to dock. HELP!

  • Export to pdf -- Line not aligned

    Dear all, I am making POS System. When printing receipts to pdf, I find that some lines are not aligned. Is it fonts problem?? Which fonts is more suitable for traditional chinese.

  • Upgraded library now images are gone! Help please.

    Hi, I was prompted to upgrade my library when I tried to open aperature, so I did.  Now there are no images in it.  Is it still updating? Please help.