Saturday, April 21, 2012

ABAP Interview Questions on Basics

Dear ABAPers, This post gives the list of Interview questions on SAP ABAP. The list includes the real time interview questions asked by the top MNC companies in their interviews. For more details refer this post. SAP Interview Questions 4.



45. What are internal tables? How do you get the number of lines in an internal table? 
How to use a specific number occurs statement? 
ANS:-
 
i)It is a standard data type object which exists only during the runtime of the program. 


They are used to perform table calculations on subsets of database tables and for re-organising the contents of database tables according to users need.

ii)using SY-DBCNT.

iii)The number of memory allocations the system need to allocate for the next record population.


46. How do you take care of performance issues in your ABAP programs? 

Performance of ABAPs can be improved by minimizing the amount of data to be transferred.  

The data set must be transferred through the network to the applications, so reducing the amount OF time and also reduces the network traffic.

Some measures that can be taken are: 

- Use views defined in the ABAP/4  DDIC (also has the advantage of better reusability).

- Use field list (SELECT clause) rather than SELECT *.

- Range tables should be avoided (IN operator)

- Avoid nested SELECTS. 

i)system tools

ii)field symbols and field groups.

ans:-

Field Symbols : Field symbols are placeholders for existing fields. A Field Symbol does not physically reserve space for a field,but points to a field which is not known until runtime of the program.

eg:-  FIELD-SYMBOL <FS> [<TYPE>]. 


Field groups :  A field group combines several fields under one name.At runtime,the INSERT command is used to define which data fields are assigned to which field group.


There should always be a HEADER field group that defines how the extracted data will be sorted,the data is sorted by the fields grouped under the HEADER field group.


47. What are datasets? 
ANS:-
The sequential files(ON APPLICATION SERVER) are called datasets. They are used for file handling in SAP.


48. How to find the return code of a statement in ABAP programs? 
ANS:-
Using function modules.


49. What are interface/conversion programs in SAP? 
ANS : 
CONVERSION : LEGACY SYSTEM TO FLAT FILE.
INTERFACE  : FLAT FILE TO SAP SYSTEM.


50. Have you used SAP supplied programs to load master data? 



51. What are the techniques involved in using SAP supplied programs? 
Do you prefer to write your own programs to load master data? Why? 


52. What are logical databases? What are the advantages/disadvantages of logical databases? 
ANS:-

To read data from a database tables we use logical database.
A logical database provides read-only access to a group of related tables to an ABAP/4 program.

advantages:-

The programmer need not worry about the primary key for each table.Because Logical database knows how the different tables relate to each other,and can issue the SELECT command with proper where clause to retrieve the data.

i)An easy-to-use standard user interface.

ii)check functions which check that user input is complete,correct,and plausible.


iii)meaningful data selection.


iv)central authorization checks for database accesses.


v)good read access performance while retaining the hierarchical data view determined by the application logic. 

disadvantages:- 

i)If you donot specify a logical database in the program attributes,the GET events never occur.


ii)There is no ENDGET command,so the code block associated with an event ends with the next event 
statement (such as another GET or an END-OF-SELECTION). 


53. What specific statements do you using when writing a drill down report? 
ans:-
AT LINE-SELECTION,AT USER-COMMAND,AT PF.


54. What are different tools to report data in SAP? What all have you used? 
ans:-


55. What are the advantages and disadvantages of ABAP/4 query tool? 


56. What are the functional areas? User groups? and how does ABAP/4 query work in relation to these? 


57. Is a logical database a requirement/must to write an ABAP/4 query? 


59. What are Change header/detail tables? Have you used them? 


60. What do you do when the system crashes in the middle of a BDC batch session? 
ans:-
we will look into the error log file (SM35).


61. What do you do with errors in BDC batch sessions? 
ANS:-
We look into the list of incorrect session and process it again. To correct incorrect session we analyize the session to determine which screen and value produced the error.For small errors in data we correct them interactively otherwise
modify batch input program that has generated the session or many times even the datafile.


62. How do you set up background jobs in SAP? What are the steps? What are the event driven batch jobs? 
ans:-
go to SM36 and create background job by giving job name,job class and job steps(JOB SCHEDULING)


