MII Display

Hi,
I am creating the charts for usage material from ERP , I have extracted the usage details from the ERP and show up in the charts but I dont see the dates scroll below the charts. Can someone help me with this.
P.S : I have even selected the Time refresh control on contect menu behaviors
Thanks,
Jai
Edited by: jaimalhotra on Jun 30, 2011 5:19 PM

Jai,
On a SQL Query, there are a couple different ways to do this.  If you are using Query mode, go to the SQL Query Details screen.  At the bottom is an entry for a Date Column, you would map a date column here.
For FixedQuery mode, there are special placeholder tokens for the Start and End dates, [SD] and [ED], repectively.  For example,
Select * From Orders Where ShippedDate >= [[SD]] and ShippedDate <= [[ED]]. 
Understand that when you TEST the query, the placeholders will be replaced with the date range that was configured on the Date Range screen. 
Kind Regards,
Diana
Edited by: Diana Hoppe on Jun 30, 2011 12:21 PM

Similar Messages

  • Web Service Action Block in MII 12.0

    Hi All,
    We are trying to understand the functionality of web services action block in MII 12.0 with a third party application.
    Can anyone share the complete procedure of the configuration to understand the data flow between webservice block with third party application.
    Thanks
    Rajesh S

    Rajesh,
    let's take your example. An external web service has been created with C or .NET or other tools. The creator of the web service also have created a URL that you can use to call the web service. The web service may accept input and responses output. The input / output parameters (among other settings) are defined in the WSDL.
    Now you want to call the external web service in MII. You create a BLT with the web service action. After you have entered the URL and press enter the web service configuration wizard calls the URL and retrieves the WSDL data (if the URL is correct). That's what I have described above.
    In the link editor MII displays the XML structure of the web service. There you can link data to the input parameter of the web service, e.g. the contents of a file. If the web service action is processed, the web service is called using the linked values, and the file contents is submitted.
    The external party can also call any MII BLT as a web service using the MII WSDLGen service. In the BLT, you also define Transaction Properties as input and output parameters. WSDLGen will build a xml structure using these parameters. If the external party want to send the file contents, it calls the MII web service with the file contents in the Transaction input property.
    You can easily test a MII web service. You just need two BLTs, one calling the other to see if the file contents is sent correctly.
    Does this explanation help? I do not see a difference between a URL and WSDL URL. The file contents is passed inside the web call, not stored in a location.
    Michael

  • Java.lang.StackOverflowError in SAP xMII 11.5

    Hi All,
    I am using SAP xMII 11.5 and Java 1.4. I am trying to display a large iGrid using irpt file. But it is not displaying the grid. I checked log in servletExec folder,it have java.lang.StackOverflowError. How can i solve this issued? Can it be resolved by setting -Xms parameter in Java Run-time environment in server(I am using Windows 2003 Server)? Or should I need to set it in any conf file or pref file inside servletExec folder? Please advice. Thanks in advance.
    Regards,
    Subin

    Hi Thomas,
    MII display applets are nothing else than standard applets. They are executed in the client VM mostly provided by the JavaPlugin in the browser. To give the applets more RAM use the -Xmx parameter and set it in the command line for the JavaPlugin VM. In Windows this can be found in systemcontrol->Java. 64M ist standard. Give it 250M for testing.
    Oh, sorry. Just saw that you found the exception in the server log. Same holds for the server. So try to increase RAM for server VM with -Xmx. Server VM can easily be set to 1GB (but not more than about 1.5G in a 32 bit system).
    Do you have the stack trace for this StackOverflow? Normally this points to endless recursion.
    Good luck,
    Matthias
    Edited by: Matthias Wald on Jan 21, 2011 11:11 PM
    Edited by: Matthias Wald on Jan 24, 2011 3:46 PM

  • Problem consuming a MII BLS as a Web service. No data getting displayed

    Hi experts,
    I am trying to consuming a MII BLS as a Web service from Visual Basic .Net 2010. But its a failure. I am unable to view any data on the VB grid. I did piece of code referring to the article in
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b0563b23-be97-2b10-02a0-fb8fac9ab39e
    I am totally new developer in Microsoft products. Here is the code that I used from the above white paper.
    Public Class Form1
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            Dim wsVcValues As New SapVcValues.XacuteWS
            Dim myInParams As New SapVcValues.InputParams
            Dim varResult As SapVcValues.Rowset
            'Pass your input parameters to the transaction
            myInParams.Plant = "1000"
            'Now lets call the transaction using the guest account
            varResult = wsVcValues.Xacute("guest", "guest", myInParams)
            DataGridView1.DataSource = varResult.Row
            DataGridView1.Refresh()
            varResult = Nothing
        End Sub
    End Class
    Here are some deviations when compared to the above article.
    1. Used MII 12.1 transction.
    2. Used VB .Net 2010 as the development environment.
    The transaction that I used has 1 action with simple query which returns the o/p xml.
    Please help! I am stuck.
    Regards,
    Rajesh.

    Hi Jeremy,
    You are right. I am getting a log in page when try to call the WS from the browser. I unchecked WSDLGenSecurityEnabled option. Now I am not redirected to log in page. But I am not getting the required output in the XML.
    I am using SAP MII 12.1Service Pack 6.
    Please find the XML the is getting displayed when I call the WS from browser below:
    =====================================================================================================
    <?xml version="1.0" encoding="UTF-8"?><definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.sap.com/xMII" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://www.sap.com/xMII">
        <!-- Types -->
        <types>
            <s:schema elementFormDefault="qualified" targetNamespace="http://www.sap.com/xMII">
                <s:complexType name="InputParams">
                    <s:sequence id="InputSequence">
                    <s:element maxOccurs="1" minOccurs="0" name="Input1" type="s:string"/><s:element maxOccurs="1" minOccurs="0" name="Input2" type="s:string"/></s:sequence>
                </s:complexType>
                <s:element name="XacuteRequest">
                    <s:complexType>
                        <s:sequence>
                            <s:element maxOccurs="1" minOccurs="0" name="LoginName" type="s:string"/>
                            <s:element maxOccurs="1" minOccurs="0" name="LoginPassword" type="s:string"/>
                            <s:element maxOccurs="1" minOccurs="0" name="InputParams" type="s0:InputParams"/>
                        </s:sequence>
                    </s:complexType>
                </s:element>
                <s:complexType name="Rowset">
                    <s:sequence>
                        <s:element maxOccurs="unbounded" minOccurs="0" name="Row" type="s0:Row"/>
                    </s:sequence>
                    <s:attribute name="Message" type="s:string"/>
                </s:complexType>
                <s:complexType name="Row">
                    <s:sequence id="RowSequence">
               <s:any maxOccurs="132" minOccurs="1" type="s:string"/></s:sequence>
                </s:complexType>
                <s:element name="XacuteResponse">
                    <s:complexType>
                        <s:sequence>
                            <s:element maxOccurs="1" minOccurs="0" name="Rowset" type="s0:Rowset"/>
                        </s:sequence>
                    </s:complexType>
                </s:element>
            </s:schema>
        </types>
        <!-- Messages -->
        <message name="XacuteSoapIn">
            <part element="s0:XacuteRequest" name="parameters"/>
        </message>
        <message name="XacuteSoapOut">
            <part element="s0:XacuteResponse" name="parameters"/>
        </message>
        <!-- Ports -->
        <portType name="XacuteWSSoap">
            <operation name="Xacute">
                <input message="s0:XacuteSoapIn"/>
                <output message="s0:XacuteSoapOut"/>
            </operation>
        </portType>
        <!-- Bindings -->
        <binding name="XacuteWSSoap" type="s0:XacuteWSSoap">
            <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
            <operation name="Xacute">
                <soap:operation soapAction="http://www.sap.com/xMII" style="document"/>
                <input>
                    <soap:body use="literal"/>
                </input>
                <output>
                    <soap:body use="literal"/>
                </output>
            </operation>
        </binding>
        <!-- Service mapping -->
        <service name="XacuteWS">
            <port binding="s0:XacuteWSSoap" name="XacuteWSSoap">
                <soap:address location="http://192.168.128.41:50700/XMII/SOAPRunner/MIIDemoHome/DashBoard/Test121TRX"/>
            </port>
        </service>
    </definitions>

  • Unable to pass variables from IRPT to on demand MDO in MII v12.2

    Hi all,
    Here is what I am trying to achieve - to pass an order input value from front end and fetch the results through on demand MDO.
    STEP 1: Created a BLS transaction with input parameter order and tested it to get Output XML - SUCCESSFUL.
    STEP 2: Created an On-Demand MDO object pointing to the BLS transaction, tested it by passing the value to input parameter in Dynamic Query Parameters - SUCCESSFUL.
    STEP 3: Created an MDO Query Template in SELECT mode pointing to the MDO object created, there are 2 things which I noticed. when I pass the value to OBJECT PARAMETER, it worked fine and when I pass it to PARAMETERS it Doest not work. I just used the object parameter because it worked for me.
    STEP 4: Created an Applet with MDO Query Template and Grid Display template. Tried passing the value using setParam(1, order). I found 3 different variations:
         Result 1: If Object Parameter in MDO Query is not set to any default value - "No Data Available" is seen on applet.
         Result 2: If Object Parameter is set to some valid default value say 123, irrespective of what I pass from UI setParam, I always see the data of 123.
         Result 3: If Object Parameter is set to some valid default value say 123 and in addition to that, I add Filter expression [val1] = [ param (dot)1 ] in my MDO select query, then when I pass 123 from UI, I see the result and when I pass someother input I see empty table, however now I can see the columns with empty table.
    Can someone tell me where I am going wrong?
    Any help is highly appreciated.

    Hi Michael,
    I am using the ramup version 12.2 and want to explore all the new features available in 12.2 and came downloaded the example project of MII 12.2 avaiable here. while doing that I came across an example of onDemand MDO query for pulling the data from Tag quieries and making it dymanic by passing speed or quality or perfomance parameters, however it just showed me only quality results always, I coudn't test it properly because it was a tag query so I created my own scenario and it didnt work from UI as expected.
    so wanted to know if I am going wrong somewhere before I conclud it is a bug.

  • How to log in to SAP MII by using a custom xApp?

    Hi there,
    I'm developing a custom xApp with a context root of /mycustomapp
    I use some security contraints for it so the user has to log in to view the xApp.
    As I use some MII services the user has to be logged in to SAP MII, too. However, logging in to SAP NetWeaver doesn't automatically sign in the user to SAP MII, too.
    Is it possible at all?
    Accessing /mycustomapp leads to a login mask, but the user should be logged in to SAP MII, too.
    Regards
    Tobias

    web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
      xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
      id="WebApp_ID" version="2.5">
      <display-name>mycustomapp</display-name>
      <welcome-file-list>
      <welcome-file>index.html</welcome-file>
      <welcome-file>index.htm</welcome-file>
      <welcome-file>index.jsp</welcome-file>
      <welcome-file>default.html</welcome-file>
      <welcome-file>default.htm</welcome-file>
      <welcome-file>default.jsp</welcome-file>
      </welcome-file-list>
      <security-constraint>
      <display-name>Authentication of Users</display-name>
      <web-resource-collection>
      <web-resource-name>My Resource Name</web-resource-name>
      <url-pattern>/*</url-pattern>
      <http-method>GET</http-method>
      <http-method>POST</http-method>
      </web-resource-collection>
      <auth-constraint>
      <role-name>My_User_Role</role-name>
      </auth-constraint>
      </security-constraint>
      <login-config>
      <auth-method>FORM</auth-method>
      <realm-name>MyRealm</realm-name>
      </login-config>
      <security-role>
      <role-name>My_User_Role</role-name>
      </security-role>
    </web-app>
    web-j2ee-engine.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-j2ee-engine xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:noNamespaceSchemaLocation="web-j2ee-engine.xsd">
      <spec-version>2.4</spec-version>
      <security-role-map>
      <role-name>My_User_Role</role-name>
      <server-role-name>My_User_Role</server-role-name>
      </security-role-map>
    </web-j2ee-engine>
    Besides having the role My_User_Role my user also has the SAP_XMII_User role (and the corresponding developer roles).
    Regards
    Tobias My_User_Role

  • Dell XPS 15 l502x mini-Display Port stopped working after update.

    After the updates on the 11-10-2014 my mini-display port (which worked great previously and is part of the Intel Graphics) stopped working.
    Am running Arch 64bit with Slim + E19
    The symptoms are:
    1. Detects monitor from the laptop and xrandr throws no errors
    2. Enlightenment thinks the screen is connected and it appears in the screen setup as on.
    3. The monitor no longer recognizes that there is a laptop plugged in and just stays off...
    kernel.log
    Oct 13 10:10:19 localhost kernel: [drm:cpt_set_fifo_underrun_reporting] *ERROR* uncleared pch fifo underrun on pch transcoder B
    Oct 13 10:10:19 localhost kernel: [drm:cpt_serr_int_handler] *ERROR* PCH transcoder B FIFO underrun
    Oct 13 14:09:35 localhost kernel: [drm] Wrong MCH_SSKPD value: 0x16040307
    Oct 13 14:09:35 localhost kernel: [drm] This can cause pipe underruns and display issues.
    Oct 13 14:09:35 localhost kernel: [drm] Please upgrade your BIOS to fix this.  (Will look for an update...)
    lspci | grep Intel | grep VGA
    00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
    Here are the packages that I think I may have to swap around...
    [2014-10-11 19:16] [PACMAN] removed ati-dri (10.2.8-1)
    [2014-10-11 19:16] [PACMAN] removed intel-dri (10.2.8-1)
    [2014-10-11 19:16] [PACMAN] removed nouveau-dri (10.2.8-1)
    [2014-10-11 19:16] [PACMAN] removed svga-dri (10.2.8-1)
    [2014-10-11 19:16] [PACMAN] removed lib32-intel-dri (10.2.8-1)
    [2014-10-11 19:16] [PACMAN] removed lib32-nouveau-dri (10.2.8-1)
    [2014-10-11 19:16] [PACMAN] upgraded apache-ant (1.9.4-2 -> 1.9.4-3)
    [2014-10-11 19:16] [PACMAN] upgraded libdrm (2.4.56-1 -> 2.4.58-1)
    [2014-10-11 19:16] [PACMAN] installed mesa-dri (10.3.0-3)
    [2014-10-11 19:16] [PACMAN] upgraded wayland (1.5.0-1 -> 1.6.0-1)
    [2014-10-11 19:16] [PACMAN] upgraded mesa (10.2.8-1 -> 10.3.0-3)
    [2014-10-11 19:16] [PACMAN] upgraded mesa-libgl (10.2.8-1 -> 10.3.0-3)
    [2014-10-11 19:16] [PACMAN] upgraded libva (1.3.1-2 -> 1.4.0-1)
    [2014-10-11 19:20] [PACMAN] upgraded linux-lts (3.14.19-1 -> 3.14.20-1)
    [2014-10-11 19:27] [PACMAN] upgraded xf86-video-ati (1:7.4.0-3 -> 1:7.5.0-1)
    [2014-10-11 19:27] [PACMAN] upgraded xf86-video-intel (2.99.916-2 -> 2.99.916-3)
    As far as I can see my options are to try and roll back via pacman -U in my /var/cache... or to figure out how to make my Nvidia HDMI output work using Synergy...
    I suspect this is some type of driver regression (kernel/mesa/xorg) but am not sure as I have not seen much information about this issue online.
    Unless someone has a better idea... when I get time to try to resolve the issue I will update this post.
    Ok I missed this from dmesg:
    [11671.333426] WARNING: CPU: 0 PID: 486 at drivers/gpu/drm/i915/intel_dp.c:137 intel_dp_max_link_bw.isra.9+0x3e/0xa0 [i915]()
    [11671.333428] invalid max DP link bw val 0, using 1.62Gbps
    [11671.333430] Modules linked in: ctr ccm bnep ipt_REJECT xt_conntrack iptable_filter xt_CHECKSUM xt_tcpudp iptable_mangle ipt_MASQUERADE iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ip_tables x_tables uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core fuse v4l2_common ecb videodev media btusb bluetooth 6lowpan_iphc coretemp hwmon intel_rapl x86_pkg_temp_thermal intel_powerclamp joydev mousedev snd_hda_codec_hdmi kvm_intel arc4 snd_hda_codec_realtek snd_hda_codec_generic kvm iwldvm snd_hda_intel snd_hda_controller crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel cryptd snd_hda_codec r8169 iwlwifi snd_hwdep dell_wmi snd_pcm sparse_keymap iTCO_wdt snd_timer snd mii iTCO_vendor_support dell_laptop microcode pcspkr dcdbas dell_smo8800 psmouse serio_raw
    [11671.333467]  thermal soundcore i2c_i801 shpchp evdev mac_hid mei_me mei lpc_ich wmi processor ac battery pci_stub vboxpci(O) vboxnetflt(O) vboxnetadp(O) vboxdrv(O) udlfb syscopyarea sysfillrect sysimgblt fb_sys_fops tun nfs lockd sunrpc fscache vhba(O) bridge stp llc brcmsmac cordic brcmutil led_class bcma mac80211 cfg80211 rfkill bbswitch(O) ext4 crc16 mbcache jbd2 sd_mod sr_mod crc_t10dif cdrom crct10dif_common atkbd libps2 ahci libahci ehci_pci libata xhci_hcd ehci_hcd scsi_mod usbcore usb_common i8042 serio i915 button intel_gtt i2c_algo_bit video drm_kms_helper drm i2c_core
    [11671.333506] CPU: 0 PID: 486 Comm: Xorg.bin Tainted: G        W  O  3.16.4-1-ARCH #1
    [11671.333509] Hardware name: Dell Inc.          Dell System XPS L502X/0YR8NN, BIOS A04 03/25/2011
    [11671.333511]  0000000000000000 00000000c0982604 ffff8800b2b4fa80 ffffffff8152ba1c
    [11671.333515]  ffff8800b2b4fac8 ffff8800b2b4fab8 ffffffff8106e45d ffff880037c92000
    [11671.333518]  0000000000000000 0000000000000004 ffff88014e2d8c00 ffff8801b5a2f800
    [11671.333521] Call Trace:
    [11671.333528]  [<ffffffff8152ba1c>] dump_stack+0x4d/0x6f
    [11671.333534]  [<ffffffff8106e45d>] warn_slowpath_common+0x7d/0xa0
    [11671.333537]  [<ffffffff8106e4dc>] warn_slowpath_fmt+0x5c/0x80
    [11671.333553]  [<ffffffffa00f543e>] intel_dp_max_link_bw.isra.9+0x3e/0xa0 [i915]
    [11671.333566]  [<ffffffffa00f5539>] intel_dp_compute_config+0x99/0x660 [i915]
    [11671.333579]  [<ffffffffa00da214>] __intel_set_mode+0xb14/0x1670 [i915]
    [11671.333608]  [<ffffffffa00dd4e6>] intel_set_mode+0x16/0x30 [i915]
    [11671.333638]  [<ffffffffa00de623>] intel_crtc_set_config+0xa83/0xdd0 [i915]
    [11671.333666]  [<ffffffffa0025fa1>] drm_mode_set_config_internal+0x61/0xe0 [drm]
    [11671.333690]  [<ffffffffa002984b>] drm_mode_setcrtc+0x2ab/0x5b0 [drm]
    [11671.333712]  [<ffffffffa0019b9f>] drm_ioctl+0x1df/0x680 [drm]
    [11671.333728]  [<ffffffff811d4db0>] do_vfs_ioctl+0x2d0/0x4b0
    [11671.333737]  [<ffffffff811df4ee>] ? __fget+0x6e/0xb0
    [11671.333745]  [<ffffffff811d5011>] SyS_ioctl+0x81/0xa0
    [11671.333753]  [<ffffffff815317a9>] system_call_fastpath+0x16/0x1b
    [11671.333758] ---[ end trace 64be8044e26ca3c5 ]---
    Last edited by scmurcott (2014-10-13 19:12:07)

    So I downgraded those packages and the kernel with no luck.
    I tried to get the HDMI working via Synergy... and failed
    I then tested the Display Port on Windows and it did not work there either - exhibiting the same symptoms as Linux - the OS sees the monitor but no data was transferred.
    So I ended up using one of my Display Link monitors at work... the USB monitors were ok, just an irritation with a flickering mouse.
    I hope it is the miniDP>HDMI adapter and not the port... very frustrated by this problem.
    I hope to test another adapter soon.
    I think as nobody else is experiencing this issue that it may well be hardware/firmware related.
    Hope there is a happy end to this post but not feeling so positive right now.

  • Applets not working with Java 1.7.0_51 in MII 14.0 SP4 Patch 5

    Hi,
    I'm currently evaluating the migration of our MII 12.0 developments to MII 14.
    But I'm running in several issues just trying to use simple things like a SQL query template with an iGrid Display template in test mode.
    Used versions are: MII 14.0 SP4 Patch 5 and on client side the latest Mozilla Firefox with Java 1.7.0_51
    At first I always get a java security warning when the applet is being loaded about unsigned applications.
    At second the applet itself is not running. It always shows "No data available" and the java console shows the following errors (iResult is the id of the applet):
    iResult [ERROR] - Couldn't set query template: No Query Defined
    iResult [ERROR] - Couldn't set display template: null
    iResult [ERROR] - Couldn't set display template: null
    Is this perhaps a general problem, that the MII applets are not working with Java 1.7.x versions?
    If I call the same MII page from a client with Java 1.6.x it is working without errors.
    Do you have some suggestions for me?
    Regards Timo

    please clear your JAVA Cache. that should solve the JRE issue. thanks

  • Error while opening MII login page

    Hello All,
    When I try to login to MII using http://<server name>/Lighthammer/Menu.jsp,It is going to http://<server name>/Lighthammer/error.jsp and displaying the error "Uanble to build user information for authorization response".I am not able to even look at the login page of MII.Please help me to resolve it.
    Ruchi

    What version of MII - 11.5?  Go onto the server and check the Security server URL from the Menu.  If you are using remote desktop and/or using the server directly then http://localhost/Lighthammer/Menu.jsp should allow you to bypass security in order to check the path to LHSecurity.

  • Consuming MII WebService in Java WebDynpro

    Hello,
    We are facing a strange situation...
    We define a transaction in MII to be consumed as WebService in Java WebDynpro. This transaction is a simple query on a DB returning 4 fields :
    Shift code : SHIFT
    Shift description : DESCRIPTION
    Start time : START_TIME
    End time : END_TIME
    It works fine, we use the import adaptative web service wizzard in netweaver developper studio to use this WS...
    But if we to an update on the webservice, changing a field name for example (SHIFT -> SHIFTCODE), we start to have trouble...
    We got then the very helpful error message :
    Exception on execution of web service with WSDL URL '<sever>/WebServices/GetShift' with operation 'Xacute' in interface 'XacuteWSSoap'
    If I display the model info using wdContext.currentRequest_XacuteElement().modelObject().associatedModelClassInfo().getModelInfo().toString()
    I got the following (extract) :
    <ModelClassPropertyInfo name="SHIFT" dataType="com.sap.tc.webdynpro.model.webservice.types.string(java.lang.String)" readOnly="false" qName="SHIFT" required="true" backendType="null"/>
    As you can see, the model definition is NOT updated and we still have SHIFT as name instead of SHIFTCODE...
    If someboby has an idea, it will save us our life ;o)
    Thank you
    PS:it the same behaviour if we add a field...

    Oliver -
    Did you try to reimport the WS model ..? If yes and still doesn't work...Try  to delete the old proxy in webdynpro ( adoptive ws) and import again.
    To avoid code changes,you can give same old name while fresh import.
    Adoptive WS in webdynpro  is not really like Adoptive RFC .It has some limitations.
    Thanks
    Hari

  • SQL Query works in SQL Developer, but not always in MII

    Hi all,
    I encountered a strange behaviour with a query in MII 12.0.2. Maybe someone has a guess what happens.
    I have created a SQL query which runs against Oracle 10g tables. I have tested the query using SQL Developer, and it throws a couple of lines, depending on the contents of the where clause.
    Next I have copied the query to a MII SQL Query (FixedQuery). However, the output is empty most of the time, without showing any errors. After some testing I got the impression that older data are not displayed, but there is no time or date setting in MII.
    As the SQL Developer always returns rows, I am unsure where to search for the error.
    Regards
    Michael

    Michael,
    I would imagine that you have sub-select statements in your FixedQuery, all which will fall subject to the RowCount property of the query template (SQL defaults to 100), which is issued through the driver and typically honored by the database when returning the data from your request.
    Most of the native database query tools allow you to make unbound query requests with no limit on rows, which would probably account for the difference between SQL Developer and the query template.
    For SQLServer it's ROWCOUNT:  http://msdn.microsoft.com/en-us/library/ms188774.aspx
    For Oracle it's ROWNUM:  http://www.oracle.com/technology/oramag/oracle/06-sep/o56asktom.html
    So the answer would be not to make the query template row count some rediculous number, but more appropriately refine the way that the database request is issued.
    Regards,
    Jeremy

  • Create MII transaction & MII Web Service and consume them in ABAP

    Hi,
    there is a document from Pradip Ray (SAP Labs India) published on SDN:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/208239ac-3161-2b10-f29a-abec6754942e
    He explains how to build a transaction in MII, expose it as a web service then consume it in an ABAP program by generating a ABAP consumer proxy for this service.
    I have done this and it works but the problems started when I tried to generate a second ABAP consumer proxy for a second web service build in MII.
    In the ABAP system , transaction SE80 then display proxy class:  ( e.g. ZMIICO_XACUTE_WSSOAP )
    then go to Properties tab , under sub-screen "External key" you can see the "Name: XacuteWSSoap".
    This is the web service port type name generated at MII and is always the same for all the MII web services. When you try to generate a second proxy for a second MII web service you get the following message  "A proxy already exists for object XacuteWSSoap (namespace http://www.sap.com/xMII) "
    This can be changed by editing the WSDL file but then another problem occurs which is related to the "InputParams" complex type. This tag gets generated with the same name for all the web services in MII.  The generation of the ABAP structure with the following name: INPUT_PARAMS will override the previous one .  This means that the previous ABAP proxy will not work anymore.
    Has any one experimented this ?
    Daryoush Delgari.
    This is the generated WSDL on MII:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <definitions targetNamespace="http://www.sap.com/xMII" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.sap.com/xMII" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    - <!--  Types
      -->
    - <types>
    - <s:schema elementFormDefault="qualified" targetNamespace="http://www.sap.com/xMII">
    + <s:complexType name="InputParams">
    - <s:sequence id="InputSequence">
      <s:element maxOccurs="1" minOccurs="0" name="FromDate" type="s:string" />
      <s:element maxOccurs="1" minOccurs="0" name="PLANT" type="s:string" />
      <s:element maxOccurs="1" minOccurs="0" name="ToDate" type="s:string" />
      </s:sequence>
      </s:complexType>
    - <s:element name="XacuteRequest">
    - <s:complexType>
    - <s:sequence>
      <s:element maxOccurs="1" minOccurs="0" name="LoginName" type="s:string" />
      <s:element maxOccurs="1" minOccurs="0" name="LoginPassword" type="s:string" />
      <s:element maxOccurs="1" minOccurs="0" name="InputParams" type="s0:InputParams" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:complexType name="Rowset">
    - <s:sequence>
      <s:element maxOccurs="unbounded" minOccurs="0" name="Row" type="s0:Row" />
      </s:sequence>
      <s:attribute name="Message" type="s:string" />
      </s:complexType>
    - <s:complexType name="Row">
    - <s:sequence id="RowSequence">
      <s:element maxOccurs="1" minOccurs="1" name="Day" type="s:string" />
      <s:element maxOccurs="1" minOccurs="1" name="Item" type="s:string" />
      <s:element maxOccurs="1" minOccurs="1" name="Resource" type="s:string" />
      <s:element maxOccurs="1" minOccurs="1" name="WorkCenter" type="s:string" />
      <s:element maxOccurs="1" minOccurs="1" name="ShopOrder" type="s:string" />
      <s:element maxOccurs="1" minOccurs="1" name="OrderQty" type="s:long" />
      <s:element maxOccurs="1" minOccurs="1" name="Cured" type="s:long" />
      </s:sequence>
      </s:complexType>
    - <s:element name="XacuteResponse">
    - <s:complexType>
    + <s:sequence>
      <s:element maxOccurs="1" minOccurs="0" name="Rowset" type="s0:Rowset" />
      </s:sequence>
      </s:complexType>
      </s:element>
      </s:schema>
      </types>
    - <!--  Messages
      -->
    - <message name="XacuteSoapIn">
      <part element="s0:XacuteRequest" name="parameters" />
      </message>
    - <message name="XacuteSoapOut">
      <part element="s0:XacuteResponse" name="parameters" />
      </message>
    - <!--  Ports
      -->
    - <portType name="XacuteWSSoap">
    - <operation name="Xacute">
      <input message="s0:XacuteSoapIn" />
      <output message="s0:XacuteSoapOut" />
      </operation>
      </portType>
    - <!--  Bindings
      -->
    - <binding name="XacuteWSSoap" type="s0:XacuteWSSoap">
      <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <operation name="Xacute">
      <soap:operation soapAction="http://www.sap.com/xMII" style="document" />
    - <input>
      <soap:body use="literal" />
      </input>
    - <output>
      <soap:body use="literal" />
      </output>
      </operation>
      </binding>
    - <!--  Service mapping
      -->
    - <service name="XacuteWS">
    - <port binding="s0:XacuteWSSoap" name="XacuteWSSoap">
      <soap:address location="http://<host>:port/XMII/SOAPRunner/Default/Amrik/Wolves/WDPro/getCuresByPeriod" />
      </port>
      </service>
      </definitions>

    Hi Daryoush,
    Little surprise for you, I got the solution ;o)
    In fact, editing the WDSL file, you can change the parameter names which will be generated in Web Dynpro. You have to change the tag <complex type ...>.
    For example :
    <s:complexType name="InputParams">
    Could become :
    <s:complexType name="*Zs1*InputParams">
    and later in the code, you should reference the element appropriately
      <s:element maxOccurs="1" minOccurs="0" name="InputParams" type="s0:InputParams"/>
    should become :
       <s:element maxOccurs="1" minOccurs="0" name="InputParams" type="s0:*Zs1*InputParams"/>
    But take care to keep name="InputParams", it's the xlm name which will be used by MII to do the matching...
    Take care also that you have to do the same for output, that means ROW and ROWSET complex type...
    So, to be concrete, here are an example with in bold everything I changed against the original MII WDL file...
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions targetNamespace="http://www.sap.com/xMII" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.sap.com/xMII" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
        <!-- Types -->
        <types>
            <s:schema elementFormDefault="qualified" targetNamespace="http://www.sap.com/xMII">
                <s:complexType name="*Zs1*InputParams">
                    <s:sequence id="InputSequence">
                      <s:element maxOccurs="1" minOccurs="0" name="inputItem" type="s:string"/>
                      <s:element maxOccurs="1" minOccurs="0" name="inputPlant" type="s:string"/>
                      <s:element maxOccurs="1" minOccurs="0" name="inputSearchBy" s:long"/>
                </s:sequence>
                </s:complexType>
                <s:element name="XacuteRequest">
                    <s:complexType>
                        <s:sequence>
                            <s:element maxOccurs="1" minOccurs="0" name="LoginName" type="s:string"/>
                            <s:element maxOccurs="1" minOccurs="0" name="LoginPassword" type="s:string"/>
                            <s:element maxOccurs="1" minOccurs="0" name="InputParams" type="s0:*Zs1*InputParams"/>
                        </s:sequence>
                    </s:complexType>
                </s:element>
                <s:complexType name="*Zs1*Rowset">
                    <s:sequence>
                        <s:element maxOccurs="unbounded" minOccurs="0" name="Row" type="s0:*Zs1*Row"/>
                    </s:sequence>
                    <s:attribute name="Message" type="s:string"/>
                </s:complexType>
                <s:complexType name="*Zs1*Row">
                    <s:sequence id="RowSequence">
                    <s:element maxOccurs="1" minOccurs="1" name="Item" type="s:string"/><s:element maxOccurs="1" minOccurs="1" name="ItemDescription" type="s:string"/></s:sequence>
                </s:complexType>
                <s:element name="XacuteResponse">
                    <s:complexType>
                        <s:sequence>
                            <s:element maxOccurs="1" minOccurs="0" name="Rowset" type="s0:*Zs1*Rowset"/>
                        </s:sequence>
                    </s:complexType>
                </s:element>
            </s:schema>
        </types>
        <!-- Messages -->
        <message name="Xacute*Zs1*In">
            <part element="s0:XacuteRequest" name="parameters"/>
        </message>
        <message name="Xacute*Zs1*Out">
            <part element="s0:XacuteResponse" name="parameters"/>
        </message>
        <!-- Ports -->
        <portType name="Xacute*MyTest*">
            <operation name="Xacute">
                <input message="s0:Xacute*Zs1*In"/>
                <output message="s0:Xacute*Zs1*Out"/>
            </operation>
        </portType>
        <!-- Bindings -->
        <binding name="Xacute*MyTest*" type="s0:Xacute*MyTest*">
            <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
            <operation name="Xacute">
                <soap:operation soapAction="http://www.sap.com/xMII" style="document"/>
                <input>
                    <soap:body use="literal"/>
                </input>
                <output>
                    <soap:body use="literal"/>
                </output>
            </operation>
        </binding>
        <!-- Service mapping -->
        <service name="XacuteWS">
            <port binding="s0:XacuteMyTest" name="XacuteMyTest">
                <soap:address location="http://host/XMII/SOAPRunner/Development/WebServices/GetItems/getItemsTrx"/>
            </port>
        </service>
    </definitions>
    If you want a demo, you can come to my desk ;o)
    Edited by: Olivier Thiry on Mar 12, 2009 1:02 PM
    Damned, the bold tag seems not to work... So all my changes are between star (..)

  • Error when displaying Active Sessions - 500 Internal server error

    Hi all,
    recently I am getting errors when I want to look up the logged on users in our MII 12.0.2 system. The error displayed is
    500 - Internal server error
    Application error occurred during request processing
    Details:   java.util.ConcurrentModificationException: null
    Exception id: [0002556FD9C4003400000076000EA16A00045CFF57783831]
    Netweaver Log only displays the same error.
    Has anyone experienced this kind of error before? All other MII portal items work as usual, it is only "Active sessions" that brings up this error, I would say, 80% of the time I call it.
    This error occurs after a GoLive with more users and more traffic on the machine. Could it be some kind of memory problem? Reboot of the system does not help.
    Michael

    Perhaps the jsp page is not handling something properly - a special character in name or email perhaps?
    Have you tried something like: 
    "/XMII/Illuminator?Service=Admin&Mode=SessionList"
    or
    "/XMII/Illuminator?Service=Admin&Mode=SessionList&Content-Type=text/xml"
    These URL's should produce the desired dataset results - hopefully without the internal server error.
    Regards,
    Jeremy

  • How to schedule a transaction at every shift end in MII 12.1

    Hi,
    I need  to schedule a transaction at every shift end one hour late of it in MII 12.1 (i.e the transaction should run at 3.00 PM for A shift, 11.00 PM for B shift, 7.00 AM for C shift).
    I have tried the various combinations using corn patterns but still no success, Help would be appreciated..
    Thanks in advance
    Regards,
    Swapnil Mohite

    A simple solution would be to schedule 3 separate jobs to run at a single time each.  Try that and see if that works for you. 
    Can you also post the cron pattern that is displayed for your scheduled job?  Although not looking at it right now, I suspect there is a way of setting it correctly so you can work from a single job.
    Regards,
    Mike

  • Which table stores MII log messages

    Hi ,
             Can anyone let me know the name of the table where MII stores all the log messages? As far as I know Netweaver is using one SQL Server database internally to store all the MII log messages. I would like to know the name of the table where these logs are residing
    Thanks in advance
    Shaji

    Hi ,
    It is stored in a file.
    The below two links should clear your doubts :
    http://wiki.sdn.sap.com/wiki/display/xMII/NetweaverCEBasicsforMII
    Writing log messages into DB
    Regards,
    Arun

Maybe you are looking for