Fetch next cursor/ invalid database interruption

Hi Experts,
I would appreciate your help for the following problem:
I am trying to develope something like that:
OPEN CURSOR ... WITH HOLD
loop at ...
         FETCH ... PACKAGE SIZE ... into lt_names
         insert table ZZ_XXXX ... from lt_names
         commit work
endloop.
in the second loop, the FETCH dumps raising the runtime error "Invalid interruption of a database selection"
Runtime Error          DBIF_RSQL_INVALID_CURSOR
Exception              CX_SY_OPEN_SQL_DB      
The cursor is opened "with hold".
Does anybody know, why does it dump?
Cheers
marmsg

Hi Thomas,
I have four entires in a custom z-table. During FETCH Statements, I use, PACKET SIZE, of 2.
Rough code is as follows:
OPEN CURSOR WITH HOLD w_dbcur1 FOR
SELECT * FROM ztable.
WHILE sy-subrc = 0.
FETCH NEXT CURSOR w_dbcur1 INTO TABLE i_notes PACKAGE SIZE p_pack. "Here packet size is of 2
IF sy-subrc = 0.
Calling some X BAPI Function module.
Calling BAPI_TRANSACTION_COMMIT Function module.
ENDIF.
ENDWHILE.
CLOSE CURSOR w_dbcur1.
Here the problem is, if I give packet size as 30,000, then program is working fine. If I am giving packet size as 2, which less than 4 entries in the table, The program dumps either at first execution of FETCH NEXT CURSOR statement or at the second time of FETCH NEXT CURSOR. Can you provide exact solution for this, and not the links please. Rewards will be provided.
Thanks,
Vijayanand.

