Problem while passing parameter from standard page to custome page

Hi,
We are calling a custom page from standard page.
Standard page Extended CO
PR
String wcHeader = pageContext.getParameter("WcHeaderId");
pageContext.putTransactionTransientValue("WcHeaderId",wcHeader);
PFR
String wcHeader=(String)pageContext.getTransactionTransientValue("WcHeaderId");
pageContext.putTransactionTransientValue("WcHeaderId",wcHeader);
Till here we are able to put the Parmeter in Tranasction
After calling the custom page from standard page while we are using the Transaction value it is returning null.
Custom page CO
PR
String wcHeader=(String)pageContext.getTransactionTransientValue("WcHeaderId");
we are getting nulll here.
Please provide the solution for this
Thanks,
Narayana

Hi Meher Irk,
i got WcHeaderid value in Custom CO. but i want to set value Custome page to Standard page in custom page i have a total value this value i want to set to Standard page.
Custom CO code
/*===========================================================================+
| Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA |
| All rights reserved. |
+===========================================================================+
| HISTORY |
+===========================================================================*/
package xxbb.oracle.apps.pos.xxwc.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 xxbb.oracle.apps.pos.xxwc.server.WithholdAMImpl;
import oracle.apps.fnd.framework.OAException;
import oracle.apps.fnd.framework.server.OADBTransaction;
import oracle.cabo.ui.validate.Formatter;
import oracle.apps.fnd.framework.webui.OADecimalValidater;
import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
import oracle.apps.fnd.framework.webui.beans.table.OAColumnBean;
import oracle.apps.fnd.common.MessageToken;
import oracle.apps.fnd.framework.*;
import oracle.apps.fnd.framework.webui.*;
import oracle.apps.fnd.framework.webui.beans.table.OATableFooterBean;
import oracle.apps.fnd.framework.webui.beans.message.OAMessageStyledTextBean;
import oracle.apps.fnd.framework.webui.beans.message.OAMessageTextInputBean;
import oracle.apps.fnd.framework.webui.beans.table.OATableBean;
import oracle.apps.fnd.framework.OAApplicationModule;
import oracle.apps.fnd.framework.server.OAViewRowImpl;
import oracle.apps.fnd.framework.webui.beans.nav.OAButtonBean;
import oracle.jbo.domain.Number;
import java.util.Enumeration;
import oracle.apps.pos.wc.webui.WcRespondCO;
//import oracle.apps.pos.wc.webui.*;
* Controller for ...
public class WithholdCO 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);
OAApplicationModule am = pageContext.getApplicationModule(webBean);
String wcHeader=new String();
Formatter formatter=new OADecimalValidater("#,##0.00;(#,##0.00)","#,##0.00;(#,##0.00)");
OAColumnBean columnBean=(OAColumnBean)webBean.findIndexedChildRecursive("Amountcol");
columnBean.setAttributeValue(ON_SUBMIT_VALIDATER_ATTR,formatter);
//String wcHeader=(String)pageContext.getTransactionTransientValue("WcHeaderId");
pageContext.writeDiagnostics(this,"zzzzzz"+wcHeader,1);
if(pageContext.getSessionValue("WcHeaderId") != null&& !pageContext.getSessionValue("WcHeaderId").equals(""))
wcHeader=pageContext.getSessionValue("WcHeaderId").toString();
pageContext.writeDiagnostics(this,"If get session condition "+wcHeader,1);
/* OAMessageTextInputBean item=(OAMessageTextInputBean)webBean.findIndexedChildRecursive("item3");
item.setValue(pageContext,"10");*/
* 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);
if("AdvancedRN".equals(pageContext.getParameter(SOURCE_PARAM))
&& ADD_ROWS_EVENT.equals(pageContext.getParameter(EVENT_PARAM)))
am.invokeMethod("xxInsertRow");
// am.xxInsertRow();
if(pageContext.getParameter("Save")!=null)
am.invokeMethod("xxSaveTransaction");
am.invokeMethod("xxUnitotal");
OAViewObject vo = (OAViewObject)am.findViewObject("TotalVO1");
vo.reset();
vo.next();
OARow totRow = (OARow)vo.getCurrentRow();
Number total = (Number)totRow.getAttribute("Total");
throw new OAException("Records Saved Successfully",OAException.CONFIRMATION);
if(pageContext.getParameter("Delete")!=null)
am.invokeMethod("xxDeleteRow");
am.invokeMethod("xxSaveTransaction");
//am.xxDeleteRow();
// am.xxSaveTransaction();
throw new OAException("Records Deleted Successfully",OAException.CONFIRMATION);
if(pageContext.getParameter("Close")!=null)
pageContext.setForwardURL("OA.jsp?page=/oracle/apps/pos/wc/webui/WcRespondPG&param=FrmWithHoldPG"
,null
,OAWebBeanConstants.KEEP_MENU_CONTEXT
,null
,null
,true
,OAWebBeanConstants.ADD_BREAD_CRUMB_YES
,OAWebBeanConstants.IGNORE_MESSAGES);
Thanks,
Narayana

Similar Messages

  • Problem while passing parameter from report to report.

    Hi
    I'm using forms and reports 10g, hava a problem while passing the parameter from reports to report.
    i'm using srw.set_hyperlink to call report from report.
    i have created a key value in the cgicmd.dat file called
    faccre802005-2006: report=faccre80 destype=cache desformat=pdf userid=<userid/passwd@cs> server=<servername>
    Now in the format trigger i'm using this key value
    function BTN_DEBITFormatTrigger return boolean is
    temp varchar2(5000);
    IP_ADDRESS VARCHAR2(50);
    SERVER_NAME VARCHAR2(10);
    L_ACCT_CODE VARCHAR2(14);
    begin
    SELECT MAST_INT_DESC,MAST_USER_PGM_ID INTO IP_ADDRESS,SERVER_NAME FROM MAST_INT_INFO WHERE MAST_INT_ID='VISHWA';
    temp := IP_ADDRESS||'?faccre80'||:P_FIN_YEAR||'+server='||server_name;
    temp :=temp ||'+'||'P_PREVIOUS_CODE='''||:ACCT_CODE||''''||'+'||'P_COMPANY_CODE='''||:P_COMPANY_CODE||'''';
    temp :=temp ||'+'|| 'P_FROM_DATE='''||TO_CHAR(:P_FROM_DATE,'DD-MON-RRRR')||''''||'+'|| 'P_TO_DATE='''||TO_CHAR(:P_TO_DATE,'DD-MON-RRRR')||''''||'+'||'P_TRUST_CODE='''|| :P_TRUST_CODE||'''';
    temp :=temp ||'+'|| 'P_UNIT_CODE='''||:P_UNIT_CODE||''''||'+'||' P_FIN_YEAR='''||:P_FIN_YEAR||'''';
    temp :=temp ||'+'|| 'P_LEVEL='''||:P_LEVEL||''''||'+'||'P_HEADER='''||replace(:P_HEADER,' ','%20')||''''||'+'||'P_FORMAT='''||:P_FORMAT||'''';
    SRW.Set_Hyperlink(temp);
    END;
    return (TRUE);
    end;
    Report is coming but not the expected result because parmaeters are not coming from first report to second report.
    If i dont use cgicmd file userid and password are displyed in the URL.
    Pl tell me how to pass parameter from one report to another.
    thanks and regards

    Hi
    I got the solution.
    I forgot to add %* at end of the KEY value.

  • Getting error , while passing parameters from one page to another page

    Hello friends,
    i am getting error, while passing parameters from one page to another page, below code i wrote.
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    ArrayList arl=new ArrayList();
    EresFrameworkAMImpl am=(EresFrameworkAMImpl)pageContext.getApplicationModule(webBean);
    ERecordImpl ERecordObj=new ERecordImpl();
    HashMap hMap = new HashMap();
    hMap.put("1",ERecordObj.getTransactionName());
    hMap.put("2",ERecordObj.getTransactionKey());
    hMap.put("3",ERecordObj.getDeferredMode());
    hMap.put("4",ERecordObj.getUserKeyLabel());
    hMap.put("5",ERecordObj.getUserKeyValue());
    hMap.put("6",ERecordObj.getTransactionAuditId());
    hMap.put("7",ERecordObj.getRequester());
    hMap.put("8",ERecordObj.getSourceApplication());
    hMap.put("9",ERecordObj.getPostOpAPI());
    hMap.put("10",ERecordObj.getPayload());
    // hMap.put(EresConstants.ERES_PROCESS_ID,
    if(pageContext.getParameter("item1")!=null)
    pageContext.forwardImmediately(EresConstants.EINITIALS_FUNCTION,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    hMap,
    true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES
    Error(71,2): method forwardImmediately(java.lang.String, byte, null, java.util.HashMap, boolean, java.lang.String) not found in interface oracle.apps.fnd.framework.webui.OAPageContext
    Thanks
    krishna.

    Hi,
    You have imported the wrong class for HashMap.
    Import
    com.sun.java.util.collections.HashMap; instead of java.util.HashMap
    Thanks,
    Gaurav

  • Pass parameter through standard page "import xml content and actions"

    Dear Portal experts,
    As you know, a standard portal page is configured to allow the import of XML file. It is located in the portal in the path system admin -> transport -> xml content and actions -> import
    I configured a quick link u201Cimportu201D to the page so now the link http://myserver:port/irj/portal/import allows me to access directly to this screen.
    What I would like to do now is to pass the parameter related to u201Cfile nameu201D through this screen meaning that I would like that http://myserver:port/irj/portal/ import/filename=C:\test.xml  fills automatically the fields u201CXML fileu201D with  C:\test.xml 
    Please do you know how to achieve this ?
    Thank you very much and regards

    hi,
    @Maksim :
    When user launch an URL like http://myserver:port/irj/portal/ import/*filename=C:\test.xml, he is requested to provide username and password; as this link is a shortcut for the upload xml page, there is a check of authorization and only portal admin that have authorization and permission on this page/iview will be able to upload xml file through the URL. Hope this clarify.
    @Kumar :
    thank you for your answer. What a pity to not be able to pass parameter through standard portal page/iview particularly knowing that we can pass paramater through many kinds of iviews (transactional iview, url iview, VC iview...). I explored some option on file com.sap.portal.ivs.init.par but this was unsuccessful. However, thanks to this [link bellow|http://wiki.sdn.sap.com/wiki/display/Snippets/ComponenttouploadXMLfilewithPCD+objects], I was able to upload through URL the XML file.
    The problem is that I can upload only XML file that are stored in the server not in the local user computer. My requirement is to be able to upload local XML file stored on user's computer.
    If someone could provide and idea/solution, I would be very grateful.
    Cheers

  • Pass parameter FROM webcenter page TO dropped portlet

    Hi All,
    I have created a webcenter page
    I have created a ADF remote portlet
    I have regsitered the portlet as producer under webcenter page "Connection"
    I dragged the portlet on webcenter (jspx) page.
    now, my design requires that, i should be able to pass the paramter called "Country URL" that is available in webcenter page's backing bean TO this dropped portlet's SRC tag of IFRAME.
    is it possible to pass paramter FROM webcenter page's backing bean TO SRC of IFRAME inside dropped portlet ?
    If yes, the how will src refer to webcenter backing URL parameter ? ( like binding ...............)
    yhx
    dd

    The idea stays the same in WebCenter. The technique i have described above does not change when you use ADF portlets.
    There are only a few steps required:
    1) Create the parameter in portlet.xml
    2) assign the parameter to your portlet (also in portlet.xml)
    3) deploy portlet
    4) create a page parameter in webcenter on the page you are dropping the portlet on
    5) assign the page parameter to the value of the portlet parameter
    That's it.
    Notice that the link in the above post of me (from 2010) is about JSR 168 portlets. Since WebCenter PS3, webcenter supports JSR 286 and some things change like you do not need to create the parameter in the oracle-portlet.xml anymore. You can easily do this in the portlet.xml
    This is a more up to date post: http://yonaweb.be/inter_portlet_communication_jsr_286_and_webcenter_11g_ps3

  • How to call form and pass parameter from OA Page

    Hi,
    I have one requirement to call a custom form from OA page by clicking the button and the same time i need to pass one parameter from this
    oa page to that form.
    how to do this by personalization?
    i surfed lot and i got some idea, some one said "pass the value as global variable and receive the global parameter when the new form instance trigger" .
    Can anyone please give about about this ?
    Thanks in advance,
    SAN

    This seems to be related to EBS and since this forum is dedicated to Fusion you might want to post the question to E-Business Suite forums and
    Support forum for EBS customizations.
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • Pass Parameter from main page to include page (subview) and read it ?

    Hello All
    i have an include header.jsp page in main page.jsp ,and i included it by subview.
    i want to pass a parameter ex(screen name) to the subview by using f:param.
    Here is the code in main.jsp:
    <f:subview id="headerSubView">
    <jsp:include page="/commons/header.jsp" flush="true">
    <jsp:param name="screenTitleByJspParam" value="screen2007"/>
    </jsp:include>
    <f:param name="screenTitleByFparam" value="screen2007"/></f:subview>
    Code in header.jsp
    1- <af:outputFormatted value="#{param.screenTitleByJspParam}"/> -- this dose not work
    2- <af:outputFormatted value="#{param.screenTitleByFparam}"/> -- this dose not work (i want this manner)
    So how i can send parameter by ]<f:param and read it by subview uesing adf/jsf tags ?
    Regards
    Mohd.Weshah
    weshah79

    Dear thanassis
    Thanks for you help ,your code is working successfully but my case is the following :
    same your main jsp page but the subview tag in table :
    <%@ page contentType="text/html;charset=windows-1256"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
    <f:view>
    <html>
    <head>
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1256"/>
    <title>main</title>
    </head>
    <body>
    <h:form>
    <afh:tableLayout>
    <afh:rowLayout>
    <afh:cellFormat>
    <f:subview id="header">
    <jsp:include page="header.jsp" flush="true">
    <jsp:param name="pageTitle" value="Modify aa record"/>
    </jsp:include>
    <f:subview>
    </afh:cellFormat>
    </afh:rowLayout>
    </afh:tableLayout> </h:form>
    </body>
    </html>
    </f:view>
    try it the parameter dose not work ,but if you want that code work successfully move the subview out of the table.
    Do you know what is the problem ?
    i want give you another hint maybe it is realted to the same problem, which is in my original page the body tag is adf tag ie(<afh:body>) your code dose not work with that tag until i changed the afh:body to html body.
    Regards
    Mohd.Weshah

  • Passing Parameter from Web Page to Form 6i

    Dear All,
    We are using 9i AS with Form 6i. I want to created a web page for user login and called my application By passing value
    window.open("http://hrtest/dev60cgi/ifcgi60.exe?form=login_form.fmx&width=1000&height=700&
    userid=logme/logme1@test","","width=1000,height=700,top=0,left=0,location=no,directories=no,
    status=no,menubar=no,toolbar=no,maximize=yes,resizable=yes")
    and it successfully run.
    I want to pass additional parameter to my login_form.fmx from web page like User Shift entered by user on logon ?
    Please help me out.
    Regards,
    Khurram

    I got the clue
    pass parameter in your UR
    as
    //hrtest/dev60cgi/ifcgi60.exe?form=LOGIN_FORM_Para.fmx&width=1000&height=700&userid=power/power1@hrtest&otherparams=PAKISTAN=ALLAH"
    Define a :PARAMETER.PAKISTAN on Form
    and write following trigger
    BEGIN
    if :PARAMETER.PAKISTAN = 'ALLAH' then
    message('ALLAH HO AKBAR');
    message('ALLAH HO AKBAR');
    message(:PARAMETER.PAKISTAN||' HO AKBAR');
    message(:PARAMETER.PAKISTAN||' HO AKBAR');
    else
    message('INSH'||:PARAMETER.PAKISTAN);
    message('INSH'||:PARAMETER.PAKISTAN);
    end if;
    END;
    Regards
    Khurram Altaf | Assistant Manager ERP
    Enterprise Resource Planning Department
    Kohinoor Textiles Mills Ltd
    Peshawar Road, Rawalpindi.
    +92.51.5473940-44 ext 250 | +92.333.5256626
    e-mail: [email protected] | web: www.kmlg.com

  • How to handle the date attribute,passing parameter from one page to another

    hi Friends,
    i want to pass data attribute from one page to another page-
    i am passing like below ,in jdev log window i am getting below error.
    String StatusUpdateDate = row.getAttribute("StatusUpdateDate");
    params.put("StatusUpdateDate",StatusUpdateDate)
    Error(121,50): incompatible types; found: java.lang.Object, required: java.lang.String
    Suppose i am passing like below , while moving one page to another i am getting below error in application
    String StatusUpdateDate = row.getAttribute("StatusUpdateDate").toString()
    Status Update Date - JBO-25009: Cannot create an object of type:oracle.jbo.domain.Date with value:26-MAR-2009
    please can any suggest me how to handle this error.
    Thanks and Regards,
    vamshi

    Hi Pratap, Thanks for your help
    it was my mistake that previously property it was varchar2, now i have changed as you suggested every thing. still i am getting error. this is my code-
    AM CODE-
    public void xxselection(String Name, String Email,String Product,String Region, DATE StatusUpdateDate)
    DetailVOImpl vo1=getDetailVO1();
    vo1.initQuery2(Name);
    Row detailRow = vo1.createRow();
    detailRow.setAttribute("Name", Name);
    detailRow.setAttribute("Email", Email);
    detailRow.setAttribute("Product", Product);
    detailRow.setAttribute("Region", Region);
    detailRow.setAttribute("StatusUpdateDate", StatusUpdateDate);
    vo1.last();
    vo1.next();
    vo1.insertRow(detailRow);
    detailRow.setNewRowState(Row.STATUS_INITIALIZED);
    Controller- Process Form Request- Source page
    if (pageContext.getParameter("Detail")!= null)
    String Name=row.getAttribute("Name").toString();
    String Email=row.getAttribute("Email").toString();
    String Product=row.getAttribute("Product").toString();
    String Region=row.getAttribute("Region").toString();
    DATE StatusUpdateDate =(DATE)row.getAttribute("StatusUpdateDate");
    HashMap params =new HashMap();
    params.put(" Name", Name);
    params.put("Email",Email);
    params.put("Product",Product);
    params.put("Region",Region);
    pageContext.putTransactionTransientValue("StatusUpdateDate",StatusUpdateDate); //As you suggested
    pageContext.forwardImmediately("OA.jsp?page=/xxm/oracle/apps/pos/stg/webui/DetailStagePG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    params,
    true, // retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
    another page Controller-Process request-Destination page-
    String Name = pageContext.getParameter("Name");
    String Email = pageContext.getParameter(" Email");
    String Product = pageContext.getParameter("Product");
    String Region = pageContext.getParameter("Region");
    DATE StatusUpdateDate=(DATE)pageContext.getTransactionTransientValue("StatusUpdateDate");
    Timestamp tstmpStatusDate=StatusUpdateDate.timestampValue();
    System.out.println("tstmpStatusDate"+tstmpStatusDate);
    Serializable[] parameters1 = {Name,Email,Product,Region,tstmpStatusDate};
    am.invokeMethod("xxselection", parameters1);
    Error - getting at while running the application page to page
    No method with signature - No method with signature - xxselection(class java.lang.String, class java.lang.String, class java.lang.String, class java.lang.String, class java.lang.String)
    every thing is getting passed except DATE Attribute, please check the code and update me
    Thanks in Advace-
    vamshi

  • Pass parameter from one page to another

    Hi,
    I have 2 pages:
    - the welcome page with a combo box P101_OLD (list of values) with a submit button wh'os opening the 2nd page with that region source:
    select
    "ID",
    "ID_POSTE",
    "PERIODE_ID",
    "ADMIS",
    "INSCRITS_RAMQ",
    "INSCRITS_AUTRES",
    "ENREGISTRÉS",
    "VENDUS",
    "AUTRES",
    "COMMENTAIRES",
    "DESCRIPTIONOLD",
    "VOLUME"
    from "#OWNER#"."STATISTIQUES"
    where instr(':'||:P101_OLD||':',':'||STATISTIQUES.DESCRIPTIONOLD||':') > 0
    What's wrong ? How to pass a variable from one page to another?
    Thanks

    are you submitting the form once they click on the combo box? or use select list with submit.
    I have a form with a drop down say for names. after selecting a value I have to click the search button (basically it submits the page and redirects to page 2)
    unless we save the state of the combo box, it won't retrieve a value in page 2
    in page 2 all I had to do was refer to the page 1 field name :P3_TEST

  • Need help in passing parameter from base page to popup page

    Dear ALL,
    I have a requirement as below.
    I have a page having one LOV, I need to select one value from that LOV and select one button from the page then it should open a popup page with the required data in tabular format for the field i selecetd.
    so i created a lov in my page and able to invoke the popup page through java script but how i can execute the query in popup page by taking the parameter whta i selected from base page.
    Please help me out.

    Mukul's Oracle Technology Blog: JavaScript In OA Framework
    --Sushant

  • Pass parameter from dynamic page to form

    I have a report that uses a link to pass a parameter (projno) to a dynamic page. This dynamic page calls a procedure which, using the projno, pulls information from four tables. Depending on who the user is and what phase the project is in, each heading can be a link to a form so that the proper user can update the project. For instance, the projetc manager can update the progress table during phases 2-9. So I want the Progress Heading to be a link to a form so that the project manager can update the progress for a specific project number. I tried to put the link in the procedure like this:
    if iPhase in (2,3,4,5,6,7,8,9) then
              htp.p('<TD><a           href="/pls/portal/PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=6803259033&p_arg_names=projno&p_arg_values='||projno||'&p_arg_names=_projno_cond&p_arg_values=%3D&p_arg_names=_sessionid&p_arg_values=" target="_blank"><FONT FACE="VERDANA" SIZE="2">Progress</FONT></a></TD><TD width="10"></TD>');
         else
              htp.p('<TD><FONT FACE="VERDANA" SIZE="2">Progress</FONT></TD><TD width="10"></TD>');
         end if;
    But it brings up a blank form... no parameters are passed. Help!?

    when I use :projno I get a "bad bind variable" error. But really, I don't think that's the problem. Using the code in my last message, I can mouseover the link and see the correct information:
    http://spring.ous.edu:7778/pls/portal/PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=6803259033&p_arg_names=projno&p_arg_values=14&p_arg_names=_projno_cond&p_arg_values=%3D&p_arg_names=_sessionid&p_arg_values=
    When I actually click on the link however, this is the URL now displayed in the address field:
    http://spring.ous.edu:7778/pls/portal/PORTAL.wwa_app_module.show?p_sessionid=2592
    It strips the url of the projno information.

  • Error While Passing Parameter from Form to Report

    I am using Dev 9ids. And i am compiling every forms from form 5 to form 9i. and report too.
    Most of reports are running.
    in some i am getting problem where i do pass more than 5,6 parameters.
    for e.g in one case say
    set_report_object_property(rep_id,REPORT_OTHER,'comp_code='||:global.vc_comp_code||' inv='||inv||' invoice_no='||inv_no||' invoice_date='||inv_dt||' vc_name='||cust_name||' Paramform=no');
    this will not run and give error FRM-41214
    when i exclude vc_name or shorten the value of cust_name report run fine.
    length of cust_name and in report vc_name is proper.
    I also need to pass more parameters to report.
    I do think there might be parameter size in any of report system files to be increased.
    Pls help me out how to rectify this problem.
    thanks in advance.
    raj

    You are not getting the result in the report because you have chosen the button event as Query.
    Edit the form, for the Execute button, choose the button event Custom and use the same pl/sql code that you have used before.
    If the event is Query, then the session object does not have value of A_EMPNO at the point where you have written your code. The session object is populated after the Query event has taken place.

  • Problem while passing parameter to shell script which sends email-Ora Apps

    Hi,
    I have a pl/sql package which will call a shell script program.The shell script program is written in order to send the invoice hold details of AP as a mail.The parameters to this program are passed in the pl/sql package.
    The shell script program has
    5 parameters namely
    to - email
    from - email
    hold id - which is a number
    hold name - varchar2( free text)
    hold reason - varchar2( free text)
    the shell script looks as below.
    FROM_EMAIL=`echo $1|cut -f9 -d " "|sed 's/\"//g'`
    echo "From email id is $FROM_EMAIL" -- From email
    TO_EMAIL=`echo $1|cut -f10 -d " "|sed 's/\"//g'`
    echo "To Email id is $TO_EMAIL" -- to email
    PARAM0=`echo $1 | awk '{print $11}'|sed -e "s/\"//g"`
    echo "Param0: $PARAM0" -- hold id
    PARAM1=`echo "$1" | cut -d" " -f12-| sed -e "s/\" \"/\"^\"/g" | awk -F'^' '{print $1}'|sed -e "s/\"//g"`
    echo "Param1: $PARAM1" -- hold name
    PARAM2=`echo "$1" | cut -d" " -f13-| sed -e "s/\" \"/\"^\"/g" | awk -F'^' '{print $1}'|sed -e "s/\"//g"`
    echo "Param2: $PARAM2" -- hold reason
    the values that am passinf to this program are if suppose
    from email ---- [email protected]
    to email [email protected]
    12345 ------ hold id
    test hold name ------ hold name
    test hold reason ------- hold reason
    The output for the above parameters is as follows
    from email ---- [email protected]
    to email [email protected]
    12345 ------ hold id
    test hold name ------ hold name
    hold name --------hold reason (a part of hold name parameter is displayed as hold reason.The reason being in param2 we used cut which is cutting from 13.
    the problem here is since param1 being free text we cannot predict at what position the parameter ends.i mean there might be a single word or more than 2 words in that parameter seperated by space. the question here is ... is there anyway that we can specify dynamically from which location the param2 should fetch the value.
    can we use some delimiter to identify the end of param1 and start of param2.If so... how can it be written in this scenario.
    Thanks in Advance.

    As I see, all parameters are merged into 1 at shell script.
    Please do as follow:
    1- Modify your shell script as followed:
    echo "From email id is $1" -- From email
    echo "To Email id is $2" -- to email
    echo "Param0: $3" -- hold id
    echo "Param1: $4" -- hold name
    echo "Param2: $5" -- hold reason
    2- rename your shell script file with .prog extension : CUSTOM_NAME.prog
    3- perform the following command at custom file location:
    ln -s $FND_TOP/bin/fndcpesr CUSTOM_NAME
    This approach will seperate your parameters and then it will be more easier to manipulate them.
    Regards

  • Passing parameter from a page to another task flow.

    Hi,
    I have a taskflow and that contains views View1 and View2 . View1 contains a popup and taskflow(TF1) is dropped as region in this popup. View2 has 2 taskflows ( TF2 & TF3) and are linked as,
    View1 -----------edit------> VIew2
    In TF1's backing bean I have a list which I would like to pass to TaskFlow(TF2) in VIew2.
    Let me know if there's a way for doing this.
    Thanks & Regards,
    Priya.R

    I would say, that you shouldn't drop TF1 in a popup, but run it as inline-document instead (see button properties).
    Then you could return your list from TF1 into some View1 bean (taskflow or view scoped, I would say) and so in View2 you list would be available - all you need is to pass it to TF2 as a parameter.

Maybe you are looking for

  • What's happening on my screen? (dashes)

    Hi there, It's been a month since I´ve started my iMac PPC g5 and I got all these dashes around. They do appear all over dynamic elements (except videos) and next to the cursor. Is there a feasible solution to this issue? Many thanks in advance, dema

  • Possible to record 720p at 60 fps with Touch 4G?

    I realize I'm asking a lot from this little device, but I was wondering if it is even possible to record at 60 fps. I believe the specs list recording at 30 fps, but I wondered if it was possible to change this. Many thanks in advance. jjw

  • My CS2 templates are printing out in reverse.

    My CS2 Templates are printing out in reverse. All other programs are printing normally. Can anyone advise to clear this problem. Many thanks

  • Screen/smc problem, freezing

    i have an Intel imac and yesterday it froze with a bunch of small blue squares showing up all over the screen. Did a force reboot and couldn't get past the user log in screen. Looked around a little, seemed like it might be an smc problem so restarte

  • Just upgraded from iPhoto 11..help?

    Ok, so I watched the apple video on importing, and did some reading on it, but here are my issues after importing (I'm using Aperture 3.1.2): 1) my project thumbnails are blurry (no matter what size I make them).  They are clear in iPhoto. 2) Apertur