recent interview ques - sap abap

30
1. What are the components of Data Dictionary? Ans: Tables, Views, Data Type, Domain, Search help, Lock objects. 2. What is the difference between table and structure? Ans: Table store values, where as structure doesn’t store values. 3. What is the purpose of structure? Ans: Structure is used for reusability purpose. 4. How can you create a table? Ans: To create a table go to SE11 (data dictionary) –give table name –press create button – give short description and delivery class (A- application table) – enter the field name, check the key and give the field type –double click on field type – it will ask for whether you want to create data element – click yes- then create the data element-give the short description for data element-select any one either domain or built in type (if you select built in type no need to create the domain and if u want to create the domain select the domain button) –select the field label button tab give the short, medium, long, heading labels –if u select the domain radio button then give the domain name and double click on that name-it will ask for whether you want to create domain-click on yes –give the short description for the domain- give the data type, no. Of characters, decimal places, out put length, conversion routine, and check if you want sign and lowercase checkboxes, -select the value range tab button- give the fixed values and short text for single values (or) lower limit and upper limit for intervals –give the value table name, if any…repeat the same for the number of fields- then choose the technical setting button on the application tool bar – give the data class (APPL0 – Master data, APPL1 – Transactional data, APPL2 – Organizational data, USER (or) USER1-customer data), size( ranging from 0-4), select the any of these buffering radio button buffering not allowed, buffering allowed but switched off, buffering switched on, and select any of buffering type (single record buffering, generic area buffered, fully buffered)…then check for syntax and activate. 5. What is Data element and Domain?

Upload: saranya-shanmugam

Post on 21-Jul-2016

23 views

Category:

Documents


5 download

DESCRIPTION

interview questions for sap abap

TRANSCRIPT

Page 1: Recent Interview Ques - SAP ABAP

1.      What are the components of Data Dictionary?Ans: Tables, Views, Data Type, Domain, Search help, Lock objects.

2.      What is the difference between table and structure?Ans: Table store values, where as structure doesn’t store values.

3.      What is the purpose of structure?Ans: Structure is used for reusability purpose.

4.      How can you create a table?Ans: To create a table go to SE11 (data dictionary) –give table name –press create button – give short description and delivery class (A- application table) – enter the field name, check the key and give the field type –double click on field type – it will ask for whether you want to create data element – click yes- then create the data element-give the short description for data element-select any one either domain or built in type (if you select built in type no need to create the domain and if u want to create the domain select the domain button) –select the field label button tab give the short, medium, long, heading labels –if u select the domain radio button then give the domain name and double click on that name-it will ask for whether you want to create domain-click on yes –give the short description for the domain- give the data type, no. Of characters, decimal places, out put length, conversion routine, and check if you want sign and lowercase checkboxes, -select the value range tab button- give the fixed values and short text for single values (or) lower limit and upper limit for intervals –give the value table name, if any…repeat the same for the number of fields- then choose the technical setting button on the application tool bar – give the data class (APPL0 – Master data, APPL1 – Transactional data, APPL2 – Organizational data, USER (or) USER1-customer data), size( ranging from 0-4), select the any of these buffering radio button buffering not allowed, buffering allowed but switched off, buffering switched on,  and select any of buffering type (single record buffering, generic area buffered, fully buffered)…then  check for syntax and activate.

5.      What is Data element and Domain?Ans: Data element gives the semantic attributes of the field. F1 help is coming because of data element. Domain gives the technical attributes of the field. F4 help is coming because of Domain.

6.      What is the search help? How can you create? How can you attach search help to a field?Ans:  To create search help go to SE11 (data dictionary) – select the search help radio button and give the search help name and press create button –it will ask whether you want to create elementary search help (or) collective search help, select the radio button- give the short description for the search help – give the help view name in the selection method –give the search help exit name in the search help exit text field –then enter the search help parameter names- save and activate the search help.F4 help is coming because of the search help attached to that field. To attach the search help to a field, you should give that search help name in the screen field attributes. (or) you can attach the search help through match code object also.

7.      What is Lock object? How can you create a lock object?

Page 2: Recent Interview Ques - SAP ABAP

Ans: Lock object is used for locking and unlocking.  You cannot create a lock object, as lock object name should start with ‘E’. Two function modules are there for locking and unlocking, they are ENQUE_* for locking and DEQUE_* for unlocking.

8.      In Table creation what do you mean by Technical settings?Ans: In Technical settings, you have to give the Data class name Size category, buffering (buffering not allowed, buffering allowed but switched off, buffering switched on radio buttons), and buffering type (single record buffering, generic area buffered, full buffered check boxes).

9.      How can we view the contents of the table?Ans: you can view the contents of the table through SE16.

10.How can you add a field to a SAP table? (Already existing SAP table)Ans: You need to take the Access key to modify the SAP table.

