what is difference between occurs1 and occurs2?
Answers were Sorted based on User's Feedback
Let me correct u Siddharth,
Its not correct that when u use occurs 1 or occurs 2 u
cannot append more values than that, if u use that memory
up, system automatically allocates enough memory so that
the internal table can hold more records.
And as far as occurs 0 is concerned when u use
occurs 0, system allocates 8kb memory from the paging area
unnecessarily, if u intend to retrieve less rows then its
better to write some value on occurs clause.
There is only one case where occurs clause limits the
number of rows that can be added to an internal table, i.e,
when we use APPEND SORTED BY.
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / siddharth samal
if its occurs 1 then only one record will be copied to the
internal table among the total number of entries selected
as the selection is restricted by the internation table.
if its occurs 2 then only 2 lines would be displayed or
fetched to the internal table.
if you know the number of lines then you can specify that
in OCCURS statemnt that would take that much of space but
if not sure then its better to take OCCURS 0.
Is This Answer Correct ? | 1 Yes | 3 No |
what is BAPI?
6 Answers FutureSoft, IntelNet, jusco,
does select single *.. / select * .. affect performance ? how?
What are the different kinds of lock modes?
What are the different types of internal table?
What is the max no of match code id's that can be defined for one match code object? : abap data dictionary
How to upload data using catt ? : abap hr
How do we handle multiple line items in BDC's.
In Scripts How to maintain value like 1234- instead of -1234?
how to track records from data dictionary?
What are aggregated objects
what is the difference between master, transactional and customised data
Events used in Interactive Reports?