Problem with native SQL cursor in generic data source

Hi, All!
I am implementing generic data source based on FM.
Because of complicated SQL I canu2019t use Open SQL and RSAX_BIW_GET_DATA_SIMPLE-example u201Cas isu201D.
So, I have to use Native SQL. But Iu2019ve got a problem with a cursor. When I test my data source in RSA3, everything is Ok. But, if I start appropriate info-package, I get error u201CABAP/4 processor: DBIF_DSQL2_INVALID_CURSORu201D. It happens after selecting of 1st data package in line u201CFETCH NEXT S1 INTOu2026u201D. It seems to me that when system performs the second call of my FM the opened cursor has already been disappeared.
Did anyone do things like this and what is incorrect?
Is it real to make generic data source based on FM with using Native SQL open, fetch, closeu2026

Hi Jason,
I don't think this SQL is very valuable It is just an aggregation with some custom rules. This aggregation is performing on info-provider which consists of two info-cubes. Here we have about 2 billion records in info-provider and about 30 million records in custom db-table Z_TMP (certainly, it has indexes). I have to do this operation on 21 info-providers like this and I have to do this 20 times for each info-provider (with different values of host-variable p_GROUP)
SELECT T.T1, SUM( T.T2 ), SUM( T.T3 ), SUM( T.T4 )
        FROM (
                SELECT F."KEY_EVENT06088" AS T1,
                        F."/BIC/EV_COST" + F."/BIC/EV_A_COST" AS T2,
                        DECODE( D.SID_EVENTTYPE, 23147, 0,
                                                      23148, 0,
                                                      23151, 0,
                                                      23153, 0,
                                                      23157, 0,
                                                      23159, 0,
                                                      24896734, 0,
                                                      695032768, 0,
                                                      695029006, 0,
                                                      695029007, 0,
                                                      695036746, 0, F."/BIC/EV_COST") +
                          DECODE( D.SID_EVENTTYPE, 23147, 0,
                                                      23148, 0,
                                                      23151, 0,
                                                      23153, 0,
                                                      23157, 0,
                                                      23159, 0,
                                                      24896734, 0,
                                                      695032768, 0,
                                                      695029006, 0,
                                                      695029007, 0,
                                                      695036746, 0, F."/BIC/EV_A_COST") AS T3,
                        DECODE( D.SID_EVENTTYPE, 23147, F."/BIC/EV_DURAT",
                                                      23148, F."/BIC/EV_DURAT",
                                                      23151, F."/BIC/EV_DURAT",
                                                      23153, F."/BIC/EV_DURAT",
                                                      23157, F."/BIC/EV_DURAT",
                                                      23159, F."/BIC/EV_DURAT",
                                                      24896734, F."/BIC/EV_DURAT",
                                                      695032768, F."/BIC/EV_DURAT",
                                                      695029006, F."/BIC/EV_DURAT",
                                                      695029007, F."/BIC/EV_DURAT",
                                                      695036746, F."/BIC/EV_DURAT", 0) AS T4
                  FROM "/BIC/VEVENT0608F" F,
                       Z_TMP G,
                       "/BIC/DEVENT06085" D
                  WHERE F."KEY_EVENT06088" = G.ID
                        AND F."KEY_EVENT06085" = D.DIMID
                        AND G.GROUP_NO = :p_GROUP
                        AND ( F."/BIC/EV_COST" < 0 OR F."/BIC/EV_A_COST" < 0 )
                        AND D.SID_EVENTTYPE <> 695030676 AND D.SID_EVENTTYPE <> 695030678
                UNION
                SELECT F."KEY_EVNA06088" AS T1,
                        F."/BIC/EV_COST" + F."/BIC/EV_A_COST" AS T2,
                        DECODE( D.SID_EVENTTYPE, 23147, 0,
                                                      23148, 0,
                                                      23151, 0,
                                                      23153, 0,
                                                      23157, 0,
                                                      23159, 0,
                                                      24896734, 0,
                                                      695032768, 0,
                                                      695029006, 0,
                                                      695029007, 0,
                                                      695036746, 0, F."/BIC/EV_COST") +
                          DECODE( D.SID_EVENTTYPE, 23147, 0,
                                                      23148, 0,
                                                      23151, 0,
                                                      23153, 0,
                                                      23157, 0,
                                                      23159, 0,
                                                      24896734, 0,
                                                      695032768, 0,
                                                      695029006, 0,
                                                      695029007, 0,
                                                      695036746, 0, F."/BIC/EV_A_COST") AS T3,
                        DECODE( D.SID_EVENTTYPE, 23147, F."/BIC/EV_DURAT",
                                                      23148, F."/BIC/EV_DURAT",
                                                      23151, F."/BIC/EV_DURAT",
                                                      23153, F."/BIC/EV_DURAT",
                                                      23157, F."/BIC/EV_DURAT",
                                                      23159, F."/BIC/EV_DURAT",
                                                      24896734, F."/BIC/EV_DURAT",
                                                      695032768, F."/BIC/EV_DURAT",
                                                      695029006, F."/BIC/EV_DURAT",
                                                      695029007, F."/BIC/EV_DURAT",
                                                      695036746, F."/BIC/EV_DURAT", 0) AS T4
                FROM "/BIC/VEVNA0608F" F,
                     Z_TMP G,
                     "/BIC/DEVNA06085" D
                WHERE F."KEY_EVNA06088" = G.ID
                      AND F."KEY_EVNA06085" = D.DIMID
                      AND G.GROUP_NO = :p_GROUP
                      AND ( F."/BIC/EV_COST" < 0 OR F."/BIC/EV_A_COST" < 0 )
                      AND D.SID_EVENTTYPE <> 695030676 AND D.SID_EVENTTYPE <> 695030678
             ) T
        GROUP BY T.T1

