Wednesday, May 14, 2008

IBM abap interview Questions phase - final 2

25.

What are the exceptions in a function module?

Ans: error situations that can occur within function modules EXCEPTION - return codes.

26.

What is a function group?

Ans : A function group is the main program for the function modules it contains. Functions that use the same data are normally assigned to the same function group.

27.

How are the date and time fields values stored in SAP?

Ans: As character fields of length 8 and 8 as NUMC.

28.

What is a Julian date format?

29.

Name a few data dictionary objects? Ans: Tables – Views – Structure – Domains – Data elements – Match codes – Lock objects – type groups.

30.

What happens when a table is activated in DD?

-A table definition is generated - Map to the database system

-For each table, a table of the same name with the same fields and corresponding data type is created in database. – Primary index is generated automatically

31.

What is a check table and what is a value table?

- When we define a foreign key in a table (A). If this key refers to primary key of another table (B). Table B is check table

- Fields referring to a domain may assume values contained in the corresponding fields of the value table. Field referring to the domain should have a foreign key

32.

What are match codes? Describe.

- Tool that helps us to search data records in the system.

33.

What transactions do you use for data analysis?

-

34.

What is table maintenance generator?

- used to maintain tables and providing authorization for particular objects

1. One step maintenance

2. Two step maintenance

35.

What are ranges? What are number ranges?

- A range of numbers that can be laid down for assignment of document numbers.

· Internal

· External

36.

What are select options and what is the different from parameters?

- Select options are used to select a range of values where as in Parameters only one value can be given

- Select option generates a line on selection screen, the first part of which contains a text, followed by a range for input possibilities.

37.

How do you validate the selection criteria of a report? And how do you display initial values in a selection screen?

- Validation - AT SELECTION-SCREEN event

- Initial Values – by default statement in select options / parameters

38.

What are selection texts?

- Texts that appear on the selection screen for a particular field. Default – fields name.

39.

What is CTS and What do you know about it? [ CTS is Correction and Transport Systems ]

- Correction system manages the internal system components like objects like only original version of the object exists. It stores all changes made to the object.

- Transport system allows to transports the object from on SAP system to another (Development system to Production system). It allows to over write or delete existing object in target system and import new objects to target systems.

- During development work we start by opening a task (correction) to which we can assign new and changed objects. Once changes have been made, transport new or changed objects to other SAP system by means of transport (Change) request.

40.

When a program is created and need to be transported to production does selection texts always go with it? If no how do you make sure? Can you change the CTS entries? How do you do it?

-

41.

What is client concept in SAP? What is the meaning of client independent?

- Client - A client is self contain unit in an R/3 system with separate master records in common tables(MANDT).

- Client independent – records and tables can be accessed from any client.

42.

Are program clients dependent?

- No

43.

Name a few system global variables you can use in ABAP program?

- SY-TEXT SY-TVARD SY-TVAR1 SY-TVAR2

44.

What are internal tables? How do you get number of lines in an internal table? How to use a specific numbers occur statement?

- Data structure that exists only at program runtime. Internal tables are one of two structured data types in ABAP. They can contain any number of identically structured rows, with or without a header line.

- Internal Tables are temporary tables which used to store values at run time no. of lines in Internal tables DESCRIBE TABLE ITAB LINES LIN.

- Use a Specific nos. OCCURS statement.

45.

How do you take care of performance issues in your ABAP programs?

- Runtime Analysis

46.

What are data sets?

- Sequential files in ABAP.

47.

How to find the return code of a stmt in ABAP programs?

- SY-SUBRC

48.

What are interface / Conversion programs in SAP?

- BDC

49.

Have you used SAP supplied programs to load master data?

- SAP supplied BDC programs – RM06BBI0 (Purchase requisitions)

- RMDATIND (Material master) RFBIKR00 (Vendor Masters)

- RFBIDE00 (Customer Master) RVINVB00 (Sales Order)

50.

What are the Techniques involved in using SAP supplied programs? Do you prefer to write your own programs to load master data? Why?

- Identify relevant fields

- Maintain transfer structure (Predefined – first one is always session record)

- Session record structure, Header Data, Item (STYPE – record type )

- Fields in session structure – STYPE, GROUP, MANDT, USERNAME, NO DATA

