Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Database Related

Former Member
0 Likes
550

Which Command flushes database Buffer???

4 REPLIES 4
Read only

Former Member
0 Likes
522

Hi,

By flushing buffer do you want to select the values from database, in that case you can use <b>BYPASSING BUFFER</b> addition with select statement.

EX :

select *

from vbak

into table itab bypassing buffer

where vbeln eq s_vbeln.

Hope this helps.

Read only

Former Member
0 Likes
522

if you are using SELECT in the programs,

then you can add up the command BYPASSING BUFFER,

to skip fetching values from the BUFFER and to goto the database for that.

Regards

srikanth

Read only

Former Member
0 Likes
522

Hi,

... BYPASSING BUFFER

Reads the data records directly from the database, even if thetable is in the SAP buffer

TABLES SPROD.

SELECT * FROM SPROD BYPASSING BUFFER

WHERE PRODUCER = 'BOE'.

WRITE: / SPROD-STREET, SPROD-NAME, SPROD-POSTCODE,

SPROD-CITY, SPROD-COUNTRY.

ENDSELECT.

Regards

amole

Read only

Former Member
0 Likes
522

Hello,

Use 'BYPASSING BUFFER' in the select query.

Regards,

Shehryar