How to pass where condition to report for condition

hello people ,
i want to pass where condition for the report statement .
for example ,
select ename from emp
i want to pass parameter carry <where deptno=40>
thanks

Good Morning oracleuser,
If we understood correctly, Bind references (or bind variables) should use this issue.
a>select ename from emp where deptno= :Dept_Number
If you have any more questions, please post it.
Otherwise:
Mark Helpful or Answer accordingly.

Similar Messages

  • How to pass parameter to a report for Operator 'LIKE'

    I need to pass a parameter to a report for "LIKE" operator. the parameter for "equal to or is in" operator is 'eq':
    'https://secure-ausomxfts.crmondemand.com/OnDemand/user/analytics/saw.dll?Go&Path=/shared/Company_AFTA-D78SR_Shared_Folder/Work Order Asset Lookup&Options=r&Action=Navigate&P0=2&P1=eq&P2=Account.TEXT_61&P3=&p4=
    What would 'p1' value for 'LIKE' operator?
    Thanks

    Hi, Hope the below helps
    neq - Not equal to or not in
    lt - Less than
    gt - Greater than
    ge - Greater than or equal to
    le - Less than or equal to
    bwith - Begins with
    ewith - Ends with
    cany - Contains any (of the values in &P3)
    call - Contains all (of the values in &P3)
    like - Is like (Type %25 rather than the % wildcard)
    top - In the top n (&P3 contains 1+n, where n is the number of top items)
    bottom - In the bottom n (&P3 contains 1+n, where n is the number of bottom
    items)
    bet - Between (&P3 must have two values)
    null - Is null (&P3 must be 0 or omitted)
    nnul - Is not null (&P3 must be 0 or omitted)
    Venky CRMIT

  • How to get sum based on passed (where condition) value

    Hi all,
    I am having table with empno and jobtitlehours as fields. For each employee, 3 types of jobtitlehours are there. For example, for empno1, he has
    consultant(30 hours), programmer(27 hours), Projectleader(40 hours).
    I want to sum the the jobtitlehours. I am passing employee number as parameter to procedure, which will return the sum of jobtitlehours for that
    employee number.
    How to solve this. As for as i know, we cannot pass WHERE condition with GROUP BY clause.
    Thanks in advance,
    Pal

    It is always helpful to provide the following:
    1. Oracle version (SELECT * FROM V$VERSION)
    2. Sample data in the form of CREATE / INSERT statements.
    3. Expected output
    4. Explanation of expected output (A.K.A. "business logic")
    5. Use \ tags for #2 and #3. See FAQ (Link on top right side) for details.
    Are you looking for something like this?SELECT SUM(consultant + programmer + projectleader)
    FROM emp_x
    WHERE empno = :p_empno

  • How to pass more than one value for one column in procedure

    hi
    select id, name from col_tab where dept_name in ('ECE','CIVIL');
    when i was running this it is working well.
    CREATE OR REPLACE PACKAGE pack_str
    AS
    TYPE type_refcur IS REF CURSOR;
    PROCEDURE str(char_in VARCHAR2,ans OUT type_refcur);
    END pack_str;
    CREATE OR REPLACE PACKAGE BODY pack_str
    AS
    PROCEDURE str(char_in VARCHAR2,ans OUT type_refcur)
    IS
    BEGIN
    OPEN ans FOR
    select id,name from col_tab where dept_name in char_in ;
    END str;
    END pack_str;
    the package was created.
    my doubt is
    1.how to pass more than one value for char_in (e.g ('ECE','CIVIL'))
    2. when i was storing the value in string like val = 'ECE,CIVIL' ,
    how to get the id,name for ECE and CIVIL.
    plz help me

    Hi Rebekh ,
    I am recreating your packages for the desired output.
    CREATE OR REPLACE PACKAGE pack_str
    AS
         TYPE type_refcur IS REF CURSOR;
         PROCEDURE str(char_in VARCHAR2,ans OUT type_refcur);
    END pack_str;
    CREATE OR REPLACE PACKAGE BODY pack_str
    AS
         PROCEDURE str(char_in VARCHAR2,ans OUT type_refcur)
         IS
              lv_t varchar2(200);
         BEGIN
              lv_t := REPLACE(char_in,',',''',''');
              lv_t := 'select id,name from col_tab where dept_name in (''' || lv_t || ''')' ;
              OPEN ans FOR lv_t;
         END str;
    END pack_str;
    Note:-
    Input Parameter char_in is a comma seperated value for dept_name
    -Debamalya

  • How to pass page parameter to report portlet ?

    Portal: 9.0.4
    RDBMS: 9.0.1.5.0
    OS: Windows
    REF: How to pass page parameter to report portlet ?
    Hi,
    I create a Oracle Report as a Portlet in Portal (create Report Definition File Access and check on the option "Publish As Portlet" in the on the last step). My report has an "Additional User Parameter" and I has let it "Visible to user".
    When I put this portlet in my Portal page, I can see this parameter in the property/parameters of this page. However I cannot transfer my page parameter to this portlet parameter. Other portlets in this page (non-Oracle-Report portlets) are working fine with my page parameter.
    Please advice.

    I want to make sure we are talking about the same thing:
    After you add the portlet to the page, you go to the page properties, then the parameters tab, then there is a section at the bottom called "Portlet Parameter Values" where you can click and expand your portlet to see your portlet parameters.
    Is it here where your parameters just don't show up?
    If it is, try the following:
    - Add the portlet to another page and see if it still behaves the same.
    - Mark the parameters in the portlet as being non-public, re-generate portlet (on manage tab), then mark them as being public, re-generate and then try the above again (add to another page).

  • How to pass IN parameter as BOOLEAN for concurrent program in Apps(Environ)

    hi all
    i am using a standard package procedure,where in which i need to pass some parameters to a procedure,
    some of the parameters there are BOOLEAN type ,can anybody help me to know , How to pass IN parameter as BOOLEAN for concurrent program in Apps(Environ)

    Already answered this on the SQL forum (How to give IN parameter as BOOLEAN in a concurrent program.

  • How can I activate drill down report for planned line items please urgent?

    Hi Everyone,
    Please suggest me how can i activate drill down report for planned line items in internal orders. S_ALR_87012993. Please suggest me, I'll award full points. I am unable to do it in client system, which has already line items. I tried in my sys with new config it is working.
    Kind regards
    Arvey.

    Hi
    It is based on the reports attached in the Report Group - TCODE: GR53
    In the Report Group screen
    Press CONFIGURE – This is to attach any Drill Down reports.
    Press the “Insert Line” icon
    As is the screen may be used to insert a Report Writer report group. To add an ABAP, press “other report type”
    Double click on “ABAP Reports”
    Enter the name of the ABAP and ENTER
    <b>RCOPCA08                       Profit Center: Plan Line Items</b>
    VVR

  • How do I print a contact report for a select group?

    How do I print a contact report for a select group?

    You should be able to select the group instead of all contacts. Older article.
    Contacts – Print Contact Information

  • How do I switch on delivery reports for a Nokia N8...

    Hi There
    I'm probably being a bit stupid here, but I can't find anything in the N8 online manual! How do you switch on delivery reports for when you send text messages, to see if someone has A) recieved your text, and if possible B) read it!
    Thanks for your help
    Solved!
    Go to Solution.

    Delivery reports are a network feature so it's not surprising that Nokia could not help you with them.
    If they stay pending then it's likely that you are on a network that doesn't support them or the service isn't enabled on your account (for example you are on a network that charges for delivery reports).
    If your network does not support them all you can do is disable the feature and delete the pending reports. If deleivery reports are essential to you then you'll need to switch to a network that does support them.

  • How to pass the condition vallues in bapi BAPI_PO_CREATE1 for items as well

    HI,
    where to pass the condition value table in bapi BAPI_PO_CREATE1 item level as well as header level
    Like Frieght charges,discounts, basic price ,VAT,CST etc.
    Is there any BAPI for GR tcode MIGO.
    Pl send along with simple examples .
    Your answeres will be rewarded.

    Pass the condition value to the following parameters.
      POCONDHEADER                 =
      POCONDHEADERX                =
      POCOND                       =
      POCONDX                      =
    For GR u case use the following BAPI.
    GMCODE Table T158G - 01 - MB01 - Goods Receipts for Purchase Order
                         02 - MB31 - Goods Receipts for Prod Order
                         03 - MB1A - Goods Issue
                         04 - MB1B - Transfer Posting
                         05 - MB1C - Enter Other Goods Receipt
                         06 - MB11
    Domain: KZBEW - Movement Indicator
         Goods movement w/o reference
    B - Goods movement for purchase order
    F - Goods movement for production order
    L - Goods movement for delivery note
    K - Goods movement for kanban requirement (WM - internal only)
    O - Subsequent adjustment of "material-provided" consumption
    W - Subsequent adjustment of proportion/product unit material
             call function 'BAPI_GOODSMVT_CREATE'
               exporting
                   goodsmvt_header             = gmhead
                   goodsmvt_code               = gmcode
                 *   TESTRUN                     = ' '
              IMPORTING
                  goodsmvt_headret            = mthead
             *   MATERIALDOCUMENT            =
      MATDOCUMENTYEAR             =
               tables
                 goodsmvt_item               = itab
      GOODSMVT_SERIALNUMBER       =
                return                      = errmsg.

  • Please help me on how to pass date condition Dynamically.

    Hi Experts,
    I have the following control table.
    ID S_OWNER  SOURCE_TABLE     A_OWNER    ARC_TABLE             CONDITION_COLUMN     PERIOD_VALUE   PERIOD_UNIT
    1    wedb     Auction_table    wedb     Arc_Auction_table     Auction_date            15               Days
    1    wedb     Sales_table      wedb     ArcSales_table             Sales_date            180              Days
    1    hr       Accounts_table   hr       Arc_Accounts_table     Account_date             2             Years
    2    concor   Concur_table     con      Arc_Concur_table        Last_update_date        4               MonthsLike this 1000 entries are there in the control_table.
    I want to pass all the columns from my control table dynamically.
    I am able to pass all the columns dynamically,except the PERIOD_VALUE.
    I have stucked up how to implement this condition.
    My aim is to get the data which is <= sysdate-PERIOD_VALUES based on PERIOD_UNIT.
    For Example:
    For Auction_date column I want to get the data which 15 days old.
    For Sales_date column I want to get the data which 180 days old.
    For Account_date column I want to get the data which 2 yers old.
    For Last_update_date column I want to get the data which 4 months old.
    The conditions something like this.
    condition_column<=(sysdate-15 days)
    condition_column<=(sysdate-180 days)
    condition_column<=(sysdate-2 years)
    condition_column<=(sysdate-4 months)This is my procedure.
    CREATE OR REPLACE PROCEDURE WEDB.procedure_control(
       P_ID IN NUMBER)
    IS
       CURSOR C
       IS
            SELECT ID,S_OWNER,SOURCE_TABLE,A_OWNER,ARC_TABLE,CONDITION_COLUMN,PERIOD_VALUE,PERIOD_UNIT
              FROM wedb.CONTROL
             WHERE ID = p_id
          ORDER BY ID, SOURCE_TABLE;
          rec C%ROWTYPE;
    BEGIN
       FOR I IN C
       LOOP
        EXECUTE IMMEDIATE
                   'INSERT INTO '
                || rec.A_OWNER
                || '.'
                || rec.ARC_TABLE
                || '(SELECT * FROM '
                || rec.S_OWNER
                || '.'
                || rec.SOURCE_TABLE
                || ' WHERE '
                || rec.CONDITION_COLUMN
                || '<=I want to pass dynamic condition'
                || ')';
             EXECUTE IMMEDIATE
                   'DELETE FROM '
                || rec.S_OWNER
                || '.'
                || rec.SOURCE_TABLE
                || ' WHERE '
                || rec.CONDITION_COLUMN
                || '<= I want to pass dynamic condition'
                || '';
          COMMIT;
       END LOOP;
    EXCEPTION
       WHEN OTHERS
       THEN
          ROLLBACK;
          DBMS_OUTPUT.PUT_LINE (
             'An error was encountered - ' || SQLCODE || ' -ERROR- ' || SQLERRM);
    END procedure_control;
    /Please help me how to implement this.
    Thanks in advance.

    I have added ||')' paranthasis for each CASE stament to avoiid the error.
    Now I am getting the below error
    ORA-00903: invalid table name
    ORA-06512: at line 42
    I am using below code.
    Please find my below code.
    DECLARE
       stmt   LONG;
       CURSOR C
       IS
            SELECT GROUP_ID,
                   SOURCE_TABLE_OWNER_NAME,
                   SOURCE_TABLE_NAME,
                   ARCHIVE_TABLE_OWNER_NAME,
                   ARCHIVE_TABLE_NAME,
                   CONDITION_COLUMN_NAME,
                   RETENTION_VALUE,
                   RETENTION_UNIT,
                   FLAG
              FROM APPS_GLOBAL.control_table1
             WHERE GROUP_ID = 1
          ORDER BY GROUP_ID, source_table_name;
       rec    c%ROWTYPE;
    BEGIN
       FOR rec IN C
       LOOP
    stmt := 'INSERT INTO '
             || rec.ARCHIVE_TABLE_OWNER_NAME
             || '.'
             || rec.ARCHIVE_TABLE_NAME
             || '(SELECT * FROM '
             || rec.SOURCE_TABLE_OWNER_NAME
             || '.'
             || rec.SOURCE_TABLE_NAME
             || ' WHERE '
             || rec.CONDITION_COLUMN_NAME
             || '<=';
    CASE LOWER (rec.RETENTION_UNIT)
        WHEN 'd'
        THEN
         stmt:= stmt||'sysdate -'||rec.RETENTION_VALUE||')';
         ELSE
         stmt := stmt||'add_months(sysdate,'|| rec.RETENTION_VALUE||'*-12)'||')';
    END CASE;
    execute immediate stmt;
       END LOOP;
       COMMIT;
    END;
    /The values for the field RETENTION_UNIT in my control_table1 are D and Y.
    Before making the date comparison condition it was working fine.
    If I made it as dynamic why I am getting the error.
    If I use condition as below it's working fine.
    EXECUTE IMMEDIATE
                   'INSERT INTO '
                || I.ARCHIVE_TABLE_OWNER_NAME
                || '.'
                || I.ARCHIVE_TABLE_NAME
                || '(SELECT * FROM '
                || I.SOURCE_TABLE_OWNER_NAME
                || '.'
                || I.SOURCE_TABLE_NAME
                || ' WHERE '
                || I.CONDITION_COLUMN_NAME
                || '<=ADD_MONTHS(SYSDATE,-24)'
                || ')';Please help me .
    Thanks.

  • How to pass High Level Indicator (HLI) for Components?

    Purchase Order has to pass from one system 1 (SAP) to another system 2 (SAP) and to create Sales Order in the  system 2 automatically through ALE IDOCs.
    How to pass HLI from one system to another using IDOCS?  Which segments need be passed and how?  help me with this. Thank you.

    Hello Cnu,
    Welcome to SDN.
    High Level Design gives you an overview of what you are going to do to get the desired result (without going deep technical config. details)
    Eg: What interfaces are you going to use ? Where you are going to load the data(including staging) ? How the reports are delivered ? How the Application Support is provided ? etc..
    For a generic description of High Level Design see this http://en.wikipedia.org/wiki/High-level_design
    by the way, who is your client in Aus. I am from Syd.
    Cheers
    Praveen

  • How to activate a different sub-report for each row in the data set as main report page breaks on each row of data in the main dataset

    I am going to try asking this same question a different way as I have yet to find a working solution to my problem.  I have a main report and then 8 sub reports.  My main report has one data set and returns one row of data per account number.  One
    of the fields in the main data set is called AccountProf.  My main report displays one page per Account number and then calls a different sub report based on that account's AccountProf value.  The sub reports take in the account number as a parameter
    and get multiple rows of data to display that accounts usage formatted differntly for each AccountProf (hence the 8 different sub report.  
    So far I can figure out how to do everything but setting the visibility property of each sub-reports when I have multiple accounts.  If I use the following expression for the visibility property on each sub report, it makes all the applicable sub report
    for all the accounts requested visible at once:
    =IIF(Fields!AccountProf.Value= "USE_PLUS_DMD",False,True)
    *The value in bold USE_PLUS_DMD  is different for each sub report.
    Here is a look at what the main report look like:
    Here is the main reports data set:

    Hi JasonDWilson77,
    According to your description, there is a main report and 8 sub reports in the report, you want to set visibility of sub reports, if no value is passed to the parameter of sub report, the sub report will not be displayed. If that is the case, please refer
    to the following steps:
      1. Create a new parameter named NewAccountNumber, set its data type the same as @AccountNumber, select Allow multiple values, set Visibility to be hidden, then set all available values to default values.
      2. Right-click the first sub report and open Subreport Properties dialog box, click Parameters in left pane, set name to AccountNumber, then click (fx) button, type the expression like below:
    =Parameters! NewAccountNumber(0)
      3. Click Visibility in left pane, select Show or hide based on an expression, then click (fx) button and type the expression like below:
    =IIF(InStr(Join(Parameters! AccountNumber.Value), Parameters!NewAccountNumber.Value(0))>0 , false,true)
      4. Modify parameter of other sub reports like step2.
      5. Set visibility of other sub reports like step3.
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.
    Wendy Fu
    TechNet Community Support

  • How to pass the ObjectType as input for search Criteria

    Hi All,
    I have search function that takes the input parameters and returns all the matching rows. this is straight forward only. My problem is having multiple types as a input parameter. that is the reason i am not able to pass the input value for these types.
    My Input Type table looks like this.
    CREATE OR REPLACE TYPE T_T_PARTY_REQUEST_CRITERIA
    AS TABLE OF T_O_PARTY_REQUEST_CRITERIA;
    CREATE OR REPLACE TYPE T_O_PARTY_REQUEST_CRITERIA
    AS OBJECT
    SYSTEM_IDENTIFER VARCHAR2(50),
    PROCESS_TYPE VARCHAR2(50),
    UPDATED_BY VARCHAR2(50),
    STATUS VARCHAR2(50),
    CHILD_REQUEST_INDICATOR VARCHAR2(25),
    TRACKING_REQUEST_INDICATOR VARCHAR2(25),
    REQUEST_TYPE VARCHAR2(50),
    REQUEST_TYPE_CLASS_NAME VARCHAR2(50),
    PARTY_KEY_IDENTIFIER T_T_PARTY_KEY_IDENTIFIER,
    ADDTN_IDENTIFIER_INFO T_T_ADDTN_IDENTIFIER_INFO
    Last two inputs are type again.my question here is how to pass the values for these two T_T_PARTY_KEY_IDENTIFIER and T_T_ADDTN_IDENTIFIER_INFO. I have defined the the last two types following.
    CREATE OR REPLACE TYPE T_T_PARTY_KEY_IDENTIFIER
    AS TABLE OF T_O_PARTY_KEY_IDENTIFIER;
    CREATE OR REPLACE TYPE T_T_ADDTN_IDENTIFIER_INFO
    AS TABLE OF T_O_ADDTN_IDENTIFIER_INFO;
    CREATE OR REPLACE TYPE T_T_ADDTN_IDENTIFIER_VALUES
    AS TABLE OF T_O_ADDTN_IDENTIFIER_VALUES;
    CREATE OR REPLACE TYPE T_O_PARTY_KEY_IDENTIFIER
    AS OBJECT
    PARTY_KEY_TYP_NM VARCHAR2(50),
    PARTY_KEY_VALUE VARCHAR2(50)
    CREATE OR REPLACE TYPE T_O_ADDTN_IDENTIFIER_INFO
    AS OBJECT
    ADDTN_INFO_KEY_TYP_NM VARCHAR2(50),
         ADDTN_IDENTIFIER_VALUES T_T_ADDTN_IDENTIFIER_VALUES
    CREATE OR REPLACE TYPE T_O_ADDTN_IDENTIFIER_VALUES
    AS OBJECT
    ADDTN_RQST_VALUE VARCHAR2(50),     
    ADDTN_RQST_VAL_DT TIMESTAMP(6),
    ADDTN_RQST_VAL_NUM NUMBER(19, 2)
    I have pasted the query here from my function. when i pass the null as part of input for these 2 types my query is working. otherwise it is saying invalid Identifier.First I tried with first Type.
    I am passing the value as
    (PRKYTP.PRTY_KEY_TYP_NM = ITTPRC.PARTY_KEY_IDENTIFIER.PARTY_KEY_TYP_NM OR ITTPRC.PARTY_KEY_IDENTIFIER.PARTY_KEY_TYP_NM = 'ALL' OR ITTPRC.PARTY_KEY_IDENTIFIER.PARTY_KEY_TYP_NM IS NULL);
    Error is Error(34,147): PL/SQL: ORA-00904: "ITTPRC"."PARTY_KEY_IDENTIFIER"."PARTY_KEY_TYP_NM": invalid identifier
    SELECT DISTINCT T_O_PARTY_REQUEST_IDENTIFIER(PR.PRTY_RQST_ID) BULK COLLECT INTO T_T_P_R_CRITERIA
    FROM TABLE(CAST(I_T_T_PARTY_REQUEST_CRITERIA AS T_T_PARTY_REQUEST_CRITERIA)) ITTPRC,
    PRTY_RQST PR
    JOIN BUSN_APPLC BIAP ON BIAP.BUSN_APPLC_ID = PR.BUSN_APPLC_ID
    JOIN INTN_STATS INSTS ON INSTS.INTN_STATS_ID = PR.INTN_STATS_ID
    JOIN INTN_PROCES_TYP INTPTY ON INTPTY.INTN_PROCES_TYP_ID = PR.INTN_PROCES_TYP_ID
    LEFT JOIN RQST_TYP RQSTYP ON RQSTYP.RQST_TYP_ID = PR.RQST_TYP_ID
    JOIN ADDTN_RQST_INFO ADTINF ON PR.PRTY_RQST_ID = ADTINF.PRTY_RQST_ID
    JOIN ADDTN_INFO_KEY_TYP ADDKEY ON ADTINF.ADDTN_INFO_KEY_TYP_ID = ADDKEY.ADDTN_INFO_KEY_TYP_ID
    JOIN PRTY_KEY PRTKEY ON PR.PRTY_RQST_ID = PRTKEY.PRTY_RQST_ID
    JOIN PRTY_KEY_TYP PRKYTP ON PRTKEY.PRTY_KEY_TYP_ID = PRKYTP.PRTY_KEY_TYP_ID
    WHERE (BIAP.BUSN_APPLC_NM = ITTPRC.SYSTEM_IDENTIFER OR ITTPRC.SYSTEM_IDENTIFER = 'ALL' OR ITTPRC.SYSTEM_IDENTIFER IS NULL)
    AND (INTPTY.INTN_PROCES_TYP_NM = ITTPRC.PROCESS_TYPE OR ITTPRC.PROCESS_TYPE = 'ALL' OR ITTPRC.PROCESS_TYPE IS NULL)
    AND (PR.UPDT_BY = ITTPRC.UPDATED_BY OR ITTPRC.UPDATED_BY = 'ALL' OR ITTPRC.UPDATED_BY IS NULL)
    AND (INSTS.INTN_STATS_NM = ITTPRC.STATUS OR ITTPRC.STATUS = 'ALL' OR ITTPRC.STATUS IS NULL)
    AND (PR.CHLD_RQST_IND = ITTPRC.CHILD_REQUEST_INDICATOR OR ITTPRC.CHILD_REQUEST_INDICATOR = 'ALL' OR ITTPRC.CHILD_REQUEST_INDICATOR IS NULL)
    AND (PR.TRACK_RQST_IND = ITTPRC.TRACKING_REQUEST_INDICATOR OR ITTPRC.TRACKING_REQUEST_INDICATOR = 'ALL' OR ITTPRC.TRACKING_REQUEST_INDICATOR IS NULL)
    AND (RQSTYP.RQST_TYP_NM = ITTPRC.REQUEST_TYPE OR ITTPRC.REQUEST_TYPE = 'ALL' OR ITTPRC.REQUEST_TYPE IS NULL)
    AND (RQSTYP.RQST_CLASS_NM = ITTPRC.REQUEST_TYPE_CLASS_NAME OR ITTPRC.REQUEST_TYPE_CLASS_NAME = 'ALL' OR ITTPRC.REQUEST_TYPE_CLASS_NAME IS NULL)
    -- AND (ITTPRC.PARTY_KEY_IDENTIFIER IS NULL);
    -- AND (ITTPRC.ADDTN_IDENTIFIER_INFO IS NULL);
    AND (PRKYTP.PRTY_KEY_TYP_NM = ITTPRC.PARTY_KEY_IDENTIFIER.PARTY_KEY_TYP_NM OR ITTPRC.PARTY_KEY_IDENTIFIER.PARTY_KEY_TYP_NM = 'ALL' OR ITTPRC.PARTY_KEY_IDENTIFIER.PARTY_KEY_TYP_NM IS NULL);
    can some one tell is this approach is correct. if not suggest me.

    I am passing the value as
    (PRKYTP.PRTY_KEY_TYP_NM = ITTPRC.PARTY_KEY_IDENTIFIER.PARTY_KEY_TYP_NM OR Here PART_KEY_IDENTIFIER is a Nested table. So you cant join it like that.
    Try like this
    prkytp.prty_key_typ_nm in (select party_key_typ_nm from table(ittprc.party_key_identifier)) orHere is a example based on EMP table.
    I have created following nested table.
    SQL> create or replace type my_emp_list as table of number(10)
      2  /
    Type created.
    SQL> create or replace type my_dept_obj as object(deptno number(10), emp_list my_emp_list)
      2  /
    Type created.
    SQL> create or replace type my_dept_tbl as table of my_dept_obj
      2  /
    Type created.I am going to use the below nested table data in a query to get value from emp table
    my_dept_tbl
       my_dept_obj
         10, my_emp_list(1,2,3,4,5)
       my_dept_obj
         20, my_emp_list(6,7,8,9)
    )The query would be like this
    SQL> select e.*
      2    from emp e
      3    join table
      4         (
      5           my_dept_tbl
      6           (
      7             my_dept_obj
      8             (
      9               10, my_emp_list(7839,7782)
    10             ),
    11             my_dept_obj
    12             (
    13               20, my_emp_list(7566,7369)
    14             )
    15           )
    16         ) t
    17      on e.deptno = t.deptno
    18     and e.empno in (select column_value from table(t.emp_list))
    19  /
         EMPNO ENAME  JOB              MGR HIREDATE         SAL        COM     DEPTNO
          7839 KING   PRESIDENT            17-NOV-81       5000          0         10
          7782 CLARK  MANAGER         7839 09-JUN-81       2450          0         10
          7566 JONES  MANAGER         7839 02-APR-81       2975          0         20
          7369 SMITH  CLERK           7902 02-APR-81       2975          0         20
    SQL>

  • How to set different default interactive reports for different user groups?

    I'm probably overlooking an obvious solution, but how do I set different default interactive report for different user groups?
    For the same interactive report, I want one set of users to see a default where the default filter is based on column X. However, another group of users doesn't have authorization to see that column so I need to set the default filter to something else for them.
    Thanks

    You can set a filter on a report in a URL - would that help? I think with apex 4.x you can also link to a saved default report or alternative report...

Maybe you are looking for

  • How long does it take to be an "official iPhone Developer?"

    I decided that I wanted to be a iPhone developer a couple of days after the March announcement. So I filled out the contact information, and of course got the reply that the beta program was full. Fast forward to July 14th, when I got a email from th

  • How do I fix the signature on the bottom of my letter? When I converted from pdf to Word it messed it up?

    I cannot figure out how to fix the signature on my document....I converted the doc from pdf to Word and now the signature is all messed up!

  • Instance health check failing with errors

    Hi One of the instance showing " Agent connection is Instance is unavailable". How ever it is collecting and showing instance performance when I go to Performance pane. When I check in emagent.trc file it is saying either agent/instance are running w

  • How to wrap a Web Service around an EJB ?

    Hi all! I need to generate a WSDL file for my EJB because I need to expose them as service on the Enterprise Service Bus. Does anybody know how to wrap a Web Service on an EJB so that I have a WSDL file for the EJB ? Hoep I was clear Thanks Francesco

  • Source

    For visual accessibility I use white on black high contrast theme in Win 7 with iTunes 10 v 4.0.0. So my iTunes screen normally has whites text on a black background which makes the software usable for me. Yesterday the first column, Sources and Play