BODI: Is it possible to pass parameter/variable value out of a data flow?
Hi All,
Is it possible to pass parameter value out of a data flow?
I've created a custom function in my query transform to get row count, this value would be used outside the data flow to perform another logic. It looks like I'm unable to modify the output schema at the function in the query transform to explicitly map it to a particular global/local variable.
Any ideas?
Thanks.
Any ideas?
Similar Messages
-
Passing parameter/variable values to containers
What options are available to pass a value assiged as a prompted variable/parameter in a plan to a container to resolve a value for a variable/parameter defined in a container which is called by the plan?
Supposed the plan is defined as:
<?xml version="1.0" encoding="UTF-8"?>
<!-- generated by N1 SPS -->
<executionPlan xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' name='setdb' version='5.1' xsi:schemaLocation='http://www.sun.com/schema/SPS plan.xsd' xmlns='http://www.sun.com/schema/SPS' path='/utilities'>
<paramList>
<param name='dbName'></param>
<param displayMode='BOOLEAN' prompt='install container xyz?' default='TRUE' name='do_container_param'></param>
</paramList>
<simpleSteps>
<execNative userToRunAs='root'>
<inputText><![CDATA[
:[dbName];
]]></inputText>
<exec cmd='sh'></exec>
</execNative>
</simpleSteps>
<inlineSubplan planName='install_container_xyz'>
<simpleSteps>
<if>
<condition>
<istrue value=':[do_container_param]'></istrue>
</condition>
<then>
<install blockName='default'>
<component name='xyz.cont' path='/someN1FolderPath'></component>
</install>
</then>
</if>
</simpleSteps>
</inlineSubplan>
</executionPlan>
How can I pass the value assigned to dbName to the container xyz.cont to be used to resolve a value for a variable/parameter in the xyz.cont?The new, soon-to-be-released 6.0 version of SPS handles this problem with Component Variables. With this feature, you can specify in the plan what variables to pass to the component blocks.
However, that doesn't help you in the meantime. The sample XML you list isn't quite accurate, but I think I understand what you're after. I cleaned it up a little to make it valid and took out the execNative step (not sure what the intent of that was).
Anyway, here's what I get for the plan:
<?xml version="1.0" encoding="UTF-8"?>
<!-- generated by N1 SPS -->
<executionPlan xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' name='setdb' version='5.1' xsi:schemaLocation='http://www.sun.com/schema/SPS plan.xsd' xmlns='http://www.sun.com/schema/SPS' path='/utilities'>
<paramList>
<param name='dbName' prompt="database name"></param>
<param displayMode='BOOLEAN' prompt='install container xyz?' default='TRUE' name='do_container_param'></param>
</paramList>
<simpleSteps>
<if>
<condition>
<istrue value=':[do_container_param]'></istrue>
</condition>
<then>
<install blockName='newBlock'>
<argList dbName=":[dbName]"/>
<component name='xyz.cont' path='/someN1FolderPath'/>
</install>
</then>
</if>
</simpleSteps>
</executionPlan>
The component would look something like this:
<?xml version="1.0" encoding="UTF-8"?>
<!-- generated by N1 SPS -->
<component xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' name='xyz.cont' version='5.1' xsi:schemaLocation='http://www.sun.com/schema/SPS component.xsd' xmlns='http://www.sun.com/schema/SPS'>
<extends>
<type name='system#container'></type>
</extends>
<installList>
<installSteps returns='false' name='newBlock' requireLocking='true'>
<paramList>
<param name='dbName'></param>
</paramList>
<!-- some steps here -->
</installSteps>
</installList>
</component>
Note that you have to rename the block. You can't change the signature of an inherited component block (container component defines block "default". Either create a new block or use an untyped component). I think this is what you're trying to do. Please let me know if I missed. -
Passing CPM variable value to BW report/query
Is it possible to pass CPM variable values from SEM scorecard to BW supporting reports.
Not sure if this is what you are looking for, but it's my first thought of what I would try:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/3.0b report-report interface.pdf -
Is it possible to pass a variable in FROM clause in SQL?
Hi Experts,
<i><b>loop at it_db_table.
select field1 from it_db_table-table_name into my_it.
endloop.</b></i>
I mean, Is it pass a variable value to FROM clause in SQL?
I got the info from SAP as,
<i><b>Works like variants 1-3, provided the source_text varialb contains the table name or a join expression as ABAP source text.
Examples
Output of a list of all customers:
DATA tabname(10).
DATA: BEGIN OF wa,
id TYPE scustom-id,
name TYPE scustom-name,
END OF wa.
tabname = 'SCUSTOM'.
SELECT id name INTO CORRESPONDING FIELDS OF wa FROM (tabname).
WRITE: / wa-id, wa-name.
ENDSELECT.</b></i>
thanq.Here is a short sample of a dynamic select statement.
Enter your table name in the parameter on selection screen. Enter you where clause in the select-option on selection screen.
I used.....
MARA
MTART = 'HALB'
report zrich_0004 .
data: xwhere(30) type c.
data: iwhere(30) type c occurs 0.
data:itab(1000) type c occurs 0 with header line.
parameters: p_table(30) type c.
select-options: s_where for xwhere.
loop at s_where.
clear iwhere.
xwhere = s_where-low.
append xwhere to iwhere.
endloop.
select * up to 100 rows into table itab
from (p_table)
where (iwhere).
loop at itab.
write:/ itab.
endloop.
Regards
vasu -
Is it possible to pass a variable from a shell script back to an Automator action?
Is it possible to pass a variable from a shell script back to an Automator action?
For instance, if I assign a value of foo to $var1 in my shell script how would I retrieve/pass that value in the next Automator action. I see that there is a variable called "Shell Script" but I can't any information on how to use it.red_menace,
Thanks but I still don't understand how to pass a single value that was set in the UNIX scipt back to Automator has a variable. Take the example below, I write 4 varables to STDOUT and all 4 are stored in a variable named "storage". How do I assign 1 of these values to the Automator "storage" variable? For instance if I wanted to assign the value of $var2 to "storage" , how would I do that? -
Is it possible to pass table type values as input parameter for con prg?
Hi All,
Could you please confirm that is it possible to pass table type value as input to concurrent program?
If possible how to achive this?
If not possible whether we have any ora doc which is confirming this.
Any hel will be great.
Thanks,Hi student;
Please check (http://apps2fusion.com/at/45-as/241-enablingdisabling-concurrent-program-parameters)
Hope it helps
Regard
Helios -
How to pass session variable value with GO URL to override session value
Hi Gurus,
We have below requirement.Please help us at the earliest.
How to pass session variable value with GO URL to override session value. ( It is not working after making changes to authentication xml file session init block creation as explained by oracle (Bug No14372679 : which they claim it is fixed in 1.7 version Ref No :Bug 14372679 : REQUEST VARIABLE NOT OVERRIDING SESSION VARIABLE RUNNING THRU A GO URL )
Please provide step by step solution.No vague answers.
I followed below steps mentioned.
RPD:
****-> Created a session variable called STATUS
-> Create Session Init block called Init_Status with SQL
select 'ACTIVE' from dual;
-> Assigned the session variable STATUS to Init block Init_Status
authenticationschemas.xml:
Added
<RequestVariable source="url" type="informational"
nameInSource="RE_CODE" biVariableName="NQ_SESSION.STATUS"/>
Report
Edit column "Contract Status" and added session variable as
VALUEOF(NQ_SESSION.STATUS)
URL:
http://localhost:9704/analytics/saw.dll?PortalGo&Action=prompt&path=%2Fshared%2FQAV%2FTest_Report_By%20Contract%20Status&RE_CODE='EXPIRED'
Issue:
When I run the URL above with parameter EXPIRED, the report still shows for ACTIVE only. The URL is not making any difference with report.
Report is picking the default value from RPD session variable init query.
could you please let me know if I am missing something.Hi,
Check those links might help you.
Integrating Oracle OBIEE Content using GO URL
How to set session variables using url variables | OBIEE Blog
OBIEE 10G - How to set a request/session variable using the Saw Url (Go/Dashboard) | GerardNico.com (BI, OBIEE, O…
Thanks,
Satya -
Can we Pass two variable values in to one Varaible which is Cust Exit?
Hi all,
Can we pass two Variable values to a Variable which is Custexit?(For Example posting Period and the fiscalyear in to the FicalPeriod )
Regards
KiranHello,
For that example you had to "convert" both post period and fiscalyear into fiscalperiod, and yes it is possible, but not throwing up the two values, you had to do it yourself in the user exit code.
Diogo. -
Is it possible to pass the property value dynamically to composite.xml
Hi,
Is it possible to pass the property value dynamically to composite.xml from bpel?
For ex:
<property name="bpel.config.auditLevel">$variable</property>
I will get a different $variable value every time to bpel.
Also, when I included the following code inside .bpel
invoke name="InvokeListFileFTPAdapter-ListFiles"
partnerLink="ListFilesFTPAdapter"
portType="ns3:FileListing_ptt" operation="FileListing"
inputVariable="listfilesRequest"
outputVariable="listfilesResponse" bpelx:invokeAsDetail="no">
<bpelx:toProperties>
<bpelx:toProperty name="bpel.auditLevel"
variable="AuditVariable"/>
</bpelx:toProperties>
</invoke>
where auditvariable='Off'
I don't see any change in em. The invoke activity is showing full payload, Can't we turn off the audit level from .bpel not from composite.xmlHi,
You can use bpel preferences for that:
1.
In the composite add a property, for ex:
<component name="test">
<implementation.bpel src="test.bpel"/>
<property name="bpel.preference.exam">abc</property>
</component>
2.
To get the value within your bpel process use: ora:getPreference(exam)
3.
Then, you can change the value in the EM:
Under Farm_soa_domain>weblogic domain>your_domain>soa_server1
Right click on menu>system Mbean browser>oracle.soa.config>server:soa_server1>SCAComposite>your project>SCAComposite.SCAComponent>processName>
Now, click on the properties attribute : you can see the exam property and change the value.
Arik -
How to pass Temp variable value instead of Table name in From clause.
Hi,
I have an requirement to pass the Temperorary variable value instead of Table name in FROM Clause in SQL.
But I am strugglint to pass this variable value.
E.g., a Varchar2(5) := 'aa';
Select * from a;
Here I come to mention a - 'aa'. But the SQL looks for 'a' as Table. But its should look into 'aa' as Table name.
Kindly guide me.
Thanks.SQL> declare
a varchar2 (5) := 'emp';
v varchar2 (100);
cur sys_refcursor;
begin
open cur for 'Select ename from ' || a;
fetch cur into v;
while cur%found
loop
dbms_output.put_line (v);
fetch cur into v;
end loop;
close cur;
end;
JAMES
SCOTT
SMITH
ALLEN
WARD
JONES
MARTIN
BLAKE
CLARK
KING
TURNER
ADAMS
FORD
MILLER
PL/SQL procedure successfully completed. -
How to pass a variable value into a custom planning function via a web
Can some one tell me
How to pass a variable value into a custom planning function via a web template?
What are the different types of Planning function parameters available and what is the difference between them?
Thanks
babuHi Sutrtha,
Yeah I got the pop up asking to select the variables used, I have selected ENTITY_ID that was used by the interfaces, but on execution of the package the Scenario did not work as the passeed variable #ENTITY_ID is set to 0 instead of the value I am passing.
Am I missing something?
Regards
B -
Is it possible to pass a null value to a method?
is it possible to pass a null value to a method?
like this
public String getParameterXX(String testvalue)
String strX = "whatever";
if(testvalue!=null)
strX = strX + " man " ;
Is this possible ?
is this legal
String i = getParameterXX(null);I also ran a similar code using null in a method, it just considers null as another string and concatenates it so
public String getParameterXX(String testvalue)
String strX = testvalue+"whatever";
return strX;
public static void main(String [] args)
Test tt = new Test();
String i = tt.getParameterXX(null);
System.out.println(i);
Gives me "nullwhatever" -
Virtual KF(as Date) in Cube and pass the variable value to this VKF runtime
Hi ,
User would enter 1 date using date variable untime.
My cube also has 1 Completed Date (KF).
And i wann do comparisan based on input variable and exisitng variable.
Can i add 1 Virtual KF(as Date) in Cube and pass the variable value to this VKF runtime and do the calculation in cube ???
I know the same thing i can do in formula , but i have some different req.which i am unable to explain u here .
So please let me know can i use VKF if yes how ???
Points would be thrown for all .
Bapuit's the exact posting from your last post. Please don't duplicate the postings, so that we can help you in one thread and not so many different threads
-
Passing global variable values from databse to forms
I am using forms 6i and database is oracle 9i.
I am trying to run a form stand alone ( by pressing CTRL-R) without putting it in the application.
since when this form is placed in the application menu it works fine as it has been passed global variables values from the database .
now i am trying to run the form without menu and thus i want to pass the values of global variables .please let me know where should i pass these values in form .is it be WHEN-NEW-FORM-Instance trigger or in Pre-form trigger.
i know what are the global variable values passing into the form from database.
i can hard code any values to check if the form runs well or not.If you intend to do this sort of testing regularly you might want to consider creating a seperate form with a control block which allows entry of the name of the form you want to run, the names of the globals and their values, and do a CALL_FORM.
-
How to pass the variable value to reports as a parameter
hi
i have facing a problem that i want to pass the value of a variable that i had calculate in a procedure like
SELECT nvl(BASIC_PAY,0) INTO v_basic FROM EMP WHERE EMP_ID=P_EMP_ID;
so i want to send the variable value v_basic as a parameter through form to report...and simlarly other variables values which i have calculate in procedure....
need ur help to solve this problem
thanks in advanceit's the exact posting from your last post. Please don't duplicate the postings, so that we can help you in one thread and not so many different threads
Maybe you are looking for
-
TS3694 I have not been able to update my iPod Touch 4th generation to the newest software?
I have attempted to update it twice in the last two days. First I downloaded the newest version of iTunes, and then I clicked "Update". After about 2 hours an error pops up that says something along the lines of "Error 9006. Networking or downloadin
-
How to hide some column filter operators in Interactive Report
Hi, I have an APEX 4.2 application what includes Interactive Report page. Is there possibilty to hide or disable some filter operators in column filter? But I don't want to disable all filter functionality for end users. For example how to hide/disab
-
HR ABAP-Payroll Function Module
Hi pple, Well, When I am trying to run the payroll function module PYXX_READ_PAYROLL_RESULT, I am getting a DUMP. I checked the corresponding input data from PCL2 table. But still it is dumping. Can anyone send me some sample code, so that I too will
-
Images placed in indd are flat but now showing transparent
running windows xp cs3 previous pagemaker document converted to indcs3. Image files are flat grayscale tif images. Images are being placed on upper layer over a gradient tint using pantone color why is the gradient knocking out the image?
-
Just downloaded skype. Instructions -which are impossible to find- say to click on People icon on the left and then to click on the + on the right to add contacts. Clicking on Peopke does nothing. How do you add contacts???