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 |
How many main windows will be there in a page window?
How to put page-breaks in smartforms?
What are the page windows?
Polindrome Program for string and Polindrome Program for numbers in ABAP
Difference between sap script and report?
How can one distinguish between different kinds of parameters? : abap modularization
How did you test the form u developed? How did you taken print?
Can you do enhancement in a table?
Explain the structure of a bdc sessions?
plz listen carefully sir,in alv reports how i insert logo into alv grid(if it is tcode 'oaer' )?tell me procedure, in the same report how insert background logo tell me the procedure please?
What specific statements do you using when writing a drill down report?
How to Modify the standard invoice and sales order form to generate purchase order for printing and upload the company logo. plz mention the detail coding Tahnks, Rahul