SAP Restart to Delete SQL Packages

I am starting this discussion on behalf of a client:
Especially the "veterans" of AS/400 remember, that in the beginning of SAP on AS/400 it was often necessary to stop the SAP instance and delete the SQL packages in order to overcome database errors that usually showed up as SQL -901 errors. This way of "fixing" SQL -901 became like a habit, so that support employees often recommended to stop the SAP instance and delete SQL packages when a simple restart of the failing work process would have fixed the problem. Later we recommended to use profile parameter rdisp/wp_auto_restart to restart work processes automatically once a day (for example), and that seemed to have solved the problem. However, my client is not quite convinced that this works and does not want to "play" with the production system. They are using an ECC 6.0 system with a 10 TB database and about 4000 active users.
Question to this group: Do you have systems with a similary size that run several weeks (or even months) without interruption for deleting SQL packages? If so, do you use profile parameter rdisp/wp_auto_restart, and what value is configured? Also "negative" answers are welcome, i.e. if you have the experience that the SQL packages must be deleted on a regular base for the sytem to work properly, please let us know, too.
Thanks a lot for your cooperation.
Kind regards,
Christian Bartels.

Hi Christian and Jim,
Our production database is 8 TB with 3400 named users (1,000 or so concurrent).  We still are "old school" and delete the SQL packs during normal maintenance twice a month (either two or three week interval). I know we have gone longer if we were having a lot of go-lives but I don't think it has happened since we upgraded to ECC 6.0.
We did have some SQL pack issues a while ago but it turned out to be they were reaching the maximum size for table IBSYMBOL. Since then we set the QAQQINI value "SQL_INCREASE_PKG_LIMIT = *YES " which doubled the allowable size to 1GB I believe. We still were reaching the max and we ended up inserting a profile parameter.
"dbs/db4/dbsl_tablehint0         =           Table = 'IBSYMBOL' & nMarkers > 100 ? SingleExecutionReuse"
Credits - Steve Tlusty of IBM came up with the fix
During that round of fun, Steve also had us adjust the following parameters -
rdisp/noptime                        =             605800
rdisp/wp_auto_restart          =             604800
Note - even though we are at 6.1.1 now, the adjustments were made on 4.7x200 while running under V5R4 so I don't know if they are still required.
Have I rambled too long?
Craig

