How to pass the multiplevalue parameter into SSRS by data driven subscription
Hi All,
I create a table and show it in the SSRS by table
EmID Name
AA1, A
BB1, C
CC1, E
And set one parameter EmID for the user to filter the record and that Parameter Accept multiple values and the type is text.
And I create a another table for the data-driven subscription to send the report to user by email.
EmailTitle EmID EmailComment
TestEmail AA1,BB1,CC1 TestComment
And I set the subscription and set the EmID parameter is from EmID column, then test the subscription, it failed...
However, when I only put AA1 into the table, then the subscription works well
EmailTitle EmID EmailComment
TestEmail AA1 TestComment
So How I can config the above table to support subscription?
Thanks.
Hi Bimaster,
When specify a column for the parameter value in a data-driven subscription, it will be regarded as a single value. So when specify the value "AA1,BB1,CC1" as the parameter value, the subscription will fail.
The work around for this issue clear the "Allow multiple values" for the report parameter, and then change the filter
From
Expression:[ParameterName]
Operator :In
Value :[@ParameterName]
To
Expression:[ParameterName]
Operator :In
Value :Split(Parameters!ParameterName.Value,",")
In this case, we can specify a value like "AA1,BB1,CC1" from database to the data-driven subscription. I have tested it on my local host environment, it works fine.
Regards
Charlie Liao
TechNet Community Support
Similar Messages
-
How to pass in a parameter into a report viewer on a jsp - and hidden
Hi, I've built a php application and am using the java environment to enable the crystal report/viewer. The developer was looking how to pass in a parameter into a report viewer on a jsp. Ultimately the end product we need is to get an HTML report viewer loading a report file with hidden parameters so to not expose other customer data (it's a shared database for multiple customers) preferably loaded from php using maybe the php java bridge. Would anyone happen to have any sample code or any guidance?
<%@ page contentType="text/html; charset=UTF-8"
pageEncoding="ISO-8859-1"%>
<%@ taglib uri="/crystal-tags-reportviewer.tld" prefix="crviewer"%>
<%
// just a test to grab rpt name from GET
String rptFile = "report_files/" + request.getParameter("rpt");
%>
<crviewer:viewer reportSourceType="reportingComponent" viewerName=""
isOwnPage="true">
<crviewer:report reportName="<%= rptFile %>" />
</crviewer:viewer>
Many thanks in advance!
MarkI am not aware of any html tags you can pass to the viewer for parameter values. Normally, you would load the report in code and then use the SDK with the report object to pass parameter values.
-
How to pass the BAPI Parameter
Hi,
I can able to connect the Sap using sap .net connector in vb.net. also using SAP .Net Connector wizard in C#.net,i can able to create Dll files of BAPI .also when im adding the dll reference in visualbasic.net it has been added successfully.but after i dont know how to pass the parameter to BAPI function and how to get the return records from BAPI.Can any one guide me how to do this in Visualbasic .net?Yes. Thankx . Actualy problem is that SAP .net connector 1.0.1 is not uninstalled completely on my system .
Now i can able to see all the function using filter in server explorer.Now i selected BAPI_CUSTOMER_GETLIST.Can you guide how to (code)get the datas into ADOtable or any recordset in Visual basic.net.
Please give me the example program .
Thanks in advance
Message was edited by: Prakash N
Message was edited by: Prakash N -
SSRS 2005 - Data Driven Subscription
Hi ,
On my report manager - 2005, I have one report which has only one parameter (Seller) and this is a single select parameter (NOT multiple selects)
I want to create a data driven subscription which will send automatic Email to specified users on a weekly basis (every Friday morning)
The only condition while sending excel formatted email is that, it should select some specific values only for this parameter "Seller"
Example, it should send email to users only for Seller = A, B, and C and it should NOT send data for all other sellers
Can you pl explain each step to do this ?
RegardsHi UltraDev,
If I understand correctly, you want to use data-driven subscription to send corresponding report to specific Seller. Please refer to the following steps:
Click New Data-driven Subscription icon in the Subscriptions dialog box of the report.
Select E-Mail option of Specify how to recipients are notified, and select “Specify a shared data source”. Next.
Select the corresponding datasource. Next.
Add query in the blank. It is related to the recipient. You can refer to the following code:
Select ‘[email protected]’ as SellerAddress, ’A’ as Seller
Union
Select ‘[email protected]’ as SellerAddress, ’B’ as Seller
Union
Select ‘[email protected]’ as SellerAddress, ’C’ as Seller
In the Step4 page, select “Get the value from the database” below “To”.
Then, we can select the Seller field as the specify value which is only with A, B, C three values.
In the Step5 page, we can configure the parameter values.
After that, we can configure the schedule of the subscription.
There is an article about how to Creating a Data-Driven Subscription, you can refer to it.
http://technet.microsoft.com/en-us/library/ms169673(v=sql.90).aspx
Regards,
Alisa Tang
Alisa Tang
TechNet Community Support -
How to pass the java object into the spring controller
Hi Friends
When I hit the url at the first time my call goes to the spring controller and sets the userDetails objects in the modelAndView.addObject("userDetails", userDetails.getUserDetails()) and returns the userDetails.html page. if I click any link in the same page i want to pass same (userDetails) object thru javascript or jquery and calls the another(controller) method and returns the same (userDetails.html) page.
It means how can i pass the java object thru javascript or jquery and calls the controller. if i get the same object in my controller i can avoid calling the db again. please help me out to resolve this issue. i am tired of fixing this issue.
Regards
Sherin PoojaIf you want to avoid calling the database again then cache the data.
However before you do that make sure that calling the database, in the context of YOUR system, is going to be an actual problem.
For example there is absolutely no point in caching a User object when only one user an hour is actually using the system. -
How to pass the grep result into a variable in Unix
I have the following statements in my unix batch script:
JOBNAME=`grep "$1" rssc_plsbatch.txt|awk -F'~' '{print $1}'`;
PROCNAME=`grep "$1" rssc_plsbatch.txt|awk -F'~' '{print $2}'`;
JOBDESC=`grep "$1" rssc_plsbatch.txt|awk -F'~' '{print $3}'`;
PARMS=`grep "$1" rssc_plsbatch.txt|awk -F'~' '{print $4}'`;
I want to grep the the first line in the text file and pass it to a variable and then using awk programming, I want to print for each variable (JOBNAME, PROCNAME, JOBDESC and PARMS), instead of using grep 4 times.
Can somebody please help.
Each line of my text file is in the the following format:
00001JOB1~PROCNAME1~This is a procedure~10,'A','B'~
And also I want to check whether $1 passed (part of JONAME) is not fount, then it should exit with error message, if $1 (input parameter) does not match, I want to exit the program, instead of processing further statements.If you want to return error codes, you can do that with the return command.
If the process name isn't found, grep will return a specific error code... from man grep
Normally, exit status is 0 if selected lines are found and 1 otherwise.
But the exit status is 2 if an error occurred, unless the -q or quiet or silent option is used and a selected line is found.
So you can use the exit code of grep in an if statement to decide what return code you want to return with your own script.
Mike -
SSRS Data Driven Subscription Split Report on Email
I have a requirement to email an SSRS report to each of the individual emails referenced in the report.
Think of it is as a mail merge wherein there are 5 persons receiving the report.The Current SSRS Report contains 5 Letters. The Email Subscription dataset is identical to the one upon which the report is based and works as expected. The problem is that currently
it is sending the ENTIRE report to each email rather than sending only the report that corresponds to the applicable email ( I have heard this referred to as bursting the report).
Is there some setting that I may be missing? How can this be achieved?
Again I have Info
Report A
(user1 info, User 1 Email
User2 info---------------BEING EMAILED TO ----------> User 2 email
User3 info User 3 email
User4 info User 4 email
User5 ) User 5 email
And I want
Report A
(user1 info--------------BEING EMAILED TO ----------> User 1 Email
User2 info---------------BEING EMAILED TO ----------> User 2 email
User3 info --------------BEING EMAILED TO ----------> User 3 email
User4 info --------------BEING EMAILED TO ----------> User 4 email
User5 info --------------BEING EMAILED TO ----------> User 5 emailHi Garrett_ll,
After testing the issue in my local environment, we can refer to the steps below to achieve your requirement:
We should add a parameter named User in the report use User field as Available Values.
Add a filter as below in the corresponding tablix:
Expression: [User]
Operator: =
Value: [@User]
Deploy the Report to report server.
During the data-driven subscription, in the step 4 (Specify delivery extension settings for Report Server Email). Below “To” option, select “Get the value from the database”, then select User field.
In the step 5, we can configure report parameter “Get the value from the database”, then select User field.
The following article about Create a Data-Driven Subscription, you can refer to it.
http://technet.microsoft.com/en-us/library/ms169673.aspx
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
How to pass the parameter of a stored procedure to iReport
Hi... i don't know how to pass the parameter of the stored procedure to the iReport.
In the Report Query, i tried
1. sp_storedprocedure ' value'
2. sp_storedprocedure +''''+$P{parameter}+''''+
3. sp_storedprocedure +$V+$P{parameter}++$F($F is a variable having a value of ' (a single quote))may you enlighten us please? thank youFor M$ SQL server I find that it only works when U use the fully qualified name...
e.g. catalod.dbo.my_procedure_name 'variable'
My full query in the Report Query window is something like this:
EXEC arc.dbo.jasper_Invoice 1000
Note that you may find that selecting from VIEWS / TABLES fails for no apparent reason and iReport will prompt you with the usual very unhelpful (we have what we "pay" for) prompt, stating that "The document is empty".
To work around this issue, where a statement like "SELECT * FROM arc.dbo.acc_invoices WHERE Invoice_id=1000" does not work, simply create a PROC, something like:
CREATE PROC jasper_MyProc (@my_rec_id integer) AS
SELECT * FROM arc.dbo.acc_invoices WHERE Invoice_id= @my_rec_id integer
...to wrap your SELECT statement, then call the PROC
Edited by: Sylinsr on Apr 22, 2008 4:23 PM -
How to pass the chinese input insert into DB
hi guys,
i am the new one in developing the multilingual software.
let me explain :
the tools used are :
Jboss 4.0.4 , MySQL, Eclipse.
user key in the chinese or other languages[like greek] in the jsp page. then will uses <form .......... method="post" action="create_user_confirm.jsp"> to redirect the page to create_user_confirm.jsp . In this page request.getParameter is used to get those input and send them to java code to insert into DB.
my difficulty now is from input jsp page to create_user_confirm.jsp page, i couldnt send the chinese word (greek or spanish) to the 2nd page by using request.getParameter("").it shows me the funny symbols below are some of code of my jsp pages.
nput.jsp
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ page import="java.util.Locale"%>
<%@ page import="org.apache.commons.codec.binary.Base64"%>
<%
Locale.setDefault(Locale.SIMPLIFIED_CHINESE);
try {
%>
<jsp:include page="/top.jsp" />
<p class="headline"><%=mpmservice.getLang(user.getLang(), "create_user_title")%></p>
<form name="operatordetails" id="operatordetails" method="post" action="create_user_confirm.jsp">
<input type=hidden name=s value="<%=request.getParameter("s")%>">
<table class="infotable" id="report">
<tr>
<td class="left"><%=mpmservice.getLang(user.getLang(), "create_user_label_name")%></td>
<td class="middle" colspan="2"><input class="middle" name="name" type="text" id="name" size="35" value="<%=name%>" /></td>
</tr>
<tr>
<td colspan="4" style="height: 23px">
<p style="border-bottom: gray 1px solid;"> </p>
</td>
</tr>
<tr>
<td class="left"><%=mpmservice.getLang(user.getLang(), "create_user_label_description")%></td>
<td class="middle" colspan="2"><input class="middle" name="description" type="text" id="description" size="35" value="<%=description%>" /></td>
</tr>
<tr>
<td colspan="4" style="height: 23px">
<p style="border-bottom: gray 1px solid;"> </p>
</td>
</tr>
<tr>
<td class="left"><%=mpmservice.getLang(user.getLang(), "create_user_label_phone_number")%></td>
<td class="middle" colspan="2"><input class="middle" name="phonenumber" type="text" id="phonenumber" size="35" value="<%=phonenumber %>" /></td>
</tr>
<tr>
<td colspan="4" style="height: 23px">
<p style="border-bottom: gray 1px solid;"> </p>
</td>
</tr>
<tr>
<td class="left"><%=mpmservice.getLang(user.getLang(), "create_user_label_password")%></td>
<td class="middle" colspan="2"><input class="middle"name="password1" type="password" id="password1" size="35" /></td>
</tr>
<tr>
<td colspan="4" style="height: 23px">
<p style="border-bottom: gray 1px solid;"> </p>
</td>
</tr>
<tr>
<td class="left"><%=mpmservice.getLang(user.getLang(), "create_user_label_passwordrepeat")%></td>
<td class="middle" colspan="2"><input class="middle" name="password2" type="password" id="password2" size="35" /></td>
</tr>
<tr>
<td colspan="4" style="height: 23px">
<p style="border-bottom: gray 1px solid;"> </p>
</td>
</tr>
<tr>
<td class="left"><%=mpmservice.getLang(user.getLang(), "create_user_label_privilege")%></td>
<td class="middle" colspan="2"><select class="middle" name="privilege" id="privilege">
<tr>
<td class="left"> </td>
<td class="halfmiddle">
<input class="halfmiddle" name="Create" type="submit" id="Create" value="<%=mpmservice.getLang(user.getLang(), "create_user")%>" />
</td>
<td class="halfmiddle">
<input class="halfmiddle" name="Cancel" type="button" id="Cancel" value="<%=mpmservice.getLang(user.getLang(), "cancel")%>" onClick="location='create_user.jsp?s=<%=request.getParameter("s")%>&msg=&name=&description=&phonenumber='" />
</td>
<td class="right"> </td>
</tr>
</table>
</form>
<jsp:include page="/bottom.jsp" />
<% } %>
create_user_confirm.jsp
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ page import="javax.naming.Context"%>
<%@ page import="javax.naming.InitialContext"%>
<%@ page import="java.util.Locale"%>
<%@ page import="org.apache.commons.codec.binary.Base64"%>
<%
Locale.setDefault(Locale.SIMPLIFIED_CHINESE);
try {
if (ok) {
String name = request.getParameter("name");
String description = request.getParameter("description");
String phonenumber = request.getParameter("phonenumber");
String password1 = request.getParameter("password1");
String password2 = request.getParameter("password2");
String[] privilege = request.getParameterValues("privilege");
if (name == null)
name = "";
if (description == null)
description = "";
if (phonenumber == null)
phonenumber = "";
if (password1 == null)
password1 = "";
if (password2 == null)
password2 = "";
LSUser user1 = null;
%>
<jsp:include page="/top.jsp" />
<p class="headline"><%=mpmservice.getLang(user.getLang(), "create_user_title")%></p>
<form name="operatordetails" id="operatordetails" method="post" action="create_user_do.jsp">
<input type=hidden name=s value="<%=request.getParameter("s")%>">
<input type=hidden name=name value="<%=name%>">
<input type=hidden name=description value="<%=description%>">
<input type=hidden name=password1 value="<%=password1%>">
<input type=hidden name=phonenumber value="<%=phonenumber%>">
<input type=hidden name=msg value="<%=message%>">
<table class="infotable" id="report">
<tr>
<td class="left"><%=mpmservice.getLang(user.getLang(), "create_user_label_name")%></td>
<td class="middle" colspan="2"><%=name%></td>
<td class="right"> </td>
</tr>
<tr>
<td colspan="4" style="height: 23px">
<p style="border-bottom: gray 1px solid;"> </p>
</td>
</tr>
<tr>
<td class="left"><%=mpmservice.getLang(user.getLang(), "create_user_label_description")%></td>
<td class="middle" colspan="2"><%=description%></td>
<td class="right"> </td>
</tr>
<tr>
<td colspan="4" style="height: 23px">
<p style="border-bottom: gray 1px solid;"> </p>
</td>
</tr>
<% if(!phonenumber.equals("")) { %>
<tr>
<td class="left"><%=mpmservice.getLang(user.getLang(), "create_user_label_phone_number")%></td>
<td class="middle" colspan="2"><%=request.getParameter("phonenumber")%></td>
<td class="right"> </td>
</tr>
<tr>
<td colspan="4" style="height: 23px">
<p style="border-bottom: gray 1px solid;"> </p>
</td>
</tr>
<% } %>
<tr>
<td colspan="4" style="height: 23px">
<p style="border-bottom: gray 1px solid;"> </p>
</td>
</tr>
<tr>
<td class="left"> </td>
<td class="halfmiddle">
<input class="halfmiddle" name="Create" type="submit" id="Create" value="<%=mpmservice.getLang(user.getLang(), "create_user")%>" />
</td>
<td class="halfmiddle">
<input class="halfmiddle" name="Cancel" type="button" id="Cancel" value="<%=mpmservice.getLang(user.getLang(), "cancel")%>" onClick="location='create_user.jsp?s=<%=request.getParameter("s")%>&msg=<%=message%>&name=<%=name%>&description=<%=description%>&phonenumber=<%=request.getParameter("phonenumber")%><%=privStr%>'" />
</td>
<td class="right"> </td>
</tr>
</table>
</form>
<jsp:include page="/bottom.jsp" />
<% } %>
i really appreciate whoever reply this post. thanks a lot.hi skalster,
thanks for your reply. currently i use Jboss to make the connection and the configuration to mySQL. the code as such :
<datasources>
<local-tx-datasource>
<jndi-name>RTA_DS</jndi-name>
<connection-url>jdbc:mysql://localhost:3306/jbossdb</connection-url>
<driver-class>com.mysql.jdbc.Driver</driver-class>
<user-name>root</user-name>
<password></password>
<min-pool-size>5</min-pool-size>
<max-pool-size>20</max-pool-size>
<metadata>
<type-mapping>mySQL</type-mapping>
</metadata>
</local-tx-datasource>
</datasources>so whatever there is a insertion or retrieval, the system will call entity bean and there is no DB configuration on my code side. all done by Jboss. but now i am more concern on chinese word or other languages which are able to pass the chinese parameter within jsp pages. now i am facing the problem which user key in the chinese or other language's input,it is fail to pass to another jsp (create_user_confirm.jsp) to do the validation. it appears as those funny character from input.jsp to create_user_confirm.jsp by using request.getparameter(). any idea to solve this matter?the source code of the 2 jsp files are at the previous message. i really thanks for your reply.
have a nice day -
How to import the internal table into subroutine as parameter
how to import the internal table into subroutine as parameter, and its structure can be recognized inside the subroutine
Hi Yong,
try this:
parameters: p_tabnm like dd03l-tabname.
field-symbols: <fs_tabname> type standard table.
data: itab_ref type ref to data.
create data itab_ref type standard table of (p_tabnm)
with default key.
assign itab_ref->* to <fs_tabname>.
select * from (p_tabnm) into table <fs_tabname>.
perform subroutine tables <fs_tabname>
using p_tabnm.
*& Form subroutine
text
-->P_<FS_TABNAME> text
-->P_P_TABNM text
form subroutine tables p_tabname type standard table
using p_tabnm.
Here p_tabname already has the structure of the table you gave as input
parameter
endform. " subroutine -
Hello All,
I created a WSDL for Framework folder service FLD_PROPAGATE and FLD_PROPAGATE service has following two required request parameter:
$fieldName:isSelected: Set to 1 to propagate the specified field.
$fieldName: The value of the field to propagate
So, I am facing issue in passing the parameter $fieldName:isSelected.
I tried to pass the request parameter as mentioned below in SOAP UI request payload but still this is not working and error message is: "Unable to propagate. Please select at least one field to propagate"
<csx:fSecurityGroup:IsSelected>1</csx:fSecurityGroup:IsSelected>
<csx:fFolderGUID>C7F5CBB4E54A790E21E18CE378B16EEB</csx:fFolderGUID>
<csx:fSecurityGroup>Public</csx:fSecurityGroup>
Could you please suggest for the correct way to pass these parameter values? If anyone have sample WSDL for this service please share?
Here is the complete service definition:
FLD_PROPAGATE
Service that propagates metadata down through the folder structure in Folders.
Service Class: intradoc.folders.FoldersService
Location: IdcHomeDir/resources/frameworkfolders_service.htm
Required Service Parameters
$fieldName:isSelected: Set to 1 to propagate the specified field.
$fieldName: The value of the field to propagateHello All,
I created a WSDL for Framework folder service FLD_PROPAGATE and FLD_PROPAGATE service has following two required request parameter:
$fieldName:isSelected: Set to 1 to propagate the specified field.
$fieldName: The value of the field to propagate
So, I am facing issue in passing the parameter $fieldName:isSelected.
I tried to pass the request parameter as mentioned below in SOAP UI request payload but still this is not working and error message is: "Unable to propagate. Please select at least one field to propagate"
<csx:fSecurityGroup:IsSelected>1</csx:fSecurityGroup:IsSelected>
<csx:fFolderGUID>C7F5CBB4E54A790E21E18CE378B16EEB</csx:fFolderGUID>
<csx:fSecurityGroup>Public</csx:fSecurityGroup>
Could you please suggest for the correct way to pass these parameter values? If anyone have sample WSDL for this service please share?
Here is the complete service definition:
FLD_PROPAGATE
Service that propagates metadata down through the folder structure in Folders.
Service Class: intradoc.folders.FoldersService
Location: IdcHomeDir/resources/frameworkfolders_service.htm
Required Service Parameters
$fieldName:isSelected: Set to 1 to propagate the specified field.
$fieldName: The value of the field to propagate -
How to pass the ObjectType as input for search Criteria
Hi All,
I have search function that takes the input parameters and returns all the matching rows. this is straight forward only. My problem is having multiple types as a input parameter. that is the reason i am not able to pass the input value for these types.
My Input Type table looks like this.
CREATE OR REPLACE TYPE T_T_PARTY_REQUEST_CRITERIA
AS TABLE OF T_O_PARTY_REQUEST_CRITERIA;
CREATE OR REPLACE TYPE T_O_PARTY_REQUEST_CRITERIA
AS OBJECT
SYSTEM_IDENTIFER VARCHAR2(50),
PROCESS_TYPE VARCHAR2(50),
UPDATED_BY VARCHAR2(50),
STATUS VARCHAR2(50),
CHILD_REQUEST_INDICATOR VARCHAR2(25),
TRACKING_REQUEST_INDICATOR VARCHAR2(25),
REQUEST_TYPE VARCHAR2(50),
REQUEST_TYPE_CLASS_NAME VARCHAR2(50),
PARTY_KEY_IDENTIFIER T_T_PARTY_KEY_IDENTIFIER,
ADDTN_IDENTIFIER_INFO T_T_ADDTN_IDENTIFIER_INFO
Last two inputs are type again.my question here is how to pass the values for these two T_T_PARTY_KEY_IDENTIFIER and T_T_ADDTN_IDENTIFIER_INFO. I have defined the the last two types following.
CREATE OR REPLACE TYPE T_T_PARTY_KEY_IDENTIFIER
AS TABLE OF T_O_PARTY_KEY_IDENTIFIER;
CREATE OR REPLACE TYPE T_T_ADDTN_IDENTIFIER_INFO
AS TABLE OF T_O_ADDTN_IDENTIFIER_INFO;
CREATE OR REPLACE TYPE T_T_ADDTN_IDENTIFIER_VALUES
AS TABLE OF T_O_ADDTN_IDENTIFIER_VALUES;
CREATE OR REPLACE TYPE T_O_PARTY_KEY_IDENTIFIER
AS OBJECT
PARTY_KEY_TYP_NM VARCHAR2(50),
PARTY_KEY_VALUE VARCHAR2(50)
CREATE OR REPLACE TYPE T_O_ADDTN_IDENTIFIER_INFO
AS OBJECT
ADDTN_INFO_KEY_TYP_NM VARCHAR2(50),
ADDTN_IDENTIFIER_VALUES T_T_ADDTN_IDENTIFIER_VALUES
CREATE OR REPLACE TYPE T_O_ADDTN_IDENTIFIER_VALUES
AS OBJECT
ADDTN_RQST_VALUE VARCHAR2(50),
ADDTN_RQST_VAL_DT TIMESTAMP(6),
ADDTN_RQST_VAL_NUM NUMBER(19, 2)
I have pasted the query here from my function. when i pass the null as part of input for these 2 types my query is working. otherwise it is saying invalid Identifier.First I tried with first Type.
I am passing the value as
(PRKYTP.PRTY_KEY_TYP_NM = ITTPRC.PARTY_KEY_IDENTIFIER.PARTY_KEY_TYP_NM OR ITTPRC.PARTY_KEY_IDENTIFIER.PARTY_KEY_TYP_NM = 'ALL' OR ITTPRC.PARTY_KEY_IDENTIFIER.PARTY_KEY_TYP_NM IS NULL);
Error is Error(34,147): PL/SQL: ORA-00904: "ITTPRC"."PARTY_KEY_IDENTIFIER"."PARTY_KEY_TYP_NM": invalid identifier
SELECT DISTINCT T_O_PARTY_REQUEST_IDENTIFIER(PR.PRTY_RQST_ID) BULK COLLECT INTO T_T_P_R_CRITERIA
FROM TABLE(CAST(I_T_T_PARTY_REQUEST_CRITERIA AS T_T_PARTY_REQUEST_CRITERIA)) ITTPRC,
PRTY_RQST PR
JOIN BUSN_APPLC BIAP ON BIAP.BUSN_APPLC_ID = PR.BUSN_APPLC_ID
JOIN INTN_STATS INSTS ON INSTS.INTN_STATS_ID = PR.INTN_STATS_ID
JOIN INTN_PROCES_TYP INTPTY ON INTPTY.INTN_PROCES_TYP_ID = PR.INTN_PROCES_TYP_ID
LEFT JOIN RQST_TYP RQSTYP ON RQSTYP.RQST_TYP_ID = PR.RQST_TYP_ID
JOIN ADDTN_RQST_INFO ADTINF ON PR.PRTY_RQST_ID = ADTINF.PRTY_RQST_ID
JOIN ADDTN_INFO_KEY_TYP ADDKEY ON ADTINF.ADDTN_INFO_KEY_TYP_ID = ADDKEY.ADDTN_INFO_KEY_TYP_ID
JOIN PRTY_KEY PRTKEY ON PR.PRTY_RQST_ID = PRTKEY.PRTY_RQST_ID
JOIN PRTY_KEY_TYP PRKYTP ON PRTKEY.PRTY_KEY_TYP_ID = PRKYTP.PRTY_KEY_TYP_ID
WHERE (BIAP.BUSN_APPLC_NM = ITTPRC.SYSTEM_IDENTIFER OR ITTPRC.SYSTEM_IDENTIFER = 'ALL' OR ITTPRC.SYSTEM_IDENTIFER IS NULL)
AND (INTPTY.INTN_PROCES_TYP_NM = ITTPRC.PROCESS_TYPE OR ITTPRC.PROCESS_TYPE = 'ALL' OR ITTPRC.PROCESS_TYPE IS NULL)
AND (PR.UPDT_BY = ITTPRC.UPDATED_BY OR ITTPRC.UPDATED_BY = 'ALL' OR ITTPRC.UPDATED_BY IS NULL)
AND (INSTS.INTN_STATS_NM = ITTPRC.STATUS OR ITTPRC.STATUS = 'ALL' OR ITTPRC.STATUS IS NULL)
AND (PR.CHLD_RQST_IND = ITTPRC.CHILD_REQUEST_INDICATOR OR ITTPRC.CHILD_REQUEST_INDICATOR = 'ALL' OR ITTPRC.CHILD_REQUEST_INDICATOR IS NULL)
AND (PR.TRACK_RQST_IND = ITTPRC.TRACKING_REQUEST_INDICATOR OR ITTPRC.TRACKING_REQUEST_INDICATOR = 'ALL' OR ITTPRC.TRACKING_REQUEST_INDICATOR IS NULL)
AND (RQSTYP.RQST_TYP_NM = ITTPRC.REQUEST_TYPE OR ITTPRC.REQUEST_TYPE = 'ALL' OR ITTPRC.REQUEST_TYPE IS NULL)
AND (RQSTYP.RQST_CLASS_NM = ITTPRC.REQUEST_TYPE_CLASS_NAME OR ITTPRC.REQUEST_TYPE_CLASS_NAME = 'ALL' OR ITTPRC.REQUEST_TYPE_CLASS_NAME IS NULL)
-- AND (ITTPRC.PARTY_KEY_IDENTIFIER IS NULL);
-- AND (ITTPRC.ADDTN_IDENTIFIER_INFO IS NULL);
AND (PRKYTP.PRTY_KEY_TYP_NM = ITTPRC.PARTY_KEY_IDENTIFIER.PARTY_KEY_TYP_NM OR ITTPRC.PARTY_KEY_IDENTIFIER.PARTY_KEY_TYP_NM = 'ALL' OR ITTPRC.PARTY_KEY_IDENTIFIER.PARTY_KEY_TYP_NM IS NULL);
can some one tell is this approach is correct. if not suggest me.I am passing the value as
(PRKYTP.PRTY_KEY_TYP_NM = ITTPRC.PARTY_KEY_IDENTIFIER.PARTY_KEY_TYP_NM OR Here PART_KEY_IDENTIFIER is a Nested table. So you cant join it like that.
Try like this
prkytp.prty_key_typ_nm in (select party_key_typ_nm from table(ittprc.party_key_identifier)) orHere is a example based on EMP table.
I have created following nested table.
SQL> create or replace type my_emp_list as table of number(10)
2 /
Type created.
SQL> create or replace type my_dept_obj as object(deptno number(10), emp_list my_emp_list)
2 /
Type created.
SQL> create or replace type my_dept_tbl as table of my_dept_obj
2 /
Type created.I am going to use the below nested table data in a query to get value from emp table
my_dept_tbl
my_dept_obj
10, my_emp_list(1,2,3,4,5)
my_dept_obj
20, my_emp_list(6,7,8,9)
)The query would be like this
SQL> select e.*
2 from emp e
3 join table
4 (
5 my_dept_tbl
6 (
7 my_dept_obj
8 (
9 10, my_emp_list(7839,7782)
10 ),
11 my_dept_obj
12 (
13 20, my_emp_list(7566,7369)
14 )
15 )
16 ) t
17 on e.deptno = t.deptno
18 and e.empno in (select column_value from table(t.emp_list))
19 /
EMPNO ENAME JOB MGR HIREDATE SAL COM DEPTNO
7839 KING PRESIDENT 17-NOV-81 5000 0 10
7782 CLARK MANAGER 7839 09-JUN-81 2450 0 10
7566 JONES MANAGER 7839 02-APR-81 2975 0 20
7369 SMITH CLERK 7902 02-APR-81 2975 0 20
SQL> -
How to use the region parameter of main report for subreport chart titles?
I am using Crystal Reports 11.
I create 1 main report with 10 sub-reports that contain cross-tabs & charts. The main report has a parameter regarding 3 different areas: region1, region2, and region3.
I use the method of adding the u2018regionu2019 parameter of main report to the selection formula of the sub-reports. So, I can select 'region' from main report to controll outputs in sub-reports by region.
I use formulas for chart titles, e.g.:
Select {Product Code}
Case 'a111':
u2018Region1 u2013 a111 Counts'
Case u2018b222u2019:
u2018Region1 u2013 b222 Counts'
u2026
u2026
Default:
u2026
Since I pass the u2018regionu2019 parameter of main report to sub-reports, I have to change chart titles dynamically based on the region I select.
How can I use the region parameter from main report in the formulas to get chart titles dynamically?
Thank you in advance.Thank you.
I am not using Chart Title with "Chart Expert".
I am using a formula for chart titles, e.g.:
Select {Product Code}
Case 'a111':
u2018Region1 u2013 a111 Counts'
Case u2018b222u2019:
u2018Region1 u2013 b222 Counts'
u2026
u2026
Default:
u2026
I drag this formula above the charts and it looks like a dynamic title. So, for product a111, the chart title would be "Region1 u2013 a111 Counts"; for product b222, the chart title would be "Region1 u2013 b222" Counts; and so on ...
Because I pass the region parameter from master report to subreport, I want to change the region part of the chart titles dynamically.
For example,
when select Region1, the chart titles should be: "Region1 u2013 a111 Counts"; "Region1 u2013 b222"; ...
when select Region2, the chart titles should be: "Region2 u2013 a111 Counts"; "Region2 u2013 b222"; ...
I want to add the region parameter into the tiltle formula.
How should I do? -
How to pass the data from a input table to RFC data service?
Hi,
I am doing a prototype with VC, I'm wondering how VC pass the data from a table view to a backend data service? For example, I have one RFC in the backend system with a tabel type importing parameter, now I want to pass all the data from an input table view to the RFC, I guess it's possible but I don't know how to do it.
I try to create some events between the input table and data service, but seems there is no a system event can export the whole table to the backend data service.
Thanks for your answer.Thanks for your answer, I tried the solution 2, I create "Submit" button, and ser the mapping scope to be "All data rows", it only works when I select at least one row, otherwise the data would not be passed.
Another question is I have serveral imported table parameter, for each table I have one "submit" event, I want these tables to be submitted at the same time, but if I click the submit button in one table toolbar, I can only submit the table data which has a submit button clicked, for other tables, the data is not passed, how can I achieve it?
Thanks. -
How to use the "out" parameter in idl
hello.idl:
module HelloApp
interface Hello
string sayHello();
void getPass(in string name,out string pass);
HelloServer:
public class HelloServer
class HelloServant extends _HelloImplBase
public void getPass(String name,org.omg.CORBA.StringHolder pass)
System.out.println("Server pass = " + pass);
if (name.equals("lxh"))
pass = new org.omg.CORBA.StringHolder("1234");
if (name.equals("cbj"))
pass = new org.omg.CORBA.StringHolder("5678");
HelloClient:
public class HelloClient
public static void main(String args[])
try{
org.omg.CORBA.StringHolder Pass = null;
if (args.length == 1)
System.out.println("Client pass = " + args[0]);
helloRef.getPass(args[0],Pass);
System.out.println(Pass);
} catch(Exception e) {
When I run client main method with parameter "lxh",I will get a error says the getPass() parameter which has given is wrong.
How to use the out parameter in client?Does this error only occurs if you pass "lxh" or always?
Did you try passing a StringHolder Object rather than a NULL Object?
Perhaps you can post the error message!?
Maybe you are looking for
-
I followed the apple support for "iOS Device not recognized in iTunes for Windows" and it was all relevant since my apple mobile device driver had the exclamation mark on it. After I followed each step for the manual update, though, it still had the
-
Newbie Question... How do you make sure java can find all the imports
Hi everyone, I am new to Java and so far I really like it. But I am having problems porting applets to my websites. How can you make sure that all the references can and will be found in the applet... for example, I import javax.media.ControllListene
-
Looking for macBookair manuals
I find very difficult to veiw or download manual for Macbook air.Please help.
-
Cluster shuts down when invocation service fails to serialize message
Hi, I have a slight problem with the invocation service. When calling InvocationService.execute()/query() with an Invocable that's not serializable the cluster shuts down. A stacktrace containing a NotSerializableException is dumped, followed by a: 2
-
Reclaim memory occupied by Table in recyclebin(dropped without purging )
Hi all, In my oracle 11g R2 database, one table 'TEST' with 3 GB size has been dropped without purge option. So now its showing in recyclebin. Then later i issued '*PURGE RECYCLEBIN*', so that it disppeard from recyclebin view. But dba_segments shows