63. Is it possible to run host command from SAP environment? How do you run? 


64. What kind of financial periods exist in SAP? What is the relavent table for that? 


65. Does SAP handle multiple currencies? Multiple languages? 
ans:-
Yes.


66. What is a currency factoring technique? 


67. How do you document ABAP/4 programs? Do you use program documentation menu option? 


68. What is SAPscript and layout set? 
ans:-

The tool which is used to create layout set is called SAPscript. Layout set is a design document.


69. What are the ABAP/4 commands that link to a layout set? 
ans:-
control commands,system commands,


70. What is output determination? 


71. What are IDOCs? 
ans:-
IDOCs are intermediate documents to hold the messages as a container.


72. What are screen painter? menu painter? Gui status? ..etc. 
ans:-
dynpro - flow logic + screens.
menu painter - 
GUI Status - It is subset of the interface elements(title bar,menu bar,standard tool bar,push buttons) used for a certain screen.
The status comprises those elements that are currently needed by the transaction.


73. What is screen flow logic? What are the sections in it? Explain PAI and PBO. 
ans:-
The control statements that control the screen flow.

PBO - This event is triggered before the screen is displayed.

PAI - This event is responsible for processing of screen after the user enters the data and clicks the pushbutton.


74. Overall how do you write transaction programs in SAP? 
ans:- 
Create program-SE93-create transcode-Run it from command field.


75. Does SAP has a GUI screen painter or not? If yes what operating systems is it available on? What is the other type of screen painter called? 


76. What are step loops? How do you program pagedown pageup in step loops? 
ans:-
step loops are repeated blocks of field in a screen.


77. Is ABAP a GUI language? 
ANS:-
Yes.
ABAP IS AN EVENT DRIVEN LANGUAGE.


78. Normally how many and what files get created when a transaction program is written? 
What is the XXXXXTOP program? 
ans:-
ABAP/4 program.
DYNPRO


79. What are the include programs? 
ANS:-
When the same sequence of statements in several programs are to be written repeadly they are coded in include programs (External programs) and  are included in ABAP/4 programs.


80. Can you call a subroutine of one program from another program? 
ans:-  Yes- only external subroutines Using 'SUBMIT' statement.


81. What are user exits? What is involved in writing them? What precations are needed? 


82. What are RFCs? How do you write RFCs on SAP side? 


83. What are the general naming conventions of ABAP programs? 
ANS:-
Should start with Y or Z.


84. How do you find if a logical database exists for your program requrements? 
ans:-
SLDB-F4.


85. How do you find the tables to report from when the user just tell you the transaction he uses? And all the underlying data is from SAP structures? 
ans:-
Transcode is entered in command field to open the table.Utilities-Table contents-display.


86. How do you find the menu path for a given transaction in SAP? 
ans:-


87. What are the different modules of SAP? 
ans:-
FI,CO,SD,MM,PP,HR.


89. How do you get help in ABAP? 
ans:-
HELP-SAP LIBRARY,by pressing F1 on a keyword.


90. What are different ABAP/4 editors? What are the differences? 
ans:-


91. What are the different elements in layout sets? 
ans:-
PAGES,Page windows,Header,Paragraph,Character String,Windows.


92. Can you use if then else, perform ..etc statements in sap script? 
ans:-
yes.


93. What type of variables normally used in sap script to output data? 


94. How do you number pages in sapscript layout outputs? 


95. What takes most time in SAP script programming? 
ANS:-
LAYOUT DESIGN AND LOGO INSERTION.


96. How do you use tab sets in layout sets? 


97. How do you backup sapscript layout sets? Can you download and upload? How? 


98. What are presentation and application servers in SAP?
ANS:-
The application layer of an R/3 System is made up of the application servers and the message server. Application programs in an R/3 System are run on application servers. The application servers communicate with the presentation components, the database, and also with each other, using the message server.


99. In an ABAP/4 program how do you access data that exists on a presentation server vs on an application server? 
ans:-

i)using loop statements.

ii)flat 


