Adding value to filter column as parameter while navigating to 2nd report

Hi
I have a report and I want to navigate to another report in Answers.
There is a filter column for the 2nd report whose
value I can't choose from the calling report, because it is a hidden indicator.
Is there any way I can add this hidden indicator with a hard-coded value to the
end of the navigation call (for the 2nd report)?
eg. call_report XYZ indicator='Y'.
Many thanks for any ideas.
- Jim

Hi,
I have used below solution to pass various indicators (columns were not present in the parent report) to same drill report. Hope it helps you.
The idea here is to override the function PTMNav which gets executed when we click on a column in pivot, which drills to another report passing the remaining column's values and filters.Follow the below steps to achieve this.
* Open the request and add a Static View to the report (compound view).
* In this view, check the option 'Contains HTML Markup' and add the below code. (The function PTMNav is exactly the same as the orginial one with just one additional line added to it)
<script language="javascript">
var colName = '"TableName"."ColumnName"'; // Add your ColumnDefinition within single quotes
var colValue = 'valueToBePassed';
function PTMNav(scttbl, row, r, tNavSetup, nType, evt, bInPreview)
   var tInNavInfo = new NavigateInfo();
   // add all the row values
   var vRValues = PTRGetValues(scttbl,row,scttbl.vRows);
   for(var n = 0 ; n < scttbl.yLayers.length ; ++n)
      // might be dealing with totals, look for null layers
      if (null == scttbl.yLayers[n])
         continue;
        // if a measure, do not add the value
        if (null != scttbl.vColumnAggs &&
            null != scttbl.vColumnAggs[scttbl.yLayers[n]] &&
            scttbl.vColumnAggs[scttbl.yLayers[n]])
           continue;
      tInNavInfo.AddValue('eq', scttbl.vFormulas[scttbl.yLayers[n]], vRValues[n]);
   // add all the column values
   var vCValues = PTCGetValues(scttbl,r,scttbl.vColumns);
   for(var n = 0 ; n < scttbl.xLayers.length ; ++n)
      // might be dealing with totals, look for null layers
      if (null == scttbl.xLayers[n])
         continue;
        // if a measure, do not add the value
        if (null != scttbl.vColumnAggs &&
            null != scttbl.vColumnAggs[scttbl.xLayers[n]] &&
            scttbl.vColumnAggs[scttbl.xLayers[n]])
           continue;
      tInNavInfo.AddValue('eq', scttbl.vFormulas[scttbl.xLayers[n]], vCValues[n]);
   /** START custom code **/
  tInNavInfo.AddValue('eq',colName,colValue);     
   /** END custom code **/
   // let PTNavigate add just the page + section values and navigate
   PTNavigate(scttbl, tNavSetup, (new Array()), (new Array()), -1, evt, tInNavInfo, bInPreview);
   return false;
</script>* The code above contains the overriden PTMNav function. Here on line 2 and 3 specify the column Name in colName variable and column Value in colValue variable which needs to be passed to the navigated report.Ensure you have this column as 'is prompted' in the drill report.
Now, along with other filters and column's value, this column's value will also be passed to the drill report.
Please let me know if this solution works for you.
Thanks

