SAP---ABAP

Monday, May 12, 2008

ABAP/4 Interview Qns and Answers

271) What are different data types in ABAP/4?

Ans

Elementary -

Predefined: C, D, F, I, N, P, T, X.

User defined: TYPES.

Structured -

Predefined: TABLES.

User defined: Field Strings and internal tables.


272) What is difference between session method and Call Transaction?

Ans Call Transaction –

1. Single transaction

2. Synchronous processing

3. Asynchronous and Synchronous update

4. No session log is created

5. Faster

Session –

  1. Multiple Transaction
  2. Asynchronous processing
  3. Synchronous update
  4. Session log is created
  5. Slower


273) Setting up a BDC program where you find information from?

Ans


274) What has to be done to the packed fields before submitting to a BDC session.

Ans Fields converted into character type.


275) What is the structure of a BDC sessions.

Ans BDCDATA (standard structure).


276) What are the fields in a BDC_Tab Table.

Ans PROGRAM, DYNPRO, DYNBEGIN, FNAM, FVAL.


277) What do you define in the domain and data element.

Ans Domain - Technical details are defined in Domain like data type, number of decimal places and length.

Data Element – Functionality details are defined in Data elements – Field Text, Column Captions, Parameters ID, and Online Field Documentation.


278) What is the difference between a pool table and a transparent table and how they are stored at the database level.

Ans Pool tables are a logical representation of transparent tables. Hence no existence at database level.

Where as transparent tables are physical tables and exist at database level.

Pool Table -

4) Many to One Relationship.

5) Table in the Dictionary has the different name, different number of fields, and the fields have the different name as in the R3 Table definition.

6) It can hold only pooled tables.

Transparent Table –

4) One to One relationship.

5) Table in the Dictionary has the same name, same number of fields, and the fields have the same name as in the R3 Table definition.

6) It can hold Application data.


279) What is cardinality?

Ans For cardinality one out of two (domain or data element) should be the same for Ztest1 and Ztest2 tables. M:N Cardinality specifies the number of dependent(Target) and independent (source) entities which can be in a relationship.


280) For Sales Document: Item Data, which table is used?

Ans VBAP – Sales Document, Sales Document Item, Material Number, Material Entered, Batch Number, Material Group, Target Quantity in Sales Document.


281) What are the types of tables?

Ans

1) Transparent table 5) Pool table

2) Cluster table are data dictionary table objects 6) Sorted table

3) Indexed table 7) Hash table

4) Internal tables.


282) What are pooled table?

Ans Table pools (pools) and table clusters (clusters) are special table types in the ABAP Dictionary. The data from several different tables can be stored together in a table pool or table cluster. Tables assigned to a table pool or table cluster are referred to as pooled tables or cluster tables.

A table in the database in which all records from the pooled tables assigned to the table pool are stored corresponds to a table pool. The definition of a pool consists essentially of two key fields (Tabname and Varkey) and a long argument field (Vardata).

Table Clusters Several logical data records from different cluster tables can be stored together in one physical record in a table cluster.

A cluster key consists of a series of freely definable key fields and a field (Pageno) for distinguishing continuation records. A cluster also contains a long field (Vardata) that contains the contents of the data fields of the cluster tables for this key. If the data does not fit into the long field, continuation records are created. Control information on the structure of the data string is still written at the beginning of the Vardata field.


283) What are Hashed Tables?

Ans Hashed tables - This is the most appropriate type for any table where the main operation is key access. You cannot access a hashed table using its index. The response time for key access remains constant, regardless of the number of table entries. Like database tables, hashed tables always have a unique key. Hashed tables are useful if you want to construct and use an internal table, which resembles a database table or for processing large amounts of data.

SAMPLE PROG: THIS DOES NOTHING.

REPORT Z_1 .

TABLES: MARA.

DATA: I TYPE HASHED TABLE OF MARA WITH UNIQUE KEY MATNR


284) How did you test the form u developed? How did you take the print of it?

Ans


285) How many maximum number of fields can be there in a table?

Ans


286) How many primary keys can be there in a table?

Ans


287) What are the steps to perform Performance Tuning? What will you do increase the performance of your system?

Ans


288) What is mandatory in Screen Painter?

Ans


289) If u are entering large amount of data, and system fails, then how many records will be entered or no records or half records will be entered?

Ans


290) In Screen Painter, if two fields are mandatory and user do not want to enter anything but he wants to come out of the screen, then what will he do?

Ans


291) What is At-Exit and User-Exit?

Ans


292) How will you find the standard tables, you only know there names like Customer Master Table?

Ans


293) How will change Development Class?

Ans


294) How will you call both Function Module and Function Group?

Ans


295) What is ALV?

Ans


296) What is Chain-Field & Chain-Loop?

Ans


297) What is Value-Ranges?

Ans


298) How will you provide help for value request particular fields?

Ans


299) How will you find relationship between two or more tables?

Ans


300) In BDC’s, if you forget to write one field, then how will you modify that field in your BDC program?

Ans

No comments: