ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  ERP CRM  >>  SAP  >>  ABAP
 
 


 

 
 Basis interview questions  Basis Interview Questions
 ABAP interview questions  ABAP Interview Questions
 SAPScript interview questions  SAPScript Interview Questions
 SD interview questions  SD Interview Questions
 MM interview questions  MM Interview Questions
 QM interview questions  QM Interview Questions
 PP interview questions  PP Interview Questions
 PM interview questions  PM Interview Questions
 PS interview questions  PS Interview Questions
 FI CO interview questions  FI CO Interview Questions
 HR interview questions  HR Interview Questions
 SAP CRM interview questions  SAP CRM Interview Questions
 SRM interview questions  SRM Interview Questions
 APO interview questions  APO Interview Questions
 Business Warehouse interview questions  Business Warehouse Interview Questions
 Business Workflow interview questions  Business Workflow Interview Questions
 SAP Security interview questions  SAP Security Interview Questions
 SAP Interfaces interview questions  SAP Interfaces Interview Questions
 Netweaver interview questions  Netweaver Interview Questions
 SAP ALE IDocs interview questions  SAP ALE IDocs Interview Questions
 SAP B1 interview questions  SAP B1 Interview Questions
 SAP AllOther interview questions  SAP AllOther Interview Questions
Question
what is difference between occurs1 and occurs2?
 Question Submitted By :: Girish
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is difference between occurs1 and occurs2?
Answer
# 1
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 ?    0 Yes 1 No
Siddharth Samal
 
  Re: what is difference between occurs1 and occurs2?
Answer
# 2
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 ?    0 Yes 0 No
Abhinandan Alandkar
 
 
 

 
 
 
Other ABAP Interview Questions
 
  Question Asked @ Answers
 
what are the different event functions used in SAP Scripts?  1
which table stores the online messages? Cap-Gemini1
am facing problem in inserting multiple data from user defined selection screen to internal table can anyone tel me any small code tht can insert multple data from screen to inernal table. thanks in advance.  1
How to decide whether we can use BDC (OR) LSMW for a given transaction?  1
What is ABAP query? TCS1
What are the things you did in ALV grid display? FutureSoft1
How do you get output from IDOC?  2
what is the difference between rfc and normal function module? Intelligroup2
How can you see the errors displayed in IDOC? Intel1
Can we add a field to the sap standard screen? If so, how? Accenture1
if you want to improve the response time logical database permits you to achive this using?  1
have you used performance tunig?what major steps will you use for those Deloitte1
Types of windows and Difference between them in Scripts EDS1
what is mean by table control, where it is used? why it is use? IBM1
How do you create a table? FutureSoft2
Pls tell me, we r using at line-selection,at user-command and at pf-status for generating the secondary list in report then what we will use in ALV for generating alv list. pls tell me what r the important thing to read in alv for interview purpose.  1
what is function group? Difference between function group and FM?  3
what is code review, when u can do? Satyam4
what is the variable to be used in sap scripts to find the total number of pages of the print job?  1
2) What is the difference between TYPE and DATA?  1
 
For more ABAP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com