11. What is Internal table? How many types of internal tables?Ans: Internal table is used to temporarily store the data and do all the manipulations. Internal table is created when you run the program and delete after execution. The life of internal table is still the program is running.There are 5 types of internal tables. They are

1.      Standard table.2.      Sorted table.3.      Hashed table.4.      Indexed table.5.      Any table.

1. Standard table defines the table as a standard table. Key access to a standard table uses a linear search. This means that the time required for a search is in linear relation to the number of table entries. You should use index operations to access standard tables.2. Sorted table defines the table as one that is always saved correctly sorted. Key access to a sorted table uses a binary key. You can also access tables by index operations.3. Hash table defines the table as one that is managed with an internal hash procedure. You can imagine a hashed table as a set, whose elements you can address using unique key. Unlike standard and sorted tables, you cannot access hash tables using index. You can only access a hashed table using the generic key operations or other generic operations (sort, loop and so on).4.Standard and Sorted tables belongs to the generic class index tables. An index table is one that you can access using an index.

12. What is difference between sorted table and hashed internal table?Ans: In Sorted table the values are stored in a sorted order, where as in hashed table the values are stored according to key value pair.

13. What is the command used to sort internal table?Ans:  Sort <internal table name>.Sort  <internal table name> by <field name1 > ….. <Field name n >.

Page 3: Recent Interview Ques - SAP ABAP

Sort <internal table name>14. What is the syntax of the internal table with header line and without header line?Ans: Internal table with Header line:Data: begin of <internal table name> occurs 0,<Field names>…….End of <internal table name>.

Internal table without header line:Data: <internal table name> like  <internal table name or table name>.

15. What is difference between classical and interactive reports?Ans: In classical report no user interaction is allowed. Classical report out put is limited to basic list itself. In interactive report user can interact with the output in the basic list for further more details. In Interactive report the output can be one basic list and 20 secondary lists.

16. What are the system variables you used in interactive reporting?Ans:  sy-lsind – system variable stores the list index (0- for basic list).Sy-linno – system variable stores the current line number where the cursor is placed.Sy-lincnt - system variable stores the total number of lines in the list.Sy-lisel – system variable stores the content of the line from where the event is triggered

17. How many lists can we create in interactive report?Ans: In interactive report we can create one basic list and up to 20 secondary lists.

18.What is the system variable used to find out the index of the list?Ans: Sy-lsind.

19. What is the system variable sy-lisel store?Ans: System variable sy-lisel store the contents of the line from where the event is triggered.

20. What are the events in classical and interactive reporting?Ans: Classical report events: Initialization, at selection-screen, Start-of-selection, top-of-page, end-of-page, end-of-selection.Interactive report events: At line-selection, At user command, At pf-status.

21. What are the LDB events?Ans: Get, Get late.

22. How can you attach LDB in report?Ans: you should give the LDB name in the report attributes.

23. Have you ever created LDB? How can you create LDB?Ans: You can create LDB in SE36.In SE36 give the LDB name, select the structure radio button and press create button- then it will ask for the short description for the ldb - give the short description and press create button – then save- then it will ask for the name of the root node- give the name of the root node, short description and select the database table radio button and

Page 4: Recent Interview Ques - SAP ABAP

press on create button - then select that node and press the insert node button – then give the node name and data base table name press create button….– then come back and select the selections radio button- it will ask that should the selection of the logical database be generated from the structure-press yes – then it will ask that do you want to define new search help- if you want to define press yes otherwise press no – then it will ask for nodes for free selection and field selection, select the nodes and press the transfer button- then it will show the include program – uncomment the select-options and replace the question mark with the select-option name, then save active – then come out and select the database program radio button – it will ask for should the program of the logical database be generated from the structure and selection- press yes, it will take you to the report program, then double click on the system routines include- then it will show includes –double click on each include and uncomment the select statement, save activate..-you can test the LDB.

24. What is the difference between GET and GET LATE?Ans: The code that follows GET node LATE is processed after all subordinate nodes have been read and processed.You can only use Get node statement once in a program.

25. Is it possible to create more than one selection screen in classical reporting?Ans: No

26.What is the Selection-screen number?Ans: Selection-screen number is 1000.

27. What is Transaction? What are the events in Transaction?Ans: Transaction is a collection screens and its flow logic. Events in transactions arePBO – process before output,PAI – process after input,POV – process on value request,POH – process on help request.The event PBO is triggered when before the screen is displayed for the first time.The event PAI is triggered when you enter the data in the screen and press push button.The event POV is triggered when you press F4 on any input field of the screen.The event POH is triggered when you press F1 on any field of the screen.

28. What is POV?Ans: POV is process on value request. When you press F4 on the input field in the screen then the event POV is triggered. It is used to get the possible values for that field.

29. What is POH?Ans: POH is process on help request. When you press F1 on the fields in the screen then the event POH is triggered. It is used to get the description about that field.