Similar Messages

  • Fetch Next Cursor Short Dumps

    Hello All,
       I have the following code which short dumps after losing its cursor position. 
    OPEN CURSOR WITH HOLD dbcur FOR
          select * from ekpo where bukrs in s_bukrs2.
          do.
              FETCH NEXT CURSOR dbcur INTO table iekpo package size pkgsize.
              if sy-subrc <> 0.
                 close cursor dbcur.
                 exit.
              else.
                  perform ouput_to_text_file.
                  refresh: iekpo.
               endif.
          enddo.
    I have millions of records to be extracted and  simple select to an internal table causes memory problems.  Thus I need to extract a chunk of records write them to a text file, then get the next chunk. 
    Any suggestions?
    Thank you,
    Jerry

    GUI Download probably causes problem, writing to a dataset on app server might not cause the problem, maybe you want to try.
    Regarding the select, here is some pseudo code outlining what I mean:
    clear wa_ekpo.
    do.
      select * from ekpo into table lt_ekpo up to 10,000 rows
          where ebeln > wa_ekpo-ebeln or ( ebeln = wa_ekpo-ebeln and ebelp > wa_ekpo-ebelp )
          order by primary key.
      if sy-subrc ne 0.
        exit.
      endif.
      download lt_ekpo (appending to existing file)
      l_lines = lines( lt_ekpo ).
      read table lt_ekpo into wa_ekpo index l_lines.
    enddo.
    Will run for a while, but should not dump out
    Thomas

  • How to fetch n records at a time from a FM and then fetch next n records

    I have a report program which is calling a function module . This function module returns all the records from a table. As the table has millions of records, it cant be returned at a time. How can we return N records from a function module and then return Next n records .The Function module and the report program are in different system .
    Thanks in Advance.

    Use open cursor and fetch cursor.
    Check the program as in SAP Help.
    DATA: BEGIN OF count_line,
            carrid TYPE spfli-carrid,
            count  TYPE i,
          END OF count_line,
          spfli_tab TYPE TABLE OF spfli.
    DATA: dbcur1 TYPE cursor,
          dbcur2 TYPE cursor.
    OPEN CURSOR dbcur1 FOR
      SELECT carrid count(*) AS count
             FROM spfli
             GROUP BY carrid
             ORDER BY carrid.
    OPEN CURSOR dbcur2 FOR
      SELECT *
             FROM spfli
             ORDER BY carrid.
    DO.
      FETCH NEXT CURSOR dbcur1 INTO count_line.
      IF sy-subrc <> 0.
        EXIT.
      ENDIF.
      FETCH NEXT CURSOR dbcur2
        INTO TABLE spfli_tab PACKAGE SIZE count_line-count.
    ENDDO.
    CLOSE CURSOR: dbcur1,
                  dbcur2.
    Regards
    Kannaiah

  • ORA-12842: Cursor invalidated during parallel execution Database driver err

    Hi gurus,
    I have got an PL/SQL package in DWH environment and sometimes it generates the follwoing error message:
    ORA-12842: Cursor invalidated during parallel execution Database driver error...
    When I restart the process, it runs successfully.
    Any ideas about this behaviour?
    Regards
    Bernd

    More info needed.
    Which Oracle version?
    Are you running up against a known bug? Check metalink.
    Cheers,
    Colin

  • DB Tools Fetch Next Recordset

    I am having trouble iterating through the set of recordsets returned from a query that returns multiple tables.  I am using the DB Tools Fetch Next Recordset.vi in a loop to iterate through recordsets until they have all been processed.  One problem I have is that there is no indication that you have iterated past the end of recordsets.  DB Tools Fetch Next Recordset does not produce an eof type indication like you get when iterating through records in a recordset.
    My code is attached:
    1.  Open a database and execute a query that returns more than 1 table (SELECT * FROM tblA SELECT * FROM tblB)
    2.  Fetch the current recorset data and store in array.
    3.  Use DB Tools Fetch Next Recordset to move to the next recordset.
    Question:  What is the stop condition to test for?
    Errors propogate through to the close vi which reports:
    Error 97 occurred at Rec Get Recordset Properties (R).vi->Rec Fetch Recordset Data (R).vi->Untitled 1
    Possible reason(s):
    Unknown System Error in Rec Get Recordset Properties (R).vi->Rec Fetch Recordset Data (R).vi->Untitled 1
    Any help or example for navigating recordsets?
    Thanks,
    -cb
    Attachments:
    Iterate recordsets3.png ‏21 KB

    Hi, 
    I have a sql query in labview 2011 and i receive a lot of recordsets from it, i can group all records in arrays but i have the same error at the last cycle (i think is normal because it lost each recordset when i use fetch next recorset so the last cycle is consider like EOF and BOF at the same time) but i have other issues, when i tried to free the connection it appear error code 1045 about Rec Destroy and using the execution trace toolkit there are a lot of References Leak, i think maybe one per cycle.
    My results are the expected but i have this problems.
    I did a very simple example to reproduce my problems, it can use any sql db connection because it doesnt query colunms or  data and presents  the same things.
    Thanks for your time
    Attachments:
    fecthallrecordset.JPG ‏83 KB
    problems.JPG ‏71 KB

  • ORA-12842: Cursor invalidated during parallel execution

    Hi,
    Database version: 9.2.0.6.0
    OS : Red Hat AS 3.
    I encountered this problem lately in one of our scripts.
    The error message shows:
    BEGIN SP_RPT77B_V2(SYSDATE -1); END;
    ERROR at line 1:
    ORA-12842: Cursor invalidated during parallel execution
    ORA-06512: at "REPORTADMIN.SP_RPT77B_V2", line 273
    ORA-06512: at line 1
    Elapsed: 00:02:49.60
    Does anyone have any clues on what does this error messages means? Is there a way to rectified the problem?
    Any advise, thanks.

    Hi!
    Check the error description --
    ORA-12842 schema modified during parallel execution
    Cause: Schema modified during the parse phase of parallel processing.
    Action: No action required.
    And the other error is --
    ORA-06512 at string line string
    Cause: Backtrace message as the stack is unwound by unhandled exceptions.
    Action: Fix the problem causing the exception or write an exception handler for this condition. Or you may need to contact your application administrator or database administrator.
    Regards.
    Satyaki De.

  • "Fetch Next from" very slow

    Hi all ~ There is a cursor inside a store proc. and at the middle of the loop, became extreamly slow..
    and I look into "sysprocesses"
    "Fetch Next from cursor_name" SUDDENLY uses huge logical read.~~~~
    I am using SQL 2008 R2 SP2 .
    Anyone meet this kind of case before ?

    Hi sakuri_db,
    I’m writing to follow up with you on this post. Was the problem resolved after performing our action plan steps? If you would like to, you can post a reply to share your solution and I will mark it as answer. That way, other community members could benefit
    from your sharing. If it is not resolved, as other post, please post more information or code for analysis.
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Cursor invalidation WITHOUT DDL statements

    Hi, all.
    The db is 11.2.0.3 on a linux machine.
    As we know, ddl statements on database objects cause cursror invalidation.
    A number of cursor invalidation WITHOUT ddl statements means that shared pool is too small?
    The following is a part of AWR report.
    Library Hit % is near to 100%, but I can find a number of cursor invalidation from v$sql view.
    What could cause cursor invalidation except ddl statements?
    Instance Efficiency Percentages (Target 100%)
    Buffer Nowait %: 100.00 Redo NoWait %: 99.99
    Buffer Hit %: 99.39 In-memory Sort %: 100.00
    Library Hit %: 100.02 Soft Parse %: 99.99
    Execute to Parse %: 86.93 Latch Hit %: 99.39
    Parse CPU to Parse Elapsd %: 91.51 % Non-Parse CPU: 97.42 Thanks in advance.
    Best Regards.

    869578 wrote:
    Hi, all.
    The db is 11.2.0.3 on a linux machine.
    A number of cursor invalidation WITHOUT ddl statements means that shared pool is too small?
    That could cause reloads, but not invalidations.
    A possible cause of invalidations on your system could be that the number of child cursors for a parent has become too large.
    The following is a part of AWR report.
    Library Hit % is near to 100%, but I can find a number of cursor invalidation from v$sql view.The library cache portion of the AWR would be the relevant bit if you think you have a problem with invalidations.
    The instance efficiency is virtually useless at the best of times,http://jonathanlewis.wordpress.com/2006/12/27/analysing-statspack-2/ it's irrelevant in this case.
    Regards
    Jonathan Lewis

  • Fetching from cursor

    Hello all.
    How can i enforce the sql+ start fetching first cursor field by
    one field intervals?
    My sql+ starts fetch from the second item by 2 records intervals,
    so the 4th record is the next one to fetched after the second.
    best regards
    yosi sarid.

    Hi,
    could you please show us the where clause of the cursor?
    I think you are missing something.
    Another fault in your Code is the x_commit_count.
    You increment it every time, but you never set it to zero again. So after 100 inserts, it commits after each loopstep.
    Is this what you want???
    DECLARE
    CURSOR c_cursor IS SELECT * FROM TABLE_A@REMOTE, TABLE_B@REMOTE WHERE...
    x_commit_count NUMBER := 0;
    BEGIN
    FOR r_record IN c_cursor LOOP
    INSERT INTO LOCAL_TABLE;
    x_commit_count := x_commit_count + 1;
    IF x_commit_count >= 100 THEN
    COMMIT;
    ELSE
    NULL;
    END IF;
    END LOOP;
    END;
    HTH
    Detlev

  • Can't insert recors fetched by cursor in the table

    HI
    i am fetching records from my table total_budget.All the fetched records are displayed in a tabular data block(data block name is forecast_result).Now i want to insert these record fetched by cursor in my table forecast_resul which is empty.how can i do it.I am sending the code if any one can help............
    When i execute this code it give me error unable to insert(FRM-40508) .I have carefully checked table columns names and their data types.All r fine but i dont know y it is not working.Here is the code
    DECLARE
    cursor c1 IS
    SELECT ministry_id,fiscal_year ,t_amount
    FROM total_budget
    WHERE ministry_id=:global.var11 AND (fiscal_year BETWEEN :syear and :eyear);
    BEGIN
    T_XSUMX := 0;
         OPEN C1;
         X:=1;
         SUMX := 0; SUMY := 0; SUMXY:=0; SUMX2 := 0;
         go_block('forecast_result');
         first_record;
         LOOP
              FETCH C1 INTO Y1,Y2,Y;
              EXIT WHEN C1%NOTFOUND;
              SUMY := SUMY +Y;
              XY := X*Y;
              X2 := X*X;
              SUMX := SUMX + X;
    SUMXY := SUMXY + XY;
              SUMX2 := SUMX2 + X2;
                   :forecast_result.ministry_id:=Y1;
                   :forecast_result.fiscal_year:=Y2;
              :forecast_result.t_amount:=Y;
         NEXT_RECORD;
              X := X + 1;
         END LOOP;
         close C1;
    z:=X-2;
         X_BAR := z;
         X := z+1;
         T_XSUMX := X * SUMX;
         T_SUMY := SUMY * SUMX;
         T_SUMX := SUMX * SUMX;
         T_SUMXY := SUMXY * X;
         T_SUMX2 := SUMX2 * X;
         R1 := T_SUMY - T_SUMXY;
         R2 := T_SUMX - T_SUMX2;
         B := ROUND(R1/R2,1);
         A := ROUND((T_SUMXY -(T_SUMX2*B))/T_XSUMX,1);
         Y_BAR := A+(B*X_BAR);
    :forecast_result.ministry_id:=Y1;
    :forecast_result.fiscal_year:=Y2;
    :forecast_result.t_amount:=Y_BAR;
    next_record;
         insert into forecast_result
         values(:forecast_result.ministry_id,:forecast_result.fiscal_year,:forecast_result.t_amount);
         commit;
    END;
    Can anyone tell me wat i am doing wrong
    looking for instant reply
    nida

    Hi alma,
    Plz u dnt wrt babytalk rr SMS-language -> mi! Becoz mi don lejk dat.
    I suppose that your data block "forecast_result" are based on the table of the same name. Otherwise this may be the cause of some of your trouble.
    Your code would properly work better like this:
    DECLARE
      X NUMBER(38);
      SUMX NUMBER(38);
      SUMY NUMBER(38);
      Y NUMBER(38) ;
      Y1 varchar2(10);
      Y2 varchar2(10);
      X2 NUMBER(38);
      XY NUMBER(38);
      SUMXY NUMBER(38);
      SUMX2 NUMBER(38);
      X_BAR NUMBER(38);
      Y_BAR NUMBER(38);
      T_SUMY NUMBER(38);
      T_SUMX NUMBER(38);
      T_SUMXY NUMBER(38);
      T_SUMX2 NUMBER(38);
      T_XSUMX NUMBER(38);
      R1 NUMBER(38);
      R2 NUMBER(38);
      A NUMBER(38);
      z number(38);
      B NUMBER(38);
      final number(38);
      -- Just curious, where does :syear and :eyear come from ??
      cursor c1 IS
       SELECT ministry_id, fiscal_year, t_amount
        FROM total_budget
       WHERE ministry_id=:global.var11
         AND (fiscal_year BETWEEN :syear and :eyear);
    BEGIN
      T_XSUMX := 0;
      X:=1;
      SUMX := 0;
      SUMY := 0;
      SUMXY:=0;
      SUMX2 := 0;
      go_block('forecast_result');
      -- If you're making this dynamically, then clear the block to start with.
      clear_block(NO_COMMIT);
      first_record;
      OPEN C1;
      LOOP
        FETCH C1 INTO Y1, Y2, Y;
        EXIT WHEN C1%NOTFOUND;
        SUMY := SUMY + Y;
        XY := X*Y;
        X2 := X*X;
        SUMX := SUMX + X;
        SUMXY := SUMXY + XY;
        SUMX2 := SUMX2 + X2;
        :forecast_result.ministry_id := Y1;
        :forecast_result.fiscal_year := Y2;
        :forecast_result.t_amount := Y;
        -- NO, this will not work. You have to CREATE the record. You only get the
        -- first record for "free". Next_Record moves to allready existing records.
        -- NEXT_RECORD;
        Create_Record;
        X := X + 1;
      END LOOP;
      close C1;
      z := X - 2;
      X_BAR := z;
      X := z + 1;
      T_XSUMX := X * SUMX;
      T_SUMY := SUMY * SUMX;
      T_SUMX := SUMX * SUMX;
      T_SUMXY := SUMXY * X;
      T_SUMX2 := SUMX2 * X;
      R1 := T_SUMY - T_SUMXY;
      R2 := T_SUMX - T_SUMX2;
      B := ROUND(R1/R2,1);
      A := ROUND((T_SUMXY -(T_SUMX2*B))/T_XSUMX,1);
      Y_BAR := A+(B*X_BAR);
      -- What are you doing here ?? This is weird. The population of the records are done in
      -- the loop ! You don't have to add anything here.
      -- :forecast_result.ministry_id:=Y1;
      -- :forecast_result.fiscal_year:=Y2;
      -- :forecast_result.t_amount:=Y_BAR;
      -- Since your data block (hopefully) are based on the table of the same name, you DON'T
      -- need to do this. You just have to press the commit button (or F10 or the floppy disk
      -- icon or what-ever).
      -- insert into forecast_result
      -- values(:forecast_result.ministry_id,:forecast_result.fiscal_year,:forecast_result.t_amount);
      -- commit;
    END;

  • How to fetch records from the database into a combo box?

    Hi:
    I&acute;m really new with ABLBPM and I&acute;m trying to fetch records from the database to display them into a combo box as valid values for a presentation but I&acute;m using a dynamic method with this code:
    <em>for each row in SELECT campo1, campo2 from TABLE</em>
    <em>do</em>
    <em>solicitudes[] = [row.campo1, row.campo2]</em>
    <em>end</em>
    <em>return solicitudes
    </em>And the debugger says that SQL instructions can be used only in fuctions and procedures that are executed on the server.
    Do you know another way to do it?
    P.D. Sorry for my terrible english
    Greetings

    Hi Steve,
    Thank you, your idea is perfect, but when I try to run the screenflow where the combo should be filled I get this error:
    fuego.lang.ComponentExecutionException: No se ha podido ejecutar correctamente la tarea.
    Motivo: 'java.lang.NullPointerException'.
         at fuego.web.execution.InteractiveExecution.setExecutionError(InteractiveExecution.java:307)
         at fuego.web.execution.InteractiveExecution.process(InteractiveExecution.java:166)
         at fuego.web.execution.impl.WebInteractiveExecution.process(WebInteractiveExecution.java:54)
         at fuego.webdebugger.servlet.DebuggerServlet.redirect(DebuggerServlet.java:136)
         at fuego.webdebugger.servlet.DebuggerServlet.doPost(DebuggerServlet.java:85)
         at fuego.webdebugger.servlet.DebuggerServlet.doGet(DebuggerServlet.java:66)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
         at fuego.web.execution.servlet.ServletExternalContext.forwardInternal(ServletExternalContext.java:197)
         at fuego.web.execution.servlet.ServletExternalContext.processAction(ServletExternalContext.java:110)
         at fuego.webdebugger.servlet.DebuggerExecution.dispatchComponentExecution(DebuggerExecution.java:64)
         at fuego.web.execution.InteractiveExecution.invokePrepare(InteractiveExecution.java:351)
         at fuego.web.execution.InteractiveExecution.process(InteractiveExecution.java:192)
         at fuego.web.execution.impl.WebInteractiveExecution.process(WebInteractiveExecution.java:54)
         at fuego.web.execution.InteractiveExecution.process(InteractiveExecution.java:223)
         at fuego.webdebugger.servlet.DebuggerServlet.doDebug(DebuggerServlet.java:148)
         at fuego.webdebugger.servlet.DebuggerServlet.doPost(DebuggerServlet.java:82)
         at fuego.webdebugger.servlet.DebuggerServlet.doGet(DebuggerServlet.java:66)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    Any ideas??
    Thanks and greetings

  • Why the err Invalid database Connection -CR 11 version in Visual studio 1.1

    Hai all,
    I am new to using the Crystal report with Visual studio 2003.I am facing Invalid database connection problem. My objective is tyring to upgrade CR 8 to CR11 with VS 1.1 framework(VC++ in .NET 2003).All things like ODBC connection with MS SQL server 2005,generating report going fine with CR8 version  but invalid database connection error comes with CR11 version. The configuration details and Code snippet are below for your ref,
    Upgrading CR8 to CR11 with VS .NET 2003.
    Application framework - VS 1.1 framework
    CR                            - 11 Version
    DB                            - MS SQL server 2005
    Connection                - ODBC
    DLL                          - CRPE32 DLL (Version11)
    Code snippet:
    CODBCDatabase * pDatabase = pApp->GetDatabase();
    BOOL bRes;
    bRes = ::PELogOnSQLServerWithPrivateInfo(_T("pdsodbc.DLL"), pDatabase->m_hdbc);
    Note: pdsodbc dll not found in local and anywhere.But it supports CR 8 but not CR 11.So i downloaded and put it in appropriate place exe path\system32\system and tested.Used and tested p2sodbc dll also but "Invalid DataBase connection" err came.Followed some instruction like changing the Data source name,DSN path,re installing CR 11 version and all but same problem coming.
    ::PELogOnSQLServerWithPrivateInfo() declation is in the following link
    http://www.arcaretentores.com.br/FTP/Format/Report/ProgramF/SEAGAT~1/CRW/DEV/Help/HTML/12a_0708.htm
    Thanks in advance
    Regards
    SatheeshKumar
    India.

    Thanks for your reply
       The API i have given is not available in Crystal report 11.So i tried with the PELogonServer API of version 11.It also failed.
      I am unable to understand the suggestions you gave to me 1) The Report Designer Component (RDC)
    2) The CR Assemblies for .NET.
    Can you give any link that have related samples or articles to implement the above topics please?
    Thanks again,
    Satheesh Kumar.D

  • How to fetch data from single database table using 2 internal tables.

    Hi friends,
    i am a new user of ABAP and also SDN.
    i need a help. 
    i want to fetch data from one database table based on primary keys of 2 internal tables.  how to put in where clause.
    Thanks in advance.

    hii
    refer to following code ..i hope it will help you
    SELECT matnr                         " Material Number
        FROM mara
        INTO TABLE i_mara
       WHERE matnr IN s_matnr.
      IF i_mara[] IS NOT INITIAL.
        SELECT matnr                       " Material Number
               werks                       " Plants
               prctr                       " Profit Center
          FROM marc
          INTO TABLE i_marc
           FOR ALL ENTRIES IN i_mara
         WHERE matnr = i_mara-matnr
           AND werks IN s_werks.
      ENDIF.                               " IF i_mara[] IS NOT INITIAL
      i_output = i_marc.
      IF i_marc[] IS NOT INITIAL.
        SELECT matnr                       " Material Number
               werks                       " Plants
               lgort                       " Storage Location
          FROM mard
          INTO TABLE i_mard
           FOR ALL ENTRIES IN i_marc
         WHERE matnr EQ i_marc-matnr
           AND werks EQ i_marc-werks
           AND lgort IN s_lgort.
      ENDIF.                               " IF i_mara[] IS NOT INITIAL
    regards
    twinkal

  • Af:table fetching next range of data

    Hi!
    I have a table component on jsf page, property RangeSize set to 25(default). Now I want to invoke a method from my managed bean each time when is fetching next range of data of ViewObject(next 25 rows). But how can I invoke this method? Does anybody have such example?
    Thanks for answers.
    Jdeveloper version: 11.1.2.2.0
    Regards, Stanislav

    Hi, John!
    Ok :)
    I have a transient attribute on ViewObject. Now this attribute calculates by groovy expression. (adf.object.applicationModule.method1 invokes on each row). The problem is that this method isn't trivial and it has some common calculations and some specific calculations for current view row. Now I wan to speed up this thing. I wrote a method in manage bean, that does executes logic like on adf.object.applicationModule.method1. But I divided common calculations(now they have performed once) and specific calculations for current view row(now they have performed in cycle). It calculates faster, but only for first 25 rows. When I fetch next 25 rows, this method doesn't invoke. So, I want to invoke this method after fetching next range of data :) With first variant I don't have a problem with calculation after fetching next range of data.
    Regards, Stanislav
    Edited by: Stanislav on 17.10.2012 10:01

  • Fetching value using Logical Database

    Hi
    I have some fields in my selection screen apart from the selection screen obtained from my logical database.
    Kindly let me know how to fetch data from logical database.
    My requirement is this:
    I have to select company code from T001 based on entry frm selection screen .
    with the obtained company code along with other fields from dynamic selection screen I have to fetch value from Lfb1.
    Kindly let me know how to do this
    Thanks
    Yamini

    use f.m LDB_PROCESS....
    refer demo program DEMO_LOGICAL_DATABASE