- Fields in header structure – consists of transaction code also – STYPE, BMM00, TCODE, MATNR and Fields in Item - ITEMS …

- Maintain transfer file – sample data set creation

- Transfer data by direct input.

51.

What are logical databases? What are the advantages/disadvantages of logical databases?

Ans :- A Logical Database is a hierarchical structure of tables. Use the GET statement to process Logical Databases.

- LDB consists of logically related tables grouped together – used for reading and processing data.

- Advantages = 1. No need of programming for retrieval, meaning for data selection

- 2. Easy to use standard user interface, have check completeness of user input.

- Disadvantages = 1. Fast in case of lesser no. of tables But if the table is in the lowest level of hierarchy, all upper level tables should be read so performance is slower.

52.

What specific statements do you using when writing a drill down report?

- GET CURSOR

- AT LINE SELECTION

- AT USER COMMAND

- HIDE

- SY-LISEL

53.

What are different Tools to report data in SAP? What all have you used?

- ABAP QUERY

54.

What are the Advantage and disadvantages of ABAP query tool?

- Advantages = no lengthy code

- Disadv. = Interactive lists drill reports are not possible and conditional reporting not possible.

55.

What are the functional areas? User groups? And how does ABAP/4 query work in relation to these?

- Functional areas = provide the user with a framework for defining a query quickly.

- Select a logical database from application system.

User groups = used to set up appropriate environment for the user or authorization for using query. By creating fun. Areas and assigning them to user groups. System administrator determines the range of reports the individual application depts. Or end users can generate using ABAP query.

56.

Is a logical database a requirement / must to write an abap/4 query?

- Logical database is not a must for ABAP/4 query.

57.

Have you created / maintained functional areas?

- No.

58.

What are Change header / detail tables? Have you used them?

- The change header contains both fields that define and describe the change and administrative data on the change master. The administrative data is updated by the system.

59.

What do you do when the system crashes in the middle of a BDC batch session?

-Check no. of records already updated and delete them from input file and run BDC again.

60.

What do you do with errors in BDC batch session?

-Analysis and correct input file format and entries in internal table BDCDATA.

61.

How do you set up background jobs in SAP? What are the steps? What are events driven batch jobs?

- Create a job using function module JOB-OPEN

- Collect the job specifications.

- Add a job step to the job with the function module JOB-SUBMIT.

- Close the job and pass it to Background processing system for execution with the function module JOB-CLOSE

- EVENT DRIVEN BATCH JOBS :-

- Types = System events – triggered when activation of new operation mode takes place

- User events - Triggered from ABAP/4 or external program.

- Triggering an event notifies the background processing that named condition has been reached. The Background system reacts by starting any jobs that were waiting for the event.

Transaction codes related to background jobs creation and processing are :-

SM36(Job creation)

SM37(Job selection and execution).

62.

Is It possible to run host command from SAP environment? How do you run?

-

63.

What kind of financial periods exist in SAP? What is the relevant Table for that?

-NA.

64.

Does SAP handle multiple currencies? Multiple Languages?

- Yes

65.

What is currency factoring technique?

-NA.

66.

How do you document ABAP/4 programs? Do you use program documentation menu option?

Ans -Headings under which documentation is created are TITLE, PURPOSE, INTEGRATION, PREREQUISITES, FEATURES, SELECTION, STANDARD VARIANTS, OUTPUT, ACTIVITIES, EXAMPLE.

-Yes.

67.

What is sap script and layout set?

Ans - SAPscript is the integrated text management system of the SAP R/3 System. SAPscript is tightly integrated into the SAP System. It is used for many different word-processing tasks all over the SAP System.

- A layout set in SAP script is used for page layout. The layout set contains various elements, which are used for layout control of the individual pages and also contain layout information for texts which are to be output on the individual pages.

68.

What are the ABAP/4 Commands that link to a layout set?

- Call function OPEN-form.

- Call function WRITE-form.

- Call function CLOSE-form

69.

What is output determination?

-

No comments:

Tutorials on SAP-ABAP

Adobe Interactive Forms Tutorials

Business Server Pages (BSP)

Userexits/BADIs

Web Dynpro for ABAP (Step by step procedure for web dynpro,Tutorials on Web Dynpro,)

ALV Tutorials

goodsites