Help in creating a OAF Page

My requirement is to create a page and in that I need to have the fields like date, employee number, batch number, person type, group name and below these fields I need to have an advance table with other fields. User can enter one batch# and employee number and date and for that employee, user should enter the rows in advance table and all these values should store in a single VO including the fields above the advanced table. I am not sure if this will work as we are entering the above fileds one time and multiple rows in advanced table.
If you see any similar page in any of the module, please let me know the responsibility and function, I will check the page and code behind that.
Thanks,
HC

it is not recomendated to have both header master and line child in same table.
But you can create such page. Oracle will not have such page.
what problem are you facing while development.
--Parag                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • How to create an OAF page that does not need login to access

    We have a lot of Oracle users, and everyday there are some users forget there username or password and need reset. I really want to use a web page to let them reset their passwords automatically. The web page will call the API to reset password if it found the user request is legible.
    So based on the situation, the users should not need a login to get to this page, can I do this using OAF?
    And idea is welcome, thank you for your help!
    -Bill
    Edited by: billzheng2004 on Jun 18, 2009 12:12 PM

    Srini,
    Thank you for your response, I think we need to go back to my original question, is it possible to create an OAF page that does not need login, how can I do that.
    I think I said too much and led us to go to a different direction I did't want to. But I am still glad to texplain why I need a custom password reset process, that is all about business requirement, here it is:
    ----I am not sure that "company issues" (such as what you described) can be solved by software -
    I already have a solution for that. Create a custom OAF page, ask user to input his SSN / Date of Birth.... then I can figure out what his real username easily. And I can reset his password as his SSN or something which only this particular user knows. Then he can login.
    ----you may have to impart training to end users.
    As I mentioned, most of our users use only Benefit self service. They only login several times a year, even they are trained this year, most of them will forget next year, this is just human nature. And because the nature of our business, thousands of employees may change at the end of a year. It does not make any business sense for company to prepare trainers every year.
    ----In any case, the functionality you require is already built into the product.
    I guess the reason most companies hire Oracle Developers is that some functionality Oracle Applications provide is not exactly the companies needed. When there is Oracle Apps product, there is alway customization.

  • Help needed on a OAF page

    Hi All,
    In PLM module, while creating a new item as copy of item, in the page train, we have a page with two fields,
    “Available Information” and “Selected Information” which is a shuttle region.
    By default, when this page opens, all the attachment categories are available in “Selected Information”(on the right hand side).
    The current requirement is that one of the value from the list should show on “Available” side by default and should not show on the “Selected” side.
    We tried accomplishing this through personalization, but the list items on the page do not have option to do any changes.
    The OAF personalization guide states:
    “The properties of a shuttle region may be personalized at the Admin level but not at the end-user level.”
    Please let us know if anyone has worked on similar requirement before.
    Thanks,
    Kiranmayi.

    {forum:id=210} is where you should be

  • Help in creating a confirmation page

    i have created an application form in asp and would like new
    members to receive email telling them they have successfully
    registered and another to myself the administrator telling me that
    person x has registered. any assistance would be
    appreciated.

    Hi,
    I use CDOSYS to send email from my ASP. You will first need
    to check that your host allows this. It's the default now on
    Windows servers so there should not be an issue here.
    For more info look here:
    http://www.powerasp.com/content/new/sending_email_cdosys.asp
    You will then need to build your form, add validation as
    needed and build a 'thankyou.asp' page which you redirect to when
    the form has been submitted.
    The 'thankyou.asp' will include your various SMTP gateway
    authentication requirements and also the field names of your form
    so as to build your E-Mail.
    Something like this maybe:
    <%
    Dim objMail
    Set objMail = Server.CreateObject("CDO.Message")
    Set objConfig = Server.CreateObject("CDO.Configuration")
    'Configuration:
    objConfig.Fields(cdoSendUsingMethod) = cdoSendUsingPort
    objConfig.Fields(cdoSMTPServer)="auth.smtp.hostname.co.uk"
    objConfig.Fields(cdoSMTPServerPort)=25
    objConfig.Fields(cdoSMTPAuthenticate)=cdoBasic
    objConfig.Fields(cdoSendUserName) = "mailbox_username"
    objConfig.Fields(cdoSendPassword) = "mailbox_password"
    'Update configuration
    objConfig.Fields.Update
    Set objMail.Configuration = objConfig
    objMail.From = Request("email")
    objMail.To = "[email protected]"
    objMail.Subject = "Details from My Form"
    objMail.HTMLBody = "<font size=2 face=verdana>"
    objMail.HTMLBody = objMail.HTMLBody & "<strong>"
    & "Contact Name " & "</strong>" &
    Request.form("name") & "<br>" & "<br>"
    objMail.HTMLBody = objMail.HTMLBody & "<strong>"
    & "Telephone Area Code " & "</strong>" &
    Request.form("telcode") & "<br>" & "<br>"
    objMail.HTMLBody = objMail.HTMLBody & "<strong>"
    & "Telephone Number " & "</strong>" &
    Request.form("telnumber") & "<br>" & "<br>"
    objMail.HTMLBody = objMail.HTMLBody & "<strong>"
    & "Email " & "</strong>" & Request.form("email")
    & "<br>" & "<br>"
    objMail.HTMLBody = objMail.HTMLBody & "<strong>"
    & "Message " & "</strong>" &
    Request.form("message") & "<br>" & "<br>"
    objMail.HTMLBody = objMail.HTMLBody & "Sent at " &
    Now() & "<br>" & "<br>" & "</font>"
    objMail.Send
    If Err.Number = 0 Then
    Response.Write(".")
    Else
    Response.Write("Sorry, There was an error processing your
    questionnaire. Please try again. Code: " & Err.Number)
    Err.Clear
    End If
    Set objMail=Nothing
    Set objConfig=Nothing
    %>
    Hope this helps some
    Jules

  • Suggestions/help needed creating portal type page

    Let me start by saying I am very new to Java. I'm trying to create a portal - a fairly simple web page where each user who logs in will see only those application links that they are authorized to access. User A will see links to applications X, Y and Z and user B will see links to applications R and Q.
    I'm running a Tomcat 6 server, and will be using Java 6 (jsp pages, servlets, etc). I've done some research on things like tomcat realms, ldap, ad, jaas, etc. but I'm still not sure what direction I should be going in. My 'portal'/web page will consist of about 20 application links - some are links out to external web sites/applications (public web sites outside of our network), some are internal applications housed on various in-house servers on our network, some are home-grown, others are 3rd party applications, eventually some will be home-grown java applications. Each application currently has it's own login and password.
    I know that I can build a table in a relational database, or update an xml file in Tomcat and use Tomcat realms to determine who has access to what. Are there other options? I can certainly build a table, but I don't want to if there are easier ways - can AD tell me what applications a particular user has access to (so I can determine what links to display)? If so, how? (I don't know much about ad (yet)).
    I just don't want to end up building something overly complex, and missing out on something that would make this simpler. Any ideas, suggestions, etc on what I could/should be looking at would be most appreciated.
    Thanks!

    Unless you know what you're doing with absolute positioning, avoid absolute positioning! Absolute positioning actually takes an element out of the normal HTML document flow and positions it absolutely in relationship with it's first parent with a position other than static - for details read the HTML specs at the W3C.
    Ideally you should use the normal HTML document flow. Divs are block level elements meaning that they act like blocks that take up a height (determined by children content) and width (the full width of the page or it's parent container, unless you tell it otherwise).
    For your CSS try this:
    #techlistcontainer {
        width: 75%;
        margin-top: 0;
        margin-right: 0;
        margin-bottom: 0;
        margin-left: 30;
        padding-top: 0;
        padding-right: 0;
        padding-bottom: 0;
        padding-left: 30;
    How does that work with your templates?

  • Help needed creating consistency across pages

    My site is here:
    http://www.leaningtowermpls.com/index.php
    The horizontal yellow bar at the top is inconsistent across
    the pages Home, Menu and Locations. I haven't taken the time to
    learn CSS properly yet, and most of the layout is table based. (Not
    that I have mastered anything at this point.) This site needs to
    get out the door, so if anyone can let me know how to solve this
    problem I would really appreciate it.
    -Adam

    On Tue, 16 Oct 2007 00:13:52 +0000 (UTC),
    "adam@blueapplestudio"
    <[email protected]> wrote:
    >My site is here:
    >
    >
    http://www.leaningtowermpls.com/index.php
    >
    > The horizontal yellow bar at the top is inconsistent
    across the pages Home,
    >Menu and Locations. I haven't taken the time to learn CSS
    properly yet, and
    >most of the layout is table based. (Not that I have
    mastered anything at this
    >point.) This site needs to get out the door, so if anyone
    can let me know how
    >to solve this problem I would really appreciate it.
    >
    > -Adam
    As discussed - it would be best to base on a simple template
    - with
    the common items like menu, to yellow bar in the template
    etc.
    Also you have the css in each file, far better to move it out
    to an
    external style sheet - so that all pages will behave the
    same.
    Tidy up some of the code with Dw's
    Commands | Apply source formatting
    ~Malcolm N....
    ~

  • Integrating XML Publisher into an OAF page

    Hello,
    I'm pretty to new to both OAF and XML Publisher...hoping someone can help me out. I created an OAF page that uses oracle.apps.xdo.oa.common.DocumentHelper to display a PDF. I created my Data Definition and Template, and tested that using concurrent manger.
    When I display my OAF page and click a button to view the PDF, the page does not show the PDF. However, when I click on the export button it opens a new window and I can view the PDF no problem.
    So I know the XML Publisher document is working, but why doesn't it display in the page?
    We are on 11.10.2 applications and 5.6.3 XML Publisher.
    Thanks,
    Johnnie
    CO:
    private static final String APP_NAME = "PTC";
    private static final String TEMPLATE_CODE = "PTC_HR_TOTAL_COMP";
    * Layout and page setup logic for a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    System.out.println( "============processRequest 10" );
    pageContext.putParameter("p_DataSource",DocumentHelper.DATA_SOURCE_TYPE_BLOB);
    pageContext.putParameter("p_DataSourceCode",TEMPLATE_CODE);
    pageContext.putParameter("p_DataSourceAppsShortName",APP_NAME);
    pageContext.putParameter("p_TemplateCode",TEMPLATE_CODE);
    pageContext.putParameter("p_TemplateAppsShortName",APP_NAME);
    pageContext.putParameter("p_Locale","English:United States");
    //pageContext.putParameter("p_XDORegionHeight","95%");
    pageContext.putParameter("p_OutputType","PDF");
    System.out.println( "============processRequest 20" );
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    Serializable[] parameters = { new Integer(pageContext.getEmployeeId()).toString() };
    System.out.println( "============processRequest 30" );
    * Procedure to handle form submissions for form elements in
    * a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    System.out.println( "============processFormRequest 10" );
    if (pageContext.getParameter("ViewStatement") != null)
    Serializable[] parameters = { new Integer(pageContext.getEmployeeId()).toString() };
    BlobDomain result = (BlobDomain) am.invokeMethod("getXMLData", parameters );
    System.out.println( "============processFormRequest 20" );
    pageContext.putSessionValueDirect("XML_DATA_BLOB", result );
    System.out.println( "============processFormRequest 30" );
    AM:
    public BlobDomain getXMLData( String personId )
    BlobDomain blobDomain = new BlobDomain();
    OADBTransaction oadbtransaction = getOADBTransaction();
    System.out.println( "============getXMLData 10" );
    try
    String dataDefCode = "PTC_HR_TOTAL_COMP";
    String dataDefApp = "PTC";
    // Create the new data template
    DataTemplate datatemplate = new DataTemplate(((OADBTransactionImpl)getOADBTransaction()).getAppsContext(), dataDefApp,dataDefCode );
    // Set the parameters
    Hashtable parameters = new Hashtable();
    parameters.put("p_person_id", personId );
    datatemplate.setParameters(parameters);
    // Process the template
    datatemplate.setOutput(blobDomain.getBinaryOutputStream());
    datatemplate.processData();
    catch(SQLException e)
    throw new OAException("SQL Error=" + e.getMessage(),OAException.ERROR);
    catch (XDOException e)
    throw new OAException("XDOException" + e.getMessage(),OAException.ERROR);
    catch(Exception e)
    throw new OAException("Exception" + e.getMessage(),OAException.ERROR);
    return blobDomain;
    }

    Hi Steve,
    I tried the approach you mentioned using IFRAME and found that,i am able to get the region in the end of the page, but its displaying the error message "Page not Found".
    Can you please let me know, what could be the reason.
    Here is my code
    In Controller( Process Request):
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    BlobDomain result = (BlobDomain)am.invokeMethod("getXMLData");
    pageContext.putSessionValueDirect("XML_DATA_BLOB", result);
    // Outputs letter in PDF format inline.
    String redirectURL = DocumentHelper.getOutputURL(pageContext,"XXJSDATA","XXJS_SAC_CPD",result.getInputStream(),"RTF",null,"en","US");
    OAHTMLWebBean outRegion = (OAHTMLWebBean)createWebBean(pageContext, HTML_WEB_BEAN, null, "IFRAME");
    outRegion.setHTMLAttributeValue("src",redirectURL);
    outRegion.setHTMLAttributeValue("width", "50%");
    outRegion.setHTMLAttributeValue("height", "50%");
    outRegion.setHTMLAttributeValue("title ","XXJS_SAC_CPD");
    outRegion.setHTMLAttributeValue("name ","XXJS_SAC_CPD");
    pageContext.getPageLayoutBean().addIndexedChild(outRegion);
    In AM:
    /**Get XML Data*/
    public BlobDomain getXMLData()
    BlobDomain blobDomain = new BlobDomain();
    OADBTransaction oadbtransaction = getOADBTransaction();
    try
    System.out.println("Now Calling Template to get XML Data>>>");
    String dataDefCode = "XXJS_SAC_CPD" ;
    String dataDefApp = "XXJSDATA";
    DataTemplate datatemplate = new DataTemplate(((OADBTransactionImpl)getOADBTransaction()).getAppsContext(), dataDefApp,dataDefCode );
    datatemplate.setOutput(blobDomain.getBinaryOutputStream());
    datatemplate.processData();
    System.out.println("Got XML Data>>>");
    catch(SQLException e)
    throw new OAException("SQL Error=" + e.getMessage(),OAException.ERROR);
    catch (XDOException e)
    throw new OAException("XDOException" + e.getMessage(),OAException.ERROR);
    catch(Exception e)
    throw new OAException("Exception" + e.getMessage(),OAException.ERROR);
    return blobDomain;
    Kindly help.
    Thanks,
    S

  • OAF page with XML Publisher report

    Hi All,
    I am trying to create a OAF page with an XML Publisher report. I am not able to create a 'defaultSingleColumn' region which extends '/oracle/apps/xdo/oa/common/webui/DocumentViewerRn.MainRegion', getting a Confirm message and Validation error and they are:
    Confirm message:
    Component "/oracle/apps/xdo/12.0.0/mds/oa/common/webui/DocumentViewerRn.MainRegion" cannot be referenced from
    "/xx/oracle/apps/xxbsk/payslip/webui/PaySlipViewPG.region1" because it violates scope restrictions.
    Are you sure you want to use component "/oracle/apps/xdo/12.0.0/mds/oa/common/webui/DocumentViewerRn.MainRegion"?
    Validation Error:
    The value "oracle/apps/xdo/12.0.0/mds/oa/common/webui/DocumentViewerRn.MainRegion"
    set on the "Extends" property for component
    "/xx/oracle/apps/xxbsk/payslip/webui/PaySlipViewPG" contains multiple naming separators.
    I am trying to develop this page for R12.1.3 and using correct version of JDev (Patch 9879989).
    I am following the below link for embedding the XML PO into my page:
    http://oracle-hack.blogspot.co.uk/2012/04/launching-xml-publisher-from-oa.html
    Could you please help why I am getting error while extending region.
    Thank you,
    Ramu

    Hi. Could you please tell me how did you make it work. I read and try the same document at ttp://oracle-hack.blogspot.co.uk/2012/04/launching-xml-publisher-from-oa.html
    But I got null point exception at one of xdo package which is Oracles own class. I think something is wrong or forgotten in this document.
    Berkay

  • Unable to rerun OAF page in the same OC4J session

    Hi All,
    could you help me with running OAF page from JDeveloper.
    Configuration from OEBS:
    OA Framework 12.1.1
    Oracle OA Extension 10.1.3 - build 1089
    Business Components 10.1.3.3
    UIX (Cabo) 2_3_6_5
    BiBeans Runtime 3.1.1.9 nondebug BI Beans 3.1.1.x
    MDS 9.0.6.0.0_35
    XML Oracle XML Developers Kit 10.1.3.5.0 - Production
    AOL/J Applications Object Library, Core Java Roll Up Patch J
    Servlet 2.4
    Java 1.6.0_16
    JDBC Driver 11.1.0.7.0-Production
    My local computer configuration:
    OS: Windows Server 2003 SP2
    JDeveloper: p9172975_R12_GENERIC (for 12.1.1)
    Issue:
    My development database is located on remoute server and it takes about 10 min to run simple OAF page (it works correct then).
    But after modification of the page when I run it again, JDeveloper always opens new session (instead of using existed one) because of this error:
    C:\Oracle\JDeveloperR12\jdevbin\jdk\bin\javaw.exe -jar C:\Oracle\JDeveloperR12\jdevbin\j2ee\home\admin.jar ormi://10.24.166.61:23891 oc4jadmin **** -updateConfig
    Dec 29, 2009 1:23:06 PM com.oracle.corba.ee.impl.orb.ORBServerExtensionProviderImpl preInitApplicationServer
    WARNING: ORB ignoring configuration changes. Restart OC4J to apply new ORB configuration.
    So I have to wait again 10 min to see the changes :((
    If you have any experience regarding this issue I will appreciate you very much for help.

    Kumar,
    Ftping the PG.xml to mds folder will not help the page to goto MDS directory
    You have to import the file using xmlimporter
    I understand you have done the import, but it is not success.
    Could you please post what is the script you used to import the PG.xml
    and once you run what was the output you have got.
    May be you can refer the URL for the scripts
    http://apps2fusion.com/at/61-kv/331-oa-framework-scripts
    With regards,
    Kali.
    OSSI.

  • Who columns for OAF pages

    IS there anything equivalent to Forms' "Help -> Record History" in OAF Pages for end users to find the current records' Who column values?

    Niranjan,
    Forms and OAF pages belong to different techstack and therefore there are many technical differences in the two. Here you can view the vo query using about this page or use diagnostics mode to see existing logs of OAF pages.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Reg OAF page creation

    Hi ,
    Can we create a OAF page based on global temporary table?
    Regards,

    You can create a hashmap or some other collection object and store the key value of all the rows. This object can be maintained throughout the session as a session parameter. But unless it is a shopping cart like application, I don't see a reason why one should hold on to search results for whole session.
    If you having an application with a couple of pages in a fixed flow, then just retaining the AM will keep your VO results as it is.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Creating a web page

    i m beginer to java. i want help to create a web page having login tag and password tag and few menus. these menu must be activated after login

    sabre150 wrote:
    Some tutorials to get you started
    http://java.sun.com/j2ee/1.4/docs/tutorial/doc/
    That one is a bit outdated. Here's the most recent: [http://java.sun.com/javaee/5/docs/tutorial/doc/]. Part II is what you need.
    Another tutorials/docs besides the Java and HTML ones I can recommend for webdevelopment are:
    HTTP spec: [http://www.w3.org/Protocols/rfc2616/rfc2616.html]
    CSS tutorial: [http://www.w3schools.com/css/]
    JS tutorial: [http://www.w3schools.com/JS/default.asp]

  • 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

  • Creating an XML Report from OAF page

    Hi All,
    I have a requirement to create a PDF report from an OAF page. From the below code , I was able to print the XML with the values.
    I know i should map this XML to RTF by creating the Data defiition through XML publisher responsibility.
    My understanding :
    1. Generate the XML from Conttroller
    2. Load the XML to RTF and map the fields
    3. Register as Data Definition and RTF
    4. Output seen
    MY QUESTION IS : If i load the values from the below XML to the RTF and register in the data definition , i will get the same values every time it is right . From my understanding, if the data has to change in the report, ,there should be a way which will directly send the generated xml from the controller to the RTF (Without step2)
    I DEFINITELY BELIEVE, THAT I AM MISSING SOME THING HERE . PLEASE HELP ME
    public void processRequest(OAPageContext pageContext,
    OAWebBean webBean) {
    super.processRequest(pageContext, webBean);
    OAApplicationModule am =
    (OAApplicationModule)pageContext.getApplicationModule(webBean);
    OAViewObject vo = (OAViewObject)am.findViewObject("colorVO1");
    ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
    //(XMLNode)vo.writeXML(4,"")
    try {
    ((XMLNode)vo.writeXML(4, XMLInterface.XML_OPT_ALL_ROWS)).print(outputStream);
    } catch (IOException e) {
    // TODO
    throw new OAException("The value of VO is " + vo,
    OAException.CONFIRMATION);
    System.out.println(outputStream.toString());
    Generated XML :
    <colorVOEx3Row>
    <UserName>abc</UserName>
    <UserId>33102</UserId>
    <CreatedBy>27241</CreatedBy>
    <Clr1>0</Clr1>
    </colorVOEx3Row>
    <colorVOEx3Row>
    <UserName>deg</UserName>
    <UserId>33604</UserId>
    <CreatedBy>1135</CreatedBy>
    <Clr1>0</Clr1>
    </colorVOEx3Row>
    <colorVOEx3Row>
    <UserName>****mno</UserName>
    <UserId>33643</UserId>
    <CreatedBy>24587</CreatedBy>
    <Clr1>2</Clr1>
    </colorVOEx3Row>
    </colorVOEx3
    Please let me know what should me my next steps to generate the report. if i load the XML above to the RTF , irresepscive of my data from teh page, i will always get the 3 rows.i..e..(abc,def,*** mno).
    Hope i am clear.

    Hi Anand,
    Thanks for your reply. I have gone through the link you provided . It gave me excellent information. But just one clarification , when we create the data definition, dont we have to add any of the files like 'XML Schema','Data Template','Preview Data','Bursting Control File'.
    The reason, i am asking this question is, when i proviously worked with XML reports in 11.10.2, we used to attach a .xml file to the Data Template of the data definition ,which would populate the RTF.
    Now here, if i dont attach that file in the data definition, will the XML data direclty mapped from contrlloer ?. I assume ,The only thing i need to do is to MAP the XML tags to RTF before registering ..
    Please let me know if i am missing some thing
    Thanks
    Sunny

  • Need help with adding a Key flex field to a seeded OAF page

    We have a seeded OAF page on which we already have Account Key Flex Field.
    Properties of this flex field are:
    The ApplShortName - SQLGL
    Name - GL#
    Type - Key
    As per the client requirement, in the KFF screen, we have disabled the seeded structure for Accounting Flexfield and created a custom structure.
    Our custom structure for the KFF is displayed correctly on the OAF page.
    But now the requirement is to add a new KFF on the OAF page which is duplicate of the existing KFF, along with the existing KFF field; the structure and segments are same. Only difference being the display name of the existing KFF field is Account; the new one needs to be Tax structure.
    Using personalization we added a new flex item and added the properties same as the existing KFF.
    ApplShortName - SQLGL
    Name - GL#
    Type - Key
    But the page is giving following error:
    The data that defines the flexfield on this field may be inconsistent. Inform your system administrator that the function: KeyFlexfieldDefinitionFactory.getStructureNumber could not find the structure definition for the flexfield specified by Application = SQLGL, Code = GL# and Structure number =
    We tried options like compiling the flexfield definition, but the error persists.
    Any help in this regard is highly appreciated.
    Regards,
    Kiranmayi.

    Hi,
    Please check whether your key flex structure is frozen or not. If now please freeze it and re compile and try.
    This may helps too
    error while developing KFF in oaf
    Thanks
    Bharat
    Edited by: Bharat on May 10, 2013 4:51 AM

Maybe you are looking for