Greater function(Arithmetic) not working in graphical mapping

Advertisement

Hi SapAll.
in an Idoc To File Interface i have got a requirement where i need to compare occurance of two child segments  G02,G02 Under parent Segment G01 and then determine the occurance of target Record Structure.
the IDOC structure is   G01
                                          G02
                                          G03
MAPPING IS like G01->count->
                                                    greater(Arithmetic Function)     IF THEN G02 else GO3  ->TARGET RECORD
                          G02->count->
when i use Equals(Boolean Function) then it is comparimg occurance of two child and if equals  then created  target node as per the occurance of source node G02 but when i use Greater(Arithmetic),its not working .
can any one help me how  i can achieve this ?
regards.
Varma

Advertisement

Hi mr Sarvesh Singh.
i did as you said and tested in the message mapping but still iam getting the error as
====================================================================
= Root Exception ===================================================
====================================================================
Thrown:
com.sap.aii.utilxi.swing.framework.FrameworkException: Internal problem occurred
     at com.sap.aii.utilxi.swing.toolkit.ExceptionDialog.init(ExceptionDialog.java:126)
     at com.sap.aii.utilxi.swing.toolkit.ExceptionDialog.<init>(ExceptionDialog.java:98)
     at com.sap.aii.ibrep.gui.mapping.xitrafo.TabbedPane$TabChangeListener.stateChanged(TabbedPane.java:206)
     at javax.swing.JTabbedPane.fireStateChanged(Unknown Source)
     at javax.swing.JTabbedPane$ModelListener.stateChanged(Unknown Source)
     at javax.swing.DefaultSingleSelectionModel.fireStateChanged(Unknown Source)
     at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(Unknown Source)
     at javax.swing.JTabbedPane.setSelectedIndexImpl(Unknown Source)
     at javax.swing.JTabbedPane.setSelectedIndex(Unknown Source)
     at com.sap.plaf.frog.FrogTabbedPaneUI$MouseGetter.mouseReleased(FrogTabbedPaneUI.java:245)
     at java.awt.Component.processMouseEvent(Unknown Source)
     at javax.swing.JComponent.processMouseEvent(Unknown Source)
     at java.awt.Component.processEvent(Unknown Source)
     at java.awt.Container.processEvent(Unknown Source)
     at java.awt.Component.dispatchEventImpl(Unknown Source)
     at java.awt.Container.dispatchEventImpl(Unknown Source)
     at java.awt.Component.dispatchEvent(Unknown Source)
     at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
     at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
     at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
     at java.awt.Container.dispatchEventImpl(Unknown Source)
     at java.awt.Window.dispatchEventImpl(Unknown Source)
     at java.awt.Component.dispatchEvent(Unknown Source)
     at java.awt.EventQueue.dispatchEvent(Unknown Source)
     at com.sap.aii.utilxi.swing.toolkit.Guitilities$EventProcessor.dispatchEvent(Guitilities.java:320)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: the length 0 of the array 'sortedFunctionKeys' is not equal to the number 1 of functions.
     at com.sap.aii.ib.bom.flib.FunctionLibrary.sortFunctions(FunctionLibrary.java:150)
     at com.sap.aii.mappingtool.funclib.FunctionLibraryEditor.prepareSave(FunctionLibraryEditor.java:445)
     at com.sap.aii.mappingtool.fwutil.api.ViewUtil.prepareSave(ViewUtil.java:110)
     at com.sap.aii.ibrep.gui.mapping.xitrafo.XiMappingView.prepareSave(XiMappingView.java:271)
     at com.sap.aii.ibrep.gui.mapping.xitrafo.TabbedPane$TabChangeListener.stateChanged(TabbedPane.java:200)
     ... 27 more
