Thursday, July 20, 2017

SAP ABAP INTERVIEW QUESTIONS FOR FRESHERS


SAP OVERVIEW ECC 6.0
  • What is MRP ?
  • What is ERP ? 
  • When was SAP AG founded ?
  • What are the 3 layers of the SAP R/3 ?
  • What is SAP Netweaver ?
  • What are the different functional modules of SAP ?
  • What programming language is used for SAP applications ?
  • Why do we need ABAP developments ?
  • What is a Client in SAP ?
  • How can differentiate between client dependant and client independent data in SAP tables (discuss with and example) ?
  • What clients are provided in the standard install of SAP ?
  • How do you logon on to a SAP application server ?
  • What is the menu path for changing User specific settings ?
  • What is the use of a Search Help ?
  • How many sessions can you open at a time ?
  • How do you log off from a SAP Server ?
  • What is the full form of CTS ? What does it do ?
  • What are the transactions for the Transport Organizer ?
  • What is the transaction code for the Extended Transport Organizer ?
  • What is a Package ?
  • What is a developer access key ?
  • What is a local object ?

ABAP DATA DICTIONARY
  • What are the functions of the ABAP Dictionary ?
  • What are the basic objects of the ABAP Dictionary ?
  • What is the database utility ?
  • What is the transaction to access the ABAP Dictionary ?
  • What is a data element ?
  • What is a domain ?
  • What is a value table in a domain ?
  • What is a foreign key ?
  • What is the need to define a foreign key relationship ?
  • What is meant by cardinality in a foreign key relationship ?
  • What are the different table types ?
  • What is data class ?
  • What is size category ?
  • What is buffering ?
  • What is a Structure ?
  • What is a Customizing Include ?
  • How is the Append Structure functionality used ?
  • What is the ABAP Repository System ?
  • How to use the Where-used-list functionality ?
  • Why should SAP Objects be activated ?
  • How are different versions of programs maintained in SAP ?
  • What is a View ?
  • What is a Database view ?
  • What is a Projection view ?
  • What is a Maintenance view ?
  • What is a Help view ?
  • What is a search help ?
  • What is the difference between an elementary search help and a collective search help?
  • What is a search help exit ?
  • What documentation is displayed with the F1 function button ?
  • What are the different ways Data element documentation and data element supplemental documentation ?
  • What is displayed with the F4 function button ?
  • What is a Type Group ?
  • How are Type Groups referenced in ABAP programs ?
  • How do you create a table maintenance generator ?
  • What is the transaction for invoking table maintenance ?

INTRODUCTION TO ABAP                              
  • What is  ABAP ?
  • What is ABAP Workbench ?
  • What are the different parts of ABAP Workbench?
  • What is the basic difference between a Conventional report and Interactive report?
  • What is ‘On-line Programming’ ?
  • What are different types of ABAP programs?
  • What are the steps to create a simple ABAP program?
  • How to reach in debugging mode of an ABAP program?
  • What are the various options associated with the ‘WRITE’ statement ?
  • What does the ‘NEW-PAGE’ statement do ?
  • What are the different types of data types?
  • What is a field symbol ? What is the advantage of using it in the program?
  • How to create a selection screen with the selection screen text?
  • What is SQL ? And What are different types of SQL ?
  • How values can be retrieved from a database table ?
  • Why SY-SUBRC check is required in the program ?
  • What are the different kind of control statements in ABAP?
  • What are different logical expressions available in ABAP?
  • What is a Structure?
  • What is an internal table?
  • What are the different types of internal tables are there?
  • Explain the following statements :
    • Move corresponding
    • Append
    • Clear
    • Refresh
    • Free.
  • Why subroutine is used in the program?
  • What is function module? What is the advantage of using it in the program?
  • What are the different parameters of a function module?
  • What is function group?
  • How a function module can be remote enabled?
  • What are the different types of methods for accessing database records?
  • How you will understand that a select is successful or not?
  • What is the significance of ‘SELECT SINGLE’ statement?
  • How you can restrict your selection while retrieving records from a database  table?
  • What is a range table and what are the fields in the range table?
  • What is the significance of using a range table?.
  • What is the maximum number of authorization fields in an authority object?
  •  Discuss different type of activities an authorization object may have.
  • What are the different types of messages used in ABAP?
  • How do you trap any user action on a pushbutton defined on the selection screen?
  • What is the difference between a checkbox and a radio button.
  • What is the difference between STATIC & DYNAMIC breakpoints?
  •  How do you create watchpoints in an ABAP program?
  • What happens when you submit a report with addition “AND RETURN”?
  • What are the different modes used with “CALL TRANSACTION”?
  • What happens when you use addition “AND SKIP FIRST SCREEN” with Call
    transaction?
  • How do you measure runtime of a program?
  • SQL TRACE allows you to see how OPEN SQL statements get converted to
    EMBEDDED SQL. True or False?
  • What are the aggregate functions? And why these are used in the select statement?
  • What is the purpose of using ‘CONCATENATE’ statement?
  • What are the different steps of cursor processing?
  • How data can be retrieved from two or multiple related database table in single select?
  • What is native SQL?
  • What is the difference between a native SQL and open SQL?
  • Is the TABLES statement required for any table addressed through ABAP Native SQL ?

