Custom Jsp in Screen Flows

I am trying to implement a screen using a custom jsp in a screenflow wthin studio 6.0. Following the documentation and examples with 5.7 I am using the Fuego tag library within a JSP to output a simple message variable. However I am currently unable to get this simple case to work, and would appreciate any assistance. Note The bpm instance variable is available using EL, but currently a NullPointerException is being thrown when using the f:fieldValue tag to access the same variable.
Here is the jsp code:
<%@ page session="true"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="http://fuego.com/jsp/ftl" prefix="f" %>
<html>
  <body>
   Hello World <br>
   <c:out value="${jspData.message}" /> <br>
   <f:fieldValue att="jspData.message" onlyValue="true" /> <br>
  </body>
</html>
scenario 1. <br>
If I remove the fieldValue tag then I get this jsp successfully compiled and displayed in workspace.
<br>
scenario 2. <br>
If I keep the fieldValue tag then I get following exception. <br>
java.lang.NullPointerException
     at fuego.type.FuegoClass.loadFromDisk(FuegoClass.java:236)
     at fuego.type.FuegoClass.access$100(FuegoClass.java:43)
     at fuego.type.FuegoClass$LazyRef.get(FuegoClass.java:932)
     at fuego.type.FuegoClass.forName(FuegoClass.java:134)
     at fuego.xobject.runtime.XObjectInstance.initObjectType(XObjectInstance.java:1279)
     at fuego.xobject.runtime.XObjectInstance.initilize(XObjectInstance.java:1711)
     at fuego.xobject.runtime.XObjectInstance.<init>(XObjectInstance.java:156)
     at fuego.xobject.runtime.XObjectInstance.<init>(XObjectInstance.java:121)
     at fuego.taglib.tags.fo.FieldValueTag.postEvaluateAttribute(FieldValueTag.java:88)
     at fuego.taglib.tags.fo.BaseFieldTag.evaluateAttribute(BaseFieldTag.java:116)
     at fuego.taglib.tags.fo.BaseFieldTag.doStartTag(BaseFieldTag.java:44)
     at org.apache.jsp.webRoot.customJSP.hello_jsp._jspx_meth_f_fieldValue_0(hello_jsp.java:113)
     at org.apache.jsp.webRoot.customJSP.hello_jsp._jspService(hello_jsp.java:68)
     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
     at java.security.AccessController.doPrivileged(Native Method)
     at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
     at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
     at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
     at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
     at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
     at java.security.AccessController.doPrivileged(Native Method)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
     at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
     at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
     at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
     at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:66)
     at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:81)
     at java.security.AccessController.doPrivileged(Native Method)
     at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:293)
     at fuego.web.execution.servlet.ServletExternalContext.redirectView(ServletExternalContext.java:128)
     at fuegoblock.net.web.NewJspController.forward(NewJspController.java:95)
     at fuegoblock.net.web.NewJspController.service(NewJspController.java:53)
     at fuego.web.execution.servlet.ServletRedirector$ControllerRedirector.forward(ServletRedirector.java:196)
     at fuego.web.execution.servlet.ServletRedirector.redirect(ServletRedirector.java:59)
     at fuego.web.papi.TaskExecutor.processRedirect(TaskExecutor.java:182)
     at fuego.web.papi.TaskExecutor.execute(TaskExecutor.java:71)
     at fuego.workspace.servlet.ExecutorServlet.doAction(ExecutorServlet.java:112)
     at fuego.workspace.servlet.BaseServlet.doPost(BaseServlet.java:229)
     at fuego.workspace.servlet.BaseServlet.doGet(BaseServlet.java:220)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
     at fuego.workspace.servlet.AuthenticatedServlet.service(AuthenticatedServlet.java:53)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
     at java.security.AccessController.doPrivileged(Native Method)
     at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
     at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
     at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
     at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
     at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
     at java.security.AccessController.doPrivileged(Native Method)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
     at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
     at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
     at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
     at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:66)
     at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:81)
     at java.security.AccessController.doPrivileged(Native Method)
     at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:293)
     at fuego.web.execution.servlet.ServletExternalContext.forwardInternal(ServletExternalContext.java:197)
     at fuego.web.execution.servlet.ServletExternalContext.processAction(ServletExternalContext.java:110)
     at fuego.workspace.execution.WorkspaceInteractiveExecution.dispatchComponentExecution(WorkspaceInteractiveExecution.java:92)
     at fuego.web.execution.InteractiveExecution.invokePrepare(InteractiveExecution.java:334)
     at fuego.web.execution.InteractiveExecution.process(InteractiveExecution.java:189)
     at fuego.web.execution.impl.WebInteractiveExecution.process(WebInteractiveExecution.java:55)
     at fuego.web.execution.InteractiveExecution.process(InteractiveExecution.java:217)
     at fuego.web.papi.TaskExecutor.runInstanceTask(TaskExecutor.java:414)
     at fuego.web.papi.TaskExecutor.execute(TaskExecutor.java:65)
     at fuego.workspace.servlet.ExecutorServlet.doAction(ExecutorServlet.java:112)
     at fuego.workspace.servlet.BaseServlet.doPost(BaseServlet.java:229)
     at fuego.workspace.servlet.BaseServlet.doGet(BaseServlet.java:220)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
     at fuego.workspace.servlet.AuthenticatedServlet.service(AuthenticatedServlet.java:53)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
     at java.security.AccessController.doPrivileged(Native Method)
     at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
     at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
     at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
     at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
     at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
     at java.security.AccessController.doPrivileged(Native Method)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
     at fuego.web.filter.CharsetFilter.doFilter(CharsetFilter.java:73)
     at sun.reflect.GeneratedMethodAccessor142.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
     at java.security.AccessController.doPrivileged(Native Method)
     at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
     at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
     at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:217)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:197)
     at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
     at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
     at java.security.AccessController.doPrivileged(Native Method)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
     at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
     at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
     at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
     at java.lang.Thread.run(Unknown Source)