====================================================================
== Content from the LogHandler =====================================
====================================================================
#41 13:32:04 [AWT-EventQueue-2] FINE AutoLog.created.java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: the length 0 of the array 'sortedFunctionKeys' is not equal to the number 1 of functions.
     at com.sap.aii.ib.bom.flib.FunctionLibrary.sortFunctions(FunctionLibrary.java:150)
     at com.sap.aii.mappingtool.funclib.FunctionLibraryEditor.prepareSave(FunctionLibraryEditor.java:445)
     at com.sap.aii.mappingtool.fwutil.api.ViewUtil.prepareSave(ViewUtil.java:110)
     at com.sap.aii.ibrep.gui.mapping.xitrafo.XiMappingView.prepareSave(XiMappingView.java:271)
     at com.sap.aii.ibrep.gui.mapping.xitrafo.TabbedPane$TabChangeListener.stateChanged(TabbedPane.java:200)
     at javax.swing.JTabbedPane.fireStateChanged(Unknown Source)
     at javax.swing.JTabbedPane$ModelListener.stateChanged(Unknown Source)
     at javax.swing.DefaultSingleSelectionModel.fireStateChanged(Unknown Source)
     at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(Unknown Source)
     at javax.swing.JTabbedPane.setSelectedIndexImpl(Unknown Source)
     at javax.swing.JTabbedPane.setSelectedIndex(Unknown Source)
     at com.sap.plaf.frog.FrogTabbedPaneUI$MouseGetter.mouseReleased(FrogTabbedPaneUI.java:245)
     at java.awt.Component.processMouseEvent(Unknown Source)
     at javax.swing.JComponent.processMouseEvent(Unknown Source)
     at java.awt.Component.processEvent(Unknown Source)
     at java.awt.Container.processEvent(Unknown Source)
     at java.awt.Component.dispatchEventImpl(Unknown Source)
     at java.awt.Container.dispatchEventImpl(Unknown Source)
     at java.awt.Component.dispatchEvent(Unknown Source)
     at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
     at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
     at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
     at java.awt.Container.dispatchEventImpl(Unknown Source)
     at java.awt.Window.dispatchEventImpl(Unknown Source)
     at java.awt.Component.dispatchEvent(Unknown Source)
     at java.awt.EventQueue.dispatchEvent(Unknown Source)
     at com.sap.aii.utilxi.swing.toolkit.Guitilities$EventProcessor.dispatchEvent(Guitilities.java:320)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.run(Unknown Source)
#40 13:32:04 [AWT-EventQueue-2] DEBUG AutoLog.created.java.lang.IllegalArgumentException: the length 0 of the array 'sortedFunctionKeys' is not equal to the number 1 of functions.
#39 13:32:04 [AWT-EventQueue-2] FINE AutoLog.created.com.sap.aii.utilxi.swing.framework.FrameworkException: com.sap.aii.utilxi.swing.framework.FrameworkException: Internal problem occurred
     at com.sap.aii.utilxi.swing.toolkit.ExceptionDialog.init(ExceptionDialog.java:126)
     at com.sap.aii.utilxi.swing.toolkit.ExceptionDialog.<init>(ExceptionDialog.java:98)
     at com.sap.aii.ibrep.gui.mapping.xitrafo.TabbedPane$TabChangeListener.stateChanged(TabbedPane.java:206)
     at javax.swing.JTabbedPane.fireStateChanged(Unknown Source)
     at javax.swing.JTabbedPane$ModelListener.stateChanged(Unknown Source)
     at javax.swing.DefaultSingleSelectionModel.fireStateChanged(Unknown Source)
     at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(Unknown Source)
     at javax.swing.JTabbedPane.setSelectedIndexImpl(Unknown Source)
     at javax.swing.JTabbedPane.setSelectedIndex(Unknown Source)
     at com.sap.plaf.frog.FrogTabbedPaneUI$MouseGetter.mouseReleased(FrogTabbedPaneUI.java:245)
     at java.awt.Component.processMouseEvent(Unknown Source)
     at javax.swing.JComponent.processMouseEvent(Unknown Source)
     at java.awt.Component.processEvent(Unknown Source)
     at java.awt.Container.processEvent(Unknown Source)
     at java.awt.Component.dispatchEventImpl(Unknown Source)
     at java.awt.Container.dispatchEventImpl(Unknown Source)
     at java.awt.Component.dispatchEvent(Unknown Source)
     at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
     at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
     at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
     at java.awt.Container.dispatchEventImpl(Unknown Source)
     at java.awt.Window.dispatchEventImpl(Unknown Source)
     at java.awt.Component.dispatchEvent(Unknown Source)
     at java.awt.EventQueue.dispatchEvent(Unknown Source)
     at com.sap.aii.utilxi.swing.toolkit.Guitilities$EventProcessor.dispatchEvent(Guitilities.java:320)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: the length 0 of the array 'sortedFunctionKeys' is not equal to the number 1 of functions.
     at com.sap.aii.ib.bom.flib.FunctionLibrary.sortFunctions(FunctionLibrary.java:150)
     at com.sap.aii.mappingtool.funclib.FunctionLibraryEditor.prepareSave(FunctionLibraryEditor.java:445)
     at com.sap.aii.mappingtool.fwutil.api.ViewUtil.prepareSave(ViewUtil.java:110)
     at com.sap.aii.ibrep.gui.mapping.xitrafo.XiMappingView.prepareSave(XiMappingView.java:271)
     at com.sap.aii.ibrep.gui.mapping.xitrafo.TabbedPane$TabChangeListener.stateChanged(TabbedPane.java:200)
     ... 27 more
