Sunday, May 5, 2013

Logical-Database-(LDB)-SAP-ABAP-Interview-Questions

SAP ABAP Logical Database (LDB) Realtime Interview Questions, here we are going to provide a wide range of interview questions on logical database in sap abap, these questions are very helpful for the SAP ABAP consultants and other technical consultants. Logical Database questions are prepared for the freshers and also for the 2+,3+ experienced SAP professionals. Refer this post for more details and interview questions on Logical Database SAP. Click on read more to read this post.



LOGICAL DATABASE Interview Questions


SAP ABAP Logical Database (LDB) Realtime Interview Questions, here we are going to provide a wide range of interview questions on logical database in sap abap, these questions are very helpful for the SAP ABAP consultants and other technical consultants. Logical Database questions are prepared for the freshers and also for the 2+,3+ experienced SAP professionals. Refer this post for more details and interview questions on Logical Database SAP.




1.   Preparation of the data records by the L.D.B and reading of the data records in the actual report are accomplished with the command pair Put and Get.



2.   The three main elements of LDB are Structure, Selections, and Database Program.



3.   In LDB what determines hierarchy of the tables?

A). Structure.



4.   In general what are the two ways in which one can retrieve data from tables?

A). Using Select statements, Database Program.



5.   With LDB one can modify the pre-generated selection screen to their needs (T/F).

A). Yes.



6.   Logical databases are programs that read data from Database tables (Dictionary Structures).



7.   The event Get<table name> LATE process all tables that are hierarchically superior to the <table name>. (True/False)

A). False.  It processes all tables that are hierarchically inferior to the <table name>.



8. The Database Program of LDB is a collection of SUBROUTINES, which selects data and passes it to the report.



9.   The layout of the Database program is determined by both Structure and Selections.



10. The order in which data is made available to the report depends on Structure of the LDB.



11. Apart from the structure and selections of the LDB the GET statements in the report determines the behavior of the database at runtime.



12. Node at the highest level in the structure is known as Root.



13. There can be more than one node at the highest level in the structure. (T/F)

A). False.  One can define only one node at the highest level in the structure on LDB.



14. All nodes in the structure of LDB need not be defined in the ABAP/4 Dictionary (T/F).

A). False.  One has to define all nodes in the Dictionary or one has to select all nodes that are defined in the Dictionary.



15. It is not possible to use ABAP/4 Dictionary Structures without an underlying database using LDB. (T/F)

A). True.  One can use additionally related tables, along with the tables defined in the structure of LDB.



16. Dynamic selections allow the user to define further selections for database access in addition to the selection criteria already defined in the LDB selections.



17. Check statement can be used along with the event GET in the report for checking the selections, which are not table-specific values.



18. In sense of Database Management System (DBMS) LOGICAL DATABASE is a database Structure. (T/F).

A). False.



19. It is not necessary to maintain the Parent-Child relationship between the tables in Logical Database Structure. (T/F)

A). False.  One has to maintain the Parent-Child relationship.



20. Is it possible to extract data from tables without using the event ‘GET’ in the report with an appropriate LDB. (T/F).

A). False.  One can extract data from tables using Select statements in a report, though the report is having a LDB attribute.



21. What sorts of tables one can se in designing the hierarchy of a LDB?

A). Tables, which are having Foreign Key relations.



22. A report program, which uses only SELECT statements, is called SQL Report.



23. One cannot use SELECT statements in a report program linked to a Logical Database (T/F).  

A). False.



24. Is it true that the Logical Database reads the data from the database tables using Select Statements (T/F).

A). Yes. We are coding that in Database part of LDB.



25. In a report with an LDB attribute, you do not have to define how the information should be retrieved from the database tables, but only how the data should be represented on the screen. (T/F).

A). True.



26. One can use the event GET in a report without LDB attribute. (T/F).

A). False.



27. The last character of the LDB name denotes Application.



28. The structure of Logical Databases reflects the Foreign Key dependencies of hierarchical tables in the SAP system.



29. It is mandatory that for each table in the LDB hierarchy there should exist one GET statement in the report. (T/F).

A). False.  It is not necessary.



30. What happens if a report does not contain a GET statement for a particular node of a Logical Database.

A). Process will transfer to the next event.



31. In a Logical Database, one can define input fields on the selection screen with Select-Options and Parameters statements.



32. Suppose a logical database program contains the following lines:
SELECT-OPTIONS CONNID FOR SPFLI-CONNID.
PARAMETERS CARRID LIKE SFLIGHT-CARRID FOR TABLE SFLIGHT.
What will be the output, for the above two statements?

A). Only select-options connid for spfli-carrid will be displayed on the screen.




33. Consider a report with F1S attribute, what will be the output for the following code.  Whether you will get the data from spfli and sflight or not, with corresponding tables statement,
     GET SPFLI.
     GET SFLIGHT.
     Write:/ spfli-carrid, spfli-connid, sflight-fldate, sbook-bookid.
     
     A). Yes, you will get the data from spfli and sflight.




34. Consider a report with F1S attribute, what will be the output of the following code.  Whether you will get the data from sbook or not, with corresponding tables statement.
GET SPFLI.
GET SFLIGHT.
Write:/ spfli-carrid, spfli-connid, sflight-fldate, sbook-bookid.

A). You cannot extract data from sbook.




35. Identify any errors in the following code and correct the same, and what will be the output.  If there exists corresponding tables statement, for spfli, sflight, sbook.
GET SPFLI.
GET SBOOK.
Write:/ spfli-carrid, spfli-connid, sflight-fldate, sbook-bookid, sbook-class.

A). No syntax errors.  You will get data from all the three tables.




36. Does the following two statements do the same task?  If so which one takes less time and which one is recommended.
     Select * from spfli where spfli-carrid = ‘LH’ and spfli-connid = ‘400’.
     Endselect.
     Select * from spfli. Check: spfli-carrid = ‘LH’ and spflid-connid = ‘400’.
     Endselect.
    
    A). Yes they will do the same task.  Second Select statement takes less
        time and is recommended.



37. If you want to improve the response time (time to access data) Logical Databases permits you to achieve this using VIEWS.



38. Is there any upper limit (max) to the possible number of nodes in a logical database structure? If so what is the limit?

A). Yes, there is an upper limit for defining number of nodes in a Logical Database Structure.

Maximum nodes = 1200 / length where length = max. Length of name in the structure.




39. In the structure of Logical Database nodes at different levels are displayed in the same columns. (T/F) If false what types of nodes are displayed in the same columns. If true what type of nodes are not displayed in the same columns.

A). False.  Nodes at same levels are displayed in the same columns.




40. What are the advantages of Logical Databases?

A). It offers an easy-to-use selection screens.  

You can modify the pre-generated selection screen to your needs.  

It offers check functions to check whether user input is complete, correct, and plausible.  It offers reasonable data selections.  

It contains central authorization checks for data base accesses.  Enhancements such as improved performance immediately apply to all report programs that use the logical database.




41. Though all the ABAP/4 Dictionary Structures that exists in the structure of the LDB, being defined in Database Program, we are defining the Dictionary Structures in the Report.  What is the reason for such declaration?

A). By declaring so we are providing work areas for data passing between Logical Database and Report.  

In addition, the logical database configures the selection screen depending on the selection of database tables.



42. Is it mandatory to declare all the tables in Report by the key word tables for all the tables that exist in the structure of LDB, and are being defined in the Database part of LDB.

A). No, It is not mandatory to declare all tables in report.



43. If one wants to access data using Logical Database, the use of events is unavoidable. (T/F).   

A). True.


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