30. If for a particular screen filed you have POV, search help, tables help, domain then, which will be triggered by pressing F4?Ans: Search help, search help will predominate all.

Page 5: Recent Interview Ques - SAP ABAP

31. What is the difference between Match code and Search help?Ans:

32.In PBO, PAI, POV, POH what are the default events? If you didn’t code PBO what happened?Ans: The default events are PBO and PAI. If you didn’t code the PBO then it will show an error that process after input must be preceded by process before output.

33. What is the type of the transaction program?Ans: Type-M

34. What is BDC? How many methods in BDC?Ans: BDC (batch data communication (or) batch data capture (or) batch input): Transferring the from legacy system to SAP R/3 system is called BDC. There are 3 methods in BDC.

1.      Session method2.      Call Transaction3.      Direct input method.

35. What is difference between Session and Call transaction?Ans: Session: Data will not update into the data base table until session is processed.No sy-subrc is returned.Automatic error log will be created.Default updation mode is Synchronous.Call transaction: Data will update directly into the database.Sy-subrc will be returned.Error log needs to handle explicitly.Update modes are synchronous, asynchronous and local.

36. What are Synchronous, Asynchronous and local regarding the call transaction?Ans: Synchronous:

37. How you program Session method and call transaction?Ans: Session method: Create an internal table with the same structure as BDCDATA, and upload the all the data into that internal table. Then use the function module BDC_OPEN_GROUP, BDC_INSERT, BDC-CLOSE-GROUP.Call Transaction: Create internal tables with the same structure as BDCDATA, BDCMSGCOLL, and upload all the data into that internal table. Then call the transaction directly using the syntaxCall transaction <transaction code> using <bdcdata name> Mode <a or n or e> Messages into <bdcmsgcoll name>.

38. How you create a job?

Page 6: Recent Interview Ques - SAP ABAP

Ans: To create jobs go to SM36 (Define background job)- give the job name, job class (A-high priority, B- Middle priority, C-low priority), and give the target server.39. How many ways you can run back ground jobs?Ans

40. How you will do recording? What is the transaction code for recording?Ans: Transaction code for recording is SHDB. – Select the new recording – give the recording, transaction code then press the start new recording push button, - enter the values in the transaction and press save, come back- select the recording name and the press the create program – give the program name and select the radio button read from file, check the check box create and give the file name and press create button. Then it will create the program and sample test data.

41. What are the run modes in session and call transaction?Ans:  Run modes in Session: Process fore groundDisplay errors onlyBack ground.Run modes in call transaction: A – display all screensE – display errorsN – back ground processing

42. What for Sap script are used?Ans: Sap script is used to design and print the layout sets.

43. What are Sap script elements?Ans:  Header, Pages, Windows, Page windows, Paragraph formats, Character formats, Documentation.

44. What are different types of windows?Ans:  There are 4 types of windows. 1. Main window 2. Constant window 3. Variable window 4.Grid screen.

45. What is the character format? What are they?Ans:

46. How to print a logo?Ans: To print a logo run the report program RSTXLDMC, give the macro name. In the layout set Insert-Graphics give the file name.

47. What are the settings you done while creating a logo as an abaper?Ans:

48.How you write a print program?

Page 7: Recent Interview Ques - SAP ABAP

Ans To write a print program use the function modules OPEN_FORM, WRITE_FORM, CLOSE_FORM.

49. How will you call a layout set in a print program?Ans: You should give the layout set name in the OPEN_FORM attributes. It will open that layout set form for writing purpose.

50. Have you ever debugged a layout set? How will you debug a layout set?Ans:

51. At a time how many variables you can see while debugging?Ans: at a time you can see 4 variables while debugging.

52. What is difference between watch point and break point?Ans:

53. How will you debug a report, Transaction, BDC program?Ans:

54. What are the Sap script elements?Ans: Header, Pages, Windows, Page Window, Paragraph format, Character format, Documentation.

55. How many types of windows in SAP Script? What are they? Explain?Ans: In Sap script they are 3 types of windows.

1.      Main window: whose contents can extend more than one page.2.      Constant window: Whose content does not change from page to page.3.      Variable window: Whose content change from page to page.

56. For layout set how many main windows and how many sub windows?Ans: Per layout set, you can create only one main window and up to 99 sub windows.

57. How to get the current line in reports?Ans: To get the current line in report uses the system variable Sy-linno.

58. What is Initialization? When it will trigger?Ans: Initialization is a classical report event. It triggers before the selection screen event is triggered.

59. What is BDC?Ans: BDC (batch data communication or batch data capture or batch input) : BDC is transferring the data from the legacy system to the SAP R/3 system.

Page 8: Recent Interview Ques - SAP ABAP

60. What is WRITE statement? What for it is used?Ans: Write is an abap key word. Write statement is used to print the out.

