abap interview questions & answers

Upload: hima-bindu

Post on 05-Apr-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/31/2019 ABAP Interview Questions & Answers

    1/16

    ABAP Interview Questions

    1. What is an ABAP data dictionary?- ABAP 4 data dictionary describes the logicalstructures of the objects used in application development and shows how they are

    mapped to the underlying relational database in tables/views.

    2. What are domains and data element?- Domains:Domain is the central object fordescribing the technical characteristics of an attribute of an business objects. It describesthe value range of the field. Data Element: It is used to describe the semantic definition of

    the table fields like description the field. Data element describes how a field can bedisplayed to end-user.

    3. What is foreign key relationship?- A relationship which can be defined between tablesand must be explicitly defined at field level. Foreign keys are used to ensure theconsistency of data. Data entered should be checked against existing data to ensure that

    there are now contradiction. While defining foreign key relationship cardinality has to be

    specified. Cardinality mentions how many dependent records or how referenced records

    are possible.

    4. Describe data classes.- Master data: It is the data which is seldomly changed.Transaction data: It is the data which is often changed. Organization data: It is acustomizing data which is entered in the system when the system is configured and is

    then rarely changed. System data:It is the data which R/3 system needs for itself.5. What are indexes?- Indexes are described as a copy of a database table reduced to

    specific fields. This data exists in sorted form. This sorting form ease fast access to the

    field of the tables. In order that other fields are also read, a pointer to the associatedrecord of the actual table are included in the index. Yhe indexes are activated along with

    the table and are created automatically with it in the database.

    6. Difference between transparent tables and pooled tables.- Transparent tables:Transparent tables in the dictionary has a one-to-one relation with the table in database.

    Its structure corresponds to single database field. Table in the database has the samename as in the dictionary. Transparent table holds application data. Pooled tables. Pooled

    tables in the dictionary has a many-to-one relation with the table in database. Table in thedatabase has the different name as in the dictionary. Pooled table are stored in table pool

    at the database level.

    7. What is an ABAP/4 Query?- ABAP/4 Query is a powerful tool to generate simplereports without any coding. ABAP/4 Query can generate the following 3 simple reports:

    Basic List: It is the simple reports. Statistics: Reports with statistical functions like

    Average, Percentages. Ranked Lists: For analytical reports. - For creating a ABAP/4

    Query, programmer has to create user group and a functional group. Functional group canbe created using with or without logical database table. Finally, assign user group to

    functional group. Finally, create a query on the functional group generated.8. What is BDC programming?- Transferring of large/external/legacy data into SAPsystem using Batch Input programming. Batch input is a automatic procedure referred toas BDC(Batch Data Communications).The central component of the transfer is a queue

    file which receives the data vie a batch input programs and groups associated data into

    sessions.9. What are the functional modules used in sequence in BDC?- These are the 3

    functional modules which are used in a sequence to perform a data transfer successfully

  • 7/31/2019 ABAP Interview Questions & Answers

    2/16

    using BDC programming: BDC_OPEN_GROUP - Parameters like Name of the client,

    sessions and user name are specified in this functional modules. BDC_INSERT - It isused to insert the data for one transaction into a session. BDC_CLOSE_GROUP - This is

    used to close the batch input session.

    10.What are internal tables?- Internal tables are a standard data type object which existsonly during the runtime of the program. They are used to perform table calculations onsubsets of database tables and for re-organising the contents of database tables according

    to users need.

    11.What is ITS? What are the merits of ITS?- ITS is a Internet Transaction Server. ITSforms an interface between HTTP server and R/3 system, which converts screen provided

    data by the R/3 system into HTML documents and vice-versa. Merits of ITS: A complete

    web transaction can be developed and tested in R/3 system. All transaction components,including those used by the ITS outside the R/3 system at runtime, can be stored in the

    R/3 system. The advantage of automatic language processing in the R/3 system can be

    utilized to language-dependent HTML documents at runtime.

    12.What is DynPro?- DynPro is a Dynamic Programming which is a combination of screenand the associated flow logic Screen is also called as DynPro.13.What are screen painter and menu painter?- Screen painter: Screen painter is a tool todesign and maintain screen and its elements. It allows user to create GUI screens for thetransactions. Attributes, layout, filed attributes and flow logic are the elements of Screen

    painter. Menu painter: Menu painter is a tool to design the interface components. Status,

    menu bars, menu lists, F-key settings, functions and titles are the components of Menu

    painters. Screen painter and menu painter both are the graphical interface of an ABAP/4applications.

    14.What are the components of SAP scripts?- SAP scripts is a word processing tool ofSAP which has the following components: Standard text. It is like a standard normaldocuments. Layout sets. - Layout set consists of the following components: Windows and

    pages, Paragraph formats, Character formats. Creating forms in the R/3 system. Every

    layout set consists of Header, paragraph, and character string. ABAP/4 program.

    15.What is ALV programming in ABAP? When is this grid used in ABAP?- ALV isApplication List viewer. Sap provides a set of ALV (ABAP LIST VIEWER) function

    modules which can be put into use to embellish the output of a report. This set of ALV

    functions is used to enhance the readability and functionality of any report output. Casesarise in sap when the output of a report contains columns extending more than 255

    characters in length. In such cases, this set of ALV functions can help choose selected

    columns and arrange the different columns from a report output and also save differentvariants for report display. This is a very efficient tool for dynamically sorting and

    arranging the columns from a report output. The report output can contain up to 90

    columns in the display with the wide array of display options.

    16.What are the events in ABAP/4 language?- Initialization, At selection-screen, Start-of-selection, end-of-selection, top-of-page, end-of-page, At line-selection, At user-

    command, At PF, Get, At New, At LAST, AT END, AT FIRST.

    17.What is CTS and what do you know about it?- The Change and Transport System(CTS) is a tool that helps you to organize development projects in the ABAP Workbenchand in Customizing, and then transport the changes between the SAP Systems and clients

    in your system landscape. This documentation provides you with an overview of how to

  • 7/31/2019 ABAP Interview Questions & Answers

    3/16

    manage changes with the CTS and essential information on setting up your system and

    client landscape and deciding on a transport strategy. Read and follow this documentationwhen planning your development project.

    18.What are logical databases? What are the advantages/ dis-advantages of logicaldatabases?- 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 viewdetermined by the application logic. dis advantages: i)If you donot 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).

    19.What is a batch input session?- BATCH INPUT SESSION is an intermediate stepbetween internal table and database table. Data along with the action is stored in session

    ie data for screen fields, to which screen it is passed, program name behind it, and how

    next screen is processed.20.How to upload data using CATT ?- These are the steps to be followed to Upload datathrough 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.

    21.What is Smart Forms?- Smart Forms allows you to create forms using a graphicaldesign tool with robust functionality, color, and more. Additionally, all new formsdeveloped at SAP will be created with the new Smart Form solution.

    22.How can I make a differentiation between dependent and independent data?- Clientdependent or independent transfer requirements include client specific or cross clientobjects in the change requests. Workbench objects like SAPscripts 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 clientdependent.

    23.What is the difference between macro and subroutine?- Macros can only be used inthe program the are defined in and only after the definition are expanded at compilation /generation. Subroutines (FORM) can be called from both the program the 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 becalled 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 (Ive neverused 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 aFUNCTION.

    24.What is a breakpoint ?Breakpoint is used to help the user scrutinize how the system behaves at a certain point in

    the ABAP code. At that point the system goes into debug mode. This breakpoint is useful

    in investigating how routines and requirements function. By accessing the routine source

  • 7/31/2019 ABAP Interview Questions & Answers

    4/16

  • 7/31/2019 ABAP Interview Questions & Answers

    5/16

    34.What is ASAP ?ASAP is Accelerated SAP, a project management software tool that is used on SAPimplementations to guide the project through different phases. ASAP can take a project

    from the designing of the "blueprint" through to "going live". Accelerated SAP is SAPstotal process-oriented solution for accelerated implementation and continuous

    optimization of R/3.35.What are the core modules of SAP ?The core functional modules in SAP R/3 are Financial Accounting (FI) usually in

    combination with Controlling (CO) or Treasury (TR) - Human Resources (HR), andlogistic modules : Sales and Distribution (SD), Materials Management (MM), Quality

    Management (QM), Plant Maintenance (PM), and Production Planning (PP).

    36.What is the ABAP Workbench?ABAP Workbench is SAP's graphical programming environment. It is used to write

    ABAP code, design screens, create user interfaces, obtain database information, debug

    and test applications for effeciency.

    37.In the SD document, what are the three levels of a sales document?Each sales document comprises of three main levels and each level is represented by atable that holds the data for that level. Data for the header level is stored in table VBAK,

    data for the item levels is stored in table VBAP, and data for the schedule line level isstored in table VBEP.

    38.What is a user profile?User profile is a set of authorizations that enable user access to certain parts of the SAP

    system.

    39.What is a sales area ?Sales area is a segment that combines the sales organization, the distribution channel, and

    the sales division.

    40.What is a logical database ?Logical database is an ABAP program that combines the contents of database tables. It is

    linked to an ABAP report program as one of the program attributes. It supplies the report

    program with a set of hierarchically structured table entires derived from differentdatabase tables. This saves the developer from having to program the data retrieval.

    41.What is a requirement ?Requirement is a portion of code that is used to determine if a function or formula shouldbe executed.

    42.What is an ABAP Query ?ABAP Query is a reporting tool that uses a logical database (LDB), individual table, orcombined tables to form a report.

    43.What is a functional area ?Functional area is assigned to the query. It is the representation of a logical database or

    tables with their respective table joins. This defines which tables and fields the query canreference.

    44.What is a batch input ?Batch input facility in SAP is a convenient tool for capturing data into SAP or updating

    large amounts of information in SAP transactions. The simplest way to utilize batch inputis by : 1) Record the batch input for the transaction used to enter the data in SAP; 2) Then

    export the batch input recording to a text file. From the recording, you know what data is

  • 7/31/2019 ABAP Interview Questions & Answers

    6/16

    required. Create a spreadsheet or word processor document containing all the data to be

    captured or changed. Then mail merge the exported text file with the data in a wordprocessing program. Finally, import the merged file, upload the file into SAP, and

    execute the batch input in SAP.

    45.What is LIS ?LIS is Logistics Information System. LIS consists of following information systems -Sales Information System

    Purchasing Information System

    Inventory ControllingShop Floor Information System

    Plant Maintenance Information System

    Quality Management Information SystemThese information systems can be used to plan, control, and monitor business events at

    different stages in the decision-making process. They are flexible tools for collecting,

    aggregating, and analyzing data from the operative applications.

    46.What is OSS ?OSS is an Online Service System which can be used to access information about amodule in a given release. OSS is a database of notes on known issues and their

    remedies. Any user with a logon name and password can access this information. OSScan be used to obtain quick responses from the SAP help desk representatives,

    administration and registration of new users.

    47.What is an SAP GUI ?GUI means Graphical User Interface. It is responsible for the graphical layout of the SAPsoftware. GUIs in SAP R/3 differ from version to version of SAP.

    48.What is the typical structure of an ABAP/4 program?ANS:-HEADER ,BODY,FOOTER.

    49.What are field symbols and field groups.?Have you used "component idx of structure" clause with field groups?

    ANS:-Field symbols:- Field groups :-

    50.What should be the approach for writing a BDC program?ANS:-STEP 1: CONVERTING THE LEGACY SYSTEM DATA TO A FLAT FILE to internal

    table CALLED "CONVERSION".

    STEP 2: TRANSFERING THE FLAT FILE INTO SAP SYSTEM CALLED "SAPDATA TRANSFER".

    STEP 3: DEPENDING UPON THE BDC TYPE i)call transaction(Write the program

    explicity)

    ii) create sessions (sessions are created and processed.if success data will transfer).

    51.What is a batch input session?ANS:-

    BATCH INPUT SESSION is an intermediate step between internal table and database

    table.Data along with the action is stored in session ie data for screen fields, to which screen it

    is passed,program name behind it, and how next screen is processed.

  • 7/31/2019 ABAP Interview Questions & Answers

    7/16

    52.What is the alternative to batch input session?ANS:-Call transaction.

    53.A situation: An ABAP program creates a batch input session.We need to submit the program and the batch session in back ground. How to do it?

    ANS:-go to SM36 and create background job by giving

    job name,job class and job steps (JOB SCHEDULING)

    54.What are the problems in processing batch input sessions?How is batch input process different from processing online?ANS:-

    PROBLEMS:-i) If the user forgets to opt for keep session then the session will be automatically

    removed from the session queue(log remains). However if session is processed we may

    delete it manually.

    ii)if session processing fails data will not be transferred to SAP database table.

    55.What are the different types of data dictionary objects?ans:-

    tables, structures, views, domains, data elements, lock objects, Matchcode objects.

    56.How many types of tables exists and what are they in data dictionary?ans :-

    4 types of tables

    i)Transparent tables - Exists with the same structure both in dictionary as well as indatabase exactly with the same data and fields. Both Opensql and Nativesql can be used.

    ii)Pool tables & iii)Cluster tables -

    These are logical tables that are arranged as records of transparent tables.one cannot usenative sql on these tables

    (only opensql).They are not managable directly using database system tools.

    57.iv)Internal tables - .58.What is the step by step process to create a table in data dictionary?

    ans:-

    step 1: creating domains(data type,field length,range).

    step 2: creating data elements(properties and type for a tablefield).

    step 3: creating tables(SE11).

    59.Can a transparent table exist in data dictionary but not in the data base physically?ANS:- NO.

    TRANSPARENT TABLE DO EXIST WITH THE SAME STRUCTURE BOTH IN

    THE DICTIONARY AS WELL AS IN THE DATABASE,EXACTLY WITH THE

    SAME DATA AND FIELDS.

    60.What are the domains and data elements?ANS:-

    DOMAINS : FORMAL DEFINITION OF THE DATA TYPES.THEY SET

    ATTRIBUTES SUCH AS DATA TYPE,LENGTH,RANGE.DATA ELEMENT : A FIELD IN R/3 SYSTEM IS A DATA ELEMENT.

  • 7/31/2019 ABAP Interview Questions & Answers

    8/16

    61.Can you create a table with fields not referring to data elements?ANS:-YES. eg:- ITAB LIKE SPFLI.here we are referening to a data object(SPFLI) not data

    element.

    62.What is the advantage of structures? How do you use them in the ABAP programs?ANS:-Adv:- GLOBAL EXISTANCE(these could be used by any other program without

    creating it again).

    63.What does an extract statement do in the ABAP program?ANS:-

    Once you have declared the possible record types as field groups and defined their

    structure, you can fill the extract dataset using the following statements:EXTRACT .

    When the first EXTRACT statement occurs in a program, the system creates the extract datasetand adds the first extract record to it. In each subsequent EXTRACT statement, the new extract

    record is added to the datasetEXTRACT HEADER.

    When you extract the data, the record is filled with the current values of the corresponding fields.As soon as the system has processed the first EXTRACT statement for a field group , the

    structure of the corresponding extract record in the extract dataset is fixed. You can no longer

    insert new fields into the field groups and HEADER. If you try to modify one of the field groupsafterwards and use it in another EXTRACT statement, a runtime error occurs.

    By processing EXTRACT statements several times using different field groups, you fill the

    extract dataset with records of different length and structure. Since you can modify field groups

    dynamically up to their first usage in an EXTRACT statement, extract datasets provide theadvantage that you need not determine the structure at the beginning of the program.

    64.What is a collect statement? How is it different from append?ANS:-

    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 ofthe numeric fields in the existing entry.

    65.What is open sql vs native sql?ANS:-Open SQL , native SQL are the interfaces to create the database applicatons.

    Open SQL is consistant across different types of existing Databases.

    Native SQL is the database language specific to database.Its API is specific to the

    databse.Open SQL API is consistent across all vendors

    66.What does an EXEC SQL stmt do in ABAP? What is the disadvantage of using it?ANS:-

    67.What is the meaning of ABAP/4 editor integrated with ABAP/4 data dictionary? ANS:-

    68.What are the events in ABAP/4 language?ANS:-

  • 7/31/2019 ABAP Interview Questions & Answers

    9/16

    Initialization, At selection-screen,Start-of-selection,end-of-selection,top-of-page,end-of-

    page, At line-selection,At user-command,At PF,Get,At New,At LAST,AT END, ATFIRST.

    69.What is an interactive report?What is the obvious diff of such report compared with classical type reports?

    ANS:-An Interactive report is a dynamic drill down report that produces the list on users choice.

    diff:-

    a) THE LIST PRODUCED BY CLASSICAL REPORT DOESN'T allow user to interactwith the system

    the list produced by interactive report allows the user to interact with the system.

    b) ONCE A CLASSICAL REPORT EXECUTED USER LOOSES CONTROL.IR USERHAS CONTROL.

    c) IN CLASSICAL REPORT DRILLING IS NOT POSSIBLE.IN INTERACTIVE

    DRILLING IS POSSIBLE.

    70.What is a drill down report?ANS:-Its an Interactive report where in the user can get more relavent data by selecting

    explicitly.

    71.How do you write a function module in SAP? describe.ANS:-

    creating function module:-

    called program - se37-creating funcgrp,funcmodule by assigningattributes,importing,exporting,tables,exceptions.

    calling program - SE38-in pgm click pattern and write function name- provide

    export,import,tables,exception values.

    72.What are the exceptions in function module?ANS:-

    COMMUNICATION_FAILURE

    SYSTEM_FAILURE

    73.What is a function group?ANS:-

    GROUP OF ALL RELATED FUNCTIONS.

    74.How are the date and time field values stored in SAP?ANS:-

    DD.MM.YYYY. HH:MM:SS

    75.Name a few data dictionary objects? //rep//ANS:-

    TABLES,VIEWS,STRUCTURES,LOCK OBJECTS,MATCHCODE OBJECTS.

    76.What happens when a table is activated in DD?ANS:-

    It is available for any insertion,modification and updation of records by any user.

    77.What is a check table and what is a value table?Check table will be at field level checking.Value table will be at domain level checking ex: scarr table is check table for carrid.

  • 7/31/2019 ABAP Interview Questions & Answers

    10/16

    78.What are match codes? describe?ans:-It is a similar to table index that gives list of possible values for either primary keys or

    non-primary keys.

    79.What transactions do you use for data analysis?ANS:-80.What is table maintenance generator?ANS:-

    81.What are ranges? What are number ranges?ANS:-

    max,min values provided in selection screens.

    82.What are select options and what is the diff from parameters?ANS:-

    select options provide ranges where as parameters do not.

    SELECT-OPTIONS declares an internal table which is automatically filled with values orrangesof values entered by the end user. For each SELECT-OPTIONS , the system creates a

    selection table.

    SELECT-OPTIONS FOR .

    A selection table is an internal table with fields SIGN, OPTION, LOW and HIGH.The type of LOW and HIGH is the same as that of .

    The SIGN field can take the following values: I Inclusive (should apply) E Exclusive (should

    not apply)

    The OPTION field can take the following values: EQ Equal GT Greater than NE Not equalBT Between LE Less

    than or equal NB Not between LT Less than CP Contains pattern GE Greater than or equal

    NP No pattern.diff:-

    PARAMETERS allow users to enter a single value into an internal field within a report.

    SELECT-OPTIONS allow users to fill an internal table with a range of values.

    For each PARAMETERS or SELECT-OPTIONS statement you should define text elementsby choosing

    Goto - Text elements - Selection texts - Change.

    Eg:- Parameters name(30).when the user executes the ABAP/4 program,an input field for 'name' will appear on the

    selection screen.You can change the comments on the left side of the input fields by using

    text elements as described in Selection Texts.

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

  • 7/31/2019 ABAP Interview Questions & Answers

    11/16

    ANS:-

    validate :- by using match code objects.display :- Parameters default 'xxx'.

    select-options for spfli-carrid.

    84.What are selection texts?85.

    What is CTS and what do you know about it?86.The Change and Transport System (CTS) is a tool that helps you to organizedevelopment projects in the ABAP Workbench and in Customizing, and then transport

    the changes between the SAP Systems and clients in your system landscape.This documentation provides you with an overview of how to manage changes with the

    CTS and essential information on setting up your system and client landscape and

    deciding on a transport strategy. Read and follow this documentation when planning yourdevelopment project.

    For practical information on working with the Change and Transport System, see Change

    and Transport Organizer and Transport Management System.

    87.When a program is created and need to be transported to prodn does selection textsalways go with it? if not how do you make sure? Can you change the CTS entries?How do you do it?

    ANS:-

    88.What is the client concept in SAP? What is the meaning of client independent?ANS:-

    89.Are programs client dependent?ANS:-Yes.Group of users can access these programs with a client no.

    90.Name a few system global variables you can use in ABAP programs?ANS:-SY-SUBRC,SY-DBCNT,SY-LILLI,SY-DATUM,SY-UZEIT,SY-UCOMM,SY-

    TABIX.....

    SY-LILLI IS ABSOLUTE NO OF LINES FROM WHICH THE EVENT WAS

    TRIGGERED.

    91.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:-i)It is a standard data type object which exists only during the runtime of the program.

    They are used to perform table calculations on subsets of database tables and for re-

    organising the contents of database tables according to users need.ii)using SY-DBCNT.

    iii)The number of memory allocations the system need to allocate for the next record

    population.

    92.How do you take care of performance issues in your ABAP programs?Performance of ABAPs can be improved by minimizing the amount of data to be transferred.

    The data set must be transferred through the network to the applications, so reducing theamount OF time and also reduces the network traffic.

    Some measures that can be taken are:

  • 7/31/2019 ABAP Interview Questions & Answers

    12/16

    Use views defined in the ABAP/4 DDIC (also has the advantage of better reusability).

    - Use field list (SELECT clause) rather than SELECT *.- Range tables should be avoided (IN operator)

    - Avoid nested SELECTS.

    i)system tools

    ii)field symbols and field groups.ans:-

    Field Symbols : Field symbols are placeholders for existing fields. A Field Symbol does not

    physically reserve space for a field,but points to a field which is not known until runtime ofthe program.

    eg:- FIELD-SYMBOL [].

    Field groups : A field group combines several fields under one name.At runtime,the INSERT

    command is used to define which data fields are assigned to which field group.

    There should always be a HEADER field group that defines how the extracted data will besorted,the data is sorted by the fields grouped under the HEADER field group.

    93.What are datasets?ANS:-

    The sequential files(ON APPLICATION SERVER) are called datasets. They are used forfile handling in SAP.

    94.How to find the return code of a statement in ABAP programs?ANS:-

    Using function modules.

    95.What are interface/conversion programs in SAP?ANS :CONVERSION : LEGACY SYSTEM TO FLAT FILE.

    INTERFACE : FLAT FILE TO SAP SYSTEM.

    96.Have you used SAP supplied programs to load master data?97.What are the techniques involved in using SAP supplied programs?

    Do you prefer to write your own programs to load master data? Why?

    98.What are logical databases? What are the advantages/disadvantages of logicaldatabases?ANS:-

    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/4program.

    advantages:-The programmer need not worry about the primary key for each table.Because Logicaldatabase knows how the different tables relate to each other,and can issue the SELECT

    command with proper where clause to retrieve the data.

    i)An easy-to-use standard user interface.

    ii)check functions which check that user input is complete,correct,and plausible.iii)meaningful data selection.

  • 7/31/2019 ABAP Interview Questions & Answers

    13/16

    iv)central authorization checks for database accesses.

    v)good read access performance while retaining the hierarchical data view determined bythe application logic.

    disadvantages:-

    i)If you donot 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).

    99.What specific statements do you using when writing a drill down report?ans:-

    AT LINE-SELECTION,AT USER-COMMAND,AT PF.

    100. What are different tools to report data in SAP? What all have you used?ans:-

    101. What are the advantages and disadvantages of ABAP/4 query tool?102. What are the functional areas? User groups? and how does ABAP/4 query

    work in relation to these?

    103.

    Is a logical database a requirement/must to write an ABAP/4 query?104. What are Change header/detail tables? Have you used them?105. What do you do when the system crashes in the middle of a BDC batch

    session?ans:-

    we will look into the error log file (SM35).

    106. What do you do with errors in BDC batch sessions?ANS:-

    We look into the list of incorrect session and process it again. To correct incorrect session

    we analyize the session to determine which screen and value produced the error.For smallerrors in data we correct them interactively otherwise

    modify batch input program that has generated the session or many times even the

    datafile.

    107. How do you set up background jobs in SAP? What are the steps? What arethe event driven batch jobs?ans:-

    go to SM36 and create background job by giving job name,job class and job steps(JOBSCHEDULING)

    108. Is it possible to run host command from SAP environment? How do yourun?

    109. What kind of financial periods exist in SAP? What is the relavent table forthat?

    110. Does SAP handle multiple currencies? Multiple languages?ans:-Yes.

    111. What is a currency factoring technique?112. How do you document ABAP/4 programs? Do you use program

    documentation menu option?

    113. What is SAPscript and layout set?ans:-

  • 7/31/2019 ABAP Interview Questions & Answers

    14/16

    The tool which is used to create layout set is called SAPscript. Layout set is a design

    document.

    114. What are the ABAP/4 commands that link to a layout set?ans:-

    control commands,system commands,

    115.

    What is output determination?116. What are IDOCs?ans:-

    IDOCs are intermediate documents to hold the messages as a container.

    117. What are screen painter? menu painter? Gui status? ..etc.ans:-

    dynpro - flow logic + screens.

    menu painter -

    GUI Status - It is subset of the interface elements(title bar,menu bar,standard tool bar,pushbuttons) used for a certain screen.

    The status comprises those elements that are currently needed by the transaction.118.What are screen painter? menu painter? Gui status?ans:-dynpro - flow logic + screens.

    menu painter -

    GUI Status - It is subset of the interface elements(title bar,menu bar,standard tool bar,pushbuttons) used for a certain screen.

    The status comprises those elements that are currently needed by the transaction.

    119. What is screen flow logic? What are the sections in it? Explain PAI and PBO.

    ans:-The control statements that control the screen flow.

    PBO - This event is triggered before the screen is displayed.

    PAI - This event is responsible for processing of screen after the user enters the data and clicksthe pushbutton.

    120. Overall how do you write transaction programs in SAP?

    ans:-

    Create program-SE93-create transcode-Run it from command field.

    121. Does SAP has a GUI screen painter or not? If yes what operating systems is it

    available on? What is the other type of screen painter called?

    122. What are step loops? How do you program pagedown pageup in step loops?ans:-

    step loops are repeated blocks of field in a screen.

    123. Is ABAP a GUI language?

    ANS:-Yes.

    ABAP IS AN EVENT DRIVEN LANGUAGE.

    124. Normally how many and what files get created when a transaction program is

    written?

    What is the XXXXXTOP program?

    ans:-

  • 7/31/2019 ABAP Interview Questions & Answers

    15/16

    ABAP/4 program.

    DYNPRO

    125. What are the include programs?ANS:-

    When the same sequence of statements in several programs are to be written repeadly they are

    coded in include programs (External programs) and are included in ABAP/4 programs.126. Can you call a subroutine of one program from another program?ans:- Yes- only external subroutines Using 'SUBMIT' statement.

    127. . What are user exits? What is involved in writing them? What precations are needed?

    128. What are RFCs? How do you write RFCs on SAP side?

    129. What are the general naming conventions of ABAP programs?

    ANS:-Should start with Y or Z.

    130. How do you find if a logical database exists for your program requrements?ans:-

    SLDB-F4.

    131. How do you find the tables to report from when the user just tell you the transactionhe uses? And all the underlying data is from SAP structures?

    ans:-Transcode is entered in command field to open the table.Utilities-Table contents-display.

    132. How do you find the menu path for a given transaction in SAP?

    ans:-

    133. What are the different modules of SAP?ans:-

    FI,CO,SD,MM,PP,HR.

    134. How do you get help in ABAP?ans:-

    HELP-SAP LIBRARY,by pressing F1 on a keyword.

    135. What are different ABAP/4 editors? What are the differences?ans:-

    136. What are the different elements in layout sets?ans:-

    PAGES,Page windows,Header,Paragraph,Character String,Windows.

    137. Can you use if then else, perform ..etc statements in sap script?ans:-

    yes.

    138. What type of variables normally used in sap script to output data?

    139. How do you number pages in sapscript layout outputs?

    140. What takes most time in SAP script programming?

    ANS:-LAYOUT DESIGN AND LOGO INSERTION.

    141. How do you use tab sets in layout sets?

    142. How do you backup sapscript layout sets? Can you download and upload? How?

    143. What are presentation and application servers in SAP?ANS:-

  • 7/31/2019 ABAP Interview Questions & Answers

    16/16

    The application layer of an R/3 System is made up of the application servers and the

    message server. Application programs in an R/3 System are run on application servers.The application servers communicate with the presentation components, the database,

    and also with each other, using the message server.

    144. In an ABAP/4 program how do you access data that exists on a presentationserver vs on an application server?ans:-

    i)using loop statements.

    ii)flat

    145. What are different data types in ABAP/4?ans:-

    Elementary -predefined C,D,F,I,N,P,T,X.

    userdefined TYPES.

    ex: see in intel book page no 35/65

    146. Structured -predefined TABLES.userdefined Field Strings and internal tables.

    147. What is difference between session method and Call Transaction?148. Setting up a BDC program where you find information from?149. What has to be done to the packed fields before submitting to a BDC session.

    ans:-fields converted into character type.

    150. What is the structure of a BDC sessions.ans:-

    BDCDATA (standard structure).

    151. What are the fields in a BDC_Tab Table.ans:-

    program,dynpro,dynbegin,fnam,fval.

    152. What do you define in the domain and data element.Technical details like

    153. What is the difference between a pool table and a transparent table and howthey are stored at the database level.ans:-

    ii)Pool tables is a logical representation of transparent tables .Hence no existence at

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

    154. What is cardinality?For cardinality one out of two (domain or data element) should be the same for Ztest1 and Ztest2tables. M:N

    Cardinality specifies the number of dependent(Target) and independent (source) entities which

    can be in a relationship