Add value parameter to total page

Hi
I want add a value parameter to total page,is possible? Thanks in advance.

you cannot do that.

Similar Messages

  • Pass Multi-value Parameter from Web Page

    SSRS 2012 Sp1
    Developed reports working fine. They includes some cascading parameters behaviour: it means: select Parameter1, then the values are passed to the parameter2, then the selected value (parameter2) are passed to Parameter 3 and so on.
    The reports in SSRS portal work fine.
    Now, the clients want to run the reports from a custom web page (It is not reporting services).
    in this case the user press a button and automatically the web page retrieve the data to be passed to the report.
    Here the problem: although the value passed are correct, the report is not executed! Instead, the report opens waiting for user action (as if the paramters1, 2, 3 ... must be selected).
    Please, do you know how to run a SSRS report from a <Custom> web page by passing the parameters?
    Thanks for your help

    in that case you should be passing default values for the parameters in the report and url used should be report viewer url rather than report manager url
    Another way is using report viewer
    see
    http://cybarlab.com/call-ssrs-report-in-asp-net-project
    http://bhushan.extreme-advice.com/call-ssrs-report-with-prameters-from-asp-net-web-application/
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Add search parameter in oaf page

    Hi,
    I have an requirement to add a "Experience" search field on candidates:Prospect pool page in iRecruitment application. Candidate Result set should be filterd based on this new search field too.I m able to add search field via personalization.but i m facing problem in filtering candidate result set based on this Experience search field.
    i have extended the controller of the page and added the following code -
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am =pageContext.getApplicationModule(webBean);
    OAViewObject vo = (OAViewObject)am.findViewObject("CandidateListVO");
    OAMessageTextInputBean expBean = (OAMessageTextInputBean)webBean.findChildRecursive("XX_EXP_ID");//getting the reference of the newly added search field via personalization
    StringBuffer stringbuffer = new StringBuffer(100);
    String expBeanVal = (String)expBean.getValue(pageContext);
    if ((expBeanVal != null) && (!("".equals(expBeanVal.trim()))))
    int i=vo.getWhereClauseParams().length;
    vo.setWhereClauseParam(i++, (new StringBuilder()).append(expBeanVal).append("%").toString());
    stringbuffer = stringbuffer.append((new StringBuilder()).append(" PPF.ATTRIBUTE15 like :").append(i).toString());
    vo.setWhereClause(stringbuffer.toString());
              vo.executeQuery();
    while running the page i m getting the following error "java.sql.SQLException: Invalid column index ".
    Any kind of help would be highly appreciated.
    Thanks
    Renuka

    Hi Gyan,
    Thanks for the reply...
    Yes this is a Query Region. Below is the full error stack-
    Exception Details.
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT /*+ FIRST_ROWS */ NULL AS SelectFlag, PPF.FULL_NAME AS PERSON_NAME, ADDR.DERIVED_LOCALE, ADDR.ADDRESS_ID, PHN.PHONE_NUMBER, PHN.PHONE_ID, PPF.DATE_OF_BIRTH, PPF.EMAIL_ADDRESS, ADDR.ADDRESS_LINE1, to_number( decode ( :1 , 1, IRC_SKILLS_MATCHING_PKG.vacancy_match_percent( ppf.person_id, :2 , :3 ), 2, IRC_SKILLS_MATCHING_PKG.skills_match_percent( :4 , :5 , :6 , :7 , :8 , :9 , ppf.person_id),-1) ) AS Match_Percent, decode(irc_utilities_pkg.is_open_party(PPF.PARTY_ID,:10),'TRUE',(select count(*) from PER_ALL_ASSIGNMENTS_F PAF2 , PER_ALL_PEOPLE_F PPF2 where PPF.PARTY_ID = PPF2.PARTY_ID and :11 between PPF2.EFFECTIVE_START_DATE and PPF2.EFFECTIVE_END_DATE and PAF2.ASSIGNMENT_TYPE = 'A' and :12 between PAF2.effective_start_date and PAF2.effective_end_date and PAF2.person_id = PPF2.person_id having count(*)>0),null) AS Jobs_Applied_For, decode(irc_utilities_pkg.is_open_party(PPF.PARTY_ID,:13),'TRUE',(select MAX(PAF.effective_start_date) from PER_ALL_ASSIGNMENTS_F PAF, PER_ALL_PEOPLE_F PPF2 where PPF.PARTY_ID = PPF2.PARTY_ID AND :14 between PPF2.EFFECTIVE_START_DATE AND PPF2.EFFECTIVE_END_DATE AND PAF.ASSIGNMENT_TYPE = 'A' and :15 >= PAF.effective_start_date AND PAF.person_id = PPF2.person_id),null) AS Last_Application, VCN.CONSIDERATION_STATUS, VCN.PERSON_ID AS CONSIDERATION_PERSON_ID, VCN.VACANCY_ID AS CONSIDERATION_VACANCY_ID, to_number(:16) AS VACANCY_ID, (select meaning from HR_LOOKUPS LKP where LKP.LOOKUP_TYPE = 'IRC_CONSIDERATION' AND LKP.LOOKUP_CODE = VCN.consideration_status) AS CONSIDERATION, VCN.CONSIDERATION_STATUS AS CONSIDERATION_STATUS_DISPLAY, PPF.FIRST_NAME AS PERSON_FIRST_NAME, PPF.LAST_NAME AS PERSON_LAST_NAME, DOC.DOCUMENT_ID, DOC.FILE_NAME, NVL2( DOC.DOCUMENT_ID,'Y','N') AS PreviewEnabled, VCN.VACANCY_CONSIDERATION_ID, INP.NOTIFICATION_PREFERENCE_ID, PPF.PERSON_ID, PPF.EFFECTIVE_START_DATE, PPF.EFFECTIVE_END_DATE, PPF.ATTRIBUTE1 AS PPFATTRIBUTE1, PPF.ATTRIBUTE2 AS PPFATTRIBUTE2, PPF.ATTRIBUTE3 AS PPFATTRIBUTE3, PPF.ATTRIBUTE4 AS PPFATTRIBUTE4, PPF.ATTRIBUTE5 AS PPFATTRIBUTE5, PPF.ATTRIBUTE6 AS PPFATTRIBUTE6, PPF.ATTRIBUTE7 AS PPFATTRIBUTE7, PPF.ATTRIBUTE8 AS PPFATTRIBUTE8, PPF.ATTRIBUTE9 AS PPFATTRIBUTE9, PPF.ATTRIBUTE10 AS PPFATTRIBUTE10, PPF.ATTRIBUTE11 AS PPFATTRIBUTE11, PPF.ATTRIBUTE12 AS PPFATTRIBUTE12, PPF.ATTRIBUTE13 AS PPFATTRIBUTE13, PPF.ATTRIBUTE14 AS PPFATTRIBUTE14, PPF.ATTRIBUTE15 AS PPFATTRIBUTE15, PPF.ATTRIBUTE16 AS PPFATTRIBUTE16, PPF.ATTRIBUTE17 AS PPFATTRIBUTE17, PPF.ATTRIBUTE18 AS PPFATTRIBUTE18, PPF.ATTRIBUTE19 AS PPFATTRIBUTE19, PPF.ATTRIBUTE20 AS PPFATTRIBUTE20, PPF.ATTRIBUTE21 AS PPFATTRIBUTE21, PPF.ATTRIBUTE22 AS PPFATTRIBUTE22, PPF.ATTRIBUTE23 AS PPFATTRIBUTE23, PPF.ATTRIBUTE24 AS PPFATTRIBUTE24, PPF.ATTRIBUTE25 AS PPFATTRIBUTE25, PPF.ATTRIBUTE26 AS PPFATTRIBUTE26, PPF.ATTRIBUTE27 AS PPFATTRIBUTE27, PPF.ATTRIBUTE28 AS PPFATTRIBUTE28, PPF.ATTRIBUTE29 AS PPFATTRIBUTE29, PPF.ATTRIBUTE30 AS PPFATTRIBUTE30, PPF.ATTRIBUTE_CATEGORY AS PPFATTRIBUTE_CATEGORY, VCN.PERSON_ID AS PERSON_ID1, CSC.SEARCH_CRITERIA_ID, CSC.LOCATION, CSC.DISTANCE_TO_LOCATION, CSC.EMPLOYEE, CSC.CONTRACTOR, CSC.EMPLOYMENT_CATEGORY, CSC.KEYWORDS, CSC.TRAVEL_PERCENTAGE, CSC.MIN_SALARY, CSC.SALARY_CURRENCY, CSC.SALARY_PERIOD, CSC.MATCH_COMPETENCE, CSC.MATCH_QUALIFICATION, CSC.JOB_TITLE, CSC.DEPARTMENT, CSC.PROFESSIONAL_AREA, CSC.WORK_AT_HOME, CSC.ATTRIBUTE_CATEGORY, CSC.ATTRIBUTE1, CSC.ATTRIBUTE2, CSC.ATTRIBUTE3, CSC.ATTRIBUTE4, CSC.ATTRIBUTE5, CSC.ATTRIBUTE6, CSC.ATTRIBUTE7, CSC.ATTRIBUTE8, CSC.ATTRIBUTE9, CSC.ATTRIBUTE10, CSC.ATTRIBUTE11, CSC.ATTRIBUTE12, CSC.ATTRIBUTE13, CSC.ATTRIBUTE14, CSC.ATTRIBUTE15, CSC.ATTRIBUTE16, CSC.ATTRIBUTE17, CSC.ATTRIBUTE18, CSC.ATTRIBUTE19, CSC.ATTRIBUTE20, CSC.ATTRIBUTE21, CSC.ATTRIBUTE22, CSC.ATTRIBUTE23, CSC.ATTRIBUTE24, CSC.ATTRIBUTE25, CSC.ATTRIBUTE26, CSC.ATTRIBUTE27, CSC.ATTRIBUTE28, CSC.ATTRIBUTE29, CSC.ATTRIBUTE30, to_char(RowNum) AS RowNumber, PPF.PARTY_ID, POV.VENDOR_ID, POV.VENDOR_NAME, INP.CREATION_DATE, to_char(decode(:17,'Y',nvl2(ADDR.geometry,floor(irc_location_utility.sdo_miles(mdsys.sdo_geometry(2001,8307,mdsys.sdo_point_type(:18,:19,null),null,null),ADDR.geometry,0.01)),''),'')) AS DISTANCE_TO_LOCATION_RESULTS, fnd_number.canonical_to_number(distance_to_location) AS DISTANCE_TO_LOCATION_INT, nvl2(ATMPT.MASTERY_SCORE,decode(greatest(ATMPT.MASTERY_SCORE,ATMPT.RAW_SCORE), ATMPT.RAW_SCORE, 'P', 'F'),nvl2(FND_PROFILE.VALUE('IRC_REGISTER_TEST'),nvl2(INP.ATTEMPT_ID, 'A','N'),null)) AS ATTEMPT_STATUS, to_number(decode(ATMPT.RAW_SCORE, -1000, null, ATMPT.RAW_SCORE)) AS ATTEMPT_SCORE, ATMPT.ATTEMPT_ID, decode(IrcReferralInfoEO.source_type,'ER','Y','N') AS Referred, IrcReferralInfoEO.START_DATE, IrcReferralInfoEO.OBJECT_ID, IrcReferralInfoEO.OBJECT_TYPE, IrcReferralInfoEO.END_DATE, (select meaning from hr_lookups where lookup_code = IRCREFERRALINFOEO.source_type and lookup_type = 'REC_TYPE') AS SourceType, decode (IrcReferralInfoEO.source_type, 'ER',(select distinct(full_name) from per_all_people_f where person_id = IrcReferralInfoEO.source_person_id), IrcReferralInfoEO.source_name ) AS SourceName FROM PER_ADDRESSES ADDR, PER_PHONES PHN, IRC_VACANCY_CONSIDERATIONS VCN, IRC_NOTIFICATION_PREFERENCES INP, IRC_DOCUMENTS DOC, PER_ALL_PEOPLE_F PPF, IRC_SEARCH_CRITERIA CSC, PO_VENDORS POV, OTA_ATTEMPTS ATMPT, IRC_REFERRAL_INFO IrcReferralInfoEO WHERE :20 BETWEEN PPF.EFFECTIVE_START_DATE AND PPF.EFFECTIVE_END_DATE AND PPF.PERSON_ID = DOC.PERSON_ID(+) AND PPF.PERSON_ID = PHN.PARENT_ID(+) AND PHN.PARENT_TABLE(+) = 'PER_ALL_PEOPLE_F' AND PHN.phone_type(+) = 'H1' AND :21 between nvl(PHN.date_from,:22) and NVL(PHN.date_to,:23) AND PPF.PERSON_ID = VCN.PERSON_ID(+) AND VCN.VACANCY_ID(+) = :24 AND nvl(VCN.consideration_status,'X') <> 'NO' and PPF.PERSON_ID = INP.PERSON_ID AND INP.PERSON_ID = ADDR.PERSON_ID(+) AND NVL(INP.ADDRESS_ID, DECODE(ADDR.ADDRESS_TYPE(+),'REC',ADDR.ADDRESS_ID(+),-1)) = addr.ADDRESS_ID(+) AND :25 between ADDR.DATE_FROM(+) and nvl(ADDR.DATE_TO(+),:26) AND doc.type(+) like '%RESUME' AND doc.end_date(+) is null AND CSC.object_id = PPF.PERSON_ID AND CSC.object_type= 'WPREF' AND EXISTS (SELECT NULL FROM PER_PEOPLE_F PPFS WHERE PPFS.PERSON_ID = PPF.PERSON_ID) and ((INP.AGENCY_ID = FND_PROFILE.VALUE('IRC_AGENCY_NAME')) or (FND_PROFILE.VALUE('IRC_AGENCY_NAME') is null and INP.ALLOW_ACCESS='Y')) and INP.AGENCY_ID = POV.VENDOR_ID(+) and INP.ATTEMPT_ID = ATMPT.ATTEMPT_ID(+) and ppf.party_id = IrcReferralInfoEO.object_id(+) and sysdate between IrcReferralInfoEO.start_date(+) and IrcReferralInfoEO.end_date(+) AND (PPF.ATTRIBUTE15 like :28) ORDER BY PPF.FULL_NAME ASC
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1169)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2867)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1840)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:538)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:426)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         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.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         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.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:662)
    ## Detail 0 ##
    java.sql.SQLException: Invalid column index
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:199)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:263)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:271)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:445)
         at oracle.jdbc.driver.OraclePreparedStatement.setStringInternal(OraclePreparedStatement.java:5013)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:7577)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:7517)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:8174)
         at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:8155)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObject(OraclePreparedStatementWrapper.java:230)
         at oracle.jbo.server.BaseSQLBuilderImpl.bindParamValue(BaseSQLBuilderImpl.java:1847)
         at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:3893)
         at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3335)
         at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:13827)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:804)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:669)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3723)
         at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4559)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:743)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:892)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:806)
         at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:800)
         at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3643)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
         at xx.oracle.apps.irc.candidateSearch.webui.XXCandidatesCO.processFormRequest(XXCandidatesCO.java:59)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:815)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1189)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1027)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1027)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2863)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1840)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:538)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:426)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         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.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         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.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:662)
    java.sql.SQLException: Invalid column index
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:199)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:263)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:271)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:445)
         at oracle.jdbc.driver.OraclePreparedStatement.setStringInternal(OraclePreparedStatement.java:5013)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:7577)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:7517)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:8174)
         at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:8155)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObject(OraclePreparedStatementWrapper.java:230)
         at oracle.jbo.server.BaseSQLBuilderImpl.bindParamValue(BaseSQLBuilderImpl.java:1847)
         at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:3893)
         at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3335)
         at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:13827)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:804)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:669)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3723)
         at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4559)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:743)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:892)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:806)
         at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:800)
         at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3643)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
         at xx.oracle.apps.irc.candidateSearch.webui.XXCandidatesCO.processFormRequest(XXCandidatesCO.java:59)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:815)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1189)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1027)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1027)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2863)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1840)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:538)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:426)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         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.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         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.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:662)

  • Add Table Valued Parameter to a stored procedure

    I have a stored procedure that voids an invoice and puts the items back into inventory and makes available the payment that was used to apply to this invoice... I would like to be able to do all this for a number of invoices at a time using a table valued
    parameter how would I be able to do it?
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    -- =============================================
    -- Author: Debra
    -- Create date: March 25, 2014
    -- Description: Void an invoice.
    -- =============================================
    CREATE PROCEDURE AR_VOID
    -- Add the parameters for the stored procedure here
    @Invoice INT,
    @InvType nvarchar(3)
    AS
    BEGIN
    -- SET NOCOUNT ON added to prevent extra result sets from
    -- interfering with SELECT statements.
    SET NOCOUNT ON;
        -- Insert statements for procedure here
    IF(@InvType = 'reg')
        BEGIN
    UPDATE INV SET ONHAND = ONHAND + ARD.Qty ,STAMPED = CASE WHEN INV.TYPE = 'CIG' THEN STAMPED + ARD.QTY ELSE 0 END, LASTDATE = CONVERT(DATE, GETDATE()) FROM ARD JOIN INV ON ARD.ITEM = INV.ITEM
    WHERE ARD.INVOICE = @Invoice
    MERGE INTO RECEIPTSH target
        USING (SELECT JOURNAL, SUM(AMOUNT) AMOUNT FROM Applied
        WHERE INVOICE = @Invoice GROUP BY JOURNAL) AS source
        ON target.Journal = source.Journal
        WHEN MATCHED THEN 
        UPDATE 
        SET Applied = Applied - SOURCE.Amount;
        DELETE Applied WHERE INVOICE = @Invoice
        END
        ELSE 
        BEGIN
    UPDATE INV SET ONHAND = ONHAND - ARD.Qty ,STAMPED = CASE WHEN INV.TYPE = 'CIG' THEN STAMPED - ARD.QTY ELSE 0 END, LASTDATE = CONVERT(DATE, GETDATE()) FROM ARD JOIN INV ON ARD.ITEM = INV.ITEM
    WHERE ARD.INVOICE = @Invoice
    MERGE INTO ARH target
        USING (SELECT INVOICE, SUM(AMOUNT) AMOUNT FROM CREDITMEMO WHERE CINVOICE = @Invoice GROUP BY INVOICE) AS source
        ON target.INVOICE = source.INVOICE
        WHEN MATCHED THEN 
        UPDATE 
        SET [OPEN] = 'TRUE', CLOSEDATE = NULL, PAID = target.PAID - source.AMOUNT;
    DELETE CREDITMEMO WHERE CINVOICE = @Invoice
        END
        UPDATE ARH SET SUBTOTAL = 0, TAXES = 0, PAID = 0, STATUS = 'VOD', [OPEN] = 'FALSE', CLOSEDATE = CONVERT(DATE,GETDATE()) WHERE INVOICE = @Invoice
    UPDATE ARD SET QTY = 0, ARD.PRICE = 0 WHERE INVOICE = @Invoice
    END
    GO
    Debra has a question

    Try
    CREATE TYPE InvoicesList AS TABLE (InvoiceID INT)
    GO
    - =============================================
    -- Author: Debra
    -- Create date: March 25, 2014
    -- Description: Voids passed invoices.
    -- =============================================
    CREATE PROCEDURE AR_VOID
    @InvoicesList InvoicesList READONLY,
    @InvType nvarchar(3)
    AS
    BEGIN
    SET NOCOUNT ON;
    IF(@InvType = 'reg')
    BEGIN
    UPDATE INV SET ONHAND = ONHAND + ARD.Qty ,STAMPED = CASE WHEN INV.TYPE = 'CIG' THEN STAMPED + ARD.QTY ELSE 0 END, LASTDATE = CONVERT(DATE, GETDATE()) FROM ARD JOIN INV ON ARD.ITEM = INV.ITEM
    WHERE ARD.INVOICE IN (SELECT InvoiceID FROM @InvoicesList)
    MERGE INTO RECEIPTSH target
    USING (SELECT JOURNAL, SUM(AMOUNT) AMOUNT FROM Applied
    WHERE INVOICE IN (SELECT InvoiceID FROM @InvoicesList) GROUP BY JOURNAL) AS source
    ON target.Journal = source.Journal
    WHEN MATCHED THEN
    UPDATE
    SET Applied = Applied - SOURCE.Amount;
    DELETE Applied WHERE INVOICE IN (Select InvoiceID FROM @InvoicesList)
    END
    ELSE
    BEGIN
    UPDATE INV SET ONHAND = ONHAND - ARD.Qty,STAMPED = CASE WHEN INV.TYPE = 'CIG' THEN STAMPED - ARD.QTY ELSE 0 END, LASTDATE = CONVERT(DATE, GETDATE()) FROM ARD JOIN INV ON ARD.ITEM = INV.ITEM
    WHERE ARD.INVOICE IN (SELECT InvoiceID FROM @InvoicesList)
    MERGE INTO ARH target
    USING (SELECT INVOICE, SUM(AMOUNT) AMOUNT FROM CREDITMEMO WHERE CINVOICE IN (SELECT InvoiceID FROM @InvoicesList) GROUP BY INVOICE) AS source
    ON target.INVOICE = source.INVOICE
    WHEN MATCHED THEN
    UPDATE
    SET [OPEN] = 'TRUE', CLOSEDATE = NULL, PAID = target.PAID - source.AMOUNT;
    DELETE CREDITMEMO WHERE CINVOICE IN (SELECT InvoiceID FROM @InvoicesList)
    END
    UPDATE ARH SET SUBTOTAL = 0, TAXES = 0, PAID = 0, STATUS = 'VOD', [OPEN] = 'FALSE', CLOSEDATE = CONVERT(DATE,GETDATE()) WHERE INVOICE IN (SELECT InvoiceID FROM @InvoicesList)
    UPDATE ARD SET QTY = 0, ARD.PRICE = 0 WHERE INVOICE IN (SELECT InvoiceID FROM @InvoicesList)
    END
    GO
    I didn't look too close into your code, so I just translated your code as is into TVP.
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

  • Is there a way where in i can know the total page of report?

    guys, i would like to know the total page of the report, i am using vb6 calling the report using RDC .
    below is the code why i am on a hurry to know the total page of the report.  i just want to add a loop that will process until a number of total hasn't been reach.
        '   picImage is your report picture object name.
        If Dir("C:\Photos\182483\182483-" & oSectionGH.ReportObjects(2).Value & ".jpg") <> "" Then  
            'Replace Your Picture Path Value
            Set oSectionGH.ReportObjects.Item("picture1").FormattedPicture = LoadPicture("C:\Photos\182483\182483-" & oSectionGH.ReportObjects(2).Value & ".jpg", vbLPCustom, vbLPColor)
        Else
            'Fill Blank Picture
            Set oSectionGH.ReportObjects.Item("picture1").FormattedPicture = LoadPicture("C:\Photos\182483\" & "blank.jpg", vbLPCustom, vbLPColor)
        End If
        Set oSectionGH = Nothing
    as you can see. i want the vb6 go to the last line "Set oSectionGH = Nothing" as soon as the loop reached the total page.  i will much more thankful, if you could modify this code for me and include the loop process.
    thanks in advance..

    Hi;
    I think we are not sure what it is you are trying to do. Could you explain a bit more what you are looking to accomplish? Do you want a specific image to appear on different pages, or something else?
    Regards,
    Jonathan

  • Requirement to add new parameter in selection  in report painter report

    Hi Gurus,
    I have a requirement to add an extra field in Cost center:Act/Plan/Comm CC Cur report.This is otherwise a Z report in report painter with 0% code (T-code : GR55-> Report group->Report).But,when we go to technical information of this report,it has four standard sap programs,which contains code for this selection screen.It does not even have a modification scope.
    Selection screen of this report contains following parameters:
    Selection values:
    Controlling Ar
    Fiscal Year
    From Period
    To Period
    Plan Version
    Selection Groups:
    Cost Center Group
    Or value(s)
    Cost Element Group
    Or value(s)
    My requirement is to add one more parameter : Purchase oeder in new block:
    Is there any way to achieve it.
    Note: Copying the standard progs into custom prog is not working,i already tried that.
    Please let me know your suggestions,if any one of you came across such requirement before.it is very impoertant for me.
    Thanks in advance,
    Meenakshi

    Hi,
    This report (and all generic reports which are based on the same library) looks on CCSS structure. This structure extracts data from totals tables. Therefore, it's not possible to add the parameter of purchase order, as it's a detail line attribute.
    Regards,
    Eli

  • Calling a multi value parameter seems to slow down report

    Hi
    Nearly all of my datasets use a multi value parameter at present which from testing seems to be causing a long delay.
    If I change the dataset to not call the parameter and manually enter the values in this works quicker, the only issue being if I need to add an additional value I need to then do it on multiple datasets rather than one parameter.
    A way around this I thought was to do the below which doesn't seem as slow as my original method.
    To try better explain I have done this
    SELECT
    Practice.ibvSalesByJob.JobType
    FROM
    Practice.ibvSalesByJob
    WHERE
    Practice.ibvSalesByJob.JobType IN (N'1', N'4', N'5', N'8', N'12', N'17', N'40', N'45', N'60')
    I then have a parameter which has default values > dataset > JobType
    The actual dataset shown in the report then shows 
    WHERE
    Practice.ibvSalesByJob.JobType IN (@ABSJobs)
    Does this make sense or is there a better way of doing what I am trying to do?
    Is there a known issue with Report Builder 3.0 and multiple parameters?
    Any help/advice appreciated.
    Cheers
    Cheers Chris

    Hi Chris,
    According to your description, when you create a multivalued parameter, then specify its values from a dataset, the report is running slower.
    In Reporting Services, all datasets within a report will be retrieved when running the report. In your scenario, if you specify the parameter values from a dataset, it’s possible to cause performance issue. If parameter doesn’t have too many values, you
    could specify the values for the parameter with specified values in Report Parameter Properties.
    Besides, in Reporting Service, the total time to generate a report include TimeDataRetreval, TimeProcessing and TimeRendering. In your scenario, you could run the report in report server, check the table
    Executionlog3 in the ReportServer database to analyze which section take much time. Then you can refer to this article to optimize your report:
    Troubleshooting Reports: Report Performance.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • HOW TO PASS A PARAMETER TO UIX PAGE FROM APPS' FUNCTIONS FORM?

    Hello,
    We created a form function (in Sys Admin resp) for a UIX page. The Type field
    is 'SSWA plsql function that opens a new window (Kiosk Mode)'. The HTML Call
    field is 'POBarCode.uix'.
    We have to pass the username (who logs in) to the UIX page. If we pass it
    literaly, (e.g. POBarCode.uix?MyParam1=BBASTIN), it works. We tried following
    two options to pass it as a variable in HTML Call field:
    POBarCode.uix?MyParam1=fnd_profile.value('USER_ID')
    POBarCode.uix?MyParam1=$PROFILE$.USERNAME
    Both variable show up as is in the UIX page. How can we pass the username as a
    variable on tHe HTML Call?
    Thanks, Ali.

    Hi guojun yu,
    As per my understanding, you use parameters related to country and office UI langs as search condition in the report, you want to provide part of countries/office UI langs values as values of parameter, then all records will be displayed in the report.
    In Reporting Services, parameters are used to filter data, after we selected values of parameter and preview the report, only data meets search condition will be displayed in the report. To display all records in the report, we need to use all values of
    countries/office UI langs as values of parameter. For detail information, please refer to the following steps:
      1. Create separate dataset for each parameter with the query like below:
    Select distinct CountryRegion from TableName
      2. In design mode, right-click Parameters and click Add Parameter.
      3. In Parameter Properties dialog box, in name and prompt text box, type CountryRegion. Select Allow multiple values.
      4. Click Available Values in left pane, select Get values from a query, select dataset from drop down list, select CountryRegion from Value field and Label field drop down list.
      5. Create parameter @OfficeUiLang, @OsLocale, @IsMobile like step1 to 4 above.
      6. Modify the stored procedure used to retrieve data for the report like below:
    SELECT *
    FROM AggregateDataByDate AllSessions
    WHERE UserID != 'NULL'
    AND CountryRegion in @CountryRegion
    AND OfficeUiLang in @OfficeUiLang
    AND OsLocale in @OsLocale
    AND IsMobile in @IsMobile
    AND [UsageDate] >= @DataCutOffDate
    For detail information about Adding a multi-value parameter to a Report, please refer to the following document:
    https://msdn.microsoft.com/en-us/library/dn385719%28v=sql.110%29.aspx?f=255&MSPPError=-2147217396
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • Using Parameter for The Page

    I developed a Custom Page to display values based on Parameter passed on. How do we Pass on Parameter to OA Page When It is Invoked from Form or Menu Function?

    Hi,
    When you create the menu item or button customisation in Apps you point it at a URI, which in this case is a URI pointing at your OAF page.
    If you want to pass parameters into your OAF page, you add them onto the end of your URI string in Apps. &param1=xyz&param2=123 etc..
    Hope that helps..

  • Is there any way to add dynamic parameter in sql without breaking Server Behavior

    Hello, i'm building multiple language site.. i would like to know if there is possible way to add dynamic parameter in my query, without break the server behavior.
    For example:
    mysql_select_db($database_dxc_conn, $dxc_conn);
    $query_Recordset1 = "SELECT article.articleName, article.articleDesc FROM article";
    $Recordset1 = mysql_query($query_Recordset1, $dxc_conn) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    will become something like this:
    $additionalSQL=", article.articleName_en";
    mysql_select_db($database_dxc_conn, $dxc_conn);
    $query_Recordset1 = "SELECT article.articleName, article.articleDesc $additionalSQL FROM article";
    $Recordset1 = mysql_query($query_Recordset1, $dxc_conn) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    this is just an example, my real scenarion is far more complicated than this... however this kind of approach break the server behavior and force to do hand-coding...
    i would like to know if there's better way to do such thing like this...

    viktor.iwan wrote:
    Hello, i'm building multiple language site.. i would like to know if there is possible way to add dynamic parameter in my query, without break the server behavior.
    Server behaviors are simply bits of boilerplate code automatically generated by Dreamweaver. Editing the code doesn't "break" it (unless your edits are badly written). However, once you edit the code, Dreamweaver no longer recognizes it, so you lose the ability to drag recordset results from the Bindings panel.
    If you want to edit server behavior code, the best way to handle it is to lay out your page as you want, using the Bindings panel. Once everything has been done, only then edit the server behavior code.

  • Change value parameter in RTF template

    Hi
    sorry if possible change a value parameter in RTF template?
    Thanks in advance for any insights!

    Thanks but I already tried it and it works.But if there is a second page with the parameter value rebooting.
    For this reason I wanted to reset the parameter value.
    Thanks

  • SSRS : Reporting Services - Multi-Value Parameter Issue

    Hi,
    This problem is been around the blogs and forums for while now but may be it's not answered to the fullest. I couldn't get any satisfactory or completed solution on the issue so far, any clues/help will be highly appreciated.
    My scenario is very simple :-
    I am using SQL Server 2005 and SSRS. I need to develop a report which has a parameter value called Customer Name. The users should be able to select multiple customers from the list and sometimes Select All also.  I tried the following :-
    Created two data sets : Second dataset is just to populate the Customer Name
    Created a Report Parameter and mapped with the query parameter where it says  "Where CName in (@Parameter1)"
    Nothing seems to be working although I tried to apply all the existing half-way solutions currently available in the forums. May be I am not getting to the right solution.
    Here is what's happening :-
    When used '?' like "where CName = ?" then it's working fine for the single value. {Multi value query cannot be used with ?}
    But for multiple values when used @Parameter1 like "where CName in (@Parameter1)" it's giving the following error
    Cannot add multi value query parameter '@Parameter1' for data set 'Dataset1' because it is not supported by the data extension.
    However if commented this line it's pulling all the values whether or not selected from the parameter list.
    This is the basic thing which I was not able to get the desired result, in addition I was looking to get the Customer Name parameter selected with a partial entry as we use LIKE. Example :- If the user enters 'St' in the text box the list should show all the names starting from those two letters
    Starter
    Steve
    Steven
    Stevenson etc.
    I am not sure whether I'll will be able to get to this extent or not but until the multi value parameter, I am desperate to get the solution. So any sort of help/advise is highly appreciated.
    Regards,

    Hi,
    This problem is been around the blogs and forums for while now but may be it's not answered to the fullest. I couldn't get any satisfactory or completed solution on the issue so far, any clues/help will be highly appreciated.
    My scenario is very simple :-
    I am using SQL Server 2005 and SSRS. I need to develop a report which has a parameter value called Customer Name. The users should be able to select multiple customers from the list and sometimes Select All also.  I tried the following :-
    Created two data sets : Second dataset is just to populate the Customer Name
    Created a Report Parameter and mapped with the query parameter where it says  "Where CName in (@Parameter1)"
    Nothing seems to be working although I tried to apply all the existing half-way solutions currently available in the forums. May be I am not getting to the right solution.
    Here is what's happening :-
    When used '?' like "where CName = ?" then it's working fine for the single value. {Multi value query cannot be used with ?}
    But for multiple values when used @Parameter1 like "where CName in (@Parameter1)" it's giving the following error
    Cannot add multi value query parameter '@Parameter1' for data set 'Dataset1' because it is not supported by the data extension.
    However if commented this line it's pulling all the values whether or not selected from the parameter list.
    This is the basic thing which I was not able to get the desired result, in addition I was looking to get the Customer Name parameter selected with a partial entry as we use LIKE. Example :- If the user enters 'St' in the text box the list should show all the names starting from those two letters
    Starter
    Steve
    Steven
    Stevenson etc.
    I am not sure whether I'll will be able to get to this extent or not but until the multi value parameter, I am desperate to get the solution. So any sort of help/advise is highly appreciated.
    Regards,
    you speak spanish

  • Print tpage number/total page number in a report with width more than 240

    Dear all,
    I need to display total page number as following code sample.
    But I need to put it after position 240.
    this program can print total page number if   it is placed at postion 239 or before.
    WRITE: /234(10) 'Heading',  239 SY-PAGNO,'of ', '-----'.
    Whenever I put  240 or more WRITE: /234(10) 'Heading',  240 SY-PAGNO,'of ', '-----'.
    Total page num could not be displayed.
    Please tell me the solution.
    thanks
    REPORT YPAGECOUNT NO STANDARD PAGE HEADING LINE-SIZE 276  LINE-COUNT 65.
        DATA L_PAGE_COUNT(5) TYPE C.
    TOP-OF-PAGE.
      WRITE : /234(10) 'PAGE', SY-PAGNO,'/ ','-----', ''.
       WRITE: /234(10) 'Heading',  239 SY-PAGNO,'of ', '-----'.
        ULINE.
    START-OF-SELECTION.
      Real list output takes place here
        DO 1000 TIMES.
            WRITE: / 'Line #', SY-LINNO.
        ENDDO.
      Page count will be printed on each page here
        WRITE SY-PAGNO TO L_PAGE_COUNT LEFT-JUSTIFIED.
        DO SY-PAGNO TIMES.
            READ LINE 1 OF PAGE SY-INDEX.
            REPLACE '-----' WITH L_PAGE_COUNT INTO SY-LISEL.
            MODIFY CURRENT LINE.
        ENDDO.

    Using Values Greater than 255 for the LINE-SIZE of a List
    If you define a fixed column width greater than 255 using the LINE-SIZE addition in the REPORT or NEW-PAGEstatement, the following notes apply:
    Type definitions: The type group SLIST defines the valid maximum value for the list width (SLIST_MAX_LINESIZE), and contains a type for list lines with maximum width (SLIST_MAX_LISTLINE).
    Accessing the entire contents of a line: To read or modify the entire contents of a wide line, you can use the ... LINE VALUE addition in the READ LINE or MODIFY LINE statements. This is an alternative to using SY-LISEL that is independent of the attributes of the system field (since the length of SY-LISEL is 255 characters).
    Horizontal lines: With extra-wide lists, the "ULINE." statement corresponds to "WRITE / SY-ULINE.". So, for example, "ULINE AT 5(300)." corresponds to "WRITE AT 5(300) SY-ULINE.".
    Output length: You can use the length specification in WRITE (or ULINE) to extend the output length of an extra-wide list up to the value of LINE-SIZE. If you want to output a whole field that is longer than 255 characters, you must use this, even if the field itself is defined as longer than 255 characters.
    Example
    NEW-PAGE LINE-SIZE 1000.
    DATA: F1(500) VALUE 'F1'.
    WRITE: /      F1 COLOR COL_NORMAL.  " Output with length 255
    WRITE: /(500) F1 COLOR COL_NORMAL.  " Output with length 500
    Awrd Points if useful
    Bhupal

  • How to design SSRS report to filter multi-value parameter?

    I developed an RDL which takes a multivalue parameter and I want to set a visibility expression or filter based on this parameter. This parameter uses an "All" value equal to '660E4583-7F29-4D37-8038-5096AE6A1A7F'.
    I want to make the main tablix visible if this parameter is set to this uniqueidentifier and invisible otherwise. How can I achieve this either in the tsql dataset or on the report side? I have tried numerous workarounds, but none have worked so far! I've tried
    different expressions and datatypes.
    Before I tried If/Else statements in the tsql dataset, but most recently I instead added flags to the tsql dataset for each condition and am trying to make this tablix only include the records with the flag matching the parameters chosen. But even this is not
    working for me.
    Here is sample data:
    create table #dummydata
    parameter varchar(max),
    b varchar(max)
    insert #dummydata values('660E4583-7F29-4D37-8038-5096AE6A1A7F','record 1'),('660E4583-7F29-4D37-8038-5096AE6A1vcd','record 2'),('660E4583-7F29-4D37-8038-5096AE6A1v52','record 3')
    select * from #dummydata
    And my filter expression in the RDL for this tablix is:
    =iif(Parameters!Modifier.Value(0)="660E4583-7F29-4D37-8038-5096AE6A1A7F",1,0)
    With datatype = integer and value = 1 However, this tablix is invisible with the above even when I choose "All" for the parameter value = default value. How can I make this tablix visible?
    Ryan D

    Hi Ryan D,
    After testing the scenario in my local environment, everything goes well. As per my understanding, I think this issue can be caused by the Available values in the Modifier parameter. Could you tell us the Available values of Modifier parameter in your scenario?
    The following scenario in my test is for your reference:
    I create a dataset with the sample data you posted.
    Add a multi-value parameter named Modifier in the report.
    Specify the following values in the Available Values of the parameter (please note that the value “All” should be located in the first place, because we use Parameters!Modifier.Value(0) in the filter):
    Label: All                 Value: ="660E4583-7F29-4D37-8038-5096AE6A1A7F"
    Label: A                   Value: ="1"
    Label: B                   Value: ="2"
    Label: C                   Value: ="3"
    Drag a table to the design surface, insert parameter and b fields in the table.
    Use the same expression as you said to add a filter in the tablix.
    We can refer to the following screenshot:
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Display Blank Tablix when using multi value parameter in SSRS 2008 R2

    I have a main report which contains tablix1 and tablix2. Tablix1 is using DataSet1 and Tablix2 is using DataSet2. I have a multi value parameter set up with 71 items to choose from. My company owns 71 convenience stores and what I am doing is comparing sales
    for a hard coded date in DataSet1 versus a hard coded date in DataSet2, sales for the same date 1 year ago. Pretty simple, works great when both datasets return data. However, we have a store that we opened up about 4 months ago. The data is displayed
    in Tablix1, but since the store did not exist 1 year ago, there is no data for Tablix2. I have tried the "No Row Message" and Repeating Column and Row Headers, etc. When I choose all stores that existed last year, the report runs great. When I choose
    a store that existed last year and our new store (#39) that did not, the report messes up. The below image, you can see Tablix1 is good, but Tablix2 should be blank and only show the column headers. Instead it moved Store #40's Tablix1 beside it. If I
    run the report and just select store #39, Tablix1 runs as it should and Tablix2 shows The column headers and a blank row. It disappears as soon as I select multiple values.
    When you click the next page button, you will see Store 40's Tablix2 where it's Tablix1 should be and then a blank space where Tablix2 should be.

    Hi BassMan75,
    According to your description, there is a main report with subreport, since the store did not exist one year ago, there is no data for the subreport. You want to show tablix grid even through there is no data in subreport, right?
    Report data comes from datasets, if there is no corresponding value in the dataset, only column headers will be displayed in the report, we could not set the rows to blank, so we can’t achieve your goal directly. As a workaround, we can put one text box
    in the report with the message: No data for the store. In this way, if there is no data meets search condition, the message will be displayed in the report. Please refer to the following steps:
    Click and select the tablix.
    In Properties window, in No Rows section, in NoRowsMessage text box, type No data for the store.
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

Maybe you are looking for

  • Is it possible to upgrade graphics by buying another (same) card ?

    Hi Scince I am playing a lot of heavy games on my MacPro (mid 2012) (windows), and new games like FarCry 3 are lagging a bit on Ultra graphics, I thought of an upgrade. I thought of buyin a new graphics card, but scince it isn't that important to pla

  • Problem with adobe muse 7.2 in OSX Help Plase

    Recientemente tengo un problema con el adobe muse 7.2 en el mac!  cuando intento colocar un menu horizontal o vertical este no aparece completo, solo aparece un boton del menu y no me deja agragar mas, Lo segundo que le pasa es que no funciona el est

  • Can't load websites hosted on GoDaddy

    Updated to Mavericks. Now I can't access websites I built that are hosted via GoDaddy. I can surf the web like crazy, but not these particular sites (and I need to work on them). I also can't send mail from the email account I have set up through one

  • Phone screen lights up-no call-buzzes no call

    I have a Samsung Stratussphere.  While the phone is laying on a table or desk, sometimes the screen with light up.  No call is coming in and no text is being sent or received.  The screen just turns on.  And last night it started to buzz as if I had

  • Using rxvt-unicode as an application launcher

    So I followed the wiki and have the following command bound to Super+BackSpace: $ urxvt -geometry 80x3+480+320 -name 'bashrun' -e sh -c "/bin/bash -i -t" The niggle I'm having is that the window is still open even after I've launched chromium or what