How to pass a sequence by 'using' for execute immediate

how i can pass a sequence.nxlval as a parameter through using , here is my code looks like
sql_string is -> insert into some_tab (col1,col2, ....) (select col1,:passed_seq,......) where .... (i want to insert sequence values for col2)
and i am calling this as
passed_seq := 'seq_'||some_dynamic_num||'.nextval' ( in my db there will be sequences with the formed string like seq_10.nextval)
EXECUTE IMMEDIATE sql_string using passes_seq;
if i am doing like this i am getting
Error : -1722:ORA-01722: invalid number seq_10.nextval
Edited by: DIVI on Jan 8, 2013 7:40 AM

Hi,
I hope you have created sequence as below
SQL>
SQL> CREATE SEQUENCE seq
  2  MINVALUE 1
  3  START WITH     1
  4  INCREMENT BY   1
  5  NOCACHE
  6  NOCYCLE;
Sequence created.
SQL>
SQL> SELECT * FROM TEST1;
     EMPNO EMPTYPE              EMP_ADDRESS              SALARY     DEPTNO
         1 HR                   MUMBAI                    10000         10
         2 ADMIN                THANE                      6000         20
SQL>
SQL> INSERT INTO TEST1 (EMPNO)
  2  VALUES(SEQ.NEXTVAL);
1 row created.
SQL> COMMIT;
Commit complete.
SQL> SELECT * fROM TEST1;
     EMPNO EMPTYPE              EMP_ADDRESS              SALARY     DEPTNO
         1 HR                   MUMBAI                    10000         10
         2 ADMIN                THANE                      6000         20
         1
SQL>Now if you need to add different numbe in differenct condition then create multiple sequence and use them accounding.

