Blog / Category

OAF

33 articles in this category

OAF

Display the multiple errors in OAF

import com.sun.java.util.collections.ArrayList; import oracle.apps.fnd.framework.OAException; import oracle.apps.fnd.common.MessageToken; ArrayList errorMsg= ne…

Brahmaiah kolla 1 min read
OAF

How to change the column header dynamically in advance table.

To change the column of a header dynamically use the following code in your controller. import oracle.apps.fnd.framework.webui.beans.table.OAAdvancedTableBean;…

Brahmaiah kolla 1 min read
OAF

How to write DDL statement in OAF

By using below script we can perform ddl statement in Application Module. public void OTCancel() { OnetimeVOImpl delvo = getOnetimeVO1(); Row row[] = delvo.getA…

Jilani Basha 1 min read
Invalid Column Type error in OAF
OAF

Invalid Column Type error in OAF

This error occurred in OAF when I added the new export button to table layout region. For this error just right click on our VO (View Object) and select Edit. T…

Jilani Basha 1 min read
EBS

How to disable field based on parameter value

By using following script we can get parameter value in page level. Based on value we can set rendered property for the fields as follows: public void processRe…

Jilani Basha 1 min read
OAF

OAF Error – Unable to set binding parameter that does not exist

Introduction: This blog discusses on one of the causes for the issue “Unable to set binding parameter that does not exist ” Cause of the Issue: In OAF , our eBS…

Nirmala Venkatasubramanian 1 min read
How to add Jar files to JDeveloper
EBS

How to add Jar files to JDeveloper

In this post we are going to discuss how to add jar files to JDeveloper. First we need to download required jar file, after that you need to follow the below st…

Jilani Basha 1 min read
OAF

Message Component Layout in OAF

If we have an requirement to fix the number of the Columns displays for a single row in in the OAF region then we can use Message component layout. In this layo…

Jilani Basha 1 min read
OAF

VO Extension Error — Attribute set for comments in View Object VO failed

Once we did VO Extension & migrated those files into server. Post that we may face this type of error Attribute set for comments in View Object VO failed. Solut…

Jilani Basha 1 min read
Oracle Application Blog

OAF Date Converter, Formatter and Validation – Reusable Methods

Various Date Converter, Formatter and Validations Reusable Methods in OAF /**=============================================== * Methods related to Date Operation…

Karthick Karamchandar 1 min read
OAF

How to call Workflow from OAF

We can call Workflow in 2 ways from the OAF 1) Using PL SQL Procedure, call procedure from OAF page using callable statement. CREATE OR REPLACE PROCEDURE start_…

Brahmaiah kolla 1 min read
EBS Technical

How to raise bundle exception in OAF

If we want to display multiple error messages in OAF page. We need to use the code as follows: arraylist errmsg = new ArrayList(); if(pageContext.getParameter(“…

Jilani Basha 1 min read
OAF

How to display the columns based on select query dynamically

package xxdynmcdata.oracle.apps.pos.project.webu; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.s…

Brahmaiah kolla 1 min read
OAF

How to Convert to Base64formate

package XXBlob.oracle.apps.pos.xxit.webui; import java.io.File; import java.io.FileOutputStream; import java.io.InputStream; import oracle.apps.fnd.common.Versi…

Brahmaiah kolla 1 min read
OAF

How to Call Prepared Statement in OAF

import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; try { Connection conn = pageContext.getApplicationModule(webBean).getO…

Brahmaiah kolla 1 min read
OAF

How to call external URL from OAF

public void processRequest(OAPageContext pageContext, OAWebBean webBean) { super.processRequest(pageContext, webBean); String ExternalUrl = pageContext.getParam…

Brahmaiah kolla 1 min read
OAF

How to assign Database sequence to VO

Assign DB sequence value to VO OAViewObject ASNvo = (OAViewObject)findViewObject(“XXASNDetailsVO”); OARow row = (OARow)ASNvo.first(); row.setAttribute(“ASNId”,…

Brahmaiah kolla 1 min read
Oracle Application Blog

Special characters validation

For any field if you want throw any exception when entered any special characters. We need to use following pattern to find. Pattern p = Pattern.compile(“[^a-zA…

Jilani Basha 1 min read
Oracle Application Blog

500 Internal error in OAF

Once any environment get refreshed in EBS, a new dbc file will be generated. Some times we will receive 500 internal error. To over come this we need to replace…

Jilani Basha 1 min read
OAF

Calling External URL in new Tab

When we calling any external URL from OAF page, we need to add destination URI as below. So URL will open in new tab with same browser. javascript:var a = windo…

Jilani Basha 1 min read
Oracle Application Blog

Displaying Number of characters entered in text field

In OAF page, if user want to know how many characters entered in message text input field. Below is the code we need to use in process request.   String cu…

Jilani Basha 1 min read
OAF

Customall.jar file for OAF

After deploy the code to server we need to generate “customall.jar” file from $JAVA_TOP by using “adcgnjar customall.jar” from the R12.2

Brahmaiah kolla 1 min read
OAF

Adding new row at bottom of the where have clicked Through OAF

public void processFormRequest(OAPageContext pageContext, OAWebBean webBean) { super.processFormRequest(pageContext, webBean); OAApplicationModule am=(OAApplica…

Brahmaiah kolla 1 min read
OAF

Deleting Lines based on conditions through OAF

if (“DeleteEvent”.equals(oapagecontext.getParameter(“event”))) { String rowReference = oapagecontext.getParameter(EVENT_SOURCE_ROW_REFERENCE); OARow currRow = (…

Brahmaiah kolla 1 min read
OAF

Calling Concurrent Program in OAF

public void submitRequestPKS(OAPageContext oapagecontext, OAWebBean oawebbean, String s, String s1) { OAApplicationModule oaapplicationmodule = oapagecontext.ge…

Brahmaiah kolla 1 min read
OAF

Invoice Details by using Netting tables

SELECT AI .INVOICE_ID, AI.INVOICE_NUM, TO_CHAR ( AI.INVOICE_AMOUNT + (SELECT NVL (SUM (amount), 0) FROM ap_invoice_lines_All WHERE invoice_id = AI.INVOICE_ID AN…

Brahmaiah kolla 1 min read
OAF

Delete Empty Customization

Same Page is working for one user and is not working for another user. In this case sometimes due to some empty customization this issue will occur. You can run…

Jilani Basha 1 min read
OAF

OAF Personalization for IFSC Code in Supplier Screen

Below is the document you can download for IFSC Code. oaf-pesonalization-for-ifsc-code-in-supplier-screen 

Jilani Basha 1 min read
OAF

Finding Source Code for Java Class Files

JAD is one of the tool for getting source code the java classes.

Jilani Basha 1 min read
EBS Technical

How to find out correct version of Jdeveloper

You can find correct jdeveloper version using following link. https://support.oracle.com/portal/ Search as Jdev with OA Extension.  

Jilani Basha 1 min read
EBS Technical

OAMessageChoiceBean

Based on the condition we need to disable message choice in CO. OAMessageChoiceBean DispButtonValue = (OAMessageChoiceBean)webBean.findChildRecursive(“Dispositi…

Jilani Basha 1 min read
EBS Technical

JPX Import Error

When we do import, sometimes we are facing error as Exception in thread “main” java.lang.NoClassDefFoundError: Then you need to change jpximport.bat and import.…

Jilani Basha 1 min read
iExpenses – change the lable name in template
Oracle Application Blog

iExpenses – change the lable name in template

From Sysadmin Responsibility: 1.       Navigate to the Functional Administrator responsibility à Personalization. 2.  &n…

Doyensys 1 min read