SAP ABAP Interview questions and answers
1. What are logical databases? What are the advantages/ dis-advantages of logical databases?
To read data from a database tables we use logical database.
A logical database provides read-only access to a group of related tables to an
ABAP/4 program.
Advantages:
i) Check functions which check that user input is complete, correct, and
plausible.
ii) Meaningful data selection.
iii) Central authorization checks for database accesses.
iv) Good read access performance while retaining the hierarchical data
view determined by the application logic.
Dis advantages:
i) If you do not specify a logical database in the program
attributes, the GET events never occur.
ii) There is no ENDGET command, so the code block associated with an
event ends with the next event statement (such as another GET or an
END-OF-SELECTION).
2. What is a batch input session?
Batch input session is an intermediate step between internal
table and database table. Data along with the action is stored in session i.e.
data for screen fields, to which screen it is passed, program name behind it,
and how next screen is processed.
3. How to upload data using CATT?
These are the steps to be followed to upload data through
CATT: Creation of the CATT test case & recording the sample data input.
Download of the source file template. Modification of the source file. Upload
of the data from the source file.
4. What is Smart Forms?
Smart Forms allows you to create forms using a graphical design
tool with robust functionality, color, and more. Additionally, all new forms
developed at SAP will be created with the new Smart Form solution.
5. How can I make a differentiation between dependent and independent data?
Client dependent or independent transfer requirements
include client specific or cross client objects in the change requests.
Workbench objects like SAP scripts are client specific, some entries in
customizing are client independent. If you display the object list for one
change request, and then for each object the object attributes, you will find
the flag client specific. If one object in the task list has this flag on, then
that transport will be client dependent.
6. What is the difference between macro and subroutine?
Macros can only be used
in the program they are defined in and only after the definition are expanded
at compilation / generation. Subroutines (FORM) can be called from both the
program they are defined in and other programs. A MACRO is more or less an
abbreviation for some lines of code that are used more than once or twice. A
FORM is a local subroutine (which can be called external). A FUNCTION is (more
or less) a subroutine that is called external. Since debugging a MACRO is not
really possible, prevent the use of them (I’ve never used them, but seen them
in action). If the subroutine is used only local (called internal) use a FORM.
If the subroutine is called external (used by more than one program) use a
FUNCTION.
0 Response to "ABAP Interview questions and answers Set 4."
Post a Comment