Restricting KFF display values
Hi All,
We have a requirement to restrict the Key Flex field values to be filtered based on the OU. Either we need to disable the KFF field for specific OU or should restrict the KFF to show OU specific values.
Please let me know whether the above requirement can be achieved via personalization else is there any other way to resolve the issue.
Thanks in advance.
Regards,
Rajesh SM.
Hi,
Why dont you make the KFF as Context sensitive for each OU. and then on page load
capture the orgId from pageContext.getOrgId()
and then set the flexfield context programatically.
Read more about KFF in dev guide.
Thanks,
Gaurav
Similar Messages
-
Need to restrict KFF values on Charge Account Screen in Oracle Apps 11i
Hi,
I have a requirement to restrict KFF values based on certain criteria in the charge account screen in Oracle Apps 11i..
Could you pls advise on how this can be achieved.
Thanks,
Shashank
Edited by: Shashank Senan on May 23, 2012 2:53 PMCan you please mark my answers correct......if they were helpful to you.....
That would be so nice of you....:-)
and regarding your next requirement, You should create a new table which will contain Date, Worker Number and any other details that you want.
In the form, for every date for which you want to enter the data, you will select the max(date) before the current date and maximum worker number for that selected date and then from that number you can select next 15/20 workers or whatever your number is.
e.g. for the first time if you want to enter data for 01-jul-2010 and you have work for 15 workers, you will select max(date) where date<01-jul-2010, but you will not find any bcoz this is your first entry. So wat you will do is will start popupating your grid from number 1-15.
Next day you will select max(date) where date<02-jul-2010, you will find 01-jul-2010. Then you will select max(number) for 01-jul-2010, you will find 15. So populate your grid from number 16-30 (whatever your number is). and so on.
Hope it helps you...
Please mark my answer Helpful or correct and Please create a new thread for new question
Thanks
Nishu -
Restrict dictionnary Search help displayed values.
Hi,
my problem is that I have to display a search help. The search help already exists in the dictionnary and is defined using a Dictionnary Table.
I need to display the same serach help but I have to filter the results using a range of values for one of the fields and I would like to know how to proceed.
I know that user-exit exists in some search help, it's not the case here.
The kind of solutions I'm looking for is :
- directly restrict the existing search hellp values
- found a way to display a search help from abap using an internal table ( cause it's easy in this case to do fill a internal table doing the sql request myself)
- if the solutions above can't apply, doing my own search help in the dictionnary but in this case, I don't know to make this search help for values restriction.
I specify that the screen use the screen painter, it may be important ?
Thanks for your help
best Regards,
MorganHi,
Search Hels exits is only for exceptions, so in our case, we won't use the search help exits, it is better create/change the Custome one and attach the same to the fiels, there you can give the Default value for the fileds, so there you can restrict the values
or else, we have an option like, APPEND SEARCH HELPS, so by using this, we can restrict some field values, this Append Search helps, can be append to Standard Search helps also, so do Append the Standard Search help and add your field and give the Default values to restrict the user
hope you get the answer
Regards
Sudheer -
How to retrive KFF segment values in each row of VO?
Hi,
I need to retrve Special Information Type values in HR screen.
There is a table based on the VO and on of the column is a flex (KFF) linked ot the same VO.
How can i retrieve the KFF segments values from each row of the table (or VO row).
The VO contains the ID_FLEX_NUM only.
Specific issue details:
It is an HR screen
page : PersonSIT Page
Region : SpecialInformationType(Table)
VO : SpecialInformationDetailsVO
flex id="HrSitKeyFlex" flexName="PEA" flexFieldAppShortName="PER" user:akAttributeCode="HR_PERSON_SIT_FLEX"
Any information is of great help
Thanks,
Kamath..Vo Query is
SELECT /*+ ORDERED */pac.analysis_criteria_id,
ppa.analysis_criteria_id old_analysis_criteria_id,
ppa.person_analysis_id,
ppa.object_version_number,
ppa.id_flex_num,
ppa.business_group_id,
ppa.person_id,
ppa.date_from,
ppa.date_to,
'DB_ROW' status,
ppa.date_from old_date_from,
ppa.date_to old_date_to,
ppa.attribute1,
ppa.attribute2,
ppa.attribute3,
ppa.attribute4,
ppa.attribute5,
ppa.attribute6,
ppa.attribute7,
ppa.attribute8,
ppa.attribute9,
ppa.attribute10,
ppa.attribute11,
ppa.attribute12,
ppa.attribute13,
ppa.attribute14,
ppa.attribute15,
ppa.attribute16,
ppa.attribute17,
ppa.attribute18,
ppa.attribute19,
ppa.attribute20,
ppa.attribute_category
FROM per_person_analyses ppa,
per_analysis_criteria pac
WHERE ppa.business_group_id = :1
AND ppa.person_id = :2
AND ppa.id_flex_num = :3
AND pac.analysis_criteria_id = ppa.analysis_criteria_id
The values from log file for a single row is as below
i = 0
row.getAnalysisCriteriaId()=68198
row.getAttribute1()=null
row.getAttribute10()=null
row.getAttribute11()=null
row.getAttribute12()=null
row.getAttribute13()=null
row.getAttribute14()=null
row.getAttribute15()=null
row.getAttribute16()=null
row.getAttribute17()=null
row.getAttribute18()=null
row.getAttribute19()=null
row.getAttribute20()=null
row.getAttribute2()=null
row.getAttribute3()=null
row.getAttribute4()=null
row.getAttribute5()=null
row.getAttribute6()=null
row.getAttribute7()=null
row.getAttribute8()=null
row.getAttribute9()=null
row.getAttributeCategory()=null
row.getBusinessGroupId()=83
row.getDateFrom()=2009-10-01 03:32:38.0
row.getDateTo()=null
row.getIdFlexNum()=50454
row.getPersonAnalysisId()=null
row.getObjectVersionNumber()=null
row.getOldAnalysisCriteriaId()=null
row.getOldDateTo()=null
row.getOldDateTo1()=null
row.getPersonId()=46788
row.getSelectFlag()=Y
row.getStatus()=NEW_ROW
Here, row.getIdFlexNum()=50454 is the id_flex_num- KFF structure code which has 4 segments.
I need to get the value for the VaueSet of Segment1
The segment values are displayed in the OAF page but i did not get how did std oracle code fetch it
Thanks,
kamath -
How to restrict the Null Values for Key Figules in the Bex Query
Hi Friends,
I want to restrict the Null values of a perticular key figure in the Bex Query Output.
I will explain in details. i have 3 key figures in my query.. let us assume.. key1 key2key3
key1 key2 key3
4 4 100.00
5 0 200.00
1 0 19.00
0 1 10.00
i don't want to see the the records for which key 2 is 0.
we have a setting in the Bex Query for restricting the Zero values in the query properties. If we enable that setting it will show
4 4 100.00
but i want the report to display..
4 4 100.00
0 1 10.00
can any body guide me. <b>i want to display the values if key2 <> 0.</b>
Regards,
Nagesh.Hi AVR,
nice to see reply.
can you eloborate your view...how can i put the condition.
<b>i want to put the condition key2 <> 0.</b>
Regards,
Nagesh. -
Display values of a single field in a multiple rows in a table region
Hi Tech-Gurus,
I want to display values of a single field ( which is in a table region) in multiple rows and also need to restrict the values from decimal number. If i click save, then it will throw exception "Decimal not allowed".
xxxxxx
yyyyyy
Reg.No
1234
5678
7654
I need to display the values of REG.NO in different rows like,
1234
5678
7654
and also need to validate as well against Decimal values.
Please help me with the code how i will iterate ?Hi,
I am assuming you are talking about displaying substrings from the Reg No in different rows. For this you would need to write a query which identifies the substrings and creates a separate row for each (ensure you choose values for all other columns in the table row). Kindly let me know if the understanding is incorrect.
To validate against decimal value you can use the java code by checking the difference of the number and the number on which modulus has been applied. Hope that helps.
Regards
Sumit -
Hi,
I use BNE_INTEGRATOR_UTILS.CREATE_TABLE_LOV to create a POPList by using the view oe_transaction_types, but there is no any data displayed in the order type column, while can use table oe_transaction_types_tl to create the POP List and display value. Does the Web ADI LOV not support the MOAC? Here is the API:
BNE_INTEGRATOR_UTILS.CREATE_TABLE_LOV(P_APPLICATION_ID => 20009, --IN NUMBER,
P_INTERFACE_CODE => 'XXX_UPL_ORD_INTF', --IN VARCHAR2,
P_INTERFACE_COL_NAME => 'P_ORDER_TYPE', --IN VARCHAR2,
P_ID_COL => 'NAME', --IN VARCHAR2,
P_MEAN_COL => 'NAME', --IN VARCHAR2,
P_DESC_COL => 'DESCRIPTION', --IN VARCHAR2,
P_TABLE => 'OE_TRANSACTION_TYPES', --IN VARCHAR2,
P_ADDL_W_C => 'TRANSACTION_TYPE_CODE = ''ORDER'' AND NVL(END_DATE_ACTIVE, SYSDATE) BETWEEN START_DATE_ACTIVE AND SYSDATE',
P_WINDOW_CAPTION => 'Order Type', --IN VARCHAR2,
P_WINDOW_WIDTH => 500, --IN NUMBER,
P_WINDOW_HEIGHT => 400, --IN NUMBER,
P_TABLE_BLOCK_SIZE => 10, --IN NUMBER,
P_TABLE_SORT_ORDER => 'NAME', --IN VARCHAR2,
P_USER_ID => -1, --IN NUMBER,
P_TABLE_COLUMNS => 'NAME,DESCRIPTION', -- IN VARCHAR2,
--P_TABLE_SELECT_COLUMNS IN VARCHAR2,
--P_TABLE_COLUMN_ALIAS IN VARCHAR2,
--P_TABLE_HEADERS IN VARCHAR2,
P_POPLIST_FLAG => 'Y');Duplicate post.
How to restrict the display of Integrator in Web ADI
How to restrict the display of Integrator in Web ADI -
Restrict Query display to TopN with Group BY
Hello Experts,
I have a query on a multiprovider that display the following results
Plant Product Date Qty
ABC Mat001 07/03/2007 35
ABC Mat001 07/05/2007 20
ABC Mat001 07/09/2007 99
ABC Mat001 07/11/2007 55
ABC Mat002 07/05/2007 45
ABC Mat002 07/09/2007 20
ABC Mat002 07/11/2007 75
ABC Mat002 07/15/2007 49
Now I want to restrict and display each product that has max Qty as below
Plant Product Date Qty
ABC Mat001 07/09/2007 99
ABC Mat002 07/11/2007 75
If I use TopN condition on Plant, Product, Date I will only get one record but I want Max of Qty for each product like Group By Plant, Product, Date.
Any advice is appreciated.
Thanks,
John LiHi John,
It is obvious if you are giving N as 1 then only one value will be displayed that is topmost value.
Since your the number of records that has to be displayed is not static, create a condition on all the three characteristic as mentioned in the earlier post and use some maximum value for N like 9999999 -
Is it possible to easily view the actual (not displayed) value of a cell?
Is it possible to easily view the actual value of a cell calculated by a formula, not the displayed value after it has been rounded off?
For instance, if you enter the number 1.23456789 and display it rounded to 3 decimal places, you can still see the full, actual value in the formula bar:
The problem arises when you reference that number in a formula: you can't see the underlying value (even though it's obviously known to Numbers):
Is there a way to get the formula bar (or a tooltip) to show the full, unrounded value? Changing the display to more decimal places is not very convenient, especially on big spreadsheets. Maybe it could be done via AppleScript?
A related issue arises when you try to look at the sum or average of a number: if the numbers being summed have the same number of rounded decimals, the sum displayed is rounded too. I find this very annoying: I want to see the actual value, not how my spreadsheet may be displaying it in that cell.
Although, curiously, rounding to any number of decimals as long as they are not all the same displays the full, correct underlying values:
Has anyone come up with workarounds for these issues?I did it with an AppleScript.
Now any time I have a cell or cell range selected, I do one click (AppleScript menu > Display Value at Full Precision), and it shows me a popup alert that simply reads:
rowname : columnname
value
Here's the script:
tell application "Numbers"
try
set selectedTables to (tables of sheets of front document whose selection range is not missing value)
repeat with selectedTable in selectedTables -- tables of each sheet
if contents of selectedTable is not {} then -- the list is not empty, it's the selected sheet
set selectedCells to cells of selection range of (get item 1 of selectedTable)
repeat with i in selectedCells -- each selected cell
set {selectedRow, selectedColumn, selectedVal} to {row, column, value} of i
-- display alert "value of " & name of selectedRow & " : " & name of selectedColumn & " (" & address of selectedRow & ":" & address of selectedColumn & ")" message selectedVal
display alert name of selectedRow & " : " & name of selectedColumn message selectedVal
end repeat
return
end if
end repeat
on error eMsg number eNum
display alert eMsg
end try
end tell
( Props to Jacques Rioux who posted code to get me started at https://discussions.apple.com/thread/3964938 ) -
Change display value of "select list"
Hi!
I have a problem with a select list, I want to change the display value through an own pop up (page 5 of apex application) after I submit in it.
The select list is based on a sql query:
select A_NAME display_value, A_ID return_value
from APPLICATIONS
where a_application_type='GROUP'
order by 1
beside I have an link to open a pop up window:
... onClick="window.open ('f?p=&APP_ID.:5:&SESSION.::::', 'newWin',
'scrollbars=no,status=no,width=500,height=270' ...
On the pop up site there is a tree and a submit button which close the window and renew the original page:
javascript:window.opener.location.reload();window.close();
Through the tree I get the value (Group-ID) which I need.
When I'm back on page 4 a "before header" renew page process links again on the side 4 and change the value of my select list. Afterwards the values have changed correctly but the display value is still the old one. It only change when i go on an other page of the apex application and come back.
I don't know why it doesn't change immediately!?
Thanks aheadI have done with a solution just in a nutshell of what u r looking for:
1.create HTML region.
Add two items : Select list with redirect(P6_X) and text field(P7_X)
2. Select list is based on LOV query as :
select empno d,empno r from emp ;
Source value is Empno Type:DBcolumn.
3.The text field Source type : SQL Query .
Query : select ename from emp where empno = :P6_X
Now select from the dropdown empno and it will populate the Ename value accordingly based on the query .
U can have more than one text fields and populate those in the same way.....
Cheers,
ROSY -
Display value and description of one field in alv grid
Hi Folks,
I want to display value and description of one field as one column in alv grid.
for example iam having Xfield = 01,02,03.
and 01 iam having text value as xxx,
01 xxx
02 yyy
03 zzz
Im report display the values are displaying as 01,02,03..
but i want to display it as 01 xxx,02 yyy, 03 zzz.
Please do needful.
Thx.Hi, swetha
You can do this with "concatenate".
example:
In you code check where you final internal table is getting filled up before that do this concatenate and then append it.
data t_text type string.
t_text = textfield
CONCATENATE 'Xfield'
t_text
INTO wa_workarea SEPARATED BY space.
cheers,
Bhavana -
Include a display value in HTML footer
hi guys,
I am trying to make a report and i included a HTML footer in the report for signatues ,now i have a value in the same page i want it to be included in the report besides the "rceptionest Signautre"it can be ??can i include a value from the page to be displayed in HTML footer ???anybody can help me
this is the code
<p align="left"> </p>
<p align="left"> </p>
<table border="0" width="696" id="table1" >
<tr>
<td width="315" style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px" style="text-align: left">
<b>Patient Signature: </b></td>
<p align="left"> </p>
<td width="371" style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px" style="text-align: left">
<b> Receptionest Signature:</b></td>
</tr>
</table>Hi NightCabbage ,
I have a report that it will be printed from the receptionest i included space at the bottom of the report in the page footer
like this one Receptionest Signature
by using HTML code as following :
<p align="left"> </p>
<p align="left"> </p>
<table border="0" width="696" id="table1" >
<tr>
<td width="315" style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px" style="text-align: left">
<b>Patient Signature: </b></td>
<p align="left"> </p>
<td width="371" style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px" style="text-align: left">
<b> Receptionest Signature:</td>
</tr>
</table>
and i have a display value that displays the cashier name ,how can i add the the cashier name from the display value into the html code to be displayed besides the signature
help me plesase,
Thank you in Advance,
Ahmed , -
Formatting display value in LOV
I have an LOV whose display value is a concatenation of 2 database fields. That works fine. But I want to put a tab in between the
2 fields, otherwise the values are displayed one right after the other, and the columns are out of alignment from one row to the next.
In sqlplus, I can do:
select CHR(9)||to_char(objecttype_id)||CHR(9)||objecttype_name from hdb_objecttype;
And I get:
12 acoustic velocity meter
1 basin
11 canal
2 climate site
3 confluence
4 diversion
10 hydro plant unit
5 hydro power plant
6 reach
7 reservoir
14 riverware dataobject
When I do the same thing in my LOV query, I get
12 acoustic velocity meter
1 basin
11 canal
2 climate site
3 confluence
4 diversion
10 hydro plant unit
5 hydro power plant
6 reach
7 reservoir
14 riverware dataobject
I've tried lpad and rpad, also. With blanks as padding they produce the above results. If I use a character such as '.' they behave
correctly, but I still don't have standard field widths because of the variance in character sizes.
Why won't any of this formatting work, and how can I get it to?
Thanks,
CarolHi, Carol,
In addition to what Max said, you may be displaying this in a region where whitespace is compressed; in which case you would need to use non-breaking spaces in place of regular spaces:
SELECT REPLACE ( RPAD ( TO_CHAR (objecttype_id)
, 10
) || objecttype_name
, CHR (38) || 'nbsp;' -- CHR (38) is ampersand
...Speaking of compressing whitespace, this site does it.
So when you say
CarolM2 wrote:
In sqlplus, I can do:
select CHR(9)||to_char(objecttype_id)||CHR(9)||objecttype_name from hdb_objecttype;
And I get:
12 acoustic velocity meter
1 basin
11 canal
2 climate site
3 confluence
4 diversion
10 hydro plant unit
5 hydro power plant
6 reach
7 reservoir
14 riverware dataobject
When I do the same thing in my LOV query, I get
12 acoustic velocity meter
1 basin
11 canal
2 climate site
3 confluence
4 diversion
10 hydro plant unit
5 hydro power plant
6 reach
7 reservoir
14 riverware dataobjectThey come out looking identical.
When you post formatted text (such as the results above) on this site, type these 6 characters:
(small letters only, inside curly brackets) before and after sections of formatted text, to preserve spacing. -
Null display value in List of Values
Hello
In Page item ---> List of Value ---> Null display value I need to give a different value depending on language
I tried using an item in the "Null Display Value" e.g. &P1_Display_value.
This does not work ... I get " &P1_Display_value. " and not the value contained in the item
Anyone come across this before?
Thanks
PetePete:
The Query for the LOV could be modified to be something as below.
Select displayy_val, return_val from lov_table
union
select '&P1_DISPLAY_VALUE.',null from dual
order by 2 nulls firstVarad -
To display value in html: textarea in struts
Hello,
I want to display value in <html:textarea> in struts application from my userdefine FormBean.
i tried like this
<html:textarea property="documentNumberList" value='"<bean:write name="QualityForm" property="displayDocumentNumber">" ></html:textarea>
I am not getting success.
I would be appriciate to you if anyone could let me know what is the solution of this problem ? or send me one example.
Thanks
Rajnish
[email protected]Hi,
That did'nt solve my problem. Actually i am trying to get the arraylist data one by one into different textareas. There are two arrays one is quesArray and the other quesIdArray. I need the quesIdArray in the individual text areas.How can i achieve this?
I am using the following code to do that.
<logic:iterate id="item" name="selectionCriteriaForm" indexId="index" property="quesArray">
<tr><td><li><em><b><bean:write name="item"/> </em></li></b></td>
<td><html:textarea property="quesIdArray" cols="50" rows="2" name="selectionCriteriaForm" onkeyup="limitTextarea(answer<%=i %>,5,50)" />
<br></td></tr>
<% i=i+1;
%></td></tr>
</logic:iterate>
Pls help me on this.
Thanx in advance.
Maybe you are looking for
-
HT1695 Wi fi greyed out after update Iphone 4 on 6.0.1
Anyone still having this issue ? Im in South of Ireland and dont know where to go bought phone 2nd hand, so dont know where to take it I'm on 3 network ?
-
My licensed copy of Adobe Acrobat Pro 9.0 will not load
My licensed copy of Adobe Acrobat Pro 9.0 will not load - the disk just isn't recognized by our drives any longer. How do I get a replacement disk? BTW - Adobe support seems to be the worst I've ever experienced from any single company. I am getting
-
Cannot access report...
Hello, I am getting for a new user this error: "The permissions granted to user 'XX\YYYY' are insufficient for performing this operation (rsAccessDenied)l. The user is trying to open an hyperlink sent by email from a SSRS report ... The user has the
-
Database adapter MCF configuration for jDeveloper
Hi All- Help me to understand the mcf configuration in database adapter wsdl. When we develop BPEL process, the database adapter wsdl file has mcf configuration mentioned in it from the connection we made in jDeveloper. wsdl file also has JNDI locato
-
Hi SAP Friends, I need some help from u...I have an requirement of ALV grid report. It was already there byt now i have to divide one column in to twosub columns as folows Total A in USD | B in INR plz help me in the above ..