61.What are the Data dictionary objects?Ans: Tables, Views, Data type (data element or structure), Domain, Search help, Lock objects.

62. What is internal table?Ans Internal table is used to store the data temporarily, and do some modifications or calculations. The life of internal table is until the program is running.

63. What are reports?Ans: Reports are ment for displaying the data according to the user selection. Reports are used for analysis.

64. What is Transaction?Ans: Transaction is a collection of screens and its flow logic.

65. What are the events in Report? When they will trigger?Ans: Events in Classical Report are:  1.Initialization2. At Selection-screen3. Start-Of-Selection4. Top-Of-Page5.  End-Of-Page6. End-Of-SelectionEvents in Interactive Report are: 1. At Line-Selection2. At User-Command3. At Pf-n

-          The event Initialization is triggered before the at selection screen event is triggered.-          The event At-Selection-Screen is triggered, when the user enters the values in the selection

screen and then execute.-          The event Start-Of-Selection is the default event. All the processing logic is kept in this. It

triggers after the at selection screen event triggered.-          The event Top-Of-Page is triggered whenever it encounters the first write statement or new page

is triggered.-          The event End-Of-Page is triggered when it reaches the end of page.-          The event End-Of-Selection is triggered before leaving the program.

-          The event At Line-Selection is triggered whenever user double clicks on the basic list or any secondary list or chooses a line in the list with the cursor and press function key, which has function code, PICK in the interface definition.

-          The event At User-Command is triggered whenever user presses any menu button or function key or makes an entry in the command filed.

-          The At Pf-n event is triggered whenever user presses a function key that contains the function code PFn in the interface definition.

Page 9: Recent Interview Ques - SAP ABAP

66. What is the difference between Session and Call transaction?Ans: Session: Data base tables will not update until you process the Session.No sy-subrc is returned.Automatic error log is generated.Default update method is Synchronous.Call Transaction: immediate data base updating.Sy-subrc is returned.Need to handle the errors programmatically.Update methods are Synchronous, Asynchronous, and Local.

67. What is View?Ans: View is a precreated query. It is just like an imaginary table. View is created before the program starts running, but it stores the data as long as the program is running.

68. What is Lock Object?Ans: Lock Objects are used for synchronous and asynchronous purpose. You can not create a lock object as the lock object name should start with the letter ‘E’.

69. How will you handle exceptions?Ans: you need to check the system field Sy-Subrc. (0 - success, 4 or 8 – failure).

70.    What is difference between Subroutines and Function modules?Ans: Subroutines:  Subroutines can be used only with in that program.Subroutines cannot return value.In subroutines exceptions need to handle explicitly.

Function Modules: Function modules stores centrally in the SAP library, so u can use globallyIn any program.Function modules return values.Automatic error handling is there.

71.    What is Form and Perform?Ans: Perform statement is used to call the subroutine. Perform call the Form.

72.    How you increase the performance of a report?Ans: You can increase the performance of a report by removing the inner joins, nested select statements, using the keys to retrive the data modularize the code.

73.    What are the standards used in the reports?Ans: While creating a report, we give the report name, purpose of the report, author, date and time, tables used in the report, Ldb’s used in the report, variables.

Page 10: Recent Interview Ques - SAP ABAP

74.    What is the difference between Open SQL and Native SQL?Ans: Open SQL is the SAP’S Propriety language for database. Native SQL is the Database specific language. Open SQL commands are interpreted in the database interface to the database specific commands. Native SQL commands directly interact the database.

75.    In BDC which method is preferable?Ans: depending upon the requirement

76.    What is the Hide technique?Ans: Hide command internally stores the contents of the clicked line in the hide area (system space).

77.    What are the system variable used in the reports?Ans: Sy-subrc – system sub return code.Sy-lsind – list indexSy-ucomm – stores the function code

78.    What are the data types?Ans: char, numc, date, time, int, floating point, packed decimal.

79.    What is the difference between screen processor and abap processor?Ans: flow logic or screen logic is processed by the screen processor. Processing  logic or abap logic is processed by the abap processor.

80.    What is difference between Function module and RFC?Ans:  Function module is Client independent. RFC is client dependent.

81.    What is the transaction code to create Function module?Ans: SE37.

82.    What you will set in the attributes screen of a Function module?Ans: In the attributes screen of a Function module you need to give the Function group, and need to check the radio button normal function module (or) remote enabled module (or) update module (start immediately or immediate start, no restart or start delayed (or) coll.run).

83.    Have you ever created a table?Ans:

84.    Why you need to create a data element and domain for a table?Ans: Data element gives the semantic attributes of the field. Domain gives the technical attributes of the field. So you need to give the data element and domain while you creating a table.

85.    What is View? How many types of Views are there?Ans: View is a precreated query. It is just like an imaginary table. There are 4 types of Views are there. They are 1. Projection view.2. Database view.

