How to Implement KFF Range (Low and High) in query find form in oracle apps
Hi,
Please provide some sample script for using KFF range LOV (Low and High) in one of the query find form in Oracle apps R12.
I need to customize one of the standard form and add this range functionality for that search form.
Thanks,
Prasanna
Yuvaraaj,
Your request is unique to the Oracle Enterprise Business Suite (EBS). Please post your question in the General EBS Discussion forum. If you have a general Forms question, by all means, ask it here! ;-)
Craig...
Similar Messages
-
I am retrieving high and low limits from step results in VB code that looks something like this:
' (This occurs while processing a UIMsg_Trace event)
Set step = context.Sequence.GetStep(previousStepIndex, context.StepGroup)
'(etc.)
' Get step limits for results
Set oStepProperty = step.AsPropertyObject
If oStepProperty.Exists("limits", 0&) Then
dblLimitHigh = step.limits.high
dblLimitLow = step.limits.low
'(etc.)
So far, so good. I can see these results in
VB debug mode.
Immediately after this is where I try to put the limits into the results list:
'Add Limits to results
call mCurrentExecution.AddExtraResult("Step.Limits.High", "UpperLimit")
call mCurrentExecution.AddExtraResult("Step.Limits.Low", "LowerLimit")
(No apparent errors here while executing)
But in another section of code when I try to extract the limits, I get some of the results, but I do not get any limits results.
That section of code occurs while processing a UIMsg_EndExecution event and looks something like this:
(misc declarations)
'Get the size of the ResultList array
Call oResultList.GetDimensions("", 0, sDummy, sDummy, iElements, eType)
'Step through the ResultList array
For iItem = 0 To iElements - 1
Dim oResult As PropertyObject
Set oResult = oResultList.GetPropertyObject("[" & CStr(iItem) & "]", 0)
sMsg = "StepName = " & oResult.GetValString("TS.StepName", 0) & _
", Status = " & oResult.GetValString("Status", 0)
If oResult.Exists("limits", 0&) Then
Debug.Print "HighLimit: " & CStr(oResult.GetValNumber("Step.Limits.High", 0))
Debug.Print "LowLimit: " & CStr(oResult.GetValNumber("Step.Limits.Low", 0))
End If
'(handle the results)
Next iItem
I can get the step name, I can get the status, but I can't get the limits. The "if" statement above which checks for "limits" never becomes true, because, apparently the limit results never made it to the results array.
So, my question again is how can I pass the low and high limit results to the results list, and how can I retrieve the same from the results list?
Thanks,
GriffGriff,
Hmmmm...
I use this feature all the time and it works for me. The only real
difference between the code you posted and what I do is that I don't
retrieve a property object for each TestStand object, instead I pass the
entire sequence context (of the process model) then retrieve a property
object for the entire sequence context and use the full TestStand object
path to reference sub-properties. For example, to access a step's
ResultList property called "foo" I would use the path:
"Locals.ResultList[0].TS.SequenceCall.ResultList[].Foo"
My guess is the problem has something to do with the object from which
you're retrieving the property object and/or the path used to obtain
sub-properties from the object. You should be able to break-point in the
TestStand sequence editor immediately after the test step in question
executes, then see the extra results in the step's ResultList using the
context viewer.
For example, see the attached sequence file. The first step adds the extra
result "Step.Limits" as "Limits", the second step is a Numeric Limit (which
will have the step property of "Limits") test and the third step pops up a
dialog if the Limits property is found in the Numeric Limit test's
ResultList. In the Sequence Editor, try executing with the first step
enalbled then again with the first step skipped and breakpoint on the third
step. Use the context viewer to observe where the Limits property is added.
That might help you narrow in on how to specify the property path to
retrieve the value.
If in your code, you see the extra results in the context viewer, then the
problem lies in how you're trying to retrieve the property. If the extra
results aren't there, then something is wrong in how you're specifying them,
most likely a problem with the AddExtraResult call itself.
One other thing to check... its hard to tell from the code you posted... but
make sure you're calling AddExtraResult on the correct execution object and
that you're calling AddExtraResult ~before~ executing the step you want the
result to show up for. Another programmer here made the mistake of assuming
he could call AddExtraResult ~after~ the step executed and TestStand would
"back fill" previously executed steps. Thats not the case. Also, another
mistake he made was expecting the extra results to appear for steps that did
not contain the original step properties. For example, a string comparison
step doesn't have a "Step.Limits.High" property, so if this property is
called out explicitly in AddExtraResult, then the extra result won't appear
in the string comparison's ResultList entry. Thats why you should simply
specify "Step.Limits" to AddExtraResul so the Limits container (whose
contents vary depending on the step type) will get copied to the ResultList
regardless of the step type.
I call AddExtraResult at the beginning of my process model, not in a UI
message handler, so there may be some gotcha from calling it that way. If
all else fails, try adding the AddExtraResult near the beginning of your
process model and see if the extra results appear in each step's ResultList.
Good luck,
Bob Rafuse
Etec Inc.
[Attachment DebugExtraResults.seq, see below]
Attachments:
DebugExtraResults.seq 20 KB -
Table AGR_1251: Search between a range of the field "LOW" and "HIGH
Hello Experts,
i've got a problem by searching all users who have the authority for a transaction.
The transaction was written in a parameter, called p_trans.
I've the Tables AGR_1251, AGR_AGRS and AGR_USERS.
I know what I've to do.
Here is my Join.
SELECT agru~uname
INTO CORRESPONDING FIELDS OF TABLE gt_users
FROM agr_1251 as ag12
INNER JOIN agr_agrs as agrs
ON ag12~agr_name = agrs~child_agr
INNER JOIN agr_users as agru
ON agrs~agr_name = agru~agr_name
INNER JOIN usr01 as us
ON agru~uname = us~bname
WHERE ag12~object = 'S_TCODE' AND
ag12~field = 'TCD' AND
???? parameter p_trans between ag~low and ag~high????
SELECT agru~uname
APPENDING TABLE gt_users
FROM agr_1251 as ag12
INNER JOIN agr_agrs as agrs
ON ag12~agr_name = agrs~child_agr
INNER JOIN agr_users as agru
ON agrs~child_agr = agru~agr_name
INNER JOIN usr01 as us
ON agru~uname = us~bname
WHERE ag12~object = 'S_TCODE' AND
ag12~field = 'TCD' AND
???? parameter p_trans between ag~low and ag~high????
SORT gt_users BY uname ASCENDING.
DELETE ADJACENT DUPLICATES FROM gt_users COMPARING uname.
Here is my question:
In my code are question marks...here i want to say, that my transaction lays between the fields LOW and HIGH.
But how can i say, that in WHERE.
I have to say... Search that agr_name, where object = s_tcode, field=tcd and where my transaction lies between.
For example: low is T and high is X and i have the transaction va21.
So i must find out, in which range lays ma transaction.
I hope somebody understands me
Thanks!
Regards,
MarcelHi Marcel,
You are mentioning it as a parameter between having low & high values. Is it a parameter or select option.
If its a parameter, then anyway it will have only single value at any point of time.
If its a select option, then you need to use
select * from
and tcode in s_tcode.
Thanks,
Best regards,
Prashant -
Select-options split date into month and assign to low and high
Hi,
In my select-options i am giving BEDAT (01.04.2004 TO 30.10.2005).I need to split month and
year in separate fields.that is
select-option_low-month in one field
select-option_high-month in second field
select-option_low-year in third field
select-option_high-year in fourth field.
Finally i need to move these four fields to it_final.
select * from mbewh into corresponding fields of table it_mbewh
for all entries in it_final where matnr = it_final-matnr and
bwkey = it_final-werks and lpmon = ? and lfgja = ?
and bklas <> ' '.
what input i have to give in lpmon and lfgja in select query to get for lfmon (04 to 10)
and lfgja (2004 to 2005).
suggest some ideas.Hi ,
Can you please check the following code.
Hi ,
data : l_low_yr(4),
l_high_yr(4),
l_low_mon(2),
l_high_mon(2).
Splitting the select option date to month and year into low and higher values
l_low_yr = s_date-low+00(04). " Year low value from the date range
l_low_mon = s_date-low+04(02). " Month low value from the date range
l_high_yr = s_date-high+00(04)." Year high value from the date range
l_high_mon = s_date-high+04(02)." Month high value from the date range
selecting the data from the table mbewh based on some conditions.
select * from mbewh into corresponding fields of table it_mbewh
for all entries in it_final where matnr = it_final-matnr and
bwkey = it_final-werks and lfmon BETWEEN l_low_mon and l_high_mon
and lfgja BETWEEN l_low_yr and l_high_yr and bklas EQ ' '.
This select will retrive the desired data records from the table MBEWH.
Please let me know if this works according to your requirement.
Thanks and Regards
Saritha -
How the implementation differs between BW and BI , Is BI takes more time fo
Hi All,
I would like to know difference between implemenation and time lines for MM as mentioned below.
How the implementation differs between BW and BI , Is BI takes more time for implementing MM module than on BW?
Thanks in advanced. (Full points will be awarded)
With Regards,
PCRHi Timo,
Thanks for response!
But as i read from the following url: http://docs.oracle.com/cd/E15051_01/apirefs.1111/e10653/oracle/jbo/ViewObject.html, the setQueryTimeOut(int timeOutMills), the timeOut is mentioned in milliseconds. Please correct me if I am wrong.
and i have overriden the executeQuery() method in the View Object Impl class as shown below:
public void executeQuery() {
Map sessionScope = ADFContext.getCurrent().getSessionScope();
sessionScope.put("MyQuery", this);
try {
super.executeQuery();
} finally {
sessionScope.remove("MyQuery");
throw new JboException("Query Taking too long to respond");
and in the JAVA class i am calling the above method like this:
monitor.setQueryTimeOut(6);
monitor.executeQuery();
But the issue is:
1. The above exception message is getting carried forward to other pages as well. I mean somewhere in the session/ADFContext this message is being saved and error comes up/pops up when i click on other tabs of the page. How do i clear this?
2. The above exception message is coming for the first time but when i click the 'Submit' button second time, i am getting the results and also the message that 'Query is taking too long to respond'. This should not be the case, everytime it should show the same message as the timeout limit is less and the query should end without fetching the results.
Kindly let me know how to resolve the above issues, any pointers will be helpful.
Thanks in advance.
Edited by: user9223904 on Nov 3, 2012 4:42 AM -
Hellow!
I use Audigy2 Value for a long time but never had this question in my mind. Now i have to make music arrangement of several songs and mix a lot of tracks in Sonar, so i extremly need to hear "true" frequencies of my tracks in monitors while mixing. And the question is - what the right position of Low and High sliders in the Audigy 2 Mixer to archi've "orriginal" sound, without any frequency disbalance? (i usually move then from 50% to 00% and, of course, it's not the right way). Heeeelp, pleeeease!For all the equaliser sliders, the middle position of the slider is the neutral one. Above that, the freqv is accentuated, under that, the freqv is attenuated.
The Creative marking in % is a unfortunate one, but 50% is the position that would be neutral. -
How do I backup my iphone to a computer when every time I plug it into the computer, it starts syncing it to itunes or trying to download itunes? How do I back it up and where do I find the backup?
The backup does not include any itunes content. NO apps, music,etc
You can transfer itunes purchases from iphone to computer: File>Transfer Purchases
You need to copy everything from your backup copy of your old computer to your new computer. -
How to restore my icloud backup and where can I find the setup assisant in my new ipad
Dear Sir
Can you help my on how to restore my icloud backup and where can I find the setup assisant in my new ipad?
Thanks and Regards,
ClareiPhone User Guide (For iOS 6.1 Software)
-
How do i get a plain and simple basic bank reconciliation form?
how do i get a plain and simple basic bank reconciliation form?
If you have a system with Microsoft Office Document Imaging loaded, you can Print the PDF to this application. Then once the document opens, Print it to Adobe PDF. This will avoid the distilling errors.
It is part of Office XP, 2003 & 2007 I believe.
Otherwise you may be left with Print & Scan.
Good Luck
Mark -
How I break then insert mod and change to query mod through coding
Hi master
Sir how I break then insert mod and change to query mod through coding
Please give me idea
Aamirwhat do you mean with query-mode? QUERY-mode or ENTER-QUERY-mode ?
QUERY-mode is after you fetch successfully data from the database
ENTER-QUERY-mode is the mode, when you insert your selection-criteria into the record -
How to print a message in forms in oracle apps
Hi all
i am using oracle apps r12
In when button trigger how to print a message when the button is pressed.
I tried message('HELLO'); this works in oracle forms but in oracle apps its different and i searched so for and used like this
fnd_message.set_name( 'FND', 'FND_GENERIC_MESSAGE' ) ; but it doesnt works
Regards
SrikkanthHi
Thanks for your kind response.
Can you please give me the steps to call a form from another form in oracle apps i am using apps r12.
I have created a custom form and attached in the special menu and in that form i have two button are there. When the use click the one button another form(custom form) need to called. Can you please provide me the steps.
Whether it is different from oracle form builder like CALL_FORM('FORM_NAME', ACTIVATE) like this.
Regards
Srikkanth -
i lost my i phone and i have the find my i phone app, but i dont have another apple device to find it, help me?
you can locat it through icloud website
https://www.icloud.com/#find -
How to implement maps in obiee11g and configure map viewer
Dear All,
Greeting for the day,
I am trying to explore obiee11g, ,how to implement the maps that is one of the finest features incorporated in obiee11g, and what all configurations(if required) are to be done. or any helpful documentation regarding same.
Please help!!!!
Thanks in advance
RegardsHi,
Check the RittmanMead-blog
http://www.rittmanmead.com/2010/08/oracle-bi-ee-11g-map-views-integration-with-mapviewer/
Good Luck,
Daan Bakboord
http://obibb.wordpress.com -
How can I change the Country and Credit card Apple ID without loose the app installed ?
Hi, I move from Brazil to Qatar and keep using my account at Brazil since I have a credit card there and the old address.
Today Ireceived a message when I was updating my app at my iPad that I should change my payment method that was rejected (???), I try to update and keep the same message... So now maybe better to use address and card from Qatar.
I could not understand how can I change the country and shop since everything at the address is linked to Brazil.
Also I'm afraid to lose the installed app...
Please, a step by step will help a lot, I have a very low computer experience ...You won't lose apps that are installed. You will lose the ability to update them
Business with the App stores is restricted to those stores in your formal country of residence (your billing address) and a bank supported credit card from that same country. You can buy and update apps with those details only in that country.
If you have established residences and bank supported accounts in other countries you can also use those. You can buy and update apps in those countries using those details.
You cannot interchange them. You cannot merge IDs or purchase details. -
Hello,
I have a Java Web Start application that runs fine if the application is only 1 .jar file.
But I have a need to also run C++ .exe and .dll file from my Java application.
I wonder if someone could please tell me how to package/include C++ .exe and
.dll files in my Java web start application?
Thank you and Best Regards,
AkinoYou need to place the EXE and DLLs inside the jar.
Java cannot execute them from the jar. They have to be extracted (see Class.getResourceAsStream) from the jar and copyied into the target machine file system, perahps to the temp directory. Now you can execute them using Runtime.exec() or ProcessBuilder.start().
Edited by: baftos on Jan 14, 2011 6:49 PM
Maybe you are looking for
-
Transfering .csv file from SAP to NON-SAP using FTP connection
Dear All, I am able to place the .CSV file successfully to other system using FTP connection, but when i open the file I could see the gaps between each record. I mean 1st line with the 1st record and 2nd line having a GAP and 3rd line with the 2nd r
-
PL/SQL update rate using having count
Hi am newbie at pl/sql I need to update rate_per_hour for all projects having less than 5 employee to 500 here is the code what i wrote, but it updates all employee set serveroutput on declare cursor rate_cur is select * from project for update
-
Not able to connect to MS SQL 2005 Evaluation version
Hi, I have installed MS SQL 2005 Evaluation version(downloaded from microsoft site) on my win2k3 Enterprise Edition I am writing a java application that connects to MS SQL 2005. I have downloaded the MS SQL 2005 JDBC driver. And i unjarred the I have
-
So that we may better diagnose DOWNLOAD problems, please provide the following information. - Server name - Filename - Date/Time - Browser + Version - O/S + Version - Error Msg
-
Hi, I am very new to SNMP protocol.. Sorry for asking dumb question.. I am trying to execute weblogic examples.. What should i give the OID value? Is it configarable? If so how to add my own object or key/value pair to MIB? Started the server success