Similar Messages

  • 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 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 lock a row by using 'for update'?

    how to lock a row by using 'for update'?

    Hi,
    SELECT * FROM <TABLE> WHERE <PK_COLUMN>=<VALUE> FOR UPDATE NOWAITThis will help in locking the row with the primary key value that you provide
    cheers
    VT

  • Which Access sequence will use for sales tax condition type for TAXINN

    hi.,
    which Access sequence will use for sales tax condition type for TAXINN procedure.pls give one example (Access sequence) and give fields.
    Because i couldnot create the condition record,the system not accepted for tax indicator.
    Regards.,
    lakshmanan

    We also got the same problem with our client and escalated it to SAP.
    they advised to use the access sequence <b>JIND</b> which consists of condition tables in the order given below
    <b><u><i>Step    Condn Table</i></u> 
    10            354
    20            355
    30            40</b>
    Attach this to your condition types.
    Rewards if it helps.
    Regards,
    Anbu

  • How can a structured frame be used for translating books to foreign languages?

    I keep reading about how a structured approach can improve the translation process (from english to foreign languages), however, i can't seem to find specifics about a particular method or tutorials about how to go about it (specifically). My question is, how (specifically) can structured framemaker be used for translation from english to foreign languages?  Links to tutorials on this issue would be greatly appreciated. Thank you.

    @Ian Proudfood
    A well organized XML based project will definitely save translation costs. There are many advantages to the XML approach to translation management including:
    Almost zero DTP rework costs - make the EDD/Template do all of the work!
    Translation is application version independent - no need to wait for the Translation Memory/CMS system vendor to support the latest version of FrameMaker.
    »... a well organized XML based project will definitively save translation costs.« – I have read sentences like this from a lot of consultants. And I have consulted/supported a lot of customers after those consultants left the stage. I always hear more or less the same from all of those clients. No question, I hear a lot of arguments for working with XML in tech doc, most of the arguments you mention included. Most of the tech writers are happy with the new structured FrameMaker and enjoy writing. And, cross your heart: Finally there's no alternative to XML in the long term if you take your tech writer job seriously. No question – working with pure XML in a professional information architecture in a structured, guiding editing environment like FrameMaker is cool, fun, faster and produces more open, more accessible, more reusable, more reliable, more consistent, in a nutshell: more valuable data.
    But what I have never ever heard, and I'm talking about several hundred companies, is: We save more money on translation now. You might imagine that this is surprising me since many years. This is why I always ask: Did you save any costs in your translation projects? Surprisingly the answer is always: No. Actually some – no, wait: many – tell me, that their translation agency even charges more now, because they have a lot of new costs:
    Costs, to customize their translation memory system to the clients custom xml,
    costs to follow badly or not documented changes in the client's xml structure (DTD/Schema changes) in the TMS,
    costs because of more engineering work like 
    valididating xml in advance,
    fixing invalid xml exports,
    fixing invalid translations due to – sometimes massively – increased amount of tag errors because of tagging differences of "old" (legacy mif) and "new" (xml) tags,
    dealing with just too big XML files that need to be carefully split, so that the TMS has a chance to read it, or alternatively:
    "glue" the ten-thousand xml "snippets" to more handy chunks,
    project managers and translators that need to do additional checks, validations, verifyings - and often not knowing what to do with those cryptic error messages, meaning additional support costs
    Of course, many if no all of these and many other problems I did not mention here can be solved. And many are not exactly system immanent problems but communication problems (like introducing or renaming elements/attributes but not documenting this and not communicating this to the translation service provider) or would apply to any system change (e.g. also when switching from Word to Frame). However, I do not know of any single translation company on this planet (and I know virtually thousands of them from countries all over the world) that reduced the price per word for just a single pence, just because the client switched over from Word/Quark/FrameMaker/InDesign/Whatever to XML.
    Just ask your translation service provider: Will you charge me less per word if I send you XML instead of MIF? I would really be surprised to hear a "yes". And frankly, if you have ever compared a professional FrameMaker document with the same document in xml format in a professional system like Trados: There is actually no difference that would justify any price difference. The text is the same, the amount of words identical, the number of tags is identical, it even looks identical in the translation system (I can post screenshots if you like). From the translation perspective there is no single reason why a translator should charge a single pence less.
    So, it's a modern myth, that switching to xml reduces translation costs. That might be true, if you come from a really medieval documentation szenario with MS Word or the like, with manual formatting without any styles and so on (I see tech docs every day where even the TOC is typed in manually!!!) and swith from there to a modern structured xml authoring in combination with other supporting tools like authoring memory / authoring assistance, controlled language, translation memory and terminology managent and control, snippet based content management and so on. That will increase the consistency and quality of your data, which will reduce translation costs in the long term. But the truth is: This has nothing to do with XML per se, but with professional writing and professional management.
    So, what's left in the money saving story? No more DTP in the target languages? I always hear, that with XML and FrameMaker you do not have to "format" the translated document. The truth is: If you have a professionally formatted (unstructured) document, you don't have to take care of it, too. Modern tools like Trados keep 100% of the formatting 100% correct in the translated document. If the underlying template is intelligent enough to take account of text amount changes due to longer translations, and if you don't have too many local formatting overrides, the DTP is actually zero and can be reduced to a few mintes/hours for "flying" of the document to check out for unexpeted problems wich can occure in both structured and unstructured documents.
    Just to give some numbers on this: We are processing every day technical documentations for a quite big company. A typical documentation from them is about 250 pages in unstructured FrameMaker 9 (source language is English). Until now they were resistent to all my XML pushing. The Documentation is based on a straight, simple template (with our help "reduced to the max") and there are no formatting overrides (a script automatically checks this). The post translation Quality Assurance effort is - depending on the target language - usually something between 1 to 4 hours – that's a few seconds per page for the languages where already a lot of past Quality Assurance Steps went back into the Translation Memories and up to a minute per page for more "problematic" languages).
    So, again: XML will not save you a single pence on translations. But it might help you to produce more open, more accessible, more reusable, more reliable, more consistent, in a nutshell: more valuable data. But if you already have properly set up (ustructured) FrameMaker Documents and already work with a professional translation memory system, you will be quite disappointed to learn, that the impressive money saving promises you recently saw on that great PowerPoint slides melt down to a few bucks over a couple of years.
    Kind regards,
    Stefan Gentz

  • How do I find out how much disc space I'm using for various items such as Mail, iPhoto, iTunes, documents, etc.

    how do I find out how much disc space I'm using for various items such as iPhoto, Mail, Apps, documents, etc ?  thanks

    Or you can download OmniDiskSweeper (free). It will list your disc usage in order of size and you can follow the paths to find individual files or applications.

  • How to find all the infotypes used for LSO?

    Folks,
    Can anyone help me on how to find the related infotypes used for LSO?
    Thank
    S

    Hi,
    In addition to puneet's information:
    Training and Event Mgmt  infotypes:
        Prices (Infotype 1021)
        Availability Indicators (Infotype 1023)
        Capacity (Infotype 1024)
        Depreciation Meter/Validity (Infotype 1025)
        Business Event Info (Infotype 1026)
        Site-Dependent Additional Info (Infotype 1027)
        Address (Infotype 1028)
        Business Event Type Info (Infotype 1029)
        Procedure (Infotype 1030)
        Mail Address (Infotype 1032)
        Name Format (Infotype 1034)
        Schedule (Infotype 1035)
        Costs (Infotype 1036)
        Billing/Allocation Info (Infotype 1037)
        Business Event Blocks (Infotype 1041)
        Schedule Model (Infotype 1042)
        Demand (Infotype 1060)
        Web Link (Infotype 1061)
        Knowledge Link (Infotype 1062)
        Business Event Group Info (Infotype 1063)
    Thanks,
    Anil.G

  • How much HD's can I use for my Xserve G5 RackMac3,1

    How much HD's can I use for my Xserve G5 RackMac3,1 and with ??? TB?
    Thanks

    Hi
    Not quite sure what you mean by "how much?" If you really mean 'how large' then Apple's Support Article might help?
    http://support.apple.com/kb/HT1219
    Failing that and if you browse this Forum, you'll find some people have had some success with 3rd-Party 1TB (and perhaps larger) SATA drives:
    https://discussions.apple.com/thread/2702491?tstart=120
    XServe G5 takes up to a maximum of 3 drives. You must use Apple's own Drive Modules. If you want to configure the internal drives as a RAID 5 (minimum of 3 drives required) you will need a compatible RAID Card installed.
    Your mileage as ever will vary.
    HTH?
    Tony

  • How can we recognize the time taking for executing any process chain

    Hi,
    I have one metachain which consists of several local process chain. It was executed successfully. So how can I find out total time for executing this meta chain.Is there any way to find out that this process execution time is lile some hours and some mins.

    ST13 trans description is Analysis & Service Tools Launch pad and is part of the ST-A/PI plugin.  See Note 69455 - Servicetools for Applications ST-A/PI (ST14, RTCCTOOL, ST12) aand talk to your Basis folks to find out if they can install it since it sounds like it is not installed at your site.
    Here's a list of functions the tool provides - only some are BW specific, so if you can not get ST13 authorization, see if you can at least run the pgm
    Analysis/Service Tools
    Name                     Title                                          
    RTCCTOOL              SAP Servicetools Update
    ST12                        Single transaction analysis
    SDCCVIEWER          SDCC: View data from ST-A/PI subroutines
    SOS_CUSTOMER_DATA                Customer Checks for Security Optimitation
    BATCH_JOB_ANALYSIS               Batch job analysis
    CMO_SYSTEM_MONITORING            CMO - System Monitoring
    ITSTRACEVIEW                     ITS trace viewer (SAPjulep) for EBP/CRM
    STAD_DATA_GET                    Select STAD data and put to download
    BPSTOOLS                         BW-BPS Performance Toolset
    BIIPTOOLS                        BI-IP Performance Toolset
    BW_QUERY_ACCESSES                BW: aggregate/InfoCube accesses of queries
    BW_QUERY_USAGE                   BW: query usage statistics
    BW-TOOLS                         BW Tools
    SEM_BCS_STATISTIC_ANALYSIS       SEM-BCS: Statistic Analysis
    BWQUAC_CUST                      BW Query Alert Collector Customizing
    TABLE_ANALYSIS                   Table Analysis Tools
    UPGRADE_TOOLS                    Tools for Upgrade
    MASS_MAN_MONITORING              Monitoring for Mass Data
    CUST_DMA_TAANA                   DVM: Settings for ST14 CA
    PROJBROWSER                      Service Software: Local project browser
    ANALYSISBROWSER                  Service Software: Analysis browser
    SDCC_DOWNLOAD_SIMULATION         SDCC download simulation for ST-A/PI collectors
    TEXTBROWSER                      Service Software: Short&Longtext browser
    SET_SDCC_PRODUCTIVE_CLIENT       Manually set analysis client for SDCC datacollection
    There were a few OSS Notes relating to ST03N dumping you might want to review to see if they need to be applied
    Nothing is ever as easy as it ought to be.

  • Unplanned Use Of EXECUTE IMMEDIATE

    Hi Gurus,
    I have joined a new project in my company. I have seen that there are lot of use of EXECUTE IMMEDIATE in the coding. But these use of EXECUTE IMMEDIATE is totally unnecessary. For Example
    INSERT INTO table_name SELECT column1,column2  FROM table_name2is written as
    EXECUTE IMMEDIATE 'INSERT INTO table_name SELECT column1,column2  FROM table_name2'May be
    SELECT 'X' INTO myvar FROM DUALis written as
    EXECUTE IMMEDIATE 'SELECT 'X' FROM DUAL' INTO myvarI have a serious allergy with this type of coding. But I need some good points and reference from authenticate source (Oracle Documentation/Articles/White paper etc) to convince others.
    So please post your valuable comments!.

    You can also argument that the dynamic version is a little slower. In fact this does not make any real difference performancewise. But still each little be may count. ;)
    Here is a test case:
    09:28:54 SQL> set time on
    09:28:55 SQL> set timing on
    09:28:57 SQL> declare
    09:28:58   2    myVar pls_integer;
    09:28:58   3  begin
    09:28:58   4     for i in 1..1000000 loop
    09:28:58   5        execute immediate('select count(*) from dual') into myVar;
    09:28:58   6     end loop;
    09:28:58   7  end;
    09:28:58   8  /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:27.02
    09:29:25 SQL>
    09:29:25 SQL> declare
    09:29:25   2    myVar pls_integer;
    09:29:25   3  begin
    09:29:25   4     for i in 1..1000000 loop
    09:29:25   5        select count(*) into myVar from dual;
    09:29:25   6     end loop;
    09:29:25   7  end;
    09:29:25   8  /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:26.24
    09:29:51 SQL> As you can see the difference is marginal (3% faster). But still there is a slight difference.

  • Equivalent  for execute immediate command in maxdb

    hi all,
    like in oracle for executing the sql_query, we have execute immediate command.
    for e.g.. in oracle
    L_SQL ='SELECT * FROM EMP';
    EXECUTE IMMEDIATE L_SQL;
    what will be the command for execute immediate in MaxDB??
    like in MaxDB
    L_SQL = 'SELECT * FROM EMP';
    Now How can i execute the above l_sql variable in MaxDB.
    thanks, Bhupinder

    Hi Bhupinder,
    the following code snippet should do the job
    [code]
    CREATE DBPROC EXAMPLE
    AS
    VAR statement1 char(100);
    SET statement1 = 'SELECT * from DBA.DUAL';
    TRY
        EXECUTE statement1;
    CATCH IF $rc <> 100
         THEN STOP ($rc, 'unexpected error');
    [/code]
    Best regards,
    Marco

  • 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 pass characterstic variable value using button in sap wad

    Hello Gurus,
    I have one requirement in WAD 7.0.i have made one user input characterstic variable in Bex i.e on 0calmonth.Now i have passed the same variable in WAD drop down button.Now suppose based on the logic on that variable which i have made in bex is like when i select 04.2010 in drop down button it dispalys data for next three months.
    Now my user wants same thing to be displayed with the help of button as well. I need to make two buttons one for previous month and other for next month.I made two button using button group and passed that variable also but data is not changing.
    How to get the desired output using buttons.
    I want two buttons like this <<(previous) >>(next) and i want to pass that same variable which i passed in drop down button and when i press previous button it should display last month data and when i press next it should display next month data.
    How to achieve this in WAD with the help of buttons.Give me your useful suggestions.
    Hope my requirement is clear.
    Thanks in advance
    Regards,
    AL

    Need your valuable suggestions on this...

  • Simple Pass 2011 unable to use for fidelity.c​om website

    Hi,
    I have a DV6-6136NR with hp simple pass 2011 I am using firefox 8.0 with windows 7 x64 bit. I am able to use the simple pass on the firefox browser & successfully sign in on other websites including bank sites, however when I attempt to use it for www.fidelity.com, 401k.fidelity.com it gives an error. I can login manually and I have triple checked the correct user name and password are entered in simple pass but after swiping my finger it then says on the websites Error: The username or password you entered is not correct. Please try again. The fidelity site was a preset website in the simple pass I have even deleted and put in the different websites to get my information and manually I am successful upon signing in. I only get the error when using simple pass. Any suggestions on how to get the simple pass to work on the fidelity site so I can access it through fingerprint reader?
    This question was solved.
    View Solution.

    After diddling around awhile, I tried checking the, "remember me,' button and now she works. Don't know why other sites act differently. Your mileage may vary.