Similar Messages

  • When to delete SQL Packages

    It's been a long time and I've forgotten: If a new cumulative fix pack is installed at the OS-level, do you need to delete SQL packages?
    Thanks in advance,
    Robert

    Hi Bob,
    YES !!!!!!
    (as soon as you install 1 PTF only, you should delete all SQL packs!)
    Regards
    Volker Gueldenpfennig, consolut international ag
    http://www.consolut.de - http://www.4soi.de - http://www.easymarketplace.de

  • How to automate SQL packages deletion prior to IPL to apply PTF's ?

    Hi,
    When PTF's need to be applied to the system to avoid trouble it is recommended to delete the SQL packages. The only way to do this that I know of is by using the R3MAIN menu to access the option to delete the SQL packages. As we have two instances on our system this is (to much) time consuming.
    For this reason I would like to schedule a STOP of both SAP instances. Followed by some method to check if the SAP instance is down. If the SAP instance is down I would like to Delete the SQL packages and when this task completes I would like to send myself an e-mail confirming this deletion.
    The pieces of the puzzle I am missing to achieve all this are:
    1. How to check if SAP is done ?
    2. How to delete the SQL packages for both instances in a program ?
    Of course it would be perfect if it is possible to check for any active SAP users from a program also. I think I have the CL programming skills to write such a program and of course I want to share that information once the program has been tested and approved by me
    Regards, Rudi van Helvoirt

    Hi Rudi,
    I would do it in QSTRUP after IPL, but that's a minor difference.
    with an *ALLOBJ user:
    CALL R3sid400/R3INLPGM
    DLTR3PKG sid
    As this sometimes fails, I would code the DLTR3PKG 3-5 times into the CL - the second and more ones are done within a second - so no problem )
    You do this for each SID and should be happy - as you do not want this with every IPL I guess, you might want to use a DTAARA in order to control this.
    Regards
    Volker Gueldenpfennig, consolut.gmbh
    http://www.consolut.de - http://www.4soi.de - http://www.easymarketplace.de

  • How to get changes of a custom PL/SQL package updated in ISG?

    Hi All,
    I need some help on how to change a custom PL/SQL package in ISG integration repository:
    I already uploaded my custom PL/SQL package to the integration repositoy some time ago. Now I have made some changes to PL/SQL record/table types defined in the package (added some fields and removed some others). These changed record/table types are used by a procedure I already uploaded to the integration repository. When regenerating the WSDL for my PL/SQL package in integration repository I get an error that the wrapper for respective procedure can't be found. When checking up the SQL types that were automatically generated (by JPublisher) for corresponding PL/SQL types, these generated SQL types are invalid...
    So it seems that in one case JPublisher generated an empty SQL type (with no attributes). In another case JPublisher generated the SQL type with old attribute list, so it didn't adopt the changes of corresponding PL/SQL type in the package...
    Can anybody tell me how to get the changes of a cusotm PL/SQL package updated in ISG? Or is there any possibility to first remove a whole PL/SQL package from the ISG integration repository (and getting rid of all old automatically generated SQL types), so that I can newly upload my PL/SQL package afterwards?
    Thanks
    Konrad
    Edited by: Konrad on 24.10.2011 10:51

    Thanks Daniel, for your reply...
    (-> for info: I'm a colleague of Konrad...)
    Yes, we used a higher version number - and the upload of iLDT file works fine...
    But, the problem occured when generating the WSDL...
    However, I think we have found an approach of how to get the changes of a custom PL/SQL package updated correctly in ISG:
    1. Save a copy of PL/SQL package and then delete it in the database
    2. Regenerate the WSDL for PL/SQL package in ISG (seems that all atutomatically generated JPub wrappers and SQL types are also deleted)
    3. Restart all processes
    4. Create the changed version of PL/SQL package in the database again
    5. upload of iLDT
    6. Regenerate the WSDL for PL/SQL package in ISG
    Best Regards
    Carolin

  • Unable to delete a package

    Hi Experts,
    I am new to HANA and I am practicing some tutorials. I have created a package in the 'Systems' view in the Developer Perspective. However, when I delete that package from the context menu, I get an error message like the one in the image below.
    However, to me this package looks empty. I have even checked the SYS_REP package tables 'ACTIVATED_OBJECTS' and 'INACTIVATED_OBJECTS" and I could not find any such files there.
    I executed the below SQL commands:
    SELECT  * FROM "_SYS_REPO"."ACTIVE_OBJECT" where PACKAGE_ID = 'ajith.demos.HWX_WS.Demos'
    SELECT  * FROM "_SYS_REPO"."INACTIVE_OBJECT" where PACKAGE_ID = 'ajith.demos.HWX_WS.Demos'
    but they are not returning any values.
    Can some one guide me as to how to safely delete such packages?
    Thanks,
    Ajith Cheruvally

    Hi,
    I have resolved this issue by following the steps in the following link.
    - I tried deleting them through the Web Based IDE first. However, there were still a previous Workspace related file which could not be deleted.
    - I then recreated a workspace with the same name and checked it out and deleted from the project explorer and from repository and it worked!!!
    https://answers.saphana.com/sap/answers/frontend/web#details/JIVE_DISCUSSION/113000
    Thanks,
    Ajith Cheruvally

  • Can we create Transport request for deleting a package?

    Hi all,
      We have few customised programs and tables developed in a package. Normally we create a transport request, include the objects for this package, then generate the FTP files and send it to user. Now the user wants us to create a FTP files for deletiing the package. Can this be possible without effecting the package in our system?( For this we have only dev sys)
    Thanks and Regards,
    Sravanthi

    >
    sravanthi konda wrote:
    >    Yes, I too cannot understand. If it is to delete a single program or 2 programs it is posible to create a TR excluding that program, but I don't understand how to delete whole  package. Is there any possibility to do this?
    You have to ask the user to delete the package locally. Moreover please educate him about the CTS mechanism in SAP, i don't think ABAPers are here to hack the SAP system

  • Connection Reset when compiling PL/SQL Package

    Recently a strange issue appeared on my office PC. When I try To compile a PL/SQL package on specific Oracle instance I get an error message:
    Error: Io exception: Connection reset by peer: socket write error
    And the connection is reset. I even cannot reconnect to database schema. To open connection again I have to restart SQL Developer. In spite of this issue I can execute SELECT queries in SQL worksheet and view data in tables. Error message appears only when compiling packages in any schema on database instance in our local network and only on my PC. Other office PCs works fine without any errors. I am able to compile packages on remote database from my PC.
    Same error message shows up in different SQL Developer versions and also in JDeveloper. SQL Developer restart, Windows restart, database instance restart doesn't help.
    Used software:
    SQL Developer versions: 1.2.1 and 1.1
    JDeveloper version: 10.1.3.2
    Oracle Database on local network: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit
    Remote Oracle Database: Oracle Database 10g Release 10.2.0.3.0 - Production
    OS: Windows XP Pro SP2
    Thanks,
    Raymond

    I am trying to convert the values in a selected
    column into 1 and 0 so that I can display all 1s in
    one column, all 0s in another. I am doing this in a
    PL/SQL package. However ORACLE compiler does not
    like the CASE construct.
    Does anyone know how to group values in a column into
    several new columns. If CASE WHEN construct is not
    doable in PL/SQL, what alternatives are there?
    Thanks.
    CURSOR v_Cursor IS
    SELECT A.D_CODE, A.M_CODE, TEST_START ,
    , C.C_NAME,C.P_ID,
    SUM(CASE WHEN MONTHS_BETWEEN(SYSDATE, D.P_DOB)/12 >
    40 AND MONTHS_BETWEEN(SYSDATE, D.P_DOB)/12 <85 ANDB.B_CODE IN '11.1','222.2','272.4') THEN 1 ELSE 0
    END) QUALIFIEDUse the Decode function. This has been around in oracle SQL for ages and works like a case construct.
    You would do something like
    select ...
    sum( decode (MONTHS_BETWEEN(SYSDATE, D.P_DOB)/12 >
    40 AND MONTHS_BETWEEN(SYSDATE, D.P_DOB)/12 <85 AND
    B.B_CODE IN ('11.1','222.2','272.4') 1,0 )

  • OAS - PL/SQL packages not starting?

    Okay, I realize this is a bone-headed question, but my developer is away and I am on the bottom end of the learning curve here, so bear with me.
    After I have re-compiled a set of PL/SQL packages for an existing application, how do I ensure that these packages start? I have done a re-compile and restarted OAS, but hem... a specific package is not running. My guess is that I have missed a step =)
    (PS - the package in question has run properly in the past; no changes have been made to the code, and it compiles without errors)
    -Stephen-

    Ronald,
    Thanks for you advise.
    I don't think that it will be a good solution .
    First, I would like to know if I have to re-generate the code. If this is a case then plsqlAssemble would be a big problem as a solution. Our clients would need to do this as well.
    What I am actually doing is the following:
    I am trying to secure PL/SQL Web Services with SOAP Headers for passing authentication data such as user and passw for the DataSource.
    It works great but I had to extend some of code generated Java classes which implements ServiceLifecycle to get SOAPMessageContext object.
    Thanks,
    Michael Hitrik

  • My PL/SQL package worked in 8i but does not function in 9i

    At our site we have two servers. On server B (master server) we enter all the user information such as create user,alter,
    grant,revoke... etc. This data is entered into the master server and also inserted into a log table that is accessed, periodically, by our
    second server, server A.
    Server B is accessed by a PL/SQL package, executed at server A. It accesses server B through a database link and selects the
    statements in the table at server B, and executes them on server A. It if encounters an error (user doesn't exist, role doesn't
    exist,...etc) it makes an entry in a error_log table on server B, deletes that entry from the log table on server B, and continues with
    the next statement. In Oracle 8.1.6.3, it works great. However, we have just migrated to Oracle 9.0.1.3 and now we can't get it
    to work at all. It appears that the exception handler(s) is not working and falls through to the outer most exception handler which
    states: when others then dbms_output.put_line ('Processing Aborted');
    If anyone has any ideas on this subject, please let me know.
    Thanks,
    Bernie

    did you check to see what the Oracle error message was, using someting like this:
    dbms_output.put_line(SubStr(SQLERRM, 1, 255)) ;

  • 26.4 Basing an entity Object on a PL/SQL Package API - Ref Cursor, no View

    I am hoping that I could get some help in the details of a problem. I am trying to follow the directions in the Oracle Application Development Framework Developer's Guide for Forms/4GL Developers, Section 26.4 - Basing an Entity Object on a PL/SQL Package API.
    There is example code in the downloadable AdvancedEntityExamples - EntityWrappingPL/SQLPackage
    The question is, how will the implementation change if the entity is based entirely on PL/SQL - simply stated - no view is available, just ref cursors and insert,update,delete procedures.
    In the example code, there are two procedures, lock_product and select_product. This is where things get more complicated. I can create a function to return a single record ref cursor, instead of the list of OUT variables defined in both functions (select_product and lock_product). It makes sense that I just return one cursor and get all of the columns from that instead of lots of OUT variables.
    So what's stopping me you may ask... There is one difference between select_product and select_lock. Select_lock has a select that includes "FOR UPDATE NOWAIT". I don't have that as an option when creating my ref cursor. I am not sure what the impact of "FOR UPDATE NOWAIT" is? Can I ignore it?
    In the problem I am working with, (getting data from Oracle Portal 10.1.4) I return the following:
    function getRefCursor return ref_cursor is
    v_tab wwsbr_all_items_object_type := wwsbr_all_items_object_type();
    p_recordset wwsbr_types.cursor_type;
    l_results wwsrc_api.items_result_array_type;
    begin
    wwctx_api.set_context(<username>,<password>);
    l_results := wwsrc_api.item_search(.. parameters..);
    <snip>
    ... Loop through the objects and populate v_tab
    <snip>
    open p_recordset for
    select * from table(cast(v_tab as wwsbr_all_items_object_type));
    return p_recordset;
    end getRefCursor;
    With this sample, it would be easy to return a single row by passing the masterid as a parameter.
    So I am still left with, how should the implementation of callLockProcedureAndCheckForRowInconsistency() and callSelectProcedure() be changed in order to use a ref cursor instead of a view? The user guide was missing that extra section <bg>.
    What would be REALLY helpful, is an example, say 26.4A that demonstrates creating an entity object from a ref cursor and procedures from PL/SQL only without a view.
    Thank you, Ken

    The lock procedure is expected to obtain a row-level lock on the row, given its key.
    Depending on the setting of jbo.locking.mode, the entity object's lock() method will be invoked either as soon as the first persistent attribute is successfully modified by the user (in the case of jbo.locking.mode=pessimistic), or it will be called during commit processing just before the row is updated in the database (with jbo.locking.mode=optimistic).
    Usually 2-tier Swing applications use pessimistic mode, while web applications use optimistic mode.
    The FOR UPDATE NOWAIT is the Oracle clause that can be appened to a SELECT statement to acquire a row-level lock on the selected rows. The NOWAIT modifier means that rather than hanging, waiting for a row locked by another user to free up, it will raise an exception if any of the rows being selected-and-locked are not available to lock.
    If you're not able to work the FOR UPDATE NOWAIT into the syntax of the ref cursor, perhaps you can initially perform the lock using a different cursor inside the stored procedure, then return your ref cursor.

  • PL/SQL package SYS.DBMS_BACKUP_RESTORE version 11.02.00.01 in AUXILIARY dat

    Hi,
    My primary and stand by db are 11.2.0.3
    from my primary db host , when i executed the below commands , it errors out . Can you please adive the fix
    RMAN> connect target sys/sys@chicago;
    connected to target database:chicago (DBID=4194693498)
    RMAN> connect auxiliary sys/sys@austin;
    **PL/SQL package SYS.DBMS_BACKUP_RESTORE version 11.02.00.01 in AUXILIARY database is not current**
    **PL/SQL package SYS.DBMS_RCVMAN version 11.02.00.01 in AUXILIARY database is not current**
    **connected to auxiliary database: austin (DBID=4194693498)**
    Can you please advice how to over come it
    Thanks
    [email protected]
    Edited by: user12096071 on Feb 14, 2012 6:59 PM

    Hi ,
    I am trying to build the active dataguard using the below 3 commands. Both my primary and stand by are at 11.2.0.3 . I deleted all the datafile on stand by.
    I issued below command from my primary database
    RMAN> connect target sys/xxxxx@chicago ( executed successfully )
    RMAN> connect auxiliary sys/xxxxx@austin ( got below error )
    **PL/SQL package SYS.DBMS_BACKUP_RESTORE version 11.02.00.01 in AUXILIARY database is not current**
    **PL/SQL package SYS.DBMS_RCVMAN version 11.02.00.01 in AUXILIARY database is not current**
    **connected to auxiliary database: austin (DBID=4194693498)**
    RMAN> run{duplicate target database for standby from active database;} ( yet to execute this command).
    Do i need to execute above command from stand by host?
    thanks
    Naveen

  • EclipseLink-Redeploying a DBWS WS on PL/SQL package after changing return

    Issue concerning: EclipseLink 2.4.1 (DBWS) on WebLogic
    Hi,
    I've created a DBWS webservice based on a Oracle (10g) PL/SQL package, by using EclipseLink DBWS builder. The PL/SQL function exposed as a webservice call has a Object type return type, e.g.:
    create or replace type eclipse_type as
    object
    num number
    create or replace package test_eclipselink_pkg as
    function test return eclipse_type;
    end;
    As I understand it, EclipseLink-DBWS translates this Oracle object type to an Java type when calling the PL/SQL function over JDBC and translates the Java object to XML to be encapsulated in a SOAP message.
    The problem is that when changing the specification of the return type (e.g. changing the name of the field num to nmb in the Oracle type eclipse_type) of the Oracle PL/SQL function, regenerating the webservice (WAR-file) with DBWS builder and redeploying it on WebLogic 10.3.6, calling the webservice results in a java.lang.reflect.InvocationTargetException.
    Restarting the WebLogic server (or the appropriate managed server) resolves the problem, what shouldn't be a problem in a development environment, but is not always possible in a production environment.
    The problem seems to be that redeploying the webservice doesn't result in the XR Operations/Queries being recreated and as a result the old result type definition is used.
    Has anybody a solution for this problem?
    Kind regards,
    Jan

    Hi,
    I checked the logging while redeploying the WAR file. This part of the output seems to indicate, as you suggested, that the EcliipseLink session is not correctly logged of (InstanceAlreadyExistsException):
    *** <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating redeploy operation for application, PLUS_WS [archive: P:\WS-I\eclipselink-2.4.0\runtime\eclipselink-2.4.1.v20120712-r11838\eclipselink\utils\dbws\output\PLUS_WS.war], to AdminServer .>
    *** <Notice> <Stdout> <BEA-000000> <[EL Warning]: server: 2012-09-03 16:40:16.598--ServerSession(28419523)--Thread(Thread[[ACTIVE] ExecuteThread: '22' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Problem while unregistering MBean: weblogic.management.NoAccessRuntimeException: Access not allowed for subject: principals=[], on ResourceType: Configuration Action: unregister, Target: null>
    *** <Notice> <Stdout> <BEA-000000> <[EL Config]: connection: 2012-09-03
    *** <Notice> <Stdout> <BEA-000000> <[EL Info]: connection: 2012-09-03 16:40:16.599--ServerSession(28419523)--Thread(Thread[[ACTIVE] ExecuteThread: '22' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--schapkaarten-dbws-or-session logout successful>
    *** <Info> <Deployer> <BEA-149060> <Module PLUS_WS.war of application PLUS_WS successfully transitioned from STATE_PREPARED to STATE_NEW on server AdminServer.>
    *** <Notice> <Stdout> <BEA-000000> <[EL Info]: connection: 2012-09-03 16:40:17.07--ServerSession(9455819)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--schapkaarten-dbws-or-session login successful>
    *** <Notice> <Stdout> <BEA-000000> <[EL Warning]: server: 2012-09-03 16:40:17.071--ServerSession(9455819)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Problem while registering MBean: javax.management.InstanceAlreadyExistsException: TopLink:Name=Development-schapkaarten-dbws-or-session,Type=Configuration>
    *** <Notice> <Stdout> <BEA-000000> <[EL Warning]: server: 2012-09-03 16:40:17.071--ServerSession(9455819)--Thread(Thread[[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Problem while registering MBean: javax.management.InstanceAlreadyExistsException: TopLink:Name=Session(schapkaarten-dbws-or-session)>
    What I cannot see, is: who is responsible for this logout? This must be clear so I know I have to log a bug for WebLogic or for EclipseLink.
    Anyone a suggestion how to determine this?
    Thanks,
    Jan

  • SAP BC 4.7 add package .

    Hi,
    can any body suggest me. i want to add two package in the BC 4.7.
    how i can add the package in the server please give me the process....
    Thanks

    you can add the pakages in Default package in SAP BC. With this you need to copy node and flow files in /ns folder
    example
    if you want to import a package name : Checklist
    then go to SAP BC installation folder and then go to /server.
    There you will find Default , SAP etc.
    Copy your packages to Default/ ns/
    and then restart Server and Developer, to make changes effective..

  • Help with simple PL/SQL package

    Hi, I'm trying to create a simple PL/SQL package to loop over a list of names and do some fuzzy pattern matching to attempt to clean up the data. Unfortunately..I don't know anything about PL/SQL, and hitting problems getting this to work. Could someone lend a hand?
    p.s.
    table TMP_UTL_MATCH_INPUT has a list of names to attempt matching in column called CLEAN_MERCHANT
    table TMP_UTL_MATCH_OUTPUT should hold the original input row # and value, a matching output row # and value, and calculated edit_distance and jaro_winkler similaritise
    table TMP_UTL_MATCH_STATUS is simply updated after each value so I can track how far in the process it's gotten (I suspect this algorithm will take a long time....)
    Thanks in advance for any help!
    Scott
    create or replace
    PROCEDURE "PROCESS_UTL_MATCH_DATA"("START_ROW" IN INTEGER DEFAULT 1) IS
    --initialize variables here
    num_rows integer;
    edit_distance_similarity number;
    jaro_distance_similarity number;
    -- main body
    BEGIN
    select count(*) into num_rows from tmp_utl_match_input;
    declare name_array as varray(num_rows) of varchar2(40);
    select clean_merchant into name_array from TMP_UTL_MATCH_INPUT;
    truncate table tmp_utl_match_status;
    insert into tmp_utl_match_status values (0);
    FOR i in 1..num_rows-1 LOOP
    FOR j IN i+1..num_rows LOOP
    edit_distance_similarity = utl_match.edit_distance_similarity(name_array(i), name_array(j));
    jaro_winkler_similarity = utl_match.jaro_winkler_similarity(name_array(i), name_array(j);
    if (edit_distance_similarity > 50 or jaro_winkler_similarity > 50)
    then
    insert into tmp_utl_match_output values (i, name_array(i), j, name_array(j), edit_distance_similarity, jaro_winkler_similarity);
    END IF;
    END LOOP;
    update tmp_utl_match_status set current_row_num = i;
    commit;
    END LOOP;
    EXCEPTION
    WHEN OTHERS THEN
    NULL; -- enter any exception code here
    END;

    If you would not defeat Oracle's ability to tell you what errors the procedure may raise, it could help you debug this easier. Do that by deleting or commenting out the EXCEPTION.
    Another issue I see is you're trying to call a DDL statement directly. You cannot truncate a table directly. Instead you need to use EXECUTE IMMEDIATE.
    Another issue I see is you have a DECLARE statement that has statements following it that are not declarations. Once your declarations are done, you need a BEGIN followed by code followed by END. Either that, or put your "name_array as varray(num_rows) of varchar2(40);" statement above your BEGIN.
    It would also help to list your version of Oracle, and any errors you've received so far. Arm us with the same information you have, it makes it easier for us to help you.
    Plus, put \ tags around your code, that will preserve the formatting.
    Such as:
    SELECT column1,
           column2,
           column3
      FROM some_table
    WHERE column1 > 1000
       AND column2 IS NOT NULL:
    as opposed to:SELECT column1,
    column2,
    column3
    FROM some_table
    WHERE column1 > 1000
    AND column2 IS NOT NULL:
    Edited by: Starlight Rider on May 5, 2011 1:04 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Oracle Reports with PL/SQL package in before Trigger

    I have an oracle report which is set to run as a concurrent program in Oracle Apps. My before report trigger calls a pl/sql package. I am debating using errbuf and retcode, since I have not defined the pl/sql package as a concurrent program. But if I do add errbuf and retcode to the pl/sql package parameters, how do I call them in the trigger.
    function BeforeReport return boolean is
    begin
    delete from XXDK_SAMS2_MEAN_RATIO;
    delete from XXDK_SALES_RATIO_TOTALS;
    commit;
    XXDK_SAMS2_SALES_RATIO_RPT_PKG.INSERT_SALES*(:errbuf, :retcode*, :neighborhood, :salefrom, :saleto, :verfrom, :verto, :tax,
    :deed1, :deed2, :deed3, :tran1, :tran2, :tran3, :accnttype);
    return (TRUE);
    end;
    And do I add errbuf and ret code as paramters in the registered setup?

    Hi,
    please see if the code in these documents help.
    Note: 73492.1 - Creating a PL/SQL Concurrent Program in Oracle Applications
    Note: 221542.1 - Sample Code for FND_SUBMIT and FND_REQUEST API's
    Regards,
    Hussein

Maybe you are looking for

  • Triggering END_OF_PAGE IN CLASSIC REPORT

    Hi Experts,                       I have one classical reporting in that END_OF_PAGE is not Triggered At last Page due to Less No of Records in last Page,can anyone tell me how to trigger END_OF_PAGE  . i want to display the page total for every page

  • HT1338 how can i update to latest display driver

    how can i update to latest display driver i hv mini mac with i5 8gb

  • Anamorphic Sequence to Widescreen DVD

    I having been working on a quick three minute project in FCE 3.0. It was captured in hdv, then after it was edited, I placed it into a DV Anamorphic sequence and rendered it. However when I export the anamorphic sequence as a quicktime movie to burn

  • How to reset security questions on apple id  i forgot them

    how to reset security questions on apple id  i forgot them

  • OD and local admin user

    I've setup some shares that are used by a few OD clients, but when I'm logged into the server as the admin user, I don't have any permission to those file/folders. Is there any way to over come this? I've created a group for the relevant users, but I