How can I re-query an LOV?
JDeveloper 11.1.1.6.0
I have a requirement to allow users to have a favorites page where they can add a favorite charge code, or other type of favorite. These favorites are then shown at the top of the LOV.
For example if you save a charge code in your favorites list, it will show up in the charge code LOV at the top.
My question is how do I force the Charge Code LOV to refresh and pick up the newly added favorite? I am trying to do this in the afterCommit of the FavoritesImpl; finding the VO where the charge code LOV appears then getting the charge code accessor VO then clearing the cache and re-querying the LOV VO. This is not working, not getting errors just can't seem to get the LOV VO to clear and re-query.
Any tips would be appreciated.
Thanks, that looks like a route I may have to go. Let me clarify a little:
1. When a user saves a favorite it is inserted into the favorites table.
2. The charge code LOV is JOINED with the favorites table to allow for showing the selected favorites at the top.
I was hoping that given the above there would be some way to refresh the ChargeCode LOV (view accessor) so that the newly saved item would be included.
Does this make sense?
Similar Messages
-
How can i populate records using LOV value
Create a form based on the following output use EMP Table
Create a non Database Block i.e Control Block----> Dept No
Create a Database Block -EMP
Create an LOV for the Dept no from dept table.
For the Current Dept No . Populate the Employee Records
How can i populate records using LOV value????
thanksHi maddyd2k
How can i populate records using LOV valueIt's not clear what u r trying to do create, create then want to...
1.Pls Create a non-db item db set to > no named DEPT_NAME
2. when creating the LOV assign the DEPT_NAME FROM DEPT table to that displayed item and u have also to assign the Dept No selected to the Dept No in the emp block
To populate or display DEPT_NAME after Query - the If i got ur problem then - u need to cretae a Post-Query Trigger then use the following...
BEGIN
SELECT DEPT_NAME
INTO :CONTROL_BLOCK.DEPT_NAME
FROM DEPT
WHERE Dept No = :Dept No;
EXCEPTION
WHEN NO_DATA_FOUND THEN NULL;
WHEN OTHERS THEN (ERRTXT);
END;Hope this helps...
Regards,
Abdetu... -
How can I insert Query in a Workbook
Hi,
I am new in BI 7.0. I am trying to insert a query in a workbook. but the tools button is not giving me the option to insert query like 3.X
How can i insert query in 7.0
Can anybody please give me the step by step instruction.
Thanks in Advance1. Open BEx ANalyzer.
2. Create new excel workbook by hitting the "New" icon in Excel.
3. Logon to a backend BI system.
4. Click the design mode icon.
5. Put your mouse on a cell and insert a table.
6. Assign a dataprovider to this table.
7. Switch off design mode.
Hope it Helps
Chetan
@CP.. -
How can i use query in Print out
I am going to insert some Item's properties to print out of good issue, I dont know how can I use query in this tools?
Hi,
Please go through the following documentation on the service market place under the landing pages for
cross topics:
https://sapneth1.wdf.sap.corp/~form/sapnet?_FRAME=CONTAINER&_HIER_KEY=701100035871000437965&_OBJECT=011000358700003137952006E&_SCENARIO=01100035870000000183&
Regards,
Abhinav Banerjee
SAP Business One Forums Team. -
How can i populate records using LOV value in form 6i
Create a form based on the following output use EMP Table
Create a non Database Block i.e Control Block----> Dept No
Create a Database Block -EMP
Create an LOV for the Dept no from dept table.
For the Current Dept No . Populate the Employee Records
How can i populate records using LOV value????
thanksHow can i populate records using LOV value in form 6i Start by posting in the correct forum: {forum:id=82}
(Seriously: after making all your previous posts in the Forms forum, how do you end up posting in this one? Is it because the Forms forum has changed category?) -
How can i have Query trace results in a table format?
How can i have Query trace results in a table format?
Are you referring to reading the trace files generated under udump folder?
Well, you can make use of external tables, but you really need to be a master in understanding that cryptic data.
Check out following link for an alternative.
http://www.oracle.com/technology/pub/articles/gallagher_tfm.html -
How can this bad query be improved?
Db:11.2.0.3
We have a 3rd party app and the web app runs very slow. We want to make the 3rd party to fix the issue. for the
app login process, I did an AWR , found the problem query it runs 10 mins. Then I did the sqltrace
here is it:
select clndr_id , count(*)
from
task where (clndr_id = :"SYS_B_0") group by clndr_id union select clndr_id ,
count(*) from project where (clndr_id = :"SYS_B_1") group by clndr_id
call count cpu elapsed disk query current rows
Parse 1 0.01 0.00 0 0 0 0
Execute 1 0.01 0.00 0 0 0 0
Fetch 2 53.32 612.03 81650 58920 0 2
total 4 53.34 612.04 81650 58920 0 2
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 34 (PX)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
2 2 2 SORT UNIQUE (cr=58923 pr=81650 pw=22868 time=113329109 us cost=58277 size=24 card=2)
2 2 2 UNION-ALL (cr=58923 pr=81650 pw=22868 time=113329001 us)
1 1 1 SORT GROUP BY NOSORT (cr=58330 pr=81070 pw=22868 time=104312437 us cost=58128 size=7 card=1)
5589739 5589739 5589739 VIEW index$_join$_003 (cr=58330 pr=81070 pw=22868 time=619784236 us cost=57240 size=38875249 card=5553607)
5589739 5589739 5589739 HASH JOIN (cr=58330 pr=81070 pw=22868 time=617373467 us)
5590158 5590158 5590158 INDEX RANGE SCAN NDX_TASK_CALENDAR (cr=21676 pr=21676 pw=0 time=113637058 us cost=11057 size=38875249 card=5553607)(object id 24749)
6673774 6673774 6673774 INDEX FAST FULL SCAN NDX_TASK_PROJ_RSRC (cr=36651 pr=36526 pw=0 time=213370625 us cost=21921 size=38875249 card=5553607)(object id 217274)
1 1 1 SORT GROUP BY NOSORT (cr=593 pr=580 pw=0 time=9016527 us cost=149 size=17 card=1)
136390 136390 136390 INDEX FAST FULL SCAN NDX_PROJECT_CALENDAR (cr=593 pr=580 pw=0 time=165434 us cost=132 size=2315876 card=136228)(object id 154409)
Rows Execution Plan
0 SELECT STATEMENT MODE: ALL_ROWS
2 SORT (UNIQUE)
2 UNION-ALL
1 SORT (GROUP BY NOSORT)
5589739 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF 'TASK'
(TABLE)
5589739 INDEX MODE: ANALYZED (RANGE SCAN) OF
'NDX_TASK_CALENDAR' (INDEX)
5590158 SORT (GROUP BY NOSORT)
6673774 INDEX MODE: ANALYZED (RANGE SCAN) OF
'NDX_PROJECT_CALENDAR' (INDEX)
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 2 0.00 0.00
Disk file operations I/O 2 0.00 0.00
db file sequential read 22235 1.61 138.66
direct path write 1620 3.25 177.42
db file scattered read 2313 1.89 238.98
direct path read 385 1.72 19.52
SQL*Net message from client 2 0.11 0.21Please make your comments.
Thanks in Advance.Salman Qureshi wrote:
Hi,
It looks to me that end result will give you distinct values because of distinct clndr_id. If my thinking is correct, can you use UNION ALL istead of UNION? This will reduce your query execution time by not spending time on removing duplication of results (UNION removes duplication).
Do you have fresh statistics on the tables/indexes involved in this query?
SalmanIt is a 3rd party app, not sure the query is exactly doing for, a good input though,
I have given a try as comparison.
Found
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
UNION
select clndr_id , count(*)
from
task where (clndr_id = :"SYS_B_0") group by clndr_id union select clndr_id ,
count(*) from project where (clndr_id = :"SYS_B_1") group by clndr_id
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 2 31.18 70.39 25288 58920 0 2
total 4 31.18 70.39 25288 58920 0 2
Misses in library cache during parse: 0
Optimizer mode: ALL_ROWS
Parsing user id: 34 (PX)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
2 2 2 SORT UNIQUE (cr=58923 pr=25288 pw=25284 time=70390927 us cost=58277 size=24 card=2)
2 2 2 UNION-ALL (cr=58923 pr=25288 pw=25284 time=70390652 us)
1 1 1 SORT GROUP BY NOSORT (cr=58330 pr=25288 pw=25284 time=70309151 us cost=58128 size=7 card=1)
5589739 5589739 5589739 VIEW index$_join$_003 (cr=58330 pr=25288 pw=25284 time=70027453 us cost=57240 size=38875249 card=5553607)
5589739 5589739 5589739 HASH JOIN (cr=58330 pr=25288 pw=25284 time=68083254 us)
5590158 5590158 5590158 INDEX RANGE SCAN NDX_TASK_CALENDAR (cr=21676 pr=0 pw=0 time=2449897 us cost=11057 size=38875249 card=5553607)(object id 24749)
6673774 6673774 6673774 INDEX FAST FULL SCAN NDX_TASK_PROJ_RSRC (cr=36651 pr=0 pw=0 time=3097204 us cost=21921 size=38875249 card=5553607)(object id 217274)
1 1 1 SORT GROUP BY NOSORT (cr=593 pr=0 pw=0 time=81462 us cost=149 size=17 card=1)
136390 136390 136390 INDEX FAST FULL SCAN NDX_PROJECT_CALENDAR (cr=593 pr=0 pw=0 time=68732 us cost=132 size=2315876 card=136228)(object id 154409)
Rows Execution Plan
0 SELECT STATEMENT MODE: ALL_ROWS
2 SORT (UNIQUE)
2 UNION-ALL
1 SORT (GROUP BY NOSORT)
5589739 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF 'TASK'
(TABLE)
5589739 INDEX MODE: ANALYZED (RANGE SCAN) OF
'NDX_TASK_CALENDAR' (INDEX)
5590158 SORT (GROUP BY NOSORT)
6673774 INDEX MODE: ANALYZED (RANGE SCAN) OF
'NDX_PROJECT_CALENDAR' (INDEX)
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 2 0.00 0.00
direct path write 3347 1.59 43.26
direct path read 130 0.20 0.32
SQL*Net message from client 2 0.23 0.27
********************************************************************************$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
UNION ALL
SQL ID: d6z3ag876m67h Plan Hash: 4277397671
select clndr_id , count(*)
from
task where (clndr_id = :"SYS_B_0") group by clndr_id union all select
clndr_id , count(*) from project where (clndr_id = :"SYS_B_1") group by
clndr_id
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.01 0.00 0 0 0 0
Fetch 2 31.77 89.93 22886 58920 0 2
total 4 31.78 89.94 22886 58920 0 2
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 34 (PX)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
2 2 2 UNION-ALL (cr=58932 pr=22887 pw=22868 time=89865448 us)
1 1 1 SORT GROUP BY NOSORT (cr=58339 pr=22887 pw=22868 time=89865428 us cost=57240 size=7 card=1)
5589739 5589739 5589739 VIEW index$_join$_003 (cr=58339 pr=22887 pw=22868 time=302390812 us cost=57240 size=38875249 card=5553607)
5589739 5589739 5589739 HASH JOIN (cr=58339 pr=22887 pw=22868 time=300505731 us)
5590158 5590158 5590158 INDEX RANGE SCAN NDX_TASK_CALENDAR (cr=21676 pr=0 pw=0 time=2275780 us cost=11057 size=38875249 card=5553607)(object id 24749)
6673774 6673774 6673774 INDEX FAST FULL SCAN NDX_TASK_PROJ_RSRC (cr=36651 pr=18 pw=0 time=3233656 us cost=21921 size=38875249 card=5553607)(object id 217274)
1 1 1 SORT GROUP BY NOSORT (cr=593 pr=0 pw=0 time=77989 us cost=132 size=17 card=1)
136390 136390 136390 INDEX FAST FULL SCAN NDX_PROJECT_CALENDAR (cr=593 pr=0 pw=0 time=55006 us cost=132 size=2315876 card=136228)(object id 154409)
Rows Execution Plan
0 SELECT STATEMENT MODE: ALL_ROWS
2 UNION-ALL
1 SORT (GROUP BY NOSORT)
5589739 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF 'TASK'
(TABLE)
5589739 INDEX MODE: ANALYZED (RANGE SCAN) OF 'NDX_TASK_CALENDAR'
(INDEX)
5590158 SORT (GROUP BY NOSORT)
6673774 INDEX MODE: ANALYZED (RANGE SCAN) OF
'NDX_PROJECT_CALENDAR' (INDEX)
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 2 0.00 0.00
Disk file operations I/O 2 0.00 0.00
direct path write 2069 3.12 58.90
db file sequential read 18 0.78 4.35
direct path read 22 0.12 0.15
SQL*Net message from client 2 0.46 0.71
********************************************************************************found union all used 90s vs union 70s, and the logic and the physical reads are about the same.
Notice that we now have it ran less that 2 mins for the query vs 10 mins before.
The before was at the peak hrs and now it is off the peak. the disk read from peak's 81650 reduced to 22886.
that was the cause of slow -- I/O contentions at peak hrs.
How can we improve the query performance by increasing disk throughput?
SQL> show parameter mem
NAME TYPE VALUE
hi_shared_memory_address integer 0
memory_max_target big integer 4000M
memory_target big integer 3600M
shared_memory_address integer 0
SQL> show parameter db_b
NAME TYPE VALUE
db_block_buffers integer 0
db_block_checking string FALSE
db_block_checksum string TYPICAL
db_block_size integer 8192
SQL> -
How can i increse query performance other than creating aggregates
Hi,
i created one query and it will take more time to give a report i created aggregates but no use again it will take same so pls give me a option to increase the query performance.
bye .
sandhya.Hi SANDHYA,
You can increase the query performance by using indices too. You can search a table for data records that satisfy certain search criteria faster using an index.
An index can be considered a copy of a database table that has been reduced to certain fields. This copy is always in sorted form. Sorting provides faster access to the data records of the table, for example using a binary search. The index also contains a pointer to the corresponding record of the actual table so that the fields not contained in the index can also be read.
Pls refer the follwoing links for more idea about indices
http://help.sap.com/saphelp_nw04/helpdata/en/9b/c743f5b40711d194f900a0c929b3c3/frameset.htm
Re: Bitmap vs BTree
How to create B-Tree and Bitmap index in SAP
Re: Cardinality
Line Item Dimesnion
I ve some good documents regarding indices...I would send them if i know ur mail id.
regards,
RV. -
How can i manipulate run time LOV
hi,
i have created a LOV for assign_to field .
LOV used view object which is based on the Login(loginid,loginname) field.
now i want to manipulate LOV data run time
the person who is login to application those name not shown in LOV. which is based on processScope variable value.
i have also create view criteria for login viewobject using bind variable. but how can i use it.Hi Manish,
1. create a view object to get the assigned_to list.
2. create a view criteria where you will pass the logged in user through bind variable.
3. use not equal to operation in view criteria and filter the logged in user from assgined to list.
4. Check the following link to achieve the dependant LOV's http://andrejusb.blogspot.in/2008/12/cascading-lovs-in-oracle-adf-11g-update.html .
if these input not solving your problem update more information about your requirement.
Regards,
Deena -
How Can I write Query like this
My Dears:
I want to reduce some formula in my report by merge these formula in my query
I want to know how can I wrirte a query in query
for example
select empno,ename,(select sal from emp ee where ee.empno=mm.empno ) from emp mm
the previous query I know it not logic but I need the way
my DB 10G r2
thanks in advanceApart your remark nothing seems to be wrong with your query. Did you try it?
Regards
Etbin -
How can rewrite the Query using Analytical functions ?
Hi,
I have the SQL script as shown below ,
SELECT cd.cardid, cd.cardno,TT.TRANSACTIONTYPECODE,TT.TRANSACTIONTYPEDESC DESCRIPTION,
SUM (NVL (CASE tt.transactiontypecode
WHEN 'LOAD_ACH'
THEN th.transactionamount
END, 0)
) AS load_ach,
SUM
(NVL (CASE tt.transactiontypecode
WHEN 'FUND_TRANSFER_RECEIVED'
THEN th.transactionamount
END,
0
) AS Transfersin,
( SUM (NVL (CASE tt.transactiontypecode
WHEN 'FTRNS'
THEN th.transactionamount
END,
0
) +
SUM (NVL (CASE tt.transactiontypecode
WHEN 'SEND_MONEY'
THEN th.transactionamount
END, 0)
)) AS Transferout,
SUM (NVL (CASE tt.transactiontypecode
WHEN 'WITHDRAWAL_ACH'
THEN th.transactionamount
END, 0)
) AS withdrawal_ach,
SUM (NVL (CASE tt.transactiontypecode
WHEN 'WITHDRAWAL_CHECK'
THEN th.transactionamount
END, 0)
) AS withdrawal_check,
( SUM (NVL (CASE tt.transactiontypecode
WHEN 'WITHDRAWAL_CHECK_FEE'
THEN th.transactionamount
END,
0
) +
SUM (NVL (CASE tt.transactiontypecode
WHEN 'REJECTED_ACH_LOAD_FEE'
THEN th.transactionamount
END,
0
) +
SUM (NVL (CASE tt.transactiontypecode
WHEN 'WITHDRAWAL_ACH_REV'
THEN th.transactionamount
END,
0
) +
SUM (NVL (CASE tt.transactiontypecode
WHEN 'WITHDRAWAL_CHECK_REV'
THEN th.transactionamount
END,
0
) +
SUM
(NVL (CASE tt.transactiontypecode
WHEN 'WITHDRAWAL_CHECK_FEE_REV'
THEN th.transactionamount
END,
0
) +
SUM
(NVL (CASE tt.transactiontypecode
WHEN 'REJECTED_ACH_LOAD_FEE_REV'
THEN th.transactionamount
END,
0
) +
SUM (NVL (CASE tt.transactiontypecode
WHEN 'OVERDRAFT_FEE_REV'
THEN th.transactionamount
END, 0)
) +
SUM (NVL (CASE tt.transactiontypecode
WHEN 'STOP_CHECK_FEE_REV'
THEN th.transactionamount
END,
0
) +
SUM (NVL (CASE tt.transactiontypecode
WHEN 'LOAD_ACH_REV'
THEN th.transactionamount
END, 0)
) +
SUM (NVL (CASE tt.transactiontypecode
WHEN 'OVERDRAFT_FEE'
THEN th.transactionamount
END, 0)
) +
SUM (NVL (CASE tt.transactiontypecode
WHEN 'STOP_CHECK_FEE'
THEN th.transactionamount
END, 0)
)) AS Fee,
th.transactiondatetime
FROM carddetail cd,
transactionhistory th,
transactiontype tt,
(SELECT rmx_a.cardid, rmx_a.endingbalance prev_balance, rmx_a.NUMBEROFDAYS
FROM rmxactbalreport rmx_a,
(SELECT cardid, MAX (reportdate) reportdate
FROM rmxactbalreport
GROUP BY cardid) rmx_b
WHERE rmx_a.cardid = rmx_b.cardid AND rmx_a.reportdate = rmx_b.reportdate) a
WHERE th.transactiontypeid = tt.transactiontypeid
AND cd.cardid = th.cardid
AND cd.cardtype = 'P'
AND cd.cardid = a.cardid (+)
AND CD.CARDNO = '7116734387812758335'
--AND TT.TRANSACTIONTYPECODE = 'FUND_TRANSFER_RECEIVED'
GROUP BY cd.cardid, cd.cardno, numberofdays,th.transactiondatetime,tt.transactiontypecode,TT.TRANSACTIONTYPEDESC
Ouput of the above query is :
CARDID CARDNO TRANSACTIONTYPECODE DESCRIPTION LOAD_ACH TRANSFERSIN TRANSFEROUT WITHDRAWAL_ACH WITHDRAWAL_CHECK FEE TRANSACTIONDATETIME
6005 7116734387812758335 FUND_TRANSFER_RECEIVED Fund Transfer Received 0 3.75 0 0 0 0 21/09/2007 11:15:38 AM
6005 7116734387812758335 FUND_TRANSFER_RECEIVED Fund Transfer Received 0 272 0 0 0 0 05/10/2007 9:12:37 AM
6005 7116734387812758335 WITHDRAWAL_ACH Withdraw Funds via ACH 0 0 0 300 0 0 24/10/2007 3:43:54 PM
6005 7116734387812758335 SEND_MONEY Fund Transfer Sent 0 0 1 0 0 0 19/09/2007 1:17:48 PM
6005 7116734387812758335 FUND_TRANSFER_RECEIVED Fund Transfer Received 0 1 0 0 0 0 18/09/2007 7:25:23 PM
6005 7116734387812758335 LOAD_ACH Prepaid Deposit via ACH 300 0 0 0 0 0 02/10/2007 3:00:00 AM
I want the output like for Load_ACH there should be one record etc.,
Can any one help me , how can i rewrite the above query using analytical functions .,
SekharNot sure of your requirements but this mayhelp reduce your code;
<untested>
SUM (
CASE
WHEN tt.transactiontypecode IN
('WITHDRAWAL_CHECK_FEE', 'REJECTED_ACH_LOAD_FEE', 'WITHDRAWAL_ACH_REV', 'WITHDRAWAL_CHECK_REV',
'WITHDRAWAL_CHECK_FEE_REV', 'REJECTED_ACH_LOAD_FEE_REV', 'OVERDRAFT_FEE_REV','STOP_CHECK_FEE_REV',
'LOAD_ACH_REV', 'OVERDRAFT_FEE', 'STOP_CHECK_FEE')
THEN th.transactionamount
ELSE 0) feeAlso, you might want to edit your post and use [pre] and [/pre] tags around your code for formatting. -
How can I avoid query result overlapping in Analysis for Office?
Hello everybody
I have a question relating to Analysis for Office. If I've a workbook with for example two queries, how can I avoid that the query above the other one overlaps the query results of the lower query?
The lower query result should adapt according the the query results of the first query.
Does anybody have an idea? In Bex Analyzer I have the Option to insert a scrollbar for a workbook- is this function available in Analysis für Office? (But that way isn't the way I prefer).
Thank you in advance.
Kind regards
HeikeNot sure about this - could you take a look at this thread that suggests VBA Placing two tables in Analysis for office without overlap
I am wondering if the next release might help? See Figure 1 of Analysis Roadmap Update - Beta Preview, Part 2 -
How can change the query where clause values in formatted search
Hi
I have a formatted search with the below sql
Select ItemCode,ItemName from OITM
where ItemCode like 'FX%'
how can I change 'FX%' to another value
I tried to make it as paramter
where ItemCode like $[ItemCode]
but I am receiving an error
sincerely yours
Riade AslehTry this:
Select ItemCode,ItemName from OITM
where ItemCode = $[$5.0.0]
5 = Item number of form (On item master data 5 is item-number)
0 = Column of item... since item 5 is no matrix 0 shoul be used.
0 = Casting type (0 is default, but int, string and date is possible) -
How can I prevent query executing on loading page with POJO dc
I created with POJO datacontrol with a method return a list of data. I created a taskflow with a page fragment to add the POJO function as a form. I found the method is called every time when the page is being loaded. How can I control it not to be invoked at loading time. Only invoked when I click the button binding to the method. Thanks.
Hi,
I created with POJO datacontrol with a method return a list of data. I created a taskflow with a page fragment to add the POJO function as a form. I found the method is called every time when the page is being >loaded. How can I control it not to be invoked at loading time. Only invoked when I click the button binding to the method. Thanks.remove the pojo function added as a form from pageDef file (you can do it manually by rightclick on page -> page defination.
then click '+' icon on Bindings section -> on insert item dialog box select method binding.
then select your pojo data control and select the method that you want to add (if it has parameters then leave it blank for now.)
for executing operation binding(method call) create a button action action listener and add following code
BindingContext bindingContext = BindingContext.getCurrent();
BindingContainer bindings = bindingContext.getCurrentBindingsEntry();
OperationBinding operationBinding = bindings.getOperationBinding("method name");
operationBinding.getParamsMap().put("param-name", "param-value"); //incase if method has parameters
// Invoke the method
operationBinding.execute();Regards, -
How can I get query filter dates in report heading?
<p>Hello everybody.</p><p>I'm pretty new at this so I hope this is the place to ask this question.</p><p>I'm trying to create a report in WebI where I want a number of cases sorted by a number of categories and between different dates. The dates are supposed to be selceted at the time you are running the report (like "I want all cases between 2006-03-13 and 2006-05-30). And this is ofcourse done by using the "Finished date" object that I've created in the universe as a filter. </p><p> The dates selected in the query is supposed to be included in the report heading (like "Results of cases between {date 1} and {date 2}". I have been reading the documentation about free cells, but the only thing I've found was about last refresh date and drill level.</p><p> Anyone who understand what I'm talking about <img src="/modules/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/images/smiley-smile.gif" alt="Smile" title="Smile" width="18" height="18" />and know how I can accomplish this?</p><p>Thanks in advance!</p>
UserResponse(DataProvider([date 1]); "Start date?")
Maybe you are looking for
-
*BUG* in LR 4.4 -- Movie & captured frame can't be same name
*BUG* !!! in LR 4.4 I have a folder of .29 short .avi movies from my VADO HD. I captured a jpg from the first 11 of the movie clips as I set the *Poster Frame*. They were all named and in sequence, and the jpgs remain as they were in the Win8 explore
-
Hi, The BP account balance report shows the Ref2 coloumn which shows the manual input details. If this field is updated or changed e.g, in the AP or AR invoice for some reason, why is the updation or change not reflected in the account balance Ref2
-
I want to use a query prompt as a variable in reporting. Is there any way of doing this? I can't find any references anywhere.
-
Displaying header in ALV By using OO ABAP
Hi, I have displayed ALV Grid by using OO ABAP. Would you please tell me how to disply header for this ALV by Using OO ABAP. Moderator Message: Please search for available information. Edited by: kishan P on Nov 22, 2010 8:22 PM
-
Invalid Signature after upload
I have this error message: How do I fix it?? Thank you! Dear developer, We have discovered one or more issues with your recent delivery for "Your Awesome App". To process your delivery, the following issues must be corrected: Invalid Signature - Make