Page 11: Recent Interview Ques - SAP ABAP

3. Maintenance view.4. Help view.

86.    Is view physically stores data in the database table?Ans: no, view doesn’t store data physically into the database. It is only runtime.

87.    What is structure? Is structure stores physically?Ans: Structure is only logical definition not physical definition. Structure doesn’t store physically.

88.    What is LDB?Ans: LDB (logical database) is logically and hierarchal relating the tables. Ldb is used to retrieve the data from the database tables. The advantage of LDB is allows dynamic selection.

89.    How you use the LDB in the report program?Ans: You have to give the LDB name in the report attributes and in the program after report statement you need to give as node and LDB name. And you have to use the GET <node> or GET<node> LATE statement to fetch the data.

90.    What is the transaction code for LDB?Ans: SE36.

91. What is user exit? How can you find out the enhancements in   SD module?Ans: If you want to add the some more functionality to the standard SAP applications, then you need to write that functionality in the corresponding user exit. There are 4 type of user exits are there. They are 1. Menu exit2. Key word exit3. Function module exit4. Field exit.Menu exit – Adding the menu buttons and corresponding functionality to the standard SAP programs are called menu exit.

Key word exit – Adding the user specific documentation to the standard SAP field is called key word exit.

Function module exit – Adding the functionality to the standard SAP function modules is called Function module exit.

Field exit – Adding the fields to the standard SAP screens is called the Field exit.

You use the transaction SMOD – SAP enhancements to find out the enhancements available in any module.

91.    What is enhancement?Ans: Adding our own functionality to the standard SAP applications is called enhancements.

92.    What is LSMWB? What for it is used?

Page 12: Recent Interview Ques - SAP ABAP

Ans: LSMWB – Legacy System Migration Work BenchLSMWB is a tool to transfer the data from the Legacy system to the SAP R/3 system.

93.    What is the Recording?Ans: Recoding is the option provided by the SAP to transfer the data from the application server to the SAP R/3 system.

94.    What case makes you write a BDC program? Which is not possible with the Recording?Ans: Recording programs read data only from application server not from presentation server. If you want to upload the data from the application server then you can do it by recording. But if you want to upload the data from the presentation server then you need to write the BDC program manually.The reason is that the recording program uses the open_data_set, read_data_set, and close_data_set. Where the statements read data only from the application server not from presentation server. To read the data from presentation server you need to use the function modules upload (or) ws_upload.

95.    What are the methods available in the BDC?Ans: Session, Call transaction, Direct input.

96.    What is the difference between Pooled table and Cluster table?Ans:

97.    How many types of tables are there?Ans: There are 5 types of tables in SAP. They are

1.      Transparent tables.2.      Table pools.3.      Table clusters.4.      Pooled tables.5.      Cluster tables.

98.    In which format text elements store?Ans: In ritch text format text elements store.

99.    Which looping statement is fast?Ans:

100.What is difference between case endcase and if endif? Which is faster?Ans: Case executes the block of statements depending upon the variable given in case statement.If checks the condition, and if the condition satisfied then executes the block of statements between if and else, if the condition not satisfied then it will executes the corresponding else, otherwise doesn’t executes any code.

101.What are the parameters you will give in session and call transaction?Ans: Session: session name, keep session, lock date,

Page 13: Recent Interview Ques - SAP ABAP

While running the session you need to give run mode (process/fore ground, display errors only, background), Destination, extended log, expert mode, dynpro standard size .Call transaction: run mode (A or E or N), update session (L or S or A), keep session, and lock date.

102.What are sy-datum, sy-uname, sy-uzeit?Ans: sy-datum – system variable containing the current system date.Sy-uname – system variable, which stores the login user nameSy-uzeit – system variable containing the current system time.

103.How you create messages? How many types of messages are there?Ans: You can create the messages in SE91. There are 5 types of messages are there. They are

1.      Error.2.      Warning.3.      Abnormal.4.      Information.5.      Success.

104.What is ALV?Ans: ALV- Application list viewing.

105.Can you store structure in database?Ans: Yes you can store structure in database. But structure cannot store values. It is only logical definition.

            

Extra ABAP/4 Questions

1          What is HIDE / Get cursor statement2          What are the types of function modules3          What are control events4          What are control break statements5          What is the sequence of events are executed in a report6          What is INITIALIZATION event, and what is its use7          What are logical databases, and its advantages, events in LDB8          What is differnce between UPLOAD / WS_UPLOAD function module9          How will you define additional selection screen10        Where can we define function keys used at selection screen11        What is the advantage of using with header line at internal table12        What are the internal table types13        What is the advantage of Hashing table type14        It is must to have CLOSE_FORM function module in Print program

Page 14: Recent Interview Ques - SAP ABAP

