Professional Documents
Culture Documents
Have you used "component idx of structure" clause with field groups?
Ans. For online (Session method) external data is deposited in a session for later
processing.
For inline (call transaction method) the entire batch input process takes place inline in your
program.
9. What do you define in the domain and data element.
Ans. Domain is formal definition of data types from a technical point of view.sets
attributes i.e., type, range, length . . .
DataElements are definition of the properties and type for a table field. It is a
intermediate between the object type domain & table filed.
10. What are the different types of data dictionary objects?
Ans.
Table.
Structures.
Views.
Dataelement.
Domains.
Lock Objects.
Match code objects.
11. How many types of tables exists and what are they in data
dictionary?
12. What is the step by step process to create a table in data dictionary?
Ans.
Create Domain.
Create Data Element.
Create Actual Table.
13. Can a transparent table exist in data dictionary but not in the data base physically?
Ans. NO
14. What are the domains and data elements?
15. Can you create a table with fields not referring to data elements?
Ans. NO.
16. What is the advantage of structures? How do you use them in the ABAP programs?
17. What does an extract statement do in the ABAP program?
Ans. An extract dataset consists of a sequence of records. These records may have different
structures. All records with the same structure form a record type. You must define each record
type of an extract dataset as a field group, using the FIELD-GROUPS statement.
When the first EXTRACT statement occurs in a program, the system creates the extract
dataset and adds the first extract record to it. In each subsequent EXTRACT statement,
the new extract record is added to the dataset.
18. What is a collect statement? How is it different from append?
Ans.COLLECT: When the line is inserted, the system checks whether there is already a
table entry that matches the key. If there is no corresponding entry already in the table, the
COLLECT statement has the same effect as inserting the new line . If an entry with the
same key already exists, the COLLECT statement does not append a new line, but adds
the contents of the numeric fields in the work area to the contents of the numeric fields in
the existing entry.
19. What is open sql vs native sql?
Ans. Open SQL allows you to access database tables declared in the ABAP Dictionary
regardless of the database platform that you R/3 System is using.
Native SQL allows you to use database-specific SQL statements in an ABAP program.
This means that you can use database tables that are not administered by the ABAP
Dictionary, and therefore integrate data that is not part of the R/3 System.
20 (a). What does an EXEC SQL stmt do in ABAP?
Ans. To use a Native SQL statement, you must precede it with the EXEC SQL statement, and
follow it with the ENDEXEC statement as follows:
EXEC SQL.
<Native SQL statement>
ENDEXEC.
Q20 (b). What is the disadvantage of using EXEC SQL stmt do in ABAP?
Ans. Using inverted commas (") or an asterisk (*) at the beginning of a line in a
native
SQL statement does not introduce a comment as it would in normal ABAP syntax
21. What is the meaning of ABAP editor integrated with ABAP data dictionary?
Ans. Area menu.
22. What are the events in ABAP language?
Ans.
Example for the structure of an ABAP program:
REPORT...
NODES: SPFLI, SFLIGHT.
DATA:...
INITIALIZATION.
AT SELECTION-SCREEN.
START-OF-SELECTION.
GET SPFLI...
GET SFLIGHT...
23. What is an interactive report? What is the obvious differences of such report compared
with classical type reports?
Ans. Interactive reporting allows the user to participate in retrieving and presenting data
at each level during the session. gives a basic list form which the user can call detailed
information by positioning the cursor and entering the commands.
Classical reports consists of one program the creates a single list which contains
clustered data requested, regardless of the details the user wants to see.
24. What is a drill down report?
Ans. A drilldown report is a report used for the interactive evaluation of data.
(Interactive reports)
25. How do you write a function module in SAP? describe.
Ans.
Ans. A foreign key links two tables T1 and T2 by assigning fields of table T1 to the primary key
fields of table T2. Table T2 is then known as the check table of the foreign key.
value table : when you define a domain, you already know that all fields that use the domain
will need to be checked against a particular table. You can store this information in the domain
definition by specifying a value table.
If you try to define a foreign key for a field that points to this domain, the value table of the
domain is proposed as the check table for the foreign key.
42. What is the client concept in SAP? What is the meaning of client independent?
Ans. Sets of software component which acts as service requester are called as client.
43. Are programs client dependent?
Ans.
44. Name a few system global variables you can use in ABAP programs?
Ans. SY-DATUM, SY-UEZIT, SY-SUBRC, SY-DBCNT.
45. What are internal tables?
How do you get the number of lines in an internal table?
How to use a specific number occurs statement?
Ans. Internal tables provide a means of taking data from a fixed structure and storing it in
working memory in ABAP. The data is stored line by line in memory, and each line has the
same structure, they are dynamic data objects.
SY-DBCNT / SY-TABIX.
DATA : BEGIN OF ITAB OCCURS 19,
A1 TYPE I,
C1 TYPE C,
END OF ITAB.
46. How do you take care of performance issues in your ABAP programs?
Ans.
47. What are datasets?
Ans. Sequential files in application server.
48. How to find the return code of a stmt in ABAP programs?
Ans. SY-SUBRC (except for transfer stmt).
49. What are interface/conversion programs in SAP?
Ans.
50. Have you used SAP supplied programs to load master data?
Ans. BDC
51. What are the techniques involved in using SAP supplied programs? Do you prefer to
write your own programs to load master data? Why?
Ans.
52. What are logical databases? What are the advantages/disadvantages of logical
databases?
Ans. Logical database are special ABAP programs that retrive data & make it available
to application programs.
Advantages of Logical database.
No need of taking care of the key field and the foreign key realtionship between
the tables in question.(relationship between diff tables are reflected in tree structure
of Logical database).
53. What specific statements do you using when writing a drill down report?
Ans. Hide stmt.
54. What are different tools to report data in SAP? What all have you used?
Ans. ABAP query tool,
55. What are the advantages and disadvantages of ABAP query tool?
Ans.
56. What are the functional areas? User groups? and how does ABAP query work in
relation to these?
Ans.
57. Is a logical database a requirement/must to write an ABAP query?
Ans. No.
58. What is the structure of a BDC sessions.
Ans.
Ans.
63. Is it possible to run host command from SAP environment? How do you run?
Ans.
64. What kind of financial periods exist in SAP? What is the relevant table for that?
Ans.
65. Does SAP handle multiple currencies? Multiple languages?
Ans. YES
66. What is a currency factoring technique?
Ans.
67. How do you document ABAP programs? Do you use program documentation menu
option?
Ans.
68. What is SAPscript and layout set?
Ans. Printable document such as invoices, purchase order are printed with the use of
forms, SAP allows the user to define these forms by using layout sets is SAP scripts.
Layout set is used to design a document. Layout set on its own does not contain any data.
Selection of data for the document is done through the print program.
69. What are the ABAP commands that link to a layout set?
Ans. dataelement ... like ( /E
ELE1)
70. What is output determination?
Ans.
71. What are IDOCs?
Ans. Intermediate document (IDoc) container for exchanging data between R/3, R/2 and nonSAP systems. ALE uses IDocs to exchange data between logical systems. Non-SAP systems can
use IDocs as the standard interfacefor data transfer.
IDocs are created when message types and (object) methods are distributed. The message type
is the format in which the data for a specific business process is transferred.
72. What are screen painter? menu painter? Gui status? ..etc.
Ans. Screen painter: Tool for creating the screens of a dialog transaction.
Menu painter: Tool for creating and designing the graphical user interface of an ABAP
program.
GUI Status : Main element of the graphical user interface.A GUI status usually consists of a
menu bar with menus, a standard toolbar, an application toolbar, and functions with function key
settings.
Together with the GUI title, the GUI status defines the actual state of the user interface of an
ABAP program.
73. What is screen flow logic? What are the sections in it? Explain PAI and PBO.
Ans. Flow logic : Code that processes a particular screen in the R/3 System.Flow logic
statements are syntactically similar to ABAP statements, but you cannot use flow logic keywords
in ABAP.
You define flow logic in the flow logic editor of the Screen Painter. Flow logic comprises four
modules:
Goto Screen painter in SE51. create & add all your elements.
Include programs improve the readability of programs and make maintenance easier.
80. Can you call a subroutine of one program from another program?
Ans. yes (using PERFORM)
81. What are user exits? What is involved in writing them? What precautions are needed?
Ans. User Exits are used for enhancement of SAP Objects. Point in an SAP program where
a customer's own program can be called.
82. What are RFCs? How do you write RFCs on SAP side?
Ans. Remote Function Call. RFCs enable you to call and execute predefined functions in a
remote system - or even in the same system.RFCs manage the communication process,
parameter transfer and error handling.
93. What type of variables normally used in sap script to output data?
Ans. system defined & user define in program
94. How do you number pages in Sapscript layout outputs?
Ans. &SY-PAGNO&
95. What takes most time in SAP script programming?
Ans.
96. How do you use tab sets in layout sets?
Ans.
97. How do you backup Sapscript layout sets? Can you download and upload? How?
Ans.
98. What are presentation and application servers in SAP?
Ans. Presentation server: Software layer in the R/3 System that accepts input from users and
returns the results.
Application Server :Server that provides a range of services to run the R/3 System. An
application server consists of a dispatcher and one or more work processes for each service. The
dispatcher manages processing requests, and work processes execute them.
Each application server provides at least one dialog service and one gateway.
99. In an ABAP program how do you access data that exists on a presentation server vs
on an application server?
Ans. using dataset
100. What are different data types in ABAP?
Ans.
There are eight predefined types in ABAP with fixed length:
Four character types: Character (C), Numeric character (N), Date (D), and Time (T).
One hexadecimal type: Byte field (X).
Three numeric types: Integer (I), Floating-point number (F) and Packed number (P).
There are two predefined types in ABAP with variable length:
STRING for character strings , XSTRING for byte strings
Complex type.
structure type.
table type.
Reference type.
Data reference
Object Reference
class reference
interface reference
101. What is difference between BDC and Call Transaction?
Ans. BDC Session Method
No SY-SUBRC returned.