Not Equals Function is not working in Mapping
Hi All,
i have to do mappig based on the Not Equals & And conditions
If the Material Group starts with "F"
And Material Type Not Equals to "ZPRO" means
then send "FG" Else "FC"
Here Not Equals & And Functions are not giving success, Error throwing like
Cannot cast ZPRO to boolean] in class com.sap.aii.mappingtool.flib3.Bool method not[ZPRO
Please help in this
Regards
i have to do mappig based on the Not Equals & And conditions
If the Material Group starts with "F"
And Material Type Not Equals to "ZPRO" means
then send "FG" Else "FC"
Here Not Equals & And Functions are not giving success, Error throwing like
Cannot cast ZPRO to boolean] in class com.sap.aii.mappingtool.flib3.Bool method not[ZPRO
the logic applied is incorrect
NotEquals is a boolean function meaning it will accept only boolean values as input....
To check if the Material Number is ZPRO or not use the below logic
MaterialNumber Then(FG)
------equalS(TextFunction) ---- not -----ifWithElse ------------------ Target
Constant (ZPRO) Else(FC)
Regards,
Abhishek.
Similar Messages
-
OBIEE Answe: Error when using "is not equal to/is not in" option in filters
Hi there,
I have a report with a column that uses EVALUATE function. I want to filter the results of the report by the values of this column. There's no problem when I use "is equal to/is in" option in the filter options. However with everything the same, when I try to apply "is not equal to/is not in" option I got an error message reading :
"Error Codes: YQCO4T56:OPR4ONWY:U9IM8TAC:OI2DL65P
Odbc driver returned an error (SQLExecDirectW).
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46047] Datetime value @{pv_Period_End}{@{system.currentTime}[YYYY-MM-DD]} from @{pv_Period_End}{@{system.currentTime}[YYYY-MM-DD]} does not match the specified format. (HY000)"
The column is the following funciton:
CAST(EVALUATE('pob.Get_PP_Status(%1, %2)',"ПРЕПИСКА".PP_ID, DATE '@{pv_Period_End}{@{system.currentTime}[YYYY-MM-DD]}' ) AS CHAR(500))
Do you any ideas where the problem might be?
Kind regards,
DanailThru note 1909504 the Function Module FI_TAX_CALCULATION was changed and caused the error on the system of my customer.
Hope that helps.
Regards
Udo -
My scheduled Do Not Disturb function has stopped working; help!
I have the iPhone 5 & the scheduled Do No Disturb function recently stopped working which I was using daily. The regular Do Not Disturb (on/off) still works
A known Issue... This is what Apple says...
http://support.apple.com/kb/TS4510 -
Is not equal to operator not working properly in obiee 11g
Hi ,
I have 5 members in a dimesion ENTITY.gen5 (A,B,C,D,E) .
nOW , I am using a *"is equal to "* operator in that ,
ENTITY.gen5 = A;B .
Which results in a strange error while running the report :
Socket communication error : was attempted on somthing which is not socket .
or sometimes ,
Socket communication error : Oracle BI server is not currently running .
So , I tried with giving "is not equal to" i.e . ENTITY.gen5 != C;D;E .
Then , I am getting A,B,C . C is not desired here .
FYI , I have renamed ENTITY.gen5 member names in essbase once and after refreshing I tried the above .
OBIEE version : 11.1.1.6
essbase version : 11.1.2.1
Thanks in advanceIn EM, go to Weblogic Domain, right click on bifoundation_domain and on the Security menu choose Application Policies.
Set Application Stripe to obi and click the blue arrow search button.
Highlight BIConsumer and click Edit.
Under Permissions locate Resource Name oracle.bi.publisher.scheduleReport. Highlight this and click Delete...
Click OK (top right corner).
Now log your user out of OBIEE and back in again, and the option should have disappeared from their New menu. -
SQL query using not equal to or not exists
Hi All;
From the below table , i need to display the client name
where output is not equal to Pre Start, BA
but display client with output only with SOSP
so only in the below example DEF client name will be displayed
below is my query
select C.new_applicationformid,
C.clientname ,
C.new_noofappointments
From (
Select A.new_applicationformid ,A.new_programmecontractidname,Count(1) As Cnt
from FilteredNew_applicationform as a
full outer join filteredNew_Evidence as aa on (a.new_applicationformid = aa.new_relatedapplicationid)
Group By A.new_applicationformid ,A.new_programmecontractidname
Having Count(1) >= 1) A
Inner Join filteredNew_Evidence AA on a.new_applicationformid = aa.new_relatedapplicationid
Inner Join FilteredNew_applicationform C on C.new_applicationformid = aa.new_relatedapplicationid
Where ((aa.output in ('SOSP'))
and (aa.output not in ('Pre Start','BA') )
Any help much appreciated
Thanks
Pradnya07See examples written by Joe Celko to help you out
CREATE TABLE PilotSkills
(pilot CHAR(15) NOT NULL,
plane CHAR(15) NOT NULL,
PRIMARY KEY (pilot, plane));
PilotSkills
pilot plane
=========================
'Celko' 'Piper Cub'
'Higgins' 'B-52 Bomber'
'Higgins' 'F-14 Fighter'
'Higgins' 'Piper Cub'
'Jones' 'B-52 Bomber'
'Jones' 'F-14 Fighter'
'Smith' 'B-1 Bomber'
'Smith' 'B-52 Bomber'
'Smith' 'F-14 Fighter'
'Wilson' 'B-1 Bomber'
'Wilson' 'B-52 Bomber'
'Wilson' 'F-14 Fighter'
'Wilson' 'F-17 Fighter'
CREATE TABLE Hangar
(plane CHAR(15) NOT NULL PRIMARY KEY);
Hangar
plane
=============
'B-1 Bomber'
'B-52 Bomber'
'F-14 Fighter'
PilotSkills DIVIDED BY Hangar
pilot
=============================
'Smith'
'Wilson'
SELECT DISTINCT pilot
FROM PilotSkills AS PS1
WHERE NOT EXISTS
(SELECT *
FROM Hangar
WHERE NOT EXISTS
(SELECT *
FROM PilotSkills AS PS2
WHERE (PS1.pilot = PS2.pilot)
AND (PS2.plane = Hangar.plane)));
SELECT PS1.pilot
FROM PilotSkills AS PS1, Hangar AS H1
WHERE PS1.plane = H1.plane
GROUP BY PS1.pilot
HAVING COUNT(PS1.plane) = (SELECT COUNT(plane) FROM Hangar);
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
HOW CAN I ACTIVATE THE DO NOT DELETE FUNCTION IN IW32?
Good day!
Im trying to mark a work order not for execution but my Order - Functions - Complete - Do Not Execute function is not activated. Can you help me with this one?Hello Rico,
can you pls give more details about your issue.
In which product are you having this problem ?
Maybe this forum is not the best place as we concentrate mainly on the BO product suite.
Thanks for clarification
Falk -
Hello All,
Problem:-
I am transporting my interface from Dev to QA using CMS transport method. Everything is fine in Dev system even mapping is checked correcetly, but when I am checking the mapping in QA system it it showing the error message in the Message mapping as:-
Error Message in QA message mapping:-
The source or target structure has been changed or could not be found in the Integration Repository. The mapping definition contains elements or attributes that do not exist in the changed structure. The relevant entries will be deleted
Function iFS not found
Function iFS not found
In My message mapping i am using IF then else function.
I created new message mapping in Dev system and also transported again but it is giving the same eror message.
ChiragFew other functions are also missing.
If functions were present in DEV and are now missing in QA....then i would suggest you compare both the systems in terms of patch....this might be the cause of concern....both should be on the same SP
Update:
Check the solution section from this note(specifically for IfS): https://service.sap.com/sap/support/notes/1090369
and confirm that your QA system abides by them
Regards,
Abhishek.
Edited by: abhishek salvi on Nov 20, 2009 4:14 PM -
Javascript _movie.label is not a function.
Ok, am I taking crazy pills? According to the documentation
_movie.label is a method that should return a frame number, however
when I do:
x = _movie.label("Start");
When there is clearly a marker called start, I get
Script error: TypeError _movie.label is not a function.
Not even a function?! I'm totally perplexed and disturbed. Is
Javascript just not implemented like the documentation says?The anonymous function isn't such an issue if one breaks it
out to a named function. I suspect the debugger is having issues
resolving/locating the function. So if you define a method function
and cast it to a class's method, the breakpoint is able to be
located:
function myClass(){
this.myMethod = namedFunction;
function namedFunction(){
trace("Hello World");
The drawback of this is that it pollutes the global
namespace, namedFunction is callable from outside the class
definition and or becomes a risk of being overwritten. Following a
convention of perhaps the classname followed by an underscore and
then method name in lieu of 'namedFunction', i.e.
myClass_helloWorld might be a better way to ensure unique method
names, but again, one only needs to do this to get
debugging/breakpoints working. I prefer the anonymous function
style as it works better with an external editor's code
folding/collapse (i.e. I like to use NetBeans as my editor for
Javascript). -
HT5463 hi i have an i phone 4 the do not disturb fonction does not work with?
hi i have an i phone 4 the do not disturb fonction does not work with?
Salut, I have the iOS6 with an iPhone 4 and still the "do not disturb" function doesn't work. I just wanted a bit of peace for a couple of hours this morning, tried this new function and NOPE no dice. My son still managed to get through. So tonight I'll put my iPhone into "airplane" mode as usual to get undisturbed sleep !
-
NOT EQUAL in the InfoPackage Data Selection
Hello,
<u><b>I need to build a NE, NOT EQUAL <> in an InfoPackage</u></b>
I need to exclude some DataSets from beeing loaded.
The DataSets to be excluded can be distinguished by a
certain value of a an InfoObject.
For example:
All DataSets with 0COMPANY_CODE NOT EQUAL "0001" should not
be loaded.
How can I set in the InfoPackage DataSelection a filter
to exclude some DataSets ?
Thank You
Martin SautterHello Chitrarth Kastwar ,
basically it would be a trivial task in SQL ....to code :
<i>
SELECT *
FROM
WHERE 0COMP_CODE not in '0001'
</i>
or
<i>
SELECT *
FROM
WHERE 0COMP_CODE = '0030'
OR 0COMP_CODE = '0040'
OR 0COMP_CODE = '0050'
</i>
.. but thats BW - It generates much turnaround for consultants :).
Thread
/community [original link is broken] threadID=507511&tstart=0
seems to be something like this.
...I get the following Conversion Routine for Type 6:
<i>
program conversion_routine.
Type pools used by conversion program
type-pools: rsarc, rsarr, rssm.
tables: rssdlrange.
Global code used by conversion rules
$$ begin of global - insert your declaration only below this line -
TABLES: ...
DATA: ...
$$ end of global - insert your declaration only before this line -
InfoObject = ZVPUNITH
Fieldname = /BIC/ZVPUNITH
data type = CHAR
length = 000045
convexit =
form compute_/BIC/ZVPUNITH
tables l_t_range structure rssdlrange
using p_infopackage type rslogdpid
p_fieldname type rsfnm
changing p_subrc like sy-subrc.
Insert source code to current selection field
$$ begin of routine - insert your code only below this line -
data: l_idx like sy-tabix.
read table l_t_range with key
fieldname = '/BIC/ZVPUNITH'.
l_idx = sy-tabix.
modify l_t_range index l_idx.
p_subrc = 0.
$$ end of routine - insert your code only before this line -
endform.
</i>
Because I have to exclude 1 value out of 5 I can also include 5 values in the
selection criteria connected with OR
This means I have to use an OR only.
Is it possible with l_t_range to state this and how ?
Thank You
Martin Sautter -
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
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.
VarmaHi 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 -
Delete functionality is not working
Hi
I have two EOs on two base tables PO_REQUISITIONS_INTERFACE_ALL and PO_INTERFACE_ERRORS and i have one VO having both EOs attached and have the sql query in the VO as below. I attached this VO in the AM. I have a page having regions style as 'query' and construction mode as 'autoCustomizationCriteria' and in that page i have two regions one is search region and another is results region. In the results region i have a button called 'Delete' and my functionality is when ever i click on Delete i am expecting the records should be deleted in both tables. But when i click on delete record is getting deleted only from PO_INTERFACE_ERRORS table not from PO_REQUISITION_INTERFACE_ALL table. Please let me know what needs to be done to fix this issue. I am also placing the CO and AM code below
VO Query
SELECT xxpowlPOIntfErrorsEO.INTERFACE_TYPE,
xxpowlPOIntfErrorsEO.INTERFACE_TRANSACTION_ID,
xxpowlPOIntfErrorsEO.COLUMN_NAME,
xxpowlPOIntfErrorsEO.ERROR_MESSAGE,
xxpowlPOIntfErrorsEO.PROCESSING_DATE,
xxpowlPOIntfErrorsEO.CREATION_DATE,
xxpowlPOIntfErrorsEO.CREATED_BY,
xxpowlPOIntfErrorsEO.LAST_UPDATE_DATE,
xxpowlPOIntfErrorsEO.LAST_UPDATED_BY,
xxpowlPOIntfErrorsEO.LAST_UPDATE_LOGIN,
xxpowlPOIntfErrorsEO.REQUEST_ID,
xxpowlPOIntfErrorsEO.PROGRAM_APPLICATION_ID,
xxpowlPOIntfErrorsEO.PROGRAM_ID,
xxpowlPOIntfErrorsEO.PROGRAM_UPDATE_DATE,
xxpowlPOIntfErrorsEO.ERROR_MESSAGE_NAME,
xxpowlPOIntfErrorsEO.TABLE_NAME,
xxpowlPOIntfErrorsEO.BATCH_ID,
xxpowlPOIntfErrorsEO.INTERFACE_HEADER_ID,
xxpowlPOIntfErrorsEO.INTERFACE_LINE_ID,
xxpowlPOIntfErrorsEO.INTERFACE_DISTRIBUTION_ID,
xxpowlPOIntfErrorsEO.COLUMN_VALUE,
xxpowlPOIntfErrorsEO.INTERFACE_LINE_LOCATION_ID,
xxpowlPOIntfErrorsEO.INTERFACE_ATTR_VALUES_ID,
xxpowlPOIntfErrorsEO.INTERFACE_ATTR_VALUES_TLP_ID,
xxpowlPOIntfErrorsEO.PRICE_DIFF_INTERFACE_ID,
xxpowlPOIntfErrorsEO.TOKEN1_NAME,
xxpowlPOIntfErrorsEO.TOKEN1_VALUE,
xxpowlPOIntfErrorsEO.TOKEN2_NAME,
xxpowlPOIntfErrorsEO.TOKEN2_VALUE,
xxpowlPOIntfErrorsEO.TOKEN3_NAME,
xxpowlPOIntfErrorsEO.TOKEN3_VALUE,
xxpowlPOIntfErrorsEO.TOKEN4_NAME,
xxpowlPOIntfErrorsEO.TOKEN4_VALUE,
xxpowlPOIntfErrorsEO.TOKEN5_NAME,
xxpowlPOIntfErrorsEO.TOKEN5_VALUE,
xxpowlPOIntfErrorsEO.TOKEN6_NAME,
xxpowlPOIntfErrorsEO.TOKEN6_VALUE,
xxpowlPOIntfErrorsEO.APP_NAME,
xxpowlPOIntfErrorsEO.ROWID,
xxpowlPOReqIntfAllEO.TRANSACTION_ID,
xxpowlPOReqIntfAllEO.PROCESS_FLAG,
xxpowlPOReqIntfAllEO.REQUEST_ID AS REQUEST_ID1,
xxpowlPOReqIntfAllEO.PROGRAM_ID AS PROGRAM_ID1,
xxpowlPOReqIntfAllEO.PROGRAM_APPLICATION_ID AS PROGRAM_APPLICATION_ID1,
xxpowlPOReqIntfAllEO.PROGRAM_UPDATE_DATE AS PROGRAM_UPDATE_DATE1,
xxpowlPOReqIntfAllEO.LAST_UPDATED_BY AS LAST_UPDATED_BY1,
xxpowlPOReqIntfAllEO.LAST_UPDATE_DATE AS LAST_UPDATE_DATE1,
xxpowlPOReqIntfAllEO.LAST_UPDATE_LOGIN AS LAST_UPDATE_LOGIN1,
xxpowlPOReqIntfAllEO.CREATION_DATE AS CREATION_DATE1,
xxpowlPOReqIntfAllEO.CREATED_BY AS CREATED_BY1,
xxpowlPOReqIntfAllEO.INTERFACE_SOURCE_CODE,
xxpowlPOReqIntfAllEO.INTERFACE_SOURCE_LINE_ID,
xxpowlPOReqIntfAllEO.SOURCE_TYPE_CODE,
xxpowlPOReqIntfAllEO.REQUISITION_HEADER_ID,
xxpowlPOReqIntfAllEO.REQUISITION_LINE_ID,
xxpowlPOReqIntfAllEO.REQ_DISTRIBUTION_ID,
xxpowlPOReqIntfAllEO.ROWID AS ROW_ID1
FROM PO.PO_INTERFACE_ERRORS xxpowlPOIntfErrorsEO, PO.PO_REQUISITIONS_INTERFACE_ALL xxpowlPOReqIntfAllEO
WHERE xxpowlPOIntfErrorsEO.INTERFACE_TRANSACTION_ID = xxpowlPOReqIntfAllEO.TRANSACTION_ID AND xxpowlPOIntfErrorsEO.INTERFACE_TYPE = 'REQIMPORT' AND xxpowlPOIntfErrorsEO.REQUEST_ID IS NOT NULL
Controller Page Code
/*===========================================================================+
| Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA |
| All rights reserved. |
+===========================================================================+
| HISTORY |
+===========================================================================*/
package powl.oracle.apps.xxpowl.po.requisition.webui;
import com.sun.java.util.collections.HashMap;
//import com.sun.java.util.collections.Hashtable;
import java.util.Hashtable;
//import java.util.HashMap;
import java.io.Serializable;
import oracle.apps.fnd.common.MessageToken;
import oracle.apps.fnd.common.VersionInfo;
import oracle.apps.fnd.framework.OAApplicationModule;
import oracle.apps.fnd.framework.OAException;
import oracle.apps.fnd.framework.webui.OAControllerImpl;
import oracle.apps.fnd.framework.webui.OADialogPage;
import oracle.apps.fnd.framework.webui.OAPageContext;
import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
import oracle.apps.fnd.framework.webui.beans.OAWebBean;
* Controller for ...
public class xxpowlPOReqIntfAllSearchPageCO extends OAControllerImpl
public static final String RCS_ID="$Header$";
public static final boolean RCS_ID_RECORDED =
VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
* Layout and page setup logic for a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
* Procedure to handle form submissions for form elements in
* a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
String userClicked = pageContext.getParameter("event");
System.out.println("Event from processFormRequest in SearchPageCO :"+userClicked);
System.out.println("Parametere Names are :- \t" + pageContext.getParameter("UpdateImage"));
System.out.println("Parametere Names are :- \t" + pageContext.getParameter("event"));
if (pageContext.getParameter("event") != null &&
pageContext.getParameter("event").equalsIgnoreCase("Update")) {
String ReqTransactionId=(String)pageContext.getParameter("transacitonidParam");
String errorcolumn=(String)pageContext.getParameter("errorcolumnParam");
String errormsg=(String)pageContext.getParameter("errormessageParam");
String readyonly="Y"; //(String)pageContext.getParameter("readonlyParam");
System.out.println("Requisition Transaction Id : "+ReqTransactionId);
System.out.println("Error Column : "+errorcolumn);
System.out.println("Error Message : "+errormsg);
System.out.println("Read Only : "+readyonly);
HashMap params = new HashMap(4);
params.put("HashmapTransacitonid",ReqTransactionId);
params.put("HashmapErrorcolumn",errorcolumn);
params.put("HashmapErrormessage",errormsg);
params.put("HashmapReadonly",readyonly);
pageContext.putSessionValue("testValue",ReqTransactionId);
//System.out.println("Transaction Id passing through HashMap :- \t" + ReqTransactionId);
pageContext.setForwardURL("OA.jsp?page=/powl/oracle/apps/xxpowl/po/requisition/webui/xxpowlPOReqIntfAllUpdatePG",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
params,
true,
OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
OAWebBeanConstants.IGNORE_MESSAGES) ;
else if (pageContext.getParameter("event") != null &&
pageContext.getParameter("event").equalsIgnoreCase("Delete")) {
System.out.println("Inside Delete method in SearchCO");
String deleteTransactionID=(String)pageContext.getParameter("deleteTransactionIDParam");
System.out.println("Transaction Id in Delete Method :- \t" + deleteTransactionID);
MessageToken[] tokens = { new MessageToken("MESSAGE_NAME", "") };
OAException mainMessage = new OAException("FND", "FND_MESSAGE_DELETE_WARNING", tokens);
OADialogPage dialogPage = new OADialogPage(OAException.WARNING,mainMessage, null, "", "");
String yes = pageContext.getMessage("AK", "FWK_TBX_T_YES", null);
String no = pageContext.getMessage("AK", "FWK_TBX_T_NO", null);
dialogPage.setOkButtonItemName("DeleteYesButton");
dialogPage.setOkButtonToPost(true);
dialogPage.setNoButtonToPost(true);
dialogPage.setPostToCallingPage(true);
dialogPage.setOkButtonLabel(yes);
dialogPage.setNoButtonLabel(no);
Hashtable formParams = new Hashtable(1);
formParams.put("transactionIdDeleted", deleteTransactionID);
dialogPage.setFormParameters(formParams);
pageContext.redirectToDialogPage(dialogPage);
else if (pageContext.getParameter("DeleteYesButton") != null)
System.out.println("Inside DeleteYesButton method in SearchCO");
String deleteTransactionID = (String)pageContext.getParameter("transactionIdDeleted");
System.out.println("Tranaction ID getting deleted: "+deleteTransactionID);
Serializable[] parameters = { deleteTransactionID };
OAApplicationModule am = pageContext.getApplicationModule(webBean);
am.invokeMethod("deleteItem", parameters);
OAException message1 = new OAException("CN", "CN_QUOTA_PE_DELETED",null,OAException.CONFIRMATION, null);
pageContext.putDialogMessage(message1);
else
AMImpl.java code
public void deleteItem(String trasnsactionID)
Number rowToDelete = new Number(Integer.parseInt(trasnsactionID));
OAViewObject vo = (OAViewObject)getxxpowlPOReqIntfAllVO();
xxpowlPOReqIntfAllVORowImpl row = null;
int fetchedRowCount = vo.getFetchedRowCount();
RowSetIterator deleteIter = vo.createRowSetIterator("deleteIter");
if (fetchedRowCount > 0)
deleteIter.setRangeStart(0);
deleteIter.setRangeSize(fetchedRowCount);
for (int i = 0; i < fetchedRowCount; i++)
row = (xxpowlPOReqIntfAllVORowImpl)deleteIter.getRowAtRangeIndex(i);
Number PK = row.getTransactionId();
if (PK.compareTo(rowToDelete) == 0)
row.remove();
getTransaction().commit();
break;
deleteIter.closeRowSetIterator();Thanks..I changed and unchecked the 'Reference Flag' for Interface Lines VO while adding EOs in VO and it worked as it is deleting the record in Interface Lines Table also. But here i am getting one more issue on specific scenario.
My design of this development is as follow...
1. Search Page in which users give some search criteria and results will be displayed in the results region on the same page. For each results record I have two buttons like 'Update' and 'Delete' so that users can delete the record or can update the record. For update i created a one more page where users can able to edit and save the data.
Suppose I have one record in interface lines table and two records in error tables.When users given the search criteria and hit enter they found two records for same interface line. It means i have two records in error table and one record in interface table and both tables have same transaction id. So here user first try to update one record and it is working. After update he try to delete a record then I am getting below error. Please note that I am not getting this error when if i directly delete the record with out doing any update before delete.
Unable to perform transaction on the record.
Cause: The record contains stale data. The record has been modified by another user.
Action: Cancel the transaction and re-query the record to get the new data.
My UpdatePage Controller
/*===========================================================================+
| Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA |
| All rights reserved. |
+===========================================================================+
| HISTORY |
+===========================================================================*/
package powl.oracle.apps.xxpowl.po.requisition.webui;
import com.sun.java.util.collections.HashMap;
import com.sun.rowset.internal.Row;
import java.io.Serializable;
import oracle.apps.fnd.common.MessageToken;
import oracle.apps.fnd.common.VersionInfo;
import oracle.apps.fnd.framework.OAApplicationModule;
import oracle.apps.fnd.framework.OAException;
import oracle.apps.fnd.framework.OAViewObject;
import oracle.apps.fnd.framework.webui.OAControllerImpl;
import oracle.apps.fnd.framework.webui.OADialogPage;
import oracle.apps.fnd.framework.webui.OAPageContext;
import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
import oracle.apps.fnd.framework.webui.beans.OAWebBean;
import oracle.apps.fnd.framework.webui.beans.form.OASubmitButtonBean;
import oracle.apps.fnd.framework.webui.beans.message.OAMessageDateFieldBean;
import oracle.apps.fnd.framework.webui.beans.message.OAMessageTextInputBean;
//import oracle.apps.fnd.oam.diagnostics.report.Row;
import oracle.apps.icx.por.common.webui.ClientUtil;
import powl.oracle.apps.xxpowl.po.requisition.server.xxpowlPOReqIntfUpdateAMImpl;
import powl.oracle.apps.xxpowl.po.requisition.server.xxpowlPOReqIntfUpdateEOVOImpl;
* Controller for ...
public class xxpowlPOReqIntfAllUpdatePageCO extends OAControllerImpl
public static final String RCS_ID="$Header$";
public static final boolean RCS_ID_RECORDED =
VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
* Layout and page setup logic for a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
xxpowlPOReqIntfUpdateAMImpl am = (xxpowlPOReqIntfUpdateAMImpl)pageContext.getApplicationModule(webBean);
xxpowlPOReqIntfUpdateEOVOImpl UpdateVO =(xxpowlPOReqIntfUpdateEOVOImpl)am.findViewObject("xxpowlPOReqIntfUpdateEOVOImpl");
String newvalue = (String)pageContext.getSessionValue("testValue");
System.out.println("Transaction ID from processRequest UpdateCO from testValue field:"+newvalue);
String transactionid = pageContext.getParameter("HashmapTransacitonid");
System.out.println("Transaction ID from processRequest Hash Map in UpdateCO :"+transactionid);
String errorcolumn = pageContext.getParameter("HashmapErrorcolumn");
System.out.println("Error Column Name from processRequest Hash Map in UpdateCO :"+errorcolumn);
String errormsg = pageContext.getParameter("HashmapErrormessage");
System.out.println("Error Message from processRequest Hash Map in UpdateCO :"+errormsg);
String readyonly = pageContext.getParameter("HashmapReadonly");
System.out.println("Read Only value from processRequest Hash Map in UpdateCO :"+readyonly);
if (transactionid !=null & !"".equals(transactionid)) {
/* Passing below four parameters to the Update Page */
Serializable amParams[] = new Serializable[]{transactionid,readyonly,errorcolumn,errormsg} ;
pageContext.getRootApplicationModule().invokeMethod("executexxpowlPOReqIntfUpdateEOVO", amParams);
* Procedure to handle form submissions for form elements in
* a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
OAApplicationModule am = pageContext.getApplicationModule(webBean);
if (pageContext.getParameter("ApplyButton") != null)
System.out.println("Inside ApplyButton method in UpdatePageCO");
OAViewObject vo = (OAViewObject)am.findViewObject("xxpowlPOReqIntfUpdateEOVO");
String transactionid = pageContext.getParameter("HashmapTransacitonid");
System.out.println("Transaction ID from processFormRequest Hash Map in UpdateCO-ApplyButton method :"+transactionid);
am.invokeMethod("apply");
pageContext.forwardImmediately("OA.jsp?page=/powl/oracle/apps/xxpowl/po/requisition/webui/xxpowlPOReqIntfAllPG",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
null,
true,
OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
else if (pageContext.getParameter("CancelButton") != null)
am.invokeMethod("rollback");
pageContext.forwardImmediately("OA.jsp?page=/powl/oracle/apps/xxpowl/po/requisition/webui/xxpowlPOReqIntfAllPG",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
null,
true,
OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
UpdatePageAMImpl.java
package powl.oracle.apps.xxpowl.po.requisition.server;
import oracle.apps.fnd.common.MessageToken;
import oracle.apps.fnd.framework.OAException;
import oracle.apps.fnd.framework.OARow;
import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
import oracle.apps.fnd.framework.OAViewObject;
import oracle.apps.inv.appsphor.order.server.XxapOrderHeaderVOImpl;
import oracle.jbo.Transaction;
// --- File generated by Oracle ADF Business Components Design Time.
// --- Custom code may be added to this class.
// --- Warning: Do not modify method signatures of generated methods.
public class xxpowlPOReqIntfUpdateAMImpl extends OAApplicationModuleImpl {
/**This is the default constructor (do not remove)
public xxpowlPOReqIntfUpdateAMImpl() {
/**Container's getter for xxpowlPOReqIntfUpdateEOVO
public xxpowlPOReqIntfUpdateEOVOImpl getxxpowlPOReqIntfUpdateEOVO() {
return (xxpowlPOReqIntfUpdateEOVOImpl)findViewObject("xxpowlPOReqIntfUpdateEOVO");
/**Sample main for debugging Business Components code using the tester.
public static void main(String[] args) {
launchTester("powl.oracle.apps.xxpowl.po.requisition.server", /* package name */
"xxpowlPOReqIntfUpdateAMLocal" /* Configuration Name */);
/* // Added by
public void execute_update_query(String TransactionID) {
xxpowlPOReqIntfUpdateEOVOImpl vo = getxxpowlPOReqIntfUpdateEOVO();
vo.initQuery(TransactionID);
// Added by , this will not call bec changed the logic and so now the update button enabled on search results page
// and this method will not called
public void pageInEditMode (String transactionID, String readOnlyFlag, String ErrorColumn,
String ErrorMessage)
System.out.println("Transaction Id from pageInEditMode in UpdatePGAMImpl.java: "+transactionID);
System.out.println("xxReadOnly from pageInEditMode in UpdatePGAMImpl.java: "+readOnlyFlag);
// Get the VO
xxpowlPOReqIntfUpdateEOVOImpl updateVO = getxxpowlPOReqIntfUpdateEOVO();
//Remove the where clause that was added in the previous run
updateVO.setWhereClause(null);
//Remove the bind parameters that were added in the previous run.
updateVO.setWhereClauseParams(null);
//Add where clause
// updateVO.addWhereClause(" TRANSACTION_ID = :1 ");
//Bind transactionid to the where clause.
// updateVO.setWhereClauseParam(1, transactionID); // this will not work bec it will start with zero from from 1
updateVO.setWhereClauseParam(0, transactionID);
//Execute the query.
updateVO.executeQuery();
xxpowlPOReqIntfUpdateEOVORowImpl currentRow = (xxpowlPOReqIntfUpdateEOVORowImpl)updateVO.next();
// Assiging the transient varaibles
currentRow.setxxErrorMessage(ErrorMessage);
currentRow.setxxErrorColumn(ErrorColumn);
if ("N".equals(readOnlyFlag))
/* Make the attribute to 'False so that all fields will be displayed in Edit Mode because we used this
xxReadOnly as SPEL */
currentRow.setxxReadOnly(Boolean.FALSE);
public void executexxpowlPOReqIntfUpdateEOVO(String transactionID, String xxReadyOnly, String ErrorColumn,
String ErrorMessage)
System.out.println("Transaction Id from executexxpowlPOReqIntfUpdateEOVO in UpdatePGAMImpl.java: "+transactionID);
System.out.println("xxReadOnly from executexxpowlPOReqIntfUpdateEOVO in UpdatePGAMImpl.java: "+xxReadyOnly);
System.out.println("Error Message from executexxpowlPOReqIntfUpdateEOVO in UpdatePGAMImpl.java: "+ErrorColumn);
System.out.println("Error Column from executexxpowlPOReqIntfUpdateEOVO in UpdatePGAMImpl.java: "+ErrorMessage);
// Get the VO
xxpowlPOReqIntfUpdateEOVOImpl updateVO = getxxpowlPOReqIntfUpdateEOVO();
//xxpowlPOReqIntfUpdateEOVORowImpl updaterowVO = xxpowlPOReqIntfUpdateEOVO();
//not working
// OARow row = (OARow)updateVO.getCurrentRow();
// row.setAttribute("xxReadOnly", Boolean.TRUE);
// updateVO.putTransientValue('XXXXX',x);
//Remove the where clause that was added in the previous run
updateVO.setWhereClause(null);
//Remove the bind parameters that were added in the previous run.
updateVO.setWhereClauseParams(null);
//Add where clause
// updateVO.addWhereClause(" TRANSACTION_ID = :1 ");
//Bind transactionid to the where clause.
// updateVO.setWhereClauseParam(1, transactionID); // this will not work bec it will start with zero from from 1
updateVO.setWhereClauseParam(0, transactionID);
// updateVO.setWhereClauseParam(1, ErorrColumn);
//Execute the query.
updateVO.executeQuery();
/* We want the page should be read only initially so after executing the VO with above command
and if you use next() it will go to the first record among the
fetched records. If you want to iterate for all the records then use iterator */
/* Using Iterator
while(updateVO.hasNext()) { // this will check after execute Query above command if it has any rows
xxpowlPOReqIntfUpdateEOVORowImpl currentRow = (xxpowlPOReqIntfUpdateEOVORowImpl)updateVO.next();
/* above line next() will take the control of the first record */
/* currentRow.setxxErrorMessage(ErrorMessage);
currentRow.setxxErrorColumn(ErrorColumn);
if ("Y".equals(xxReadyOnly))
currentRow.setxxReadOnly(Boolean.TRUE);
} // this while loop will loop till end of all the fetched records
xxpowlPOReqIntfUpdateEOVORowImpl currentRow = (xxpowlPOReqIntfUpdateEOVORowImpl)updateVO.next();
// Assiging the transient varaibles
currentRow.setxxErrorMessage(ErrorMessage);
currentRow.setxxErrorColumn(ErrorColumn);
/* Make the attribute to 'TRUE' so that all fields will be displayed as READ ONLY because we used this
xxReadOnly as SPEL
if ("Y".equals(xxReadyOnly))
currentRow.setxxReadOnly(Boolean.TRUE);
//Added by and this methiod will get called from UpdatePG Process Form Request controller
public void rollback()
Transaction txn = getTransaction();
if (txn.isDirty())
txn.rollback();
public void apply()
//OAViewObject vo1 = (OAViewObject)getxxpowlPOReqIntfUpdateEOVO();
//Number chargeAccountID = vo1.get
getTransaction().commit();
OAViewObject vo = (OAViewObject)getxxpowlPOReqIntfUpdateEOVO();
if (!vo.isPreparedForExecution())
vo.executeQuery(); -
Time series functions are not working for fragmented logical table sources?
If i remove that fragmented logical table sources, then its working fine.
if any body know the reason, please let me know.
thanks and regards,
krishnaHi,
is because the time series function are not supported for the framentation content, see the content of the oracle support:
The error occurs due to the fact the fragmented data sources are used on some Time series measures. Time series measures (i.e. AGO) are not supported on fragmented data sources.
Confirmation is documented in the following guide - Creating and Administering the Business Model and Mapping Layer in an Oracle BI Repository > Process of Creating and Administering Dimensions
Ago or ToDate functionality is not supported on fragmented logical table sources. For more information, refer to “About Time Series Conversion Functions” on page 197.
Regards,
Gianluca -
Excel Functions Do Not Work When Data Source is BW
Hello,
My platform is, BOBJ BI 4.0. Data source is SAP BW. BW is connected to XCelsius with BEx. My problem is, excel functions do not work when data source is BW. For example, Excel cell A1=quantity1 B1= quantity2 C1= excel function "=A1+B1" When data source is Excel, for example A1=5, B1=9 C1 automatically equals to 14. (There is no problem when data source is Excel) But, in BW, for example when BW set values to A1=5, B1=9, the system does not calculate C1. C1 always equals to initial value, the system does not care any excel calculation when data source is BW. Any guess for my problem? Thank you for your effort.Hi,
As you are using very simple formula,it will work no matter which source you are consuming.As mentioned,try to place a simple component(Eg:spreadsheet),just to check whether you are getting the right calculated value or not.
As you are using BW as source,the Preview option will not show the runtime data,so you need to publish in Portal to check whether the calculation happened or not.
As far as I know only few fromulas are supported in Xcelsius,but these kind of simple formulas are very much supported.
Rgds,
Murali -
How to do "not equals" mapping using Graphical
Hi friends
i want to do a mapping like this:
if A is not equal to b then value is 1
elseif ...something
Anyone please tell me how can i achieve this using graphical tool.
ThanksHi,
it is very simple.
Use equals function
A input and second input constant(B) give it to equals function. output will be true or false give it to ifthenelse. inthen use constant(somthing value) ans in else use constant with 1 value and map it to target element.
U can write UDF
if(A.equals("b"))
result("something");
else
result("1");
Thnx
Chirag.
Maybe you are looking for
-
This is what the crash report has under details: AdapterDeviceID: 0x0416 AdapterDriverVersion: 10.18.10.3412 AdapterSubsysID: 1977103c AdapterVendorID: 0x8086 Add-ons: %7BF53C93F1-07D5-430c-86D4-C9531B27DFAF%7D:1.0.0.2,%7B972ce4c6-7e08-4474-a285-3208
-
Solaris 10 zone config for JES
Setup a zone to install JES - Web servers, but when I launch the installer I get the following: WARNING: Unsupported non-global zone EntSysResources:zoneCheckPanel-Gui-LocalZoneSupported Something in the zone setup is incorrect, but not sure what. An
-
I purchased an upgrade on an app I cannot find it in itunes but my iphone asked me for an upgrade. I have received an invoice for it but have not received the upgrade and it is now 24 hours later. Any ideas? Brenda
-
Typing in any program freezes it. I have an HP Pavilion p7-1240
Hey, my HP Pavilion p7-1240 has been acting weird lately. Everytime I type in a browser or a program, the said program freezes, this has been happening since Saturday, the only thing I changed is the monitor. (I bought a tv, and use it as a monitor)
-
Video player for mountain lion
I found vlc media player it does work with mountain lion... just can't use the apple remote with it.