Maybe you are looking for

  • ERROR install oracle database 10gR2 in solaris sparc 64

    Dear All, I got error when installing oracle database 10gR2 on solaris sparc 64. these are the messages: /usr/ccs/bin/make -f ins_precomp.mk relink ORACLE_HOME=/usr/app/oracle/product/10.2.0/db_1 EXENAME=proc/Linking /usr/app/oracle/product/10.2.0/db

  • Standaard workflow content

    Hi guru's, I'm looking for documentation on standard SAP workflow content and reporting possibilities. I need all available documentation on standardly available content and reporting possibilities concerning workflow in SAP. Can some of you provide

  • Error in Business Rule Decision Service's wsdl

    Hi, Getting strange error which i am unable to sort out. Pleaseeee help. Error message is "Error Message: {http://xmlns.oracle.com/OrderPORules/OrderPORules_DecisionService_1}operationErroredFault Fault ID default/OrderBooking!1.0*soa_e118292f-eb55-4

  • Help!!! My Nokia N70 ME headset AD-41 play/pause/f...

    My Nokia N70 ME headset AD-41 play/pause/fw/bw button won't work. I have tried to plug this headset in to the other N70 ME and it's work completely fine. Only on my N70 Me, I can still hear the music but the button of the headset won't work even thou

  • Work with Directory in EP

    Hi all, I have a repository service, this sends notifications to all documents approvals,  i'm trying to create a xml at runtime but i get a problem when I tried to get the xsl location, I need to access a file which is stored within my project itsel