Generic Sort filter in SAP MII 14.0.5

Hello,
I am trying to use Generic Sort filter in SAP MII 14.0.5 and all i need to achieve is sort the XML nodes based on values. i am trying to give input as below XML and sort based on Value. but i am getting error. Input to Generic sort filter is mentioned below. i don't see much documentation for this block. any inputs will be greatly appreciated.
Error:-
"[Generic_Sort_Filter_0] Unknown property: <?xml version="1.0" encoding="UTF-8"?><Address>
<Product>MAC_Address</Product>
<value>78FF5700E419</value>
<value>78FF5700E418</value>
<value>78FF5700E420</value>
</Address>"
Input to Generic Sort Filter:-
Source:-
<Address>
<Product>MAC_Address</Product>
<value>78FF5700E419</value>
<value>78FF5700E418</value>
<value>78FF5700E420</value>
</Address>
Filter Colum1:- Local.OutputXML{/Address/value}
-Adarsha.K.S

I could be wrong but I seem to recall that Action only supported the MII xml document structure: /Rowsets/Rowset/Row etc.

Similar Messages

  • Wildcards in Generic sort filter

    Hi,
    is it possible to use wildcards in the Generic sort filter in transactions? And if yes, which ones?
    Problem is the following: I get a list of orders from SAP, and I want to select only the orders that are released, so I have to filter on Orderstatus 'REL', the rest of the status can differ according to different situations of the order, so I don't want them in my filter.

    You can also perform this via XPath but it will not be quite as fast as the complied action code, here's the syntax:
    JCoCall.ResponseXML{/BAPI/SomePath *Square Bracket* contains(StatusCode, "REL") *Square Bracket* /Item}
    For more examples and ideas see:
    [http://www.w3schools.com/Xpath/default.asp|http://www.w3schools.com/Xpath/default.asp]
    Hope this helps,
    Sam
    PS: Sorry about the *Square Bracket* piece it interprets it as a link otherwise.

  • XML Generic Sort Action Crashes

    Hi All,
    I am using a XML Generic Sort Function to sort an MII XML Document. I am using this transaction on multiple pages and it only crashes on 1 page.
    I am getting the following error:
    com.sun.org.apache.xalan.internal.xsltc.TransletException: com.sun.org.apache.xalan.internal.xsltc.TransletException: com.sun.org.apache.xalan.internal.xsltc.TransletException: java.lang.NullPointerException
    This is the data I am passing into the action:
    <?xml version="1.0" encoding="UTF-8"?>
    <Rowsets DateCreated="2011-06-21T11:08:54" EndDate="2010-11-02T09:02:16" StartDate="2010-11-02T09:02:16" Version="12.1.7 Build(50)">
    <Rowset>
    <Columns>
    <Column Description="" MaxRange="1" MinRange="0" Name="ProductionOrder" SQLDataType="1" SourceColumn="ProductionOrder"/>
    <Column Description="" MaxRange="1" MinRange="0" Name="MaterialNumber" SQLDataType="1" SourceColumn="MaterialNumber"/>
    <Column Description="" MaxRange="1" MinRange="0" Name="SalesOrder" SQLDataType="1" SourceColumn="SalesOrder"/>
    <Column Description="" MaxRange="1" MinRange="0" Name="SalesOrderItem" SQLDataType="1" SourceColumn="SalesOrderItem"/>
    <Column Description="" MaxRange="1" MinRange="0" Name="Operation" SQLDataType="1" SourceColumn="Operation"/>
    <Column Description="" MaxRange="1" MinRange="0" Name="SerialNumber" SQLDataType="1" SourceColumn="SerialNumber"/>
    <Column Description="" MaxRange="1" MinRange="0" Name="ScheduleStartDate" SQLDataType="93" SourceColumn="ScheduleStartDate"/>
    <Column Description="" MaxRange="1" MinRange="0" Name="ScheduleEndDate" SQLDataType="93" SourceColumn="ScheduleEndDate"/>
    <Column Description="" MaxRange="1" MinRange="0" Name="MaterialGroup" SQLDataType="1" SourceColumn="MaterialGroup"/>
    <Column Description="" MaxRange="1" MinRange="0" Name="Model" SQLDataType="1" SourceColumn="Model"/>
    <Column Description="" MaxRange="1" MinRange="0" Name="PowerType" SQLDataType="1" SourceColumn="PowerType"/>
    </Columns>
    <Row>
    <ProductionOrder>000002000565</ProductionOrder>
    <MaterialNumber>3000SRPX7AC2TVC-R</MaterialNumber>
    <SalesOrder>0000001063</SalesOrder>
    <SalesOrderItem>000010</SalesOrderItem>
    <Operation>1100</Operation>
    <SerialNumber>SDVN86013458</SerialNumber>
    <ScheduleStartDate>TimeUnavailable</ScheduleStartDate>
    <ScheduleEndDate>TimeUnavailable</ScheduleEndDate>
    <MaterialGroup>SRP 3000</MaterialGroup>
    <Model></Model>
    <PowerType></PowerType>
    </Row>
    </Rowset>
    </Rowsets>
    I am sorting on Operation as a number, ProductionOrder as a number, SalesOrder as a number and MaterialNumber as text.
    Any help would be appreciated.
    Jasper

    Thanks Jeremy for the help. I have submitted this to SAP as a bug and I am moving away from using this action.
    I don't quite understand your response so I will add it as a reference for others:
    "At first glance I thought maybe a data type issue was the source of the problem, since you were sorting as number type in the GenericSortFilter action, but the document columns were defined as strings.  I typically try to keep the data types as pure and consistent as possible, but that didn't seem to be the issue when I switched the sort type to text.
    The issue seems to be with the last two columns in the document (even though you are not using them in the sort action) - the source for the Row action is blank or null.  I tried used the Output from the Repeater instead of the Item node, but the same issue happened.  Deleting these columns from the document or changing the link assignments for the Model and PowerType columns to nullstring seems to do the trick.
    It would appear that you have discovered a bug, so if you could log a formal support ticket (MFG-MII component) and update the SDN thread that would be perfect.
    Best Regards,
    Jeremy Good"

  • To Retrive Folder List in SAP MII 12.0

    Is there any option available in SAP MII 12.0 to retrieve List of Folders Available same as like Folder List Query in 11.5.

    Hello,
    try an XML Query with the following URL:
    /XMII/Illuminator?Mode=TransactionFolderList&Server=XacuteConnector&Content-Type=text/xml
    Filter the result by its "ParentPath" column to get a list of folders inside a provided parent folder. Make sure that you have increased the default query row count of 100 to get all folders on your system.
    Hope this helps - good luck!
    Matthias
    Edited by: Michael Appleby on Jan 5, 2011 2:38 PM

  • Sort Filter Table Matrix

    Hi,
    I like to use the Sort Filter Table function (right click on the Matrix, plus the SAP icon to be activated) in my Add-On, Matrix.
    Could you please provide me the code?
    Thank you,
    Rune

    Hi Szymon Lipnicki,
    I will open a new Forum ticket, because I cannot give you 10 points in this ticket anymore...
    I will post a new ticket and please drop your answer in the new ticket. The Subject is "Filtering User Matrix"
    Thank you very much, this is good news!!!
    Thank you,
    Rune

  • 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

  • Error in /LogoPage.html  after deploying SAP MII 14.0 SP5

    Hi Experts,
    I am using SAP EHP1 for NW 7.3 SP07. Recently I upgraded from SAP MII 14.0 SP04 patch 5 to SP05 patch 2.
    After Upgrading I am getting many issues as below:
    1. When opening "http://hostname:port/XMII/" as file "/LogoPage.html" does not exist. When I checked the file its not exist in the server.
    2. When opening web pages I am getting java alert as "The application contains both signed and unsigned code"like that.
    I am using JRE v 1.6.0_21.
    Is that problem with the Patch that I deployed or any other issue.
    Please let me know?
    Regards
    G.Partheeban

    Hi Experts,
    I tried deploying with SUM,JSPM and telnet but no use. The file is not deployed properly. I guess this is the patch issue.
    I copied the Logopage and other file missing. Now the issue "1" is fixed but I am getting the below
    2. When opening web pages I am getting java alert as "The application contains both signed and unsigned code"like that.
    I am using JRE v 1.6.0_21.
    I also tried to revert back to SP04 using JSPM with the command "UpdateAll" and "UpdateSameand Lower" version. Can any one please suggest me how to revert back or how to solve the above errors?
    Regards
    G.Partheeban

  • SAP MII 14.0 unable to open workbench

    Hello Experts,
    I am facing issue while opening workbench .
    The exception thrown is as below :
    "com.sun.deploy.net.JARSigningException: Found unsigned entry in resource: http://[sever]:[port]/XMII/CMSLogicEditor/xalan.jar"
    I am using SAP MII 14.0 SP5 Patch 7 & Java 1.7 update 45.
    I have deployed pdf jar & fop jar yesterday but deleted back fop yesterday itself .
    In my temporary java resource files(control panel->Java->General ->Temporary Files -> View ) ,I see xalan & serializer jar updated date yesterday ,not sure if has anything to do with this.
    Please help on this issue.
    Thanks & Regards,
    Neha Kshirsagar

    Hi Swaroop ,
    We are currently using jre 1.6.31 or versions of 1.7.45.We have already tried few workarounds regarding this with enabling certain Java settings ,but nothing has worked till now.What I feel that this could be some java setting on server system issue or netweaver cache isn't cleared .
    Please fnd below screenshots as your request
    Thanks & Regards,
    Neha Kshirsagar

  • SAP MII 14.0 - Calling Transactions using SOAP Runner fails

    Hello All,
    We are calling transactions in SAP MII 14.0 from external apps using SOAP Runner and we are passing the login info in the payload. But we are getting the following error.
    We are passing the following in the payload.
    <xmii:LoginName>Username</xmii:LoginName>
    <xmii:LoginPassword>Password</xmii:LoginPassword>
    We are getting 401 unauthorized as the user name and password is not propagated to the MII.
    It works if we supply the info explicitly when we invoke the URL.
    Thanks,
    Kiran

    Hello Rajesh,
    I don't think that will be allowed. We usually pass the credentials in the payload and it has always worked for us in MII 12.1. But in MII 14.0 it does not seem to be working.
    Thanks,
    Kiran

  • Reading File from a Desktop/ShareFolder in SAP MII 14.0

    Dear Experts,
    I have a situation where I want to read a CSV file from a source different than SAP MII server. Basic intention is to read a file from a desktop or some shared folder.
    My first doubt is- Is it really possible in SAP MII 14.0 version?
    But still I tried doing the same. Used Get File Text Loader action and text loader and provided file path from desktop which gives me an error. Here's the syntax I tried with mask as .csv:
    C://Users/XXX/Desktop
    C:\Users\XXX\Desktop
    C:/Users/XXX/Desktop
    Error I get is as follows:
    [ERROR] [Get_File_List_0]GetFileList: Access to the file path /C://Users/XXX/Desktop is not allowed
    Please advise, if it is really possible in MII 14.0 . If yes, Am I missing any steps?
    Regards

    Hi Kirti
    To read/load a file from your desktop you will need to execute some form of client side program like HTML or JS or applets. MII Transactions run on the MII server and would point to the Server's C:/ if the server has such a folder. Usually users do not have access to C drive of servers. Hence you see the error.
    You will need to write some program that executes on your desktop and pulls the file from your system and then posts to the server.
    Regards
    Partha

  • Unable to Pass Parameters to I5Grid in SAP MII 14.0 SP05

    Hi Experts,
    There was a bug in SAP MII 14.0 SP04  where we were unable to pass parameters to I5Grid dynamically. I understand that this bug has been fixed in SP05 , so we applied following patches:
    Patches installed :
    a)      XMII05P_4-10008694.SCA
    b)      XMII05_0-10008694.SCA
    Note details mentioning this issue :
    2016927 - I5Grid does not take into account overridden parameters when updateGrid(true) is called
    But even after applying these patches, I am still not able to pass parameters to I5Grid dynamically from irpt page.  Does anyone have any insight to it? Is it working for any one of you?
    Regards,
    Kirti

    Hi Chirstian,
    I see this change working. I was doing a mistake while passing parameter to I5grid.
    What I was doing-
    Grid.getQueryObject().setParameter(1, linename);
    Correct Way:
    Grid.getQueryObject().setParameter("Param.1", linename);
    Thanks & Regards,
    Kirti

  • SAPUI5 in SAP MII 14.0 - error on running index.html

    Dear All,
    I am working on SAP MII 14.0.
    I am trying to run a sample example on SAPUI5 implementation in SAP MII 14.0 taken from link: http://scn.sap.com/community/manufacturing/mii/blog/2013/03/21/making-engaging-ui-on-sap-mii-with-sapui5
    But I got an Error when I tested index.html page !!
    Problem Description:
    My index.html code is :
    <!DOCTYPE HTML>  
    <html><head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"> 
    <script src="/sapui5/resources/sap-ui-core.js" 
                          id="sap-ui-bootstrap“  type="text/javascript" 
                          data-sap-ui-libs="sap.ui.commons,sap.ui.table,sap.viz, sap.ui.ux3" 
                          data-sap-ui-theme="sap_goldreflection" > 
    </script>
      </head>  
          <body class="sapUiBody" role="application">  
          <div id='plantkpiDiv'></div>
    <script>  
      alert("1"); // this comes
      //register the application  
    jQuery.sap.registerModulePath("kpidashboard", "/XMII/CM/547555/SAPUI5/kpidashboard/webcontent"); 
      alert("2");   // this comes
    //instantiate the view
      var plantView = sap.ui.view({id:"idPlantView", viewName:"kpidashboard.PlantView", type:sap.ui.core.mvc.ViewType.JS});  
       //add the view to the div 
    alert("3"); // this does not come
      plantView.placeAt("plantkpiDiv");    
       </script> 
           </body>
    </html>  
    Folder Structure in Workbench is as follows:  /XMII/CM/547555/SAPUI5/kpidashboard/webcontent
    Inside webcontent I have created three files i.e. PlantView.controller.js , PlantView.view.js and index.html.
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
    Timestamp: Tue, 11 Mar 2014 10:32:30 UTC
    Message: Unterminated string constant
    Line: 13
    Char: 260
    Code: 0
    URI: http://inpuneme01:50200/XMII/CM/547555/SAPUI5/kpidashboard/webcontent/index.html?JSESSIONID=G59R-clhqrId7QDW_a_VBOSXQqyvRAEC2ZsB_SAPqh1fgxWruoAQAKceTGLKZ-6J
    Message: failed to load 'kpidashboard.PlantView.view' from /XMII/CM/547555/SAPUI5/kpidashboard/webcontent/PlantView.view.js: SyntaxError: Unterminated string constant
    Line: 41
    Char: 11332
    Code: 0
    URI: http://inpuneme01:50200/sapui5/resources/sap-ui-core.js
    Thanks and Regards,
    Anshul Arora

    Hi Rohit,
    I checked and found that PCo Mgmt service was not started. SO I started it and now I am able to get the XML when I open PCO Mgmt URL in the browser of PCo Server
    But,
    When my agent is running, I don't get Browse button enabled in "Subscription Items" tab.
    When I stop the agent instance, I can see Browse button enabled in "Subscription Items" tab. But when I click on browse, it gives me following error:
    Not sure what's wrong?
    Soham

  • SAP MII function issue in SAP MII 14.0

    Hi,
    Currently I was working on some content up gradation work in SAP MII 14.0 , but while working, I have got a strange think regarding SAP MII Functions. We have developed the same code in SAP MII 12.2 and faced the issue while migrating to 14.0. The issue is as follows,
    The function we have used in 12.2 is getvalue(name) as in the below screenshot,
    but while we have migrated to 14.0, then we saw the function has updated into getvalue(map, key) in 14.0
    I have no idea why parameter of the existing function got updated, but the problem is if someone want to migrate the existing code from 12.2 to 14.0 using such of function then he/she can get a "Conversion Exception" and at that time it will become bit hectic to identify the issue and change the logic to handle this in all the places.
    Regards,
    Suman

    Hello Suman,
       I guess it is a bug in MII 14.0. The help doc has the getValue(name) still. However, the newer function is not present in the same. I guess it was not documented. I guess, the getValue(map, name) is a newer function which somehow replaced the older one.
    I would suggest you to raise a support ticket. According to me, the getValue(name) and getValue(map, name), both should exist.
    Regards,
    Tufale Ashai.

  • Maintenance View - Can you sort/Filter? How to create z transaction for it?

    Hi,
    I will be creating a maintenance view that will be used several times at the end of every month, eventually storing more than 500 entries.
    Is there anyway for the user to be able to sort/filter the maintenance view by field? This would be helpful, since they would like to see what similar records are stored before adding others.
    What are my options?
    Also, how do you create a transaction code to go straight to the maintenance view instead of having to go through SM30?
    Please help.
    Thanks,
    John

    Hey John,
    Is there anyway for the user to be able to sort/filter the maintenance view by field? This would be helpful, since they would like to see what similar records are stored before adding others.
    What are my options?.
    Option1:
    We canu2019t give the sort button (as we give in the nomal reports). But if you know like - based on what field user want to see the sorted output(lets say field MATNR)? then we can create an Event for the table maintainance generator using SE11 and write the code. In this code we sort the output that will be displayed in SM30 as per the requirement.
    Also, how do you create a transaction code to go straight to the maintenance view instead of having to go through SM30?.
    Go-to SE93 and choose the option u201Ctransaction with parametersu201D and give the t.code as SM30 and Check Skip initial screen.
    regards
    Shyam.

  • Issue with SAP MII Batch RDS

    Hi
    We are deploying the SAP MII Batch manufacturing Rapid deployment solution.After deploying the package and  setting up all the config guide, we have following concerns.
    1. The orders are coming in operator dashboard but can not see work instructions (PI sheets contents).
    2. Also , in the confirmation screen , can't pull the orders.It is always coming 0 even the records are there.
    3. The data which is supplied with package is in German format. Is this OK  or  have data in English as well.
    4. Have deployed the package on oracle database so  have issue converting some of the SQL server data into oracle.Means we have to convert script into Oracle scripts and hence some statements through errors and all the master data in the table is not updated.
    5. We are using plant name as PL99 instead of 1000 , will this have any issue.
    Any kind of help is appreciated.
    Thanks & Regards
    Vinod

    Instead of directly submiting these jobs.
    in the Job definition  screen if you right click on job definition
    you will get a option new job definition it will give several option
    use the one you require and go next next this inturn submits the jobs you mentioned.

