APP-FND-01444 additional columns in "validation table information"
I have the following ERROR, when add additional columns in validation table information.
Table Name: “oe_order_headers_all oea, HZ_CUST_ACCOUNTS hca, hz_parties hp”
Table Columns:
Name
Type
Size
Value
OEA.ORDER_NUMBER
Number
10
Meaning
ID
OEA.HEADER_ID
Number
10
Where/Order By: OEA.SOLD_TO_ORG_ID = HCA.CUST_ACCOUNT_ID
AND HCA.PARTY_ID = HP.PARTY_ID
AND OEA.FLOW_STATUS_CODE= 'BOOKED'
Aditional Columns: HP.PARTY_NAME"Customer"(50)
the problem was the following space were not there.
Aditional Columns: HP.PARTY_NAME "Customer" (50)
before and after "Customer" there were no space. so we need spaces before and after the column name.
Similar Messages
-
Hi,
The requirement is to limit the results of a query of a search page(iprocurement --> Requisitions)by adding a hard coded condition to a where clause(CREATED_BY LIKE ('%LUMWANA%')).
The limitation,I have is that I am allowed to extend only the controller.So I can not write a service method in application module and append to the where clause.
The OAF developer's guide suggests that the only import from model I can have in controller is OAApplicationModule.
Imports like import oracle.apps.fnd.framework.OAViewObject; are not valid.
So I can not get the ViewObject in the controller and add new viewcriteria to it.
What are the options that I have with this requirement.Are there any options to get the default view criteria from OAQueryBean and add additional criteria rows to it on page load/On press of GO button in the controller itself.hi,
In your Controller try the below:
import oracle.apps.fnd.framework.OAViewObject;
OAApplicationModule am = (OAApplicationModule)pageContext.getApplicationModule(webBean);
//String s1 = (String)oapagecontext.getTransactionValue("VoName"); ---you can try it if the below one will not work
OAViewObject cusVO= (OAViewObject)am.findViewObject(VOName);
cusVO.setWhereClause(null);
cusVO.setWhereClauseParams(null);
cusVO.setWhereClause("REQUISITION_HEADER_ID = :1");
cusVO.setWhereClauseParam(0, reqNum);
cusVO.setMaxFetchSize(-1);
cusVO.executeQuery();
For more info, refer the below link:
https://forums.oracle.com/thread/620451?start=0&tstart=0
Regards
Mahesh -
Additional Columns field in Table Valueset
Hi all,
I would like to display all fields of a table using a valueset.I tried with giving additional columns names of that table at specified column while creating table valueset.But these additional fields are not shown when i select that Valueset that is attached to a parameter for a report.What i need to do inorder to display additional colums of a table using a valueset?
Thanks & Regards
BinuFirst test the feasibility that the enhancement can be done or not.
For finiding the exists in the program :
1> find the program name of the tcode under the status button.
[hope you can do tht]
2> go to table modsap
3> execute it .in the member give <programname> and then execute
4> it will give you the userexits if any .
in the form
endform
you can write your own code.
Else you can go for badi also.
1>go to se24
2>give the class name - CL_EXITHANDLER
3>in the methods go to get_instance
4>create a breakpoint in the first call method
5>then run your transaction /nMIR7.
6>it would stop .find the badi's.
7>if you get any as per your requirement ,work upon it .
Friend i am not working anywhere , i am just learning sap-abap.this is what i knew regarding enhancements . -
Additional column for output table
Hi,
I have created an ABAP function wherein I am reading table to output in a table. Code as follows
SELECT * FROM <source_table>
INTO CORRESPONDING FIELDS OF TABLE <t_output_table>
WHERE <conditions>
Import tab has two import parameters.
Export tab has none.
Changing has none.
Table tab has
PARAMETER NAME as t_output_table,
TYPING as LIKE,
ASSOCIATED TYPE as source table
What I want to do next is to add another field to the output which will be substring of one of the field of source table. For example if FieldA of source table has value "abcdefgh", I want to return "defgh" as additional column of the output table.
Appreciate any help !!
IMSHi,
You would need to create a structure that includes your extra column. Use this structure as the reference in your tables tab.
Now when you have selected the data in the table.
loop at the table.
populate the new column according to your logic.
Modify the new column.
endloop.
Hope this solves the problem.
Regards,
Anju -
Add additional column in existing table
Hello guys,
I need to add new columns to the existing table, but when I'm trying to add, nothing happens. Checked table itself and all Rows and Column fields are read-only. Can't see any property which indicates this locking behavior. I'm using ES2 LC.
Thanks,
UldisYou can use an APPEND function.
Append Structures (SAP Library - Tables) -
Can you have a calculated column in a table not a view?
We have a table which contains a series of rows
Key Effective Date Value
1 10/Feb/2006 123
1 23/Oct/2006 456
...We have a requirement to store an indicator that tells us which row is the most current and what the end date of the preceding row was so that we get something along the lines of:
Key Effective Date Value Status End Date
1 10/Feb/2006 123 HISTORY 22/Oct/2006
1 23/Oct/2006 456 CURRENT NULL
...I can produce this result quite easily using the analytic function LEAD. My question is, is the answer to this problem to create a view over the table that includes the analytic function or is it possible to define a calculated column in a table that would populate/maintain this vale as part of a table definition?
And as I finish writing this I feel I've answered my own question but hey, there's no harm in asking how others have handled this kind of situation.
Cheers
RichardMy bias would be to create a view that did the calculation.
In theory, you could add those additional columns to a table and maintain the data via a set of triggers, but that would be substantially more complicated than the alternatives for little or no benefit.
A third option would be a materialized view. That might be easier to deal with if you want to have different indexing strategies for current and historical records or if the historical data is queried often enough and updated infrequently enough that it ends up being cheaper to do the calculation once during the update rather than every time the query is run.
A fourth option would be to use stored procedures to maintain the data and have that stored procedure expire the current row and add the new row.
Finally, you might consider version-enabling your table using Workspace Manager rather than writing your own code since Oracle has already written all this code for you.
Justin -
Hello everyone,
I have an instance which was cloned successfully through Rapid clone and after finishing the clone we refreshed the database using the hot backup we have (RMAN). Database is successfully cloned and opened but we are unable to login to the application through the jsp login and only able to login through the forms login (dev60cgi/f60cgi).
Each time we try to login throught the jsp page we face this error message prior to launching the java applet:
==========================================================
APP-FND-01931: Your session is no longer valid or your logon information could not be reestablished from your session.
==========================================================
Does anuone know the reason behind this error message?
I searched the Metalink and I'm openeing a SR with Oracle but with no luck till now! :-(
thanks
MarwanMarwan,
Better check with the DBA. It looks like some setup issue. Apache log will provide more details.
--Shiv -
APP-FND-02900: Validation failed for Subfunction function type
Hi,
I am new to registering a custom form in E-biz 11.5.10. I am getting the below error when registering a new custom form in E-biz 11.5.10
1. Created the .fmb and moved to TOP and created the .fmx file
2. Create the form in the Applicatin Developer resp. Application -> form
*3. For creation of new function in Function --> Description entered the details and then in the form tab after enter details, I am getting the below error message when selecting SAVEbutton*
APP-FND-02900: Validation failed for Subfunction function type. Form should not contain value.
Best Regards,
Mahesh.user8564931 wrote:
Hi,
I am new to registering a custom form in E-biz 11.5.10. I am getting the below error when registering a new custom form in E-biz 11.5.10
1. Created the .fmb and moved to TOP and created the .fmx file
2. Create the form in the Applicatin Developer resp. Application -> form
*3. For creation of new function in Function --> Description entered the details and then in the form tab after enter details, I am getting the below error message when selecting SAVEbutton*
APP-FND-02900: Validation failed for Subfunction function type. Form should not contain value.
Best Regards,
Mahesh.Please do not post duplicates -- APP-FND-02900: Unable to Create New cusom Form function in E-biz 11.5.10 -
Order of precedence for validation of a column in a table ?
Can anybody tell me order of precedence for validation of a column in a table
Which one will get executed first ?
Integrity constraint or Database trigger.Why cant you test it..?
SQL> create table test_1
2 (c1 number references emp);
Table created.
SQL> create or replace trigger trig_1
2 before insert on test_1
3 for each row
4 begin
5 if :new.c1 < 1 then
6 raise_application_error(-20000,'Invalid value');
7 end if;
8 end;
9 /
Trigger created.
SQL> insert into test_1
2 values(0);
insert into test_1
ERROR at line 1:
ORA-20000: Invalid value
ORA-06512: at "SCOTT.TRIG_1", line 3
ORA-04088: error during execution of trigger 'SCOTT.TRIG_1'
SQL> create or replace trigger trig_1
2 after insert on test_1
3 for each row
4 begin
5 if :new.c1 < 1 then
6 raise_application_error(-20000,'Invalid value');
7 end if;
8 end;
9 /
Trigger created.
SQL> insert into test_1
2 values(0);
insert into test_1
ERROR at line 1:
ORA-20000: Invalid value
ORA-06512: at "SCOTT.TRIG_1", line 3
ORA-04088: error during execution of trigger 'SCOTT.TRIG_1'
SQL> drop trigger trig_1;
Trigger dropped.
SQL> insert into test_1
2 values(0);
insert into test_1
ERROR at line 1:
ORA-02291: integrity constraint (SCOTT.SYS_C005925) violated - parent key not
found -
Addition of a custom column in a table view
Hi all,
I want to add a custom column in a table view. Kindly tell me if this is possible.
Regards,
Vivek PandeyHi Vivek,
This can definately be done....you will have to declare and iterator and in the GET_COLUMN_DEFINITIONS, declare the column name....
Referr to blogs :
<a href="/people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator Basics</a>
and
<a href="/people/thomas.jung3/blog/2004/09/15/bsp-150-a-developer146s-journal-part-xi--table-view-iterators Iterator.</a>
The second blog shows how to insert a icon, which is an extra column...
Hope this helps.
<b><i>Do reward each useful answer..!</i></b>
Thanks,
Tatvagna. -
Multiple row selection in ADF Table using addition column with checkbox
I am using ADF table(Jdeveloper11g) and i want to selecte multiple rows it may be more than one OR all rows.
For that i added one Column to the table with Header Delete and checkbox
<af:table....
<af:column sortProperty="Delete" headerText="Delete" width="100"
sortable="false">
<af:selectBooleanCheckbox label="#{row.favoriteId}"
valueChangeListener="#{Mybean.onCheck}"
id="checkbox" autoSubmit="true">
</af:selectBooleanCheckbox>
</af:column>
</af:table>
backing bean:Here i added code to get Value of one column with id favoriteId and use an arrayList(listForDelete) to monitor the state of the checkboxes
public void onCheck(ValueChangeEvent valueChangeEvent) {
BindingContainer bindings = getBindings();
DCBindingContainer dcBindings =
(DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
DCIteratorBinding iterBind =
(DCIteratorBinding)bindings.get("getUserFavoritesByUserIDIterator");
if (iterBind != null && iterBind.getCurrentRow() != null) {
RichSelectBooleanCheckbox ch = (RichSelectBooleanCheckbox)valueChangeEvent.getSource();
if (!ch.isSelected()) {
Long issueId = (Long)iterBind.getCurrentRow().getAttribute("favoriteId");
listForDelete.add(issueId);
else
Long issueId = (Long)iterBind.getCurrentRow().getAttribute("favoriteId");
listForDelete.remove(issueId);
Problem is that when i select single row checkBox, onCheck() method of backing bean gets called multiple times(equals to the number of rows)
I think this is beacuse of <af:selectBooleanCheckbox id is same that is "checkbox" but i am not sure.Even i tried to assign some unique id but no any success in assigning Id with value Expression.
I also find related post
Re: ADF Table Multiple row selection by Managed Bean
but that is related to Select All rows or Deselect all rows from table.
From the simillar post i follow the steps given by Frank.but problem with below step
->have an af:clientAttribute assigned to the checkbox with the following EL #{row.key} ,here I added <af:clientAttribute name="#{row.key}"></af:clientAttribute> and i am getting error
Error(64,37): Static attribute must be a String literal, its illegal to specify an expression.
Please let me know if any one had already implemented same test case.
Thanks for all help
Jaydeep
Edited by: JaydeepJ on Aug 7, 2009 4:42 AMjust to update after the rollback is called in the cancel button i wrote following code which does not change the row focus to the first row
DCBindingContainer bc =
(DCBindingContainer)BindingUtils.getBindingContext().getCurrentBindingsEntry();
DCIteratorBinding profItr =
bc.findIteratorBinding("ProfileSearchInstIterator");
Row cRow = profItr.getRowAtRangeIndex(0);
if(cRow != null){
System.out.println("Current row is not null so fixed ");
profItr.setCurrentRowIndexInRange(0);
RowKeySetImpl rks = new RowKeySetImpl();
ArrayList keyList = new ArrayList();
keyList.add(cRow.getKey());
rks.add(keyList);
profileTable.setSelectedRowKeys(rks);
AdfFacesContext.getCurrentInstance().addPartialTarget(profileTable);
} -
Hi
as per my requirement,
i hav added Switcher region(ViewSwitcher) to the table, in that i hav created one button(Certificate).
and added this query to VO-
decode(nvl(to_char(Status), 'Completed'), 'N','ViewDisabled',
'ViewEnabled') AS VIEW_SWITCHER
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
OAApplicationModule am = pageContext.getApplicationModule(webBean);
am.invokeMethod("initializeSimpleVO4PageLoad");
OATableBean table = (OATableBean)webBean;
table.prepareForRendering(pageContext);
DataObjectList columnFormats = table.getColumnFormats();
DictionaryData columnFormat = null;
int childIndex = pageContext.findChildIndex(table, "ViewSwitcher");
columnFormat =(DictionaryData)columnFormats.getItem(childIndex);
columnFormat.put(COLUMN_DATA_FORMAT_KEY, ICON_BUTTON_FORMAT);
but i got below run time error:oracle.apps.fnd.framework.OAException: java.lang.ClassCastException
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:603)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2336)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1735)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
at OA.jspService(OA.jsp:33)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
at OA.jspService(OA.jsp:38)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
java.lang.ClassCastException
at Enrollment.oracle.apps.po.hello.server.webui.EmptyTableCO.processRequest(EmptyTableCO.java:51)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2336)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1735)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
at OA.jspService(OA.jsp:33)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
at OA.jspService(OA.jsp:38)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
java.lang.ClassCastException
at Enrollment.oracle.apps.po.hello.server.webui.EmptyTableCO.processRequest(EmptyTableCO.java:51)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2336)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1735)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
at OA.jspService(OA.jsp:33)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
at OA.jspService(OA.jsp:38)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)lineno-51:OATableBean table = (OATableBean)webBean
i hav replaced this line by:OATableBean table = (OATableBean)webBean.findChildRecursive("resultTable");
now no error, but i am not getting button item into the column(View), instead i got blank col.
and i want to display all the records of columns EMP_ID,EMP_AME,COURSE_NAME,STATUS, ENROLLMENT_DATE,COMPLETION_DATE,
from database once i run, can u help me to do this?
i want to add an additional column(View) into existing table, but the condition is
if Status(one of the column name of table) has value "completed" then View column should display value "CertificateButton"
so based on my requirement i hav added Switcher region, and one button to the existing table.
and added this query in VO-select EMP_ID,EMP_AME,COURSE_NAME,STATUS, ENROLLMENT_DATE,COMPLETION_DATE,
decode(nvl(to_char(STATUS), 'Completed'), 'Y','CertificateEnabled') AS VIEW_SWITCHER from emp_dummy
CertificateEnabled-Id of switcher region
VIEW_SWITCHER-buttonId
i hope u got my requirement..
i want to display all the records of columns EMP_ID,EMP_AME,COURSE_NAME,STATUS, ENROLLMENT_DATE,COMPLETION_DATE,
from database, so i hav written this below code:
processRequest:
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
OAApplicationModule am = pageContext.getApplicationModule(webBean);
am.invokeMethod("initializeSimpleVO4PageLoad");
/* OATableBean table = (OATableBean)webBean;*/
OATableBean table = (OATableBean)webBean.findChildRecursive("resultTable");
table.prepareForRendering(pageContext);
DataObjectList columnFormats = table.getColumnFormats();
DictionaryData columnFormat = null;
int childIndex = pageContext.findChildIndex(table, "ViewSwitcher");
columnFormat =(DictionaryData)columnFormats.getItem(childIndex);
columnFormat.put(COLUMN_DATA_FORMAT_KEY, ICON_BUTTON_FORMAT);
processFormRequest:
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
OAApplicationModule am1 = pageContext.getApplicationModule(webBean) ;
am1.invokeMethod("saveDataToSimpleTable") ;
if("Status1".equals(pageContext.getParameter(EVENT_PARAM))){
am1.invokeMethod("statusHandle");
AM:
public class EnrollmentAMImpl extends OAApplicationModuleImpl
public void initializeSimpleVO4PageLoad()
OAViewObject vo = (OAViewObject)getCourseEnrollmentVO1();
if (!vo.isPreparedForExecution())
vo.executeQuery();
vo.next();
Row row = vo.createRow();
vo.insertRow(row);
vo.next();
row.setNewRowState(Row.STATUS_INITIALIZED);
please help me.........
Edited by: 945985 on Aug 17, 2012 4:45 AM -
APP-FND-01050: This flexfield cannot be opened because it has no displayed
Hi,
I am new to Oracle EBS R12.I created a profile and assiged "Indian HRMS Manager"
when i try to select Respnsibilities->work structure:Grade->Description
I got the Error
APP-FND-01050: This flexfield cannot be opened because it has no displayed segments. Please contact your system administrator.
Modify your flexfield definition to display one or more segments.
This may also be caused by incorrect use of the DISPLAY= token to the flexfield user exits in the form. In that case, please contact your support representative.
APP-FND-00730: This flexfield has an invalid value set. It may use a special value set that uses an Edit event user exit,
and the user exit has failed. If you are using a form on a graphical user interface (GUI) you may have an invalid value set
of a different type, possibly a table-validated value set where the table or view does not exist or
where there is an invalid WHERE clause.
Contact your system administrator or support representative to check and correct the value sets this flexfield uses.
how to solve this error................Go to system administrator, choose define Key Flex field window. Query for the Grade KFF structure used for your business group. Check how many segments you have defined for it. Also check if at least one of them is enabled and displayed.
This would make it clear why you are getting the error. Correct it by creating/enabling/displaying at least one segment. That's it !! -
How to insert message style text columns in database tables
Hi All,
i have two pages.
in first page segment1 lov is their.once u select the segment1 and click on the create button its navigate to next page.
and display the releted segment1 details(these columns are message text input fields but read only columns).
plz help me those columns are insert into database tables.
its very urgent
Thanks
Latha.Hi Anil,
plz help me still i am faceing the problem
so plz help me because i dont know java.
i wrote below code and i got the below error.
if(pageContext.getParameter("Submit")!=null)
String projnumber=pageContext.getParameter("ProjectNO");
//String projectnumber=pageContext.getParameter("Projectnumber");
String oldoperationid=pageContext.getParameter("EmployeeNumber");
String newManagerName=pageContext.getParameter("NewManagerName");
String ProjectID=pageContext.getParameter("ProjectID");
String OldOperationName=pageContext.getParameter("OperationsManager");
String OldOperationID=pageContext.getParameter("OldOperationID");
OAMessageTextInputBean projnumberbean =webBean.findIndexedChildRecursive("ProjectNO");
String projnumber=null;
if(bean!=null)
projnumber = (String)projnumberbean.getValue(pageContext);
Serializable[] params = {projnumber,oldoperationid,newManagerName,ProjectID,OldOperationName,OldOperationID};
am.invokeMethod("xxinsertpagelogic",params);
and i wrote import also.
import oracle.apps.fnd.framework.webui.beans.message.OAMessageTextInputBean;
my errors are
Error(64,78): incompatible types; found: oracle.apps.fnd.framework.webui.beans.OAWebBean, required: oracle.apps.fnd.framework.webui.beans.message.OAMessageTextInputBean
Error(65,13): duplicate definition of variable projnumber in method processFormRequest(oracle.apps.fnd.framework.webui.OAPageContext, oracle.apps.fnd.framework.webui.beans.OAWebBean)
Error(66,9): variable bean not found in class wnsgs.oracle.apps.pa.projectinfo.webui.ProjectInfoCreateCO
plz help me.
its very urgent
Thanks
Edited by: Latha on Jan 4, 2012 9:57 PM
Edited by: Latha on Jan 4, 2012 10:00 PM -
Hi Friends,
For the first time developed a OAF Page and deployed in Apps Instance .
I followed following steps
Development Steps:
1. Created a New OA Component Page @ Default Package oracle.apps.ak.BGHello.webui
Physcial Location at my PC C:\BG\JDeveloper\JDev_Home11i\myprojects\oracle\apps\ak\BGHello\webui\BGHelloworld.xml
2. A Controller is attached Main Region of the above Page ie. BGHelloWorldMainCO.java (Same as that of Document Guide HelloWorld Example)
3. Build the Project and Run the Page
It Runs Successfull Without any Error
Deployment
1. Migrated BGHelloworldPG.xml to $JAVA_TOP/oracle/apps/BGHello\webui\BGHelloworld.xml Via WINSCP in Text/ASCII Transfer Type
2. Migrated BGHelloWorldCO.class (From Myclass directory) to $JAVA_TOP/oracle/apps/BGHello\webui\BGHelloWorldCO.class Via WINSCP in Binary Transfer Type
3.Imported Page and Its Components via import batch from windows command prompt (i.e C:\BG\JDeveloper\11iRUP6\jdevbin\jdev\bin)
import C:\BG\JDeveloper\JDev_Home11i\myprojects\oracle\apps\ak\BGHello\webui\BGHelloworldPG.xml -username apps -password apps -rootdir C:\BG\JDeveloper\JDev_Home11i\myprojects\ -dbconnection "(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.1.33)(PORT=1536))(CONNECT_DATA=(SID=TEST)))" -rootPackage /d03/oracle/prodcomn/java/oracle/apps/ak/BGHello/webui
Above completed without Error.
and JDR_% tables are updated with Page Components
4. Created a AOL Function BG_TOOLBOX_HELLO and Attached to OA Toolbox Menu "OA Framework ToolBox HelloWorld"
Type: SSWA jsp function
HTML Call: OA.jsp?page=/oracle/apps/ak/BGHello/webui/BGHelloWorldPG
5.Bounce the Apache Web Server
adapcctl.sh stop apps/apps
adapcctl.sh start apps/apps
6. Login and Try to open newly created Page
It Opens with Error
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_NO_REGION_DATA. Tokens: REGIONCODE = /oracle/apps/ak/BGHello/webui/BGHelloWorldPG;
Exception:
oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = /oracle/apps/ak/BGHello/webui/BGHelloWorldPG, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
Exception:
oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = /oracle/apps/ak/BGHello/webui/BGHelloWorldPG, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
Thanks in Advance,
Please let me if am missing any steps or following incorrect steps
Regards,
Basavana GowdaSeems an issue with your import command
import C:\BG\JDeveloper\JDev_Home11i\myprojects\oracle\apps\ak\BGHello\webui\BGHelloworldPG.xml -username apps -password apps -rootdir C:\BG\JDeveloper\JDev_Home11i\myprojects\ -dbconnection "(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.1.33)(PORT=1536))(CONNECT_DATA=(SID=TEST)))" -rootPackage /d03/oracle/prodcomn/java/oracle/apps/ak/BGHello/webuiIn the rootPackage there is no need to give /d03/oracle/prodcomn/java .As it will automatically take the $JAVA_TOP.Try this
import C:\BG\JDeveloper\JDev_Home11i\myprojects\oracle\apps\ak\BGHello\webui\BGHelloworldPG.xml -username apps -password apps -rootdir C:\BG\JDeveloper\JDev_Home11i\myprojects\ -dbconnection "(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.1.33)(PORT=1536))(CONNECT_DATA=(SID=TEST)))" -rootPackage /oracle/apps/ak/BGHello/webuiHope it helps!!!
Thanks
AJ
Maybe you are looking for
-
Compatibility of epson scanner w/ intel imac
I have 2 new intel imacs, as well as a G4 imac. I'm trying to connect my new Epson scanner (Perfection 4990 Photo). When installing the software, it is looking for a classic environment. The online drivers from Epson's website seem to be for v10.4.4,
-
How to change the position of a notation from treble to bass clef?
hi there, i am trying to print out a score from GB '08 that looks more like a piano score (with red hand notes on the treble clef and left hand notes on the bass clef) but can't seem to find a way to do it. can anyone help? thanks!
-
I clicked on an upgrade box on my ipad and when the upgrade was done my ipad wanted my passcode to open it back up. I have not had to use a passcode to open up my ipad since I set it up and cannot remember the passcode. Every time I try a passcode
-
Serving a file I'm having trouble serving a PDF file from a server to the user. I've used iText to generate a PDF file (by completing an AcroForm with info from a database) which now resides on an absolute path. I've used BalusC's tutorial for filese
-
Iphoto doesn't see camera under different logins
iphoto recognizes my new Nikon camera when I am logged in (administrator) but does not see the camera when one of my kids is logged in. They can access and use iphoto and the usb sees the camera with system profiler when they are logged in, but i pho