Similar Messages

  • Mapping Problem with Native SQL query

    My application uses a native SQL query to locate certain entities. It looks like this:
    SELECT UPLOADATTEMPTREF, STUDENTNUMBER, USERID, WORKITEMCODE, WORKITEMINSTURN, WORKITEMTITLE, MODULERUNCODE, STUDENTNAME, SUBMISSIONDEADLINE, UPLOADATTEMPTSERVERDATE, FILENAME, UPLOADCOMPLETESERVERDATE, NEWFILENAME, FILESIZE, FILEPATH, DOWNLOADSERVERDATE, MODULECODE, MODULETITLE
    FROM Submission_Attempt WHERE UPLOADATTEMPTREF IN (
    SELECT uploadAttemptRef FROM (" +<br /><br />                         "SELECT MAX(uploadAttemptRef) AS uploadAttemptRef, UserID, workItemInstUrn, " +<br /><br />                         "workItemCode FROM Submission_Attempt where workiteminsturn = ?1 " +<br /><br />                         "GROUP BY UserID, workItemInstUrn, workItemCode) Table1 ) " +<br /><br />                         "and uploadCompleteServerDate is not null;"<br />
    My expectation was that EclipseLink would be able to handle the mapping of the results to the entity quite happily. However, I get a NonSynchronizedVector of Objects - each Object representing one field of data.
    I need help with either:
    Converting the above SQL into JPQL so that I (hopefully) don't have to worry about the SQL or
    Understanding why this isn't working properly...
    Anyone able to help?
    Edited by: phunnimonkey on Nov 6, 2008 3:33 AM

    Never mind - the problem was to do with not specifying a class when creating the native query.

  • Problem with Native SQL DB connection.

    Hi Gurus,
    Depending on the value of a  parameter (a or b)
    I create 2 connections.
    In both the cases connection is made as follows.
    EXEC SQL.
    CONNECT TO :CONNECTIONNAME AS :SY-UNAME.
    ENDEXEC.
    (Where connection name is different in both the cases & accessing DB table is also different).
    Now it gives me following dump when both the cases are executed one by one.
    EXSQL_ILLEGAL_CONNECTION
    How to avoid this dump ?
    Thanks in Advance,
    deepanadhi.

    You can't use SY-UNAME in the Native Sql, So give the DB connection name

  • Problem with delta update on customised export data source.

    Hi all BW gurus,
    I have created several customised export data sources in the R/3 system. And I have made use of the utility program <Z_CHANGE_DELTA_PROCESS> to update the ROOSOURCE table.
    While this can result in being able to do initial update (instead of full update), the subsuquent delta update is not working.
    In RSA7, the datasource is with green light and in RSA3, the extractor can extractor data out of it.
    Does anybody have some idea on this?
    I heard that there is a way to change the Business Transaction Event (BTE), but I don't quite understand how this is performed. And wonder if this is the only way out. To me, the triggering point would be the same, meaning the InfoPackage would be executed, then call the extractors in R/3 to extract the delta update in order to load into the InfoCube.
    And how do others do for executing delta update of the customised data source?
    Thanks a lot!!
    The utility program of <Z_CHANGE_DELTA_PROCESS>:
    =================================================
    report z_change_delta_process .
    *P_DATAS DataSource
    *P_DELTAP Delta Process for DataSource
    parameters:
      p_datas type roosource-oltpsource,
      p_deltap type roosource-delta.
    tables:
      roosource.
    data:
      ls_roosource type roosource.
      if p_datas(2) ne 'Z_'.
       message 'The DataSource needs to begin with ''Z_''.'  type 'E'.
      endif.
    select single * from roosource into ls_roosource
           where oltpsource = p_datas
           and objvers = 'A'.
    if sy-subrc eq 0.
       ls_roosource-delta = p_deltap.
       update roosource from ls_roosource.
    message 'The DataSource has been updated successfully.' type 'I'.
    else.
       message 'The DataSource entered is not valid, try again.' type 'E'.
    endif.

    Doesn't anyone have any idea on this topic?
    Appreciate for all the help. Thanks.

  • Problems with OC4J EJB deployment and the data-sources.xml file

    I am running 2 Windows 2000 Machines one with the 8.1.7 database another with iAS 1.0.2.2.1 and OC4J.
    I am trying to deploy a 3rd party EJB-based application whic seems to have deployed successfully except when I try to test the EJB deployment via a jsp it can't connect to the database, giving the error:
    1/16/02 4:52 PM VerySimple: Servlet error
    java.lang.NoClassDefFoundError: com.netexp.user.UserManagerHome
    at com.netexp.beans.BeanHelper.class$(Unknown Source)
    at com.netexp.beans.BeanHelper.getUserManagerBean(Unknown Source)
    at /very_simple.jsp._jspService(/very_simple.jsp.java:48) (JSP page line 27)
    at com.orionserver[Oracle9iAS (1.0.2.2.1) Containers for J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:54)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.HttpApplication.serviceJSP(HttpApplication.java:5459)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.JSPServlet.service(JSPServlet.java:31)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:508)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:177)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:576)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:189)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:62)
    I try to update the file using the installdatasource switch thus:
    C:\Oracle\iSuites\j2ee\home>java -jar admin.jar ormi://localhost admin adm_pwd -application apptricityII -installDataSource -jar %ORACLE_HOME%\jdbc\lib\classes12.zip -url jdbc:oracle:thin:@db_host.unitas.com:1521:db_name -connectionDriver oracle.jdbc.driver.OracleDriver -location jdbc/pool/OracleDataSource -username scott -password tiger
    And get the following error:
    Exception passing by from remote server: java.lang.InstantiationException: No class specified for jdbc/pool/OracleDataSource
    java.lang.InstantiationException: No class specified for jdbc/pool/OracleDataSource
    <<no stack trace available>>
    Error adding source: No class specified for jdbc/pool/OracleDataSource
    Please advise.
    I have followed the instructions in 'EJB Primer' and 'Using Oracle9iAS Containers for J2EE' to no avail. And I can't find any meaningfull data-sources.xml samples. I have been struggling with this for some time.
    Is there any other file, do I need to bind anything?
    I'd appreciate your assistance.
    Thank you
    Louiza

    Hi Louiza,
    Show us your web.xml and ejb-jar.xml files as well as your
    data-source.xml file.
    Thanks,
    Avi.

  • Selection in the Generic Data Source does not work

    Hi gurus,
    I have some problem with the selection in the Generic Data Source.
    I have created a view as a base of a Generic Data Source.
    This view is based on several table; i.e.: VBUK-VBELN (Sales Order number), VBAP-ERDAT (creation date of Sales Order), VBAP-POSNR (Sales order item), VBAK-BSTNK (Customer Purchase order number).
    In the view, some join conditions have been defined: VBUK-VBELN = VBAK-VBELN, VBUK-VBLN = VBAP-VBELN.
    I want to extract the Sales Order number, Sales order item and Customer Purchase order number for the Sales order created on the previous year.
    On the Generic Data Source, I select VBELN (Sales order number) and ERDAT (creation date of sales order) as selection.
    However, when I run the extractor checker (RSA3) on this Generic Data Source, the selection does not work at all, i.e.:
    eventhough I restricted the Sales order number and/or the creation date of sales order, the generic data source ignores the selection criteria and extract ALL data.
    Does anyone ever have similar problem? Did I miss some step in the Generic DAta Source creation? How to fix this problem?
    Thanks a lot in advance.
    Best regards,
    Fen

    Hi Fen,
    Just check what is the output you get for the same selection for the view you created.
    Bye
    Dinesh

  • How to set the delta for existing generic data source

    Hi BW Guru's
    I have a problem,actually i have a exsting generic data source"ZFRBHRCHY". Master data Object ZFRBHRCHY  is getting laoded from all some R/3 Clusters on a Daily Basis. It is full load and takes 4 to 5 Hours, but number of added records(2000) are very less,while total records are more(40Lks).For avoiding this larger load time every day,i want to implement delta extraction for this.
    How to implement this,(i want steps for this) .
    Thanks in advance,
    Regards
    reddy

    yeas agree with sanakar,
    this field which shankar is talking about must be entry date (if u delta timestamp is date, u will also have to mention this table field name in definition of delta), this means that this field will catch last change to the record, so that it will be delta enabled based on the latest change date. This is very important becuase if u use date like posting date to the delta then back dated posting will not captured in to the delta, as delta for this back date is already been done.
    Hope u understand this.

  • What is the problem with native dynamic sql when counting rows in all table

    what is the problem with native dynamic sql when counting rows in all table?Giving an error "table or view does not exist". Thanks.
    DECLARE
    v_sql_string varchar2(1000);
    v_no_of_rows number;
    BEGIN
    for i in ( select table_name from all_tables )
    loop
    v_sql_string := ' select count(1) from ' || i.table_name;
    dbms_output.put_line( v_sql_string );
    --execute immediate v_sql_string into v_no_of_rows;
    end loop;
    END;

    Usually your problem can be described with 'Who cares'. I mean, for what reason do you do this? I doubt that there's a business need to get 100 % accurate answers for this. Normally such things are used to get a picture about the growth of data.
    Personally I would prefer to have up-to-date statistics for all tables and just query the number of rows from there. Sufficient for me in < 99 % of all cases.
    Just my $ .02...

  • Performance for join 9 custom table with native SQL ?

    Hi Expert,
    I need your opinion regarding performance to join 9 tables with native sql. Recently i have to tunning some customize extraction cost  report. This report extract about 10 million cost of material everyday.
    The current program actually, try to populate the condition data and insert into customize table and join all the table to get data using native sql.
    SELECT /*+ ordered use_hash(mst,pg,rg,ps,rs,dpg,drg,dps,drs) */
                mst.werks, ....................................
    FROM
                sapsr3.zab_info mst,
                sapsr3.zab_pc pg,
                sapsr3.zab_rc rg,
                sapsr3.zab_pc ps,
                sapsr3.zab_rc rs,
                sapsr3.zab_g_pc dpg,
                sapsr3.zab_g_rc drg,
                sapsr3.zab_s_pc dps,
                sapsr3.zab_s_rc drs
            WHERE mst.zseq_no = :p_rep_run_id
            AND mst.werks = :p_werks
            AND mst.mandt = rg.mandt(+)
            AND mst.ekorg = rg.ekorg(+)
            AND mst.lifnr = rg.lifnr(+)
            AND mst.matnr = rg.matnr(+)
            ...............................................   unitl all table (9 tables)
            AND ps.mandt = dps.mandt(+)
            AND ps.knumh = dps.knumh(+)
            AND ps.zseq_no = dps.zseq_no(+)
            AND COALESCE (dps.kbetr, drs.kbetr, dpg.kbetr, drg.kbetr) <> 0
    It seems the query ask for database to using hashed table. would that be it will burden the database ? and impacted to others sap process ?
    Please advise
    Thank You and Best Regards

    you can only argue coming from measurements and that is not the case.
    Coming from the code, I see only that you do not understand it at all, so better leave it as it is. It is not a hash table, but a hash join on these table.

  • Generic Data Source Creation Problem....URGENT!!!!!!!!!!!!!

    Hello BW Experts...!
    I need to create a Generic Data Source out of a table called VBSEGK... I was trying in the usual way with RSO2 , but when I press save button after entering the Table name the following error is coming:
    " Invalid Extract Stucture Template VBSEGK of Data Source ZPARK_01"
    and when I click on the error message its showing
    Diagnosis
    You tried to generate an extract structure with the template structure VBSEGK. This operation failed, because the template structure quantity fields or currency fields, for example, field DMBTR refer to a different table.
    Procedure
    Use the template structure to create a view or DDIC structure that does not contain the inadmissable fields.
      VBSEGK is a standard table , so I cant change the Table structure. Can any one give me some idea of how to create Data source with this table ASAP ASAP please....
         Please ask me questions if you didnt get this...
    thanks

    Hi Harish,
    Please check OSS note 335342.
    Symptom
    The creation of a generic DataSource which is extracted from a DDIC view or a transparent table terminates with error message R8359:Invalid extract structure template &2 of Datasource &1
    Other terms
    OLTP, DataSource, extractor, data extraction, generic extractor
    Reason and Prerequisites
    The problem is caused by a program error.
    Solution
    The table or view used for extraction must have currency and unit fields within the field list of the table/view for all currency and quantity key figures.Otherwise the consistency of the extracted data cannot be ensured.To make the generation possible, check whether all key figures of your table refer to unit fields that are within the field list.If this is not the case, there are two possibilities:
    1. A table is used for extraction.
    Create a view in which you have a currency / unit field contained in the view for each key figure. The currency / unit field from the table must be included in the view to which the key figure actually refers.
    Example:
    Field WKGBTR of table COEP refers to the unit field WAERS of table TKA01. In a view that contains field COEP-WKGBTR, table TKA01 and field WAERS must be included in the field list.
    If the currency or the unit a key figure refers to is not located in a table but in a structure, the key figure has to be removed from the view and read via a customer exit (see below). Structures cannot be included in a view.
    ATTENTION!! Often the key of the table in which the referenced unit is located, does not agree with the key in the table with the corresponding key figure. In this case, the join condition of both tables is not unique in the view definition, that means for each key line of the table with the key figure, several lines of the table with the unit may be read: the result is a multiplying of the number of lines in the view by a factor corresponding to the number of lines that fit the key figure, in the unit table. To be able to deliver consistent data to a BW system, check whether the unit of the key figure in question should always have a fixed value. If yes then you can determine that in the view definition via 'GoTo -> Selection conditions'. If no, then you must proceed as follows:
    a) Remove the key figure from the view
    b) Define the DataSource
    c) Enhance the extract structure by key figure and unit for each append (Transaction RSA6)
    d) Add the key figure and the unit in a customer exit
    2. A view is already used for the extraction
    If it is not possible to obtain a unit of measure from a table on which the view is based, the unit field must be deleted from the field list.
    A note in relation to the upward compatibility of BW-BCT InfoSources: BW-BCT 1.2B was not yet able to check units and currency fields. For this reason, it is possible that InfoSources which were defined in the source system as of BW-BCT 1.2B must be redefined as of 2000.1 in the manner described above. However, checks are absolutely essential for the consistency of the extracted data.
    Regards,
    Praveen

  • Trouble with generic data source

    Dear Gurus,
    I've created a generic data sources using tx. rso2, based on the view ZTV_CONFLO, that is created based on two tables: ZTB_CONFLO and MSEG, there comes the problem. My table ZTB_CONFLO has 500 registries, and I'm using MSEG table in my view just to avoid problem with units, anyway, when I check to see the registries in the view there are muy 500 entries multiplied by the number of entries in MSEG table.
    Please how can I solve this problem, it is urgent.
    Best regards,
    Pilar Infantas.

    Pilar,
      1. Create a View on table ZTB_CONFLO.
      2. Select all required fields except PESCA(wht ever key figures giving problem).
      3. Create a Datasource using View created in the above Step.
      4. Enahnce Datasource from RSA6 by selecting DS in RSA6(Append Datasource).
      5. System will propose one technical name. Accept the Name. Press Enter.Provide the Description for Structure.
      6. Provide the Quntity and Unit Fields.
    Fields Name ZZECSCA "Provide DataElement from MSEG for any Quantity field
    ZZMEINS                   MEINS
    7. Save and Activate the Structure.
    8. Create user Exit to poopulate the Data through User Exit.
    Please check forum for User exit coding Tips. Let me know if you have any Questions.
    all the best.
    Regards,
    Nagesh Ganisetti.
    Assign points if it helps.

  • Query SAP Database with Native Sql.

    Hi,
    I would like to query the table MARA with native sql and return all headings and data
    Select * from MARA where MATNR = '00000000151515'          
    <i>I need this to be able to TEST my Sql statements.</i>
    In SqlServer you have the Query Analyser where I can do just this, but is there some nice in SAP Tool for this as well ?
    [Unfortanely I can't connect to SAP_U01 database from QA...]
    //Martin

    Hi Martin,
    maybe you give ST05 a try: last button gives the possibility to enter a SQL-statement directly - and for explanation it has to be executed (somehow).
    Regards,
    Christian

  • Has anybody had a problem with the mouse cursor lagging when navigating the drop down menus? this only started happening after a re-install. it only occurs in Photoshop elements 13 in the  photo editing section,and no other application. My mouse drivers a

    Has anybody had a problem with the mouse cursor lagging when navigating the drop down menus? this only started happening after a re-install. it only occurs in Photoshop elements 13 in the  photo editing section,and no other application. My mouse drivers are up to date.Any help or advice would be most welcome.

    Good day!
    Please post Photoshop Elements related queries over at
    http://forums.adobe.com/community/photoshop_elements
    and please read this (in particular the section titled "Supply pertinent information for quicker answers"):
    http://blogs.adobe.com/crawlspace/2012/07/photoshop-basic-troubleshooting-steps-to-fix-mos t-issues.html
    Regards,
    Pfaffenbichler

  • Generic Data source with Infoset Query

    Hi All,
    Please provide me the links or PPT's or Information or PDF's for the creation of the Generic Data source with Infoset Query or
    Please explain in clear steps how to create Generic Data source with Infoset Query.
    Thanks & Regards,
    Ravi

    Oopps...being a BI guy, always think of BW
    I have never created, though I will suggest to follow this:
    A query can be created to extract information from master records i.e Infotypes. For example, by creating a query , the data relating to an employee contained in various Infotypes can be extracted.
    Proceedure :
    Decide on the various Infotypes we want to make the query. Decide on the area where we want to query i.e Global area or Standard area. Standard area is client specific and globel area will include all clients.
    Menu : HR u2013 PM u2013 Admn - Information System - Adhoc Query
    Select area standard and select the user group already created
    Creation of new query :
    TC SQ03 - Select Environment u2013 Select Standard Area - Enter -- If new user group is to be created, enter name of the user group, click on create and enter necessary information and exit after saving
    TC SQ02 - Enter name of the Infoset u2013 Create u2013 enter name of Infoset - Data source -- > Table join by basis table u2013 give name of table e.g pa0000 - Enter - Click on insert table if we want to include more tables u2013 give name of table one by one and after finishing, place cursor on the joining lines and right click to delete unwanted relationships - check - and go back - field groups - include all table fields - click on generate button - go out
    TC SQ03 - Select user group - eg. Payroll
    Infoset - Enter name of newly created Infoset
    Assign users and Infosets - Assign infosets - put tick on payroll - save and go back
    TC PAAH - Expand the nodes and put tick on relevant fields depending upon necessity
    Save the query by giving the same name as infoset for easyness..
    Thanks...
    Shambhu

  • Problems with PL/SQL packages

    Hello,
    I face the following problem with PL/SQL stored procedures. The Oracle
    version is 8.0.5 on Windows NT 4. The PL/SQL package has a set of procedures and functions.
    The main procedure of the PL/SQL package is triggered from VC++ executable. If for some reason,
    an exception is caught in the stored procedure (like no_data_found
    exception), then the following problem occurs.
    If we try to trigger the stored procedure again through the VC++ executable,
    the variables in the stored procedures have the values as in the previous
    execution. They are not getting initialised. (The same database connection
    is used in VC++ executable).
    Currently, only if a new connection to the database is used , the problem is
    solved.
    Also, change in the input parameters of the procedure is not reflected, once the procedure fails because of any exception. Only the input which was given during the time of execution when the procedure failed,is considered.
    What could be the reason for this problem and how can this be corrected?
    Please send in your suggestions.
    Thanks and Regards,
    Ramya Priya
    null

    Hi Keith,
    I am connecting to the database as the package owner..
    I have noticed earlier that I have problems when capturing triggers also.. The content of one large trigger contains 36371 characters and when capturing it from DB, the content was truncated to 28020 characters in Designer.
    Our ideas with capturing the DB packages/procedures were to use the Designer as version control system.
    We wanted to have all objects used in a project in Designer.. entities, tables, triggers, packages, procedures, Forms files, etc. in order to make a configuration for a project release.
    Thank you,
    Claudia

Maybe you are looking for

  • How do I DELETE ENTIRE Library

    OK here is the detailed version. I have been in computer **** for four weeks and I want this over. This is one last try. I am so weary. I have had to wipe the drive and reinstall the system 4 times now. It began with 10.3.9, then 10.4.4 then 10.3.9 t

  • Synching iPad with exchange

    I am having a problem synching my appointments from my iPad to exchange. Everything I put on my iPad automatically sync's with exchange except for the calendar. Anybody have an idea where I am going wrong?

  • Issue while Reverse Engineering the HFM Application

    Hi, We are in the process of integrating HFM (11.1.2.2.0) with ODI (11.1.1.6) for metadata upload from ODI to HFM, and, I am getting the following error while reverse engineering to the HFM application. org.apache.bsf.BSFException: exception from Jyt

  • Extensions suddenly crashing PS CS6 for no apparent reason.

    They were working correctly yesterday, and now the presence of any extension, including 'Adobe Exchange,' will cause the entire application to hang once they are selected from their panel. This seems to be the case for any/all extensions (at least th

  • Track motion - working but AE stops responding so must force quit

    Hi, I'm on: AE CC 2014 v13.0 PC with Nvidia k4000 and 32GB RAM Working with 4k R3D footage. I'm using track motion (transform - position, scale and rotation) on a precomped layer that has 2 circle effects on black background. (I'm trying to extract w