15        Is sapscript client-dependent16        What is difference between START_FORM / OPEN_FORM statement17        What is standard text and its t-code18        How will you upload logo to layout19        How many main windows you can have in a page, and how will you create20        Is main window must for a form21        What are output types? And t-code22        What are form elements.  How will you define.23        What is PROTECT / END-PROTECT.24        Can column name and table name be dynamically specified25        What is presentation server.26        What are the typical events in dialog program.27        What is the system fields holding current list number28        How many detail list can be created29        What is the use of OK code field in dialog program30        What is secondary index in ABAP dictionary, and its advantages31        Can you have db table without primary index32        What is editor lock attribute in ABAP program33        What is lock object34        What are the different ways for debugging the ABAP program35        Is it possible to to debug the SAPscript36        What is field exit, and use.  Can you debug field exits.37        What is the limitaion of message types used in Field Exit.38        What are the message types are in ABAP39        What is doman and data element40        What is background job, job scheduling, and t-code.41        What is performance trace and runtime analysis.42        What will happen when power goes off suddenly.43        What is CATT and how it is used44        What is the difference between CALL TRANSACTION / Session Method / Direct Input45        What is LSMW46        What is match code object / search help47        Usages of Development Class48        Can you transport local object to other client49        What are the class types in Transparent Tables50        Can you print smart form without START_FORM.51        What is Classical / Interactive reports52        Based on the input in selection screen, can you display some text int eh same screen itself, and how53        What is SMOD / CMOD54        What is user / field exit55        How do you trace availabe customer exits56        What is check table & transparent table57        What are the types of joins, differentiate58        What is the difference between SY-TABIX & SY-INDEX59        How do you supress the print parameters dialog box in SAPscript printing

Page 15: Recent Interview Ques - SAP ABAP

60        What is APPEND / COLLECT61        How do you increate the performance of your program.  What measures you will take62        Steps to create ABAP Query63        What are the two types of presenting text in SAP script forms64        How will you print SAPscripts65        What are the different kinds of BDCs and how will you differentiate one from the other66        On what situations you will go for dialog programming67        Explain about customer exits, what are the different kinds68        What is Classical / Interactive reports69        Can you have more than one PBO in a screen flow logic70        Can you call another selection screen from a selection screen71        What the different types of windows in SAPscript72        Can field symbol hold contents of fields dynamically73        What is extract dataset / internal table.  Differentiate74        What is CATT75        How will you trace performance of a particular program / report76        How will you increate the performance77        What is the structure of ABAP program78        What is ABAP / SAP memory.  What are its structures79        What are the various types of ABAP programs80        What is Leave / Set / Call Screen81        How will you schedule a job & what are the ways to schedule it82        Events in DP83        How many ways to attatch F4 key help to a screen field.  If all the ways used to a field, which gets fired.84        How internally transport requests are passing from one client to the other85        What is field exit / user exit.  Can you call a particular transaction from field exit.86        What is domain / data element87        What is difference between COLLECT / SUM88        In internal table what is free, refresh & clear89        What is standard text90        What is step loop / table control91        What are the various update modes in Call Transaction92        What are the advantages of MAIN window93        How many ways to define a break-point94        What is the difference between watch point / break point95        What is version management.

1. What are the layers of data description in R/3?• The external layer.• The ABAP/4 layer.• The database layer.

Page 16: Recent Interview Ques - SAP ABAP

2. Define external layer?The external layer is the plane at which the user sees and interacts with the data, that is, the data format in the user interface. This data format is independent of the database system used.

3. Define ABAP/4 layer?The ABAP/4 layer describes the data formats used by the ABAP/4 processor.

4. Define Database layer?The database layer describes the data formats used in the database.

5. What is a Data Class?The Data class determines in which table space the table is stored when it is created in the database.

6. What is a Size Category?The Size category describes the probable space requirement of the table in the database.

7. How many types of size categories and data classes are there?There are five size categories (0-4) and 11 data classes only three of which are appropriate for application tables:• APPL0- Master data (data frequently accessed but rarely updated).• APPL1- Transaction data (data that is changed frequently).• APPL2- Organizational data (customizing data that is entered when system is configured and then rarely changed).The other two types are:• USR• USR1 - Intended for customer's own developments.

8. What are control tables?The values specified for the size category and data class are mapped to database-specific values via control tables.

9. What is the function of the transport system and workbench organizer?The function of the transport system and the Workbench Organizer is to manage any changes made to objects of the ABAP/4 Development Workbench and to transport these changes between different SAP systems.

10. What is a table pool?A table pool (or pool) is used to combine several logical tables in the ABAP/4 Dictionary. The definition of a pool consists of at least two key fields and a long argument field (VARDATA).

11. What are pooled tables?These are logical tables, which must be assigned to a table pool when they are defined. Pooled tables can be used to store control data (such as screen sequences or program parameters).