<br>
Could someone suggest why I am getting this NullPointerException?
Thanks<br>
Manish<br>

Hi,
We built this simple java class file (which will give Hello output) and called thru jsp page in Oracle Apps 11i and it didnt work with Jinitiator.
1.3.1.21. It gave some Class DefNot Found error in jinitiaor console.
I then deployd Sun Jre 1.6.0_07 for Oracle Apps 11i and the same worked fine.
this is our code:
package oracle.forms.handler;
import java.awt.*;
import java.applet.*;
public class MMEpay extends Applet {
public void paint(Graphics g) {
     try {
g.drawString("Hello", 5, 15);
}catch (Exception e) {
I would like to know is it because of the Jinitiator version 1.3.1.21 (which was based on Sun JRE 1.3.1.21).
Rgds,
Thiru

Similar Messages

  • How to display array values in jsp of screen flows

    Hi,
    can u please help me .
    I am having one array variable i have stored all the values but i have to display that in JSP page .how to display
    Edited by: user12171025 on Nov 4, 2009 11:11 PM

    Hi,
    I think that its necessaries to use AJaX.
    I am implemeting something like that.
    I have a input text that works like a filter and depends on what my user types in input text I populate my table with some information.
    In order to do that, I put in my JSP a div with an Id and I used ajax, like that:
    function ajaxFunction()
              var xmlhttp;
              if (window.XMLHttpRequest)
              xmlhttp=new XMLHttpRequest();
              else if (window.ActiveXObject)
              // code for IE6, IE5
              xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
              else
              alert("Your browser does not support XMLHTTP!");
              xmlhttp.onreadystatechange=function()
                                                      if( xmlhttp.readyState==4 )
                                                           document.getElementById("tabelaResponsaveis").innerHTML = xmlhttp.responseText;
         var resp = "<f:invokeUrl var='solicitacao' methodName='getResponsaveis'/>";
         xmlhttp.open("POST",resp,true);
         xmlhttp.send(null);
    getResponsaveis is a method inside my BPM that returns a HTML code (the table HTML code with all the information that I need to show.
    I Hope to help
    Thanks Marcos

  • Call Custom JSP from Screenflow JSP

    I need to call a static custom JSP(JSP2.jsp) from Screen flow JSP(JSP1.jsp) in Oracle BPM Studio while running Workspace.
    How do I do it? What will be the context path of JSP2.jsp while running workspace?
    JSP1.jsp has some context path created by Workspace. Where to keep my this custom JSP2.jsp and what is the path to call the same?
    I have tried giving/putting this static custom JSP.jsp in some other web server URL and worked fine. I want it to be inside my BPM Studio and need to be that path. It didn't work by just giving "JSP2.jsp" in the same folder structure of screen flow JSP1.jsp.

    The only thing i can think of, is that you aren't including the taglib.... The following works for me... (I keep my js files in a js folder in the webResouces, and css in a css folder... )
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <%@ page session="true" language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
    <%@ taglib uri="http://fuego.com/jsp/ftl" prefix="f" %> 
    <html>
         <head>
              <link href="<f:webResources relativePath='css/Avio-JCI.css'/>" rel="stylesheet" type="text/css">
              <script type="text/javascript" src='<f:webResources relativePath="js/jquery-1.4.2.js"/>'></script>
    . . . . . HTH,
    -Kevin

  • Screen Flows Not Working Correctly

    We are using OPM 10.2.
    We decided to extensively use screen flows because we had a requirement wherein the user should be allowed to navigate back and forth on the OPA screens.
    If we do not use screen flows the following screnario occurs..
    We've a rule which is satisfied if all attributes on Screen1 Screen2 and Screen3 are known.
    User enters details on Screen1 and Screen2, but he wants to navigate back from Screen3 to Screen1, he reaches Screen1 by hitting browser Back twice, but when he again hits
    Submit on Screen1 he's directly navigated to Screen3 skipping Screen2. This is because all attributes on Screen2 had been collected in first iteration.
    We used screen flows expecting that this would force the required screen order, but it is also behaving in similar way.
    Does it have any thing to do with the way the rules are written.
    Thanks In Advance.

    Hi user1002818,
    The reason that the screens aren't being displayed again is because then engine has the data which was collected on those screens - from a rules point of view there is no need to display them again. To enforce a particular forward/backwards flow we have Interview Flows, which it sounds like you've already started to use.
    One of the reasons that OWD doesn't support an OOTB 'back' button is because navigating backwards in a session has the possibility of invalidating data 'upstream' in the interview. e.g. I fill in some personal details on one screen, on screen 2 I say that I have children, and on screen 3 I create children instances. When I navigate back and change my previous answer to 'I do not have children' what happens to the children instances which I've created? Semantically my session is now invalid. It's a choice left up to the customer/project as to how they want to manage their session validity (delete the data, show the data and ask the customer if it's valid or just do nothing).
    One way to achieve what you want to do would be to author rules as normal and manage the screen flows via a simple push/pop stack implementation which keeps track of screen submissions and data entered on those screens. This will give you the flexibility to both delete invalid data or display it to the user again as you wish
    Could you tell me which project it is that you're working on at the moment please? I'm working on large UK project at the moment and the OPA team is providing support to achieve something very similar.

  • Add organization lookup to custom JSP

    Hi Experts !
    i am trying to add organization lookup link in my custom JSP pages i have added to OIM. the code of my page is given below. when i click on the link for "View Lookup Details", the pop up screen has following message displayed :-
    INCORRECT_FIELD_LIST
    list of fields is incorrect
    the code of the page is given below :
    <%@taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
    <%@taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
    <%@ taglib uri="/WEB-INF/tld/xellerate-tags.tld" prefix="tctags" %>
    <%@ page import="com.thortech.xl.webclient.util.FormField" %>
    <%@ page import="com.thortech.xl.webclient.actions.tcLookupFieldForm" %>
    <%@ page import="com.thortech.xl.webclient.actions.tcActionForm" %>
    <%@ page import="com.thortech.xl.webclient.util.tcMessageResourcesUtil" %>
    <html:html>
    <link rel="stylesheet" type="text/css" href="<%=contextPath%>/css/style.css">
    <link rel="stylesheet" type="text/css" href="<%=contextPath%>/css/calstyle_all.css">
    <body >
    <html:form name="appointmentForm" action="/appointment" method="post">
    Create Designation
    <table border="0" align="center" class="A11" >
         <tr>
    <td align="left" class="grbx" valign="top">
    ID
    </td>
    <td height="6px"/>
    <td align="left" class="Input.textStyle" valign="top" >
    <html:text property="id" />
    </td>
    </tr>
              <tr>
    <td align="left" class="grbx" valign="top">
    Name
    </td>
    <td height="6px"/>
    <td align="left" class="Input.textStyle" valign="top" >
    <html:text property="desigName" />
    </td>
    </tr>
    <tr>
    <td align="left" class="grbx" valign="top">
    Description
    </td>
    <td height="6px"/>
    <td align="left" class="Input.textStyle" valign="top" >
    <html:text property="desigDescription"/>
    </td>
    </tr>
         <tr>
              <td align="left" class="grbx" valign="top">
                   Organization
              </td>
              <td width="35px">
              </td>     
              <td class="ControlLabel">
                   <tctags:lookupfield name="appointmentForm"
    property="desigOrg"
    windowheight="500"
    windowwidth="500"
                   lookupAPI="-2"
    methodName="findOrganizationsFiltered"
    className="Thor.API.Operations.tcOrganizationOperationsIntf"
    columnNames="Organizations.Organization Name, Organizations.Status"
                   selectionColumn="Organizations.Organization Name"
    columnLabelKey="request.requestDetail.organization"
    htmlFormName="appointmentForm"
    styleClass="Fields"
    iconsrc="images/lookup.gif"
    tabindex="6"
    maxlength="50"
    fixedFilter="Organizations.Status:Active" />
              </td>
         </tr>
              <tr height="100px">
              <td height="50px"/>
              </tr>
              <tr>
    <td height="50px"/>
    <td height="50px"/>
    <td align="right" class="grbx" valign="top" >
    <html:submit property="appt_saveCreate">Save</html:submit>
    <html:button property="clear" value="Clear" onclick="clearForm()" />
    <html:cancel property="appt_cancelCreate">Cancel</html:cancel>
    </td>
    </tr>
    </table>
    </html:form>
    </body>
    </html:html>
    Any mistake i am making? (must be otherwise it would have been working :-) )
    Best Regards

    oookay got it going :-) . Was just a matter empty space in
    columnNames="*Organizations.Organization Name, Organizations.Status*"
    advice to myself....read logs carefully :-D

