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 are datasets in abap?
What is the difference between bdc_open_group and bdc_open_dataset. : abap bdc
Why we do Version comparison?
What are dynamic modifications of a screen? explain in detail?
How to decide whether we can use BDC (OR) LSMW for a given transaction?
Explain the types of bdc's?
What are the types of table fields in the sap abap?
what is sorted table and Hash table?
3. What is table maintaince generator ? How do u do it ? Use of it ?
How do we debug sap script?
What do you mean by batch data communications programming?
What is the significance of delivery class? : abap data dictionary