Maybe you are looking for

  • What is the setting for Siri to give audible turn by turn directions?

    Have figured out how to get turn by turn directions but they are not audible.  Keep missing turns while trying to read on phone.  Not the safest way to drive.

  • Flash Builder 4 Beta RDS issue

    I cannot connect to ColdFusion via RDS with my Flash Builder 4 beta 2. I have no issue connecting to CF via RDS in dreamweaver CS3. However whenever I try to connect to a CFC via "connect to DataService" and I get "Enter RDS password and user name"..

  • Internal number range( alphanumberic) will be incremented automatically

    Dear All, Will the internal number range (Alphanumberic)  of the material master get incremented automatically. say, the internal number range we set is AW0000001 to AW9999999. The number range should be incremented Kindly reply for the querry Thanks

  • Required attribute and cancel action

    How am I supposed to handle the following case (simplified): <h:inputText required="true" value="#{somebean.property}" /> <h:messages /> <h:commandButton type="submit" value="Cancel" action="cancel" /> The "cancel" action is configured in faces-confi

  • Fms on item master record

    hi, i want to get item location info from oitw, udf field and set it in oitm table to use in pld for stockinventory list i use this fms, but is not working SELECT u_bl_location from oitw where itemcode = $[$5.0.1] and whscode = '01' and autorefresh o