  • New Screen Flow entry for Approval Workflow

    Hi,
    Can anyone please help me with this? I have a requirement where I need to provide a link on a JSPDynpage to the default approval workflow screen for any KM folder. We already have links to standard permissions and subscription screens which can be called via a url which looks something like this:
    http://<host>:<port>/irj/servlet/prt/portal/prteventname/HtmlbEvent/prtroot/com.sap.km.cm.command?Uri=/documents/Public%20Documents/Test%20Folder&isp=permissions
    For this we had created a new entry under Screen Flow (System Configuration->KM->CM Configuration->User Interfaces->Mapping->Screen Flow) and provided the java class for the Permissions screenflow. When I try the same for approval workflow however it does not work. In short, when I create a new Screen Flow Entry e.g. "approval" and specify the Java class for approval screenflow (com.sapportals.wcm.rendering.screenflow.cm.ApprovalScreenflow) and then use the URL
    http://<host>:<port>/irj/servlet/prt/portal/prteventname/HtmlbEvent/prtroot/com.sap.km.cm.command?Uri=/documents/Public%20Documents/Test%20Folder&isp=approval
    it does not work. Does anybody know why approval workflow works differently and how I can remedy the situation? Any help would be appreciated.
    Thanks,
    Shibendra

    Hi,
    The Custom Dialog Task No. you have to assign.
    1) Go to std. Workflow note all the Std. Task Maintain in SWFVISU, Note all the Parameters
    2) Similarly for the Respective Custom Task, Assign the Same for your Custom Workflow.
    Regards,
    Surjith

  • Custom Defined Fields Not Flowing to SUS

    Hi,
    Ours is MM-XI-SUS scenario.All the custom defined fields are flowing from MM to XI.But not from XI to SUS.
    We have done SPROXY also in SUS.
    Is there any mapping between XI -SUS which needs to be done?
    Please advise.
    Regards,
    Manu

    Hi,
    For User-defined fields in SUS
    Please refer to these SAP OSS notes ->
    Note 762984 - SRM40-SUS: Implementation of customer enhancement fields
    Note 458591 - User-defined fields: Preparation and use
    Note 672960 - User-defined fields 2
    Note 1035416 - Customer fields are not displayed in change mode
    Note 822424 - CUF. Customer fields cannot be changed in the bid
    Note 809630 - Customer field in bid invitation and bid - How does it work?
    Note 809628 - Table like customer fields from bid invitation in bid
    Note 798731 - Bid: Bid Inv. Customer fields not visible
    Please refer to these links for details ->
    Re: How to change the field name in SUS
    SUS Web Template Query
    Re: SC header CUF ?
    Re: MAP USer SRM defined fields in backend for PO
    Re: HI SRM experts...
    Custom fields to a Bid Invitation
    Addition of custom fields in Contract and mapping it with the fields in SRM
    urgent help request - How to add custom fields to  header BID.
    Re: Add custom fields to Contract Transaction in SRM 4.0
    Custom Fields
    custom fields in Carry out sourcing screen..
    Custom Fields Not Display In Basic Data In SRM 5.5 Server..
    SC : Extended  Search on Header Customer field
    Re: customer field in 3rd step of shopping cart
    Adding fields in shopping cart
    Custom Field in the header of Shopping Cart
    BR,
    Disha.
    Pls  reward points for useful answers.

  • Setting environment for a new custom JSP

    Hi All,
    I have created a new custom jsp,Calling teh API is not working as apps initialization is not happening. When we printed the user id,application id etc it was coming as null. How to initialize apps in JSP.
    Thanks,
    Shreya

    Below code might be useful.
    <%@ page language="java" errorPage="OAErrorPage.jsp" contentType="text/html"
    import="oracle.apps.fnd.common.WebAppsContext"
    import = "java.io.File"
    import = "oracle.apps.fnd.framework.webui.OAJSPHelper"
    import = "oracle.apps.fnd.framework.webui.URLMgr"
    import = "oracle.apps.fnd.common.WebAppsContext"%>
    <%! public static final String RCS_ID = "$Header: test_fwktutorial.jsp 115.5 2003/05/05 10:20:28 gmallesh noship $"; %>
    <jsp:useBean id="sessionBean" class="oracle.apps.fnd.framework.CreateIcxSession"
    scope="request"></jsp:useBean>
    <%
    response.setHeader("Cache-Control", "no-cache"); // HTTP 1.1
    response.setHeader("Pragma", "no-cache"); // HTTP 1.0
    response.setDateHeader("Expires", -1); // Prevent caching at the proxy server
    response.setStatus(HttpServletResponse.SC_RESET_CONTENT); // HTTP 1.1. Only way to force refresh in IE.
    String dbcFullPathName = oracle.apps.fnd.framework.webui.OAJSPHelper.getWebAppContextInitParameter(pageContext, "DBC_FULL_PATH_NAME");
    System.out.println("dbcFullPathName: "+dbcFullPathName);
    String userName = "fnd_user_name";
    String userPassword = "pwd";
    String appShortName = "product short code";
    String responsibilityKey = "RESP_KEY";
    String dbcName = "DBName";
    String sessionid = sessionBean.createSession(request, response, dbcFullPathName, userName, userPassword, appShortName, responsibilityKey);
    String transactionid = sessionBean.createTransaction(sessionBean.mRespInfo[0], sessionBean.mRespInfo[1], sessionBean.mRespInfo[2], dbcFullPathName);
    //Use flowing webAppsContext to call the API
    WebAppsContext wctx = sessionBean.getWebAppsContext();
    %>
    Regards,
    Peddi.

  • About screen flow (using tag library)

    dear all, i have the following problem...
    according to the sample about using tag library to make the screen flow of jsp pages, i successfully construct the tag for showing pages as needing. it works ok but when the number of pages exceeds 29, an exception arrises:
    Exception:
    java.lang.VerifyError: jsp_eventmanager_html.template
    in which template is the jsp page for the tags... i do try to set the size of the buffer but it does no help.
    can anyone help me solve this problem? thanks in advance...
    yinman.
    null

    sure,
    in the message.jsp
        <p>
        <!-- use messages tag to display errors -->
        <logic:messagesPresent>
          <bean:message key="error.header"/>
            <ul>
              <html:messages id="error">
                <li><bean:write name="error"/></li>
              </html:messages>
            </ul>
         </logic:messagesPresent>
         <p>
        <!-- use messages tag to display messages -->
        <logic:messagesPresent message="true">
          <bean:message key="message.header"/>
            <ul>
              <html:messages message="true" id="msg">
                <li><bean:write name="msg"/></li>
              </html:messages>
            </ul>
        </logic:messagesPresent>in the tablibs.jsp
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>

  • LM01/LM07 - Changing screen flow EXIT_SAPLLMOB_061

    Has anyone modified LM07 screen sequence with a user exit or badi...or custom code?
    I've been asked to modify the screen sequence in LM07.  Specifically, skip the screen to confirm the destination transfer information.  And return to the source pick screen.
    I am sorting the queue with EXIT_SAPLLMOB_061, but this just controls the header table.
    The other exit/badi don't seem to control screen sequence either, except for adding new screens.
    Should screen flow be controlled in config?  I'd like to avoid copying and trying to customize this.
    Thanks for any ideas.

    Moderator message - Welcome to SCN.
    But cross posting in the forums is not allowed.
    Please see Please read "The Forum Rules of Engagement" before posting!  HOT NEWS!! before posting and How to post code in SCN, and some things NOT to do... before posting again
    Cross post locked.
    Rob

  • How to call a concurrent program from a Custom JSP page.

    Hi,
    I have a custom JSP page which i have deployed by creating a form function with the path of the JSP Page
    and added the JSP Page to the OA_HTML top.
    Now, i need to call a concurrent program from the JSP Page, i have all the parameters in my page and i am using the standard class as below:
    ConcurrentRequest cr= new ConcurrentRequest(con);
    int requestId= cr.submitRequest("XXINV",programName,null,null,false,vec);
    I have verified my connection object and it is OK but i am getting the exception that user is not set to run the program.
    I tried the below code in my JSP page and getting -1 for all test variables :-
    int userId = wctx.getUserId();
    int respApplId = wctx.getRespApplId();
    int respId = wctx.getRespId();
    I think i need to set the context in JSP page to run the program..
    Pls help ....
    Regards
    Saurabh Jaiswal

    Hi,
    Thanks for the reply,,,
    This is a possible solution but this will allow to run the program anyhow.
    But the procedure which i call thru callable statement will start with
    fnd_global.apps_initialize (3825, 50603, 704);
    fnd_request.submit_request API call.
    Now, the values of user and Responsibilty is required in the program and it changes.
    With this approach we have to hardcode the user and resp.
    The same JSP page is attached to other responsibilities and there the concurrent program would get fired as if fired from the resp Id hardcoded as above.
    Need to capture user Id and RespId.
    How can i set the apps Context in JSP page???
    Regards
    Saurabh Jaiswal

  • Issue in keeping the InfoView session valid using Custom JSP Open Document

    Hi
    We are using OpenDocument URL in custom JSP to show BO Web Intelligence Document.  The documents are opening fine but some of our WebI documents have links to other WebI document,  when the link is clicked it takes to Info View Login Page.
    If I login and logout once from InfoView then the WebI document links work fine.
    Can you please guide me on how to make the session valid for WebI internal links?  Do I need to create a Cookie or use URL Encoding?
    Following is the sample JSP code:
    <%@ page import="com.crystaldecisions.sdk.exception.SDKException" %>
    <%@ page import="com.crystaldecisions.sdk.framework.CrystalEnterprise" %>
    <%@ page import="com.crystaldecisions.sdk.framework.IEnterpriseSession" %>
    <%@ page import="com.crystaldecisions.sdk.framework.ISessionMgr" %>
    <%@ page import="com.crystaldecisions.sdk.occa.infostore.IInfoStore" %>
    <%@ page import="com.crystaldecisions.sdk.occa.security.ILogonTokenMgr"%>
    <%
    try{
    String systemName = "ServerName";
    String userName = "user";
    String password = "pass";
    String authType = "secEnterprise";
    IEnterpriseSession enterpriseSession=null;
    if (enterpriseSession == null)
    ISessionMgr enterpriseSessionMgr = CrystalEnterprise.getSessionMgr();
    enterpriseSession = enterpriseSessionMgr.logon(userName, password, systemName, authType);
    ILogonTokenMgr logonTokenMgr = enterpriseSession.getLogonTokenMgr();
    String defaultToken = logonTokenMgr.createWCAToken("",20,10);
    response.sendRedirect("http://boServer:port/OpenDocument/opendoc/openDocument.jsp?iDocID=16894&token="+defaultToken);
    catch(Exception e)
    e.printStackTrace();
    %>

    Thanks Aasavari for responding. My problem is solved. 
    I need not create any cookie or create token using getLogonToken
    Some of the URLs in the webi documents were incorrect and so Info View was taking to the Info View Login page.  
    But I am surprised though why info view not complain about incorret and rather takes to the login page.
    Thanks for your help again.

  • Opening a seeded OAF page from custom JSP page.

    Hi All,
    We have requirement to open a seeded OAF page from custom JSP page.
    When we try to open URL of an OAF page after passing URL input parameters, we are always getting following error:
    'You have insufficient privileges for the current operation. Please contact your System Administrator.'
    On directly accessing the seeded OAF page, its encoding all the input parameters passed in URL. Also some more encoded parameters are getting added to the URL dynamically.
    Is there any standard way exists to invoke seeded OAF pages without passing encrypted parameters to it? Also where can we get more details about
    encrypting OAF URL parameters.
    Any pointers would be appreciated.
    Thanks in advance!
    Saurabh

    Have you duplicated entire Customer Service module's menu in your responsibility?
    or Also ping me the menu name..
    --Prasanna                                                                                                                                                                                                                                                               

  • How to Build Custom JSP Page to bypass Oracle Apps Login

    Hi All,
    Can some one guide me how to develop a custom jsp page to bypass Oracle Apps R12 Login.
    Actually Our requirement is some external user will enter the login details in some third party login page with the third party generated username and passwrod, that user's credentials are mapped to oracle system,so as soon as they enter credentials having validated it has to redirect that external user to Oracle Apps R12 Home Page, where responsibilities are shown. Currently that third Party login page is set to redirect to RF.jsp but that is not working and throws this error:
    "You are trying to access a page that is no longer active.
    - The referring page may have come from a previous session.Please select Home to Proceed"
    So I am planning to build a custom jsp page to resolve the error.
    As soon as user enter credentials in the third party login page, it will be redirected to my custom login page which in turn redirect external user to Oracle Apps R12 Home Page, where responsibilities are shown. Is it possible? If yes what JSP Page/Servlet I have to invoke from custom JSP Page and what all URL parameters or session parameters and cookies parameter I have to pass or set.
    Can anybody please help me...
    Its very urgent. We are running short of time. Its a sev 1 issue.
    Please reply soon.
    Thanks,
    Raja Dutta

    Hi,
    Thanks for the update.
    Sir its not about calling the JSP Page from OAF page.
    My requirement is what I have explained above.
    Please suggest its urgent.
    Thanks,
    Raja Dutta

  • Transaction similar to  S_ALR_87012177 (Customer Payment History screen)

    Hello Gurus
    Do you know some other standard transaction similar to S_ALR_87012177 (Customer Payment History screen) ?
    Thanks in advance

    You can see in FBL5N with cleared documents.
    Even you can check with FD10N.
    S_ALR_87012198.
    If it helps please reward points.

Maybe you are looking for

  • E72 problems after hard reset

    Hello... I recently had to reset my phone because an app wouldn't install properly, and couldn't be uninstalled to allow another try. I chose to do a hard reset (holding the keys on startup), and now I'm adding all my apps and games back on.  Half of

  • IWeb '08 and Maveric

    Hi there i am having issues with my new MAC that has Maveric on it. In my previous MAC OS 10.6.8 i had iWeb '08, which application does not work with the new Maveric. I was told by Apple support to find the iLife '09 or iWeb '09 which should solve th

  • Address bar doesn't display correct link when I open a new tab from a previous page, it displays the linkof the original page

    from a web page, right click on a link+open a new TAB. the link correctly opens in a new tab, but it is not displayed in the address bar.

  • Custom transactions execution from base on conifguration table entry.

    Hello, I have a reqiurement where I name of the custom Transaction programs are maintained in a configuration table. I am creating a custom report on whose execution, the selection screen should show the name name of all those transaction proigrams i

  • Final cut pro 5 on intel mac

    ok i have seen ALOT of people do this. and it always works. they make final cut pro 4.5 work on an intel mac bye going to applications right clicking on FCP 4.5 going to show package contents and open up info.plist with text edit then find the AGP in