Wednesday, March 30, 2022

SAP Certified Development Associate - ABAP with SAP NetWeaver 7.50 Part -2

 


When are the changes to the VB* table transferred to the database?

Please choose the correct answer.

A.      When the main program is executed

B.      When the enqueue work process is executed

C.      When the update work process is executed

D.      When an update function module is executed

Answer

C

Question: An ABAP program processes the following expression: r = a / b + c

Which of the following data declarations would cause the runtime environment to use fixed-point arithmetic for the above expression?

Please choose the correct answer.

A.      DATA: r TYPE f, a TYPE iVALUE 201, b TYPE iVALUE 200, c TYPE f.

B.      DATA: r type p, a type iVALUE 201, b type iVALUE 200, c type i.

C.      DATA: r TYPE p DECIMALS 2, a TYPE iVALUE 201, b TYPE iVALUE 200, c TYPE p.

D.      DATA: r TYPE p DECIMALS 2, a TYPE iVALUE 201, b TYPE iVALUE 200, c TYPE f.

Answer

C

You want to translate dynamic text in a web dynpro. From which abstract class should you inherit?

A.      CL_WD_CONTEXT_SERVICES

B.      CL_WD_COMPONENT_SERVICES

C.      CL_WD_COMPONENT_ASSISTANCE

D.      CL_WD_CONFIGURATION_MODEL

Answer

C

What does Software Layer Aware Debugging allow you to do?

There are 3 correct answers to this question.

A.      Debug a large portion of code

B.      Bypass authorization objects

C.      Debug only a small portion of code

D.      Specify as much or as little code to debug

E.       Trace executing code

Answer

A,C,D

You want to check the user input in the field FIELD_NAME on a classical screen. If  an incorrect value is entered, the user should be able to correct the field value.

How do you call the module CHECK_MODULE in the PAI of the screen to accomplish this?

Please choose the correct answer.

A.      FIELD field_name MODULE check_module MESSAGE Ennn.

B.      FIELD field_name MODULE check_module.

C.      MODULE check_module ON ERROR.

D.      CHAIN. MODULE check_module FIELD field_name. ENDCHAIN.

Answer

B

You want to read data from two database tables A and B using a database join.  Database table B contains details for data records stored in database table A. Your  result should contain all combinations of matching rows from A and B plus all rows  from A that do not have matching rows in B.

Which statement do you use?

Please choose the correct answer.

A.      SELECT … FROM a LEFT OUTER JOIN b …

B.      SELECT … FROM a INNER JOIN b …

C.      SELECT … FROM a JOIN b …

D.      SELECT … FROM b RIGHT OUTER JOIN a …

Answer

A

What is the default length of the type C data type?

Please choose the correct answer.

A.      100

B.      1–65535

C.      10

D.      1

Answer

D

What properties will be set when you define a table type in the ABAP Dictionary?

There are 3 correct answers to this question.

A.      Change document

B.      Line type

C.      Access mode

D.      Primary key

E.       GET/SET Parameter

Answer

B,C,D

After which statement will the runtime system initialize the ABAP memory?

Please choose the correct answer.

A.      SUBMIT

B.      SUBMIT… AND RETURN

C.      LEAVE TO TRANSACTION

D.      CALL TRANSACTION

Answer

D

You have declared a sorted internal table with the columns A, B, C, and D. The key consists of columns A, B, and C, in this order.

Which combination of columns in the WHERE clause of a LOOP statement allows the system to optimize the access to the table?

There are 2 correct answers to this question.

A.      C and D

B.      A and B

C.      B and C

D.      A, B, C, and D

Answer

B,C

What is required to fully specify a Table Type in the ABAP Dictionary?

There are 3 correct answers to this question.

A.      Line type

B.      Access type

C.      Table key

D.      Header line

E.       Table size

Answer

A,B,C

Which method of passing parameters is preferred for its performance?

Please choose the correct answer.

A.      Pass by subclass

B.      Pass by value

C.      Pass by reference

D.      Pass by class

Answer

C

How would you find out if an application program offers a program exit?

Please select all the correct answers that apply.

A.      Use the Repository Information System

B.      Use the Application Hierarchy

C.      Search for the character string CUSTOMER-FUNCTION

