How to enable the DFF in OAF page(where Dff is based on the custom table).

Hi Experts!!
I am in the process of enabling the dff in OAF page. I am not able to enable the dff if am using the Custom table.
Ex:
Assume that my DFF XX_DFF is using the custom table XX_TABLE of att1,att2..
I am able to enable the dff in OAF page but not able to make those values entered to get stored in the custom table.
I need helping hands to help me out to get the entered dff values stored in my custom table.
Kindly provide me the steps so that I can follow up..
Best wishes,
Thiru.

Hi,
thiru_apps wrote:
I need to store the captured values of Dff(which was enabled in the seeded page based on the custom table XX_Table) and the same needs to be stored into the custom table xx_Table.
Basically the entered values for the DFF enabled should have to be get stored in the XX_TABLE(Custom TAble).As per my understands in Standard page u want create some extra fields and those should be save in custom table...is it ...
For that u r going create stack layout region in standard page via personalization and extend with custom region.
IF im geting u correctly u need to write code in co and am.
---U had already created the components eo vo AM co...
---For the custom region in Jdev do the mapping of viewInstacne and view attribute properties for the fields.
---In AM:
public void CreateVo(OAPageContext pageContext, OAWebBean webBean)
Row hrow;
OADBTransaction tr=getOADBTransaction();
EOVOImpl vo=getEOVO1();
if(!vo.isPreparedForExecution())
vo. executeQuery();
hrow=vo.createRow();
vo.insertRow(hrow);
hrow.setNewRowState(Row.STATUS_INITIALIZED);
public void savetr()
OADBTransaction tr=getOADBTransaction();
tr.commit();
In Co ProcessREq:
AMImpl AM=(AMImpl)pageContext.getApplicationModule(webBean);
AM.CreateVo(pageContext, webBean);
In Co ProcessFormREq:
---GEt the event of the save button of the standard page
if(pageContext.getParameter("save")!= null)---DI of the standard page
AM.savetr(pageContext, webBean);
Regards
Meher Irk