Similar Messages

  • Error while navigating from a report in OBIEE

    I get the below error while navigating from one report to another report
    Odbc driver returned an error (SQLExecDirectW).
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred.
    [nQSError: 16001] ODBC error state: 37000 code: 1101 message: [Microsoft][ODBC SQL Server Driver][SQL Server]Could not allocate a new page for database 'TEMPDB'
    because of insufficient disk space in filegroup 'DEFAULT'. Create the necessary space by dropping objects in the filegroup
    , adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup..
    [nQSError: 16015] SQL statement execution failed. (HY000).
    Any inputs on this is highly appreciated.
    Thanks,
    Vasavi

    Hi Vasavi,
    There is no Temp space in Data base to run queries .Please contact your DBA to increase your db size
    thanks,
    saichand.v
    Edited by: Saichand Varanasi on Jul 14, 2010 7:35 AM

  • Filter condition not working when Navigating from Main report to detail

    Hello,
    I have one report in OBIEE 10.3.4. Below is the filter condition used in Main report:-
    (Customer Secondary Organization is equal to / is in BMS OTHER C
    AND Customer Tertiary Organization is equal to / is in S&FO )
    OR Customer Secondary Organization is equal to / is in MKTG
    Also in my detail report I am using the same filter conditions:-
    (Customer Secondary Organization is equal to / is in BMS OTHER C
    AND Customer Tertiary Organization is equal to / is in S&FO)
    OR Customer Secondary Organization is equal to / is in MKTG
    Now when I am navigating from Main report to Detail report, then this filter condition is getting overridden by below condition:-
    Customer Secondary Organization is equal to MKTG
    and Customer Tertiary Organization is equal to S&FO
    or Customer Secondary Organization is equal to MKTG
    What I noticed is If I rearrange the filters and make it as below:-
    (Customer Secondary Organization is equal to / is in MKTG
    AND Customer Tertiary Organization is equal to / is in S&FO)
    OR Customer Secondary Organization is equal to / is in BMS OTHER C
    Then I am getting the filter in detail report as:-
    Customer Secondary Organization is equal to BMS OTHER C
    and Customer Tertiary Organization is equal to S&FO
    or Customer Secondary Organization is equal to BMS OTHER C
    It is taking Secondary Organization which is 2nd one in the main report.
    Can anyone please help me on this.
    Thank You,
    Shivam Saxena

    Hi,
    What you can try is refer the filte condition in the main report to the detailed report with the option--> Filter based on another request.
    Or you try creating another intermediate report which will refer the main report filters and pass the filters to the detailed report.
    Hope this helps.
    Regards
    MuRam

  • Saving values in parameters while Navigation

    Hi,
    Can I save the value of the dimensions in some parameter while navigation.
    Means If I click on some value in a table which has navigation enabled, I want to store corresponding dimensions values in some parameters.
    How can we achieve the above requirement.
    Please let me know if any other information is required?
    Regards,
    Vikas

    1. Make sure that you have same column names as you have in the target report
    2. Remove spaces between parameters
    '<--a href=http://obiedev02.tpcsed.com/analytics/saw.dll?GO& path=/shared/CUSTOM%20WAREHOUSE/PLANNED%20TRAINING%20DETAILS&Action=Navigate &P0=1 &P1=eq &P2="Training%20Planned%20Time"."MONTH%20(Mon-YYYY)"&P3=1+'||"Fact - Employee Total Trainings"."MONTH"||' style="text-decoration:none;">' ||'link name' || '<--/a>'
    Do you see spaces?
    Navigate &P0=1 &P1=eq &
    Write like this:
    Navigate&P0=1&P1=eq&
    and you don't need
    1+'||"Fact - Employee Total Trainings"."MONTH"
    just
    '||"Fact - Employee Total Trainings"."MONTH"
    And remove space here:
    ' ||'link name' || '<--/a>'
    Put like this:
    '||'link name'||'<--/a>'
    Try now.
    Ps. One more thing. Go to a link when retrieving in Answers results tab and go to a properties/address (URL) and copy/paste generated URL here.
    Regards
    Goran
    http://108obiee.blogspot.com

  • Report parameter is not populated with exact value in stacked column click throughs

    I have stacked column chart to show below opportunity data.
    Category axis: Month of created date
    Series: sales stage
    Aggregate: runningvalue of revenue on sales stage group. 
    data set has below fields.
    1. opportunity id
    2. created date
    3. revenue
    4. sales stage.
    5. Calculated field: month of created date
    I have a sub report which shows the detail information for that month when I click on Stacked column. In order to achieve this i have to pass a report parameter with month of created date(calculated field) on the click action of main report.
    This report parameter is not getting populated when i click on the respective stacked column because of which the sub report is failing.
    Any thoughts?
    1. Category: month of the created date of opportunity(this 
    1. Category: month of the created date of opportunity(this 

    Thanks Katherine for reply. 
    Creating a subreport was never an issue, the issue was when I click on the stacked column the parameter (A) as per your screenshot was not getting populated, some times it just passes a null value.
    In my report below is the sample data and in Chart
    1. Series Aggregate is on Runningvalue of Revenue set to stage scope.
    2. CAtegory group is on Month of Created date
    3. Series group is on Stage
    4. Have a report filter for Year.
    Sub report parameter: Month which is passed when  I click on the stacked column.
    Below is sample data how my data looks like.
    id
    stage
    createdon
    revenue
    1
    U
    1/1/2013
    1000
    2
    Ir
    1/2/2013
    2000
    3
    Ir
    2/2/2013
    1000
    4
    A
    2/3/2013
    5000
    5
    A
    3/3/2013
    1000
    6
    Ir
    3/3/2013
    5000
    7
    Ir
    4/3/2013
    7000
    Below is the image of actual report
    In the above screenshot When i click on Region A or Region C for Aug Column, the Month Parameter for subreport is always null. When I click on Region B , parameter is having the
    value as "Aug". 
    Let me know is there anything I am missing.

  • How to insert parameter value into multiple columns and rows

    Hi All,
    I have one procedure insert_tab and I am passing
    100~101~102:103~104~105:106~107~108 as a parameter to that procedure. I wanted to insert each numeric value into one column. The output of the table should contain
    Table:
    Col1 Col2 Col3
    100 101 102
    103 104 105
    106 107 108
    Awaiting for your reply..

    That's not more clear for me...
    Anyway, if you really want a procedure for that, try :
    SQL> create table tblstr (col1 number,col2 number,col3 number);
    Table created.
    SQL>
    SQL> create or replace procedure insert_fct (p_string IN varchar2)
      2  as
      3  v_string     varchar2(4000):=p_string||':';
      4  v_substring  varchar2(4000);
      5 
      6  begin
      7      while instr(v_string,':') > 0 loop
      8            v_substring := substr(v_string,1,instr(v_string,':')-1)||'~';
      9            insert into tblstr(col1,col2,col3)
    10            values (substr(v_substring,1,instr(v_substring,'~',1,1)-1),
    11                    substr(v_substring,instr(v_substring,'~',1,1)+1,instr(v_substring,'~',1,2)-instr(v_substring,'~',1,1)-1),
    12                    substr(v_substring,instr(v_substring,'~',1,2)+1,instr(v_substring,'~',1,3)-instr(v_substring,'~',1,2)-1));
    13            v_string:=substr(v_string,instr(v_string,':')+1);
    14      end loop;
    15  end;
    16  /
    Procedure created.
    SQL>
    SQL> show err
    No errors.
    SQL>
    SQL> select * from tblstr;
    no rows selected
    SQL> exec insert_fct('100~101~102:103~104~105:106~107~108')
    PL/SQL procedure successfully completed.
    SQL> select * from tblstr;
          COL1       COL2       COL3
           100        101        102
           103        104        105
           106        107        108
    SQL> exec insert_fct('109~~')
    PL/SQL procedure successfully completed.
    SQL> exec insert_fct('~110~')
    PL/SQL procedure successfully completed.
    SQL> exec insert_fct('~~111')
    PL/SQL procedure successfully completed.
    SQL> select * from tblstr;
          COL1       COL2       COL3
           100        101        102
           103        104        105
           106        107        108
           109
                      110
                                 111
    6 rows selected.
    SQL> Nicolas.

  • TableView - Filter more than one value in same column

    Hi folks,
    I faced a problem on <b>filtering a field more than one value</b>.
    Does it possible solution for us to bring out filtering function while user try to enter few values in the SAME filter field?
    Thank you.
    First, i need to clarify my exact problem.
    --> I have created one tableView with filter = "server". Then i want to allow my user to enter few filter values in same field column.
    Example 1:
    Before
    COL1 COL2 COL3 COL4
    l--II--
    l-filter1I--I--
    *filter1 = AAA, BBB
    AAA AAA AAA AAA
    BBB BBB BBB BBB
    CCC CCC CCC CCC
    DDD DDD DDD DDD
    EEE EEE EEE EEE
    After
    COL1 COL2 COL3 COL4
    l--II--
    l-filter1I--I--
    *filter1 = AAA, BBB
    AAA AAA AAA AAA
    BBB BBB BBB BBB
    Is that any good suggestions to solve my doubt?
    Message was edited by:
            GP Poh

    check out this work around. in this sample currency column supports multiple values and multiple values in the filter column should be enter with comma as separater.
    <u><b>page attribute:</b></u>
    filtertab     TYPE     RSELOPTION
    filter_wa     TYPE     RSDSSELOPT
    itab     TYPE     FLIGHTTAB
    <u><b>layout</b></u>
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <htmlb:content design="design2003" >
      <htmlb:page title=" " >
        <htmlb:form>
        <htmlb:textView id ="tex"
                        text = "Filter on Currency Column support multiple values, they can be entered with comma as separater like 'usd,DEM'"/>
          <htmlb:tableView id                  = "tv1"
                           design              = "ALTERNATING"
                           table               = "<%= itab %>"
                           filter              = "APPLICATION"
                           columnHeaderVisible = "true"
                           sort                = "SERVER" />
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    <u><b>oninitialization</b></u>
    select * from sflight into table itab where currency in filtertab .
    <u><b>oninputprocessing</b></u>
    * event handler for checking and processing user input and
    * for defining navigation
    DATA: table           TYPE REF TO cl_htmlb_tableview .
    DATA: tv_data TYPE REF TO cl_htmlb_event_tableview.
    DATA: filter_value TYPE string .
    DATA: fil_val TYPE STANDARD TABLE OF string ,
          fil_val_wa TYPE string .
    REFRESH filtertab .
    table ?= cl_htmlb_manager=>get_data( request = request
                                               name    = 'tableView'
                                               id      = 'tv1' ).
    IF table IS NOT INITIAL .
      tv_data = table->data .
      IF NOT tv_data IS INITIAL .
        CALL METHOD tv_data->get_row_filter_value
          EXPORTING
            column_index = 6
          RECEIVING
            value        = filter_value.
        IF NOT filter_value IS INITIAL .
          TRANSLATE filter_value TO UPPER CASE .
          REFRESH fil_val .
          SPLIT filter_value AT ',' INTO TABLE fil_val .
          CLEAR fil_val_wa .
          LOOP AT fil_val INTO fil_val_wa .
            filter_wa-sign = 'I' .
            filter_wa-option = 'EQ' .
            filter_wa-low = fil_val_wa .
            APPEND filter_wa TO filtertab .
          ENDLOOP .
        ELSE .
          REFRESH filtertab .
        ENDIF .
      ENDIF .
    ENDIF .
    Regards
    Raja

  • Subtotal on Ytd column changes when adding a date-filter

    Hi everybody,
    I am facing a challenge in BIEE which I can't explain.
    BI Server version: 10.1.3.4.1 Build 090414.1900
    Using Sample Sales Reduced
    I've defined the following request
    Columns:
    Region, Year, Month, Day Date, Revenue, Year to Date Revenue (Aggregation Rule: Server Complex Aggregate)
    Filter:
    Year = 2008
    and month = 2008/01
    and region = East
    Results shown in a table view and adding a subtotal on month
    Revenue column: 428261.97
    Year to Date Revenue: 428261.97
    The challenge:
    Adding the following filter
    Day Date <= 1/31/2008
    leads to the following subtotals
    Revenue column: 428261.97
    Year to Date Revenue: 6867366.46
    The subtotal in Year to Date Revenue is now a total of all the values (aggregation rule is still Server Complex aggregate) and I can't get back to the correct number as long as the Day Date filter exists. I would have expected the 428261.97 as the subtotal.
    Is there anything I've misunderstood?
    Thanks for your help
    Regards
    Andy

    Hi Andy,
    Other than equal to/is in filter if u apply u ll get *6,867,366.46* ....why because its dividing the data for all the day date that u mentioned let say less than 31st jan -08....if u want to get *428261.97* remove the extra filter
    have u seen the formula for YTD column ? ( TODATE("Sample Sales"."F0 Rev Base Measures"."1-01 Revenue (Sum All)", "Sample Sales"."H0 Time"."Year"))
    from the formula ,Less than equal to means it ll consider all the dates and add up the revenue then how come you will get 428261.97?
    thanks,
    Saichand.v

  • Adding more Values to the Column Link in Apex

    Hi,
    Is there any possibility of adding extra or more values to the column link in Apex. I already have 3 Column Name and Values linked to a different report.
    Eg:-
    Column Link:
    Link Text : #COUNT#
    Name       Value
    DATE #DATE#
    PRICE #PRICE#
    COST #COST#
    I want to add one more Name like 'ID' and corresponding and Value #ID#.
    Please Help...
    Thanks in Advance..
    Edited by: user13561710 on Jan 10, 2011 9:20 AM
    Edited by: user13561710 on Jan 10, 2011 12:34 PM

    Thanks Varad,
    But it didn't worked, The page has option to link only 3 values.
    My Target is 'Page in this Application" not a URL.
    I used your format and if you apply changes and come back the whole thing is dissappeared and even the link to page in application is inactive.
    Is there any other way???
    Thanks
    Edited by: user13561710 on Jan 10, 2011 10:49 AM
    Edited by: user13561710 on Jan 10, 2011 12:35 PM

  • Link to Interactive Report Using Report Column as Parameter Value

    I'm using Apex version 4.0.
    I have an interactive report that I want to link to a second interactive report in order to create drill down functionality.
    The user will click on a column in the main report called "Insurance Company Name" which will link to the second interactive report and filter for that Insurance Company.
    I'm just trying to pass the Insurance Company Name to a Page 0 Item and use that value to filter the drill down report. Pretty simple. I don't want to create a declarative filter on the second IR, if that makes sense. My query for the drill down report is something like:
    SELECT *
    FROM MARKETS
    WHERE INSURANCE_COMPANY_NAME = :P0_INSURANCE_COMPANY_NAME
    I can't seem to get this to work-I've created the column link on the Insurance Company Name field in my main report.
    The values I have are:
    Link Text: #INSURANCE_COMPANY_NAME#
    Target: URL
    URL: f?p=&APP_ID.:5:&SESSION.::&DEBUG.::P0_INSURANCE_COMPANY_NAME:#INSURANCE_COMPANY_NAME#
    It links to the drill down report but the drill down report is not filtering for the Insurance Company Name selected. It's not picking up the value for some reason.
    Thanks for the help.

    Possibly the value is NOT in session state when you call the dropdown.. Open up your session state menu option in the developer menu and see if there is a value in the Page 0 item..
    Why don't you just create a page item on the second IR page and use that in your Select statement instead?
    Thank you,
    Tony Miller
    Webster, TX
    What if you really were stalking a paranoid schizophrenic... Would they know?
    If this question is answered, please mark the thread as closed and assign points where earned..

  • Adding new filter column in customised report

    Hi,
    I want to add a new value to the filter list in one of our customized report. Afther the report is generated in Admin UI, at the top of the report's page, I want that business users can filter the report by giving the value of the filter column as user's login id.
    Please guide me in this regard.
    Thanks,
    Kalpana.

    Check
    http://download.oracle.com/docs/cd/B32386_01/generic.902/b32137/reporting.htm
    Search for "Filter Column Names (type=varchar, IN): This is a comma-delimited list of column names on which the report data can be filtered."

  • Update one column while getting the value in another column

    Is it possible to in one single SQL statement update two columns in a table while at the same time obtaining the value of another column, on the same row, in the same table, and independently (that is, the update of the columns has nothing to do with the data that I want from another column)*?* Of course, I can do this in two operations, one being a "select" and the other one being an "update", but since I am in the same table and even on the same row, is it really necessary to make TWO database calls? That's why I want to combine the the two SQL-statements, for reasons of presumed effiency.

    jsun wrote:
    Is it possible to in one single SQL statement update two columns in a table while at the same time obtaining the value of another column, on the same row, in the same table, and independently (that is, the update of the columns has nothing to do with the data that I want from another column)*?* Of course, I can do this in two operations, one being a "select" and the other one being an "update", but since I am in the same table and even on the same row, is it really necessary to make TWO database calls? That's why I want to combine the the two SQL-statements, for reasons of presumed effiency.Two statements != two database calls.
    At least not in terms of SQL.
    JDBC requires a 'statement' but in SQL (depending on the data source) that can include multiple statements. An obvious example of this is a stored proc but there are other ways as well.

  • Filter column values depending on variable

    Hi,
    I have a requirement to filter column results based on a prompt on a report. So, for example, there is a column called Transaction Type which can hold one of 3 values (Forced Sign, Forced Embark, or Optional). The prompt should give the selections:
    Forrced Transactions
    Optional Transactions
    If First Transaction is chosen, then the transaction column is filtered to show rows that have Forced Sign and Forced Embark transactions; if the Optional Transaction option is chosen then the report must show only rows that have Optional in the transaction column.
    I have created variable prompt called TransType with the above options, but not sure where to go next. Can anyone help?
    Thanks in advance.
    Geoff

    Thanks for your reply. Won't that just filter the transaction type column by the value of the user variable set by the dashboard promp?
    I want to filter as follows:
    Case 1 - Forced Transactions is selected on prompt: Report shows only Forced Sign and Forced Embark transactions.
    Case 2 - Optional Transactions is selected on prompt: Report shows only optional transactions.
    Thanks.

  • "How to get distinct values of sharepoint column using SSRS"

    Hi,
        I have integrated sharepoint list data to SQL Server reporting services. I am using the below to query sharepoint list data using sql reporting services.
    <Query>
       <SoapAction>http://schemas.microsoft.com/sharepoint/soap/GetListItems</SoapAction>
       <Method Namespace="http://schemas.microsoft.com/sharepoint/soap/" Name="GetListItems">
          <Parameters>
             <Parameter Name="listName">
                <DefaultValue>{GUID of list}</DefaultValue>
             </Parameter>
             <Parameter Name="viewName">
                <DefaultValue>{GUID of listview}</DefaultValue>
             </Parameter>
             <Parameter Name="rowLimit">
                <DefaultValue>9999</DefaultValue>
             </Parameter>           
          </Parameters>
       </Method>  
    <ElementPath IgnoreNamespaces="True">*</ElementPath>
    </Query>
    By using this query, I am getting a dataset which includes all the columns of sharepoint list. Among these columns, I wanted to display only 2 columns (i.e Region and Sales type) using chart. I have created a Region parameter but when I click preview, the drop down box is giving me all the repeatative values of region like RG1,RG1,RG1,RG2,RG2,RG2,RG2,RG3.......... I wanted to display only distinct values of Region parameter so that whenever end user select region from the parameter drop down, it will display the respective value of Sales type column.
    Also when I select only RG1 parameter, it is giving me a chart including the sales type of all the Regions. (it should display me only the sales type of RG1) How can I link these 2 columns so that they will display the values respectively.
              I would really appreciate if anyone can help me out with this.
    Thanks,
    Sam.

    Hi Sam,
    By code, the CAML language doesn’t have any reserved word (or tag) to set this particular filter to remove duplicate results.
    In this case, we could use the custom code to get distinct records.
    Here are the detailed steps:
    1.         Create a hidden parameter that gets all the records in one field.
    Note: Please create another dataset that is same of the main dataset. This dataset is used for the parameter.
    2.         Create a function that used to remove the duplicate records.
    Here is the code:
    Public Shared Function RemoveDups(ByVal items As String) As String
    Dim noDups As New System.Collections.ArrayList()
    Dim SpStr
    SpStr = Split(items ,",")
    For i As Integer=0 To Ubound(Spstr)
    If Not noDups.Contains(SpStr(i).Trim()) Then
    noDups.Add(SpStr(i).Trim())
    End If
    Next
    Dim uniqueItems As String() = New String(noDups.Count-1){}
    noDups.CopyTo(uniqueItems)
    Return String.Join(",", uniqueItems)
    End Function
    3.         Create another parameter that will be used for filtering the maindata.
    Please set the available value to be =Split(Code.RemoveDups(JOIN(Parameters!ISSUE_STATUS_TEMP.Value, ",")), ",")
    And the default value to be the value you what such as the first value:
    =Split(Code.RemoveDups(JOIN(Parameters!ISSUE_STATUS_TEMP.Value, ",")), ",").(0)
    4.         Go to the main dataset. Open the property window of this dataset.
    5.         In the “Filters” tab, set the filter to be:
    Expression: <The field to be filter>
    Operator: =
    Value: =Parameters!Region.Value
    The parameter “Region” should be the parameter we created in the step3.
    Now, we should get distinct values of SharePoint columns.
    If there is anything unclear, please feel free to ask.
    Thanks,
    Jin
    Jin Chen - MSFT

  • Button in a table row to get value of a column.

    Hello,
    I am following [this thread|Re: Problem with getting table element's table row] to get the value of a column up on button click (the button is in the same row).
    Here is the code in wdDoModify ()
    if (firstTime)
              IWDButton button = (IWDButton) view.getElement("TableCellEditor");
              button.mappingOfOnAction().addSourceMapping("ScheduledCourses", "row");
    Here is the code in the button action()
    public void onActionRegisterStudent(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, com.gfc.hr.training.wdp.IPrivateCourseRegistrationCompView.IScheduledCoursesElement row )
        //@@begin onActionRegisterStudent(ServerEvent)
         wdContext.nodeScheduledCourses().setLeadSelection(row.index());
        //@@end
    The context node for the table is "ScheduledCourses"
    When I click the button, I get an exception....
    com.sap.tc.webdynpro.services.exceptions.WDIllegalArgumentException: Parameter ScheduledCourses not found

    Hi Srinivas,
    Assuming you have a node 'ScheduledCourses' with two attributes 'courseId' and 'courseName' and you want to display the 'courseName' on click of the button placed in a particular row of the table, please try the following (Most of them you have already done, if i am not wrong. I am listing the entire steps so that you can check whether you have missed any thing). 
    1. Place a Table UI element and bind the datatsource property to the node 'ScheduledCourses'
    2. Insert a new column in the table and for the column insert a table cell editor and select 'Button' from the list.
    3. select the button(table cell editor) and create an action for the button. While creating an action create a parameter with name 'courseElement' and type as IPrivate<ViewName>.IScheduledCoursesElement (Interface representing element of ScheduledCourses node)
    3. In wdDoModifyView() write the following code
        if(firstTime){
             IWDButton button=(IWDButton)view.getElement("Button1");
             button.mappingOfOnAction().addSourceMapping("nodeElement","courseElement");
    Here "Button1" is the id of the button inserted in the table column. The string "nodeElement" should be written as such and "courseElement" is the name of the parameter which we have created for the action of the button.
    4. Now in the action created for the button try to print the courseName as shown
    wdComponentAPI.getMessageManager().reportSuccess(courseElement.getCourseName());
    Regards,
    Shabeer

Maybe you are looking for

  • Editable ALV - how to throw an error message for a specific line & field

    Hi all, I've implemented an editable ALV and also the ON_DATA_CHECK event to check the values, entered in the ALV. So this works fine and I can check the values. But now, I want to throw an error message corresponding to the field in the ALV, where t

  • Using skype

    I am fairly new to mac. I just purchased a macbook pro and downloaded skype. I can't figure out how to get my isight camera working for skype calls. Can someone please lend some help. thanks.

  • Where can I get 5 CD installation of download of Solaris 10?

    Hello folks, my host have CD rom, not DVD. I am running into the problem of being able to install OS from it since I can't find anywhere this media. Sun-->Oracle does not have CD installation as downloadable option.

  • PO Approval Date in Purchasing module

    Hello, I am working in Oracle 11i, I need to find out which column can I use for PO Approval Date? Since am working in P2P process, I posted this in Financials forum. Thank you BOb

  • How to use mac on an airplane?

    How do I use my mac on an airplane?