Tutorial Exercise5 -Create page (Employee)

Hi,
I am trying to do create page exercise from tutorial.
I am not able to search employee created in create page exercise.
Can any body help me where i am going wrong.
Regards,
Mithun

Sumit,
I queried in DB the data are not present in the table.
But i have the following code in my AM.
public void apply()
getTransaction().commit();
System.out.println("Commited transaction");
} // end apply()
As per the instruction from Tutorial the above mentioned code should do the commit. I have also checked the above code is getting executed in the code.
Please tell me what shall i do to commit the transaction.
Regards,
Mithun

Similar Messages

  • OA Tutorial Create Page pt2 - Where is data saving?

    Hello!
    I am working through the framework tutorials in jDeveloper. I am running 9.0.3.12.25 with OA 11i. I am currently in Chapter 2: Core Lessons, on the Create - Part 2 tutorial. Everything seems to be working ok...I can create an Employee and search for them and view them in the LOVs and the results. Here is my question - where should this data be saving? My EmployeeEO shows AK.FWK_TBX_EMPLOYEES for Schema Object. My EmployeeFullVO is based on a query that is pulling from AK.FWK_TBX_EMPLOYEES. However when I query this table, I am not seeing any new employees being created - just the original 7 that were seeded. Does anyone have any suggestions as to where else I should be looking?
    Again - I am not getting any errors when I create the new employee. I can then return to my Search page and query up the Employee that I just created, as well as employees that I created yesterday. The only other odd behavior that I am seeing is that the Full Name is not being displayed, but all other fields are. Also, I am extremely new to the OAF, so please bear with me :)
    Thanks!
    Janel
    Edited by: user468440 on Nov 17, 2009 11:16 AM
    My apologies, I didn't notice until after I posted that this was under the incorrect user.
    OA Tutorial Create Page pt2 - Where is data saving?

    Hi
    Please check with the DBC file ,and the database u connected to ,verify that u are quering the database from backend and entry in dbc file is same .
    thanx
    Pratap

  • Need more tutorial to create graphical page

    I need more instrauction to created page, like insert a link, images position, and styles edit, and the color, etc, is there any tutorial had more detail about this direction?
    thanks

    Hi,
    all tutorials are up on otn.oracle.com/products/jdev
    Also worth reading is the developer guide: http://download-uk.oracle.com/docs/html/B25947_01/toc.htm
    For styles and colors, have a look at what it says about skinning
    Frank

  • How to create one department and creating many employees in it in one page

    Hello
    I want my page to include a form to insert a department
    and a table to create many employees and inserting them into the department in one transaction

    here is what i did
    I used view links only to link betwwen the parent & child
    I created bounded task flow
    I dragged and dropped a "createinsert" operation from the master iterator and "createinsert" operation from the detail and linked them to a page
    In the page I dragged a form for the master and a table for the detail ( so I can create multiple records)
    I added "createinsert" and "delete" operations on the table on the form of ADF Buttons so i can add & remove child records
    Here is the problem:
    when I enter some data in the parent form and then try adding child records in the table using the buttons, it refreshes the parent form and clears the data in that form

  • OAF Tutorial - Error in Exercise: Create Page - Part 2

    Hi,
    I am trying to do the "Exercise: Create Page - Part 2" and I am on step "Step 7.3 Add a convenience method in the EmployeeEOImpl for access to the expert"
    Error(3977,17): class EmployeeEntityExpert not found in class zay.oracle.apps.ak.per.server.PerEOImpl
    Error(3979,13): class EmployeeEntityExpert not found in class zay.oracle.apps.ak.per.server.PerEOImpl
    Any help is appreciated.
    ========================
    PerEO Properties
    name:ExpertClass
    value:zay.oracle.apps.ak.per.schema.server.EmployeeEntityExpert
    EmployeeEntityExpert had created
    package zay.oracle.apps.ak.per.server
    PerEOImpl.java
    =======================
    import oracle.apps.fnd.framework.server.OADBTransaction;
    * Convenience method returns the EmployeeEntityExpert.
    public static EmployeeEntityExpert getEmployeeEntityExpert (OADBTransaction txn)
    return (EmployeeEntityExpert)txn.getExpert(EmployeeEOImpl.getDefinitionObject());
    } // end getEmployeeEntityExpert()
    =======================
    ERROR:
    Error(3977,17): class EmployeeEntityExpert not found in class zay.oracle.apps.ak.per.server.PerEOImpl
    Error(3979,13): class EmployeeEntityExpert not found in class zay.oracle.apps.ak.per.server.PerEOImpl

    The Entity expert needs to be added to the EO as a class file. Please open the EO wizard and associate the Entity expert class file to it.

  • Creating pages in chinese

    hi
    i need to create pages in chinese
    i copy and paste text i got from the translator, most text
    is ok but here
    and there some characters are replaced by question marks.
    i tried several doctypes, i tried without, ( i just copy from
    chinese sites)
    on the web i see chinese pages without question marks, but
    pages i create
    are full of them.
    i use:
    <meta http-equiv="Content-Type" content="text/html;
    charset=gb2312">
    any idea?
    any tutorial?
    thanks
    lenny

    .oO(lenny)
    >i'm sorry but i don't understand. (maybe it's my
    english).
    >
    >the first line is a simple declaration of charset
    It's more a fake than that. What matters is the real HTTP
    header, sent
    by the server along with the requested page. Of course if
    that header is
    missing in the server's response, then the browser will look
    at the meta
    data. But in the WWW this is not the recommended way to
    declare the
    character encoding (the meta stuff might play a role for
    local files if
    there's no web server involved, though).
    It's even a logical twist: The browser has to decode the
    document in
    order to figure out how to decode it. In most cases this will
    work,
    because most encodings are somewhat ASCII-compatible. But
    nevertheless
    it's ugly and illogical, at least for me.
    >the srcond line must be added.
    Same thing. It's also just a poor replacement for a real
    header or the
    mentioned 'lang' attribute.
    >we checked in several computers (also in china) and it
    works.
    >
    >in your opinion, what am i doing wrong? how should it be
    done in your
    >opinion ?
    As I've already said. I always send the character encoding in
    the
    Content-Type header, which is returned by the server. How to
    do that
    depends on the server and whether you're using plain HTML or
    some
    scripting like PHP for example. As an example: On Apache
    servers and for
    plain HTML files it's usually enough to put an .htaccess file
    into the
    website's root directory with this line
    AddCharset UTF-8 .css .html
    to let the server deliver all those files with a correct
    Content-Type
    header and charset information.
    For defining the language the preferred way is the 'lang'
    attribute,
    usually applied to the 'html' element:
    <html lang="zh">
    Here's some further reading about the language issue,
    discussing the
    different possible ways and their pros and cons:
    http://www.w3.org/International/questions/qa-http-and-lang
    Especially see this part:
    http://www.w3.org/International/questions/qa-http-and-lang#choosing
    Some quotes:
    | To specify the language of fragments within an XHTML
    document there is
    | no other choice but to use the lang and/or xml:lang
    attributes on the
    | appropriate elements. The HTTP header or meta element
    information are
    | not relevant here.
    (For HTML documents only the 'lang' attribute matters.)
    | [...] the use of the meta element is not directly specified
    in the
    | HTML specification, and there is no standard for how it
    should behave
    HTH
    Micha

  • Application Builder Create Page Wizard... huh?

    I just tried this wizard to create a wizard. I assumed the wizard would look like the Apex wizards with a "step" ladder. The Wizard wizard seems to create pages, next, previous, and cancel button and not much else.
    I tried creating it using tabs, just tabs and I don't see anything else. Is there a tutorial or ? on the page Wizard wizard?
    Thanks,
    Sam

    Scott,
    I don't know why you can't read minds... Larry does :)
    If I sounded like the design or implementation of the Wizard wizard sucked, that was not my intention, I wasn't even trying to be sarcastic. I assumed the "wizard" map would be part of the Wizard wizard. And no I don't know what is is :)
    I am not looking for content, I was looking for the construct that provides the current step that the wizard is on. Like during page create from the "Application ###" page of Application Builder. I like the "overview" nature of the process map.
    The first is Page > Define
    After you select the type of page it goes to "Pages > Region Attributes > Tab > Page Attributes > Buttons > Branching > Confirm" for the wizard to create Wizards. Should follow the same titles that are provided for the pages on the Page Attributes page of the wizard. Here is the code from the page source. I thought it was an Apex construct.
    <td valign="top"><div class="htmldbWizBar">
    <div class="htmldbWizNon">Pages</div>
    <div class="htmldbWizArrow"><img src="/i/arrow_down.gif" width="7" height="6" alt="Down" /></div>
    <div class="htmldbWizNon">Region Attributes</div>
    <div class="htmldbWizArrow"><img src="/i/arrow_down.gif" width="7" height="6" alt="Down" />
    </div><div class="htmldbWizNon">Tab (optional)</div>
    <div class="htmldbWizArrow"><img src="/i/arrow_down.gif" width="7" height="6" alt="Down" />
    </div><div class="htmldbWizCurrent">Page Attributes</div>
    <div class="htmldbWizArrow"><img src="/i/arrow_down.gif" width="7" height="6" alt="Down" /></div>
    <div class="htmldbWizNon">Buttons</div>
    <div class="htmldbWizArrow"><img src="/i/arrow_down.gif" width="7" height="6" alt="Down" /></div>
    <div class="htmldbWizNon">Branching</div>
    <div class="htmldbWizArrow"><img src="/i/arrow_down.gif" width="7" height="6" alt="Down" /></div>
    <div class="htmldbWizNon">Confirm</div></div></td>
    But I am guessing that does not happen.
    Thanks,
    Sam

  • Error in Step 4.5 of the create page

    Hi all,
    In running the CREATE PAGE applications... At Step 4.5 On debugging at this step the Search page opens but on clickin on the Create Employee details it returns an error page as follows.....
    Can any one pleae help me out in solving this issue???
    Exception Details.
    oracle.apps.fnd.framework.OAException: No data found for region (/<yourname>/oracle/apps/ak/employee/webui/EmployeePG).
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:392)
         at OA.jspService(_OA.java:80)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    Exception:
    oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = /<yourname>/oracle/apps/ak/employee/webui/EmployeePG, XML Path = D:\jdevhome\jdev\myclasses\JRADXML;D:\jdevhome\jdev\myprojects;D:\jdevbin\jdev\oamdsxml\fwk. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
         at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1451)
         at oracle.adf.mds.MElement.findElement(MElement.java:97)
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:392)
         at OA.jspService(_OA.java:80)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Exception:
    oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = /<yourname>/oracle/apps/ak/employee/webui/EmployeePG, XML Path = D:\jdevhome\jdev\myclasses\JRADXML;D:\jdevhome\jdev\myprojects;D:\jdevbin\jdev\oamdsxml\fwk. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
         at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1451)
         at oracle.adf.mds.MElement.findElement(MElement.java:97)
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:392)
         at OA.jspService(_OA.java:80)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Thanks,
    Ganesh

    This is my Controller code for the Newly created page....
    package oracle.apps.fnd.employee.webui;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.webui.OADialogPage;
    import oracle.apps.fnd.framework.webui.TransactionUnitHelper;
    * Controller for ...
    public class EmployeeCreateCO extends OAControllerImpl
    public static final String RCS_ID="$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
    * 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);
    // If isBackNavigationFired = false, we're here after a valid navigation
    // (the user selected the Create Empoyee button) and we should proceed
    // normally and initialize a new employee.
    if (!pageContext.isBackNavigationFired(false))
    // We indicate that we are starting the create transaction (this
    // is used to ensure correct Back button behavior).
    TransactionUnitHelper.startTransactionUnit(pageContext, "empCreateTxn");
    // This test ensures that we don't try to create a new employee if
    // we had a JVM failover, or if a recyled application module
    // is activated after passivation. If this things happen, BC4J will
    // be able to find the row that you created so the user can resume
    // work.
    if (!pageContext.isFormSubmission())
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.invokeMethod("createEmployee", null);
    // Iniitalize the ApplicationPropertiesVO for PPR.
    am.invokeMethod("init");
    else
    if (!TransactionUnitHelper.isTransactionUnitInProgress(pageContext,"empCreateTxn", true))
    // We got here through some use of the browser "Back" button, so we
    // want to display a stale data error and disallow access to the page.
    // If this were a real application, we would probably display a more
    // context-specific message telling the user she can't use the browser
    // "Back" button and the "Create" page. Instead, we wanted to illustrate
    // how to display the Applications standard NAVIGATION ERROR message.
    OADialogPage dialogPage = new OADialogPage(NAVIGATION_ERROR);
    pageContext.redirectToDialogPage(dialogPage);
    * 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);
    }

  • Dynamically create pages from categories and subcategories

    We have over a thousand businesses listed for a Chamber of Commerce website we're developing. Each business falls under a top-level category (eg. "Services") and a sub-category (eg. "Plumbers").  I'd like to pull all the categories with their respective subcategories from Site Settings > Categories and use each as a link to a dynamically created page. For instance, click Services, and BC would render a page with all the service provider businesses listed (10 max with links to next page). Similarly, click Plumbers and BC would render a page with the business listing for each plumber.
    I understand there is no direct access to the database, but there must be some reasonably direct way to do this.  Right now the categories appear in a <select> box as part of a Web Apps Search Form.
    http://mainedreamvacation.businesscatalyst.com/businesses-1
    Thanks!

    I'm afraid I'm still new enough to BC that I didn't fully understand the part about having"...have a services web app sitting on an index page of the folder with the same name as the services web app and have them listed."
    I have tried building this through a web app, but haven't been satisfied with the solution. I'd appreciate it if you could elaborate a bit more, offer an example, and/or point me to a tutorial on this subject.
    Thanks!

  • Someone has a tutorial for creating screen exit?

    I have a development and I do not know how to create screen exit.
    Case Someone has a tutorial for creating screen exit please help me
    Thank you
    <b><i>Wagner Duarte
    Consultant - SAP ABAP</i></b>

    hI
    Screen Exit is nothing but enhancing the screen like creating some more fields, subscreen and so on.
    1. Go to the screen>System>Status-->Program (Double
    click this program. It will take you to the program.
    2. Now, Goto-->Object Directory Entry.
    3. Make a note the package name.
    4. Now run the transactions SMOD, press F4 and enter the
    above noted package, press enter.
    5. It will display list of Exits.
    6. Now go back to the initial screen SMOD.
    7. Specify the exit name here and select the radio button
    Components.
    8. It will display four group boxes one for FM, second
    for Fcodes, thrid for Screen areas and last for
    includes.
    9. Goto transaction CMOD, create a new project, and
    click the button "Enhancement assignments" and
    specify your enhancements that you got in SMOD.
    10. Now bouble clikc the enhancement, it will take you to editor with some includes starting with Z, double clikc the include you want to edit and proceed.
    Have a look at below link It will definately help you to undestand the same.
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    check these links.
    http://help.sap.com/saphelp_46c/helpdata/en/c8/1975e643b111d1896f0000e8322d00/frameset.htm
    http://www.allsaplinks.com/screen_exit.html
    USER EXITS
    https://forums.sdn.sap.com/click.jspa?searchID=672084&messageID=312792
    https://forums.sdn.sap.com/click.jspa?searchID=672084&messageID=1320078
    https://forums.sdn.sap.com/click.jspa?searchID=672084&messageID=2669896
    How to implement screen exit for a SAP standard transaction
    Introduction
    SAP provides standard transactions to enter data into database. But a client may want to maintain some additional information in SAP other than what is provided.
    To make provisions for this, additional screens have to be provided and additional fields must be added into appropriate database table.
    To pave way for this, SAP has provided the option for screen exits. Usually, SAP provides the following:
    An append structure in the database table with the new fields.
    A subscreen area into the standard screen – where the programmer can attach his subscreen of his own program with the new fields.
    A function group under which the new subscreen has to be created with the new fields.
    Function exits to synchronize the PBO and PAI of the standard SAP program with the PBO and PAI of the subscreen – so that data can flow back and forth between the standard SAP program and the program written by the developer for the subscreen. These function modules also exist in the same function group under which the subscreen will have to be developed.
    Finally, a linkage has to be done between the subscreen area of standard SAP screen with the custom subscreen constructed by the developer.
    Typically, SAP provides an enhancement in which the developer can create an append structure, use the function exits to synchronize the PBO and PAI of the standard SAP program and the custom subscreen program, and make the necessary linking( as mentioned above in step 4. But, again, this is not a hard and fast rule. Linking in some case, is also done by configurations.) SAP also usually provides the name of the function group under which the subscreen has to be developed.
    Necessary guidance about implementing a screen exit development is usually available in the Documentation section of the enhancement ( can be availed by transaction SMOD).
    Pre-Requisites
    The developer to work on screen exit should have essential knowledge on the following:
    DDIC concepts, including the knowledge of append structure.
    Concept of SAP Enhancements and implementing them using Projects.
    Concept of function exits.
    Knowledge on Module Pool – including subscreens, Tabstrip controls etc.
    Steps
    Guidelines
    So, a developer can follow the guidelines mentioned below to implement a screen exit to a standard SAP transaction, as and when required:
    Find out the Required Enhancements
    Go to SMOD. Press F4 in the Enhancement field. In the next popup window, click pushbutton ‘SAP Applications’. A list will appear that contains information on all the enhancements, categorized under functional areas. Developer must search for the enhancements relevant to his functional area of interest – for e.g., Purchasing, Asset Accounting, etc.
    Note down the enhancements. Then, come to the initial screen of SMOD and view the documentation of each enhancement to find out which one is required for your development.
    Utilize the Enhancement in a Project
    After you have found one, do as directed in the documentation. Generally, the steps are as follows:
    Create a project using CMOD including your enhancement.
    Create the append structure with new fields.
    Go to the desired function group and create a subscreen with the new fields. Write PBO and PAI for the subscreen, if required.
    Use the function exits in the enhancement to link the PBO and PAI of the subscreen with that of the main SAP program supporting the SAP transaction.
    Maintain necessary linkage between the subscreen area of standard SAP program with the custom subscreen developed along with the custom program name. This can be done in the project (developed by CMOD including the enhancement) or outside as a part of configuration.
    Activate the project.
    Test to ensure that required functionality are met.
    Case Study 1
    Add three new custom fields for Asset master and maintain information for them
    Requirement
    Three fields in the legacy system have to be maintained in Asset master. These fields are:
    Original Asset number – 20 characters
    Location 2 – 15 Characters.
    Model no – 20 characters
    Location 2 should start with ‘L’.
    Pre-Analysis
    Finding out the Enhancement
    As described above, the enhancement is determined. It was found, that enhancement AIST0002 will serve the purpose. It contains the following components (can be viewed by transaction SMOD):
    Exit Type Description EXIT_SAPL1022_001 Function Exit Check of User-Defined Fields when Using Create and Change BAPI EXIT_SAPLAIST_002 Function Exit Transfer Data for User Subscreens in PBO. EXIT_SAPLAIST_003 Function Exit Transfer of User-Defined Fields to SAP Master Data Transactions CI_ANLU Customizing Include Include structure to add new fields
    Studying the Function Exits
    The function module level documentation for the function exits are then viewed from transaction SE37. The documentation clearly laid out for the purpose for their use:
    EXIT_SAPLAIST_002
    Function module Level Documentation
    This function module is called by asset master data maintenance at the start of the dialog. (When changing, it is called after reading of the data from the database; when creating it is called after the transfer of the default values from the asset class and reference asset.) The purpose of the function module is to enable this function group to recognize the master data. For interpreting or controlling master data fields that are important for user fields, it is possible to transfer to global variables at this point, so that they can be recognized when the user subscreens are processed.
    Import Parameters
    Understanding
    This function module is called at the PBO to pass the information retrieved from the database to pass them to the custom subscreen and its underlying program. Import parameter : I_ANLU will be populated with the values for user-defined fields which will be passed to the subscreen program. So, there must be some sort of variable assignment from I_ANLU.
    EXIT_SAPLAIST_003
    Function module Documentation: This function module is called by SAP asset master data maintenance after the screens are processed, but before saving. The purpose of the function module is to transfer fields entered on user sub-screens of SAP asset data maintenance to the database for updating. The export parameter for this function module is:
    Understanding
    This function module will be used to transfer the user entered data in the subscreen fields to the main SAP program, which will then be saved into the database.
    Studying the Documentation of the Enhancement
    The enhancement documentation (as is viewed from the initial screen of SMOD] also supports the idea. Moreover, it informs that we need to develop a subscreen under function group XAIS. This is the function group under which the two function exit modules also exist. So, if the custom subscreen refers to the global data of the function group XAIS, then those values will also be available to these function exits as well.
    Going to SE80 and viewing the function group XAIS helps us to inform that there are three DDIC tables declared for it:
    Deciding the Final course of Action
    After making all the investigations, the final course of action was determined.
    SrlNo Step Justification
    A project has to be created using transaction CMOD where the enhancement AIST0002 will be included.
    Customizing include CI_ANLU has to be created with the custom fields demanded When CI_ANLU will be developed, the custom fields will get appended to the database table ANLU. Also, these fields will be used to create screen fields in the new subscreen.
    A custom subscreen, say, 9000 will be developed under function group XAIS. The screen group for the screen will be ‘CUST’ (or any name). The three custom fields added to table ANLU (by creating CI_ANLU) will be used to create new fields in the screen.
    In the PAI of the subscreen, validation for Location to start with ‘L’ will be added. The subscreen with three new fields has to be developed so that it can be attached to a subscreen area of the asset master screens.
    In the custom include of the function exit module ‘EXIT_SAPLAIST_002’, the following code will be written:-
    ANLU = I_ANLU. I_ANLU is the import parameter of this FM. The value is assigned to the global variable ANLU, referring which the three new subscreen fields are developed. So, data retrieved from database table ANLU will be passed to this FM as I_ANLU by the standard SAP main program. The value will be taken and passed to the global variable of the function group XAIS, so that the three custom fields (referring to ANLU of XAIS) get populated.
    In the custom include of the function exit module ‘EXIT_SAPLAIST_003’, the following code will be written:-
    E_ANLU = ANLU. The changed values in the subscreen fields exist in global variable ANLU for the function group XAIS. This function exit module will pass the data back to the SAP main program as E_ANLU.
    Proper linkage/configuration has to be done so that the new subscreens get linked to the appropriate subscreen area of the Asset master screen. This has to be done – otherwise, the new custom subscreen will not be displayed in the Asset master screens.
    Development
    Creating a Project to include the enhancement
    Go to transaction CMOD and create a project.
    Enter a description for the project. Then, click on the pushbutton ‘Enhancement Assignments’ in the Application Toolbar.
    Enter the name of the enhancement and Save.
    Go to ‘Components’.
    Creating Custom Include for ANLU
    The screen shown below will appear, showing all the enhancement components under the assignment AIST0002. Double-click on the name of the Include Structure to create it.
    Create the include structure with three new fields, as required. Then, save and activate it.
    Develop the subscreen and the program
    Go to transaction SE80. For the function group XAIS, create a new subscreen 9000.
    Create it as subscreen.
    Then, go to the Layout of the screen and create three new fields from Database table ANLU.
    Drag the fields in the screen body and place them.
    Then, save and activate the screen and come back to screen flow editor.
    Create the PAI module to add validation for field “Location 2”, as required .
    Activate the whole function group and come out.
    Write code in the Function Exits to synchronize the programs
    Now, code has to be written in the function modules EXIT_SAPLAIST_002 and EXIT_SAPLAIST_003 so that data flows to and fro between the main SAP program and custom subscreen program. For that, go back to transaction CMOD and change the function exits.
    Write code in the function module EXIT_SAPLAIST_002 called once at the beginning of the transaction:
    Write code in EXIT_SAPLAIST_003 to pass the data from the subscreen to SAP main program.
    Then, activate everything – the whole project and come out.
    Complete the configuration to link the subscreen
    The development portion is complete. Now, linking of the subscreen has to be done with the subscreen area of the main program. In most of the cases, this linking can be done in the enhancement itself. But, here, requirement is a bit different. It is done by configuration using SPRO.
    Assets are created under Asset class. And for each asset class, there is a layout assigned to it. For a layout, there are multiple tab pages assigned to it. And, for each tab page, there are multiple screen groups/field groups assigned.
    Here, the requirement is to create these three custom fields in the tab page ‘General’ of asset master screen ( AS01/AS02/AS03/AS91).
    Determine the Layout
    To achieve this, first of all, we need to find out which layout is assigned to asset class 1000.For that, go to transaction AOLK( information has to be obtained from functional consultant).Select the Asset Class ‘1000’ and click on folder ‘General Assignment of Layout’.
    Here, for Asset class 1000, for all the user groups, tab layout SAP is assigned. Since layout ‘SAP’ cannot be changed, it has to be copied and manipulated to include our screen group. Later, the new layout has to be assigned over here.
    Create new tab layout
    Go to transaction AOLA. Copy the tab layout ‘SAP’ to create another layout, say, YSUB.
    System will copy all the settings and will inform you about that.
    Select your newly created layout and double-click on the folder ‘Tab page titles’.
    You want to put your custom fields in the tab page “General”. So, select this tab page entry and double-click on the folder "Position of Groups".
    Here, all the field groups currently residing in the tab-page “General” are shown. Add an entry for your newly created fields.
    Select the group box from the list. An entry will come with “U” padded with the custom subscreen prepared by you.
    Then, save and come out.
    Assign the new Layout to Asset Class
    Now, go to tcode AOLK and assign tab layout YSUB for asset class 1000.
    Save and come out.
    Test the Exit
    Everything is over. Now, go to transaction code AS01/02/03 or AS91 to deal with an asset of asset class 1000. You will see your new fields added to the screen. Add values to them…save. Then, enter into the tcodes again to see whether the values entered by you are being displayed or not.
    Original Source: ittoolbox.com
    Screen Exit is nothing but enhancing the screen like creating some more fields, subscreen and so on.
    1. Go to the screen>System>Status-->Program (Double
    click this program. It will take you to the program.
    2. Now, Goto-->Object Directory Entry.
    3. Make a note the package name.
    4. Now run the transactions SMOD, press F4 and enter the
    above noted package, press enter.
    5. It will display list of Exits.
    6. Now go back to the initial screen SMOD.
    7. Specify the exit name here and select the radio button
    Components.
    8. It will display four group boxes one for FM, second
    for Fcodes, thrid for Screen areas and last for
    includes.
    9. Goto transaction CMOD, create a new project, and
    click the button "Enhancement assignments" and
    specify your enhancements that you got in SMOD.
    10. Now bouble clikc the enhancement, it will take you to editor with some includes starting with Z, double clikc the include you want to edit and proceed.
    and you just go through these links also
    Screen exit
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    screen-exits
    Check the following link.
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=how%20to%20find%20screen%20exits&cat=sdn_all

  • Error while creating a new entity row in Create Page

    Hello all,
    I am facing a problem while coming to the Create Page from the Search page.In the process request of the controller i am initializing the row of the table like below
    public void createxx()
    xxVOImpl vo = this.getxxVO1();
    vo.setMaxFetchSize(-1);
    if (!vo.isPreparedForExecution())
    vo.executeQuery();
    Row row = vo.createRow();
    vo.insertRow(row);
    row.setNewRowState(Row.STATUS_INITIALIZED);
    which has a primary key while initializing only i am getting bellow exception.
    oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for xxEO
    Kindly help

    Hi,
    replace
    xxVOImpl vo = this.getxxVO1();
    vo.setMaxFetchSize(-1);
    with
    OAViewObject vo = getxxVO1();
    vo.setMaxFetchSize(0);
    Thanks,
    Gaurav

  • Creating Page Format In Quality

    I want to create a new page format, for the purpose I did the following...
    spad-> Full Administration-> Device Types-> Page Format-> Change-> Create-> (Page Format=ZA4, Orientation=Landscape, Paper Size (Width=215 mm, Height=300 mm))
    When I click on save, a pop window opens and shows the massage Object can only be created in SAP package
    Pressing enter it asks Package under attributes
    What to select in Package is my problem? Please help....
    Lalit Kumar

    On the save Option Select Local object or Enter $TMP in the package field.
    it is not working:
    *Create a package in SE80.
    And enter the package name.*
    Can you please  provide me the steps to create package??
    Lalit Kumar

  • HT4641 I have recently upgraded to Pages 5.1.  I can't open any of my previously created Pages docs because I am told they are too old and have to be saved in Pages'09 first. I don't have Pages '09. How do I open them?

    I am technologically challenged senior citizen who recently upgraged to Pages 5.1 from what I think was iWorks '08.  I now find that I am not able to open any of my important previously created Pages documents.  I receive a pop-up that tells me that they are too old and must be saved in Pages'09 first.  I no longer have the disk for iWorks 08 and don't have Pages '09 on my iMac.  Any ideas how I might get these documents open?

    You should have the old Pages '08 inside the iWork folder, inside your Applications folder.
    Open your old files in Pages '08 > Menu > File > Export > Word
    Pages 5 can then open that Word file.
    Peter

  • How to create two employees with same name as supplier record?

    Dear all,
    We need to create a supplier record for an employee so that we can issue invoice for pretty cash payment. If there are 2 employees with same name, how can we create supplier records for these 2 employees? The system does not allow duplicate supplier name.
    Please advise.
    Regards,
    HY

    Hello,
    In R12 it is possible to create 2 employee with same name but different employee number.
    And also possible to create these 2 employees as suppliers in Payables.
    HTH,
    Vik

  • How to create page breaks in numbers?

    How do I create page breaks in iCloud Numbers?   The spreadsheet I created is 4-5 pages long, but it saves as one long scrolling document, and when it prints, all 4-5 pages are seen (very small, unreadable font) on a single page.  Any ideas?
    Thanks!
    Dave

    This excel feature is not exactly available in Numbers.
    Here we may create up to 255 sheets in a document. They are reachable from the thumbnails area.
    And each sheet may embed up to 255 tables also reachable from the thumbnails area.
    Think different or use Excel !
    Yvan KOENIG (from FRANCE mardi 23 juin 2009 12:20:18)

Maybe you are looking for

  • How do I get my Calendar Updates to sync with my Iphone?

    How can I get the information from my Calendar and Contacts on my Mac to sync with my IPhone?

  • Using Node Manager to start Managed Server in WLS6.1

    I get a following exception when i am trying to start a managed server on a           different host thru the Admin Console and was wondering if anybody can help           me figure out what is going wrong.           Thanks           Kunjan          

  • Discoverer & Apps Custom Function 4i to 10.1.2 [APPS_SECURE]

    Has anyone tested the utilisation of the existing functionality in 4i and Apps 11i, where we can create custom FUNCTIONs on the Apps MENUs, which allow us to create a function that initiates a link to a specified Discoverer workbook "Seamlessly" (ie.

  • Remove eprint job with HP Connected

    Hello, I'm really disappointed. I have launched a job with google cloud print by error (around 200 pages of a document).  I just want to remove this job in ePrintCenter. ePrintCenter redirect me to HP Connected new website but I don't see in the UI a

  • Why won't PS/CS5 open with newly installed Mac OSX 10.9 (Mavericks)?

    I've just installed Mavericks on my MacBook Pro (before trying it on my iMac). The only incompatible s/w identified in the installation process was DivX. Photoshop (CS5), however, refuses to open, at all. No compatibility issues have been reported, s