Passing expression values to a container operation

hello,
I have a question about passing values to a expression in a container operation. we have a container operation that has a hard coded value for a expression value. we are using a result element of offset days and the expression value is 4. sometimes we want to have this value as a different number. when we do this we have to change the expression value, create a transport , then move thru quality and then prod.   is there a way to have the the expression value passed as a variable to the workflow?
if the value could be in a custom table that could be changed when ever it was needed and the workflow would read the value from the table.
I am not fimilar with workflow so the suggestion that I have above might not be correct but I am looking for something on the order of this. if there is a way to accomplish this without having to change the workflow and move it through quality and then production that would be ideal.
thanks in advance for the help.

Marcos Suarez wrote:
It is really a bad idea to use a Container operation step to get a variable value.
Why? I disagree, using a task has a far greater performance overhead with hardly any benefit, a functional method in a conainer operation is much more efficient. It also makes your workflow a little bit easier to follow.
Unless I misunderstood something?
Edit: For the benefit of the original question, there are examples of how to do exactly this (functional method to retrieve/assign values) in the second edition of "Practical Workflow for SAP". And since proceeds go to charity, getting a copy is doubly worthwhile.
Edited by: Mike Pokraka on Feb 3, 2011 1:55 PM

Similar Messages

  • Not Able to Pass the Values to WorkFlow Container

    Hi All,
        Iam calling a WF from a BSP application by using the FM       
    EWW_WORKFLOW_START
    for this fucntion module iam passing a table  to the parameter
    X_CONATINER = t_values
    but I am a bit confused that how this table is assigned to the workflow conatiner.
    what I want to know is I need to assign the values of t_values to the WF conatiner elements .
    Thanks In Advance.
    Regards
    Pavan

    Pavan,
    try this code and include this in your corresponding include.
    Make sure that your workflow has a multiline import element with the same name as of the internal table. Here, WERKS.
    REPORT yh_sample.
    DATA : t_container TYPE TABLE OF swcont WITH HEADER LINE,
            wf_id TYPE swwwihead-wi_id.
    DATA: werks TYPE STANDARD TABLE OF werks_d WITH HEADER LINE.
    DEFINE swc_set_element.
      call function 'SWC_TABLE_SET'
        exporting
          element       = &2
        tables
          container     = &1
          table         = &3
        exceptions
          type_conflict = 1.
    END-OF-DEFINITION.
    werks = '1000'.
    APPEND werks.
    werks = '1003'.
    APPEND werks.
    werks = '1056'.
    APPEND werks.
    swc_set_element t_container  'WERKS' werks.
    CALL FUNCTION 'EWW_WORKFLOW_START'
      EXPORTING
        x_task          = 'WS99901222'
      IMPORTING
        y_workflow_id   = wf_id
      TABLES
        x_container     = t_container
      EXCEPTIONS
        invalid_task    = 1
        no_active_plvar = 2
        start_failed    = 3
        general_error   = 4.
    IF sy-subrc = 0.
      COMMIT WORK.
      MESSAGE 'success' TYPE 'S'.
      WRITE:/ wf_id.
    ELSE.
      MESSAGE 'Error' TYPE 'S'.
    ENDIF.
    Regards
    Indu.

  • Passing Bound values to templates containing choice tags

    I have a template which loads a DataObjectList into a
    <choice> tag.
    The values im passing in, to be used for the column name: are not being interperted correctly.
    The tag is using them as values to be rendered. i.e. 'output text'.
    The value are actually column names within my table. For example:
    <choice data:name="myChoiceBoxName@ui:rootAttr">
    <contents data:childData="hashMapKey@dataProviderName">
    <option data:text="dbColumnNameOne@ui:rootAttr"
    data:value="dbColumnNameTwo@ui:rootAttr" />
    </contents>
    </choice>
    I am certain the values passed in are correct.
    The option tag is displaying the bound value as text.
    I need this value to be interperted as a db column.
    If I hardcode the column name in the 'text' field and hardcode the column name in the 'value' field it works fine. That approach is unacceptable and renders the template useless.
    Is this expected behavior for this senario or is their some additional documention, besides Chapter 4 UIX Developer's Guide, that would clear this up?
    Tks for any information.
    Booker Northington II

    Lets say you have a database table. Within that table you have a column called Address. I am passing the string 'Address' into the template.
    Within the option tag, when I bind the value, instead of it going to the db and returning the 'value' of 'Address', it prints 'Address' within the choice box, once the box is rendered.
    Now, If I hardcode 'Address' within the option 'value' field, when the choice box is rendered, it displays, '1004 AnywhereInUSA'.
    Why dose it work when I hardcode the value, but when I try to bind, a bound value (the value passed in), it read as text?
    Tks
    Booker Northington II

  • Using Container operation step can i pass one table to another?

    hi
    i have 2 multiline container elements in the workflow.
    in one of my step i am sending email using the receipents from the table LT_RECLIST which is a multiline container. Now before this step i am using a container operation step to pass LT_RECLIST_FINAL to LT_RECLIST. But guess this is not working? is this possible?
    the condition in container operation step is like this
    Result Element   LT_RECLIST
    Assignment         =     Assign (contents of table are deleted first)
    Expression          &LT_RECLIST_FINAL&
    Operator
    any idea where i am going wrong?

    instead of
    =     Assign (contents of table are deleted first)
    try the followinng option.
    <-    Add only to table (contents are extended)
    or you can directly use the element LT_RECLIST_FINAL in your mail step instead of assigning it to LT_RECLIST and using this element. if both the elements are going to store the same values then there is no point in using a separate element.

  • Passing  null values to the attributes of a CAF operation

    Hi,
    In CAF I am trying to fetch data through Web Service. For this I need to pass null value for the attributes of the operation.If I set the value to null it gives me missing parameter as the error.
    Can anyone tell me how to pass null values to the attributes of a CAF operation?

    Hi Xavier,
    Declare the two variables of type if_wd_contex_node for e.g. lv_node and if_wd_context_element for e.g. lv_element. Now in the first one lets say lv_node get the refrence of dynamically created node like:
    lv_node = wd_context->get_child_node('<node name>').
    Then get the refrence of element like:
    lv_element = lv_node->get_element( ). (You can also pass index as parameter check the method API)
    then just set the value of attribute you want like:
    lv_element->set_attribute( exporting name = '<attribute name>' value = '<your value>').
    Regards,
    Neha

  • This field contains duplicate values. Remove all duplicate values and try the operation again.

    Greetings Everyone,
    I am getting the follow up errors: "This field contains duplicate values. Remove all duplicate values and try the operation again."
    when I tried to make the field "Claim Number" from the list in site collection library. See the screen below:
    1- I selected on the "List" and I clicked on the list name
    "Claim Tracking Report"
    2- After I clicked on the list name then I went to the ribbon and selected list setting to choose Enforce Unique for the Field Column
    "Claim Number"
    3- Then I went down and selected
    "Yes" to Enforced the Unique for the Field Column "Claim Number".
    4- Then after I clicked "Yes" I got the error
    "Sorry, something went wrong. This field contains duplicate values. Remove all duplicate values and try the operation again."  But I don't have any duplicates values Items, because I had them removed before I tried
    to Enforce the field column values to Unique. Can someone help or provide me a suggestions on how I can solve this issue please. Thank you
    FYI: I am using a Nintex Workflow

    Hope this is a list, how many total items are there?
    Please try to open this list as access(link in IE) and run this query in access
    SELECT Claim.[Claim Number], Count(*) AS Expr1
    FROM Claim
    GROUP BY Claim.[Claim Number]
    HAVING (((Count(*))>1));
    Hope it will show something! if this does not show you dups then better to create a separate list and migrate items after configuring unique column.
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • How to pass dynamic values to JDBC Database adapter in PureSQL operation?

    I want to fetch the records from the table via JDBC database adapter with the criteria but I should not hardcode the values inside my query. I am using Execute by PureSQL operation. Values might change in future and it is the reason I should not hardcode the values and instead I should pass it dynamically.
    This is my query:
    SELECT FROM Table0 t0, Table1 t1 WHERE t0.Field1= 'ABC' AND t0.Field2= 'DEF' AND t0.Field3 = 'CBA' AND t1.FLAG IS NULL AND t1.Field1 = t0.Field4*
    The values 'ABC', 'DEF', 'CBA', 'NULL' are not fixed and it can be changed. Hence, I need to pass the values for these fields dynamically. What must be passed in the query and where to pass the User Defined Values during the run time.
    Please can anyone suggest how to resolve this. I am using SOA 11g.
    Thanks in advance.

    Hi,
    Ensure that you use the Adapter Configuration Wizard to do the query modification suggested by Arik. This will allow the schema for the DB Adapter getting created automatically. Also revisit this schema to assure that the data types of the bind parameters (parameters with #) have been correctly populated in the schema.
    You can get some help from this too although this doesn't fully match your use-case.
    Regards,
    Neeraj Sehgal

  • Urgent - How to pass value to Multiline container element in workflow

    Hi,
      I hav a requirement as below...
    1) In a Bus. Object, there is a method with a parameter which is Multiline.
    2) When I execute it directly from Bus. Object, I am able to populate any no. of lines to the multiline parameter & execute it. It is working correctly.
    3) Now I have created a task for the same Method & used it in my workflow.
    4) I want to pass multiline values to the parameter from workflow.
    5) I dont have any internal table being filled in the previous steps. I directly want to assign variables or constants to it.
    How can I do it????
    Thanks,
    Sivagami

    hi sivagami,
    Please help me. I am also facing same type of problem. i am new to workflow. i am using using FM sap_wapi_write_container. to write into the container. but here my problem is i don know wat is the element name to refer to the value. if i give any element naem its taking as separate element & not as the same multiline container. i hope u will be able to assist me since u have worked on the same type of problem.
    If u help i will be highly thankful to u.
    Thanks & Regards
    Nigesh

  • Passing multiple values in a parameter through IN operator

    hello everyone,
    i want to know wheather it is possible to pass multiple values to a report parameter and use the parameter in the query with the IN operator.
    I feel this should be possible but dont know the way.
    Pls help

    i have also suffered from this problem. you can solve it by creating a table like
    create table abc
    id number,
    value number;
    then follow the steps.
    1) insert all the values in this table by incrementing id and values
    2) then pass lowest id and larget id to the report
    3) now in report use the select statement like
    SELECT * FROM AAA WHERE ABC IN (SELECT VALUE FROM ABC WHERE ID BETWEEN V_MAX AND V_MIN)
    4) IN THE REPORT'S AFTER TRIGGER, YOU HAVE TO DELETE
    THESE TEMPORARILY CREATED ROWS
    LIKE
    DELETE ABC
    WHERE ID BETWEEN V_MAX AND V_MIN;
    SO THIS WILL SOLVE YOUR PROBLEM.

  • Pass variable value form one Operational mapping to other

    Hi,
    Can a variable value be passed form one Operational mapping to other in Interface determination?
    So that a Condition check to excute the second operational mapping depending on variable value obtained form first operational mapping.
    Can globalContainer could be used in UDF?
    Thankx
    Edited by: kevindass on Aug 25, 2011 9:13 AM

    Hi,
    You can try these two options:
    1) Create a key in Dynamic Configuration and use it to store the value and retrieve the value back in second operation from Dynamic Configuration.
    OR
    2) Use Export and send the value to BPM, then in BPM using the value decide on if to execute the second operation.
    Regards,
    Aravind

  • Pass intersection values when drilling through by clicking on a value in a matrix

    I have two SSRS reports. One is acting as a source report and the other as a target report.
    Both reports give information about "Customer Contact".
    My source report contains one matrix with the following attributes:
    Columns: Contact type (Email, Phone, Desk)
    Rows: Employee function (Administrative, Manager)
    Measure: Contact quantity
    The source report has two parameters on 'Contact type' and 'Employee function'
    My target report contains one matrix with the following attributes:
    Columns: Customer name
    Rows: Employee name
    Measure: Contact quantity
    The target report has two parameters on 'Contact type' and 'Employee function'
    I am using [Action] from the [Textbox property] of 'Contact Quantity' to go to my target report.
    What i want to achieve is the following:
    Lets say i select All for both parameters when running my source report.
    I get all the Contact types against all the Employee functions.
    Now the intersection between 'Email' and 'Manager' is 27.
    When i click on the value 27 in the matrix i want to go to my target report and pass trough Email and Manager so filtering can take place based on the intersection i clicked on in the source report.
    What it does now is just pass the full parameter value selected from the prompts in source report. I want to narrow it down.
    Any help? Thanks!

    Hello Qiuyun,
    Thank you very much for your reply.
    I have managed to get the drilltrough from source to target working correctly by passing the field value. I first got it to work on a small test data set and it works fine. However when i used this method on my production reports the performance became very
    bad. My first drilltrough took about 30 seconds instead of 2 seconds when i was passing the full parameter values. The next drilltrough gives back an out of memory error after quite some time (20 minutes +). 
    One important thing to mention is that these reports run on an SSAS cube. I made the following changes to the setup to get the pass field value method working.
    Initial setup: (Fast response)
    1. I start of by creating a new report.
    2. I select a the datasource (SSAS Cube) and i open the 'Query builder'.
    3. I then drag the attributes i need from the cube to the query.
    4. Afterwards i drag the attributes i want to use as parameters to the pane above the query and mark them as parameters. When finishing this step the parameters are automatically created in the design view (Report Data Pane) and within the data set of the
    report. When running the report the available values for the parameter are displayed automatically.
    5. Now i can run the report without having defined filters on the dataset. This setup performs very good but does not make it possible to pass trough field values.
    New setup: (Very slow response)
    1. I start of by creating a new report.
    2. I select a the datasource (SSAS Cube) and i open the 'Query builder'.
    3. I then drag the attributes i need from the cube to the query.
    4. I DON'T drag any attributes to the above pane (Dimension, Hierarchy, Operator, Filter Expression, Parameter) to be marked as parameters, i just finish after dragging to the query pane.
    5. Now i create my parameters manually in the design view (Report Data Pane).
    6. If i want to populate the parameters i do this by defining a separate dataset (query) per parameter to populate the drop down box. Otherwise i manually enter a string.
    7. I manually add the parameters to my dataset in the design view.
    8. Last i add filters which indicate what fields need to be filterd based on which parameter value.
    Any suggestions on how to get this working with acceptable performance?
    Thanks in advance for your help.
    (If you need screenshots to clarify the steps please let me know)
    Kind regards,
    Dennis

  • Job scheduling(passing the values to the child program)

    when i'm trying to schedule a background job(using job_open job_submit and job_close) i'm passing the values of the selection screen(parent program) to my child program using set parameter id. And trying to get the values using get parameter id in the cild program.
    But the values of the parent program are not being passed to the child program what may be the cause for it?

    rathan,
    Why con't you use
    SUBMIT... [VIA SELECTION-SCREEN]
    [USING SELECTION-SET <var>]
    [WITH <sel> <criterion>]
    [WITH FREE SELECTIONS <freesel>]
    [WITH SELECTION-TABLE <rspar>].
    When you start an executable program, the standard selection screen normally appears, containing the selection criteria and parameters of both the logical database connected to the program and of the program itself (see Direct Execution - Reports). When you start an executable program using SUBMIT, there are various additions that you can use to fill the input fields on the selection screen:
    SUBMIT... [VIA SELECTION-SCREEN]
    [USING SELECTION-SET <var>]
    [WITH <sel> <criterion>]
    [WITH FREE SELECTIONS <freesel>]
    [WITH SELECTION-TABLE <rspar>].
    These options have the following effects:
    VIA SELECTION-SCREEN
    The selection screen of the called executable program (report) appears. If you transfer values to the program using one or more of the other options, the corresponding input fields in the selections screen are filled. The user can change these values. By default, the system does not display a selection screen after SUBMIT.
    USING SELECTION-SET <var>
    This option tells the system to start the called program with the variant <var>.
    WITH <sel> <criterion>
    Use this option to fill individual elements <sel> of the selection screen (selection tables and parameters). Use one of the elements <criterion>:
    <op> <f> [SIGN <s>], for single value selection
    If <sel> is a selection criterion, use <op> to fill the OPTION field, <f> to fill the LOW field, and <s> to fill the SIGN field of the selection table <sel> in the called program.
    If <sel> is a parameter, you can use any operator for <op>. The parameter <sel> is always filled with <f>.
    [NOT] BETWEEN <f1> AND <f2> [SIGN <s>], for interval selection
    <f1> is transferred into the LOW field, <f2> into the HIGH field, and <s> into the SIGN field of the selection table <sel> in the called program. If you omit the NOT option, the system places the value BT into the OPTION field; if you use NOT, the system fills OPTION with NB.
    IN <seltab>, transferring a selection table
    This addition fills the selection table <sel> in the called program with the values of the table <seltab> in the calling program. Table <seltab> must have the structure of a selection table. Use the RANGES statement to create selection tables.
    WITH FREE SELECTION <freesel>, user dialog for dynamic selections
    To use this option, the called program must be connected to a logical database that supports dynamic selections. In the calling program, use the function modules FREE_SELECTIONS_INIT and FREE_SELECTIONS_DIALOG. They allow the user to enter dynamic selections on a selection screen. One export parameter of these function modules has structure RSDS_TEXPR from the RSDS type group. Transfer the values of this export parameter by means of the internal table <freesel> of the same structure to the called report.
    WITH SELECTION-TABLE <rspar>, dynamic transfer of values
    You need an internal table <rspar> with the Dictionary structure RSPARAMS. The table then consists of the following six fields:
    SELNAME (type C, length 8) for the name of the selection criterion or parameter
    KIND (type C, length 1) for the selection type (S for selection criterion, P for parameter)
    SIGN, OPTION, LOW, HIGH as in a normal selection table, except that LOW and HIGH both have type C and length 45.
    This table can be filled dynamically in the calling program with all of the required values for the selection screen of the called program. If the name of a selection criterion appears more than once, the system creates a multiple-line selection table for that criterion in the called program. If the name of a parameter appears more than once, the system uses the last value. Note that LOW and HIGH have type C, so that the system executes type conversions to the criteria of the called program. This is important for date fields, for example. Before your program is used in a live context, you should check it using the VIA SELECTION-SCREEN addition.
    Except for WITH SELECTION-TABLE, you can use any of the above options several times and in any combination within a SUBMIT statement. In particular, you can use the WITH <sel> option several times for one single criterion <sel>. In the called program, the system appends the corresponding lines to the selection tables used. For parameters, it uses the last value specified. The only combination possible for the WITH SELECTION-TABLE option is USING SELECTION-SET.
    If the input fields on the selection screen are linked to SPA/GPA parameters, you can also use this technique to pass values to the selection screen (see Passing Data Between Programs).
    The following executable program (report) creates a selection screen containing the parameter PARAMET and the selection criterion SELECTO:
    REPORT  demo_program_submit_rep1.
    DATA number TYPE i.
    PARAMETERS      paramet(14) TYPE c.
    SELECT-OPTIONS  selecto FOR number.
    The program DEMO_PROGRAM_SUBMIT_REP1 is called by the following program using various parameters:
    REPORT demo_program_submit_sel_screen NO STANDARD PAGE HEADING.
    DATA: int TYPE i,
          rspar TYPE TABLE OF rsparams,
          wa_rspar LIKE LINE OF rspar.
    RANGES seltab FOR int.
    WRITE: 'Select a Selection!',
    SKIP.
    FORMAT HOTSPOT COLOR 5 INVERSE ON.
    WRITE: 'Selection 1',
         / 'Selection 2'.
    AT LINE-SELECTION.
      CASE sy-lilli.
        WHEN 4.
          seltab-sign = 'I'. seltab-option = 'BT'.
          seltab-low  = 1.   seltab-high   = 5.
          APPEND seltab.
          SUBMIT demo_program_submit_rep1 VIA SELECTION-SCREEN
                          WITH paramet eq 'Selection 1'
                          WITH selecto IN seltab
                          WITH selecto ne 3
                          AND RETURN.
        WHEN 5.
          wa_rspar-selname = 'SELECTO'. wa_rspar-kind = 'S'.
          wa_rspar-sign = 'E'. wa_rspar-option = 'BT'.
          wa_rspar-low  = 14.  wa_rspar-high = 17.
          APPEND wa_rspar TO rspar.
          wa_rspar-selname = 'PARAMET'. wa_rspar-kind = 'P'.
          wa_rspar-low  = 'Selection 2'.
          APPEND wa_rspar TO rspar.
          wa_rspar-selname = 'SELECTO'. wa_rspar-kind = 'S'.
          wa_rspar-sign = 'I'. wa_rspar-option = 'GT'.
          wa_rspar-low  = 10.
          APPEND wa_rspar TO rspar.
          SUBMIT demo_program_submit_rep1 VIA SELECTION-SCREEN
                          WITH SELECTION-TABLE rspar
                          AND RETURN.
      ENDCASE.
    Pls. reward if useful...

  • Any way to pass Multiple Values for a single Label in the Parameter?

    I have a Report that Contains 2 Parameters, @Customer & @Area. When trying to set up the Available Values for @Area, I'm having issues using multiple values for one Label, i.e. = "4006" Or "4610"
    One of the Filters in the Report is an Operation number, which is the [OPERATION] field, which is setup as a filter on the Tablix referencing the @Area parameter. 
    PROBLEM: I cannot retrieve any data when trying to use the ‘Or’ Operator here. If I simply put “4006” or “4610” I retrieve data, but when trying to combine it returns no data.
    Example, I need to allow a user to select ‘Chassis Incoming’, which would include data from Operations 4006 & 4610.
    QUESTION:
    Any way to pass Multiple Values for a single Label in the Parameter?
    I realize the typical solution may be to use ‘Multi-Value’ selection, but in this case we want the User to select the Area and the multiple values for Filtering will be automatically determined for them. Otherwise, they are subject to not getting
    it correct.
    I have tried several different ways, such as =”4006” Or “4610”, =(“4006”, “4610”), = In(“4006”, “4610”), etc….
    Note: We are using Report Builder 3.0

    Based on my experience, there's no way to 'intercept' the query that gets passed back to SQL Server, so a Split wouldn't work.
    Try creating either a function or stored procedure using the code below (compliments to
    http://www.dotnetspider.com/resources/4680-Parse-comma-separated-string-SQL.aspx) to parse the string: 
    CREATE FUNCTION dbo.Parse(@Array VARCHAR(1000), @Separator VARCHAR(10))
    RETURNS @ResultTable TABLE (ParseValue VARCHAR(100))AS
    BEGIN
    DECLARE @SeparatorPosition INT
    DECLARE @ArrayValue VARCHAR(1000)
    SET @Array = @Array + @Separator
    WHILE PATINDEX('%' + @Separator + '%' , @Array) <> 0
    BEGIN
    SELECT @SeparatorPosition = PATINDEX('%' + @Separator + '%', @Array)
    SELECT @ArrayValue = LEFT(@Array, @SeparatorPosition - 1)
    INSERT @ResultTable VALUES (CAST(@ArrayValue AS VARCHAR))
    SELECT @Array = STUFF(@Array, 1, @SeparatorPosition, '')
    END
    RETURN
    END
    Once created you can do things like this:
    SELECT * FROM Parse('John,Bill,David,Thomas', ',')
    SELECT * FROM (SELECT 'John' AS TestName union select 'David' AS TestName) AS Main
    WHERE TestName IN (SELECT ParseValue FROM dbo.Parse('John,Bill,David,Thomas', ','))
    This is what your SQL query would probably look like:
    SELECT OperationID, OperationName FROM dbo.Operations
    WHERE AreaID IN (SELECT ParseValue FROM dbo.Parse(@Area, ','))
    You may need to fiddle around with the Separator depending on whether SQL Server inserts a space between the comma and next value.

  • Passing multiple values to a parmeters in Discoverer 4i

    Hi Friends,
    I have a requirement of passing multiple values (Operating Unit Names) to the parameter(P_Opr_Unit) in Discoverer.
    I am using PL/SQL function to get the data in Discoverer.Function is working fine for multiple values from Database(SQL Developer).
    When i am trying to pass multiple values from discoverer ...it is accepting only the first parameter value of Operating Unit.
    Need your Expertise on this issue.
    Thanks In Advance.
    Thanks & Regards
    Ramya Nomula

    Hi,
    You can only pass one parameter value into a function. When you have a multi-valued parameter it enables you to create the condition: item IN (:param) which Discoverer expands to the condition: item IN ('val1', 'val2', 'val3') where these are the values the user has picked from the list of values.
    Now if you have a calculation containing a function and a parameter: my_func(:param) then Discoverer has to map the parameter in the function an item in the worksheet. So if the param is from a multi-valued list it can only pass one value and so expands the calculation to my_func('val1') where val1 is the first item picked from the list.
    Rod West

  • How to pass multiple values while invoking bpel process from ADF?

    Hi,
    I want to call a bpel process from my ADF application. The bpel process is having one input parameter. I have created webservice data control by using WSDL url.
    Lets say, I have an Emp multi select table. I drag and drop the data control into Emp table selection facet to create an "Invoke" button.
    I am able to pass single value (lets say Empid) to the bpel process after clicking the "Invoke" button.
    But, my requirement is to pass all the selected values ( as its a multi select table) to the bpel process after clicking the "Invoke" button once.
    How can I achieve this?
    --Abhijit                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi,
    if the BPEL method that you access allows you to pass arrays or lists, then you can get a list of selectedRowKeys from the table, which then you use to get the value from the underlying binding or the table. This however requires some Java coding instead of directly invoking the executable on the binding layer
    - you create the BPEL method in the binding layer
    - from a Java managed bean you call ADFBindingContext --> get current instance and access Binding container
    - OperationBinding oper = (OperationBinding ) bindings.get("method to invoke");
    oper.gerParamsMap().put("the BPel argument name", value);
    oper.execute();
    - To access the table selected rows
    RowKeySet rks = _table.getSelectedRowKeys();
      //iterate over the set of selected row keys and delete
      //each of the found rows
      Iterator selectedRowIterator = rks.iterator();
      while (selectedRowIterator.hasNext()){
        //get the first key
        Object key = selectedRowIterator.next();
        //make the row current
        _table.setRowKey(key);
        //the row is an instance of the ADF node binding class
        JUCtrlHierNodeBinding rowWrapper = null;
        rowWrapper = (JUCtrlHierNodeBinding) _table.getRowData();
        //get the actual oracle.jbo.Row object
        Row row = rowWrapper.getRow();
        ... get attribute values by calling row.getAttribute("name"); assuming you used ADF BC to build the tableFrank

Maybe you are looking for

  • User State Migration using SMP with config manager 2012 R2

    Hi ,  I have SMP at primary site and need to migrate XP and 7 machines using this SMP (using USMT),  what are the steps do i need to define in TS so that usmt can use State migration point for user setting\data backup? Another challenge i see it with

  • Setting a specific loop duration

    I can't seem to get the audio loop duration to a specific time I want. It jumps at 3 and 4 second intervals when I scroll the timer bar. I hope I am missing something on this because if this is how it was designed, I am very disappointed in Apple's d

  • Anybody know a good page turn tutorial?

    hi, i've been searching for hours for a good tutorial on how to create a page turn in flash, i've already used google for so many different kinds of searches, including ' "flash page turn tutorial" '. i'm wanting something similar to this but i want

  • Re:  credit on Apple account

    I have a $50.00 credit at the Apple I-Tune account, why did Apple ask for my credit card information and then charge my credit card account?????  I want that Credit Card amount reversed and use the Apple credit on my account!

  • SharePoint 2013 language pack SP1 download

    Hello, We have 4 language packs (Frensh / Italian / Spanish / German) in the farm. Can someone please give me link where I can find the SP1 for those language packs? I'm getting little confuse with the links I'm getting on the internet. Thanks