#38 13:32:04 [AWT-EventQueue-2] DEBUG AutoLog.created.com.sap.aii.utilxi.swing.framework.FrameworkException: Internal problem occurred
#37 13:32:04 [AWT-EventQueue-2] ERROR com.sap.aii.utilxi.swing.toolkit.ExceptionDialog: Throwable
Thrown:
java.lang.IllegalArgumentException: the length 0 of the array 'sortedFunctionKeys' is not equal to the number 1 of functions.
     at com.sap.aii.ib.bom.flib.FunctionLibrary.sortFunctions(FunctionLibrary.java:150)
     at com.sap.aii.mappingtool.funclib.FunctionLibraryEditor.prepareSave(FunctionLibraryEditor.java:445)
     at com.sap.aii.mappingtool.fwutil.api.ViewUtil.prepareSave(ViewUtil.java:110)
     at com.sap.aii.ibrep.gui.mapping.xitrafo.XiMappingView.prepareSave(XiMappingView.java:271)
     at com.sap.aii.ibrep.gui.mapping.xitrafo.TabbedPane$TabChangeListener.stateChanged(TabbedPane.java:200)
     at javax.swing.JTabbedPane.fireStateChanged(Unknown Source)
     at javax.swing.JTabbedPane$ModelListener.stateChanged(Unknown Source)
     at javax.swing.DefaultSingleSelectionModel.fireStateChanged(Unknown Source)
     at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(Unknown Source)
     at javax.swing.JTabbedPane.setSelectedIndexImpl(Unknown Source)
     at javax.swing.JTabbedPane.setSelectedIndex(Unknown Source)
     at com.sap.plaf.frog.FrogTabbedPaneUI$MouseGetter.mouseReleased(FrogTabbedPaneUI.java:245)
     at java.awt.Component.processMouseEvent(Unknown Source)
     at javax.swing.JComponent.processMouseEvent(Unknown Source)
     at java.awt.Component.processEvent(Unknown Source)
     at java.awt.Container.processEvent(Unknown Source)
     at java.awt.Component.dispatchEventImpl(Unknown Source)
     at java.awt.Container.dispatchEventImpl(Unknown Source)
     at java.awt.Component.dispatchEvent(Unknown Source)
     at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
     at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
     at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
     at java.awt.Container.dispatchEventImpl(Unknown Source)
     at java.awt.Window.dispatchEventImpl(Unknown Source)
     at java.awt.Component.dispatchEvent(Unknown Source)
     at java.awt.EventQueue.dispatchEvent(Unknown Source)
     at com.sap.aii.utilxi.swing.toolkit.Guitilities$EventProcessor.dispatchEvent(Guitilities.java:320)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.run(Unknown Source)
can you help me in this.
regards.
Varma

November 30, -0001

Greater function(Arithmetic) not working in graphical mapping

Hi SapAll. in an Idoc To File Interface i have got a requirement where i need to compare occurance of two child segments  G02,G02 Under parent Segment G01 and then determine the occurance of target Record Structure. the IDOC structure is   G01       

Function Module not working for old Role

Dears Function Module not working for old Role Function Module: /VIRSA/BAPI_AE_USERS_FOR_ROLES Before EHP4 upgrade this functional module working fine, but after updated users are not visible. We have chekced if the users are assigned directly users

Autofill function is not working, 'window' sticks through it not functional!

autofill function is not working, 'window' sticks through it not functional!Back up all data, then test after each of the following steps that you haven't already tried. Stop when the problem is resolved. 1. Quit and relaunch Safari. 2. Select your c

After upgraded ios6 i got problem with whatapp. "last seen" function is not working

