How to create dependent LOVs in Web ADI
Hi
Could anybody help me out, how I can create dependent LOVs in Web ADI? Please provide any sample code if you have.
I referred some posts in this forum about dependent LOVs. But unable to understand. Is dependency only possibe with Java programs?
Thanks
Venkat
Hi ,
did you get any docs that for dependent LOV. Please mail me [email protected]
Many Thanks in advance
Regards
Niraj
Similar Messages
-
How to create KFF LOV in web adi
Hi All,
I have found one document where the steps were included only for BNE_INTERFACE_COLS, which I am posting here....
The KFF which I am adding as LOV, has 3 segments, so I have added BNE_INTERFACE_COLS 21, 22 , 23 for segments, and 24 for parent.
BEGIN BNE_INTERFACE_COLS "21"
OWNER = "ANONYMOUS"
OBJECT_VERSION_NUMBER = "1"
INTERFACE_COL_TYPE = "1"
INTERFACE_COL_NAME = "P_C_ATTRIBUTE1"
ENABLED_FLAG = "Y"
REQUIRED_FLAG = "N"
DISPLAY_FLAG = "N"
READ_ONLY_FLAG = "N"
NOT_NULL_FLAG = "N"
SUMMARY_FLAG = "N"
MAPPING_ENABLED_FLAG = "Y"
DATA_TYPE = "2"
GROUP_NAME = "INVENTORY"
VAL_TYPE = "KEYFLEXSEG"
VAL_COMPONENT = "" ""
DISPLAY_ORDER = "210"
UPLOAD_PARAM_LIST_ITEM_NUM = "21"
PROMPT_LEFT = "C_ATTRIBUTE1"
PROMPT_ABOVE = "C_ATTRIBUTE1"
LAST_UPDATE_DATE = "2010/06/14"
VAL_QUERY = "" ""
EXPANDED_SQL = "" ""
END BNE_INTERFACE_COLS
BEGIN BNE_INTERFACE_COLS "22"
OWNER = "ANONYMOUS"
OBJECT_VERSION_NUMBER = "1"
INTERFACE_COL_TYPE = "1"
INTERFACE_COL_NAME = "P_C_ATTRIBUTE2"
ENABLED_FLAG = "Y"
REQUIRED_FLAG = "N"
DISPLAY_FLAG = "N"
READ_ONLY_FLAG = "N"
NOT_NULL_FLAG = "N"
SUMMARY_FLAG = "N"
MAPPING_ENABLED_FLAG = "Y"
DATA_TYPE = "2"
GROUP_NAME = "INVENTORY"
VAL_TYPE = "KEYFLEXSEG"
VAL_COMPONENT = "" ""
DISPLAY_ORDER = "220"
UPLOAD_PARAM_LIST_ITEM_NUM = "22"
PROMPT_LEFT = "C_ATTRIBUTE2"
PROMPT_ABOVE = "C_ATTRIBUTE2"
LAST_UPDATE_DATE = "2010/06/14"
VAL_QUERY = "" ""
EXPANDED_SQL = "" ""
END BNE_INTERFACE_COLS
BEGIN BNE_INTERFACE_COLS "23"
OWNER = "ANONYMOUS"
OBJECT_VERSION_NUMBER = "1"
INTERFACE_COL_TYPE = "1"
INTERFACE_COL_NAME = "P_C_ATTRIBUTE3"
ENABLED_FLAG = "Y"
REQUIRED_FLAG = "N"
DISPLAY_FLAG = "N"
READ_ONLY_FLAG = "N"
NOT_NULL_FLAG = "N"
SUMMARY_FLAG = "N"
MAPPING_ENABLED_FLAG = "Y"
DATA_TYPE = "2"
GROUP_NAME = "INVENTORY"
VAL_TYPE = "KEYFLEXSEG"
VAL_COMPONENT = "" ""
DISPLAY_ORDER = "230"
UPLOAD_PARAM_LIST_ITEM_NUM = "23"
PROMPT_LEFT = "C_ATTRIBUTE3"
PROMPT_ABOVE = "C_ATTRIBUTE3"
LAST_UPDATE_DATE = "2010/06/14"
VAL_QUERY = "" ""
EXPANDED_SQL = "" ""
END BNE_INTERFACE_COLS
BEGIN BNE_INTERFACE_COLS "24"
OWNER = "ANONYMOUS"
OBJECT_VERSION_NUMBER = "1"
INTERFACE_COL_TYPE = "2"
INTERFACE_COL_NAME = "P_C_ATTRIBUTE4"
ENABLED_FLAG = "Y"
REQUIRED_FLAG = "N"
DISPLAY_FLAG = "Y"
READ_ONLY_FLAG = "N"
NOT_NULL_FLAG = "N"
SUMMARY_FLAG = "N"
MAPPING_ENABLED_FLAG = "Y"
DATA_TYPE = "2"
GROUP_NAME = "INVENTORY"
OA_FLEX_CODE = "MCAT"
OA_CONCAT_FLEX = "N"
VAL_TYPE = "KEYFLEX"
VAL_OBJ_NAME = "oracle.apps.bne.integrator.validators.BneKFFValidator"
VAL_COMPONENT = "PA_FLEX"
OA_FLEX_NUM = "PA_FLEX" "50368" --line2732
OA_FLEX_APPLICATION_ID = "401"
DISPLAY_ORDER = "240"
UPLOAD_PARAM_LIST_ITEM_NUM = "24"
PROMPT_LEFT = "C_ATTRIBUTE4"
PROMPT_ABOVE = "C_ATTRIBUTE4"
LAST_UPDATE_DATE = "2010/06/14"
VAL_QUERY = "" ""
EXPANDED_SQL = "" ""
END BNE_INTERFACE_COLS
When I am uploading this ldt, it gives me error :
A syntax error occurred at line 2732 in file aexp_pa_cm_proj_intg.ldt
The reference attribute requires 2 values to specify the key
No data found for upload
where line 2732, I have pointed above.
Let me know if somebody have impletemented KFF, and what are the steps, to create LOV, we add param list also, Do we need same thing for KFF LOV also, if yes what are the steps.
Thanks in advance.Hi,
Following the steps mentioned in the link and let me know if you are still not able to do it:-
http://rkpande14.blogspot.com/2011/07/key-flexfield-kff-validation-in-custom.html
Thanks,
Rohit -
How to create dependent LOV in Advanced Table.
Hi,
How to create dependent LOV in Advanced Table. Pls help send me the steps.
Thanks in Advance,
Hanimi....Hi,
Not sure whether you need dependent LOV or dependent poplist. But anyways, you can refer the below link for Dependent LOV
http://oraclearea51.com/component/content/article/98-oa-framework/372-dependent-lov-in-oaf.html
and for Dependent Poplist refer the below link:
http://oraclearea51.com/component/content/article/98-oa-framework/370-dependent-poplist-in-an-advanced-table-in-oaf.html
Regards,
Sudhakar Mani
http://oraclearea51.com/sudhakarmani -
How to create Dependent lov in OAF Page
Hi,
How to create Dependent lov in OAF Page. pls can any body help.
Regards,
Hanimi.Hi,
Not sure whether you need dependent LOV or dependent poplist. But anyways, you can refer the below link for Dependent LOV
http://oraclearea51.com/component/content/article/98-oa-framework/372-dependent-lov-in-oaf.html
and for Dependent Poplist refer the below link:
http://oraclearea51.com/component/content/article/98-oa-framework/370-dependent-poplist-in-an-advanced-table-in-oaf.html
Regards,
Sudhakar Mani
http://oraclearea51.com/sudhakarmani -
Hi all,
Does anyone know how I can create a LOV with values dependent on the LOV value selected from the one above when defining a custom item?
For example, I have defined a custom item which has 2 attributes with 2 LOVs:
attribute1 - LOV1
attribute2 - LOV2
I would like to populate LOV2 depending on what value the user selects in LOV1, is this possible?
Please advise.
Thanks.Hi,
You can create dependant lovs and use them only in the forms component. Here is how you create dependant lovs
lov1
select empno,ename
where deptno = :dept
Creating a LOV with a bind variable makes it a dependant lov. In forms you should map the bind variable to one of the form columns.
Thanks,
Sharmila -
How to create dependent LOV based on procedure?
Hi,
There are two dependent list of values which i need to create. There is an existing package which returns the list.
Can you suggest which approach should i use to create these list. Should i execute the procedure in the IMPL class and then bind the list to the transient VO or should i create a table which stores the result of the package and then use query based VO.
After selecting the list values and clicking on GO it should generate a table too based on that list values selected.
Which approach is correct? If any other approach then please mention.
And can you explain how do we bind the list to the transient VO for the first approach if thats the correct approach.
Thanks in advanceHi,
I would build programmatic view objects for both of them (I usually also prefer having the View Objects based on a custom entity object). The tricky part is that you need to override the default View Criteria behavior (as you have to detect the view criteria, its condition and then map it to the stored procedure call)
Here are some links that will help:
http://docs.oracle.com/cd/E21043_01/web.1111/b31974/bcadvvo.htm#sm0341
http://jobinesh.blogspot.in/2011/06/building-programmatically-managed_25.html
http://jobinesh.blogspot.in/2011/06/building-programmatically-managed.html
http://docs.oracle.com/html/B25947_01/bcadveo004.htm#sm0328
Frank -
My requirement is - There are customer names & region names ,Client wants to go for dynamic cascading prompt and hard code the customer name ,bu t they DON'T WANT customer names to be appear in the cascading dynamic prompt input values (they wants to make customer names as confidential ) ,
Reporting tool Name - Crystal reports ,
Source - UNV
Older versions like BOXIR2 / BOXIR3 they used JSP to achieve this ,it worked fine ,Now they need to do the migration to BI4.0 UNV for the CR reports ,
So it is an existing system and now i need to modify the universe in the SABI4.0 -UDT /UNV ,
Could you please help me in detail , how can i achieve it .
Thanks ,
Pradeep GorpaduHi,
You need to check in Crystal Reports Section .
SAP Crystal Reports -
ADF: CREATING DEPENDENT LOV
Hi Everyone,
i have created two LOVs just to list the values(2 separate VOs but both are from same table).
Now i want to make 2nd lov values dependent on first lov.
how can i create dependant lov?
plz give detailed simple steps for dependant lov creation as im new to this ADF field.
Thanks in advance.
Regards,
RAJA.
Edited by: Kumar on May 18, 2012 7:39 PMSorry, but as far as I can tell the samples are doing exactly what you want. If not do should be able to adapt the samples to your needs.
In general here on this forum we only point you in the right direction...
From the information you gave so far the samples should get you going.
Timo -
Issue in creating dependent LOV
Hi,
I am creating a dependentLOV Items.
1) Selecting Project Number.
2) List of Tasks in the selected Projects.
when ever user selects particular project number in 1st LOV item the list of tasks assossiated to that project should be
populated in 2 nd LOV.
Can any one suggest.
Regards,
KrishnaHi Reetesh,
I am unable to create dependency.
VO Querys of Projects and Tasks
Projects VO
select a.SEGMENT1,a.NAME,a.PROJECT_ID
from pa_projects_all a
TasksVO
select a.TASK_NUMBER,a.TASK_NAME,a.PROJECT_ID
from pa_tasks a
I am explaing the steps I have done just show where I met error.
1) Create ProjectsLOVRN (projectno,name,projectId) TasksLOVRN (TaskNumber,Name,ProjectId)
2) Create 2 LOV Items Projects and Tasks
3)In Projects LOV I created 2 LOV Maps which returns Project No and Project Id
4)In Tasks LOV created 2 LOV Maps as you suggested
in first map LOV Region Item TasksLOVRN(TaskNumber)
Criteria Item returned ProjectId from ProjectsLOVRN
Required and Programatic Query is set to true
for crieteria item will be the Project LOv Item how can I select an ProjectsLOV Item in TasksLOV
in second map
LOV Region Item TasksLOVRN(TaskNumber)
return Item LOV ItemTask
While running page At header I am getting an error
Error
Developer Mode Exception : Lov Input should by default be the queryable criteria and Result.
Please suggest where exactly Iam making mistake to create Dependent LOV
Regards,
Krishna -
How to create exchange grid in web entry form...
Hi to all,
I am new to HFM..my query is How to create exchange grid in web entry form...i try it a lot but it didn't get the solution...
i did this exchange grid in web grid..any one can share the document or ppt or video clip related to this..which will be helpful for me...
ThanksHi...
Its better to create the Exchange Rates in a Data Form than in an Data Grid, so that you can easily Import and Export the form and even can feed the values easily....
Select the POV like in Scenario-Actual,Year-Your particular year,Period-In Period Dimension do not choose any option so that it can be selected in Columns and Rows,View--the same as Period Dimension,Entity-[None],Value-<Entity Currency>,Account-Do Not select ,ICP- [ICP None],Custom 1-[None], Custom 2-[None], Custom 3-[None], Custom 4-[None]...
In Columns Select Scenario -Actual,Period-{[Fourth Generation]},Currency-#USD(Default Currency)
In Rows Select-Account-A#AVGRATE,View-w#Periodic,Currency-C2#EUR
A#AVGRATE.w#Periodic.C2#CFA and so on for rest of the currencies....
and same in the below rows for the Closing Rates---- A#CLORATE.w#Periodic.C2#EUR
A#CLORATE.w#Periodic.C2#CFA
This might help you..... -
How to create Sub Queries In Webi
Hi,
we are creating webi reports by using BICS connection..
Now my requirement is how to create sub queries in webi.
Any one give me suggestions how to achieve this
Regards,
GHi Bhargav,
Below is thread related to same topic-
http://scn.sap.com/thread/3430274
~Anuj -
How to create progress bar in web page!!!
Dear,
I do not know how to create progress bar in web page?
Please show me the way to solve it.
Best regards,
HuyGod your lucky/lazy
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
import javax.swing.*;
import java.util.*;
import java.io.*;
public class ProgressBar extends Applet
private boolean isStandalone = false;
private int width;
private int height;
private double percentComplete;
private double fundsTarget;
private double fundsRaised;
private Properties values;
private String propertiesFile;
private JPanel jPanel1 = new JPanel();
private JProgressBar PB_FUNDS_PROGRESS = new JProgressBar();
private GridLayout gridLayout1 = new GridLayout();
private BorderLayout borderLayout1 = new BorderLayout();
private JPanel jPanel2 = new JPanel();
private JLabel jLabel1 = new JLabel();
private JLabel jLabel2 = new JLabel();
private JLabel jLabel3 = new JLabel();
private GridBagLayout gridBagLayout1 = new GridBagLayout();
private JPanel jPanel3 = new JPanel();
private JLabel jLabel4 = new JLabel();
//Construct the applet
public ProgressBar()
//Initialize the applet
public void init()
try
jbInit();
catch(Exception e)
e.printStackTrace();
//Component initialization
private void jbInit()
throws Exception
fundsTarget = new Double( 100 ).doubleValue();
fundsRaised = new Double( 50 ).doubleValue();
PB_FUNDS_PROGRESS.setBackground(Color.green);
PB_FUNDS_PROGRESS.setForeground(Color.red);
this.setLayout(gridLayout1);
jPanel1.setLayout(borderLayout1);
jPanel2.setLayout(gridBagLayout1);
jPanel1.setBackground(Color.white);
jPanel2.setBackground(Color.white);
jPanel3.setBackground(Color.white);
jLabel2.setBackground(Color.white);
jLabel1.setBackground(Color.white);
jLabel3.setBackground(Color.white);
jLabel4.setText(" ");
jLabel1.setText(" ");
jLabel2.setText(" ");
jLabel3.setText(" ");
this.setBackground(Color.white);
this.add(jPanel1, null);
jPanel1.add(PB_FUNDS_PROGRESS, BorderLayout.CENTER);
jPanel1.add(jPanel2, BorderLayout.SOUTH);
jPanel2.add(jLabel2, new GridBagConstraints(1, 0, 1, 1, 0.0, 0.0,
GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(5, 0, 5, 0), 0, 0));
jPanel2.add(jLabel1, new GridBagConstraints(2, 0, 1, 1, 0.0, 0.0,
GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(5, 150, 5, 5), 0, 0));
jPanel2.add(jLabel3, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0,
GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(6, 5, 4, 150), 0, 0));
jPanel1.add(jPanel3, BorderLayout.NORTH);
jPanel3.add(jLabel4, null);
propertiesFile = this.getCodeBase().getFile().replaceAll("%20", " ")+"funds.properties";
System.out.println("Properties file at " + propertiesFile);
values = new Properties();
try
values.load(new FileInputStream(propertiesFile));
fundsTarget = new Double( values.getProperty("TARGET", "100").toString() ).doubleValue();
fundsRaised = new Double( values.getProperty("RAISED", "50").toString() ).doubleValue();
System.out.println("target: " + fundsTarget + " raised: " + fundsRaised);
catch (IOException ioe)
System.err.println(ioe.getMessage());
percentComplete = (fundsRaised/fundsTarget)*100;
System.out.println(percentComplete);
//Start the applet
public void start()
PB_FUNDS_PROGRESS.setMaximum(new Double(fundsTarget).intValue());
PB_FUNDS_PROGRESS.setMinimum(0);
repaint();
//Stop the applet
public void stop()
public void paint(Graphics g)
Graphics2D g2 = (Graphics2D)g;
PB_FUNDS_PROGRESS.setValue(new Double(fundsRaised).intValue());
String percent = Double.toString(percentComplete).substring(0, 4);
jLabel4.setText("Currently At " + percent + "%");
jLabel1.setText("100%");
jLabel2.setText("50%");
jLabel3.setText("0%");
//Destroy the applet
public void destroy()
public String getAppletInfo()
return "Funds progress applet by A really nice person";
} -
How to create a file under web application root from java program
how to create a file under web application root from java program like an action class?
like an action class?Huh? What exactly is your requirement?
Creating a file is usually done with java.io API. Read the java.io tutorials how to play with files. -
Do you know how to create Front Panel like Web,
Do you know how to create Front Panel like Web, I mean like we pointed the word and click it will do another process instead by clicking push button.
If possible, i can click the link in the table... Any idea anyone
Solved!
Go to Solution.Hi ezam,
can you define more clearly exactly what you would actually like to do, and ill have a further look into it. I think smercurio_fc has understood it as I have, and is right with the activeX.
any way, give a shout back with exactly what you want to do and we see what we can do,
Richard
Richard S
Applications Engineer
Certified LabVIEW Associate Developer
National Instruments UK&Ireland -
How-to create dependent list boxes in a table -Frank Sample
hi everyone i would like to ask a suggestion about Frank's example on How-to create dependent list boxes in a table -Frank Sample ...
i want to extend this example for 3 dependent lists... including locations, departaments and employes....
this the ListboxBean java that Frank is using in his example.... and this is only for locations and departaments tables and it works ok... i want to add the third list for employers wich is dependent only from departaments list.... as i am not good in java i would like to ask u a suggestion on how to develop the third list in this java class ...
public class ListboxBean {
private SelectItem[] locationsSelectItems = null;
private SelectItem[] departmentsSelectItems = null;
public SelectItem[] getLocationsSelectItems() {
if (locationsSelectItems == null){
FacesContext fctx = FacesContext.getCurrentInstance();
ValueBinding vbinding = fctx.getApplication().createValueBinding("#{bindings.LocationsView1Iterator}");
DCIteratorBinding locationsIterBinding = (DCIteratorBinding) vbinding.getValue(fctx);
locationsIterBinding.executeQuery();
Row[] locRowsArray = locationsIterBinding.getAllRowsInRange();
// define select items
locationsSelectItems = new SelectItem[locRowsArray.length];
for (int indx = 0; indx < locRowsArray.length; indx++) {
SelectItem addItem = new SelectItem();
addItem.setLabel((String)locRowsArray[indx].getAttribute("City"));
addItem.setValue(locRowsArray[indx].getAttribute("LocationId"));
locationsSelectItems[indx] = addItem;
return locationsSelectItems;
return locationsSelectItems;
public SelectItem[] getDepartmentsSelectItems() {
FacesContext fctx = FacesContext.getCurrentInstance();
ValueBinding vbinding = fctx.getApplication().createValueBinding("#{row}");
JUCtrlValueBindingRef rwJUCtrlValueBinding = (JUCtrlValueBindingRef) vbinding.getValue(fctx);
Row rw = rwJUCtrlValueBinding.getRow();
if (rw.getAttribute(6) != null){
OperationBinding oBinding = (OperationBinding) fctx.getApplication().createValueBinding("#{bindings.ExecuteWithParams}").getValue(fctx);
oBinding.getParamsMap().put("locId",rw.getAttribute(6).toString());
oBinding.execute();
ValueBinding vbinding2 = fctx.getApplication().createValueBinding("#{bindings.DepartmentsView2Iterator}");
DCIteratorBinding departmentsIterBinding = (DCIteratorBinding) vbinding2.getValue(fctx);
departmentsIterBinding.executeQuery();
Row[] depRowsArray = departmentsIterBinding.getAllRowsInRange();
// define select items
departmentsSelectItems = new SelectItem[depRowsArray.length];
for (int indx = 0; indx < depRowsArray.length; indx++) {
SelectItem addItem = new SelectItem();
addItem.setLabel((String)depRowsArray[indx].getAttribute("DepartmentName"));
addItem.setValue(depRowsArray[indx].getAttribute("DepartmentId"));
departmentsSelectItems[indx] = addItem;
return departmentsSelectItems;
public void setLocationsSelectItems(SelectItem[] locationsSelectItems) {
this.locationsSelectItems = locationsSelectItems;
public void setDepartmentsSelectItems(SelectItem[] departmentsSelectItems) {
this.departmentsSelectItems = departmentsSelectItems;
Thanks in advance :0Hi,
I think that all you need to do is to look at how I implemented the dependent detail for querying the Employees select items
Then you make sure the DepartmentsVO and the EmployeesVO have bind variable to query them according to the pre-selected value in their respective master list
Frank
Maybe you are looking for
-
Regarding patches for HR module in ECC 6.00
Hi ALL, SAP has released some (Patches or Notes) related to hr module in ECC 6.0 these patches are related to Professional Tax and ETDS . if anybody has any information regarding please reply ITS URGENT THANKS IN ADVANCE
-
Hi, I am working on inbound processing of idocs. The issue is to post production confirmations into SAP using idocs sent by the middleware. I have to create a custom idoc for this purpose. I know the steps for creating a custom idoc type and message
-
Is possible to Inherit LDAP language in WAS?
Hello, I want to know if it is possible to inherit the language that I have in the LDAP to the WAS user? I see that it's an independent parameter but it causes a lot of trouble and double maintenance with tools as BPM (notifications) and Portal. Or i
-
when i go to attach a photo to email or load it to facebook it will not display any photos from my iphoto library and only allows me load ones that are in photo booth or saved on the desktop. Any ideas what is wrong?
-
Hi expert's I have DSO1 & DSO2. DSO1 contains 6 years of data, I need to transfer only 3 yrs of data to DSO2 and delta records should be updated. I am using DTP to load data between these 2 DSO's. (I am new to BI ) I tried by loading one full load wi