Maybe you are looking for

  • The selected original image is either offline or not found. Please reconnect it and try again.

    Hi to all, This is my first time here. I am having a problem that I've never had before. I am attempting to upload images to Flickr, which I do daily without trouble. However, this time I'm getting the message: "The selected original image is either

  • Question-Recovering tablespace in physical Standby...Oracle 10g?

    Hello: I have an interesting issue. I thought I will ask the group. I have a physical standby database in 10g. Once of the datafile is in inconsistent state due to a crashed DB during recovery from the last time around. I do not have any archivelogs,

  • Link invoice with Business Document

    Hi all, I am looking for a way to link my invoices (from R/3 Invoice overview) with the original scanned invoice in TIFF format (business document). I can see that this is possible using the "Attach Business Document" feature in the change invoice sr

  • How to check whether checkbox is checked or not and to get label if checked

    Hi, I've used checkboxgroup, and i'm populating it dynamically using attribute node & attribute value.. like this IPrivateTestView.IWelcomNode wNode =wdContext.nodeWelcom();      IPrivateTestView.IWelcomElement wEl,wE2,wE3;      wEl=wNode.createWelco

  • F110 -In table T074U, the entry K   is missing

    Hi All, I am trying to process an item with Sp.GL indicator through payment run F110. I am geting following error message in the proposal log "In table T074U, the entry K   is missing". This table gives me all the Sp. GL indicators with the relevant