What is the difference between occurs 0 and occurs 1?

Showing Answers 1 - 9 of 9 Answers

7santosh

  • Feb 21st, 2008
 

occurs is a key word which is use to create a internal table
when we r not sure h much memory should be allocated we pass on occurs 0 the system will allocate the memory .
 occurs 1 would create a initial memeory which doubles each time wehn it reaches its limit.

  Was this answer useful?  Yes

krishana

  • Jun 27th, 2008
 

occurs 0 is key a word in abap used to create memory in body area , when ever we declare occurs 0 the system will allocates 8bytes of memory and it keep incrementing the memory to 8bytes every time.

occucs 1 is a key word in abap used to create memory in body area of an internal table. it allocates memory for one records only, and keep incrementing every time by one record memory.

Mostely prefered one is occurs 1 , in order to reduce the wastage of memory.

vishnu vardhan

  • Aug 3rd, 2011
 

occurs 0- 0-250
occurs 1- 250-1000

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions