How to pass a variable more than one values?
How to pass a variable more than one values?
You can't.
During 1 session, 1 ODI variable can have only 1 value at a time.
If you need more than 1 value, you will have to do somethink like a loop inside your package, and refresh the variable value each time.
Similar Messages
-
How can a LOV returns more than one value in ADF query?
Hi,
I'm using JDev 11g .I'm using a LOV attribute and I have declared a transient attribute to return the meaningful value of the LOV on it. Now it works fine in form , but I want to make it work on the view criteria(<af:query>). It does not return the transient content, and returns empty value.
Thanks
Edited by: farzaneh on Nov 13, 2009 10:56 AMIt seems like Shay Schmeltzer just put out something on his blog on this very issue. You might go have a look to see if you get inspired, since you have given us very little information by which to help you otherwise.
-
How to pass more than one value for one column in procedure
hi
select id, name from col_tab where dept_name in ('ECE','CIVIL');
when i was running this it is working well.
CREATE OR REPLACE PACKAGE pack_str
AS
TYPE type_refcur IS REF CURSOR;
PROCEDURE str(char_in VARCHAR2,ans OUT type_refcur);
END pack_str;
CREATE OR REPLACE PACKAGE BODY pack_str
AS
PROCEDURE str(char_in VARCHAR2,ans OUT type_refcur)
IS
BEGIN
OPEN ans FOR
select id,name from col_tab where dept_name in char_in ;
END str;
END pack_str;
the package was created.
my doubt is
1.how to pass more than one value for char_in (e.g ('ECE','CIVIL'))
2. when i was storing the value in string like val = 'ECE,CIVIL' ,
how to get the id,name for ECE and CIVIL.
plz help meHi Rebekh ,
I am recreating your packages for the desired output.
CREATE OR REPLACE PACKAGE pack_str
AS
TYPE type_refcur IS REF CURSOR;
PROCEDURE str(char_in VARCHAR2,ans OUT type_refcur);
END pack_str;
CREATE OR REPLACE PACKAGE BODY pack_str
AS
PROCEDURE str(char_in VARCHAR2,ans OUT type_refcur)
IS
lv_t varchar2(200);
BEGIN
lv_t := REPLACE(char_in,',',''',''');
lv_t := 'select id,name from col_tab where dept_name in (''' || lv_t || ''')' ;
OPEN ans FOR lv_t;
END str;
END pack_str;
Note:-
Input Parameter char_in is a comma seperated value for dept_name
-Debamalya -
How to send more than one value to the Jump target report variable screen.
Hi,
I have two reports with Plant variable on their input variable screens. Say this Plant can take two values X and Y. The first report is executed with Plant value X and displays data. When a jump is made to report two, Plant value X is retrievd into report two's plant varible value. Now how to send value Y also to Report two when jump is made. I think we can do it with a customer exit? Any help is appreciated
Thanks
BhanuHi Bhanu,
I guess u have created a Variable with Sinlge value ,So Create a Variable which has Multiple Sinlge Values or Interval so that u can have more than one value and if u hvae more than value u will get data for those values and when u do a jump then u can see the data in the JUMP query for both the Values of Input.
Rgds
SVU123 -
URGENT: passing more than one value at the same parameter
Hello friends at www.oracle.com,
if I have a Forms program that sends some parameters to a Report, how can I send more than one value at the same parameter that is being sent?
For example: the Reports parameter P_CODE should receive (from Forms) and print the values 1, 2, 3 and 4, each one in a different page. But, only 4 is being printed, and these values aren't saved at a database, so I have to pass the other three values too. How can I solve this problem?
This is quite urgent and I need help on this.
Best regards,
Franklin Gongalves Jr.
[email protected]Thanks to Oracle Reports Team for answering! I'm sure this will work.
Best regards,
Franklin Gongalves Jr.
[email protected]
hello,
on the forms side, you will have to build the list for this parameter by e.g. string concat.
on the reports side you will have to "decode" this parameter according to how you built it in forms.
e.g. if you pass the list like this "10~20~30" you might use a where-clause in the query
... where instr(myCol, :myParam) >0
regards,
the oracle reports team --pw -
How to create Criterian For more than one table
Hi,
I have one problem how to create criteria for more than one table in that using one criteria hot to get the values from database in that more than onetable for getting these values .Please send me the exampke code.
reagrds,
raghuHi,
I don't think its possible to create fieldcatalog for different tables,
but if you want to do so create a dummy table which has all the fields which you want in fieldcatalog.
populate the data from different table to that dummy table
then create fieldcatalog for that table and pass it in the function module...
Regards,
Siddarth -
How to handle bdc for more than one transaction?
how to handle bdc for more than one transaction?
Hi srk,
I am providing you with some references below. Hope this prove to be helpful to you.
Method 1:
Use one BDC_OPEN_GROUP
Multiple BDC_INSERT
One BDC_CLOSE_GROUP.
Call function BDC_OPENGROUP.
Build BDC data and call lBDC_INSERT for transaction 1
Build BDC data and call lBDC_INSERT for transaction 2
Build BDC data and call lBDC_INSERT for transaction 3
paas the tcodes to bdc_insert.
call function BDC_CLOSE_GROUP.
Also check this out:
Here we need to record 2 transactions (shdb).
Once completion of the recording. Populate the data into input internal table .
Loop the internal table and process the 2 transactions
like
1. BDC_OPEN_GROUP
2. LOOP AT ITAB
a. Populate first transaction recording data
and pass transaction to the BDC_INSERT_GROUP.
BDC_INSERT_GROUP.
b. Populate second transaction recording data
and pass transaction to the BDC_INSERT_GROUP.
BDC_INSERT_GROUP.
ENDLOOP.
3. BDC_CLOSE_GROUP
the above info can be found at : How to use 2 transactions in BDC?
Also check this out:
Suppose u have created recordings for transactions 'MM01' 'XK01' and 'VA01'.
Then do this:
bdc_open_group.
after this we have to fill the bdcdata structure for one transaction.here 'MM01'.
bdc_insert.
refresh bdcdata.
after this we have to fill the bdcdata structure for one transaction.here 'xk01'.
bdc_insert .
refresh bdcdata.
after this we have to fill the bdcdata structure for one transaction.here 'va01'.
bdc_insert.
bdc_close_group.
Hope these are useful to you.
Please reward if any of the above are useful.
Regards,
Kalyan -
Fill BEx Variable with more than one value via Custom Exit
Dear SDN comunity,
I want to fill a BEx Variable via a custom exit. My problem is, I don't know how to fill this variable with more than one value.
I try to give you some background info based on an exaple:
<u><b>Variable-Details</b></u>
<b>Type of Variable:</b> Characteristic Value
<b>Variable Name:</b> ZCCD
<b>Description:</b> Company Code Selection
<b>Processing by:</b> Custom Exit
<b>Characteristic:</b> Company Code
<b>Variable Represents:</b> Multiple Single Values
<u><b>This is the used ABAP code:</b></u>
WHEN 'ZCCD'.
CLEAR l_s_range.
l_s_range-low = '2002;2004'.
l_s_range-sign = 'I'.
l_s_range-sign = 'EQ'.
APPEND l_s_range TO e_t_range.
<u><b>The system returns this message:</b></u>
Value "2002;2004" is too long for variable ZCCD
appreciate your help!
//michaelEugene, Marcus
it works now, thx a lot!
Please find attached the final code:
CLEAR l_s_range.
l_s_range-low = '2002'.
l_s_range-sign = 'I'.
l_s_range-<b>opt</b> = 'EQ'.
APPEND l_s_range TO e_t_range.
CLEAR l_s_range.
l_s_range-low = '2004'.
l_s_range-sign = 'I'.
l_s_range-<b>opt</b> = 'EQ'.
APPEND l_s_range TO e_t_range.
(Delta to Marcus's code is bold) -
URGENT: passing more than one value to Reports
Hello friends at www.oracle.com,
if I have a Forms program that sends some parameters to a Report, how can I send more than one value at the same parameter that is being sent?
For example: the Reports parameter P_CODE should receive (from Forms) and print the values 1, 2, 3 and 4, each one in a different page. But, only 4 is being printed, and these values aren't saved at a database, so I have to pass the other three values too. How can I solve this problem?
This is quite urgent and I need help on this.
Best regards,
Franklin Gongalves Jr.
[email protected]Hello Shay,
thanks for your answer, I think this will solve my problem. I hope my description of the problem was clear enough.
Just a comment about the (very interesting) new design of this Forum: Preview button is not working here.
Best regards,
Franklin Gongalves Jr.
[email protected]
How about sending the paramter value p_code='1,2,3,4'
and in Reports use lexical parameters (look at the online help on this).
Select .... Where Code in (&P_CODE)
I think this should work. -
How to load and unload more than one external swf files in different frames?
I do not have much experience on Adobe Flash or Action Script 3, but I know the basics.
I am Arabic language teacher, and I design an application to teach Arabic, I just would like to learn how to load and unload more than one external swf files in different frames.
ThanksLook into using the Loader class to load the swf files. If you want to have it happen in different frames then you can put the code into the different frames.
-
How can you set up more than one device on iTunes? I have an iPad, iPod, itouch and iPhone. I don't want the same on all devices. I have all my music/videos on iTunes on my mac book pro. Can you set up separate folders for each device and drop in what ever music/videos from the main iTunes library?
In itunes it is called syncing and you can choose exactly what content to sync to all devices and it can be different for all of them
How to sync -
How do people register for more than one person on a form?
We had a lot of complaints last year from organizations who sent several employees to our training. It took a long time for them to process these one at a time. How do people register for more than one person on a form?
Hi thearcca,
This entirely depends on the form you create, you can add multiple choice button and ask for the no. of employees the organization wants to register.
Also, you can add corresponding text field for the names.
Thanks,
Vikrantt Singh -
How can I see if my program is for more than one user? We think we have bought in design for more users, but can not find out how to get in for more than one?
If you bought a CC for team, you can log in at http://adobe.com and insert the e-mail that you gave at the moment at the purchase and than you can manage and see you product/plan/team.
If I was not clear you can use the following link to help you solving your issue:
Creative Cloud Help | Manage your Creative Cloud for teams membership
If your not clear about this situation, contact with an agent of Adobe, by chat or phone. Use the following link to see the type of support you have on this matter:
http://adobe.com/getsupport
I think this will help you.
Regards -
JDBC-XI-FILE scenario. How to extract data from more than one table in JDBC
Hi,
I was asked a question like in JDBC-XI-FILE scenario........ How to extract data from more than one tables (i.e from JDBC system) ?? What is the logic to do the same ??
I am not sure whether this is a valid question..........but any help in this regards is highly appreciated.
Regards
KumarHI,
Yes it can be possible ,please see the following links
JDBC Receiver with Oracle Stored Procedures
configuring jdbc adapter with multiple tables
RFC -> XI -> JDBC Scenario Updating Multiple Tables
/people/alessandro.berta/blog/2005/10/04/save-time-with-generalized-jdbc-datatypes
JDBC Adapter multiple Selects
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=jdbc%20with%20multiple%20tables&cat=sdn_all
Regards
Chilla.. -
How to create hierarchy across more than one dimesion
Hi experts,
How to create hierarchy on more than one dimension in SSAS.please guide me.
ThanksHi ,
This is not Possible without making changes in the cube design .i.e;
Using Join for have to create one dimension with all attributes that you require in dimension .
Lets say you have
Dim1
att1
att2
att3
Dim2
F1
F2
You need Hierarchy as below;
Hier
att1
att3
F2
1. Add one Table in DSV using Join between both the tables.
2.Create Dimension using this newly added table.
3. Create hierarchy
https://www.simple-talk.com/sql/reporting-services/implementing-user-defined-hierarchies-in-sql-server-analysis-services/
Thanks
Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem. http://techequation.com
Maybe you are looking for
-
USB thumb drive crashes MBP and PowerBook G4
Hi! I have a USB thumb drive. It mounts on the Desktop (as two drives, which is not strange because it has both an internal 6 MB of memory and a 2GB SD card) and I can open them. But if I attempt to copy a file either to or from the drive, the Finder
-
Web Service portlet in PDK (Urgent!!!)
I have a .NET web service I would like to consume in the portal and present as a portlet. For several reason I do not want to use OMNI (not the least of the reasons is after 3 weeks of working with oracle tech support on a corresponding I still cant
-
Is there any way to speed up Virtual PC 7 on a G4? I'm hoping there is, because I'm about ready to remove it because it runs so slowly. Thanks
-
Is it possible to inclue a report in frames and manipulate that frame with ajax ? If so ... where do i put the code to have a report in a page but in its own frame, where I could have scrollbars. The problem is I need to have all the 100 rows of a re
-
Client Export -- Parellel Processing....
When I went to SCC8 (Client Export), I saw an option called parellel processing (Any way it was disabled). May I know whether there is a chance for enabling parellel processing in Client Export?