Ansicht
Dokumentation

ABENOPEN_CURSOR_ABEXA - OPEN CURSOR ABEXA

ABENOPEN_CURSOR_ABEXA - OPEN CURSOR ABEXA

rdisp/max_wprun_time - Maximum work process run time   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

OPEN CURSOR, Read Data Using Cursor

The example shows how to read data using the cursor.

Source Code

Execute

Description

Opens two cursors for the tables SPFLI and SFLIGHT. Since both tables are associated using a foreign key dependency, a nested loop can be defined across the tables by sorting the selection by the primary key. The system then reads the data of the inner loop depending on the data of the outer loop. This way of programming is more efficient than using nested SELECT loops, since the cursor for the inner loop does not need to be reset again and again. In a group level change in the inner loop, the system buffers the data read until the next loop pass since it is not possible to reset the cursor.






RFUMSV00 - Advance Return for Tax on Sales/Purchases   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 891 Date: 20240424 Time: 095600     sap01-206 ( 26 ms )