Skip to Content
0
Former Member
May 27, 2008 at 07:17 PM

Function Module extractor extracting as a Single Package?

213 Views

Hi All,

I have created a generic function module extractor, which works fine, but extracts all the records in a single package. The default is set in SBIW as 50000 records. But right now I have only 2500 records. But I changed the packet size to 100 in my info package setting and also specified as 100 with in the function module.

But still I get all the data come as a single package of 2500. I want to make sure that this extractor will not create any problem in production, so I want to test the data packet size. Any suggestion. I have used he standard function module DATASIMPLE and I do setup I_MAXSIZE as 100 in the IMPORT parameter in the function and hav ethe following code in the function module...

.....

APPEND mgremp_stru to E_T_DATA.

mseq = mseq + 1.

if mseq = 100.

G_COUNTER_DATAPAKID = G_COUNTER_DATAPAKID + 1.

mseq = 0.

endif.

endloop.

IF SY-SUBRC <> 0.

RAISE NO_MORE_DATA.

ENDIF.

S_COUNTER_DATAPAKID = S_COUNTER_DATAPAKID + 1.

Any Suggestions?

Thx,

Alex.