Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

MCQ 4 Ad

Download as pdf or txt
Download as pdf or txt
You are on page 1of 13

MCQ – 4 SAP ABAP

1. Top down approach is appropriate for which HANA feature?


Ans- AMDP

2. Which among the following is not an enhancement type?


Ans- BAPI

3. From the following options, which are true about how to find a BADI.
1. Search in program by keyword CL_EXITHANDLER
2. Debugging using CL_EXITHANDLER
3. Search CALL CUSTOMER-FUNCTION
4. Using global search transaction & search in SPRO
5. Using t-code SMOD
Ans- (1), (2), and (4)

4. Which BDC method can be processed using program RSBDCSUB in the background?
Ans- Session method

5. How to access CDS views in program?


Ans- Read normally like a table OR CDS can be accessed only in HANA

6. What is true about CDS? Choose 3


Ans- Top down approach
CDS (SQL view) view will be automatically generated in HANA catalog & part of the
schema which is linked to the system.
CDS view are created & maintain from the ABAP stack

7. Which keyword determines if program exit has been provided?


Ans- CALL CUSTOMER-FUNCTION

8. Which options are correct w.r.t enhancement sections. Choose 3


Ans- Options- A, B, D
It is the option provided explicitly by SAP to replace a block of SAP code with customer
code
It offers a default logic which will be replaced by the custom logic when implemented
It is placeholder that comes with standard code

9. Match the following w.r.t call transaction method of BDC


1) Mode A 2) Mode N 3) Mode E
A) All screen B) Error screen C) No screen
Ans- 1-A, 2-C, 3-B
10. Which of the following is not a data conversion tool?
Ans- ABAP Query

11. Transaction data is inserted into the session with the function module?
Ans- BDC_INSERT

12. Tcode to create BADI implementation


Ans- se19

13. What is also placeholder but comes with default code in enhancement framework?
Ans- ENHANCEMENT-SECTION

14. A batch input session is started with the function module?


Ans- BDC_OPEN_GROUP

15. Check what is true about implicit enhancements. There are more than 1 correct options
Ans-Beginning of subroutines/fm/methods/include
FM enhancements-additional parameters
Class enhancements-PRE/POST/OVERWRITE method
End of subroutines/fm/methods/include

16. Match the following


1) ALE 2) IDOC 3) EDI
A) Application link enable, it is used to distribute the data between 2 different SAP system
B) Electronic data interchange, it is used to distribute the data between sap and non-sap system
C) Intermediate document, carrier to carry the data between the distributed system in electronic
from without user interaction
Ans- 1-A 2-C, 3-B

17. What are the suitable options of finding an exit? Choose 3


Ans- SPRO, SE84, SMOD

18. How to specify & where to specify source fields in LSMW?


Ans- Source structure is defined in step ‘Define Source Fields’. There create & add all the fields
of source file in the same order & same data type of the fields in the source file OR All the
above
19.An architect has to estimate the size of HANA which is called as HANA Sizing. HANA
Sizing can be done using which fools among the following. Choose 3
Ans- ABAP Reports
DB Scripts
Quickie Tool

20. AMDP is created in which layer?


Ans- HANA layer

21. Which standard program can be used to schedule session processing in background?
Ans- RSBDCSUB

22. What can have multiple implementations & multiple customers can use them
simultaneously?
Ans- BADI

23. In Code-Pushdown technique


Ans- Processing in the database layer leads to better speed than processing in application layer

24. Data is distributed over many blades/cores. Which feature of HANA database is it?
Ans-Partitioning

25. The below statement is not capturing any msg during transaction execution. How to modify
the statement to do the same? Choose 2
CALL TRANSACTION ‘FD01’
USING It_bdcdata
MODE ‘N’
UPDATE ‘S’
Ans - 1. Add the following statement after CALL TRANSACTION MESSAGE ID sy-msgid
TYPE sy-msgfy NUMBER sy-msgno WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
2. Add message within call transaction statement

26. Which of these are valid status of a BDC session (during or after processing).
Ans- Processed
Incorrect
To be processed

27. Enhancement points are type of


Ans- explicit enhancement
28. What are the Prerequisites for AMDP method? Choose 4
Ans- Only input, export, and changing parameters_________
Scalar or Tabular typed (single variable parameters)
No returning parameter
Parameters passed by VALUE only_______

29. What will take the first NON-NULL from the 2 parameters passed?
Ans- COALESCE

30. Which of the following is/are the correct ways to implement AMDP method? Choose 2.
Ans- 1. Option A- METHOD amdp BY DATABASE PROCEDURE
FOR HDB
LANGUAGE sqlscript
OPTIONS read-only
USING sflight
ENDMETHOD

2. Option B- METHOD amdp


FOR HDB
LANGUAGE sqlscript
OPTIONS read-only
USING sflight
ENDMETHOD

31. What are the types of information views. Choose 3


Ans- Attribute view
Analytical view
Calculation view

32. For successful data migration what is commonly performed to improve data quality by
eliminating redundant or obsolete information.
Ans- Data cleaning