100. What are different data types in ABAP/4? 
ans:-
     Elementary - predefined C,D,F,I,N,P,T,X. and Userdefined TYPES.
 







For More Real Time Interview Questions See Below Posts













"You found the information helpful and want to say thanks? Your donation is enough to inspire us to do more. Thanks a bunch!"

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Categories

ABAP (1) ABAP Interview Questions (112) ABAP Open SQL Statements (1) ABAP Syntax Rules (6) ABAP WORKBENCH (2) ABAP-Interview-Questions (52) ALE IDOC (6) ALE IDOC Interview Questions (6) ale-idoc (6) ALE-IDOC-Interview-Questions (19) ALV Interview Questions (5) ALV-Interview-Questions (22) BADI (2) BAPI (1) BAPI Interview Questions (1) BAPI-Interview-Questions (14) BDC (6) BDC Interview Questions (6) BDC-Interview-Questions (9) big data (2) big data interview questions (1) Classical Reports Interview Question (3) Classical-Reports-Interview-Questions (22) Conditional Statements (1) Cross Applications (3) Cross-Applications (14) Data Dictionary (22) Data Type Questins (1) Data types (1) Data-Dictionary (48) Data-Type-Questins (6) Dialog programming (5) Dialog Programming Interview Questions (4) Dialog-Programming (30) DOMAIN Interview Questions (1) Domain-Interview-Questions (8) Function Module (2) hadoop (2) hadoop interview questions (2) hdfs (1) IDoc Tutorials (6) Interactive Report Interview Questions (4) Interactive-Reports-Interview-Questions (22) Internal Tables (1) interview questions (1) Lock Object Interview Questions (1) Lock-Objects-Interview-Questions (10) Logical Database (1) Modularization Interview Questions (4) Modularization-Interview-Questions (25) Module Pool Programming (5) Module-Pool-Programming (39) modules in sap (1) Object Oriented ABAP (19) Object Oriented ABAP Interview Questions (15) object-oriented-abap (2) Object-Oriented-ABAP-Interview-Questions (34) OOABAP (9) Reports (14) Reports Interview Questions (9) Reports-Interview-Questions (19) RFC (1) RFC Interview Questions (1) RFC-Interview-Questions (14) RICEF (1) RICEF Objects (1) SAP (4) SAP ABAP (4) SAP ABAP Interview Questions (42) SAP ABAP Introduction (46) SAP ABAP Message Types (2) SAP BADI Interview Questions (2) SAP Basics (71) SAP Books (2) SAP Certification (1) SAP CONSULTANTS (5) SAP CRM (1) SAP ENHANCEMENTS (3) SAP EXITS (2) SAP EXITS ( SAP ENHANCEMENTS ) Interview Questions (1) SAP Free Books (1) SAP HR (2) SAP Lock Object (1) sap modules (2) SAP Open SQL Statements (1) SAP R/3 Architecture (4) SAP Search help (1) SAP Smartforms (1) SAP Smartforms Interview Questions (2) SAP Tables (5) SAP Tcodes (10) SAP Views (1) SAP Webdynpro ABAP (12) SAP Work Processors (2) SAP Workflow (3) SAP-BADI-Interview-Questions (11) SAP-Enhancements (39) SAP-Exits (39) SAP-Exits-Enhancements-Interview Questions (3) SAP-HANA (1) SAP-HANA-Interview-Questions (1) SAP-Smartforms-Interview-Questions (2) SAP-Workflow (3) Scripts (3) Scripts Interview Questions (2) Scripts-Interview-Questions (32) Search Help Interview Questions (1) Search-Help-Interview-Questions (9) Smartforms (1) Table Maintenance Generator (1) Table-Maintenance-Generator (4) Tables in SAP (2) Tables Interview Questions (3) Tables-Interview-Questions (3) Type Group Interview Questions (1) Type-Group-Interview-Questions (7) Variable Declaration (1) Views Interview Questions (1) Views-Interview-Questions (5) Webdynpro (12) what is big data (1)

Protected Blog

 
This blog is not affiliated to SAP AG |SAP is trademark of SAP AG |The information collected from various sources use information with your own risk.