INTERACTIVE REPORTS:
  • Why do we need Interactive Reporting ?
  •  How does the programmer recognize a user action ?
  • What are the different events in an ABAP program that can be triggered before user interaction ? When do they get triggered ?
  • What are the user-invoked events for a list display ?
  • What are the events used for displaying Headers and Footers in a list ? When    are these events invoked ?
  • Which part of a code in a program are executed for an event ?
  • How does the order of execution depends on the way the events are coded inside   the program ?
  • What is a detailed list ?
  • How the user can be restricted from creating unnecessary windows by pressing the same Function key or pushbutton ?
  • How will you create new windows with specific size ?
  • How can you programmatically manage the heading of basic and detail lists ?
  • What are the components of a GUI ?
  • What can be managed through the GUI status ?
  • How will you manage the title of your list ?
  • Which event is used to recognize the user action on the list ?
  • How do the programmer recognize which pushbutton has been clicked or which    Menu item has been selected ?
  • What are the naming restrictions for a PF status ?
  • What are the naming restrictions for a GUI title ?
  • What is the difference between a ‘Normal Screen’ and a ‘Dialog Box’ status ?
  • What is the problem if the no buttons or Function codes are not included from the
    control menu in a dialog box ?
  • How many GUI status can be defined for a program ?
  • Can we pass parameters to GUI title ?
  • What is the difference between a workarea and an internal table ?
  • Which of these (workarea vs. Internal table) is better to use in our program when we need to retrieve multiple   records ?
  • What are the statements to initialize workareas and internal tables ?
  • Which system field contains the content of the selected line ?
  • What does a HIDE statement do ?
  • How is the HIDE statement used for producing detail lists ?
  • What is an invalid line in the context of drill down reporting ?
  • How do you determine if the user has clicked on a valid line ?
  • What records are stored in a HIDE memory area ? How do the system get the   value for a particular field for the selected line from HIDE memory area ?
  • How do you draw checkboxes in the output list ?
  •  How to read the contents of a list ?
  •  How do you modify the contents of a list after it is displayed ?

ALV:
  • What is ALV ?
  • What are the main differences between an ALV report and a classical report?
  • What are the main function modules used to create an ALV List?
  • What are the main differences between ALV list and ALV grid?
  • What are the different ways to populate the FIELD CATALOG table?
  • How can we change the default status bar of an ALV List?
  • How can we handle custom function code in ALV ?
  • How can we make a certain columns of an ALV list editable?

ONLINE PROGRAMMING(Module pool programming):
  • What are the different elements of an online program ?
  • What is the difference between a PBO event and a PAI event in an online program ?
  • What are the two components of the run-time environment of an online program ?
  • What is the menu path for referring ABAP Dictionary fields to the screen in screen painter ?
  • When a screen field is painted from the ABAP Dictionary, does it point to the data-element’s documentation In our example, we calculated the player’s scoring average in the PAI of the first screen.  Because we are not displaying this average until the second screen, we could have calculated this average in the PBO of the second screen.  Why is it better to do the calculation in the PAI of the first screen?
  • What are the different elements of the screen-painter ?
  • What is the menu path for activating the graphical screen painter ?
  • What are the different automatic screen checks available in a screen ?
  • Does Foreign Key checks happen automatically for screen-fields referring to a check table ?
  • When does the system performs its automatic checks ?
  • What are the different types of screen messages ?
  • What is the difference between the ABEND and the EXIT message ?
  • What is the difference between the SUCCESS and the INFORMATION   message?
  • What are the different methods for setting default values in a screen ?
  • What are Parameter IDs ?
  • Where is the cursor positioned in the screen by default ?
  • What is the use of the Menu Painter ?
  • What is a Function Code ?
  • What are the different types of function codes that can be created ?
  • What is the use of the ‘ON INPUT’ PAI extension ?
  • What is the use of the ‘ON REQUEST’ PAI extension ?
  • What is the use of the ‘AT EXIT-COMMAND’ PAI extension ?
  • What is the use of the ‘AT CURSOR-SELECTION’ PAI extension ?
  • What is a sub-screen in the context of online programming ?
  • Can the ‘CALL SUBSCREEN’ statement be used in the PBO event ?
  • What is SAP LUW ?
  • What is the purpose of COMMIT WORK statement ?
  • What is a table control ?
  • Is it mandatory to use an internal table for processing a table control ?
  • What are the primary advantages of using table control ?
  • What is the event required for displaying F1 help ?
  • What is the event required for displaying F4 help ?
  • What is the system internal table required to be modified for dynamic screen   modifications ?

