How to use the out parameter of a transformation

Hi All,
I have a requirement where I need to move all the transformations from process flows to map.SO for each transformation I need to have 1 map which calls this transformation.I have 1 transformation which has both input and output parameter.If I use this transformation in mapping then how to use the out parameter of thsi transformation.This out parameter needs to beused in other mappings.Can soemone please help me.
Thansk in advance

Hi,
I'm not quite sure what you are trying to do.
What works: Connect the outgroup of a pre- or post-mapping process operator to the mapping output parameter operator..
What does not work: Connect the outgroup of an operator that can return more than one row (e.g. table operator, filter, joiner ,...) to the mapping output parameter operator. The mapping output parameter just returns "one row", like a pl/sql function call.
You cannot pass a "data stream" from one mapping to another. Maybe the pluggable mappings is what you are looking for.
Regards,
Carsten.

Similar Messages

  • 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!?

  • 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 use the caseccading parameter in my ssrs report? with some scenioro?

    Hi i have a complex report for that i am using the 3/4 parameters name list.
    parm1:ProductId
    parme2:manafacturer
    pram3:productname
    so here i will use these 3 paramters in my ssrs report .
    so here i will create a casecading parameters using the above 3 parameters.
    But here my requirement is..
    1)for my user selcction select the paramater1  as ProductId based on the productID parameter the 2 nd 3 paramters
    i want to display automatically without user selection
    2),Here every productid have a single productName and single manfacturer
     and here i dnt need the drop down list of 2 nd 3rd parameter for user selection. i need only the text boxes
    4)am alredy tried for this but i will able to see only one value in the user selection of param1.but it would not change for the second selection
    5)can you give me some idea hw would i show u 2nd and 3rd parameteer based on 1st paramter value without drop down list for my user seletion of my first parametr1
    I guess u understand my requirement.
    can you suggest me any help .....for the above requirement.
    ThanX!

    In your case you need to setup parameters like this
    1. ProductId
    Have a dataset which gives you list of productids. It should return atleast one field which would be the distinct productids from your table. 
    ie like
    SELECT ProductID
    FROM ProductTable
    assuming ProductID is it Primary key
    In report go to parameter properties for ProductId parameter
    In Available Values tab choose the option Get values from query
    Map the above dataset and choose value field name as ProductId and label also as the same
    This will populate param 1 with values
    2. Manufacturer
    Have a dataset which gives you list of manufacturers. It should return atleast one field which would be the distinct manufacturer from your table. 
    ie like
    SELECT Manufacturer
    FROM ManufacturerTable m
    WHERE EXISTS (SELECT 1
    FROM ProductTable
    WHERE ProductId = @ProductId
    AND Manufacturer = m.Manufacturer
    assuming Manufacturer field has unique values. map @ProductId query parameter to SSRS parameter ProductId you created above
    In report go to parameter properties for Manufacturer parameter and map the parameter to dataset as per same sequence of steps before
    3. Product
    Have a dataset which gives you list of manufacturers. It should return atleast one field which would be the distinct manufacturer from your table. 
    ie like
    SELECT ProductName
    FROM ProductTable m
    WHERE ProductId = @ProductId
    assuming Manufacturer field has unique values. map @ProductId query parameter to SSRS parameter ProductId you created above
    In report go to parameter properties for ProductName parameter and map the parameter to dataset as per same sequence of steps before
    Now if you run the report the values for Manufacturer and ProductName keeps on changing based on value you chose for productid parameter
    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

  • How to retrieve the outer parameter of a stored procedure in XSQL page

    I have to call a stored procedure in the xsql page that returns a resultset (ie. oracle table/record type) through an outer paramter. Is there any built-in xsql action tag available to get the parameter and present
    it in xml on the page? please help, thanks.

    You cant get two resultsets out of SP like this. The workaround is to merge and bring the resultsets.
    For this number of columns as well as corresponding datatypes have to be compatible. Also you will need one additional column which indicates resultset value. Then use this as filter to get your desired resultset out
    create procedure GetData as
    begin
    select 'resultset1' as Cat,*,.. N columns from Emp
    union all
    select 'resultset2' as Cat,*,.. N columns from Dept
    end
    create table #tmp1 (Ddeptid int, deptname varchar(500),Location varchar(100))
    Insert into #tmp1 (Ddeptid , deptname ,Location )
    Select column1,column2,column3
    from OPENROWSET('SQLOLEDB','Data Source=Server_name;Trusted_Connection=yes;
    Integrated Security=SSPI','Execute yourdb..GetData')
    WHERE Cat = 'resultset1'
    create table #tmp (empid int , ename varchar(500),DeptId int , salary int)
    Insert into #tmp (empId,ename,deptId,salary)
    Select column1,column2,column3, column4
    from OPENROWSET('SQLOLEDB','Data Source=Server_name;Trusted_Connection=yes;
    Integrated Security=SSPI','Execute yourdb..GetData')
    WHERE Cat = 'resultset2'
    also see
    http://sqlblogcasts.com/blogs/madhivanan/archive/2007/11/26/select-columns-from-exec-procedure-name-is-this-possible.aspx
    Another method is to populate table with relevant resultset within procedure itself and then select from the table directly outside.
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How to use th out parameters?

    Hi all,
    I have the following code,
    out_error:='';
                                    proc_validatePriceRecord(pd_rec.product_name,pd_rec.product_id,pd_rec.market,out_error);
                                    DBMS_OUTPUT.PUT_LINE(out_error);Is this the right way to use the out parameter?

    > Is this the right way to use the out parameter?
    Most definitely not!
    Errors must NOT be returned as an output parameter. AN ERROR MUST BE RAISED AS AN EXCEPTION.
    This is a fundamental principle in today's programming languages.. from Delphi to Java to C# to whatever.

  • How to use the t-code vf31 tor taking print out of invoice

    Hi,
      How to use the t-code vf31 for taking print out,am getting an error like no message for initial processing exist,
    venu

    Hi,
    Please find the steps
    Output type                     RD00
    Transmission medium             1
    Sort order                      01
    Processing mode                 1
    Please give the oppropriate fields,
    if the still error persists  check the configuration in NACE transaction code.
    thanks
    Kuntla

  • How can I use the same parameter to use elsewhere by Manage Variables ?

    Hello,
    I have a little problem that I need to know. I want to use the same parameter to use elsewhere.
    Example,
    I have a parameter on page 1 and I wish to use this parameter in the other page by Manage Variables.
    How can I do this ?
    Thank you.

    ..just open ManageVariables (right click on the a page and select Manage Variables)...
    then you select the parameter on the page where you want to insert your previous value (your variable)...use the dropdown list to select the variable that contains your value...and it should work
    /m

  • How to declare procedure without using IN OUT parameter?

    Hi:
    I want to declare procedure without using IN OUT parameter.
    My Script is:
    DECLARE
    procedure pro_bank_master() As
    Declare
    kr_bankid integer;
    last_bank_id number(10,0);
    CURSOR comp_cur IS select bank_id,date_created,created_by,modified_by,name_en from COM_BANK_MASTER ;
    comp_rec comp_cur%ROWTYPE;
    BEGIN
    OPEN comp_cur;
    FETCH comp_cur INTO comp_rec;
    WHILE comp_cur%FOUND
    LOOP
    kr_bankid:= comp_rec.bank_id;
    insert into crayom_db.C_Bank(ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, name, routingno, c_location_id, swiftcode, isownbank, description) values(11,11,'Y',sysdate,100,sysdate,11,comp_rec.name_en,'A',1000009,'A','Y','A');
    select crayom_db.C_Bank.c_bank_id into last_bank_id from crayom_db.C_Bank where rownum=1 ORDER BY crayom_db.c_bank.c_bank_id DESC;
    insert into crayom_db.CR_IdBackup values(kr_bankid, last_bank_id);
    FETCH comp_cur INTO comp_rec;
    End LOOP;
    close comp_cur;
    END;
    BEGIN
    pro_bank_master();
    END;
    The Error i am receiving is:
    Error starting at line 1 in command:
    DECLARE
    procedure pro_bank_master() As
    Declare
    kr_bankid integer;
    last_bank_id number(10,0);
    CURSOR comp_cur IS select bank_id,date_created,created_by,modified_by,name_en from COM_BANK_MASTER ;
    comp_rec comp_cur%ROWTYPE;
    BEGIN
    OPEN comp_cur;
    FETCH comp_cur INTO comp_rec;
    WHILE comp_cur%FOUND
    LOOP
    kr_bankid:= comp_rec.bank_id;
    insert into crayom_db.C_Bank(ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, name, routingno, c_location_id, swiftcode, isownbank, description) values(11,11,'Y',sysdate,100,sysdate,11,comp_rec.name_en,'A',1000009,'A','Y','A');
    select crayom_db.C_Bank.c_bank_id into last_bank_id from crayom_db.C_Bank where rownum=1 ORDER BY crayom_db.c_bank.c_bank_id DESC;
    insert into crayom_db.CR_IdBackup values(kr_bankid, last_bank_id);
    FETCH comp_cur INTO comp_rec;
    End LOOP;
    close comp_cur;
    END;
    BEGIN
    pro_bank_master();
    END;
    Error report:
    ORA-06550: line 8, column 27:
    PLS-00103: Encountered the symbol ")" when expecting one of the following:
    <an identifier> <a double-quoted delimited-identifier>
    current
    06550. 00000 - "line %s, column %s:\n%s"
    *Cause:    Usually a PL/SQL compilation error.
    *Action:
    Can any Body Help Me?
    Thank You

    DECLARE
    procedure pro_bank_master As --also you should remove brackets when you are not using any parameters
    ----Declare-- *( declare should not be present in procedure declaration )*
    kr_bankid integer;
    last_bank_id number(10,0);
    CURSOR comp_cur IS select bank_id,date_created,created_by,modified_by,name_en from COM_BANK_MASTER ;
    comp_rec comp_cur%ROWTYPE;
    BEGIN
    OPEN comp_cur;
    FETCH comp_cur INTO comp_rec;
    WHILE comp_cur%FOUND
    LOOP
    kr_bankid:= comp_rec.bank_id;
    insert into crayom_db.C_Bank(ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, name, routingno, c_location_id, swiftcode, isownbank, description) values(11,11,'Y',sysdate,100,sysdate,11,comp_rec.name_en,'A',1000009,'A','Y','A');
    select crayom_db.C_Bank.c_bank_id into last_bank_id from crayom_db.C_Bank where rownum=1 ORDER BY crayom_db.c_bank.c_bank_id DESC;
    insert into crayom_db.CR_IdBackup values(kr_bankid, last_bank_id);
    FETCH comp_cur INTO comp_rec;
    End LOOP;
    close comp_cur;
    END;
    BEGIN
    pro_bank_master();
    END;
    Edited by: user11183973 on Sep 22, 2009 5:49 PM

  • 2 weeks trying to find out how to use the media live encoder in multi stream. And  I can not find an

    2 weeks trying to find out how to use the media live encoder 3.2 in multi
    stream. And  I can not find any clear instructions guide. Please from
    my soul, taught me clearly, how  I can stream to 2 different site
    using live media encoder. what I do with ftml values and the other
    one , wich everyone site give me, where should I put them, in what
    order ... everything I tried, I got an error. I realy please you,
    please !!!! thanks in advance !!

    [Moved to Flash Media Live Encoder forum.]

  • How to use the BerkerleyDB22.out?

    I have got the BerkerleyDB22.out by Tornado2.2.
    But I couldn't find how to use the BerkeleyDB22.out in the VxWorks FAQ.
    Is that correct that download the BerkeleyDB22.out into the target by Tornado and download the application into the target too?
    In the appliction we can use the routine of Berkeley, right?
    Thanks for your attention!

    Hi Cruiser,
    If you have successfully built Berkeley DB for VxWorks according to the instructions here:
    http://www.oracle.com/technology/documentation/berkeley-db/db/ref/build_vxworks/intro.html
    then you can build your project, and download BDB and your project onto the target.
    You can use all the BDB features, with the exception of the DB_TRUNCATE flag for the DB->open() method call, according to the VxWorks notes and VxWorks FAQs:
    http://www.oracle.com/technology/documentation/berkeley-db/db/ref/build_vxworks/notes.html
    http://www.oracle.com/technology/documentation/berkeley-db/db/ref/build_vxworks/faq.html
    Let us know if you need additional help.
    Regards,
    Andrei

  • My MACBOOK Pro turned out to be Snow Leopard, and later upgraded to LION. And update the EFI, I would like to replace the Snow Leopard, EFI can not boot, how do? How to use the Snow Leopard install disk to reduce EFI?

    My MACBOOK Pro turned out to be Snow Leopard, and later upgraded toLION. And update the EFI, I would like to replace the Snow Leopard, EFIcan not boot, how do? How to use the Snow Leopard install disk to reduce EFI?

    Do you mean some of your software does not work in Lion? Do you want to return to using Snow Leopard? If so, then do this:
    Downgrade Lion to Snow Leopard
    1.  Boot from your Snow Leopard Installer Disc. After the installer loads select your language and click on the Continue button.  When the menu bar appears select Disk Utility from the Utilities menu.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  SMART info will not be reported  on external drives. Otherwise, click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID then click on the OK button. Click on the Partition button and wait until the process has completed.
    4. Quit DU and return to the installer. Install Snow Leopard.
    This will erase the whole drive so be sure to backup your files if you don't have a backup already. If you have performed a TM backup using Lion be aware that you cannot restore from that backup in Snow Leopard (see below.) I suggest you make a separate backup using Carbon Copy Cloner 3.4.1.
    If you have Snow Leopard Time Machine backups, do a full system restore per #14 in Time Machine - Frequently Asked Questions.  If you have subsequent backups from Lion, you can restore newer items selectively, via the "Star Wars" display, per #15 there, but be careful; some Snow Leopard apps may not work with the Lion files.

  • How do I use the UHRY_ACTIVE_ROWS parameter?

    We want to create a button to display the rows as a hierarchy (as available in query properties). To do this I realise I need to use the UHRY_ACTIVE_ROWS parameter in the template properties so to change the properties dynamically (as we require this functionality in a button) we started with the javascript command
    newurl = "&CMD=LDOC&TEMPLATE_ID=YTEST_TEMPLATE&UHRY_ACTIVE_ROWS=X";
    SAPBWOpenURL(SAP_BW_URL_Get()+newurl);
    This successfully sets the flag in the query properties but as we have mandatory variables the variable screen is shown which we don't want to see as the users have already entered the variables previously.
    Is it possible therefore to
    1) Avoid the Variables screen showing as they are already populated?
    or
    2) Set UHRY_ACTIVE_ROWS in another method?

    Hi Neal,
    Not sure if this would help..
    You can try using an additional parameter in your URL
    VARIABLE_SCREEN=%20 or VARIABLE_SCREEN=' '
    This should supress the Variable screen.
    Cheers,
    Praveen.

  • How to pass multiple query string values using the same parameter in Query String (URL) Filter Web Part

    Hi,
    I want to pass multiple query string values using the same parameter in Query String (URL) Filter Web Part like mentioned below:
    http://server/pages/Default.aspx?Title=Arup&Title=Ratan
    But it always return those items whose "Title" value is "Arup". It is not returned any items whose "Title" is "Ratan".
    I have followed the
    http://office.microsoft.com/en-us/sharepointserver/HA102509991033.aspx#1
    Please suggest me.
    Thanks | Arup
    THanks! Arup R(MCTS)
    SucCeSS DoEs NOT MatTer.

    Hi DH, sorry for not being clear.
    It works when I create the connection from that web part that you want to be connected with the Query String Filter Web part. So let's say you created a web part page. Then you could connect a parameterized Excel Workbook to an Excel Web Access Web Part
    (or a Performance Point Dashboard etc.) and you insert it into your page and add
    a Query String Filter Web Part . Then you can connect them by editing the Query String Filter Web Part but also by editing the Excel Web Access Web Part. And only when I created from the latter it worked
    with multiple values for one parameter. If you have any more questions let me know. See you, Ingo

  • How to use the POST method In Oracle APEX 3.1

    Hi,
    In APEX if we are submitting the page the parameters( Variables ) will pass through URL.
    How to hide the these parameters from URL??
    I Hope POST method will solve this problem.
    How to use the POST method in APEX???
    Help me out to solve this problem.
    thanks in advance.
    Cheers,
    Shan

    In APEX if we are submitting the page the parameters( Variables ) will pass through URL.No they won't. Submission POSTs the <tt>wwv_flow</tt> form.
    Sometimes a branch may be performed after submission, generating a URL in which parameter values are visible. To avoid this, use the save state before branching option.
    Other actions&mdash;like using navigation lists, or clicking a link in a report&mdash;will perform a GET using parameters in the URL. In these cases using Session State Protection is advised.

Maybe you are looking for