D.      Look for a customer exit in the SAP reference IMG within an application area

Answer

A,B,C,D

In an ABAP program, you to assign an initial value to an elementary data object  when you define it. Which addition must you use?

Please choose the correct answer.

A.      READ-ONLY

B.      OBLIGATORY

C.      VALUE

D.      DEFAULT

Answer

C

The USER has the following fields: ID, FIRST_NAME, LAST_NAME. FIRST_NAME, LAST_NAME have the same basic type and length. You want to compare fields FIRST_NAME, LAST_NAME to each other.

Which of the following SELECT statements can you use?

There are 2 correct answers to this question.

A.      SELECT*FROM users AS a INTO TABLE It_users WHERE a first_name = last_name.

B.      SELECT*FROM users INTO TABLE It_users WHERE first name = users »last_name.

C.      SELECT*FROM users AS a INTO TABLE It_users WHERE a»first_name = a»last_name

D.      SELECT*FROM users INTO TABLE It_users WHERE first_name = users last_name

Answer

B,C

Which of the following transactions can you use to define transparent tables?

Please choose the correct answer.

A.      SE16N

B.      SM37

C.      SE11

D.      SE38

Answer

C

Which of the following are incomplete ASAP pre-defined data types?

There are 3 correct answers to this question.

A.      N

B.      P

C.      x

D.      D

E.       T

Answer

A,B,C

What transactions can be used to carry out modification adjustments after a system upgrade?

There are 2 correct answers to this question.

A.      SPAU_ENH

B.      SPDD

C.      SPAU

D.      SPAD

Answer

B,C

What are some of the new features of Open SQL in SAP NetWeaver 7.5?

There are 2 correct answers to this question.

A.      Intersection

B.      CASE expressions

C.      String expressions

D.      Full Join

Answer

B,C

You have written a method implementation containing the following access to an internal table defined as a changing parameter of the method. READ TABLE ct_itab INTO cs_struc INDEX 1.

What are the possible type definitions for parameter ct_itab?

There are 3 correct answers to this question

A.      Standard Table

B.      Index Table

C.      Any Table

D.      Sorted Table

E.       Hashed Table

Answer

A,C,D

How can you search for classic Business Add-Ins (BAdIs)?

There are 2 correct answers to this question.

A.      Search in the application program for the method GET_ INSTANCE of class CL_EXITHANDLER.

B.      Search the relevant component in the Implementation Guide (IMG).

C.      Search in the application program for the GET BADI statement.

D.      Search in the application program for the CALL BADI statement.

Answer

A,B

You have been asked to review the following expression, which processes character strings:

result = find( val= 'abapABAP' sub ='A'

occ = 2

case = 'X' ....).

What is the expected value of result?

Please choose the correct answer.

A.      2

B.      6

C.      4

D.      1

Answer

B

Which you should specify in a non-Unicode system when opening a file in TEXT MODE?

There are 2 correct answers to this question.

A.      The code page

B.      The ENCODING addition

C.      The byte order

D.      The storage order

Answer

A,C

Your program uses the class CL_GUI_ALV_GRID to generate a classic ALV Grid Control What do you need in your program to react to a use double-clicking a row in the ALV Grid?

There are 3 correct answers to this question

A.      A handler method for the double_click event

B.      A handler class

C.      A method call to create the event handler

D.      A SET HANDLER statement to register the handler to the event

E.       A method call to refresh the display

Answer

A,B,D

What properties will be set when you define a table type in the ABAP Dictionary?

There are 3 correct answers to this question.

A.      Primary key

B.      Change document

C.      Access mode

D.      Line type

E.       GET/SET Parameter

Answer

A,C,D

In which of the following source code blocks can you define local data objects?

There are 3 correct answers to this question.

A.      Static method

B.      Subroutine

C.      Function module

D.      PBO module

E.       LOAD-OF-PROGRAM

Answer

A,B,C

You create a domain in the ABAP dictionary. How can you use this domain?

Please choose the correct answer.

A.      To define the data type of a table field or structure component

B.      To describe the value range of a table field or structure component

C.      To define data objects in ABAP programs

D.      To define technical properties of data elements

Answer

C