DATA INTERFACE:
  • What are the various types of work processes present in the R/3 system ?
  • What are the main phases of background processing ?
  • What are the main function modules used to create background job through ABAP program ?
  • Which ABAP statement we have to use to open a file stored on the Application server ?
  • Which ABAP statement we have to use to close a file stored on the Application server ?
  • Why we use TRANSFER statement ?
  • What is the function module used to upload file to presentation server?
  • What are the fields present in the BDC table ?
  • What are the different Batch Input methods.
  • What are the function modules required to create a batch input session ?In what sequence are they called ?
  • Why “RSBDCSUB” program is used ?
  • Which transaction we used to process Batch Input Session ?
  • What are the different modes of processing batch input sessions ?
  • What are the different batch input methods present in SAP for data upload?
  • What is the difference between synchronous and asynchronous update?
  • Which transaction do we use for batch input recording ?
  • How can you modify the resulting recording and transfer the recording into a batch input session and into a batch input program ?

USER EXITS AND BADI’s:
  • How do you obtain access key for changing a SAP standard object ?
  • What are the steps for coding a Function Exits ?
  • What does CMOD and SMOD do ?
  • What are BAdis ?
  • Which transactions are used for BAdi Definition and Implementation ?
  • How do you locate BAdis defined by SAP for a SAP standard transaction ?
  • What are the advantages of the New Enhancement Framework?

SAP SCRIPTS:
  • What is a layout set ?
  • What is an output program in reference to SAPScripts ?
  • What are the different modes of communication between the output program and the layout sets ?
  • Are SAPScripts client-dependent or client independent ?
  • What are the different window types in a layout set ?
  • Where are text styles determined in a form ?
  • What is the menu path to start the graphical form painter ?
  • What program is used to export/import a layout set using a transport request ?
  • What program is used to export/import a layout set without using a transport request ?
  • How can standard text created in the SAP R/3 system be assigned to a CTS ?
  • Is printing of the text elements on the form controlled by the layout set or the output program ?
  • What is the use of the ‘DEFINE’ command ?
  • What is the command for preventing a page break within a paragraph ?
  • What is the transaction executed to import a bitmap logo object as a graphics object in SAP R/3 ?
  • What is the use of the ‘INCUDE’ command in SAPScripts ?
  • What is the purpose of the output program ?
  • What is the function-module required to transfer data to the SAPScript form ?
  • What is the use of the ‘CLOSE_FORM’ function-module ?
  • What is output determination in the context of layout sets ?
  • What are the different output mediums for SAPScript forms ?
  • What are the different triggering events for SAPScript forms ?
  • How can SAPScript forms be displayed on screen before printing ?
  • How is the SAPScript debugger activated ?
  • What are the default break-points of the SAPScript debugger ?

SMARTFORMS:
  • What is Smart form ?
  • What are the main advantages of Smart form over Sapscript ?
  • Describe the Architecture of Smart Form?
  • What are the main components of smart form builder?
  • What are the main function modules required to call a Smart form from the main program?
  • How can we find the associated function module name in a Smart form?
  • What is Smart style?
  • What are the sub nodes of  Global settings?
  • What are the standard export and import parameters for form interface?
  • What are the standard exceptions present in the form interface?
  • Which transaction we have to use to maintain style?
  • Why ‘Pages and Windows’ node is required?
  •  What are the various types of windows in Smartform?
  • What are the various types of text modules used in Smart Forms ?
  • Which transaction is used to maintain graphics ?
  • Which transaction is used to maintain text modules?
  • What is the basic difference between table and template ?
  • To write ABAP code, which node we have to use ?
  • What is the basic difference between table and loop node ?
  • How to find the Function module name for the Smartform?

BASICS : 

Question 3: What is an SAP?

Question 4: What is an ABAP?

