SAP---ABAP

Monday, May 12, 2008

ABAP/4 Interview Qns and Answers

201) What are the sequences of event block?

Ans

i. Reports

ii. Nodes

iii. Data

iv. Initialization

v. At selection-screen

vi. Start-of-selection

vii. Get deptt

viii. Get emp

ix. Get deptt late

x. End-of-selection

xi. Form

xii. Endform


202) What are types of Select statements?

Ans SELECT SINGLE ... WHERE ...

SELECT [DISTINCT] ... WHERE ...

SELECT * ...


203) What are DML commands?

Ans Select, Insert, Delete, Modify, Update.


204) What is Asynchronous and Synchronous Update?

Ans Asynchronous Update – The program does not wait for the work process to finish the

update. Commit Work.

Synchronous Update – The program wait for the work process to finish the update.

Commit Work and Wait.


205) Write syntax for Message Error (Report)?

Ans AT SELECTION-SCREEN.

SELECT * FROM ZREKHA_DEPTT INTO CORRESPONDING FIELDS OF ITAB

WHERE DEPTNO IN DEPTNO.

ENDSELECT.

If SY-DBCNT = 0.

MESSAGE E000 WITH ‘NO RECORDS FOUND’.

ENDIF.


206) How to see the list of all created session?

Ans There are two method to see all sessions:

1) SHDB (Recording)

2) Write code in SE38 then save, check errors activate and execute it.

System

Service

Batch input

Session


207) What are the function module in BDC?

Ans There are three function module in BDC:

1) BDC_OPEN_GROUP

2) BDC_INSERT

3) BDC_CLOSE_GROUP


208) Write the steps to execute session method.

Ans Steps for execution Session Method:

1) System

2) Service

3) Batch Input

4) Session

5) Choose Session Name

6) Process

7) Asks for Mode (Display All Screen, Display Errors & Background)

8) Process


209) What are the different types of mode (run code) in Call Transaction method?

Ans There are three modes in Call Transaction:

A – Displays All Screen

E – Display Errors

N – Background Processing


210) Write the transaction code of Customer Master Data, Pricing, Inquiry, Quotation and Sales Order.

Ans

Customer Master Data - XD01

Pricing -

Inquiry - VA11

Quotation - VA21

Sales Order - VA01

- MM01

No comments: