Saturday, April 21, 2012

SAP ABAP Interview Preparation Questions

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 11.









54.    What are the two ways of producing a list within a transaction?

By submitting a separate report.

By using leave to list-processing.


55.    What is the use of the statement Leave to List-processing?

Leave to List-processing statement is used to produce a list from a module pool.  

Leave to list processing statement allows to switch from dialog-mode to list-mode within a dialog program.


56.    When will the current screen processing terminates?

A current screen processing terminates when control reaches either a Leave-screen or the end of PAI.


57.    How is the command Suppress-Dialog useful?

Suppressing entire screens is possible using this command.  
This command allows us to perform screen processing “in the background”.  

The system carries out all PBO and PAI logic, but does not display the screen to the user.  Suppressing screens is useful when we are branching to list-mode from a transaction dialog step.


58.    What happens if we use Leave to list-processing without using Suppress-Dialog?

If we don’t use Suppress-Dialog to next screen will be displayed but as empty, when the user presses ENTER, the standard list output is displayed.


59.    How the transaction that are programmed by the user can be protected?

By implementing an authority check.


60.    What are the modes in which any update tasks work?

Synchronous and Asynchronous.


61.    What is the difference between Synchronous and Asynchronous updates?


A program asks the system to perform a certain task, and then either waits or doesn’t wait for the task to finish.  In synchronous processing, the program waits: control returns to the program only when the task has been completed.  

In asynchronous processing, the program does not wait: the system returns control after merely logging the request for execution.


62.    SAP system configuration incluedes Dialog tasks and Update tasks.


63.    Dialog-task updates are Synchronous  updates.


64.    Update –task updates are Asynchronous updates.


65.    What is the difference between Commit-work and Rollback-Work tasks?

Commit-Work statement “performs” many functions relevant to synchronized execution of tasks.  Rollback-work statement “cancels: all reuests relevant to synchronized execution of tasks.


66.    What are the different database integrities?
·         Semantic Integrity.
·         Relational Integrity.
·         Primary Key Integrity.
·         Value Set Integrity.
·         Foreign Key integrity and
·         Operational integrity.



67.    All SAP Databases are Relational Databases.


68.    What is SAP locking?

It is a mechanism for defining and applying logical locks to database objects.

69.    What does a lock object involve?

The tables.
The lock argument.


70.    What are the different kinds of lock modes?

Shared lock

Exclusive lock.

Extended exclusive list.


71.    How can a lock object be called in the transaction?

By calling Enqueue<lock object> and Dequeue<lock object> in the transaction.


72.    What are the events by which we can program “help texts” and display “possible value lists”?

-PROCESS ON HELP-REQUEST (POH).

-PROCESS ON VALUE-REQUEST (POV).


73.    What is a matchcode?

A matchcode is an aid to finding records stored in the system whenever an object key is required in an input field but the user only knows other (non-key) information about the object.


74.    In what ways we can get the context sensitive F1 help on a field?

-          Data element documentation.
-          Data element additional text in screen painter.
-          Using the process on help request event.


75.    What is roll area?

A roll area contains the program’s runtime context.  

In addition to the runtime stack and other structures, all local variables and any data known to the program are stored here.


76.    How does the system handle roll areas for external program components?
-          Transactions run in their own roll areas.
-          Reports run in their own roll areas.
-          Dialog modules run in their own roll areas
-          Function modules run in the roll area of their callers.


77.    Does the external program run in the same SAP LUW as the caller, or in a separate one?


-          Transactions run with a separate SAP LUW.

-          Reports run with a separate SAP LUW.

-          Dialog modules run in the same SAP LUW as the caller

-          Function modules run in the same SAP LUW as the caller.

The only exceptions to the above rules are function modules called with IN UPDATE TASK (V2 function only) or IN BACKGROUND TASK (ALE applications).  These always run in their own (separate) update transactions.


78.    What are function modules?

Function modules are general-purpose library routines that are available system-wide.


79.    What are the types of parameters in the function modules?

In general, function module can have four types of parameters:

-          EXPORTING: for passing data to the called function.

-          IMPORTING: for receiving data returned from the function module.

-   TABLES: for passing internal tables only, by reference (that is, by address).

-   CHANGING: for passing parameters to and from the function.


80.    What is the difference between Leave Transaction and Call Transaction?

In contrast to LEAVE TO TRANSACTION, the CALL TRANSACTION  statement causes the system to start a new SAP LUW.  

This second SAP LUW runs parallel to the SAP LUW  for the calling transaction.


81.    How can we pass selection and parameter data to a report?

There are three options for passing selection and parameter data to the report.

-          Using SUBMIT…WITH

-          Using a report variant.

-          Using a range table.


82.    How to send a report to the printer instead of displaying it on the screen?

We can send a report to the printer instead of diplaying it on the screen. 

 To do this, use the keywords TO SAP-SPOOL:

SUBMIT RSFLFIND…TO SAP-SPOOL DESTINATION ‘LT50’.


83.    How can we send data to external programs?

Using SPA/GPA parameters(SAP memory).

Using EXPORT/IMPORT data (ABAP/4 memory)


84.    What are SPA/GPA parameters (SAP memory)

SPA/GPA parameters are field values saved globally in memory.  

There are two ways to use SPA/GPA parmeters:

By setting field attributes in the Screen Painter.

By using the SET PARAMETER or GET PARAMETER statements.


Does every ABAP/4 have a modular structure?
Yes. 


What is Modularization and its benefits?

If the program contains the same or similar blocks of statements or it is required to process the same function several times, we can avoid redundancy by using modularization techniques.  

By modularizing the ABAP/4 programs we make them easy to read and improve their structure.  Modularized programs are also easier to maintain and to update. 

Name the ABAP/4 Modularization techniques.
·        Source code module.
·        Subroutines.
·        Functions. 


How can we create callable modules of program code within one ABAP/4 program?
·            By defining Macros.
·            By creating include programs in the library. 

M  is the attribute type of the module program.


Is it possible to pass data to and from include programs explicitly?

No.  If it is required to pass data to and from modules it is required to use subroutines or function modules. 


What are subroutines?

Subroutines are program modules, which can be called from other ABAP/4 programs or within the same program. 

What are the types of Subroutines?

· Internal Subroutines: The source code of the internal subroutines will be in the same ABAP/4 program as the calling procedure (internal call).

· External Subroutines: The source code of the external subroutines will be in an ABAP/4 program other than the calling procedure. 


It is not possible to create an ABAP/4 program, which contains only Subroutines (T/F).
False. 


A subroutine can contain nested form and endform blocks. (T/F)
False. 


Data can be passed between calling programs and the subroutines using Parameters.

What are the different types of parameters?

 Formal Parameters: Parameters, which are defined during the definition of subroutine with the FORM statement.

Actual Parameters: Parameters which are specified during the call of a subroutine with the PERFORM statement. 


How can one distinguish between different kinds of parameters?

·Input parameters are used to pass data to subroutines.

· Output parameters are used to pass data from subroutines. 


What are the different methods of passing data?

· Calling by reference: During a subroutine call, only the address of the actual parameter is transferred to the formal parameters. 

 The formal parameter has no memory of its own, and we work with the field of the calling program within the subroutine. 

 If we change the formal parameter, the field contents in the calling program also changes.


· Calling by value: During a subroutine call, the formal parameters are created as copies of the actual parameters.  The formal parameters have memory of their own.  

Changes to the formal parameters have no effect on the actual parameters.


·Calling by value and result: During a subroutine call, the formal parameters are created as copies of the actual parameters.  

The formal parameters have their own memory space.  Changes to the formal parameters are copied to the actual parameters at the end of the subroutine. 

The method by which internal tables are passed is By Reference.





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.