12. What is a table cluster?A table cluster combines several logical tables in the ABAP/4 Dictionary. Several logical rows from different cluster tables are brought together in a single physical record. The records from the cluster tables assigned to a cluster are thus stored in a single common table in the database.

Page 17: Recent Interview Ques - SAP ABAP

13. How can we access the correction and transport system?Each time you create a new object or change an existing object in the ABAP/4 Dictionary, you branch automatically to the Workbench Organizer or correction and transport system.

14. Which objects are independent transport objects?Domains, Data elements, Tables, Technical settings for tables, Secondary indexes for transparent tables, Structures, Views, Matchcode objects, Matchcode Ids, Lock objects.

15. How is conversion of data types done between ABAP/4 & DB layer?Conversion between ABAP/4 data types and the database layer is done within the database interface.

16. How is conversion of data types done between ABAP/4 & external level?Conversion between the external layer and the ABAP/4 layer is done in the SAP dialog manager DYNP.

17. What are the Data types of the external layer?ACCP, Char, CLNT, CUKY, CURR, DATS, DESC, FLTP, INT1, INT2, INT4, LANG, LCHR, LRAW, NUMC, PREC, QUAN, RAW, TIMS, UNIT,VARC.

18. What are the Data types of the ABAP/4 layer?Possible ABAP/4 data types:C: Character.D: Date, format YYYYMMDD.F: Floating-point number in DOUBLE PRECISION (8 bytes).I: Integer.N: Numerical character string of arbitrary length.P: Amount of counter field (packed; implementation depends on h/w platform).S: Time Stamp YYYYMMDDHHMMSS.V: Character string of variable length, length is given in the first two bytes.X: Hexadecimal (binary) storage.

19. How can we set the table spaces and extent sizes?You can specify the extent sizes and the table space (physical storage area in the database) in which a transparent table is to be stored by setting the size category and data class.

20. What is the function of the correction system?The correction system manages changes to internal system components. Such as objects of the ABAP/4 Dictionary.

21. What are local objects?Local objects (Dev class$TMP) are independent of correction and transport system.

22. What is a Development class?Related objects from the ABAP/4 repository are assigned to the same development class. This enables you to correct and transport related objects as a unit.

23. What is a data dictionary?Data Dictionary is a central source of data in a data management system. Its main function is to support the creation and management of data definitions. It has details about• What data is contained?• What are the attributes of the data?• What is the relationship existing between the various data elements?

Page 18: Recent Interview Ques - SAP ABAP

24. What functions does a data dictionary perform?In a data management system, the principal functions performed by the data dictionary are• Management of data definitions.• Provision of information for evaluation.• Support for s/w development.• Support form documentation.• Ensuring that the data definitions are flexible and up-to-date.

25. What are the features of ABAP/4 Dictionary?The most important features are:• Integrated to aABAP/4 Development Workbench.• Active in the runtime environment.

26. What are the uses of the information in the Data dictionary?The following information is directly taken from the Data dictionary:• Information on fields displayed with F1 help.• Possible entries for fields displayed with F4 help.• Matchcode and help views search utilities.

27. What are the basic objects of the data dictionary?• Tables• Domains• Data elements• Structures• Foreign Keys

28. What are the aggregate objects in the data dictionary?• Views• Match codes• Lock objects.

29. In the ABAP/4 Dictionary Tables can be defined independent of the underlying database (T/F).True.

30. ABAP/4 Dictionary contains the Logical definition of the table.31. A field containing currency amounts (data type CURR) must be assigned to a reference table and a reference field. Explain.As a reference table, a system containing all the valid currencies is assigned or any other table, which contains a field with the currency key format. This field is called as reference field. The assignment of the field containing currency amounts to the reference field is made at runtime. The value in the reference field determines the currency of the amount.

32. A field containing quantity amounts (data type QUAN) must be assigned to a reference table and a reference field. Explain?As a reference table, a system table containing all the valid quantity units is assigned or any other table, which contains a field with the format or quantity units (data type UNIT). This field is called as reference field.The assignment of the field containing quantity amounts to the reference field is made at runtime. The value in the reference field determines the quantity unit of the amount.

33. What is the significance of Technical settings (specified while creating a table in the data dictionary)?

Page 19: Recent Interview Ques - SAP ABAP

By specifying technical settings we can control how database tables are created in the database. The technical settings allows us to• Optimize storage space requirements.• Table access behavior.• Buffering required.• Changes to entries logged.

34. What is a Table attribute?The table's attributes determine who is responsible for maintaining a table and which types of access are allowed for the table. The most important table attributes are:• Delivery class.• Table maintenance allowed.• Activation type.

35. What is the significance of Delivery Class?• The delivery class controls the degree to which the SAP or the customer is responsible for table maintenance.• Whether SAP provides the table with or without contents.• Determines the table type.• Determines how the table behaves when it is first installed, at upgrade, when it is transported, and when a client copy is performed.