Question 5: What is an executable program? explain in detail?

Question 6: What is an SAP Netweaver ? what are its types? explain in detail?

Question 7: What are the types of layers/levels in ABAP ?

Question 8: What are the different types of Work process ? and explain in detail ? 

Question 9: Different types of lock mode ? and explain in detail ?

Question 10: What is meant by SAP System landscape? explain in detail?

Question 11: What are data types ? what are its types? explain in detail?

Question 12: What are data objects ? what are its types? explain in detail?

Modularization techniques: 

Question 13: What is modularization ? what are its advantages ? and its type ?

Question 14 What is subroutine ? and its type ?

Question 15: What are the ways to pass the parameters? explain in detail? 

Question 16: Can we call subroutine without defining it ? say yes or no ? if yes ..how ?

Question 17: What are function modules ? why we use it ? 

Question 18: What are the types of function module? explain in detail?

Question 19: Difference between Subroutine and function module? 

Question 20: What are the types of parameters? explain in detail?

Complex DATA Objects(Structure and internal table):

Question 21: What is a structure? explain in detail ?

Question 22: What is an internal table ? types of internal table ?

Question 23: What are the operations of internal table ?

Question 24: Difference between Clear,refresh and free operations of an internal table ?

Question 25: Difference between Internal table and structure?

Question 26: Difference between Include and append operations of an internal table?

Question 27: Difference between Select ,sort and read operations of an internal table?

Question 28: How will you delete or change particular records in a table?

Question 29: How will you read a particular record in a table with example ?

Question 30: I have 100 records in a table, how can i simultaneously Delete the 5th, 10th, 15th, 20th......records, write a code for it

Question 31: I have 10000 records, in that How can we sort records in Descending order and search 5005th record details....which is the best method to search it?

Question 32: Difference between internal table with header line and internal table without header line?

DATA Dictionary: 

Question 33: What are data dictionary in SAP ABAP ? what are components of data dictionary? 

Question 34: What are data elements and domain? Explain in detail ? what is the difference between them?

Question 35: What is the difference between value range and value table in domain?

Question 36: Different types of database tables? explain in detail?

Question 37: What are the types of data class? explain in detail?

Question 38: What is meant by Size category? explain in detail? 

Question 39: How can we improve the performance of the database tables?

Question 40: What are index? what are its type? explain in detail?

Question 41: Can we create secondary index without primary index? say yes or no? if yes how?

Question 42: How many secondary index can we create in total ?

Question 43: What is buffering ? what are its types?

Question 44: What is an inner join? and what is an outer join? what is the difference , explain with an example ?

Question 45: What is meant by foreign key relationship? what are the conditions needed to be followed during creation of foreign key?

Question 46: What is Cardinality? and its types? explain in detail? 

Question 47: What is the difference between check table and value table?

Question 48: Where we can find check table? in domain or in data element?

Question 49: What are views ? what are its type ? explain in detail? 

Question 50: Difference between SAP Memory and ABAP Memory?
Question 51: What is meant by Search help? what are its type ? explain in detail?

ABAP OOPS: 

Question 52: What is the difference between procedural ABAP and ABAP OOPS? explain in detail?

Question 53: What are the advantages of ABAP OOPS? explain with an example?

Question 54: What is an Object? explain with an example?

Question 55: What is a class? explain with an example?

Question 56: What is meant by association ? what are its type? explain in detail?

Question 57:  What is meant by generalization and specialization ? explain in detail wit an example?

Question 58: What is meant by inheritance? explain with an real time example?

Question 59What is meant by polymorphism? explain with an real time example?

Question 60: What are the components of a Class? explain in detail?

Question 61: What are the different types of attributes ? and its difference? explain in detail?

Question 62: Can we use instance attributes inside a static attributes? say yes or no ?

Question 63: if we don't want to change anything or any variable inside a public section what must be done?

Question 64: What are the different types of class?  explain in detail with a example?

Question 65: What is the difference between Constructor and Class-constructor?

Question 66: What is meant by Casting? what are its type? explain in detail with an example?

Question 67: What are Interfaces? Explain in detail?

REPORTS:

Question 68: What is an report? what are its types? why we need reports?

Question 69: What are Classical report? What are the events in classical report?

Question 70: What are Interactive report? What are the events in interactive report?

Question 71: How many Secondary list we can create in interactive report?  is it possible to create more than that? if we create more than that what will happen?

Question 72: What is the difference between classical and interactive report?

Question 73: What are ALV reports? explain in detail?

Question 74: What is the difference between classical and alv reports?