You want to develop a validation routine for a selection screen field. If a wrong value is entered into the field an error message should be displayed and the focus should move to the field. Which event do you use to achieve this?

Please choose the correct answer.

A.      START-OF-SELECTION

B.      END-OF-SELECTION

C.      AT SELECTION-SCREEN

D.      INITIALIZATION

Answer

C

You have declared a sorted internal table with the columns A, B, C, and D. The key consists of columns A, B, and C, in this order.

Which combination of columns in the WHERE clause of a LOOP statement allows the system to optimize the access to the table?

There are 2 correct answers to this question.

A.      A and B

B.      C and D

C.      B and C

D.      A, B, C, and D

Answer

A,C

Where can you set the GUI status and the GUI title for a classical screen (dynpro)?

Please choose the correct answer.

A.      In a module called from PAI of the screen

B.      In a module called from PBO of the screen

C.      In the properties of the related header UI element

D.      In the attributes of the screen

Answer

B

What can you change in the ABAP Debugger?

Please choose the correct answer.

A.      Definition of a structure

B.      Value of a constant

C.      Content of an internal table

D.      Value of a reference variable

Answer

C

You want to check the user input in the field FIELD_NAME on a classical screen. If an incorrect value is entered, the user should be able to correct the field value.

How do you call the module CHECK_MODULE in the PAI of the screen to accomplish this?

Please choose the correct answer.

A.      CHAIN. MODULE check_module FIELD field_name. ENDCHAIN.

B.      MODULE check_module ON ERROR.

C.      FIELD field_name MODULE check_module.

D.      FIELD field_name MODULE check_module MESSAGE Ennn.

Answer

C

A transport company keeps track of this availability in two tables, table VEHICLES and table TRANSPORT. To accept a new transport of a certain capacity must be found in table VEHICLES. If a record is found, a record is created in table

TRANSPORT. The capacity is then adjusted in table VEHICLES.\

You have four function modules at your disposal.

UPD_VEHI_A and UPD_VEHI_B update a matching report in table VEHICLES. If an error occurs both issue a message of type X. If no error occurs only UPD_VEHI_A issues a message of type X. If no error occurs UPD_VEHI_A issues a message of type I.

UPD_TRAN_A and UPD_TRAN_B create a single record in table TRANSPORT. If an error occurs both issues a message of type X. If no error occurs only UPD_TRAN_A issues a message of type I.

Which of the following function module calls ensures a single logical unit of work?

Please choose the correct answer.

A.      UPD_VEHI_A

UPD_TRAN_B

 

B.      UPD_TRAN_A

UPD_VEHI_B

 

C.      UPD_TRAN_B

UPD_VEHI_B

 

D.      UPD_VEHI_A

UPD_TRAN_A

Answer

A

You create a function group ZATP. What is the name of the corresponding main program?

Please choose the correct answer.

A.      SAPLZATP

B.      ZATP

C.      SAPMZATP

D.      SAPFZATP

Answer

A

Which of the following actions can you performing both the ABAP Editor and in the ABAP Debugger?

Please choose the correct answer.

A.      Create a watchpoint for a specific variable.

B.      Create a breakpoint for a specific message.

C.      Create a breakpoint for a specificline.

D.      Create a breakpoint for a specific statement.

Answer

C

What can be part of the signature of an instance constructor?

There are 2 correct answers to this question

A.      Importing parameters

B.      Exceptions

C.      Exporting parameters

D.      Changing parameters

Answer

A,B

Which of the following capabilities is provided by the Application Layer platform of SAP Netweaver?

Please choose the correct answer.

A.      Business process management

B.      Database and operating system abstraction

C.      Multi-channel access

D.      Master data management

Answer

B

What is the Web Dynpro programming model is based on?

Please choose the correct answer.

A.      Business Server Pages (BSPs)

B.      Internet Transaction Server (ITS)

C.      Model View Controller (MVC)

D.      Classic Dynpro programming

Answer

C

You created a class by inheriting from a superclass. The superclass contains a public instance method do_something. You want to redefine method do_something. What must you do?

Please choose the correct answer.

A.      Call the implementation in the superclass.

B.      Declare the method FINAL.

C.      Leave the signature of the method unchanged.

