cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

STATICS data declaration

Former Member
0 Likes
1,747

Hi all,

When we declare the data declaration using STATICS and DATA.

What are the advantages using STATICS. why we use when we are creating generic extractors using FM.

Please let me.

Thanks and Regards

Satish

View Entire Topic
Former Member
0 Likes

Hi Satish,

you need static variables in generic extractors using FM because the function module is not called once but several times from BW (Once for initialization, then depending on size of data packages). Your extraction programm needs to keep some data from the initial call to be able to extract corectly in the next call. If you use standard (DATA) variables, they will be cleared again and again.

Hope that helps

Stephan