Question 75: What are the basic function modules used in ALV reports?  

Question 76: What are types of display available in ALV reports? explain in detail?

Question 77: How to debug ALV reports ?

Question 78: Which functional module is used for displaying logo in ALV reports? 

Question 79: Which functional module is used for doing grand totals directly in output of an ALV reports?  

BDC:

Question 80: What is meant by BDC ?
Explain in detail?

Question 81: What are the types of uploading data into SAP?

Question 82: What is meant by Call transaction method? explain in detail?

Question 83What is meant by Session method? explain in detail?

Question 84: What are the difference between Call transaction and session method ?

Question 85: What are the function modules used in BDC?

Question 86: What is meant by LSMW? explain in detail?

SAP Scripts and smart-forms:

Question 87: What are SAP Scripts? why we need them? explain in detail?

Question 88: What are the attributes of SAP Scripts?

Question 89: What are print programs ? which are the function modules we use while writing print program?

Question 90What are Smartforms? why we need them? explain in detail?

Question 91: What are the difference between SAP Scripts and Smartforms?

Question 92: What are the advantages of Smartforms? explain in detail?

BAPI and RFC:

Question 93: What are BAPI's ? Explain in detail? and what are the uses of BAPI's?

Question 94: What are RFC ? Explain in detail?

Question 95: What are the differences between BAPI and RFC?

Debugging:


Question 96: What is meant by debugging in SAP ABAP? explain in detail?

Question 97: What is meant by Breakpoint in debugging?

Question 98: What is meant by Watchpoint in debugging?

Question 99: What will happen if we use F5,F6,F7 and F8 keys in keyboard when we are in debugging mode?


Question 100: What are the ways to start a debugging mode?

MODULE POOL PROGRAMMING:

Question 101: What are module pool programming? explain in detail with an example? 

Question 102: What are the events in module pool programming? explain in detail ?

Question 103: What are the difference between module pool program and executable program?

Question 104: What are screen painter and menu painter ? what are its difference? explain in detail?

Question 105: What are the attributes for creating a screen? explain in detail?

Question 106: What are the UI elements can be added while creating a screen?

Question 107: What are layout? explain  in detail? 

Question 108: What are dynamic modifications of a screen? explain in detail?

Question 109: What is meant by calling screens? what are its type? explain in detail?

Question 110: What are GUI Interface? what are its type? explain in detail?

Question 111: What are Subscreens? and what are subscreen area? explain in deatail?

Question 112: What are Tabstrip? explain in detail?

Enhancement , BADI's and Modifications:

Question 113: What are enhancement ? explain on detail?

Question 114: What are the types of enhancement? explain each of them?

Question 115: What are the difference between append structure and CI include in enhancement ?

Question 116: What are customer exits? what are its types? explain in detail? 

Question 117: What are BADI's? explain in detail?

Question 118: What are the types of class in BADI's? explain in deatail?

Question 119: What are modifications? explain in detail?

Question 120: What are User exits? what are its types? explain in detail?

Question 121: Explain the steps for finding the package, SMOD and CMOD in exits?

Question 122: What are the difference between User exits and Customer exits ?

SQL:

Question 123: What are SQL statements? why we need them? explain with syntax?

Question 124: Which are the special SQL statements we use? explain in detail?

Question 125: What are group-by addition ? and what are Order-by addition? where we use them? what is the difference? explain in detail?

WEB DYNPRO:

Question 126: What are ABAP Web dnypro? why we use them? explain in detail? 

Question 127: What are the benefits of ABAP Web dynpro?

Question 128: What are the components of web dynpro ? explain in detail?

Question 129: What is meant by context mapping?explain in detail?

Question 130: What is meant by Data binding? explain in detail?

Question 131: What is meant by inbound and outbound plugs in web dynpro?

Question 132: What is meant by View and Window? explain in detail?

Question 133: What are types of Controller in web dynpro? explain in detail?

Question 134: What are the advantages of web dynpro over ABAP dialog programming?

ALE and IDOC's:

Question 135: What is an ALE? Explain in detail?

Question 136: What are the transaction codes used in ALE ? 

Question 136: What is an IDOC? What are types of records in IDOC? explain in detail?

Question 137: What are the types of IDOC? explain in detail?

Programs:

Question 138: Write a program to fetch two fields from Database table(employee table)..?

Question 139: Write a program to fetch two or three fields from MARA table ?

Question 140: Write a program to describe operations of internal table?

Question 141: Write a program to describe the internal table with header line using MARA table?

Question 142: Write a program to describe the internal table without header line using MARA table?