36. What is the max. no. Of structures that can be included in a table or structure.Nine.

37. What are two methods of modifying SAP standard tables?• Append Structures and• Customizing Includes.

38. What is the difference between a Substructure and an Append Structure?• In case of a substructure, the reference originates in the table itself, in the form of a statement include....• In case of an append structure, the table itself remains unchanged and the reference originates in the append structure.

39. To how many tables can an append structure be assigned.One.

40. If a table that is to be extended contains a long field, we cannot use append structures why?Long fields in a table must always be located in the end, as the last field of the table. If a table has an append structure the append line must also be on the last field of the table.

41. Can we include customizing include or an append structure with Pooled or Cluster tables?No.42. What are the two ways for restricting the value range for a domain?• By specifying fixed values.• By stipulating a value table.

43. Structures can contain data only during the runtime of a program (T/F)True.

Page 20: Recent Interview Ques - SAP ABAP

44. What are the aggregate objects in the Dictionary?• Views• Match Code.• Lock Object.

45. What are base tables of an aggregate object?The tables making up an aggregate object (primary and secondary) are called aggregate object.

46. The data of a view is not physically stored, but derived from one or more tables (t/f)True.

47. What are the 2 other types of Views, which are not allowed in Release 3.0?• Structure Views.• Entity Views.

48. What is a Match Code?Match code is a tool to help us to search for data records in the system. Match Codes are an efficient and user-friendly search aid where key of a record is unknown.

49. What are the two levels in defining a Match Code?• Match Code Object.• Match CodeId.

50. What is the max no of match code Id's that can be defined for one Match code object?A match code Id is a one character ID that can be a letter or a number.

51. Can we define our own Match Code ID's for SAP Matchcodes?Yes, the number 0 to 9 are reserved for us to create our own Match Code Ids for a SAP defined Matchcode object.

52. What is an Update type with reference to a Match code ID?If the data in one of the base tables of a matchcode ID changes, the matchcode data has to be updated. The update type stipulates when the matchcode is to be updated and how it is to be done. The update type also specifies which method is to be used for Building matchcodes. You must specify the update type when you define a matchcode ID.

53. Can matchcode object contain Ids with different update types?Yes.

54. What are the update types possible?The following update types are possible:• Update type A: The matchcode data is updated asynchronously to database changes.• Update type S: The matchcode data is updated synchronously to database changes.• Update type P: The matchcode data is updated by the application program.• Update type I: Access to the matchcode data is managed using a database view.• Update type L: Access to the matchcode is achieved by calling a function module.

55. What are the two different ways of building a match code object?A match code can be built in two different ways:• Logical structure: The matchcode data is set up temporarily at the moment when the

Page 21: Recent Interview Ques - SAP ABAP

match code is accessed. (Update type I, k).• Physical Structure: The match code data is physically stored in a separate table in the database. (Update type A, S, P).

56. What are the differences between a Database index and a match code?• Match code can contain fields from several tables whereas an index can contain fields from only one table.• Match code objects can be built on transparent tables and pooled and cluster tables.

57. What is the function of a Domain?• A domain describes the technical settings of a table field.• A domain defines a value range, which sets the permissible data values for the fields, which refers to this domain.• A single domain can be used as basis for any number of fields that are identical in structure.

58. Can you delete a domain, which is being used by data elements?No.59. What are conversion routines?• Non-standard conversions from display format to sap internal format and vice-versa are implemented with so called conversion routines.

60. What is the function of a data element?A data element describes the role played by a domain in a technical context. A data element contains semantic information.61. Can a domain, assigned to a data element be changed?Yes. We can do so by just overwriting the entry in the field domain.

62. Can you delete data element, which is being used by table fields.No.

63. Can you define a field without a data element?Yes. If you want to specify no data element and therefore no domain for a field, you can enter data type and field length and a short text directly in the table maintenance.

64. What are null values?If the value of a field in a table is undefined or unknown, it is called a null value.

65. What is the difference between a structure and a table?Structures are constructed the almost the same way as tables, the only difference using that no database table is generated from them.

66. What is a view?A view is a logical view on one or more tables. A view on one or more tables i.e., the data from a view is not actually physically stored instead being derived from one or more tables.

67. How many types of Views are there?• Database View• Help View• Projection View• Maintenance View

Page 22: Recent Interview Ques - SAP ABAP

68. What is Locking?When two users simultaneously attempt to access the same data record, this is synchronized by a lock mechanism.

69. What is database utility?Database utility is the interface between the ABAP/4 Dictionary and the underlying the SAP system.

70. What are the basic functions of Database utility?The basic functions of database utility are:• Create database objects.• Delete database objects.• Adjust database objects to changed ABAP/4 dictionary definition.

71. What is Repository Info. Systems?It is a tool with which you can make data stored in the ABAP/4 Dictionary available.