D.      Change the visibility of the method to PROTECTED.

Answer

C

dbtab is a transparent table. What is declared by the following statement? DATA myvar TYPE dbtab.

Please choose the correct answer.

A.      A structure variable

B.      A reference to an internal table

C.      An elementary field

D.      An internal table

Answer

A

Where can you define data types that can be accessed directly by all ABAp repository objects in an SAP system?

There are 2 correct answers to this question

A.      In a function module

B.      In a global class

C.      In the ABAP dictionary

D.      In a method

Answer

B,C

Which of the following ABAP statements throws an error at the syntax check?

Please choose the correct answer.

A.      DATA variable

B.      DATA variable(5) TYPE t.

C.      DATA variable(5) TYPE n.

D.      DATA variable(5) TYPE p.

Answer

B

Which of the following statements correctly define a data object with the type of data element s_conn_id?

There are 3 correct answers to this question.

A.      DATA gv_id TYPE REF TO s_conn_id.

B.      PARAMETERS pa_id TYPE s_conn_id.

C.      DATA gv_id TYPE s_conn_id.

D.      CONSTANTS gc_id TYPE s_conn_id VALUE '0400'.

E.       DATA gv_id LIKE s_conn_id.

Answer

B,C,D

You are writing a function module that will be called from external system via remote function call (RFC). How do you report an error back to the external caller?

Please choose the correct answer.

A.      Write the error data into a CHANGING parameters passed by value.

B.      Write the error data into TABLES parameters that is passed by reference.

C.      Write the error data into a RECEIVING parameter that is passed by value.

D.      Write the error data into an EXPORTING parameters passed by reference.

Answer

B

A screen has the following PAI flow logic:

PROCESS AFTER INPUT

FIELD A MODULE check_A

FIELD B MODULE check_B

CHAIN.

FIELD: C, D

MODULE check_CD

ENDCHAIN

CHAIN.

FIELD: C, B.

MODULE check_CB

ENDCHAIN

What happens if the application sends a type E message during the check_CB

module processing?

Please choose the correct answer.

A.      The screen is NOT displayed again. Processing terminates and the user must restart the ABAP program.

B.      The screen is displayed again and the PBO flow logic is processed. Only fields B and C are ready for input.

C.      The screen is displayed again without processing the PBO flow logic. Only fields B and C are ready for input

D.      The screen is displayed again without processing the PBO flow logic. All fields are ready for input.

Answer

C

What options do you have when setting a watchpoint?

There are 2 correct answers to this question.

A.      Stop at predefined conditions for a specific variable.

B.      Stop at any change of all variables.

C.      Stop at any change of a specific variable.

D.      Stop at predefined conditions for all variables.

Answer

A,C

Which of the following controller types can exist only once in a Web Dynpro component?

There are 2 correct answers to this question.

A.      Window controller

B.      Configuration controller

C.      Component controller

D.      View controller

Answer

B,C

Subroutines provide which types of parameters?

There are 2 correct answers to this question.

A.      Return values

B.      Exceptions

C.      Output

D.      Input/output (changing)

E.       Input

Answer

B,D

A view can only be displayed in which circumstances?

Please choose the correct answer.

A.      It can always be displayed.

B.      It cannot always be displayed.

C.      It has been embedded in a window.

D.      It contains an inbound and outbound plug.

Answer

C

Where should the labels for fields be stored?

Please choose the correct answer.

A.      Field

B.      Structure

C.      Table

D.      Data element

E.       Domain

Answer

D

You want to loop over an internal table without copying each table row to a work area. How can you achieve this using a field symbol?

Please choose the correct answer.

A.      LOOP ...ASSIGNING <field_symbol> ...ENDLOOP.

B.      LOOP ...INTO <field_symbol> ...ENDLOOP.

C.      LOOP ... INTO <field_symbol> TRANSPORTING ... ENDLOOP.

D.      LOOP ... REFERENCE INTO <field_symbol> ... ENDLOOP.

Answer

A


If you have any problem so download the file to click on "Download".

Download

I hope it's helpful for you. If you have any queries, don't hesitate to contact me.

Name : Muhammad Sahal Qasim
E-mail : s.m.sahal789@gmail.com
Thank you.