33. Which is similar to ABAP views, where the combination of tables are done and viewed as a
single result set but support more features than ABAP Dictionary views
Ans- CDS
34. What are the 2 new expression for internal Table Built-in Function? Choose 2
Ans- LINE_INDEX
LINE_EXISTS

35. A BDC session can be processed in which of the given modes?


Ans- both 1 and 2 (foreground and background)

36. What are the types of calculation views?


Ans- Graphical and SQL script

37. Which keyword helps as marker for AMDP method?


Ans- BY DATABSE PROCEDURE

38. Which method updates SAP database tables directly via SAP Open SQL?
Ans- Direct update

39. What is DYNPRO in BDCDATA structure?


Ans- Screen number

40. What is the output of the below source code?


SELECT id,
name,
street && postbox && postcode && city AS address
FROM scustom
INTO TABLE @DATA(lt_scustom)
WHERE custtype = ‘P’.

LOOP AT lt_scustom INTO DATA(lw_scustom).


WRITE : lw_scustom-id, lw_scustom-name, lw_scustom-address.
ENDLOOP
Ans- ID_Name, street, postbox, postcard and city from scustom table for all entries wih custtype
field having value “P” are printed as 3 columns (ID, Name and Address)

41.
Ans- SAP standard load program (DMI)
Custom ABAP load program
ALE/EDI
BAPI
42. ________interface technique?
Ans- All

43. Below CDS view is giving syntax issue. What is the problem?
@AbapCatalog.sqlViewName: ‘zcds_test_27’
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText:label: ‘27’
Define view zcds_ test_27 as select from sflight {
carrid,
connid,
currency,
fldate,
}
Ans- SQL view name and _____
44. Which statement is true about function module calls of BDC session method?
1. When BDC_OPEN_GROUP is used, it is mandatory to close session using
BDC_CLOSE_GROUP
2. Even if BDC_CLOSE_GROUP is not used, we can process the session in SM35
3. BDC_OPEN_GROUP is not mandatory, only BDC_INSERT is required
4. BDC_INSERT requires data in BDCDATA format
5. BDC_INSERT will capture messages occurred during dialog processing
Ans- (1) & (4)

45. Predict the output of the below source code


TYPES : BEGIN OF ty_data.
name TYPE char10,
age TYPE char2,
END OF ty_data.
TYPES : tt_data TYPE STANDARD TABLE OF ty_data WITH DEFAULT KEY.
START-OF-SELECTION.
data(lt) = new tt_data( ( name = ‘Neena’ age = ‘30’ )
( name = ‘Sarath’ age = ‘29’ )
( name = ‘Rani’ age = ‘31’ ) ).
cl_demo_output=>display_data( lt->*).
Ans- LT->*

NAME AGE
Neena 30
Sarath 29
Rani 31

46. In this - mode, Data is not continuously updated in case of error record
Ans- option A

47. Name the class which can be used to find BADI in debugging?
Ans- CL_EXITHANDLER

48. What is the parameters that captures the success & error messages while using BAPIs?
Ans- RETURN tables contain all error/success messages.

49. BAPI is used to connect external system to?


Ans- Exchange the data through remote function call

50. _____function module is used to read the input field for BADI_SORTER.
Ans- BADI_SORTER_LAYER_GET

51.If you search CALL CUSTOMER-FUNCTION in program you will find?


Options- 1) Implicit enhancement section 2) BADI and User exits 3) BADI 4)
User Exits
Ans- User exits

52. Steps to find implicit enhancement


Ans- Click the spiral button to display the enhancements -->Show implicit enhancement option -
-> implicit enhancement point is displayed

53. What does the below source code mean?


w_sflight = t_sflight[ 5 ].
Ans- Read 5th record in the internal table

54.
Ans- All

55. Which BADI can be used to achieve the order sequence?


Ans- BADI_SORTER
56. What is true about User exits?
1. Access key is not needed
2. Classified into field exit, function module exit, screen exit, and menu exit
3. Are basically designed for module SD
4. Doesn’t have any classification
5. Considered modification, because we are modifying technical objects in SAP
namespace
Ans: (3) (4) & (5)

57. Is Session Method, Asynchronous or Synchronous?


Ans- Synchronous

58. Rewrite the statements from read table onwards with new ABAP syntax.

SELECT id,
name,
street
FROM scustom
INTO TABLE @DATA(lt_scustom)
WHERE custtype = ‘B’

READ TABLE lt_scustom WITH KEY id = ‘00000003’ TRANSPORTING NO


FIELDS.
IF sy-subrc = 0.
MESSAGE s000.
ENDIF.
Ans.

59. Which is not a code pushdown technique?


Ans- BADI

60. What is the new feature introduced in


OPEN SQL in ABAP language > 7.4 upgrade feature
Ans- RIGHT JOIN

61. A BDC table is defined as an internal table with the ABAP Dictionary structure?
Ans- BDCDATA
62. Match the following of SM35 tcode functionality
1) Overview
2) Analysis
3) Admin
4) Processing

A) Batch input sessions, Batch input flow logs


B) Display batch input data logs
C) Delete/block sessions
D) Process in foreground, Only display errors invisible
Ans- 1)-(A) 2)-(B) 3)-(C) 4)-(D)

63. Which variable can store the BADI name while finding the BADI using
CL_EXITHANDLER?
Ans- EXIT_NAME

64. Which is not a software innovation of HANA database?


Ans- Aggregate tables

65. Which options can be utilized to import data using LSMW?


1. Direct input
2. Batch input Recording
3. BAPI
4. Idoc
Ans- All

66. What are various methods of LSMW? There are more than 1 correct options
Ans - Direct input
Batch input Recording
BAPI
Idoc

67. Compression technique are applied only on which type of data


Ans- Column stored

68. What is true about AMDP method?


Ans- No returning parameter
69. Convert the below source code to new syntax.
READ TABLE lt_sflight INTO lw_sflight WITH KEY carrid = ‘AA’.
Ans- lw_sflight = lt_sflight[carrid = ‘AA’].

70. What is the syntax error in the below code?


START-OF-SELECTION
SELECT carrid, connid, fldate, price
FROM sflight
INTO TABLE @data(t_sflight)
WHERE carrid = pa_carr.
Ans- The variable PA_CARR is not escaped

71. Which of the following is/are correct?


Ans- We can have multiple implementation of a BADI

72. In HANA which among the following helps in parallel processing of the data & hence use
the underlying hardware to its full capacity
Ans- Multi-Node, Multi-Core CPUs

73. Which server does text analysis in HANA?


Ans- Preprocessor server

74. Which statement in CALL TRANSACTION will help to capture messages?


Ans- MESSAGES

75. Enhancement section & points are part of


Ans- Explicit enhancements

76. An error log file is generated by the system to handle the errors – in which BDC method?
Ans- Session method

77. Which cannot be scheduled as background jobs or be included in background management?


Ans- ALV IDA

78. What is true about CDS views creation?


Ans- Both ABAP development tools and HANA database access is required

79. What is true about CDS?


Ans- Top down approach
CDS (SQL view) view will be automatically generated in HANA_________linked to the
system
CDS views are created and maintained from the ABAP stack

80. What is true about Use of batch input?


1. Cannot be scheduled and submitted in the background
2. Can be processed automatically without human intervention
3. Can process large data volumes
4. Uses standard SAP transactions, just as if the data were entered manually.
Ans- (2), (3) and (4)

81. Which transaction is used to define the enhancement project?


Ans- CMOD

82. What permits you to control the implementation and make it reliable on specific criteria?
Ans- BADI

83. _______ also known as cube. They are used to build a data foundation based on at least one
transactional table.
Ans- Analytical View

84. A set of domain-specific languages and services for defining and consuming semantically
rich data models. What is it?
Ans- Option 2 : CDS views

85. Limitations of CDS?


Ans- All

86. In BDC program, while updating BDCDATA work area, it is mentioned like below. What is
(01) indicates?
lw_bdcdata-fnam = ‘BDC_CURSOR’.
lw_bdcdata-fval = ‘KNBK-BANKN(01)’.
Ans- Step loop Line number

87. Steps to find implicit enhancements.


Ans- Click the spiral button to display the enhancements
-> Show implicit enhancement option -> implicit enhancement point is displayed

88. Which processing mode in session method display termination messages? Choose 2.
Ans- Display errors only
Foreground

89. What is true about CDS views?


Ans- Can be viewed in SE11 in but modification of the views are done only in the Eclipse or
HANA studio.

90. Match the following


1) Kernel 2) Integrity 3) Interface 4) Access
A) Describes the implementation & structure of the SAP Business Object and defines the
object’s interface to the outside world.
B) Represents the business logic of the object. It comprises the business rules and constraints that
apply to the Business Object.
C) This is the core of the SAP Business Object, which represents the object’s inherit data.
D) Defines the technologies that can be used to obtain external access to the object’s data.
Ans- 1)-(C) 2)-(B) 3)-(A) 4)-(D)

91. Choose the types of enhancements that needs to be assigned to an enhancement project?
Choose 3.
Ans- SCREEN exit
MENU EXIT
FIELD EXIT

92. What are the inbound interface techniques?


Ans-

93. Which method updates SAP db tables directly via SAP Open SQL?
Ans- direct update

94. Match the following. __ codes for batch input processing.


1) /n
2) /bdel
3) /bend
4) /bda
5) /bdc
A) Terminates current execution of batch input and mark as incorrect
B) Change from display mode to process the Session displaying on screen rather displaying only
errors
C) Terminate current batch input execution
D) From session delete current batch input transaction
E) Change to display only errors
Ans- 1)- (A), 2)- (D), 3)- (C), 4)- (B), 5)- (E)

95. Which is the option provided explicitly by SAP to replace a block of SAP code with
customer code?
Ans- Enhancement section

96. What are the inbound interface technique?


Ans- SAP standard load program
Custom ABAP load program
ALE/EDI (IDoc)
BAPI

You might also like