How to code: "Goto end if previous command not successful" in PL-SQL?

I want to proceed with all the remaining statements in a PL-SQL script only if a certain, previous command was executed sucessfully.
How can I code:
"Goto end if previous command execution not successful"
or even better:
"Goto tag "errorcase" if previous command execution not successful"
If a goto is not possible maybe an if clause is:
if (previous command execution not successful) (
Peter

user559463 wrote:
I though that every command writes its exit code into a central system variable like RETURNCODE or ERRORLEVEL.Not in most languages today. They use exceptions.
What do use return codes are external APIs that one call (as DLLs or shared objects) - such as OpenGL, MAPI, DirectSound, etc.
But inside a language itself, exceptions are the correct and proper way to deal with errors - not return codes.

Similar Messages

  • How do I transfer photos from previous phone (not an iphone) to my iphone4s?

    How do I transfer photos from previous phone (not an iphone) to my iphone4s?

    You need to import the photos with your computer, or transfer the photos from the phone to your computer followed by transferring the photos to your iPhone the same way you transfer any other photos on your computer to your iPhone - via the iTunes sync/transfer process. This is selected under the Photos tab for your iPhone sync preferences with iTunes.

  • How to make sure that schema name is not included with generated sqls

    How to make sure that schema name is not included with generated sqls with tableadapter wizard.
    What should I use? Oledb, ODT.NET, where can set that I want "pure" sqls, not schemas, not ", or anything like this
    I want
    "Select a,b from t1" ,not "select "a","b" from schema.t1"
    Also schema name is put in all parameters, all over the place... What if schema name changes. (b1test to b1prod)
    . I now manually edit XML files of dataset. It works but....
    thanks

    The full hardware :
    Processor Intel core due 3.00 MHz
    RAM:1.5GB
    psu:650 Watt (but i baught i cheap one so it may be actually about 400 watt)
    HD Disk:160 GB
    But about the power supply if it not able to run the VGA card ,Is it will not show any screen or it will not able to run the computer??

  • Unix Command run successfully through PL/SQL but showing no impact in UNIX.

    Hi,
    I am using Oracle 9i and Unix on my system and trying to execute a UNIX shell command through external procedure in C.
    I created a shared lib (libextproc.so) for the following function.
    int sysrun(char *command)
    return system(command);
    This function runs fine when caled through a driver function in C, meaning that the shared lib is fine.
    In PL/SQL, I have used the following method to invoke a UNIX command:-
    create or replace library shell_lib as '/home/ECETRAonsite/oracle/OraHome1/lib/libextproc.so';
    create or replace function sysrun (syscomm in varchar2)
    return binary_integer
    as language C
    name "sysrun"
    library shell_lib
    parameters(syscomm string);
    Now when I call this PL/SQL function to invoke the command, it is run succesfully but does not create the file.
    SQL>
    1 declare
    2 rc number;
    3 begin
    4 rc := sysrun('/bin/touch /home/ECETRAonsite/oracle/OraHome1/test/sach');
    5 dbms_output.put_line('Return Code='||rc);
    6* end;
    SQL> /
    Return Code=0
    PL/SQL procedure successfully completed.
    I have verified that the path for 'touch' is correct.
    Following are my configuration files.
    listener.ora
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST =172.21.161.69 )(PORT = 1521)(KEY = ECTPRF))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = extproc2)
    (ORACLE_HOME = /home/ECETRAonsite/oracle/OraHome1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ANY")
    (SID_DESC =
    (SID_NAME = ECTPRF)
    (ORACLE_HOME = /home/ECETRAonsite/oracle/OraHome1)
    (ENVS = "EXTPROC_DLLS=ANY")
    tnsnames.ora
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = extproc2)
    Please suggest what is lacking for this to work properly.
    Thanks,

    No need to create a C wrapper for that kernel call. Simply call the kernel SYSTEM() call direct.
    The following works using 10.2.0.1 on HP-UX.
    SQL> create or replace library libc as 'libc.2';
    2 /
    Library created.
    SQL>
    SQL>
    SQL> create or replace function system( command IN string ) return binary_integer is
    2 EXTERNAL
    3 LIBRARY libc
    4 NAME "system"
    5 LANGUAGE C
    6 CALLING STANDARD C
    7 PARAMETERS (
    8 command STRING
    9 );
    10 /
    Function created.
    SQL> show errors
    No errors.
    SQL>
    SQL>
    SQL> -- remove the test file
    SQL> ! rm /tmp/plsql-test
    SQL>
    SQL> declare
    2 rc integer;
    3 begin
    4 rc := system( '/usr/bin/touch /tmp/plsql-test' );
    5 DBMS_OUTPUT.put_line( 'return code='||rc );
    6 end;
    7 /
    return code=0
    PL/SQL procedure successfully completed.
    SQL>
    SQL>
    SQL>
    SQL> -- display the test file
    SQL> ! ls -l /tmp/plsql-test
    -rw-r----- 1 oracle dba 0 May 17 14:36 /tmp/plsql-test
    SQL>
    You may need to define a different library on yours. The kernel shared lib is suppose to be libc.sl - for a reason I cannot recall anymore, I've changed it to use libc.2.
    Oh yeah - the system call will be without any environment. Thus you cannot rely on any standard shell environment variables like PATH - you need to fully qualify executables and files (i.e. include the path).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Switching between applications using commands, not clicks

    Using Automator, how do I switch between applications using commands, not clicking on windows? I want to copy from Safari and paste into FileMaker, along with performing other tasks. The applications are not important; it could be any. I just can't figure out how to call an application to the front using Automator.

    Automator doesn't bring applications to the front, it just uses them to perform the actions. For example, the Get Text from Webpage action uses Safari to perform it's function. I don't have FileMaker to see what actions it provides, but they would most likely do their thing using FileMaker's scripting dictionary without bringing the application to the front.

  • SQLPLUS HOST Command Not Supported

    Hi,
    I am facing strange problem. I have lots of scripts where I have used the HOST command from within SQLPLUS.
    Now, on Windows Server 3000 Standard Edition, Version 5.2, I find that both HOST and its equivalent $, both are not supported when used with SQLPLUS on Oracle 10g Enterprise Edition.
    Please HELP, and suggest some alternative.
    Prashant

    There is no such thing as Windows Server 3000. The latest product appears to be Windows Server 2008.
    I'm not sure what the version of the Oracle database has to do with it. This is about SQL*Plus and you still haven't told us what version of that you are using. For example:
    SQL*Plus: Release 11.1.0.6.0 - Production on Sat Dec 6 15:56:12 2008
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> host cd
    y:\sql
    SQL>This is sqlplus.exe (never sqlplusw.exe) version 11.1.0.6.0 on Windows XP Pro 2002 SP3. It's not the best example because SQL*Plus and the database are at the same version - they are often different. For example:
    /Users/williamr: sqlplus william/x@//vm.starbase.local:1521/eleven
    SQL*Plus: Release 10.1.0.3.0 - Production on Sat Dec 6 16:01:21 2008
    Copyright (c) 1982, 2004, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> ho uname -a
    Darwin starbase-2.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 i386
    SQL> I've never known the host command not work, but perhaps someone with the same setup as you can confirm they don't have the same problem. I'm also a bit puzzled by the error message "Command not success." That doesn't sound like an Oracle command - apart from being vague and ungrammatical it doesn't start with the standard "SP2-nnnn" prefix, for example:
    SQL> x
    SP2-0042: unknown command "x" - rest of line ignored.Can you copy and paste the exact commands and results you get?
    Edited by: William Robertson on Dec 6, 2008 4:04 PM

  • Spool Command not found error

    Dear friends,
    I am trying to get the list of active and inactive sessions for some users and created a script for this but getting some error message.
    Could you please check why I am getting this error while running from the putty. The same sql command I run from sql developer and get the output with no errors.
    Script:
    set pagesize 0
    set feedback off
    set echo off
    sqlplus '/as sysdba'
    spool kill_session_list.sql;
    select 'ALTER SYSTEM KILL SESSION '''||sid||','||serial#||''';'
    from v$session
    where type!='BACKGROUND'
    and username in('RO_USER','KHALIED','INFAREP','DAC','DMUSER_PROD','LAND_PROD','STAGE_PROD','BIUSER_PROD','OLAPDW','DWRO');
    spool off;
    exit
    Error msg:
    ./kill_session_generate.sql: line 5: spool: command not found
    ./kill_session_generate.sql: line 6: syntax error near unexpected token `||'
    ./kill_session_generate.sql: line 6: `select 'ALTER SYSTEM KILL SESSION '''||sid||','||serial#||''';''
    Thanks.

    877938 wrote:
    Dear friends,
    I am trying to get the list of active and inactive sessions for some users and created a script for this but getting some error message.
    ./kill_session_generate.sql: line 5: spool: command not found
    ./kill_session_generate.sql: line 6: syntax error near unexpected token `||'
    ./kill_session_generate.sql: line 6: `select 'ALTER SYSTEM KILL SESSION '''||sid||','||serial#||''';''Odd.
    Look at the script kill_session_generate.sql very carefully, especially the lines before and after the SPOOL command as well as the spool command itself. Consider deleting and retyping the line with the SPOOL command in case invisible special characters are causing problems
    Good luck!

  • ABAP Code in End Routine - reverts back to previous version

    Team:
    Currently, we are in upgrading from 7.01 to 7.4. The new development environment is only used to built the new development work until the mirror image client is upgraded.
    In one customised dataflow, we place some code and the transformation is activated. No issues at all, then the next day, the code reverts back a previous version. Consequently, we are losing the code. We already have a sign off of a piece of work and we checked the code again. We were puzzled as to why the code has gone back to a previous version.
    SAP is asking to replicate the issue. Unfortunately, we cannot replicate accurately this issue. Now, we have two more developers reporting the same case. Yet again, the issue comes and goes. We reboot the server with some success. Then days later, the issue pops up with a developer. The Basis guys have not found anything related to this case.
    Any idea is welcome.

    Sync to Date is currently the only option offered by the DTR.
    You can only edit the active version of a resource in a workspace, because the DTR does not support branching within a workspace: There is no mechanism in place to merge an older version of a resource into the same workspace.
    If you want to do this, you must make a copy of the workspace (a "maintenance" workspace) and make your changes in that workspace. You can integrate the related activity/activities into the "ongoing development" workspace afterwards, if you want to of course.
    Why don't you want your bugfixes to be forwarded by the way? Those bugs are also in your enhancement tracks...

  • How to get back the previous command?

    Can I re-enter the previous commands using things like up arrow? Is the command history kept in SQL*Plus?
    Jirong

    Please review the documentation.
    http://download-west.oracle.com/docs/cd/B14117_01/server.101/b12170/toc.htm

  • Drop triggers in code causes SQL command not properly ended.

    running the following command in SQL developer giving the following error
    ORA-00933: SQL command not properly ended.
    What am I doing wrong
    Begin 
    For I In (Select Trigger_Name, Owner From Dba_Triggers Where Trigger_Name Like 'ABC%' And Owner = 'my_schema')
      Loop 
        Execute Immediate 'DROP TRIGGER '||I.Owner||'.'||I.Trigger_Name; 
      End Loop; 
    End;Edited by: Mo2 on Apr 16, 2010 12:21 PM
    Edited by: Mo2 on Apr 16, 2010 12:24 PM

    Mo2 wrote:
    yes it has.
    an example of the names is BIN$+i6ls2WnR/Svz0wA5LSG8A==$0
    As a matter of fact those triggers get created by the database after I drop the tables. is there a way to avoid creating them?
    drop trigger BIN$+i6ls2WnR/Svz0wA5LSG8A==$0;
    drop trigger BIN$+i6ls2WnR/Svz0wA5LSG8A==$0
    ERROR at line 1:
    ORA-00933: SQL command not properly endedYes oracle complains about this while dropping it.
    These objects get created if you have recyclebin on.
    You can either off your recyclebin or you can purge these objects from recyclebin after dropping it. Make sure that you would not require this feature or objects in future.
    Regards
    Anurag

  • In MS Office, F4 repeats previous command.  How do I do that in Numbers?

    Ok--one of the most useful keyboard shortcuts I took advantage of when I had MS Excel was the F4 button, which repeats previous command.  It worked for just about any command.
    Is there an equivalent command in Numbers?

    Corim,
    No, no such command in Numbers. Just remember what you just did and do it again.
    Jerry

  • How to code with tab strip control in se38

    HI masters,
          In SE38 i created tab strips with 4 tabs in selection screen. Each selection screen having 4 or 5 input fields.So whenever user click on first screen he will fill the input on that screen, and based on that fields only he will get information. Each tab is totally differ from other tabs, i mean first tab is orders and second is invoice like that. so there is no connection betwen tabs data. Everything is individual tabs.
         I dont know how to code that.Can you plz help me how to code that? Thanks in advance.Its very urgent.

    To create a tabstrip control area, choose Tabstrip control from the object list in the Screen Painter and
    place it on the screen. Fix the top-left hand corner of the table control area, and then drag the object to
    the required size.
    Assign a name to the tabstrip control in the Object name attribute. You need this name to identify your
    tabstrip control.
    In your ABAP program use the CONTROLS statement to declare an object with the same name. Use
    TABSTRIP as the type.
    The type TABSTRIP is defined in the type pool CXTAB. The field ACTIVETAB contains the function
    code of the tab title of the currently active tabstrip. The other fields are reserved for internal use.
    The default number of tab pages for a tabstrip control is two.
    Technically, tab titles are treated in the same way as pushbuttons. They have a name, a text, a function
    code, and a function type. You enter these in the Name, Text, FctCode and FctType fields of the object
    attributes.
    A tab title can have the function type ' ' (space) or 'P'. If the function type is ' ' (space), the PAI
    processing block is triggered when the user chooses that tab, and the function code of the tab title is
    placed in the command field. If the function type is 'P', the user can scroll between different tab pages of
    the same type without triggering the PAI processing block. For further details, see the following pages.
    If you want your tabstrip control to have more than two pages, you must create further tab titles. To do
    this, choose Pushbutton from the object list in the Screen Painter and place it in the tab title area.
    You must assign a subscreen area to each tab page.
    The subscreen area assigned to a tab page is automatically entered as the Reference object (in the
    Dictionary attributes) for the tab title of that page.
    To assign a subscreen area to one or more tab pages, choose the relevant tab title in the fullscreen
    editor, choose the Subscreen object, and place it on the tab page.
    Alternatively, you can assign a single subscreen area to several tab pages by entering the name of the
    subscreen area directly in the Reference object field of the attributes of the relevant tab pages.
    If you have assigned a different subscreen area to each page element in a tabstrip control, you can
    scroll between the pages locally at the front end.
    To do this, you must send all of the subscreens to the front end when you send the main screen itself. All
    of the tab titles in the tabstrip control must also have function type 'P'.
    Now, when you scroll between the different page elements, there is no communication between the
    presentation server and the application server.
    When the user chooses a function on the screen that triggers PAI processing, the system processes the
    PAI blocks of all of the subscreens as well. This means that all of the field checks are run. In this
    respect, you could regard the tabstrip control as behaving like a single large screen.
    Local scrolling in tabstrip controls is more appropriate for display transactions.
    <b>Screen Painter:</b>
    <b>PROCESS BEFORE OUTPUT.</b>
    CALL SUBSCREEN subarea1
    INCLUDING SY-CPROG '0101'.
    CALL SUBSCREEN subarea2
    INCLUDING SY-CPROG '0102'.
    CALL SUBSCREEN subarea3
    INCLUDING SY-CPROG '0103'.
    <b>PROCESS AFTER INPUT.</b>
    CALL SUBSCREEN subarea1.
    CALL SUBSCREEN subarea2.
    CALL SUBSCREEN subarea3.
    <b>ABAP:
    CONTROLS: my_tab_strip TYPE TABSTRIP.</b>
    To program a tabstrip control to scroll locally at the front end, you must:
    Assign
    a separate subscreen area to each tab page; a subscreen will be sent to each of these
    when the screen is processed.
    Call
    all of the subscreens from the flow logic.
    Assign
    function code type 'P' to all of the tab titles.
    The system hides any page element whose subscreen contains no elements that can be displayed.
    If there are no page elements containing elements that can be displayed, the system hides the entire
    tabstrip control.
    Hope this is helpful, Do reward.

  • How to sent/recie​ve simple USB commands?

    Hello,
    Before I start. I've been reading om the internet (USB tutorials, nuggets, etc.) for the last 2 days to get this,
    but it is really confusing and I still have no idea how to do this. So I'm asking for your help.
    I setup a custom USB device in MAX.
    I need to sent this command:    0x2 M 1 0x3
    Were 0x2 defines the start and 0x3 defines the end of the command.
    I think I have to use a control transfer, but I do not understand what to use at the Index, Value, Request Value,
    Request and Length inputs. I also do not understand how to sent Hex, Dec and ASCII at the same time.
    Do I need to convert these values?
    I would really appreciate some example code. Can I use the VISA commands?
    Kudos will be given, thank you in advance 
    The Enrichment Center is required to remind you that you will be baked, and then there will be cake.
    Solved!
    Go to Solution.

    Heinen wrote:
    I need to sent this command:    0x2 M 1 0x3
    I also do not understand how to sent Hex, Dec and ASCII at the same time.
    Do I need to convert these values?
    I am not sure about the Index, Value, Request Value,
    But about sending your comand....
    I assume the space before the "M" and the space after the "1" is not needed,
    but the space between the "M" and the "1" is needed
    Omar

  • How to code for select all& deselect all?using menu buttons

    hai,
    i have generated a report with a single field from a database table and
    i have a checkbox for each record/item in the report.
    i need help in the following ..
    now that i have menu buttons say "select all" and "deselect all"..
    if select all is clicked then all checkboxes should be selected.
    if deselect all is clicked, then all checkboxes should be deselected
    i know that we have to use functional code and use case sy-ucomm etc.
    when "selectall"  etc..
    can someone help me how to code for this to work exactly?

    it did not work for the code u had suggested...
    plz check it out and send me the exact working code..
    REPORT  ZINTRACTIVE_PROJ                        .
    TABLES : SFLIGHT.
    DATA : BEGIN OF IT OCCURS 0,
           CARRID LIKE SFLIGHT-CARRID, FLDATE LIKE SFLIGHT-FLDATE,
           END OF IT.
    DATA : BOX TYPE C,
           LINE TYPE I.
    SELECT CARRID FLDATE FROM SFLIGHT INTO TABLE IT.
    LOOP AT IT.
    WRITE : / BOX AS CHECKBOX, IT-CARRID.
    ENDLOOP.
    LINE = SY-LINNO .
    SET PF-STATUS 'SELECT'.
    AT USER-COMMAND.
    CASE SY-UCOMM.
      WHEN 'SELECT'.
          DO LINE TIMES.
            READ LINE SY-INDEX FIELD VALUE BOX.
            IF BOX = 'X'.
               NEW-PAGE.
               WRITE : / IT-FLDATE.
            ENDIF.
          ENDDO.
      <b>WHEN 'SELECTALL'.
          LOOP AT IT.
            IT-CARRID = 'X'.
            MODIFY IT TRANSPORTING CARRID WHERE CARRID = IT-CARRID.
            EXIT.
          ENDLOOP.
      WHEN 'DESELECTALL'.
          LOOP AT IT.
            IT-CARRID = ''.
            MODIFY IT TRANSPORTING CARRID WHERE CARRID = 'X'.
            EXIT.
          ENDLOOP.</b>ENDCASE.

  • Any One Can Help Me--error :-SQL command not properly ended

    hi,
    this code has an error i have tried to find out this error but i can't find it so please help me :-
    report error:
    ORA-06550: line 1, column 149:
    PL/SQL: ORA-00933: SQL command not properly ended
    ORA-06550: line 1, column 7:
    PL/SQL: SQL Statement ignored
    Code
    select HTMLDB_ITEM.HIDDEN(1,SEQ_ID),
    HTMLDB_ITEM.TEXT(2,a.c001) c001,
    HTMLDB_ITEM.TEXT(3,a.c002) c002,
    HTMLDB_ITEM.TEXT(4,a.c003) c003,
    APEX_ITEM.SELECT_LIST_FROM_QUERY(5,a.c004,'SELECT P_ID D,P_ID R FROM PARTY_DETAIL') c004,
    APEX_ITEM.SELECT_LIST_FROM_QUERY
    (6,a.c005,
    'SELECT CATEGARY_NAME D,'||'CATEGARY_NAME R FROM ITEM_CATEGARY',
    'style="width:220px" '
    ||'onchange="get_select_list_xml1(this,'
    || 'f7_'
    || LPAD (seq_id, 4, '0')
    || ')"',
    'YES',
    '0',
    '-Select-',
    'f6_'|| LPAD (seq_id, 4, '0'),
    NULL,
    'NO') c005,
    APEX_ITEM.SELECT_LIST_FROM_QUERY
    (7,a.c006,
    'SELECT ITEM_CODE D,'
    ||'ITEM_CODE R FROM ITEM_MASTER'
    ||'WHERE CATEGARY_NAME ='
    || c005,
    'style="width:220px"',
    'YES',
    '0',
    '-Select Code ('
    || (Select Count(*)
    from ITEM_MASTER
    where CATEGARY_NAME = c005)
    || ')-',
    'f7_' || LPAD (seq_id, 4, '0'),
    NULL,
    'NO') c006,
    APEX_ITEM.SELECT_LIST_FROM_QUERY(8,a.c007,'SELECT ITEM_NAME D,ITEM_NAME R FROM ITEM_MASTER') c007,
    HTMLDB_ITEM.TEXT(9,a.c008) c008,
    APEX_ITEM.SELECT_LIST_FROM_QUERY(10,a.c009,'SELECT PACK_TYPE D,PACK_TYPE R FROM ITEM_PACKING') c009,
    HTMLDB_ITEM.TEXT(11,a.c010) c010,
    HTMLDB_ITEM.TEXT(12,a.c011) c011,
    HTMLDB_ITEM.TEXT(13,a.c012) c012,
    HTMLDB_ITEM.TEXT(14,a.c013) c013
    FROM wwv_flow_collections a
    where a.collection_name = 'REC_ITEM'
    Thanks
    Manoj
    Edited by: Manoj Kaushik on Sep 10, 2009 3:36 AM

    hi mike,
    My problem is:-
    i have a bill with multiple item eg . Apple (12), Banana (49), Badam (145) , Grapes(25) with there quantity and now i want to Add these item with quantity in my database
    when i finaly click on submit button .
    Actully I have been used tabular form but i am facing one problem when using tabular form ,in Tabular form i enter first item eg . Apple and there quantity eg. 12 in textfield and after click on Add Row Buttom data insert in to the database . but i want Entry Shouldn't go in to the database. But only New Row Should Add there when i click on Add Row Button.
    I want all these 4 item should enter in to data base when i click on Final Submit.
    So i have use this collection report to insert multiple item .everything was all right when i was using text field but when i changed these textfield into select list then error has arise .
    Actually i want also a cascade selectlist in this report .
    eg .item name depend on item code and item code depend on item category name .
    so i want when i select CATEGARY_NAME then item code come into report item and when i select ietem code them correcponding item name should come into item name field.
    for cascade select list i have created application process and java script .
    So please mike Suggest me some solution how can i do this .
    its urgent for me .
    This Is my code :-
    select HTMLDB_ITEM.HIDDEN(1,SEQ_ID),
    APEX_ITEM.TEXT(2,a.c001) c001,
    APEX_ITEM.TEXT(3,a.c002) c002,
    APEX_ITEM.TEXT(4,a.c003) c003,
    APEX_ITEM.SELECT_LIST_FROM_QUERY(5,a.c004,'SELECT P_ID D,P_ID R FROM PARTY_DETAIL') c004,
    APEX_ITEM.SELECT_LIST_FROM_QUERY
    (6,a.c005,
    'SELECT CATEGARY_NAME D,'||'CATEGARY_NAME R FROM ITEM_CATEGARY',
    'style="width:220px" '
    ||'onchange="get_select_list_xml1(this,''f7_'|| LPAD (seq_id, 4, '0')
    ||''')"',
    'YES',
    '0',
    '-Select-',
    'f6_'|| LPAD (seq_id, 4, '0'),
    NULL,
    'NO') c005,
    APEX_ITEM.SELECT_LIST_FROM_QUERY
    (7,a.c006,
    'SELECT ITEM_CODE D,'
    ||'ITEM_CODE R FROM ITEM_MASTER'
    ||'WHERE CATEGARY_NAME ='
    || c005,
    'style="width:220px"',
    'YES',
    '0',
    '-Select Code ('
    || (Select Count(*)
    from ITEM_MASTER
    where CATEGARY_NAME = c005)
    || ')-',
    'f7_' || LPAD (seq_id, 4, '0'),
    NULL,
    'NO') c006,
    APEX_ITEM.SELECT_LIST_FROM_QUERY(8,a.c007,'SELECT ITEM_NAME D,ITEM_NAME R FROM ITEM_MASTER') c007,
    APEX_ITEM.TEXT(9,a.c008) c008,
    APEX_ITEM.SELECT_LIST_FROM_QUERY(10,a.c009,'SELECT PACK_TYPE D,PACK_TYPE R FROM ITEM_PACKING') c009,
    APEX_ITEM.TEXT(11,a.c010) c010,
    APEX_ITEM.TEXT(12,a.c011) c011,
    APEX_ITEM.TEXT(13,a.c012) c012,
    APEX_ITEM.TEXT(14,a.c013) c013
    FROM wwv_flow_collections a
    where a.collection_name = 'REC_ITEM'
    I am waiting for your positive responce.
    thanks
    Manoj
    Edited by: Manoj Kaushik on Sep 10, 2009 4:46 AM

Maybe you are looking for

  • Connection to SAP R/3 46B through EP

    Hi All I installed following products but don't know how to connect SAP R/3 system through webdynpro. EP : 6.0 SP10 (Only Java instance) OS : Windows 2000 DB : Oracle 9i R3 : Version 46B BASIS SUPPORT PACK 30 OS : Solaris 8 DB : Informix 7.31 fd2x9 A

  • Cost Center not updating in FI documents

    Hi All, I have an issue, I am confirming Gem,Maintenance PM order,and consuming spare part, but in FI documents its updates the cost center,PM pm order cost receiver object is cost center in the settlement rule. please guide me which settings require

  • Browser-based PI sheet - Export parameters

    Hi All, I'm working on browser based PI sheet. I have a custom function module with characteristic PPPI_FUNCTION_NAME linked to a Process message. I'm not able to add a new export parameter and table parameters (for repeated data request). Only an ex

  • WES8.1 IP install problem.

    I created something using SIM, much like my existing WES7 image in style (disk partitions, bits and bobs, user etc) Fire up the installer with the autounattend.xml on a USB and it gets all the way to: Windows could not apply unattend settings during

  • Where has the Mail Reply Arrow Gone?

    Running Mail 4.1 but have no reply/forward arrow on certain emails after answering/sending. Some are there, some are not. However, the answered mail is in my sent mailbox yet I have no arrow to click on to see how/if the mail was handled. Posted abou