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

REUSE_ALV_LIST_DISPLAY - I_BUFFER_ACTIVE

Former Member
0 Likes
1,666

Hi,

Im modifying an standard program (RLINV020) to add fields to alv result, but I see that there's a property in REUSE_ALV_LIST_DISPLAY (I_BUFFER_ACTIVE) wich I don't know how it's works and what is the difference between activate and desactivate it.

Thanks in advance

Oscar

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
971

If i_buffer_active = 'X' then the fieldcatalog and other information will be retrieved from the buffer instead of what you pass to the function module.

REgards,

Ravi

Hi,

Im modifying an standard program (RLINV020) to add fields to alv result, but I see that there's a property in REUSE_ALV_LIST_DISPLAY (I_BUFFER_ACTIVE) wich I don't know how it's works and what is the difference between activate and desactivate it.

Thanks in advance

Oscar

4 REPLIES 4
Read only

Former Member
0 Likes
972

If i_buffer_active = 'X' then the fieldcatalog and other information will be retrieved from the buffer instead of what you pass to the function module.

REgards,

Ravi

Read only

0 Likes
971

And... How I know what is the content of the buffer?

Read only

0 Likes
971

Hi Oscar,

Whatever is being displayed currently(Before you make that i_buffer_active as space) is the content of the buffer.

It is like this.

for the first time, whatever is the fieldcatalog you pass, will be considered.

Every time from then, the same that which has beed displayed wiill be in the buffer.

If you don't want to change the code , but to clear the buffer, you have to run the program: BCALV_BUFFER_DELETE once.

then whatever changes you did will be affected in the output. From this point onwards, your field catalog will be stored in the buffer(Until you run the BCALV_BUFFER_DELETE program again).

Regards,

ravi

Read only

0 Likes
971

OK, thank you very much...

I'll change the code, then.