HI eveyone after upgraded ios6 i got problem with whatapp. "last seen" function is not working .. it's doest show last seen who enter the chat . is anyone have the same problem .. i even restore and reinstall to my ph but it's  not work .. if so

Radio button and associated functionality is not working!

Hi Pros, I am facing the following problem: 1.I have an interactive PDF created in Acrobat 9 Pro. 2.PDF have few radio buttons, each radio buttons ahave assigned valus(eg: 1,2,3 etc) 3.I have a text box in which the value of selected radio button is

The auto lock function is not working on the iphone 3gs running ios 6...what should i do?

the auto lock function is not working on the iphone 3gs running ios 6...what should i do?Temporary fix - turn off assistive touch if you happen to have it on.Read other 2 answers

My search function does not work. How can I fix it?

Hello I need help I just bough a macbook 13 inch, with snow leopard and the search function does not work. The window opens but when I write the name i searh it gives me no results. How can i fix it? Do i need really to re install all snow leopard? t

HT201335 when using apple tv with my ipad, the mirroring function does not work, screen goes black, what is the issue?

when using apple tv with my ipad, the mirroring function does not work, screen goes black, what is the issue?  My son's Ipad(same as kind as mine) works ok with the apple tv but mine does not.  Any suggestions?Hello Nina Izurin, While written for the

Crystal Report for VS2010 - The Go To Page function does not work

When running a report into Crystal(VS2010), the Go To Page function does not work.  Typing in a page number and pressing Enter does not take you to that page.  The report remains on the current page. I'm not sure if there is suppose to be a button li

Push function is not working

Hi The Mail push function is not working properly. Sometimes it works for a couple of day, sometimes it is not working anymore. Do anybody know a solution for this? Thanks,Make sure you have ticked the Tap to Click option under Trackpad in your Syste

Keynote remote function does not work anymore

I have updated my iphone 5s to iOS8 (8.0.2) I use mavericks OS X 10.9.5 on my macbook pro. Since i have updated my iphone, and KEYNOTE apps, I can't control my presentations with Iphone anymore . I tried with an Ipad and all works great but i can't l

Link functions are not working correctly

I am have a number of links on my page and I am using the a;link, a:hover and a:visited commands but I am getting strange results. First of all my css is on a separate style sheet. What I am trying to do is have all my links in gray text both when be

Function Module not working through VC

Hi Experts I am facing one strange issue while working on VC model with function module as data service. This FM is to writes data to bcak end BI master data table which is working fine through BI. When i pass the values through VC, New values are no

Preflight InDesign function/panel not work

I have updated Indesign to the last update of CC 2014 ITALIAN language, and the preflight (verifica preliminare) function, has stopped working from one day to another! Both new documents and on documents from older versions of Creative Suite, Preflig

G510 installed Windows 8.1 Function keys not working properly

Hi  I am Bharath last week i have puchased lenovo g510 laptop and installed windows 8.1 and later on automatically function keys and all the keys were not working properly. if i press key to increase brightness and some other operation is performing

Binding to a javascript function is not working

I am trying to use the following code to bind to a javascript function and it's not working. I finally had to use jQuery to bind the event handler, but I would like to see the CF generated stuff work. Am I missing something here? This jquery code is

CASE function is not working

Hi, I want to use the CASE function in a sql statement used at form level but it's not working. I can't compile the form. I am using developer 6i at font end and Oracle 10g database at back end. Is it possible to use case function at form level sql s

New Apple Wireless Keyboard Function Key not working ON 10.5.8

Tried updating keyboard os, disconecting reconnecting. Selecting/deselecting option in keyboard options.  power off and on Cannot get function key to work Thanksfound answer here- my wireless keyboard model is  MC184LL/B http://store.apple.com/us/que

Special Functions keys not working on Satellite C50 - Windows 8.1

Hello, Please could someone help me out. I have a Toshiba Satellite C50-A0393 that I got a few months ago with Windows 8.1 already installed (64 bit). Today I got a message saying I needed to look at the PC Health, a Toshiba blue message concerning t

HT1192 caps lock function does not work after latest update

Hi there, I have a Macbook 13" Early 2011 and recently after updating my operating system to Mac OS X 10.7.4, i have found that the caps lock button isn't functioning. At present if i hold or press the button, it is failing to light up or function at