Passing multiple values to another page via a sql report

Having trouble passing multiple values to another page via a popup SQL report
I have two fields one called "descr" and another called "Met"
when I use the code below all works fine and the value of "descr" is passed
Select '<a href="javascript:popUp2('''
|| 'f?p=&APP_ID.:950:&SESSION.::&DEBUG.::'
|| 'P950_TYPE:'
|| descr
|| ''', 790, 460);"style="color:darkred; font-weight: bold;font-size: 90%">'
|| descr
|| '</a>' "Note"
But when I want to pass another value, all goes bonkers and instead of the value of the field being passed the literal text is passed.
can someone look at my code below and see what may be wrong
Select '<a href="javascript:popUp2('''
|| 'f?p=&APP_ID.:950:&SESSION.::&DEBUG.::'
|| 'P950_TYPE,P950_CODE:'
|| descr, Met
|| ''', 790, 460);"style="color:darkred; font-weight: bold;font-size: 90%">'
|| descr
|| '</a>' "Note"
I appeciate your help looking into this
FYI (Here is the entire SQL for reference)
With t
as
(SELECT
CASE WHEN KEY = 2 then
CASE WHEN WCS_CPT > :P940_METRIC_1_WCS_CPT1 then
'<span style="color:Red; ">'||TO_CHAR(WCS_CPT,'FML999G999G999G999G990D00')||'</span>' else
'<span style="color:#399304; ">'||TO_CHAR(WCS_CPT,'FML999G999G999G999G990D00')||'</span>' end
else '<span style="color:#180c8b;">'||TO_CHAR(WCS_CPT,'FML999G999G999G999G990D00')||'</span>' end "WCSCPT",
CASE WHEN KEY = 2 then
CASE WHEN WCS_TOI_PER_FTE < :P940_METRIC_2_WCS_TOI_PER_FTE then
'<span style="color:Red; ">'||TO_CHAR(WCS_TOI_PER_FTE,'999G999G999G999G990')||'</span>' else
'<span style="color:#399304; ">'||TO_CHAR(WCS_TOI_PER_FTE,'999G999G999G999G990')||'</span>' end
else '<span style="color:#180c8b;">'||TO_CHAR(WCS_TOI_PER_FTE,'999G999G999G999G990')||'</span>' end "WCSTOIPERFTE",
CASE WHEN KEY = 2 then
CASE WHEN WCS_SIO_PER_FTE < :P940_METRIC_3_WCS_SIO_PER_FTE then
'<span style="color:Red; ">'||TO_CHAR(WCS_SIO_PER_FTE,'999G999G999G999G990')||'</span>' else
'<span style="color:#399304; ">'||TO_CHAR(WCS_SIO_PER_FTE,'999G999G999G999G990')||'</span>' end
else '<span style="color:#180c8b;">'||TO_CHAR(WCS_SIO_PER_FTE,'999G999G999G999G990')||'</span>' end "WCSSIOPERFTE",
CASE WHEN KEY = 2 then
CASE WHEN WCS_TC_PER_FTE < :P940_METRIC_4_WCS_TC_PER_FTE then
'<span style="color:Red; ">'||TO_CHAR(WCS_TC_PER_FTE,'999G999G999G999G990')||'</span>' else
'<span style="color:#399304; ">'||TO_CHAR(WCS_TC_PER_FTE,'999G999G999G999G990')||'</span>' end
else '<span style="color:#180c8b;">'||TO_CHAR(WCS_TC_PER_FTE,'999G999G999G999G990')||'</span>' end "WCSTCPERFTE",
CASE WHEN KEY = 2 then
CASE WHEN WCS_ADSL_PER_FTE < :P940_METRIC_5_WCS_DSL_PER_FTE then
'<span style="color:Red; ">'||TO_CHAR(WCS_ADSL_PER_FTE,'999G999G999G999G990')||'</span>' else
'<span style="color:#399304; ">'||TO_CHAR(WCS_ADSL_PER_FTE,'999G999G999G999G990')||'</span>' end
else '<span style="color:#180c8b;">'||TO_CHAR(WCS_ADSL_PER_FTE,'999G999G999G999G990')||'</span>' end "WCSADSLPERFTE",
CASE WHEN KEY = 2 THEN
TO_CHAR(MONTH,'MON-YY')
else
'METRICS'
end "MONTH"
FROM (
SELECT DISTINCT
ROW_NUMBER() OVER (ORDER BY KEY DESC) AS ROW_NUM, KEY, WCS_CPT, WCS_TOI_PER_FTE, WCS_SIO_PER_FTE, WCS_TC_PER_FTE, WCS_ADSL_PER_FTE, MONTH
from TW_M_KEYMETRICS
WHERE TO_DATE(UPPER(MONTH),'DD/MON/YY') >= TO_DATE(UPPER(:P940_START_OF_THIS_FIN_YEAR),'DD/MON/YY')
ORDER BY KEY ASC, ROW_NUM, MONTH)
WHERE ROW_NUM <= :P940_MONTHS_SINCE_FIN_START)
Select '<a href="javascript:popUp2('''
|| 'f?p=&APP_ID.:950:&SESSION.::&DEBUG.::'
|| 'P950_METRIC_TYPE,P950_METRIC_VALUE:descr,MET'
|| ''
|| ''', 790, 460);"style="color:darkred; font-weight: bold;font-size: 90%">'
|| descr
|| '</a>' "Note"
, max(Met) METRICS, max(Jul) Jul08, max(Aug) Aug08, max(Sep) Sep08, max(Oct) Oct08, max(Nov) Nov08, max(Dec)Dec08, max(Jan) Jan08, max(Feb) Feb08, max(Mar) Mar08, max(Apr) Apr08, max(May) May08, max(Jun) Jun08
from (
Select 'Cost Per Transaction' descr,
decode (MONTH, 'METRICS', WCSCPT) MET,
decode (MONTH, 'JUL-08', WCSCPT) Jul,
decode (MONTH, 'AUG-08', WCSCPT) Aug,
decode (MONTH, 'SEP-08', WCSCPT) Sep,
decode (MONTH, 'OCT-08', WCSCPT) Oct,
decode (MONTH, 'NOV-08', WCSCPT) Nov,
decode (MONTH, 'DEC-08', WCSCPT) Dec,
decode (MONTH, 'JAN-08', WCSCPT) Jan,
decode (MONTH, 'FEB-08', WCSCPT) Feb,
decode (MONTH, 'MAR-08', WCSCPT) Mar,
decode (MONTH, 'APR-08', WCSCPT) Apr,
decode (MONTH, 'MAY-08', WCSCPT) May,
decode (MONTH, 'JUN-08', WCSCPT) Jun
from t
union all
Select 'Total Orders Issued Per FTE' descr,
decode (MONTH, 'METRICS', WCSTOIPERFTE) MET,
decode (MONTH, 'JUL-08', WCSTOIPERFTE) Jul,
decode (MONTH, 'AUG-08', WCSTOIPERFTE) Aug,
decode (MONTH, 'SEP-08', WCSTOIPERFTE) Sep,
decode (MONTH, 'OCT-08', WCSTOIPERFTE) Oct,
decode (MONTH, 'NOV-08', WCSTOIPERFTE) Nov,
decode (MONTH, 'DEC-08', WCSTOIPERFTE) Dec,
decode (MONTH, 'JAN-08', WCSTOIPERFTE) Jan,
decode (MONTH, 'FEB-08', WCSTOIPERFTE) Feb,
decode (MONTH, 'MAR-08', WCSTOIPERFTE) Mar,
decode (MONTH, 'APR-08', WCSTOIPERFTE) Apr,
decode (MONTH, 'MAY-08', WCSTOIPERFTE) May,
decode (MONTH, 'JUN-08', WCSTOIPERFTE) Jun
from t
union all
Select 'SIOs Per Billing FTE' descr,
decode (MONTH, 'METRICS', WCSSIOPERFTE) MET,
decode (MONTH, 'JUL-08', WCSSIOPERFTE) Jul,
decode (MONTH, 'AUG-08', WCSSIOPERFTE) Aug,
decode (MONTH, 'SEP-08', WCSSIOPERFTE) Sep,
decode (MONTH, 'OCT-08', WCSSIOPERFTE) Oct,
decode (MONTH, 'NOV-08', WCSSIOPERFTE) Nov,
decode (MONTH, 'DEC-08', WCSSIOPERFTE) Dec,
decode (MONTH, 'JAN-08', WCSSIOPERFTE) Jan,
decode (MONTH, 'FEB-08', WCSSIOPERFTE) Feb,
decode (MONTH, 'MAR-08', WCSSIOPERFTE) Mar,
decode (MONTH, 'APR-08', WCSSIOPERFTE) Apr,
decode (MONTH, 'MAY-08', WCSSIOPERFTE) May,
decode (MONTH, 'JUN-08', WCSSIOPERFTE) Jun
from t
union all
Select 'Total Calls Answered per FTE' descr,
decode (MONTH, 'METRICS', WCSTCPERFTE) MET,
decode (MONTH, 'JUL-08', WCSTCPERFTE) Jul,
decode (MONTH, 'AUG-08', WCSTCPERFTE) Aug,
decode (MONTH, 'SEP-08', WCSTCPERFTE) Sep,
decode (MONTH, 'OCT-08', WCSTCPERFTE) Oct,
decode (MONTH, 'NOV-08', WCSTCPERFTE) Nov,
decode (MONTH, 'DEC-08', WCSTCPERFTE) Dec,
decode (MONTH, 'JAN-08', WCSTCPERFTE) Jan,
decode (MONTH, 'FEB-08', WCSTCPERFTE) Feb,
decode (MONTH, 'MAR-08', WCSTCPERFTE) Mar,
decode (MONTH, 'APR-08', WCSTCPERFTE) Apr,
decode (MONTH, 'MAY-08', WCSTCPERFTE) May,
decode (MONTH, 'JUN-08', WCSTCPERFTE) Jun
from t
union all
Select 'ADSL Orders per FTE' descr,
decode (MONTH, 'METRICS', WCSADSLPERFTE) MET,
decode (MONTH, 'JUL-08', WCSADSLPERFTE) Jul,
decode (MONTH, 'AUG-08', WCSADSLPERFTE) Aug,
decode (MONTH, 'SEP-08', WCSADSLPERFTE) Sep,
decode (MONTH, 'OCT-08', WCSADSLPERFTE) Oct,
decode (MONTH, 'NOV-08', WCSADSLPERFTE) Nov,
decode (MONTH, 'DEC-08', WCSADSLPERFTE) Dec,
decode (MONTH, 'JAN-08', WCSADSLPERFTE) Jan,
decode (MONTH, 'FEB-08', WCSADSLPERFTE) Feb,
decode (MONTH, 'MAR-08', WCSADSLPERFTE) Mar,
decode (MONTH, 'APR-08', WCSADSLPERFTE) Apr,
decode (MONTH, 'MAY-08', WCSADSLPERFTE) May,
decode (MONTH, 'JUN-08', WCSADSLPERFTE) Jun
from t
GROUP by descr
Frank

Borg Species 5618 wrote:
Having trouble passing multiple values to another page via a popup SQL report
But when I want to pass another value, all goes bonkers and instead of the value of the field being passed the literal text is passed.
can someone look at my code below and see what may be wrong
Select '<a href="javascript:popUp2('''
|| 'f?p=&APP_ID.:950:&SESSION.::&DEBUG.::'
|| 'P950_TYPE,P950_CODE:'
|| descr, Met
|| ''', 790, 460);"style="color:darkred; font-weight: bold;font-size: 90%">'
|| descr
|| '</a>' "Note"
Hi Frank,
You should close this parameters with single quotation. Try this -
Select '<a href="javascript:popUp2('''
|| 'f?p=&APP_ID.:950:&SESSION.::&DEBUG.::'
|| 'P950_TYPE,P950_CODE:'
*|| 'descr, Met'*
|| ''', 790, 460);"style="color:darkred; font-weight: bold;font-size: 90%">'
|| descr
|| '</a>' "Note"
Hope this helps.
Regards,
M Tajuddin
http://tajuddin.whitepagesbd.com

Similar Messages

  • Passing multiple values to another page

    I am somewhat new to Coldfusion 9 in a IIS platform through Dreamweaver CS4 and could use some direction.  I am working on a form where someone has submited a request for approval.  The user has requested a bulk approval button for all users that fall under certain filter conditions to do a mass approve ( setting the value to 1).  I have not been able to either pass the values to the current approval method or approve them on the existing page.  Below is the coding for the page as I have it.
    After the filter has applied I need to get the values of the #qRecords.VR_Machine_Participant_Activity_Login_ID# and have them all approve as apposed to doing them individually which they are doing now.  I have looked at several methods, but they are not meeting my needs.  Some information cut for space but left the form action.
    <form name="form1" method="post">
        <table width="996" border="1">
         <tr class="ReportColumnHeadingSmall">
          <td width="150">Approval Needed</td>
          <td width="100">Approved</td>
                            <td width="180">Business Unit</td>                    
         </tr>
         <tr class="data0Small">
          <td>
           <select name="cboApprovalRequired" class="smallFont">
            <!---<option value="All">All</option>--->
                     <option value="1"
             <cfif isDefined("vApprovalRequired")>
              <cfif vApprovalRequired eq 1>
                selected
              </cfif>
             </cfif>
            >True</option>
                     <option value="0"
             <cfif isDefined("vApprovalRequired")>
              <cfif vApprovalRequired eq 0>
                selected
              </cfif>
             </cfif>
            >False</option>
           </select>
          </td>
          <td>
           <select name="cboApproved" class="smallFont">
            <!---<option value="All">All</option>--->
                     <option value="1"
             <cfif isDefined("vApproved")>
              <cfif vApproved eq 1>
                selected
              </cfif>
             </cfif>
            >True</option>
                     <option value="0"
             <cfif isDefined("vApproved")>
              <cfif vApproved eq 0>
                selected
              </cfif>
             </cfif>
            >False</option>
           </select>
          </td>
                              <!--- Drop down showing the current available units to choose from --->
                             <td>
                       <select name="cbo_BusUnit" id="cbo_BusUnit">
                            <cfoutput query="qBusUnit">
                             <option value="#qBusUnit.BusinessUnit#"
                            <cfif (isDefined("vBusUnit") AND vBusUnit is qBusUnit.BusinessUnit)>selected                               </cfif>>#qBusUnit.BusinessUnit#</option>
                              </cfoutput>
                            </select>
                          </td>
    <!--- This is where I'd like to mark the items for approval. --->
                            <td><input type="submit" name="Submit" value="Apply Filter">
                            </td>                       
          <td width="450" align="right">
            This will approve all records displayed on the current page.
                              <input name="bVr_id" type="button" value="Approve">
      <cfoutput query="qRecords"><a href=   "vr_participantactivityapproval.cfm?participant=#qRecords.VR_Machine_Participant_Activity _Login_ID#">
        <img src="../Images/switch_user.gif" alt="Approve" width="16" height="16" border="0"></a>
        </cfoutput>
    </td>
         </tr>
         <tr class="ReportColumnHeadingSmall">
                         <td colspan="3" height="20"></td>
                        </tr>
        </table>
    <table width="996" border="1">
    <tr class="ReportColumnHeadingSmall">
        <td></td>
        <td>Machine or<br>Activity Type</td>
        <td>Activity</td>
        <td>Comments</td>
        <td>Oper.<br>ID</td>
        <td>Name</td>
        <td>Approved</td>
        <td>Login Status</td>
        <td>Login Date Time</td>
        <td>Minutes</td>
    </tr>
    <cfoutput query="qRecords">
    <tr class="data#Int(qRecords.CurrentRow MOD 2)#Small">
    <td>
                        <!--- Current method of approving them individually. --->    
    <a href="vr_participantactivityapproval.cfm?participant=#qRecords.VR_Machine_Participant_Act ivity_Login_ID#"><img src="../Images/switch_user.gif" alt="Approve" width="16" height="16" border="0"></a>
      </td>
      <td class="SmallFont">#qRecords.ActivityType#</td>
    <td class="SmallFont">#qRecords.Activity#</td>
        <td class="SmallFont">#qRecords.Value_Nvarchar#</td>
    <td class="SmallFont">#qRecords.VR_Department_Number#</td>
    <td class="SmallFont">#qRecords.FullName#</td>
    <td class="SmallFont"><cfif #qRecords.Approved# IS 0>False<cfelse>True</cfif></td>
        <td class="SmallFont">#qRecords.Login_Status#</td>
        <td class="SmallFont">#DateFormat(qRecords.Login_Date, 'ddd mm/dd/yyyy')# #TimeFormat(qRecords.Login_Date, 'H:mm')#</td>
        <td class="SmallFont">#qRecords.TotalTime#</td>
    </tr>
    </cfoutput>
    </table>
        </form>

    I suggest displaying all the potential approvees as checked checkboxes.  The user can then uncheck as many as he wants.

  • Passing Multiple Values from a worksheet to PL/SQL function.

    Hi All,
    Is there any way to pass multiple values selected in a worksheet to a PL/SQL function ?
    I will try to explain the scenario:
    We have a crosstab report that showing all the customer details, deposit sum of a customer in each date in a date range selected. With the customer details we are showing the Rank of a customer based on the deposit in the latest date selected. Filtering is based on the rank, ie Top50 or Top60 etc.( As I said rank is calculating based on the deposit in the latest date).This is working fine.
    Now the new requirement is to : For example, in Top50 report, list all the customers, who were in the Top50 list, in any of the dates selected. We are able to display the daywise rank, but when giving a condition like daywiserank <= 50, the result becomes uncertain. Some blank lines, wrong amounts etc..
    As a work around we tried to find out the rank in a PL/SQL function. But the issue there is : we have some multiple value parameters used in the worksheet.
    Is there any way to pass multiple values selected in a worksheet to a PL/SQL function ?
    Or any other work arounds for the scenario explained?
    Reagrds,
    Jeneesh

    Hi Russ,
    Thanks for the response.
    Russ Proudman wrote:
    1. I thought there was an analytical function similar to rank - or maybe an option of rank - that if there are duplicate records to have them all considered the same rank. So if you had 3 records all the same as rank=2 then a condition saying where rank=2 would return the 3 records. You could check into this.
    We are already using DENSE_RANK. But the issue is the output contains incorrect null values nd repeated rows.
    We got it solved as I explained in the previous post. But will that AGGREGATION MODE setting ( Which discoverer says - not recommended) have any issue? I mean side effects?
    Russ Proudman wrote:
    2. Another thought is that you can create a PL/SQL routine - that's called from a SQL function registered in Discoverer - where a table is created that does the first part of your query. Then a worksheet is created to use the data from that table. So, in essence, the table would have your top50 ranked customers. Then you can write any kind of worksheet against that table. However, DBAs are loath to allow tables - that they didn't create! - many times in a PROD environment.
    Here also the same problem will occur: as the top 50 will depend upon the parameters. I cannot pass those parameters to PL/SQL Function.And storing the top50 ( itmay be top100 or to 150 also) for all combinations of the parameters is impossible
    Russ Proudman wrote:
    3. Finally, are you sure you're rank function is correct in that if you're getting blank lines, maybe the 'over' part is not considering all columns needed to determine the rank?
    Yes the query we are using is correct. The output QUERY of discoverer gives correct results in Sqlplus.
    Regards,
    Jeneesh

  • Passing the values to another page.

    Hi all,
    In the first column of the report is radio buttons
    After selecting the radio button of a row and pressing the button view, has to go the next page where i can view the full details of the row.
    How i should pass the values of the selected row in the view button.
    In other words
    How to refer the report items when pressing a button.
    For eg:
    If i say in URL Target like.....
    javascript:redirect('f?p=&APP_ID.:3:&SESSION.:DISPLAY:NO::P3_ACC_NO:' +#id#+)
    if i put #id# the value is not appearing..
    Could any one please guide me ?
    Thanks in advance
    bye
    Srikavi

    Hello,
    >> only if it is the primary key as you mentioned it is appearing.but, if i put an non-pk column it is not appearing.
    I’m not sure what you mean by that. The onclick event will always set your hidden item according the any database column. In my example it’s ‘empno’, but I don’t see any reason to use any other column in the row. Anyway, the reason to use PK as the passes parameter is that with the PK you can retrieve the entire record on your next page, and use any column you need from the record.
    If I misunderstood you’ please be more descriptive about the problem.
    Regards,
    Arie.

  • How to pass multiple values to a single parameter in BW report URL

    Hi Experts,
    I am new to EP and learning .... i am stuck at one point where we need to pass multiple parameters to a BW report URL, this is the URL that we launch from BSP.... Suppose i have to pass different multiple values to a single parameter, how to do it....
    i m getting many answers to pass parameters to iviews, reports, but not specific to my case.. can u plz help me....
    Thanks in advance
    Priya Rai

    What is the prolem you are facing if you split the single date param as two parameters say startdate and enddate?
    If you pass as single string then you might have to split the same at reciever end.
    Are you trying any thing specific?

  • Javascript: to pass values to another page

    hi all,
    i hav an interactive report. if i clik on a particular row, that row values must be passed to an another page (via javascript)
    i found this forum https://forums.oracle.com/thread/2467579 in which they hav used it for sending mail.
    but i wanted to pass those values to another page throug javascript bz, i hav installed a plugin nd wrking from it under right clik.
    ma  javascript function  is,
    function func(action,el, pos)
       window.location ="http://apex.oracle.com/pls/apex/f?p=71510:2:&SESSION.:::2:P2_X,P2_X2:'+ $(el).children('td[headers="EMPNO"]').text() +  ',' + $(el).children('td[headers="ENAME"]').text()";
    here i hav redirected it to the 2nd page and in the 2nd page i hav used 2 items to get these values.
    $(el).children('td[headers="EMPNO"]').text() +        ------->  this is to fetch the empno of that particular row and similarly for the name.
    but if i click on the right clik button , no action is happening... 
    but its working fine, if i use the function as,
    function func(action,el, pos)
       window.location ="http://apex.oracle.com/pls/apex/f?p=71510:2:&SESSION.";
    so somewhere is going wrong in passing the values in URL i suppose....
    and i hav used al d above things in
    http://apex.oracle.com/pls/apex/f?p=71510:1 (username: test / paswrd: pex14gm)
    pls help me out.....
    thanks in advance

    Try like this.
    function func(action,el, pos){
        var empNum = $(el).children('td[headers="EMPNO"]').text();
        var eName  = $(el).children('td[headers="ENAME"]').text();
        window.location ='http://apex.oracle.com/pls/apex/f?p=71510:2:&SESSION.:::2:P2_X,P2_X2:'+empNum+','+eName;
    It looks simple and neat.
    If you still didn't get post me workspace details.

  • How do I pass SELECT-OPTIONS to another screen via CALL TRANSACTION?

    Good day, everyone!
    I am writing a program that will be passing PARAMETERS and SELECT-OPTIONS values to another transaction via the CALL TRANSACTION statement.  I'm new at this, and I've run into a problem.  I have several fields that are defined as SELECT-OPTIONS, like so:
    SELECT-OPTIONS so_ccode FOR fkkop-bukrs.
    The user may select multiple values, enter a range, exclude certain values, etc. -- the things a SELECT-OPTIONS allows.
    But how do I pass all of this to a field on another screen using CALL TRANSACTION when I only have two fields (BDCDATA-FNAM and BDCDATA-FVAL) available to me?  That works fine for PARAMETERS, but I can send low/high values, different signs/options, etc. for the SELECT-OPTIONS variables.
    Please help!!  Points awarded for all helpful answers.
    Thank you,
    Dave

    Don't use CALL TRANSACTION. Use SUBMIT instead.
    Rob

  • How to pass multiple values from workbook to planning function ?

    Hi,
    I have created Planning function in Modeler and it has one parameter(Variable represents = Multiple single values).
    When executing the planning function by create planning seq. in the web template : I see value of variable store data like ...
        A.) input one value -> V1
        B.) input three values -> V1;V2;V3
    This function execute completely in web.
    However, I want to use the planning function in workbook(Excel).
    The value of variable can't input V1;V2;V3... I don't know how to pass multiple values from workbook to parameter(Multiple single values type) in planning function ?
    thank you.

    Hi,
    Please see the attached how to document (page no 16).
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0881371-78a1-2910-f0b8-af3e184929be">how to</a>
    Hope this was helpful
    thanks

  • Passing the values between two pages

    hi all,
    I am trying to pass the value from one page to another page. by referring the Link
    http://www.youtube.com/watch?v=4eyzBiIf5MM&feature=related
    I have created the code based on the demo. it is deployed without any issues. but when i press the hyperlink from the first page it is not moving to the second page.
    Regards
    C.Karukkuvel

    Hi john,
    My Requirement is to create a ADF page based on the Human Task with the Default payload. In that page when the user presses the empid link field, It will show all the information related to the employee id in a separate page.
    so ,
    1. i have created the View Object based on the Query with where clause
    2. Create a bind variable for the where clause
    3.Created s new page for displaying the employee details
    4.drag and drop the both the pages (employee details, default page created by human task) into the adfcconfig file.
    5.drag and drop the Execute with params into the adfcconfig file
    6.wire it from human task page --> execute with params--> Employee details page
    7.change the employee field in that human task page to a link field.
    8.drag and drop the set property listener to that employee field.
    Testing
    Enter the input values for the Web service, logging to the BPM worklist, double click that task .it is showing the details when I press the employee id it is not navigating to the employee details page.
    Thanks in advance
    C.Karukkuvel

  • Omniportler HTML Layout - How do I pass a parameter to another page?

    How do I pass a parameter to another page from an HTML Layout like I can with the Tabular layout?

    If I have a parameter I can pass it from one page to another, i.e. if I have a list of customers and I want data for that particular customer alone, I can create a page parameter form or an omniportlet where I would then pass the value of that portlet to the page. I would use a string like the following: https://test.test.com/test/page?_pageid=536,7483646&_dad=portal&_schema=test&customer=##CUSTOMER_NAME##

  • About passing multiple values in parameter for oracle report

    https://docs.google.com/file/d/0B0dx7wf68mD0QzdpbWU4UGNURTQ/edit
    Hi all,
    i want to pass multiple value using , to separate them 1,2,3....
    here is my query
    SELECT DISTINCT
    oh.header_id
    ,oh.org_id
    ,to_char(oh.ordered_date,'DD-MON-YYYY') d_date
    ,to_char(oh.ordered_date+31,'DD-MON-YYYY') d_validity
    ,oh.ship_to_org_id
    ,oh.invoice_to_org_id
    ,oh.cust_po_number d_po_num
    ,rcust.customer_id AS customer_id
    ,oh.order_number d_salesorder_no
    ,oh.cust_po_number d_project
    ,oh.attribute1 second_addr
    ,oh.attribute2 remark1
    ,oh.attribute3 remark2
    ,substr(oh.transactional_curr_code,1,3) as currency
    ,tyl.name ordertype
    ,oh.salesrep_id
    ,rat.name as d_payment_term
    ,rat.description d_payment_desc
    ,rsa.name
    ,rsa.email_address as sales_phone
    ,rcust.customer_name||' - #'||rcust.customer_number d_to_custname
    ,rcust.customer_name d_cust_sign
    ,rcust.attribute1
    ,rcust.customer_number
    -- ,raddr.ship_to_flag
    ,oh.sold_to_contact_id AS attn_id
    ,rcust.party_id
    ,tyl.name AS SO_type
    -- ,net_org.ORG_LOGO
    FROM
    oe_order_headers_all oh
    ,ra_customers rcust
    ,ra_addresses_all raddr
    ,ra_site_uses_all rsite --double_line
    ,ra_terms rat
    ,hz_party_sites hps
    ,hz_contact_points hcp
    ,ra_salesreps_all rsa
    ,oe_transaction_types_tl tyl
    -- ,apps.ar_contacts_v acv
    -- ,net_org
    WHERE oh.sold_to_org_id = rcust.customer_id
    AND oh.payment_term_id = rat.term_id(+)
    --AND        rcust.customer_id = acv.customer_id(+)
    AND oh.salesrep_id = rsa.salesrep_id
    AND oh.order_type_id = tyl.transaction_type_id
    AND rcust.party_id = raddr.party_id
    AND raddr.address_id = rsite.address_id
    AND rcust.party_id = hps.party_id
    AND hps.party_site_id = hcp.owner_table_id(+)
    AND hcp.owner_table_name(+) = 'HZ_PARTY'
    --AND        hcp.contact_point_type (+)='PHONE'
    AND tyl.LANGUAGE = userenv('LANG')
    --AND          raddr.ship_to_flag IS NULL
    AND upper(tyl.name) in ('SW SALES CONTRACT','SW-NSC SALES CONTRACT','TILES SALES CONTRACT','VBP SAMPLE ORDER', 'VBP INTERNAL ORDER')
    AND oh.order_number =:P_CONTRACT_NO
    and oh.org_id = :P_ORG_ID
    --and            net_org.org_id = :P_ORG_ID
    &CP_Param
    and after para form
    function AfterPForm return boolean is
    begin
    :CP_Param := 'where oh.order_number in ('||:P_CONTRACT_NO||')';
    return (TRUE);
    end;
    it said ora-00933 but my query can run i dont need the multiple values para, can anyone help me how to modify the report so it can pass multipel values thanks

    HI I tried changing the parameter width to a larger value, it can output , and the field where I show the order_number i used source P_CONTRACT_NO,
    it will display as 102005000,102005001 and I also tried using the column from the query directly, it will be separated , it has some other problem
    I have the header part and main part,
    and also there are page numbering, with the order number field set as order_number it will output single number , but the page order is wrong
    102005000,102005001 will be like header page: 102005000 1/4 102005001 2/4, main page 102005000 3/4, 102005001 3/4
    DO you have any idea how I can set the page numbering setting so it will output as header page:102005000 1/2 102005000 2/2
    header page:102005001 1/2 102005001 2/2
    ?? thanks

  • Passing Multiple Values from Multi Select

    Hi,
    My requirement is simple. I have created a simple Multi Select Option in parameter form and i want to send multiple selected values from the multi select option (in parameter form) to reports.
    eg:
    I want to send multiple countries code as input .........'US', 'CA', 'IND', 'UK'
    Can i do it in Oracle 6i reports, Thanks in Advance.
    Regards,
    Asgar

    Hi Thanks Again,
    For such a nice response. I got the Lexical Where condition properly running but still getting problems in catching the multiple values to be passed from form. just i will give u an insight of wat i have done:
    SQL:
    SELECT ALL FROM EMPLOYEES &cond_1* -- Working FIne
    in my Html Parameter Form i have an Multi Select component (the Problem is here) it is not passing more than i value from the form once i am accessing it from web or running it in paper report. In paper report layout it is not allowing me to select more than one value. but in HTML it is allowing to select multiple values but at the server end (After Parameter Form Trigger) it is giving a single value not multiple values.
    In PL/SQL when i checking the length of country_id i m getting it as one.
    Here is my SQL code
    srw.message(10, LENGTH(:country_id_1));
    :cond_1 := 'where country_id = '''|| :country_id_1 ||'''';
    This is passing the condition properly to SQL but only with single value but i want to pass multiple values
    I am struck in this+_
    WHERE CONTRY_COLUMN IN ('USA','UAE') -- This variable you have to pass from you form...
    Here as you said you gave multiple selection in your parameter form to generate report. So before generation report just prepare variable like this as it is bold above.
    and pass parameter through your runtime form to the report as you pass the normal parameter...liket this i gave you example...
    ADD_PARAMETER(PARAMETER_LIST_NAME,'P_CONT_PARAM',TEXT_PARAMETER,vString);
    Sorry for troubling you for a small thing but please help me to solve this issue.
    Thanks Again............
    Asgar.

  • Passing multiple values for a single field in URL to call sap Transaction

    Hi All,
    I need to pass multiple values for a single field to SAP transaction .
    means if i have say a field "Date" which can contain more than one value, <b>but its not a range which has two fields</b> . How is it possible.
    Let me know pls.
    Regards,
    Sirisha.R.S.

    Hi Satyajit,
    I need to call a transaction with multiple values which gives me the report based on those values.
    So I need to pass multiple values for a single parameter.
    I hope u got it.
    Regards,
    Sirisha.R.S.

  • 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.

  • How can i pass multiple values by a single variable to EXECUTE IMMEDIATE

    Hi All,
    I want to pass multiple values for where condition for execute immediate. Something Like this:-
    bold
    Declare
    v_cond varchar(1000);
    Begin
    v_cond := '''INR','USD'''; --(OPTION 1)
    v_cond := 'INR,USD'; --(OPTION 2)
    EXECUTE IMMEDIATE 'Delete from table where colm in (:v_cond)' using v_cond;
    END;
    bold
    I am using this into a procedure
    Now option 1 gives an error ie a syntax error (; expected or something like that)(I am sorry, i can't tell the exact error here as i am not in the office right now)
    and option 2 makes the procedure execute but obviously doesn't delete the records, as it takes the whole as one.
    Please Help
    Regards
    Neeraj Bansal

    See the links containing examples under
    *7. List of values in an IN clause?*
    SQL and PL/SQL FAQ
    from the SQL and PL/SQL FAQ.

Maybe you are looking for

  • Macbook Pro I get a light for a few seconds then a blinking light, then nothing, no start up, nothing.

    I can't restart my Macbook Pro after putting it to sleep.  I now get a blinking light, then nothing.  The computer will not start up, even after doing what is recommended in the mannual.  Has anyone else had this problem?  Were you able to solve it? 

  • Flash issues - works in one account, not in another.

    Need help with any ideas on solving this issue. I recently installed the latest official release of Flash Player 8. (8,0,24,0) Then for some reason some sites doesn't display Flash content properly in Safari. My homepage for example (http://www.swedi

  • Different Exchange Rate between Daily Transactions and Tax Transactions

    Hi All, I would like to ask abount define Exchange Rate for tax calculation. I set our standard exchange rates (For Daily Transactions) by using exchange rate type 'M'. But I want to calculate the tax element using exchange rate type 'T'. It is becau

  • Delay in opening of a Dashboard in SAP B1

    Hi experts, we have developed a dashboard in Xcelsius, then through cockpit we transport it into SAP business one environment but we are facing the following issue. for instance if we run the Dashboard in Xcelsius with live data it take around let sa

  • Is the MacBook Pro 13in a good for a main computer

    I'm in high school and looking into getting a Mac for the first time. I have a of desktop but want a laptop now. I use it for web browsing, YouTube, watching movies, playing games (minecraft), checking emails/social networks and stuff like that. I wo