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 |
Explain the use of table maintenance allowed?
After the SESSION is created where is it stored?
In Sapscript , For example : I want to define font in Arial? And that font is not available in my system ? how can i get this font into my sapscript?
Can we use more than two field in SELECT-OPTION? For example Normally we get two field which is from and to fields, but i want to get more values.....
4 Answers Altrion Technologies,
what is the difference between user-exit & customer-exit?
Significance of Hide?
What is the exact difference between RFC and BAPI ?
How to debug a smartform otherthan putting break-point in initializatin section?
5 Answers BirlaSoft, IBM, KPIT,
What is logo in sap script?
What is Field group?
What is an ABAP data dictionary?
Explain what are extracts?