Similar Messages

  • How can we export the data from OAF Page to Excel instead of .csv or .txt

    Hello,
    How can we export the data from OAF Page to Excel instead of .csv or .txt
    When i click on the export button it is exporting to txt file, But i need to export the data into Excel by default
    Please help me
    Thanks in advance
    Thanks,
    Raju
    We have changed the below profile option to get the data in excel by default
    Profile Name Export MIME type
    Profile Code FND_EXPORT_MIME_TYPE+
    Existing Value: text/tab-separated-values+
    Change as: Excel
    Thank you,
    Raju
    Edited by: 1006649 on May 21, 2013 10:55 AM

    We have changed the below profile option to get the data in excel by default
    Profile Name Export MIME type
    Profile Code FND_EXPORT_MIME_TYPE+
    Existing Value: text/tab-separated-values+
    Change as: Excel
    Thank you,
    Raju

  • How to capture PLSQL package error and show the same in OAF Page.?

    Hi all,
    I am having the requirement to capture the error from a PL/SQL package and show the error in OAF page with meaning full error.
    Assume i am having the create and review page.
    The create page having the employeeLOV input field (non mandatory field).
    (i have the package which will check whether this LOV value is filled or not.. if not given then the user should be able to see a "understandable message.)
    to achieve the above scenario am following the below steps
    In my CO,
    with in try catch i called the am method which will invoke the XX_CUSTOM_PKG.
    so, from the catch it is giving me the message as shown below.
    try
    ((OAApplicationModule)localObject1).invokeMethod("insertData", personParam);--which will call the am method which in turn call the package.
    catch(Exception exception)
    throw new OAException("Review Error: "+ exception);
    Assume there are 2 possiblity of error inside this package one for Date field and another one for Employee field. we don't know which validation the user will encounter.
    For Employee field validation it is giving messag as below
    Review Error: oracle.apps.fnd.framework.OAException: Exception in insertData:java.sql.SQLException: ORA-20500: Employee field is required. ORA-06512: at "APPS.CUSTOM_UTIL_PKG", line 702 ORA-06512: at line 1
    for Date field as below.
    Review Error: oracle.apps.fnd.framework.OAException: Exception in insertData:java.sql.SQLException: ORA-20500: Date field should always greater than sysdate. ORA-06512: at "APPS.CUSTOM_UTIL_PKG", line 702 ORA-06512: at line 1
    But i need to display only the message "Employee field is required" or "Date field should always greater than sysdate" in the screen.. as information.
    Could you please help me to achive the above message? any sample code will be great help for me.
    Thanks,
    Thiru.
    Edited by: thiru_apps on Mar 13, 2012 11:13 AM

    try
    ((OAApplicationModule)localObject1).invokeMethod("insertData", personParam);--which will call the am method which in turn call the package.
    catch(Exception exception)
    //throw new OAException("Review Error: "+ exception);
    /*Try this code*/
    String exception = null;
    exception = exception.toString();
    if(exception.contains("Employee")){
    throw new OAException("Employee field is required");
    else if(exception.contains("Date")){
    throw new OAException("Date field should always greater than sysdate");
    else
    throw new OAException(exception.toString());
    I hope this might help
    Niranjana

  • Help Needed Regarding Creating a DFF in OAF page

    Hi ,
    I am trying to create DFF in OAF page but i could not able to create it.
    Here is the through explanation of the Requirement and Error.
    We have migrated recently from 11.5.10 - R12.1.2 in 11i we have the Buyers Form which is a Template.FMB and for that we have attached a DFF
    Name of DFF:PO_AGENTS Resp :PO Tittle Purchasing: Agents and attributes :attribute1 and Attribute2.
    My manager want that same DFF to appear in the OAF page of the Buyers.
    Navigation :Purchasing -> Setup -> Personal -> Buyers.
    I tried creating DFF as per the documents I found online and in the OAF Documentation guide but I am not able to create the DFF.I dont know where I am doing it wrong.
    Help would be highly appreciated.
    Please find the steps below what is given.
    Before you can add a descriptive flexfield to an OA Framework page, you must first setup the descriptive
    flexfield in Oracle Applications. To start, review Chapter 3 ("Planning and Defining Descriptive Flexfields") in
    the Oracle Applications Flexfields Guide Release 11i.
    When you have a clear plan for the descriptive flexfield you wish to set up, refer to the section titled
    "Implementing Descriptive Flexfields" in Chapter 14 ("Flexfields") of the Oracle Applications Developer's Guide
    Release 11i for instructions to the following general steps:
    Step 1: Define descriptive flexfield columns in your database.
    Step 2: Register your descriptive flexfield table with Oracle Application Object Library.
    Step 3: Register your descriptive flexfield using the Descriptive Flexfields Window.
    Next, refer to the Oracle Applications Flexfields Guide Release 11i for instructions to these general steps:
    Step 4: Define your value sets in the Value Sets Window, as described in Chapter 5 ("Values and Value
    Sets").
    Step 5: Define your descriptive flexfield structure using the Descriptive Flexfield Segments Window, as
    described in the "Descriptive Flexfield Segments Window" section of Chapter 3 ("Planning and Defining
    Descriptive Flexfields").
    Recall that the value of a descriptive flexfield context field determines the context of the descriptive flexfield
    and the context-sensitive segments (if any) that are displayed. The section titled "Context Fields and
    Reference Fields" in Chapter 3 ("Planning and Defining Descriptive Flexfields") discusses context fields in
    more detail.
    Note: Reference fields for descriptive flexfields are supported by Forms-based Oracle Applications, but not
    by OA Framework. A developer mode error occurs in JDeveloper if you try to implement this feature in OA
    Framework. Refer to the "Reference Fields" section of Chapter 3 ("Planning and Defining Descriptive
    Flexfields") in the Oracle Applications Flexfields Guide Release 11i for additional information about
    reference fields.
    Step 6: When you are ready to add the descriptive flexfield to an OA Framework page, follow the steps
    outlined in the Declarative Implementation and Runtime Control sections below.
    Declarative Implementation
    The following steps describe how to add a descriptive flexfield item to a OA Framework region:
    Step 1: Define an item of the item style flex in your region.
    Note: You cannot create a flex item directly under a messageComponentLayout region, but you can create a
    messageLayout region under the messageComponentLayout region and add the flex item under the
    messageLayout region.
    Step 2: Set the Read Only property to True or False, depending on whether you want the descriptive flexfield
    to be read only.
    304
    Step 3: Specify a View Instance for your flexfield. The view instance should be the same as the view instance
    (view object) specified for your region. When the view object is defined, it should include all the database
    columns necessary for this descriptive flexfield. You should not change the database column names for this
    flexfield because the OADescriptiveFlexBean uses the same naming convention that the view object
    generation routine uses to find the corresponding attribute names from your view object.
    Note: OA Framework supports multiple descriptive flexfields on the same view object.
    Note: If a flexfield's view object does not return a row, an OAException will not be thrown so that the
    controller's processRequest method can still execute and render the flexfield.
    Step 4: Set the Appl Short Name property to the short name of the application to which the descriptive flexfield
    is registered. (Step 3 of Setting Up a Descriptive Flexfield in Oracle Applications).
    Step 5: Set the Name property to the name of the descriptive flexfield as it was registered.
    Note: This differs from how Key Flexfields are defined by shorthand codes.
    Step 6: Set the Type property to descriptive.
    Step 7: Set the Segment List property as appropriate (see Descriptive Flexfield Segment List).
    Step 8: Finally, you may set the Display Context Field to True or False, depending on whether you want to
    hide or show the context for the descriptive flexfield.

    Hello all OAF GURUS,
    Here is the brief explanation of what I am doing Environment :R12.1.2
    I am creating an item type of FLEX and the values are
    Step 2) Set the Read Only property to True
    step 3 )View Instance : PoAgentsVO
    step 4) Application Short name :PO
    Step 5: Set the Name property - PO_AGENTS name of the DFF
    Step 6: Set the Type property to descriptive
    Step 7: Set the Segment List property as appropriate here I am giving as Attribute1||Attribute2
    Step 8: Finally, set the Display Context Field to True
    after doing all these I am not able to see the DFF i dont know where I am doing a mistake.
    Help would be highly appreciated.
    Thanks & Regards
    Krishna
    Edited by: user12156300 on Jan 29, 2010 7:55 AM

  • How to display PDF file in OAF page

    Hi All,
    I have an requirement to display a PDF file in OAF page. The PDF file will be stored in custom location in unixbox and when the user clicks on the hyperlink from OAF page, the PDF file should be promted to open or save the file in the local system.
    The pdf file will be stored in $XBOL_TOP and I am not sure on how to link the file directory path from OAF page.
    Please share some information on how to achieve this logic.
    Regards,
    Ram

    Hi,
    Did you find a way to do this.
    Please advise.
    Thanks
    Krishna
    Edited by: user452458 on May 11, 2010 6:53 PM

  • 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

  • Identifying the customization is OAF Page

    Hi,
    I have a requirement to identify the customizations in  OAF pages from back end , in modules like AP,AR,GL.
    I had used the below query
    SELECT jdr_mds_internal.getdocumentname(ja.att_comp_docid) AS customized_document
                               FROM jdr_attributes ja
                              WHERE att_value LIKE '/oracle/apps/%customizations%';
    ex: /oracle/apps/ap/oie/webui/customizations/responsibility/23/OIEMAINPAGE
    Here how to identify the the above path is related to AP (Acccounts payable).
    Thanks in Advance
    Harry !!

    There are 3 concepts in OAF: Personalizations, BC4J extensions/substitutions and Customizations.
    Personalizations are stored in the MDS and there is a page under System Administration to list the personalizations for any given page.
    Now, have in mind that there are personalizations for certain products that are provided also by Oracle.
    BC4J extensions/substitutions involve the replacement of the BC4J objects referenced by a given page by custom BC4J objects (i.e.: queries) that can be achieved
    via the personalizations feature (replacing the AMs referenced by the page).
    Customizations involve custom controllers (java code), custom pages, custom BC4J objects, etc. and are more difficult to track if they are implemented as
    "in-site" customizations (for example, a standard shipped file by oracle that is changed by the customer)
    With all of these in mind, the first 2 can be detected by scanning the MDS for a certain group of pages.  The third is more complicated and the reason why we request customers to follow the standards in terms of splicing a new custom module.
    Refer to the OAF troubleshooting guide for more information. See MOS note 1496055.1 for reference.
    Let me know if any question.
    Thanks
    --Gustavo

  • DFF on OAF Page

    Dear all
    I have a DFF on oaf page(EAM work Request) with table type. I want to filter data with profile values. like
    ORGANIZATION_ID = $PROFILES$.MFG_ORGANIZATION_ID
    where WF_HEADER_ID in
    ( select wf_header_id
    from EARMS_WF_HEADER
    where ORGANIZATION_ID = FND_PROFILE.value('MFG_ORGANIZATION_ID'))
    Above code not working
    Is there profile values works on OAf pages or oracle uses with Util package
    please guide.
    Aamir

    Aamir,
    Check through the System Admin responsibility whether any value exists for the following profile Name. or you can print the same in the same using SOP's before executing your vo.
    Regards,
    Gyan

  • Getting the error while calling the report from oaf page

    Dear all
    when i am calling the report from oaf page
    if (pageContext.getParameter("PrintPDF") != null)
    DataObject sessionDictionary =
    (DataObject)pageContext.getNamedDataObject("_SessionParameters");
    HttpServletResponse response =
    (HttpServletResponse)sessionDictionary.selectValue("HttpServletResponse");
    try
    ServletOutputStream os = response.getOutputStream();
    // Set the Output Report File Name and Content Type
    String contentDisposition = "attachment;filename=EmpReport.pdf";
    response.setHeader("Content-Disposition", contentDisposition);
    response.setContentType("application/pdf");
    // Get the Data XML File as the XMLNode
    XMLNode xmlNode = (XMLNode)am.invokeMethod("getEmpDataXML");
    ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
    xmlNode.print(outputStream);
    ByteArrayInputStream inputStream =
    new ByteArrayInputStream(outputStream.toByteArray());
    ByteArrayOutputStream pdfFile = new ByteArrayOutputStream();
    //Generate the PDF Report.
    TemplateHelper.processTemplate(((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getAppsContext(),
    "XXCRM", "XXCRM_EMP",
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getLanguage(),
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getCountry(),
    inputStream,
    TemplateHelper.OUTPUT_TYPE_PDF, null,
    pdfFile);
    // Write the PDF Report to the HttpServletResponse object and flush.
    byte[] b = pdfFile.toByteArray();
    response.setContentLength(b.length);
    os.write(b, 0, b.length);
    os.flush();
    os.close();
    } catch (Exception e)
    response.setContentType("text/html");
    throw new OAException(e.getMessage(), OAException.ERROR);
    pageContext.setDocumentRendered(false);
    i am getting the error java.classcastexception at this line
    DataObject sessionDictionary =
    (DataObject)pageContext.getNamedDataObject("_SessionParameters");
    regards
    Sreekanth

    check if you have import oracle.cabo.ui.data.DataObject; in your import statement.
    --Prasanna                                                                                                                                                                                               

  • How do I make a bookmark or page link go to top of the page?

    How do I make a bookmark or page link go to top of the page instead of the text that had served for the bookmark, such as a title?

    change where and how? Used to be able to do that in Acrobat, seems there used to be a list of links and one could change the action, but can't find that any place now.

  • In the latest version of Pages (5.0) I cannot find the refresh button to update a chart copied from Numbers (also latest version 3.0). Can anyone help?

    In the latest version of Pages (5.0) I cannot find the refresh button to update a chart copied from Numbers (also latest version 3.0). I saved my Numbers document before copying to Pages. Can anyone help?

    I think you identified my mistake. I confused tables-charts-graphs. I was wanting a "table" of cells (numbers) to be added to the Pages document. Is there no way to do that and keep the tables linked between Numbers09 and Pages09?
    An example would be a Numbers spreadsheet calculating a number (say, a product price) and that number (data) be linked to a product information text in Pages.
    I just recently saw the Merge function in Pages, but have not yet learned how that works. I don't use Pages much at all but it would come in handy for creating to information sheets about products --- with the product pricing being updated from a Numbers spreadsheet.
    If you have any hints on how that can be done or where I can find info on that I would appreciate it.
    Thanks for catching my misunderstanding.
    Bill

  • I have not been able to get to the Firefox Sync setup page. I can't find the right Firefox button to push. A number of buttons and Can't see "Set Up Sync"

    I have tried to find the page where I can click on the Firefox button and get to the "Set Up Sync" page. I have tried every Firefox home page and web page I can find and there is no button that gets me to the "Set Up Sync" page. Please help me. I just want to set up the Sync page on a number of computers I own.

    Have you read these support articles? <br />
    https://support.mozilla.org/en-US/kb/how-do-i-set-up-firefox-sync <br />
    https://support.mozilla.org/en-US/kb/add-a-device-to-firefox-sync

  • How to return a profile in Game Center. where you want to enter the old nikneim?

    How to return a profile in Game Center. where you want to enter the old nikneim?

    It's not actually round.  It is slight flattened vertically.
    Anyway...
    I have an Action that places guides at 50% (50pc) vertically and horizontally to give me the exact center of an image file, or you place them manually with View > New Guide.
    After doing that I would place the circular select from that center point using Shift and Alt (Opt) and get it more or less where I wanted it.  Then change the selection into a work path.
    You can use Free Transform to reshape and position that work path by selecting it in the Paths panel.
    Then place your text, and if you still need to fine tune, use Free Transform again, but on the Type layer.
    You could also use Free Transform to reshape the BG graphic to make it round.

  • The area at the top of Tab bar where i would type in the webpage is gone, how do i get it back

    the area at the top of Tab bar where i would type in the webpage is gone, how do i get it back?

    MacBook Pro, Mac OS X (10.7.4)  < your profile
    If that is correct, updating your system software may help the Safari toolbar issue.
    Click Software Update from your Apple menu OR open System Preferences > Software Update > Check Now
    Restart your Mac after the updates are installed then try Safari.
    If your software is actually up to date, from the Safari menu bar click Safari > Preferences then select the Extensions tab.
    If you have any extensions installed, turn that OFF, quit and relaunch Safari to test.
    If the address bar reappears, uninstall one extension at a time, quit and reluanch Safari to test until you find the one that's blocking the address bar.

  • I live in spain. Have just downloaded IOS6 through itunes, now have itunes in Spanish on my ipad instead of english. how do i get it in english, my itunes account is based in the uk

    I live in spain. Have just downloaded IOS6 through itunes, now have itunes in Spanish on my ipad instead of english. how do i get it in english, my itunes account is based in the uk & is OK on my main computer.

    Have you tried Settings > General > International > Language > English ?
    tt2

Maybe you are looking for

  • Video Doesn't Show While Capturing in PrCS4

    Hi, I was capturing my video into PrCS4 just fine last night and then when I switched tapes, my video didn't show anymore in the capture window.  It plays on my camcorder and in the capture window I can press play/stop/etc. and the counter on the lef

  • Why can't I log in to elements 10?....

    Why can't I log in to my elements 10? every time I try it just says adobe services are unavailable, my network connection is perfect, it's been doing this for about 2 weeks now, it doesn't matter what time of day or night I try to log in, it just won

  • Lightroom 5.4, 5.5 and now 5.6 develop module not processing changes made on pictures

    Has anyone come across this annoying bug from Lightroom yet? if so how did you solve it, workaround also welcome, it's doing my head in now. Been here for weeks now with all jobs sitting on my desk waiting to be processed but lightroom NOT working as

  • Driver files in oracle jdbc library

    Hi, as all of you know that a file, classes32.zip distributed with oracle client to support jdbc connectivity is so huge in physical size on disk. But, some of my colleague told me that there are just 2 or 3 classes that are actually used by java app

  • Memory stick contents only briefly display and will not open

    Model: Laptop C660D-102 Purchase date: 07/11/2010 - used very little and on very rare occasions, so virtually unused. Problem: When a memory stick is inserted into either of two usb ports it will not open up on request, although I can see it listed i