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

Package Size Statement

Former Member
0 Likes
1,141

Hi Friends,

What is the advantage of using package size along with select querry or when do we use it?Pls brief with scenario.

1 ACCEPTED SOLUTION
Read only

viquar_iqbal
Active Contributor
0 Likes
1,103

Hi

Package size is use to allot an initial size to the internal table declared

Package size can be used to retreive a spcific number of records at a time. This can be used if you for example only want tofinish processing a limited amount of data at a time due to lack of memory.

7 REPLIES 7
Read only

viquar_iqbal
Active Contributor
0 Likes
1,104

Hi

Package size is use to allot an initial size to the internal table declared

Package size can be used to retreive a spcific number of records at a time. This can be used if you for example only want tofinish processing a limited amount of data at a time due to lack of memory.

Read only

Former Member
0 Likes
1,103

Hi,

We will use package size so that we can send the data by peices.If we have large amount of data then define the packet size and send the data with that packet size.

Regards,

jaya

Read only

Former Member
0 Likes
1,103

Hi,

package size give you initial memory size.

It is very usefull when you are fetching huge records to the internal table, in this case by this statement you can restrict dump which may occure due to table space overflow .

Thanks

Pinaki

Read only

Former Member
0 Likes
1,103

Hi Hosmath,

Refer the following link:

Regards,

Nitin.

Read only

Former Member
0 Likes
1,103

Hi,

if you use package size option in select, you have to use selecte-endselect compulsorily.

Package size determines the Total # of records that will be picked up in the First loop.

Regards

Rajesh Kumar

Read only

Former Member
0 Likes
1,103

hi,

see this link

Package size only makes sense if there is another processing afterwards.

thanks

Read only

0 Likes
1,103

thanks friends,rewarded.