ABAP interview questions and answers

1. What is an ABAP data dictionary?- ABAP 4 data dictionary describes the logical structures 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 for describing the technical characteristics of an attribute of an business objects. It describes the 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 be displayed to end-user.

3. What is foreign key relationship?- A relationship which can be defined between tables and must be explicitly defined at field level. Foreign keys are used to ensure the consistency 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 a customizing 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 associated record 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 same name as in the dictionary. Transparent table holds application data. Pooled tables. Pooled tables in the dictionary has a many-toone relation with the table in database. Table in the database 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 simple reports 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 can be 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 SAP system using Batch Input programming. Batch input is a automatic procedure referred to as 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 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 is used 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 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.

11. What is ITS? What are the merits of ITS?- ITS is a Internet Transaction Server. ITS forms 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 screen and 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 to design and maintain screen and its elements. It allows user to create GUI screens for the transactions. 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/4 applications.

14. What are the components of SAP scripts?- SAP scripts is a word processing tool of SAP which has the following components: Standard text. It is like a standard normal documents. 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 is Application 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. Cases arise 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 different variants 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-ofselection, 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 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 your development project.

18. 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 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 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.

20. 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.

21. 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.

22. 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 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 client dependent.

23. What is the difference between macro and subroutine?- Macros can only be used in the 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 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.

It can be called from any program. For e. 5) 6) Ans How to take care of performance in ABAP Development? What is Function group? Difference between function group and function module? Function Groups act as containers for Function Modules that logically belong together. Presentation layer. Buffering Type and Logging. They are containers for Function Module. What is the difference between ‘Select single * ‘ and ‘Select upto 1 rows’? Ans ‘Select single *’ – The result of the selection should be a single entry.e. Buffering Permission. 2) 3) What are the programming standards followed? What are the contents in technical specifications? Ans There are five contents in Technical Settings: Data Class. An ABAP program can load several instances by calling function modules from different function groups.ABAP interview questions and answers 2 1) What is SAP R/3? Ans SAP R/3 refers to Systems Application and Product for data processing Real-time having a 3 tier architecture i. . They are not containers for Function Group. 4) What is an instance? Ans When you call a function module. is loaded into the memory area of the internal session. an instance of its function group plus its data. Application layer and Database layer. If it is not possible to identify a unique entry. It cannot be called. Function Modules 1) 2) 3) 7) These must be defined in a Function Group.g. Function Groups 1) 2) 3) These cannot be defined in a Function Module. the system uses the first line of the selection. Size Category.

Select upto 1 rows 8) What Function does data dictionary perform? Ans Central information repository for application and system data. but instead provides an application-oriented view of one or more ABAP Dictionary tables.Describes the business function of a table field. and data types) in one place. Domains are objects in the ABAP Dictionary. WRITE : / ITAB-EMPNO. we cannot print decimals in type N because decimal places are not permitted with N data type. .ITAB-DEPTNO.DATA : ITAB TYPE ZREKHA_EMP. Different Types of View: 1) 2) 3) 4) 11) Ans Maintenance Database – It is on more than two tables. Aggregate Object – Views. Help Can u print decimals in type N? What is difference between float and packed data type? No. Its technical attributes are based on a domain. A single domain can be the basis for several data elements. Data Element . 9) Difference between domain and data element? What are aggregate object? Ans Domain . The ABAP Dictionary contains data definitions (metadata) that allow you to describe all of the data structures in the system (like tables. SELECT SINGLE * FROM ZREKHA_EMP INTO ITAB WHERE EMPNO = ‘00101’ AND DEPTNO = ‘0010’. 10) What is view? Different types of view.Specifies the technical attributes of a data element . Each data element has an underlying domain. A virtual table that does not contain any data. Float Data Type: It cannot be declared in Parameters. Explain? Ans View . length. ITAB-EMPNAME. Projection – It is only on one table. This eliminates redundancy. and appearance on the screen. Match Code and Lock objects are called aggregate objects because they are formed from several related table. and its business function is described by its field labels and documentation. possible values. views.A view is a virtual table containing fields from one or more tables.its data type.

Step loops in a screen are ordered primarily by screen row. Static step loops have a fixed size that cannot be changed at runtime.g. This number can never change. In any given screen. and secondarily by screen column. Each block can contain one or more fields. Step loops as structures in a screen do not have individual names. the system automatically displays the step loop with vertical scroll bars. PARAMETERS : A(4) TYPE P DECIMALS 2. If the user re-sizes the window. You can use both the LOOP and LOOP AT statements for both types. C = A + B. Transaction TZ61 (development class SDWA) implements a step loop version of the table you saw in transaction TZ60. The scroll bars. Static and Dynamic Step Loops Step loops fall into two classes: static and dynamic. Looping in a Step Loop When you use LOOP AT <internal-table> with a step loop. B(4) TYPE P DECIMALS 2. you can define any number of static step loops. the Loopcount tells the number of loop-blocks displayed for the loop. For e. 12) Ans What is step-loop? Explain all the steps? A step loop is a repeated series of field-blocks in a screen. The ordering tells the system which loop processing to apply to which loop. DATA : C(4) TYPE P DECIMALS 2.Packed Number: It can be declared in Parameters. Use the following additional parameters if desired: • • FROM <line1> and TO <line2> CURSOR <scroll-var> . You specify the class for a step loop in the Screen Painter. and can extend over more than one line on the screen. The screen can contain more than one step-loop. and the updated (scrolled) table display. but only a single dynamic one. variable=dynamic) and Loopcount. Programming with static and dynamic step loops is essentially the same. WRITE : / ‘THE SUM IS’ . you must program the LOOP…ENDLOOPs in the flow logic accordingly. Dynamic step loops are variable in size. are managed by the system. C. Each loop in a screen has the attributes Looptype (fixed=static. The ordering of the LOOP…ENDLOOPs must exactly parallel the order of the step loops in the screen. the system automatically increases or decreases the number of step loop blocks displayed. but if so. If a loop is fixed.

Although they are variables. CALL SELECTION-SCREEN 500 STARTING AT 10 10. However. since this may overwrite information that is important for the normal running of the program. 21) Ans 22) What are the system fields? Explain? What do you know about a client? Ans The ABAP system fields are active in all ABAP programs. What function module upload data from application server? SELECTION-SCREEN BEGIN OF SCREEN 500 AS WINDOW. and you can query their values in a program to find out particular states of the system. there are some isolated cases in which you may . you should not assign your own values to them. They are filled by the runtime environment.13) Ans What is the initial value and maximum length of all data type? Data Type Numeric types I F P Character types C D N T Hexadecimal type X Initial field length Valid field length Initial value Meaning 4 8 8 1 8 1 6 1 4 8 1 – 16 1 – 65535 8 1 – 65535 6 1 – 65535 0 0 0 ‘…‘ ‘00000000′ ‘0 … 0′ ‘000000′ X’0 … 0′ Integer (whole number) Floating point number Packed number Text field (alphanumeric characters) Date field (Format: YYYYMMDD) Numeric text field (numeric characters) Time field (format: HHMMSS) Hexadecimal field 14) Ans 15) What are the ways to find out the tables used in the program? Can you have two detail lists from the basic list at the same time? If yes how and if no why? Ans 19) Ans 20) Ans What are the various types of selection screen event? SELECTION-SCREEN BEGIN OF BLOCK ABC WITH FRAME TITLE T01.

If you use the OCCURS parameter. that is. 24) What is the use of occurs in internal table? Can u change occurs value in program? Ans Use of Occurs . SY-TABIX is reset to the value that it had before entering the loop. Two types – Classical and Interactive. SY-TABIX is set to 0. If the table has the type HASHED TABLE. by assigning a new value to the field SY-LSIND. The field is either not set or is set to 0 for hashed tables. Reports . it contains the overall number of entries in the table.Current line of an internal table. SY-TABIX contains the total number of lines. If you use a binary search. * READ TABLE sets SY-TABIX to the index of the table line read.It is the way to display data fetched from database table onto screen or directly output it to a printer. you can control navigation within details lists. Two types – PC Editor & Line Editor. * SEARCH <itab> FOR sets SY-TABIX to the index of the table line in which the search string is found. * COLLECT sets SY-TABIX to the index of the existing or inserted line in the table. SY-INDEX contains the number of loop passes including the current pass. SY-TABIX is set by the statements below. It is set to 0 if the table has the type HASHED TABLE. * LOOP AT sets SY-TABIX to the index of the current line at the beginning of each loop lass.need to overwrite a system variable. 25) Difference between SY-TABIX and SY-INDEX? Where it is used? Can u check SY-SUBRC after perform? Ans SY-TABIX . Occurs or Initial Size – to specify the initial amount of memory that should be assigned to the table. End of ITAB. * APPEND sets SY-TABIX to the index of the last line of the table. but only for index tables. 23) What is SAP Script? What is the purpose of SAP Script? Difference between SAP Script and Report? Ans SAP Script – It is the integrated text management system of the SAP R/3 System. we can change the occurs value in program but output remains the same. SY-INDEX is undefined if a linear search fails to return an entry. Yes. or one more than the total number of lines. For example.In a DO or WHILE loop. and the system does not find a line. SY_INDEX . . At the end of the loop. the value of the INITIAL SIZE of the table is returned to the variable <n> Data : Begin of ITAB occurs 0.

16) Ans What are the different functions used in sap script? What are the parameters used in each Function? There are three different functions used in SAP Script: 1) OPEN_FORM 2) WRITE_FORM 3) CLOSE_FORM Parameters in Each Function: 1) OPEN_FORM– Exporting Form Language 2) WRITE_FORM– Exporting Element Window 3) CLOSE_FORM 17) Ans What is sequence of event triggered in report? There are 6 events in report: 1) Initialization 2) At Selection-Screen 3) Start-of-Selection 4) Get 5) Get Late 6) End-of-Selection 7) Top-of-Page End-of-Page 9) At Line Selection .

WS_UPLOAD .10) At User Command 11) At PF (nn) 18) Ans What are standard layouts sets in the SAP Script? There are four standard layouts in the SAP Script: 1) Header 2) Logo 3) Main Window 4) Footer 26) Ans Difference between UPLOAD and WS_UPLOAD? UPLOAD . 29) What are the events used for Logical Database? Ans Two Events – 1) GET . Use of LDB – is used to read data from database tables by linking them to executable ABAP programs.To read data from the presentation server into an internal table without a user dialog. ASCII & Binary files can be transferred. Parameters CODEPAGE FILENAME FILETYPE Function Only for upload under DOS: Value IBM Filename File type 27) Ans Why did u switch to SAP? 28) What is a Logical Database? Ans Logical Databases are special ABAP programs that retrieve data and make it available to application programs.This is the most important event for executable programs that use a logical database. Data which is available in a file on the presentation server is transferred in an internal table. It occurs when the logical database has read a line from the node and made it available to the program in the work area declared using the statement NODES . The most important parameters are listed below. use the function module WS_UPLOAD.File transfer with dialog from presentation server file to internal table.

The PUT statement directs the program flow according to the structure of the logical database. AT SELECTION-SCREEN ON 4. . INITIALIZATION 2. AT PF 12. END-OF-PAGE 8.After the logical database has read an entry from the node .. GET LATE. The depth to which the logical database is read is determined by the GET statements2) PUT . START-OF-SELECTION 5. AT LINE-SELECTION 11. 30) What is the difference between Get and Get Late? Ans GET . END-OF-SELECTION 9. AT USER-COMMAND 10.31) What are the data types of Internal Tables? Ans There are three types: 1) Line 2) Key 3) Table 32) What are the events used in ABAP in the order of execution? Ans Events are: 1. TOP-OF-PAGE DURING LINE SELECTION 7.GET LATE . TOP-OF-PAGE 6. AT SELECTION-SCREEN 3. GET 13.After all of the nodes of the logical database have been processed that are below in the database hierarchy.

Client SY-UNAME .System Name 6) SY-LANGU . With interactive list.Local Time 12) SY-UZEIT .Screen Number 14) SY-REPID .Current ABAP program 15) SY-TCODE .Central Database 2) SY-HOST . so that a new list is populated based on user-selection.14. 34) What are the commands used for interactive reports? Ans Top-of-Page during line-selection 35) What are the system fields u have worked with? Explain? Ans I had worked with the following (30) system fields: 1) SY-DBSYS .Horizontal Line 17) SY-VLINE .Server Date 11) SY-TIMLO .SAP Release 5) SY-SYSID .Vertical Line .Local Date 10) SY-DATUM . AT User Command 33) What are Interactive Reports? Ans An output list which displays just the basic details & allow user to interact.Logon User Name 9) SY-DATLO .Server Time 13) SY-DYNNR .Server 3) SY-OPSYS .User Logon Language 7) SY-MANDT .Operating System 4) SY-SAPRL . the user can actively control data retrieval and display during the session.Transaction Code 16) SY-ULINE .

Number of current loop Pass 19) SY-TABIX .Current line of internal table 20) SY-DBCNT .Function Code 23) SY-LINCT . 39) What is an RFC? Ans Remote Function Call 40) If u are using RFC and passing values to a remote system how does it work? Ans 41) What are the events in Screen Programming? Ans There are two events in Screen Programming: .18) SY-INDEX .Current Line 25) SY-PAGNO .Message Class 28) SY-MSGNO . Unique Key – It can be NULL.Return Code 22) SY-UCOMM .Message Type 30) SY-SPONO .Spool number during printing 36) What is the difference between Primary key and Unique Key? Ans Primary Key – It can accepts 0 value and cannot be NULL.Number of table entries processed 21) SY-SUBRC .Current Page Number 26) SY-LSIND .Index of List 27) SY-MSGID . 37) What is the transaction code for Table maintenance? Ans SM30 38) If u are using Logical Databases how will u modify the selection-screen elements? Ans Select-options : dname for deptt-dname.Message Number 29) SY-MSGTY .Page Length of list 24) SY-LINNO .

At the end of processing. the system carries on processing the current screen. At the end of processing. Ans There are three events of Interactive Reports: I.are triggered when the user requests field help (F1). the system carries on processing the current screen. At user-command 47) What is an RDBMS? . 46) What are the events used in Interactive Reports. PAI (Process After Input) – When the user interacts with the screen. Session Method: 1) It is slower than transaction method. 43) Where do u code the HIDE statement? Ans In a LOOP statement 44) Types of BDC’s? Ans There are two types of BDC’s: 1) Transaction Method 2) Session Method 45) Advantages & Disadvantages of different types of BDC’s? Ans Transaction Method: 1) It is faster than session method. At PF(nn) II. it does not start from starting. POH (Process On Help) . it starts from starting. 2) While executing. 42) What is the significance of HIDE? Ans Its stores the click value and display the related record in the secondary list. 2. the PAI event is processed. PBO (Process Before Output) – Before the screen is displayed. POV (Process On Value) . You can program the appropriate coding in the corresponding event blocks.1. 2) While executing.are triggered when the user requests possible values help (F4). 3. You can program the appropriate coding in the corresponding event blocks. the PBO event is processed. At line-selection III. 4.

It helps to create relationship between two or more table. HIDE : ITAB-DEPTNO. WRITE : / 10 ITAB-DEPTNO. ENDSELECT.Ans RDBMS – Relational Database Management System. LOOP AT ITAB. APPEND ITAB. END-OF-SELECTION 50) What are joins and different types joins? Ans There are four types of Joins: 1) Self Join 2) Inner Join 3) Outer Join 4) Equi Join 51) Which is the default join? Ans 52) How do u display a data in a Detail List? Ans By using two statements: 1) Top-of-page during line-selection . 48) What standards u use to follow while coding ABAP programs? Ans 49) What will you code in START-OF-SELECTION & END-OF-SELECTON & why? Ans START-OF-SELECTION SELECT * FROM DEPTT INTO CORRESPONDING FIELDS OF ITAB WHERE DEPTNO IN DEPTNO. ENDLOOP.

We can access the individual records in an extract dataset using a LOOP. The database LUW is either fully executed by the database system or not at all.2) At line-selection 53) What are the types of windows in SAP Script? Ans There are five Standard Layouts in SAP Script: 1) Page 2) Window 3) Page Window 4) Paragraph Format 5) Character Format 54) What are the function modules used in a SAP Script driver program? Ans There are three functions used in SAP Script: 1) OPEN_FORM 2) WRITE_FORM 3) CLOSE_FORM 55) What are Extracts? Ans Extracts are dynamic sequential datasets in which different lines can have different structures. 56) How would u go about improving the performance of a Program. the database will be in a consistent state. which selects data from MSEG & MKPF? Ans 57) How does System work in case of an Interactive Report? Ans 58) What is LUW? Ans Logical Unit of Work 59) Different types of LUWs. A database LUW is an inseparable sequence of database operations that ends with a database commit. Once a database LUW has been successfully executed.A database LUW is the mechanism used by the database to ensure that its data is always consistent. If an error occurs within a database . What r they? Ans Two types of LUW are: 1) DB LUW .

SY-LINCT. an SAP LUW can span several dialog steps.. 2) SAP LUW . SY-STARO Lists: SY-COLNO. SY-LISTI. SY-LILLI. SY-LINNO. SY-LISEL. SY-STACO.A logical unit consisting of dialog steps. all of the database changes since the beginning of the database LUW are reversed. SY-LSTAT. Unlike a database LUW. 60) What is First event triggered in program? Ans 61) What are various Joins? What is right outer join? Ans 62) How do u find out whether a file exits on the presentation server? Ans eps_get_directory_listing for directory 63) Systems fields used for Interactive Lists AND Lists Ans Interactive System Fields: SY-LSIND. SY-CPAGE. SY-TVAR0…. This leaves the database in the state it had before the transaction started.LUW. SY-WTITL 64) Logo in SAP Script? Ans RSTXLDMC OR Steps for making and inserting Logo in SAP Script: First Procedure: 1) Draw the picture 2) Save it 3) /nSE78 4) Write name & Choose Color 5) Click on Import 6) Browse picture 7) Enter .SY-TVAR9. and be executed using a series of different work processes. SY-PAGNO. SY-LINSZ. whose changes are written to the database in a single database LUW is called an SAP LUW.

LEAVE TO SCREEN 2000.how do u go about it? Ans Steps for writing BDC 1) /nSE38 2) Declare Tables. CALL SCREEN 1000 STARTING AT 10 10 ENDING AT 20 20. records will be displayed. Suppressing screens is useful when we are branching to list-mode from a transaction dialog step. . LEAVE SCREEN. LEAVE SCREEN statement ends the current screen and calls the subsequent screen. 68) How to write a BDC .: suppress zero display .g. This command allows us to perform screen processing “in the background”. you can use the CALL SCREEN statement with the STARTING AT and ENDING AT CALL SCREEN 1000.How to do find it? Ans Suppressing of entire screens is possible with this command. 66) If internal table used in for all entries in empty then what happens Ans No. If you want to prevent the called screen from covering the current screen completely.Second Procedure 1) /nSE71 2) Insert 3) Graphics 4) Click on stored on document server 5) Execute 6) Choose name of BMAP 65) What are the difference between call screen and leave screen? Ans Call Screen: Calling a single screen is a special case of embedding a screen sequence. 67) If I forgot some command in SAP Script e. Data (for ITAB) and Data (for BDCITAB) 3) Call function ‘Upload’.

4) Write code for the First Screen. Change Button. 6) Save. Filename. Utilities (Create Entries). 5) Call transaction ‘SE11’ using BDCITAB mode ‘A’. Second Screen. Check Errors. Activate and Execute. Third Screen and Save. 69) What is Performance tuning? Ans 70) Define Documentation. Ans 71) Brief about Testing of programs. Ans 72) How do u move on to the next screen in interactive reporting? Ans Write code of the following: 1) Top-of-Page during line-selection 2) At line-selection 73) Create any functions? How to go about it? Ans Steps for creating the Functions: First Procedure: 1) /nSE37 2) Goto 3) Function Group (FG) 4) Create Group 5) Name of FG (ZREKHA_FG) 6) Short Text 7) Save Local Object Second Procedure . Radio Button.

74) Advanced topics? Ans 75) Function modules used in F4 help. Ans Sales & Distribution Module 1) Sales Document: Item Data – VBAP 2) Sales Document: Partner – VBPA 3) Sales Document: Header Data – VBAK 4) Sales Document Flow – VBFA 5) Sales Document: Delivery Item Data .LIPS .1) Environment 2) Inactive Object 3) Function Group (ZREKHA_FG) 4) Activate 5) Back Third Procedure 1) Name of Function Module (ZREKHA_FM) 2) Create 3) Write FG Name (ZREKHA_FG) 4) Short Text 5) Save Fourth Step: Call function ‘ZREKHA_FM’. Ans There are two types of function modules used in F4 help: 1) F4IF_FIELD_VALUE_REQUEST 2) F4IF_INT_TABLE_VALUE_REQUEST 76) Work most on which module: Name a few tables.

Ans 81) How do u suppress fields on selection screen generated by LDB? Ans 82) Can there be more than 1 main window in SAP Script? Ans No. it asks for the parameter Window that will create the problem.LIPS 6) Customer Master – KNA1 7) Material Data – MARA Conditions (Transaction Data) . WRITE_FORM– Exporting . there cannot be more than 1 main window in SAP Script because in WRITE_FORM.KONV 78) From a table how do u find whether a material is used in another material BOM? Ans 79) What is read line? Ans READ LINE and READ CURRENT LINE – These statements are used to read data from the lines of existing list levels. 80) How u used logical database? How is data transferred to program? Corresponding statement in LDB.KONV 77) System Table used Ans 1) Sales Document: Item Data – VBAP 2) Sales Document: Partner – VBPA 3) Sales Document: Header Data – VBAK 4) Sales Document Flow – VBFA 5) Sales Document: Delivery Item Data . These statements are closely connected to the HIDE technique.6) Customer Master – KNA1 7) Material Data – MARA Conditions (Transaction Data) .

GET CURSOR FIELD [OFFSET ] [LINE ] [VALUE ] LENGTH ]. SAP Memory is a memory area to which all sessions within a SAPgui have access. 86) What are the events? Ans 87) What is get cursor field? Ans GET CURSOR statement transfers the name of the screen element on which the cursor is positioned during a user action into the variable . It is also possible to pass data between sessions using SAP Memory. allowing you to pass data between programs that call one another. AT SELECTION-SCREEN OUTPUT . Different Properties of Select-options: 1) Visible Length 2) Matchcode Object 3) Memory ID 4) Lowercase . Ans 84) What are the differences between SAP memory and ABAP memory? Ans ABAP Memory is a memory area in the internal session (roll area) of an ABAP program. You can use SAP memory either to pass data from one program to another within a session (as with ABAP memory) or to pass data from one session to another. 88) What is the inside concept in select-options? Ans Select-options specify are displayed on the selection screen for the user to enter values.This event block allows you to modify the selection screen directly before it is displayed. Data within this area is retained within a sequence of program calls.Element Window 83) Global and local data in function modules. 85) What are differences between At selection-screen and At selection-screen output? Ans AT SELECTION-SCREEN event is triggered in the PAI of the selection screen once the ABAP runtime environment has passed all of the input data from the selection screen to the ABAP program.

FREE works on the table body. Selection-screen begin of block honey1 with frame title text-102. 94) How can u write programmatically value help to a field without using search help and . use the statement 91) What are elements? Ans 92) Can we have more than one selection-screen and how? Ans Yes. Refresh . the system has to allocate new memory space to the lines. To release the memory space. not on the table work area. 93) How to declare select-option as a parameter? Ans SELECT-OPTIONS: specify are displayed on the selection screen for the user to enter values. It still occupies the amount of memory required for its header (currently 256 bytes).You can use FREE to initialize an internal table and release its memory space without first using the REFRESH or CLEAR statement. Parameters: dname like dept-dname.5) Obligatory 6) No Display 7) Modify ID 89) What is the difference between occurs 1 and occurs 2? Ans 90) What is the difference between Free and Refresh? Ans Free . we can have more than one selection screen. Select-options : dname for zrekha_deptt-dname. the memory used by the table before you initialized it remains allocated. When you refill the table. After a FREE statement.This always applies to the body of the table. Selection-screen end of block honey. As with the CLEAR statement. Like REFRESH. Select-options: dname for dept-dname. you can address the internal table again. Selection-screen begin of block honey with frame title text-101. Selection-screen end of block honey1. Select-options : deptno for zrekha_deptt-deptno.

view definition in the ABAP dictionary. If the data in the table should only be maintained with programs or with the table view maintenance transaction (Transaction SM30). 99) What are client-dependant tables and independent tables? Ans 100) How to distinguish client-dependant tables from independent tables? Ans 101) What is the use of Table maintenance allowed? Ans Mark the Table maintenance allowed flag if users with the corresponding authorization may change the data in the table using the Data Browser (Transaction SE16).Workbench Organizer SE10 . The name and sequence of fields in the table work area ZREKHA_EMP corresponds exactly to the sequence of fields in the database table.Correction & Transport Organizer SE09 . ZREKHA_EMP must be declared in the ABAP dictionary. you should not set the flag. 102) How to define Selection Screen? Ans Parameters.Customizing Organizer 96) How to set destination? Ans 97) What are the function module types? Ans 98) What are tables? Ans Tables : ZREKHA_EMP. views or structure ZREKHA_EMP. Select-options & Selection-Screen . The table work area has the same name as the object for which we created it. SE09 and SE10? Ans SE01 .match codes? Ans By using two types of function modules to be called in SAP Script: 1) HELP_OBJECT_SHOW_FOR_FIELD 2) HELP_OBJECT_SHOW 95) What are the differences between SE01. It creates a structure – the table work area in a program for the database tables.

These fields are called foreign key fields. a reference. This is no longer possible. DATA : ITAB LIKE ZREKHA_EMP OCCURS 0 WITH HEADER LINE. Code with Header without Structure TABLES : ZREKHA_EMP. and the referenced table is called the check table. Check table will be at field level checking. primarily because unexpected results could occur if the value table had more than one key field. 104) What is the difference between tables and structures? Ans Tables: 1) Data is permanently stored in tables in the database. Value table will be at domain level checking ex: scarr table is check table for carrid. A dependent table is called a foreign key table. it was possible to use the value table of a domain to provide input help.0. The key fields of the check table can serve as input help for the check field. as is normal with check tables. you can reconstruct it by creating a search help for the data elements that use the domain in question. In cases where this kind of value help was appropriate. SELECT * FROM ZREKHA_EMP INTO CORRESPONDING FIELDS OF ITAB. APPEND ITAB. ENDSELECT. Each key field of the check table corresponds to a field in the foreign key table. 2) Database tables are generated from them. a string or contain any of these object”. 105) How to declare one internal table without header line without using structures? Ans No. It was not possible to restrict the other key fields. we cannot declare internal table without header line and without structure because it gives error “ITAB cannot be a table. and using the value table as the selection method. which meant that the environment of the field was not considered. Structure: 1) It contains data temporarily during program run-time.103) What are the check tables and value tables? Ans Check Table: The ABAP Dictionary allows you to define relationships between tables using foreign keys . Value Table: Prior to Release 4. . One of the foreign key fields is designated as the check field for checking the validity of values. 2) No Database tables are generated from it.

LOOP AT ITAB. EMPNAME LIKE XREKHA_EMP-EMPNAME. To avoid the possibility of overbooking. This ensures that one user can find out the number of free places. APPEND ITAB. SELECT * FROM ZREKHA_EMP INTO CORRESPONDING FIELDS OF ITAB. locks are set and released by calling function modules (see Function Modules for Lock Requests). DATA : BEGIN OF ITAB OCCURS 0. the database entry corresponding to the flight must be locked against access from other transactions. ENDSELECT. WRITE : / ITAB-EMPNO.ITAB-DEPTNO. and change the number of free places without the data being changed in the meantime by another transaction. When interactive transactions are programmed. END OF ITAB. ITAB-EMPNAME. Two types of Lock: Shared and Exclusive 107) What are datasets? What are the different syntaxes? . 106) What are lock objects? Ans Reason for Setting Lock: Suppose a travel agent want to book a flight.ITAB-DEPTNO. WRITE : / ITAB-EMPNO. EMPNO LIKE XREKHA_EMP-EMPNO. The customer wants to fly to a particular city with a certain airline on a certain day. ENDLOOP. Code without Header with Structure TABLES : ZREKHA_EMP. make the booking. These function modules are automatically generated from the definition of lock objects in the ABAP Dictionary. ENDLOOP. DEPTNO LIKE XREKHA_EMP-DEPTNO. ITAB-EMPNAME. The booking must only be possible if there are still free places on the flight. LOOP AT ITAB. The R/3 System synchronizes simultaneous access of several users to the same data records with a lock mechanism.

we define the margins for left. 4. At the end of processing. & Footer. width. 3. screen: 1. the PBO event is processed. You can program the appropriate coding in the corresponding event blocks. 109) What is the difference between OPEN_FORM and CLOSE_FORM? Ans OPEN_FORM – This module opens layout set printing. Possible closing operations on the form last opened are carried out. nothing is printed or displayed on the screen. At the end of processing. The specified element of the layout set window entered is output. Form printing must be completed by this function module. PBO (Process Before Output) – Before the screen is displayed.are triggered when the user requests field help (F1). Logo. Main. 111) What are control events in a loop? . The element must be defined in the layout set.are triggered when the user requests possible values help (F4). POV (Process On Value) . OPEN DATASET [DATASET NAME] FOR [OUTPUT / INPUT / APPENDING] IN [BINARY / TEXT] MODE AT POSITION [POSITION] MESSAGE [FIELD] READ DATASET [DATASET NAME] INTO [FIELD] DELETE DATASET [DATASET NAME] CLOSE DATASET [DATASET NAME] TRANSFER [FIELD] TO [DATASET NAME] 108) What are the events we use in dialog programming and explain them? Ans There are two events in Dialog Programming i. PAI (Process After Input) – When the user interacts with the screen. WRITE_FORM – Output text element in form window. the PAI event is processed. 110) What are the page windows? How many main windows will be there in a page window? Ans Page Window: In this window. They are used for file handling in SAP. the system carries on processing the current screen. This function must be called up before we can work with other layout set function like WRITE_FORM. Form printing started with OPEN_FORM is completed. You can program the appropriate coding in the corresponding event blocks. CLOSE_FORM – End layout set printing. the system carries on processing the current screen. 2. If this is not carried out.Ans The sequential files (ON APPLICATION SERVER) are called datasets. POH (Process On Help) .e. upper and height for the layout of Header.

You can react to the following control level changes: <level> FIRST LAST NEW <f> END Of <f> 112) Ans 113) Ans 114) Ans 115) Ans What are System Variable? System variables have been predefined by SAP. This means that we can divide sequences of entries into groups based on the contents of certain fields.Ans Control level processing is allowed within a LOOP over an internal table. to pass on certain pieces of information to a function module. we can use the following system variables: System Variable SY_MODE SY_TEST SY_ROW SY_VALUE or X 116) Ans Use In function modules In function modules In function modules Generally Meaning Current mode of the PI sheet Status of the PI sheet (test or active) Current table line Refers to the immediately preceding input value Meaning First line of the internal table Last line of the internal table Beginning of a group of lines with the same contents in the field <f> and in the fields left of <f> End of a group of lines with the same contents in the field <f> and in the fields left of <f> How to debugg a script? Go to SE71. How many maximum sessions can be open in SAPgui? There are maximum 6 sessions open in SAPgui. go to utilities select debugger mode on. <statement block> ENDAT. give layout set name. How the function called by the function module behaves depends on the type of information passed on. for example. SAP Scripts and ABAP programs are client dependent or not? Why? Is it compulsory to use all the events in Reports? . We can use these variables in formulas or. At present. AT <level>.

If you use SUM in an AT . you cannot use the SUM statement.ENDAT block.ENDAT block (single entry processing). Neither can you use it if you are using a field symbol instead of a work area in the LOOP statement. Use the BDC_INSERT to add a transaction to a batch input session. it can be processed. BODY. which method you use in BDC? Ans Call transaction is faster then session method. If you use the SUM statement outside an AT . 120) What are different modes of Call Transaction method and explain them? Ans There are three modes of Call Transaction method: 1) A – Display All Screens 2) E – Display Errors 3) N – Background Processing ——————————————————————————————————————– 121) What is the typical structure of an ABAP program? Ans HEADER. If the table contains a nested table. the entire batch input process takes place inline in our program. We must provide a BDCDATA structure that contains all the data required to process the transaction completely. Once a session is closed. We specify the transaction that is to be started in the call to BDC_INSERT. Call Transaction In this method. we use CALL TRANSACTION USING to run an SAP transaction. the system calculates totals for the numeric fields of all lines of the internal table in each loop pass and writes them to the corresponding fields of the work area. It therefore only makes sense to use the SUM statement in AT…ENDAT blocks. 119) If you have 10000 records in your file. But usually we use session method in real time…because we can transfer large amount of data from internal table to database and if any errors in a session. . the system calculates totals for the numeric fields of all lines in the current line group and writes them to the corresponding fields in the work area. External data does not have to be deposited in a session for later processing. Use the BDC_CLOSE_GROUP to close a session after we have inserted all of our batch input data into it. then we can insert the batch input data into it with BDC_INSERT. then process will not complete until session get correct. FOOTER. Once we have created a session. Collect: 118) What are session method and call transaction method and explain about them? Ans Session method – Use the BDC_OPEN_GROUP to create a session.117) What is the difference between sum and collect? Ans Sum: You can only use this statement within a LOOP. Instead.

122) What are field symbols and field groups? Have you used “component idx of structure” clause with field groups? Ans Field Symbols – They are placeholder or symbolic names for the other fields. Field-groups 123) 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”. data for screen fields. An extract dataset consists of a sequence of records. STEP 3: DEPENDING UPON THE BDC TYPE i) Call transaction (Write the program explicitly) ii) Create sessions (sessions are created and processed. All records with the same structure form a record type. It can point to any data objects. If success. How to do it? . Create session – BDC_OPEN_GROUP Insert batch input – BDC_INSERT Close session – BDC_CLOSE_GROUP 125) What is the alternative to batch input session? Ans Call Transaction Method & Call Dialog 126) A situation: An ABAP program creates a batch input session. We need to submit the program and the batch session in background. 124) What is a batch input session? Ans BATCH INPUT SESSION is an intermediate step between internal table and database table. Field-symbols Field Groups – Field groups does not reserve storage space but contains pointers to existing fields. to which screen it is passed. STEP 2: TRANSFERING THE FLAT FILE INTO SAP SYSTEM CALLED “SAP DATA TRANSFER”. using the FIELD-GROUPS statement. and how next screen is processed. data will transfer).e. You must define each record type of an extract dataset as a field group. They do not physically reserve space for a field. but point to its contents. Data along with the action is stored in session i. program name behind it. These records may have different structures.

3) It can hold Application data. 2) If session processing fails. same number of fields. 129) Is Session Method. different number of fields. Transparent Table – 1) One to One relationship. 128) What are the problems in processing batch input sessions? How is batch input process different from processing on line? Ans Two Problems: 1) If the user forgets to opt for keep session then the session will be automatically removed from the session queue (log remains). 2) Table in the Dictionary has the same name. 2) Table in the Dictionary has the different name.Ans Go to SM36 and create background job by giving job name. data will not be transferred to SAP database table. and the fields have the same name as in the R3 Table definition. if session is processed we may delete it manually. Asynchronous or Synchronous? Ans Synchronous 130) What are the different types of data dictionary objects? Ans Different types of data dictionary objects: 1) Tables 2) Views 3) Data elements . job class and job steps (JOB SCHEDULING) 127) What is the difference between a pool table and a transparent table and how they are stored at the database level? Ans Pool Table 1) Many to One Relationship. 3) It can hold only pooled tables. However. and the fields have the different name as in the R3 Table definition.

exactly with the same data and fields. how will u link FORM with the Event Driven? Ans In PAI.ITAB LIKE SPFLI. 134) In SAP Scripts. Step 3: creating tables (SE11). Transparent tables . Both Open SQL and Native SQL can be used. define function code and write code for the same. 133) Can a transparent table exist in data dictionary but not in the database physically? Ans No. Transparent table do exist with the same structure both in the dictionary as well as in the database. They are not manageable directly using database system tools. e. One cannot use Native SQL on these tables (only Open SQL). 4.These are logical tables that are arranged as records of transparent tables. 137) What does an extract statement do in the ABAP program? . Step 2: creating data elements (properties and type for a table field). field length. 2. Pool tables 3. Internal tables 132) What is the step-by-step process to create a table in data dictionary? Ans Steps to create a table: Step 1: creating domains (data type.g. Range). 135) Can you create a table with fields not referring to data elements? Ans YES. Here we are refering to a data object (SPFLI) not data element. 136) What is the advantage of structures? How do you use them in the ABAP programs? Ans GLOBAL EXISTANCE (these could be used by any other program without creating it again).:.4) Structure 5) Domains 6) Search Helps 7) Local Objects Matchcode 131) How many types of tables exist and what are they in data dictionary? Ans 4 Types of Tables: 1. Cluster tables .Exists with the same structure both in dictionary as well as in database exactly with the same data and fields.

Buffering is partly stored in the working memory and shared memory. you can fill the extract dataset using the following statements: EXTRACT . They are not checked and converted. It can simplify and speed up database access. Data in buffer is not always up-to-date. By processing EXTRACT statements several times using different field groups. Insert. the system creates the extract dataset and adds the first extract record to it. .Ans Once you have declared the possible record types as field groups and defined their structure. ENDEXEC. 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. the COLLECT statement does not append a new line. the record is filled with the current values of the corresponding fields. you fill the extract dataset with records of different length and structure. you must precede it with the EXEC SQL statement. When the first EXTRACT statement occurs in a program. It consists of DML command (Select. When you extract the data. Append – Duplicate entries occurs. Native SQL – They are loosely integrated into ABAP. 138) What is a collect statement? How is it different from append? Ans Collect : If an entry with the same key already exists. If you try to modify one of the field groups afterwards and use it in another EXTRACT statement. As soon as the system has processed the first EXTRACT statement for a field group . extract datasets provide the advantage that you need not determine the structure at the beginning of the program. and follow it with the ENDEXEC statement as follows: EXEC SQL [PERFORMING ]. It allows access to all functions containing programming interface. Update. They are sent directly to the database system. Since you can modify field groups dynamically up to their first usage in an EXTRACT statement.g. 139) What is OPEN SQL vs NATIVE SQL? Ans Open SQL – These statements are a subset of standard SQL. In each subsequent EXTRACT statement. 140) What does an EXEC SQL stmt do in ABAP? What is the disadvantage of using it? Ans To use a Native SQL statement. Programs that use Native SQL are specific to the database system for which they were written. to create or change table definition in the ABAP. For e. but adds the contents of the numeric fields in the work area to the contents of the numeric fields in the existing entry. the new extract record is added to the dataset EXTRACT HEADER. Delete). a runtime error occurs.

You can also navigate from the ABAP Editor to the other tools in the ABAP Workbench. 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. You need to know whether table and field names are case-sensitive in your chosen database. AT FIRST 143) What is an interactive report? What is the obvious difference 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. At selection-screen 3. End-of-selection 5. Start-of-selection 4. Get 11. Top-of-page 6. At line-selection 8. At New 12. At PF 10. 142) What are the events in ABAP language? Ans The events are as follows: 1. At user-command 9.There is no period after Native SQL statements. Initialization 2. Furthermore. Difference: a) The list produced by classical report doesn’t allow user to interact with the system where as the list produced by interactive report allows the user to interact with the system. At LAST 13. . AT END 14. 141) What is the meaning of ABAP editor integrated with ABAP data dictionary? Ans ABAP Editor: Tool in the ABAP Workbench in which you enter the source code of ABAP programs and check their syntax. End-of-page 7.

2. tables.In program.YYYY. Ans 1.SE37 . Calling program . and exceptions.Creating function group. click pattern and write function name. exporting. tables.BDC Module pool 2) Dynpro . drilling is not possible where as in interactive.BDC Screen Start 4) Fname .provide export.SE38 . function module by assigning attributes.BDC Screen Number 3) Dynbegin . Called program . executed user looses control where as Interactive. C) In classical report.Description 1) Program . COMMUNICATION_FAILURE & SYSTEM_FAILURE 147) Ans 148) How are the date and time field values stored in SAP? Ans DD. exception values.No Fields . user has control. 145) How do you write a function module in SAP? Describe.MM. 146) What are the exceptions in function module? Ans Exceptions: Our function module needs an exception that it can trigger if there are no entries in table SPFLI that meet the selection criterion.Field Name 5) Fval . importing. drilling is possible. HH:MM:SS 149) What are the fields in a BDC_Tab and BDCDATA Table? Ans Fields of BDC_Tab & BDCDATA Table: Sr.BDC field value 150) Name a few data dictionary objects? . The exception NOT_FOUND serves this function. 144) What is a drill down report? Ans Its an Interactive report where in the user can get more relevant data by selecting explicitly.B) Once a classical report. import.

modification and updation of records by any user. 154) What transactions do you use for data analysis? Ans 155) What are the elements of selection screen? Ans There are 5 elements of selection screen: Selection-screen include blocks Selection-screen include parameters Selection-screen include select-options Selection-screen include comment Selection-screen include push-button . a physical table definition is created in the database for the table definition stored in the ABAP dictionary. It is available for any insertion. 152) Ans 153) What are matchcodes? Describe? Ans It is similar to table index that gives list of possible values for either primary keys or non-primary keys. The table definition is translated from the ABAP dictionary of the particular database.Ans Different types of data dictionary objects: 1) Tables 2) Views 3) Data elements 4) Structure 5) Matchcode 6) Domains 7) Search Helps Local Objects 151) What happens when a table is activated in DD? Ans When the table is activated.

SELECT-OPTIONS: DNO FOR DEPT-DNO NO-INTERVAL. It is often necessary to directly access individual records in a data structure.Text elements . 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 equal BT Between LE Less than or equal NB Not between LT Less than CP Contains pattern GE Greater than or equal NP No pattern. LOW and HIGH.Selection texts . Select-options provide ranges where as parameters do not. The type of LOW and HIGH is the same as that of .Parameters name(30). Select-options: We can enter low and high value i. Eg:. This is done using unique keys.156) What are ranges? What are number ranges? Ans Main function of ranges to pass data to the actual selection tables without displaying the selection screen. For each PARAMETERS or SELECT-OPTIONS statement you should define text elements by choosing Goto . DifferencesPARAMETERS allow users to enter a single value into an internal field within a report. OPTION. SELECT-OPTIONS allows users to fill an internal table with a range of values. SELECT-OPTIONS: DNO FOR DEPT-DNO. order numbers or material master numbers.g. SELECT-OPTIONS FOR . 157) What are select options and what is the diff from parameters? Ans Parameters : We can enter a single value.e. Min. PARAMETERS: PARAM(10). Max values provided in selection screens. Number ranges are used to assign numbers to individual database records for a commercial object. to complete the key. SELECT-OPTIONS declares an internal table. For each SELECT-OPTIONS. the system creates a selection table. A selection table is an internal table with fields SIGN.Change. range has to be specify. By using NO-INTERVAL user can process only single fields. . which is automatically filled with values or ranges of values entered by the end user. Such numbers are e.

We recommend that you follow the transport strategy while you plan and set up your system landscape. Initial values in a selection screen: INITIALIZATION. OPTION NB. To display initial values in the selection screen: 1) Use INITIALIZATION EVENT 2) Use DEFAULT VALUE option of PARAMETERS Statement 3) Use SPA/GPA Parameters (PIDs). You can change the comments on the left side of the input fields by using text elements as described in Selection Texts. Select-options for spfli-carrid. The CTS provides a range of functions that help you to choose a transport strategy optimally suited to your requirements.Parameters default ‘xxx’. and then transport the changes between the SAP Systems and clients in your .by using match code objects. APPEND DNO. 159) What are selection texts? Ans 160) What is CTS and what do you know about it? Ans CTS stands for Correction and Transport System. 158) How do you validate the selection criteria of a report? And how do you display initial values in a selection screen? Ans The selection criteria is validated in the processing block of the AT SELECTION SCREEN event for the input values on the screen and respective messages can be sent.When the user executes the ABAP/4 program. Validate: . DNO-HIGH = 30 SIGN I. Correction and Transport System (CTS) is a tool that helps you to organize development projects in the ABAP Workbench and in Customizing. Display :. an input field for ‘name’ will appear on the selection screen. DNO-LOW = 10.

SY-DBCNT. 163) Are programs client dependent? Ans Yes. with separate set of Master data and its own set of Tables.system landscape. SY-LILLI. which exists only during the runtime of the program. They are used to perform table calculations on subsets of database tables and for re-organizing the contents of database tables according to users need.this type of objects are called Client independent objects. organizational and technical terms. SY-LILLI is absolute number of lines from which the event was triggered. . 166) How do you take care of performance issues in your ABAP programs? Ans Performance of ABAP programs can be improved by minimizing the amount of data to be transferred. SY-TABIX…. 2) Using SY-DBCNT.Use views defined in the ABAP/4 DDIC (also has the advantage of better reusability). the client is a self-contained unit in the R3 system. The data set must be transferred through the network to the applications. Read and follow this documentation when planning your development project. SY-UCOMM. SY-UZEIT. 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. group of users can access these programs with a client number. SY-DATUM. 165) 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 1) It is a standard data type object. For practical information on working with the Correction and Transport System.. Some measures that can be taken are: . 161) When a program is created and need to be transported to prodn does selection texts always go with it? If not how do you make sure? Can you change the CTS entries? How do you do it? Ans 162) What is the client concept in SAP? What is the meaning of client independent? Ans In commercial. When a change is made in one client all other clients are affected in the system . so reducing the amount of time and also reduces the network traffic. 3) The number of memory allocations the system need to allocate for the next record population. see Correction and Transport Organizer and Transport Management System. 164) Name a few system global variables you can use in ABAP programs? Ans SY-SUBRC.

They are used for file handling in SAP. INTERFACE: Flat file to SAP system. 167) What are datasets? Ans The sequential files (ON APPLICATION SERVER) are called datasets.Range tables should be avoided (IN operator) .Avoid nested SELECTS.. 168) How to find the return code of an stmt in ABAP programs? Ans Open SQL has 2 system fields with return codes: 1) SY-SUBRC 2) SY-DBCNT Using function modules 169) What are Conversion & Interface programs in SAP? Ans CONVERSION: Legacy system to flat file. . 170) Have you used SAP supplied programs to load master data? Ans SAP supplied BDC programs RM06BBI0 (Purchase Requisitions) RMDATIND (Material Master) RFBIKR00 (Vendor Masters) RFBIDE00 (Customer Master) RVINVB00 (Sales Order) 171) What are the techniques involved in using SAP supplied programs? Do you prefer to write your own programs to load master data? Why? Ans Þ Identify relevant fields Þ Maintain transfer structure ( Predefined – first one is always session record) .Use field list (SELECT clause) rather than SELECT *.

MATNR and Fields in Item . Because Logical database knows how the different tables relate to each other. NO DATA Þ Fields in header structure – consists of transaction code also – STYPE.The programmer need not worry about the primary key for each table. 1) An easy-to-use standard user interface. correct. 2) Check functions. Item ( STYPE – record type ) Þ Fields in session structure – STYPE. which check that user input is complete. all upper level tables should be read so performance is slower. 173) What specific statements do you using when writing a drill down report? Ans AT LINE-SELECTION AT USER-COMMAND AT PF. A logical database provides read-only access to a group of related tables to an ABAP/4 program. 3) Meaningful data selection.Þ Session record structure. and can issue the SELECT command with proper where clause to retrieve the data. TCODE. 3) Fast in case of lesser no. 2) There is no ENDGET command. Advantages: . Header Data. BMM00. USERNAME . meaning for data selection Disadvantages: 1) If you do not specify a logical database in the program attributes. MANDT. so the code block associated with an event ends with the next event statement (such as another GET or an END-OF-SELECTION). 5) Good read access performance while retaining the hierarchical data view determined by the application logic. 174) What are different tools to report data in SAP? What all have you used? . the GET events never occur. GROUP .ITEMS … Þ Maintain transfer file – sample data set creation 172) What are logical databases? What are the advantages/disadvantages of logical databases? Ans To read data from a database tables we use logical database. 6) No need of programming for retrieval. and plausible. 4) Central authorization checks for database accesses. of tables But if the table is in the lowest level of hierarchy.

it is not must to use LDB. User Groups – A user group is a collection of users that work with about the same data and carry out similar tasks. 177) Is a logical database a requirement/must to write an ABAP query? Ans No. This ensures that the data is presented to the ABAP Query user in a meaningful way to accomplish the task. Check number of records already updated and delete them from input file and run BDC again. The members of a user group can use all programs (queries) created by any user of the group.Ans 175) What are the advantages and disadvantages of ABAP query tool? Ans Advantages: No programming knowledge is required. All users must be members of at least one user group. functional areas and user groups. All members of one user group can access the same data as well as the same program (queries) to create lists. we have other options: 1) Table join by Basis Table 2) Direct Read of table 3) Data Retrieval by Program 178) What is the structure of a BDC sessions. Disadvantages: Depending on the complexity of the database tables. ABAP Query: It consists of three components – queries.By creating functional areas. we can initially select this data. Apart from it. The functional areas provide the user with an initial set of data in accordance with the task to be accomplished. This ensures that all members of a user group use the same evaluation programs. 181) What do you do with errors in BDC batch sessions? . and that only the data that the user may use is presented. it may not be easy for the user to select the necessary data correctly. Ans BDCDATA 179) What are Change header and detail tables? Have you used them? Ans 180) 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). Changes to such a program are at once visible to all users. 176) What are the functional areas? User groups? How does ABAP query work in relation to these? Ans Functional Areas .

182) How do you set up background jobs in SAP? What are the steps? What are the events driven batch jobs? Ans Go to SM36 and create background job by giving job name. job class and job steps (JOB SCHEDULING) 183) Is it possible to run host command from SAP environment? How do you run? Ans 184) What kind of financial periods exist in SAP? What is the relevant table for that? Ans 185) Does SAP handle multiple currencies? Multiple languages? Ans Yes. 189) What are the ABAP commands that link to a layout set? Ans Control Commands. appearance and structure of document. 186) What is a currency factoring technique? Ans 187) How do you document ABAP programs? Do you use program documentation menu option? Ans 188) What is SAP Script and layout set? Ans The tool. we analyze the session to determine which screen and value produced the error. To correct incorrect session. Layout set is a design. which is used to create layout set is called SAP Script.Ans We look into the list of incorrect session and process it again. System Commands 190) What is output determination? Ans 191) What is the field length of Packed Number? What is the default decimal of packed number? . For small errors in data we correct them interactively otherwise modify batch input program that has generated the session or many times even the data file.

Drop down list vii. Source 6. 194) What are different types of attributes of Function Module? Ans There are 6 attributes of FM: 1. Radio button v. Checkbox iv. Input / output fields ii. Import 2.Ans 192) What are the different types of data types? Ans There are three types of data types: Data Types Elementary Complex References Fixed Variable Structure Table Data Object Variable 193) What is the syntax of Packed Number? Ans Data : NUM type P decimals 2. Export 3. Table 4. Exception 195) List of Screen elements. Subscreen . Ans There are 13 screen elements: i. Changing 5. Push Button vi. Text fields iii.

Tabstrip control x. Parameters 2. Table control ix. 197) How to define Selection Screen? Ans There are 3 ways of defining selection screen: 1. Select-options 3. Screen painter attributes contain Tab Title. Custom control xi. Status icons xiii.viii. Box xii. OK_CODE fields 196) How many default Tab Strips are there? How to insert more Tabs in it? Ans There 2 default Tab strips. Selection-Screen 198) What are the properties of Selection Screen? Ans There are 11 properties of selection screen: 1) Default 2) Memory ID 3) Lowercase 4) Visible length 5) Obligatory 6) Matchcode 7) Check Checkbox 9) Radiobutton Group 10) No-display . which is used to insert more tabs in tab strip.

Endform 202) What are types of Select statements? Ans SELECT SINGLE … WHERE … SELECT [DISTINCT] … WHERE … SELECT *… 203) What are DML commands? . Nodes iii. High. Initialization v. Get emp ix.11) Modif ID 199) What are the components of Selection Table? Ans There are four components of selection table: Low. Start-of-selection vii. Sign. Get deptt late x. Data iv. Reports ii. At selection-screen vi. Get deptt viii. Form xii. Options 200) How to display or know if the value entered contains records or not? Ans SY-SUBRC 201) What are the sequences of event block? Ans i. End-of-selection xi.

Ans Select. MESSAGE E000 WITH ‘NO RECORDS FOUND’. Commit Work. ENDIF. Insert. Update. Modify. Synchronous Update – The program wait for the work process to finish the update. 205) Write syntax for Message Error (Report)? Ans AT SELECTION-SCREEN. 204) What is Asynchronous and Synchronous Update? Ans Asynchronous Update – The program does not wait for the work process to finish the update. Delete. check errors activate and execute it. System Service Batch input Session 207) What are the function module in BDC? Ans There are three function module in BDC: 1) BDC_OPEN_GROUP 2) BDC_INSERT . 206) How to see the list of all created session? Ans There are two method to see all sessions: 1) SHDB (Recording) 2) Write code in SE38 then save. ENDSELECT. Commit Work and Wait. If SY-DBCNT = 0. SELECT * FROM ZREKHA_DEPTT INTO CORRESPONDING FIELDS OF ITAB WHERE DEPTNO IN DEPTNO.

MM01 211) What are the fields of Sales Order? Ans Transaction Code of Sales Order: VA01 Table of Sales Order: VBAK . Quotation and Sales Order.XD01 Pricing Inquiry . Display Errors & Background) Process 209) What are the different types of mode (run code) in Call Transaction method? Ans There are three modes in Call Transaction: A – Displays All Screen E – Display Errors N – Background Processing 210) Write the transaction code of Customer Master Data.3) BDC_CLOSE_GROUP 208) Write the steps to execute session method. Ans Steps for execution Session Method: 1) System 2) Service 3) Batch Input 4) Session 5) Choose Session Name 6) Process 7) Asks for Mode (Display All Screen. Pricing.VA21 Sales Order . Ans Customer Master Data .VA11 Quotation . Inquiry.VA01 .

Move 6) Database .Open SQL & Native SQL 216) How data is stored in cluster table? Ans Each field of cluster table behaves as tables. Data. Tables 2) Modularization .If…Else.Types.Perform. Loop. 218) On which event we can validate the input fields in module programs? . Add. Call. and some DDIC objects.VKGRP 212) What are different types of screen keywords? Ans There are four types of screen keywords: Module.VKBUR Sales Group .Event Keywords and Defining Keywords 3) Control . text element. IF ( A GE B ) AND ( A LE C) Ans IF A BETWEEN B AND C 215) What are the different types of ABAP statements? Ans There are six types of ABAP statements: 1) Declarative .Write. Ans There are four specials commands of lists: Write. Submit. Skip and New-Page 214) Write the following in different manner. While.Order Type . 213) Write special commands of List. Leave to 5) Operational . Uline. Set User Command. 217) What are client dependant objects in ABAP / SAP? Ans SAP Script layout.AUART Sales Org – VKORG Dist Channel – VTWEG Division – SPART Sales Office . Case 4) Call . which contains the number of entries. Chain and Field.

Distribution Channel. CALL FUNCTION ‘F4IF_INT_TABLE_VALUE_REQUEST’ to get material and material group for the plant. 225) How can I copy a standard table to make my own Z_TABLE? Ans Go to transaction SE11. 221) When top of the page event is triggered? Ans After executing first write statement in start-of-selection event. Then there is one option to copy table. Ans Transaction Code AL21. You can get how much fast is your program. Division. 222) Can we create field without data element and how? Ans In SE11. 227) What is meant by performance analysis? Ans 228) How to transfer the objects? Have you transferred any objects? . Data element / direct type. one option is available above the fields strip i. I have three fields.e. 223) Fields of VBAK Table. 226) What is runtime analysis? Have you used this? Ans It checks program execution time in microseconds. Press that button. Enter the name of the standard table and in the Target table enter Z_table name and press enter. If I input plant how do I get the material number and material group based on plant dynamically? Ans AT SELECTION-SCREEN ON VALUE-REQUEST FOR MATERIAL. Ans VBAK – Sales Document : Header Data Details about Sales Organization. Sales Office.) 219) In selection screen.Ans In PAI (Write field statement on field you want to validate. Sales Group. if you want to validate group of fields put in chain and End chain statement. the output from IDOC is obtained by reading the data stored in its respective segments. When you go to SE30. plant material number and material group. etc 224) Which transaction code can I used to analyze the performance of ABAP program. 220) How do you get output from IDOC? Ans Data in IDOC is stored in segments. Outline Agreements. If you give desired program name in performance file. Business Area. It will take you to below screen.

Negative testing . we will give negative data in input and we check any errors occurs. All the messages will go to internal table. In positive testing. we will give positive data in input for checking errors.Ans 229) How did you test the developed objects? Ans There are two types of testing . Below messages are go to internal table. THEN PUT LOOP…ENDLOOP OF BDCMSGCOLL CALL FUNCTION ‘FORMAT_WRITE’ EXPORT = SYSTEM FIELD IMPORT = MSG TEXT ERROR 231) Among the Call Transaction and Session Method. UPDATE MODE A/S MESSAGE INTO BDCDATA. 1) TCODE 2) Message Type 3) Message Id 4) Message Number 5) MSGV1 6) MSGV2 7) MSGV3 MSGV4 CALL TRANSACTION TCODE USING BDCDATA MODE A/N/E. which is faster? .Positive testing In negative testing. When you run the call transaction. 230) How did you handle errors in Call Transaction? Ans We can create an internal table like ‘bsgmcgcoll’. We can get errors in this internal table.

235) What are Standard Texts? Ans 236) What is the difference between Clustered Tables and Pooled Tables? Ans A pooled table is used to combine several logical tables in the ABAP/4 dictionary. But usually we use session method in real time…because we can transfer large amount of data from internal table to database and if any errors in a session. And these all are stored in database (data dictionary). we can get menus. We can store the data in table as blocks. Page Format? Ans 240) Where we use Chain and End chain? Ans In Screen Programming . 238) Among “Move” and “Move Corresponding”. 237) What is PF-STATUS? Ans PF-Status is used in interactive report for enhancing the functionality. Pooled tables are logical tables that must be assigned to a table pool when they are defined. 233) How to pass the variables to forms? Ans 234) What is the table. Drill down report is nothing but interactive report…drilldown means above paragraph only. which contain the details of all the name of the programs and forms? Ans Table contains vertical and horizontal lines. Cluster table are logical tables that must be assigned to a table cluster when they are defined. then process will not complete until session get correct. If we go to SE41. 232) What are the difference between Interactive and Drill Down Reports? Ans ABAP/4 provides some interactive events on lists such as AT LINE-SELECTION (double click) or AT USER-COMMAND (pressing a button).Ans Call transaction is faster then session method. You can use these events to move through layers of information about individual items in a list. Those fields only moving to other place (what ever you want). We can scroll depends upon your wish. ‘move corresponding’ is very efficient then ‘move’ statement. which is efficient one? Ans I guess. Because usually we use this statement for internal table fields only…so if we give move corresponding. Cluster table can be used to store control data. items and different function keys. They can also used to store temporary data or text such as documentation. Transaction codes. 239) What are the Output Type. which we are using for secondary list in interactive report.

246) Overall how do you write transaction programs in SAP? Ans Create program-SE93-create transaction code -Run it from command field. Transactions. 247) 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? Ans Yes.This event is responsible for processing of screen after the user enters the data and clicks the pushbutton. standard tool bar. PAI. how to get the default values as current month first date and last date by default? Eg: 1/12/2004 and 31/12/2004 Ans 243) What are IDOCs? Ans IDOCs are intermediate documents to hold the messages as a container.etc. 245) What is screen flow logic? What are the sections in it? Explain PAI and PBO.g. PBO . push buttons) used for a certain screen. menu bar. – Modules – PBO. screen.This event is triggered before the screen is displayed. Ans The control statements that control the screen flow. Create the transaction using object browser (SE80) Define the objects e.flow logic + screens. The status comprises those elements that are currently needed by the transaction. menu painter GUI Status . PAI . Ans dynpro . how will be the performance? To improve the performance? Ans 242) In select-options..241) Do you use select statement in loop…end loop. 244) What are screen painter? Menu painter? Gui status? .It is subset of the interface elements (title bar. Operating System – Windows based Screen Painter – Alpha numeric Screen Painter 248) What are step loops? How do you program page down page up in step loops? .

User exits that use INCLUDEs . 252) Can you call a subroutine of one program from another program? Ans Yes.Ans Step loops are repeated blocks of field in a screen. each user exit must be checked to ensure that it conforms to the standard system.These are customer enhancements that are called directly in the program.These are used and managed using Customizing. only external subroutines Using ‘SUBMIT’ statement. 2. Point in an SAP program where a customer’s own program can be called. ABAP IS AN EVENT DRIVEN LANGUAGE. Include for PBO 3. On upgrade. user exits allow developers to access and modify program components and data objects in the standard system. Page down & Page up: decrement / increment base counter Index = base + sy-step1 – 1 249) Is ABAP a GUI language? Ans Yes. Should find the customer enhancements belonging to particular development class. Step loops: Method of displaying a set of records. TOP INCLUDE – GLOBAL DATA 2. Include for PAI 4. User exits that use TABLEs . In contrast to customer exits. 250) Normally how many and what files get created when a transaction program is written? What is the XXXXXTOP program? Ans Main program with A Includes 1. 253) What are user exits? What is involved in writing them? What precautions are needed? Ans User defined functionality included to predefined SAP standards. There are two types of user exit: 1. They are coded in include programs (External programs) and are included in ABAP/4 programs. Include for Forms 251) What are the include programs? Ans When the same sequence of statements in several programs is to be written repeatedly. 254) What are RFCs? How do you write RFCs on SAP side? Ans 255) What are the general naming conventions of ABAP programs? .

PP. 263) Can you use if then else. Windows. by pressing F1 on a keyword. Page windows.etc statements in sap script? Ans Yes. Character String. perform. Header. 256) How do you find if a logical database exists for your program requirements? Ans SLDB-F4. 258) How do you find the menu path for a given transaction in SAP? Ans 259) What are the different modules of SAP? Ans FI. MM. 261) What are different ABAP/4 editors? What are the differences? Ans 262) What are the different elements in layout sets? Ans PAGES. Paragraph. 264) What type of variables normally used in sap script to output data? Ans 265) How do you number pages in SAP Script layout outputs? Ans & page & &next Page & 266) What takes most time in SAP script programming? Ans LAYOUT DESIGN AND LOGO INSERTION. CO. HR. 257) How do you find the tables to report from when the user just tell you the transaction he uses? And all the underlying data is from SAP structures? Ans Transaction code is entered in command field to open the table – Utilities – Table contents display..Ans Should start with Y or Z. SD. 260) How do you get help in ABAP? Ans HELP-SAP LIBRARY. 267) How do you use tab sets in layout sets? .

D. and also with each other. User defined: TYPES. Single transaction 2.Create form with page.In transaction SE71 goto Utilities -> Copy from client -> Give source form name. 269) What are presentation and application servers in SAP? Ans The application layer of an R/3 System is made up of the application servers and the message server. F. No session log is created . I. N. 270) In an ABAP/4 program.SE71. how do you access data that exists on Presentation Server vs on an Application Server? Ans Using loop statements and Flat 271) What are different data types in ABAP/4? Ans Elementary Predefined: C. T. Application programs in an R/3 System are run on application servers. using the message server. Text elements for Page windows to be copied from PC file. X. Asynchronous and Synchronous update 4. Target form name. User defined: Field Strings and internal tables. Structured Predefined: TABLES. window. type form name -> Display -> Utilities -> form info -> List -> Save to PC file. P. Download :. The application servers communicate with the presentation components. 272) What is difference between session method and Call Transaction? Ans Call Transaction – 1. page window with the help of downloaded PC file.Ans Define paragraph with defined tabs. Upload :. 268) How do you backup SAP Script layout sets? Can you download and upload? How? Ans SAP script backup :. source client (000 default). the database. Synchronous processing 3.

275) What is the structure of a BDC sessions. Asynchronous processing 3. FVAL. and Online Field Documentation. Data Element – Functionality details are defined in Data elements – Field Text. 277) What do you define in the domain and data element. DYNBEGIN. Ans PROGRAM. Ans BDCDATA (standard structure). Column Captions. Slower 273) Setting up a BDC program where you find information from? Ans 274) What has to be done to the packed fields before submitting to a BDC session. Parameters ID. Pool Table 4) Many to One Relationship. Faster Session – 1. Transparent Table – . different number of fields. 6) It can hold only pooled tables.Technical details are defined in Domain like data type. Ans Pool tables are a logical representation of transparent tables. Synchronous update 4. Hence no existence at database level. Ans Domain . 276) What are the fields in a BDC_Tab Table. 278) What is the difference between a pool table and a transparent table and how they are stored at the database level. DYNPRO. 5) Table in the Dictionary has the different name.5. Session log is created 5. and the fields have the different name as in the R3 Table definition. Ans Fields converted into character type. Where as transparent tables are physical tables and exist at database level. Multiple Transaction 2. FNAM. number of decimal places and length.

continuation records are created. Material Group. A cluster also contains a long field (Vardata) that contains the contents of the data fields of the cluster tables for this key. Material Entered. 281) What are the types of tables? Ans 1) Transparent table 5) Pool table 2) Cluster table are data dictionary table objects 6) Sorted table 3) Indexed table 7) Hash table 4) Internal tables. 6) It can hold Application data. Control information on the structure of the data string is still written at the beginning of the Vardata field. Table Clusters Several logical data records from different cluster tables can be stored together in one physical record in a table cluster. Batch Number. Material Number. Target Quantity in Sales Document. 280) For Sales Document: Item Data.4) One to One relationship. If the data does not fit into the long field. and the fields have the same name as in the R3 Table definition. M:N Cardinality specifies the number of dependent(Target) and independent (source) entities which can be in a relationship. which table is used? Ans VBAP – Sales Document. The data from several different tables can be stored together in a table pool or table cluster. same number of fields. 282) What are pooled table? Ans Table pools (pools) and table clusters (clusters) are special table types in the ABAP Dictionary. 279) What is cardinality? Ans For cardinality one out of two (domain or data element) should be the same for Ztest1 and Ztest2 tables. A table in the database in which all records from the pooled tables assigned to the table pool are stored corresponds to a table pool. A cluster key consists of a series of freely definable key fields and a field (Pageno) for distinguishing continuation records. Tables assigned to a table pool or table cluster are referred to as pooled tables or cluster tables. 283) What are Hashed Tables? . Sales Document Item. 5) Table in the Dictionary has the same name. The definition of a pool consists essentially of two key fields (Tabname and Varkey) and a long argument field (Vardata).

then what will he do? Ans 291) What is At-Exit and User-Exit? Ans 292) How will you find the standard tables. if two fields are mandatory and user do not want to enter anything but he wants to come out of the screen. Like database tables. which resembles a database table or for processing large amounts of data. hashed tables always have a unique key.This is the most appropriate type for any table where the main operation is key access. you only know there names like Customer Master Table? . and system fails. You cannot access a hashed table using its index. REPORT Z_1 . SAMPLE PROG: THIS DOES NOTHING. DATA: I TYPE HASHED TABLE OF MARA WITH UNIQUE KEY MATNR 284) How did you test the form u developed? How did you take the print of it? Ans 285) How many maximum number of fields can be there in a table? Ans 286) How many primary keys can be there in a table? Ans 287) What are the steps to perform Performance Tuning? What will you do increase the performance of your system? Ans 288) What is mandatory in Screen Painter? Ans 289) If u are entering large amount of data. regardless of the number of table entries. Hashed tables are useful if you want to construct and use an internal table. then how many records will be entered or no records or half records will be entered? Ans 290) In Screen Painter. TABLES: MARA. The response time for key access remains constant.Ans Hashed tables .

Ans 302) Which is slower “Select *” and “Select field1. then how will you modify that field in your BDC program? Ans 301) Detail concept of Transport Organizer.Ans 293) How will change Development Class? Ans 294) How will you call both Function Module and Function Group? Ans 295) What is ALV? Ans 296) What is Chain-Field & Chain-Loop? Ans 297) What is Value-Ranges? Ans 298) How will you provide help for value request particular fields? Ans 299) How will you find relationship between two or more tables? Ans 300) In BDC’s.field2”? Ans 303) What are the errors in “Call Transaction”? Ans 304) What is QA and production? Ans 305) How will you display only 10 lines in Report? . if you forget to write one field.

which is used to see all the transaction available. Details (5) Purchase Requisitions Material Master Vendor Master Customer Master Sales Order Program RM06BB10 RMDATIND RFBIKR00 RFBIDE00 RVINVB00 SAP SCRIPT PROGRAMS (9) Logo Debug Upload / Download (Import / Export) Convert Page Format Text File Inconsistent Copy Table Across Client Transfer Scripts Files Across System (Not Clients) Comparing The Contents Of A Table Change The Development Class RSTXLDMC RSTXDBUG RSTXSCRP RSTXFCON RSTXCHK0 RSCLTCOP RSTXSCRP RSTBSERV RSWBO052 REPORTS (2) Submit A BDC Job With An Internal Batch Number RSBDCBTC . TSTC and TSTCT for all the transaction available 310) Ans List of SAP supplied Programs. how will you modify those fields? Ans 307) How will you set breakpoint to 100 messages? Ans 308) How will you set Reports to Background job? Ans 309) Name the tables. 7 are successful and there are 3 records with some missing fields. if out of 10 records. Ans See tables.Ans 306) In BDC.

Financial c) Both a and b Accounting (FId) None CO) Material Ans. Sales and Distribution (SD) b) The database tables being addressed must be defined in the ABAP/4 dictionary. There may be any of a hundred reasons why you want a job to run in background instead of foreground. you must ensure the following. SAP R/3 1. ABAP BASIS SAP Security SAPGUI a) The database system being addressed must be supported by SAP. Which of the following statements are correct? Plant Maintenance a) A database interface translates SAP’s Open SQL statements into SQL commands specific (PM) Human . Some customers has day-end jobs to fill custom tables. Why background? In foreground jobs are only allowed a certain amount of runtime.Release Batch Input Sessions RSBDCSUB STANDARD PROGRAM (7) Table Adjustment Across Clients Extended Program List Get The Oracle Release Display All Instance Parameters Substitution / Validation Utility Check Passwords Of Users SAP And DDIC In All Clients Last Users Last Login RSAVGL00 RSINCL00 RSORAREL RSPARAM RSUGBR00 RSUSR003 RSUSR006 311) How to schedule a Report in background? what is the use of background job please explain about it? Ans There are 3 ways to schedule in background: SM36 SE38 SA38 The easiest of the three is SA38. and have to be run background. so they are scheduled as background jobs as well. and these are only 2 of them. When using Open SQL statements in an ABAP/4 program. Long running jobs usually times out in foreground. c Management (MM) ___________________________________________________________________________ Production Planning (PP) _ Quality Management (QM) 2. and these only run late at night.

What is the alternative to batch input session? a) Load module b) Call transaction c) BAPI d) Idoc segment Ans. (PS) SAP CO Tips b) When you use Native SQL. How do you create a batch input session for a transaction? SAP NEWS a) ‘Call transaction’ in background mode. Can a transparent table exist in data dictionary but not in the database physically? Transaction Codes a) True SAP Consultants b) False SAP Resume Sample Resume Ans. a Party Products SAP ___________________________________________________________________________ Alliances PHP SAP __ NEWS/Announcement s 6. Native SQL statements access the database directly.. In Open SQL. About SAP Articles d) None of the above. SAP Solution Ans. SAP NON Technical c) ‘Bdc_insert’ for the transaction. b Manager ___________________________________________________________________________ NetWeaver SAP Quick Help _ Useful Tips FAQ SAP Glossary 4. the addressed database tables do not have to be known to the Business One ABAP/4 dictionary. Netweaver c) All hashed tables are index tables. a. Announcements Classifieds b) ‘Call transaction’ in error mode.. Which of the following are true? Relationship a) TABLE is used as a synonym for STANDARD TABLE Management b) You can only access a hashed table using the generic key operations. Planner and Optimizer (APO) Ans. SAP Exchange Infrastructure (XI) d) We have to define the hash procedure explicitly for HASHED TABLE. a. the addressed database tables must be defined in the Business Warehouse (BW) ABAP/4 dictionary. b ___________________________________________________________________________ _ .b ___________________________________________________________________________ Asset Management (AM) Industry _ Solutions (IS) Project Scheduling Customer 3. c ___________________________________________________________________________ _ 7. Ans.Resources (HR) Project System to the database in use. FROM oe INSERT itab within a LOOP) are not allowed. c) There is automatic client handling in Native SQL whereas clients must always be specified Business Workflow (BW) Advanced in Open SQL. b ___________________________________________________________________________ Education Services / Training / __ Certification SAP Partners 5. Can you create a table with fields not referring to data elements? Java/SAP development UNIX a) Yes Oracle Database b) No MaxDB SAP Third Ans. Explicit or implicit (CRM) index operations (such as LOOP .

b. c) You cannot assign one field symbol to another. a) True b) False Ans. c ___________________________________________________________________________ _ 12. Ans. a. c ___________________________________________________________________________ _ 9. c) Each extract record contains. d) Each extract record contains. a) You can end the Native SQL with a semicolon. d ___________________________________________________________________________ _ 11. if specified. Ans. d) Host variables in the Native SQL are identified with a preceding hash (#). b) Field symbols have to be created with type specifications only. The following are true about database locking. Which of the following are true? a) COLLECT can only be used with STANDARD TABLE. b) The first EXTRACT statement creates the extract dataset and adds the first extract record. What are field symbols? a) Field symbols are like pointers in C that can point to any data object in ABAP/4 and to structures defined in ABAP/4 dictionary. d) All operations you have programmed with the field symbol are carried out with the assigned field. the fields of the field symbol. c ___________________________________________________________________________ _ 10. EXTRACT statement a) The first EXTRACT statement extracts the first extract record. You cannot assign a local data object defined in a subroutine or function module to a field group. the fields of the field group. d) Write locks allow other transactions to set read locks for the objects in question. . c) Read locks prevent other transactions from setting write locks for the objects in question. The following are true about ‘EXEC SQL’.8. a. b) You can end the Native SQL with a period. Ans. a. the internal table should be derived from a database table with an explicit key. if specified. a ___________________________________________________________________________ _ 13. b) To use COLLECT. b) Read locks prevent the setting of further read locks for the objects in question. a) Database systems set physical locks on all lines affected by a database call. c) You cannot perform reliable authorization checks using EXEC SQL. Ans.

b. the line containing it will be printed out as it is. b) ABAP queries are created from functional areas that are created from a logical database or through a direct read/retrieval program. The following are true about SAPscript control commands. the numeric fields that are not part of the table key (see ABAP number types) are added to the sum total of the existing entries. b) CALL SCREEN. c. A logical unit of work (LUW or transaction) begins a) Each time you start a transaction. Which of the following are true? a) ABAP queries are created by associating them to a logical database or through a direct read/data retrieval program. d) If the system finds a numeric component. b) If a control command is unknown or it contains syntax errors. d) A maximum of six control commands may appear in each line. that is not part of the key. c) A maximum of one control command may appear in each line. d ___________________________________________________________________________ _ 17. the line containing it will be treated as a comment line. d) ABAP queries are created through the regular report program. c) ABAP queries are created from user groups attached to the functional areas that are created from a logical database or through a direct read/retrieval program. A database commit is triggered by a) ABAP/4 command COMMIT WORK. a. Ans. that is not part of the key. control passes on to the next record in the internal table. b. c ___________________________________________________________________________ _ 15. b) Each time you end a transaction. a. d) Before the database changes of the previous LUW have been cancelled (database rollback). c) When the database changes of the previous LUW have been confirmed (database commit). c) A Remote Function Call d) CALL TRANSACTION Ans. d. If it does not find an entry. the numeric fields that are not part of the table key (see ABAP number types) are added to the sum total of the existing entries. Ans. the system creates a new entry instead. ___________________________________________________________________________ _ 16. c ___________________________________________________________________________ _ . CALL DIALOG. Ans.c) If the system finds a numeric component. Ans. a) If a control command is unknown or it contains syntax errors. If it does not find an entry. d _________________________________________________________________________ 14.

menu exits and screen exits. b) Used to create enhancements to ABAP queries. d) Used to modify the standard function groups. To output SAPscript layout sets.18. a. c) WRITE_FORM should be used within an OPEN_FORM and CLOSE_FORM. Ans.. Ans: a. b) Within one transaction. The transaction CMOD and SMOD are a) Used to create enhancements to standard SAP programs. Ans. a. c) Used to create the user exits. in the print program a) You must always start the output with OPEN_FORM and end it with CLOSE_FORM. ABAP Query tool is used to: a) Enquire about a running-program status b) Automatically generate code for reporting c) Perform database operations for user-written programs d) None of the above Ans: b. e) Each user can be assigned to several user-groups f) Each user can be assigned to several functional areas g) Each functional area can be assigned to several user-groups h) One user can be assigned only to one user-group. b. c ___________________________________________________________________________ _ 19.. c ___________________________________________________________________________ _ 20. c ___________________________________________________________________________ _ 23. ___________________________________________________________________________ _ 22. Logical databases must be used to create an ABAP Query . Which of the following are tools to report data in ABAP? e) ALV f) ALE g) LSMW h) SmartForms Ans: a ___________________________________________________________________________ _ 21. you can use only one OPEN_FORM and CLOSE_FORM to open and close a layout set. In ABAP Query tool. d) WRITE_FORM can be used without an OPEN_FORM and CLOSE_FORM.

c. Ans: b. d ___________________________________________________________________________ _ 25.a) True b) False Ans: b ___________________________________________________________________________ _ 24. b ___________________________________________________________________________ _ 27. What are IDocs? a) Documentation of executable programs b) Documents used for data-transport between SAP and non-SAP s/w. to be run again after corrections Ans: b. In a BDC program. c ___________________________________________________________________________ _ 26. the following are generally used: a) BDC b) LSMW c) Direct table update d) Idocs Ans: a. In an ABAP program. b ___________________________________________________________________________ _ 28. For one-time high volume data-uploads into SAP from non-reliable systems. For transportation of data from a presentation server into SAP. the INITIALIZATION event is invoked a) Before the AT-SELECTION-SCREEN event . the function module used is a) UPLOAD b) WS_UPLOAD c) FILE_UPLOAD d) DATA_UPLOAD Ans: a. how would you handle errored records? Would you… a) Rerun the program b) Report the errored records c) Generate a batch-input session with errored records d) Create an output file. c) Documents used for data-transport between two different SAP systems d) Documents used for one-time data-migration activities.

b) After the AT-SELECTION-SCREEN event c) Could be either way d) Cannot be predicted Ans: a ___________________________________________________________________________ _ 29. The statement to check whether an internal table itab_test has no records. a) TRUE b) FALSE Ans: b. What is the transaction-code for viewing batch-runs of a program? a) SE37 b) SM37 c) SM35 d) SM30 Ans: b ___________________________________________________________________________ _ 33. SY-BATCH can be used to determine whether a program is being run in batch-mode. c) FREE itab. c ___________________________________________________________________________ _ 31. d) DELETE itab. within the AT-SELECTION-SCREEN event. a) TRUE b) FALSE . is: IF itab_test is initial. The statement used to clear all the contents of an internal table is: a) CLEAR itab. b ___________________________________________________________________________ _ 32. The AT-SELECTION-SCREEN event is triggered when… a) ENTER key is hit on the selection-screen b) F8 key is hit on the selection-screen c) Any field on selection-screen is populated d) F4 key is hit on the selection-screen Ans: a. Ans: b. b) REFRESH itab. ___________________________________________________________________________ _ 30.

d) Unpredictable. b) FREE ITAB. READ TABLE ITAB_TEST WITH KEY VBELN = k_vbeln. Data: BEGIN OF ITAB OCCURS 0. c) The internal table has no entry. Ans: d ___________________________________________________________________________ _ 35. FIELD2(10). The following statements will clear the header-line of an internal table: a) DELETE ITAB. ITAB-FIELD2 = ‘Field2’. END OF ITAB. ITAB-FIELD1 = ‘Field1’. The SAP Logon password is always case-insensitive. then a) All records are fetched b) The last record is fetched c) The first record is fetched d) Compilation error Ans: c ___________________________________________________________________________ _ . DO 20 TIMES. d) CLEAR ITAB. Ans: c ___________________________________________________________________________ _ 37.Ans: b ___________________________________________________________________________ _ 34. b) The internal table has one entry. c) REFRESH ITAB. If multiple records in table ITAB satisfy the condition. ENDDO. a) The internal table has 20 entries. FIELD1(10). a) TRUE b) FALSE Ans: b 36.

1. c) (iii) is better than (i) and (i) is better than (ii). (2. DATA: BEGIN OF ITAB OCCURS 0. AT NEW fld3. (2. ITAB has 5 records – [ (1. . The code segment: LOOP AT ITAB. 2). FLD1.3) ]. and (iii) is better than (i). ENDSELECT.2). SELECT * INTO TABLE ITAB_2 FROM DBTAB WHERE KEY1 = ITAB-KEY1. a) (i) is better than (ii). TYPES: BEGIN OF TYPE1. and DBTAB is a large table. (1. ENDLOOP. ENDLOOP. ENDAT. Ans: d ___________________________________________________________________________ _ 39.1. If ITAB has 1000 entries. Fld2 (1).1). SELECT * INTO ITAB_2 FROM DBTAB WHERE KEY1 = ITAB-KEY1.2.2. iii) SELECT * INTO TABLE ITAB_2 FROM DBTAB FOR ALL ENTRIES IN ITAB WHERE KEY1 = ITAB-KEY1. ii) LOOP AT ITAB. d) (iii) is better than (ii) and (ii) is better than (i). (1. b) (ii) is better than (iii). ENDLOOP. APPEND ITAB_2. Produces the output: a) 1 2 2 2 3 b) 1 2 3 c) 1 1 2 2 2 d) 1 1 1 2 2 Ans: a ___________________________________________________________________________ _ 40. WRITE fld3. Fld1 (1). and (ii) is better than (iii).38. which is better in terms of performance? i) LOOP AT ITAB.2). Fld3 (1).2. END OF ITAB.

a) The first record’s value is used in the collected version. b) SORT ITAB BY key1 key2. Ans: b ___________________________________________________________________________ _ 44. b) The table has no records. Which is the correct syntax for sorting an internal table? a) SORT ITAB USING key1 key2. d) SORT ITAB key1 key2. which has a non-key character field. c) Compilation error d) Cannot be predicted Ans: c ___________________________________________________________________________ _ 43. DATA: ITAB1 TYPE STANDARD TABLE OF TYPE1. Ans: c ___________________________________________________________________________ _ 42. the syntax to be used is: . ITAB1-FLD2 = ‘b’. c) SORT ITAB WITH key1 key2. APPEND ITAB1. c) Compilation error due to method of declaration of type. Ans: d ___________________________________________________________________________ _ 41. b. ITAB1-FLD3 = ‘c’. b) The last record’s value is used in the collected version. d) Compilation error due to method of declaration of table. If we need to fetch all database entries corresponding to a given key.FLD2. ITAB1-FLD1 = ‘a’. The fastest way to read a value in an internal table is to: a) Specify key. X records at a time. If COLLECT is used on an internal table. FLD3. c ). with values (a. END OF TYPE1. and do a binary search b) Specify the table-keys c) Directly specify the index value d) Use a work-area with same structure as the internal table. a) The table has one record.

we can guarantee that the user will not be able to enter a range of values. Ans: b ___________________________________________________________________________ _ 45. ABAP programmers can create their own data types? a) YES b) NO Ans: a ___________________________________________________________________________ _ . COLLECT ITAB_DTL_1 INTO ITAB_FINAL. d) This facility is not available in ABAP. b) CONCATENATE source1 source2 INTO target. Ans: b ___________________________________________________________________________ _ 47.a) SELECT…PACKET SIZE X…. b) SELECT…PACKAGE SIZE X… c) SELECT…UPTO X RECORDS…. The syntax to concatenate a set of values into one variable is: a) CONCATENATE source1. if. a) TRUE b) FALSE Ans: b ___________________________________________________________________________ _ 48. ENDLOOP. LOOP AT ITAB_DTL_1. On the selection-screen. which table should be declared with the keys Explicitly specified? a) ITAB_DTL_1 b) ITAB_FINAL c) Either one will do. source2 INTO target. while using SELECT-OPTIONS. c) CONCATENATE source1 and source2 INTO target. we specify NO INTERVALS. d) None of the above. If the tables contain character fields. d) Neither needs a key to be specified Ans: b ___________________________________________________________________________ _ 46.

a ___________________________________________________________________________ _ 51. MOVE can be used to copy: a) One field’s contents to another field b) One structure’s contents to another compatible structure c) One table’s contents to another compatible table d) A part of one field to another field Ans: a. Within an IF-ENDIF block. c . The user-list in a given SAP client can be found using transaction a) STO4 b) SE04 c) SM04 d) None of the above Ans: c ___________________________________________________________________________ _ 53. a) ELSE must be used b) ELSEIF must be used c) If ELSEIF is used. c. FORM ROUTINE1 USING temp1.49. The DESCRIBE statement on internal tables is used to: a) Find the number of lines currently in table b) Find initial size of the table c) Find type of the internal table d) Give the line size. of the table Ans: a. Temp1 = 10. in number of characters. PERFORM ROUTINE1 USING val1.. ELSE must be used d) None of the above Ans: d ___________________________________________________________________________ _ 52. b. ENDFORM. b. …. d ___________________________________________________________________________ _ 50. Is the value of val1 changed? a) YES b) NO Ans.

The default length of a field of type “time”(‘T’) in an ABAP program is: a) 6 b) 8 c) 14 d) 0 Ans: a ___________________________________________________________________________ _ 58. N b) I. P. using: . The various numeric types definable in an ABAP program are: a) I. Which of the following statements can work without a corresponding END-statement? a) DO b) AT c) IF d) SELECT Ans: d ___________________________________________________________________________ _ 55. N d) I. Variables in an ABAP code can be defined as being similar to data-dictionary elements. we can specify a variable to be of HEXADECIMAL type. we can specify a variable to be of OCTAL type.___________________________________________________________________________ _ 54. N Ans: b ___________________________________________________________________________ _ 59. F. P. P c) I. a) TRUE b) FALSE Ans: b ___________________________________________________________________________ _ 57. F. In an ABAP program. In an ABAP program. a) TRUE b) FALSE Ans: a ___________________________________________________________________________ _ 56. F.

There are 8 elementary data-types.a) LIKE b) FOR c) TYPE d) None of the above Ans: a. MOVE f1 TO f2 is equivalent to f2 = f1 a) TRUE b) FALSE Ans: a ___________________________________________________________________________ _ 63. For an inequality check between two variables. we can equate two structures of incompatible types. b. the symbol used is: a) NE b) <> c) >< d) NEQ . a) Type D and T cannot be inter-converted b) None of the other types can be converted into D and T. If a structure does not contain internal tables as components. and hence. d) Only C can convert into D/T and vice-versa. a) TRUE b) FALSE Ans: a ___________________________________________________________________________ _ 64. Constants and internal tables are defined using the keywords (respectively): a) CONSTANTS and TABLES b) DATA and DATA c) DATA and TABLES d) CONSTANTS and DATA Ans: a ___________________________________________________________________________ _ 61. c) D and T cannot be converted into any other type. Of these. c ___________________________________________________________________________ _ 60. 64 possible conversions. Ans: a ___________________________________________________________________________ _ 62.

Can ABAP control statements be used within a sap script? a) YES b) NO Ans: a ___________________________________________________________________________ _ 69. WRITE ‘a’. ENDIF.Ans: a. a) True . IF S1 CN S2. c ___________________________________________________________________________ _ 65. The presentation server is actually the program named SAPGUI. The statement IF NUM IS BETWEEN 3 AND 7. ELSE. Is it possible to call a subroutine of one program from another program? a) True b) False Ans: A ___________________________________________________________________________ _ 68. Is a valid syntax? a) TRUE b) FALSE Ans: B ___________________________________________________________________________ _ 67. Output of above code is: a) a b) b c) Compilation error d) Blank Ans: b ___________________________________________________________________________ _ 66. S1 = ‘ABCAB’. S2 = ‘ABCD ‘. WRITE ‘b’. b.

. c Click here to learn more about this bar Click here to vie FAQ of TRANSACTIONS 1.b) False Ans: a ___________________________________________________________________________ _ 70.What is PBO and PAI events? PBO.The different components of the dynpro are : Flow Logic: calls of the ABAP/4 modules for a screen . .A transaction is dialog program that change data objects in a consistant way. When is Top-of-page event executed a) Triggered by a New-page statement b) When the First Write Statement of the program is encountered.fields. What is dynpro?What are its components ? .Process Before Output-It determines the flow logic before displaying the screen. called a module 4.a user friendly user interface. .Such a dialog program is also pool . What are the requirements a dialog program must fulfill? A dialog program must fulfil the following requirements .A dynpro (Dynamic Program) consists of a screen and its flow logic and controls exactly one dialog steps. What is a transaction? . Ans: b.What are the basic components of dialog program? . 5. 3. PAI-Process After Input-It determines the flowlogic after the display of the screen and after receiving inputs from the User.A dynpros consists of a screen And its flow logic and controls exactly one dialog step.since it consists of interactive modules.Format and consistancey checks for the data entered by the user. . Each dynpro refers to exactly one ABAP/4 dialog program .pushbuttons and so on for a screen . 2.Easy correction of input errors. c) Before outputting the first line on a new page. Screen layout:Positions of the text .Access to data by storing it in the data bases.Each dialog in an SAP system is controlled by dynpros.Screens (Dynpros) .ABAP/4 module Pool. .

Screen Attributes:Number of the screen. The function code is always passed in Exactly the same way .Such a dialog program is also called a module pool .This happens immediately after displaying the screen. 14. To create and edit GUI status and GUI title. 12.For each screen.number of the subsequent screen. 7. 14. .What is GUI status? How to create /Edit GUI status? -A GUI status is a subset of the interface elements used for a certain screen.This field is Global in ABAP/4 Module Pool.We cannot use flow control keywords in ABAP/4 and vice-versa.when an action is performed .A function code has to be defined in the screen attributes for the push buttons in a screen.The GUI status for a transaction may be composed of the following elements: -Title bar. How does the Dialog handle user requests? .since it consists on interactive modules.The OK_CODE can then be evaluated in the corresponding PAI module.The data passed includes field screen data data entered by the user and a function code. -Application tool bar -Push buttons..The controls passes from screen flow logic to ABAP/4 code and back.What controls the screen flow? . How does the interection between the Dynpro and the ABAP/4 Modules takes place? -A transaction is a collection os screens and ABAP/4 routines . -Mneu bar. 13.the system copies the function code into a specially designated work field called OK_CODE.we use the Menu Painter. How are the function code handles in Flow Logic? .If both names are the same. 10.When the User selects a function in a transaction .The function code currently active in a Program can be ascertained from the SY-UCOMM Variable.controlled and executed by a Dialog processor.The system instead transfers data by comparing screen fields names with ABAP/4 variable names. 6.and the appropriate action is taken.The SET SCREEN and LEAVE SCREEN statements controls screen flow.thereby triggering the appropriate ABAP/4 processing of each screen .The flow control of a dynpro consists os a few statements that syntactically ressemble ABAP/4 statements . What is a ABAP/4 module pool? -Each dynpro refers to exactly one ABAP/4 dialog program. 11. The Function code currently active is ascertained by what Variable? .Can we use WRITE statements in screen fields?if not how is data transferred from field data to screen fields? -We cannot write field data to the screen using the WRITE statement.The status comprises those elements that are currently needed by the transaction .a push button. regardless of Whether it comes from a screen’s pushbutton.the system executes the flow logic that contains the corresponding ABAP/4 processing.Can we use flow logic control key words in ABAP/4 and vice-versa? .it transfers screen fields values to ABAP/4 programs fields and Vice Versa.An internal work field(ok-code)in the PAI module evaluates the function code.and others Fields attributes :Definition of the attributes of the individual fields on a screen. A functioncode is a technical name that has been allocated in a screen Painter or Menu Painter to a meny entry. 8.the system triggers the PROCESS AFTER INPUT event.However .The Dilaog processor processes screen after the screen .a menu option .function key or other GUI element.the ENTER key or a function Key of a screen. What is to be defined for a push button fields in the screen attributes? . 9.

What is an “on input filed” statements? .This initial Value is determined by the filed’s Dta Type: blanks for character Fields . 20. . Dynamic.E: ERROR . but the ABAP/4 module is called if any one of the fields in the chain changes value.The Value counts as changed Even if the User simply types in the value that was already there .In general . 18.To Use AT EXIT – COMMAND .By SY-UCOMM Variable.There are 5 types of message types available. What is “at exit-command:? The flowlogic Keyword at EXIT-COMMAND is a special addition to the MODULE statement in the Flow Logic . What are conditional chain statement? ON CHAIN-INPUT similar to ON INPUT. What are the “field” and “chain” Statements? . and the field has the attribute *-entry in the screen Painter. 16.You can use this option in Exceptionla cases where you want to check only fields with certain Kinds of Input. 19. 22. 23. What is an “on request Field” statement? . If the user changes the Fields Value back t o its initial value.W-WARNING . The ABAP/4 module is called if any one of the fields in the chain contains a value other than its initial value(blank or nulls). What is an on”*-input filed” statement? ON *-INPUT . What are the different message types available in the ABAP/4 ? .S-SUCCESS 24.The ABAP/4 module is called if the user has entered the “*” in the first character of the field.AT EXIT-COMMAND lets you call a module before the system executes the automatic fields checks. 17. ON CHAIN-REQUEST This condition functions just like ON REQUEST.I –INFORMATION .ON REQUEST The ABAP/4 Module is called only if the user has entered the value in the field value since the last screen display . 21.Zeroes for numerics.ON INPUT does not trigger a call.15.ON INPUT The ABAP/4 module is called only if a field contains the Value other than the initial Value.The FIELD and CHAIN flow logic statements let you Program Your own checks. Of the two “ next screen “ attributes the attributes that has more priority is -------------------.FIELD and CHAIN tell the system Which fields you are checking and Whether the System should Perform Checks in the flow logic or call an ABAP/4 Module.A-ABNORMAL TERMINATION. The function code currently active is ascertained by what variable ? . .the ON REQUEST condition is triggered through any Form of” MANUAL INPUT’. Which Function type has to be used for using “at exit-command” ? .We must assign a function Type “E” to the relevant function in the MENU Painter OR Screen Painter . .

28.This statement lets us insert such a sequence intp the current one. TRUE.When u return to the suspended chain execution resumes with the statement directly following the original CALL SCREEN statement.The called can then return to the suspended chain with the statement LEAVE SCREEN TO SCREEN 0 .Leave screen. What is “call mode”? . 26.The original sequence of screens in a transaction (that is . .With SET SCREEN the current screen simply specifies the next screen in the chain .To terminate a call mode and return to a suspended chain set the “next screen” to 0 and leave to it: LEAVE TO SCREEN 0 or (SET SCREEN 0 and LEAVE SCREEN) .Yes 30.Sometime we might want to let an user call a pop up screen from the main application screen to let him enter secondary information.you returned from the transaction altogether. and can be called by any transaction. Call screen. without having stacked any additional call modes). Dynamic screen sequence for a screen can be set using ------------. the current (calling) chain is suspended . 27. The commands through Which an ABAP/4 Module can “branch to “ or “call” the next screen are 1.Here comes CALL SCREEN into picture . 31. Leave to screen <scr no>.> STARTING AT <start column><start line> ENDING AT <end column> <end line> 33. (TRUE/FALSE).4------------. What is difference between SET SCREEN and CALL SCREEN ? . 29. the users should be able to close the popup and return directly to the place where they left off in the main screen.A dialog Module is a callable sequence of screens that does not belong to a particular transaction. Navigation to a subsequent screen can be specified statically/dynamically.With CALL SCREEN . 32.If we want to branch to the next screen without finishing the current one .Call screen<scr no> . The Syntex used to call a screen as dialog box (pop up)is--------CALL SCREEN <screen number. and a next screen (screen chain) is called . What is dialog Module? .25. .and ----------------.2--------------. control branches to this next screen as sonn as th e current screen has been processed .Set screen<scr no>.use LEAVE SCREEN. Can we specify the next screen number with a variable (*Yes/No)? . .After they have completed their enteries.In the ABAP/4 WORLD each stackable sequence of screens is a “call mode”.It does not interrupt processing of the current screen. This is IMP because of the way u return from the given sequence . The field SY-DYNR refers to-------------Number of the current screen.commands Set Screen.Return from next screen to current screen is not automatic .------------.Dialog modules have their module pools .3---------------.

34. The max number of calling modes stacked at one time is? - NINE 35. What is LUW or Data base Transaction ? - A “LUW”(logical unit of work) is the span of time during which any database updates must be performed in an “all or nothing” manner .Either they are all performed (committed),or they are all thrown away (rolled back).In the ABAP/4 world , LUWs and - Transactions can have several meanings: LUW (or “database LUW” or “database transaction”) This is the set of updates terminated by a database commit. A LUW lasts, at most, from one screen change to the next (because the SAP system triggers database commits automatically at every screen change). 36. What is SAP LUW or Update Transaction? Update transaction (or “SAP LUW”) This is a set of updates terminated by an ABAP/4 commit. A SAP LUW may last much longer than a database LUW, since most update processing extends over multiple transaction screens. The programmer terminates an update transaction by issuing a COMMIT WORK statement. 37. What happens if only one of the commands SET SCREEN and LEAVE SCREEN is used without using the other? If we use SET SCREEN without LEAVE SCREEN, the program finishes processing for the current screen before branching to <scr no>. If we use LEAVE SCREEN without a SET SCREEN before it, the current screen process will be terminated and branch directly to the screen specified as the default next-screen in the screen attributes. 38. What is the significance of the screen number ‘0’? In “calling mode”, the special screen number 0 (LEAVE TO SCREEN 0) causes the system to jump back to the previous call level. That is, if you have called a screen sequence with CALL SCREEN leaving to screen 0 terminates the sequence and returns to the calling screen. If you have not called a screen sequence, LEAVE TO SCREEN 0 terminates the transaction. 39. What does the ‘SUPPRESS DIALOG’ do? Suppressing of entire screens is possible with this command. This command allows us to perform screen processing “in the background”. Suppresing screens is useful when we are branching to list-mode from a transaction dialog step. 40. What is the significance of the memory table ‘SCREEN’? At runtime, attributes for each screen field are stored in the memory table called ‘SCREEN’. We need not declare this table in our program. The system maintains the table for us internally and updates it with every screen change. 41. What are the fields in the memory table ‘SCREEN’? Name Length Description NAME 30 Name of the screen field GROUP1 3 Field belongs to field group 1 GROUP2 3 Field belongs to field group 2 GROUP3 3 Field belongs to field group 3 GROUP4 3 Field belongs to field group4 ACTIVE 1 Field is visible and ready for input. REQUIRED 1 Field input is mandatory. INPUT 1 Field is ready for input.

OUTPUT 1 Field is display only. INTENSIFIED 1 Field is highlighted INVISIBLE 1 Field is suppressed. LENGTH 1 Field output length is reduced. DISPLAY_3D 1 Field is displayed with 3D frames. VALUE_HELP 1 Field is displayed with value help. 42. Why grouping of fields is required? What is the max no of modification groups for each field? If the same attribute need to be changed for several fields at the same time these fields can be grouped together. We can specify up to four modification groups for each field. 43. What are the attributes of a field that can be activated or deactivated during runtime? Input, Output, Mandatory, Active, Highlighted, Invisible. 44. What is a screen group? How it is useful? Screen group is a field in the Screen Attributes of a screen. Here we can define a string of up to four characters which is available at the screen runtime in the SY-DNGR field. Rather than maintaining field selection separately for each screen of a program, we can combine logically associated screens together in a screen group. 45. What is a Subscreen? How can we use a Subscreen? A subscreen is an independent screen that is displayed in a n area of another (“main”) screen. To use a subscreen we must call it in the flow logic (both PBO and PAI) of the main screen. The CALL SUBSCREEN stratement tells the system to execute the PBO and PAI events for the subscreen as part of the PBO or PAI events of the main screen. The flow logic of your main program should look as follows: PROCESS BEFORE OUTPUT. CALL SUBSCREEN <area> INCLUDING ‘<program>’ ’<screen>’. PROCESS AFTER INPUT. CALL SUBSCREEN <area>. Area is the name of the subscreen area you defined in your main screen. This name can have up to ten characters. Program is the name of the program to which the subscreen belongs and screen is the subscreen’s number. 46. What are the restrictions on Subscreens? Subscreens have several restrictions. They cannot: • Set their own GUI status • Have a named OK code • Call another screen • Contain an AT EXIT-COMMAND module • Support positioning of the cursor. 47. How can we use / display table in a screen? ABAP/4 offers two mechanisms for displaying and using table data in a screen. These mechanisms are TABLE CONTROLS and STEP LOOPS. 48. What are the differences between TABLE CONTROLS and STEP LOOPS? TABLE CONTROLS are simply enhanced STEP LOOPS that display with the look and feel of a table widget in a desktop application. But from a programming standpoint, TABLE CONTROLS and STEP LOOPS are almost exactly the same. One major difference between STEP LOOPS and TABLE CONTROLS is in STEP LOOPS their table rows can span more than one time on the screen. By contrast the rows in a TABLE CONTROLS are always single lines, but can be very long. (Table control rows are scrollable). The structure of table control is different from step loops. A step loop, as a screen object, is simply a series of field rows that appear as a repeating block. A table control, as a screen object consists of: I) table fields (displayed in the screen ) ii) a control structure that governs the table display and what the user can do with it.

49. What are the dynapro keywords? FIELD, MODULE, SELECT, VALUES and CHAIN are the dynapro keywords. 50. Why do we need to code a LOOP statement in both the PBO and PAI events for each table in the screen? We need to code a LOOP statement in both PBO and PAI events for each table in the screen. This is because the LOOP statement causes the screen fields to be copied back and forth between the ABAP/4 program and the screen field. For this reason, at least an empty LOOP….ENDLOOP must be there. 51. The field SY-STEPL refers to the index of the screen table row that is currently being processed. The system variable SY-stepl only has a meaning within the confines of LOOP….ENDLOOP processing. Outside the loop, it has no valid value. 52. How can we declare a table control in the ABAP/4 program? Using the syntax controls <table control name> type tableview using screen <scr no>. 53. Differentiate between static and dynamic step loops. Step loops fall into two classes: Static and Dynamic. Static step loops have a fixed size that cannot be changed at runtime. Dynamic step loops are variable in size. If the user re-sizes the window the system automatically increases or decreases the number of step loop blocks displayed. In any given screen you can define any number of static step loops but only a single dynamic one. 54. What are the two ways of producing a list within a transaction? By submitting a separate report. By using leave to list-processing. 55. What is the use of the statement Leave to List-processing? Leave to List-processing statement is used to produce a list from a module pool. Leave to list processing statement allows to switch from dialog-mode to list-mode within a dialog program. 56. When will the current screen processing terminates? A current screen processing terminates when control reaches either a Leave-screen or the end of PAI. 57. How is the command Suppress-Dialog useful? Suppressing entire screens is possible using this command. This command allows us to perform screen processing “in the background”. The system carries out all PBO and PAI logic, but does not display the screen to the user. Suppressing screens is useful when we are branching to list-mode from a transaction dialog step. 58. What happens if we use Leave to list-processing without using Suppress-Dialog? If we don’t use Suppress-Dialog to next screen will be displayed but as empty, when the user presses ENTER, the standard list output is displayed. 59. How the transaction that are programmed by the user can be protected? By implementing an authority check. 60. What are the modes in which any update tasks work? Synchronous and Asynchronous. 61. What is the difference between Synchronous and Asynchronous updates? A program asks the system to perform a certain task, and then either waits or doesn’t wait for the task to finish. In synchronous processing, the program waits: control returns to the program only when the task has been completed. In asynchronous processing, the program does not wait: the system returns control after merely logging the request for execution.

62. SAP system configuration incluedes Dialog tasks and Update tasks. 63. Dialog-task updates are Synchronous updates. 64. Update –task updates are Asynchronous updates. 65. What is the difference between Commit-work and Rollback-Work tasks? Commit-Work statement “performs” many functions relevant to synchronized execution of tasks. Rollbackwork statement “cancels: all reuests relevant to synchronized execution of tasks. 66. What are the different database integrities? • Semantic Integrity. • Relational Integrity. • Primary Key Integrity. • Value Set Integrity. • Foreign Key integrity and • Operational integrity. 67. All SAP Databases are Relational Databases. 68. What is SAP locking? It is a mechanism for defining and applying logical locks to database objects. 69. What does a lock object involve? The tables. The lock argument. 70. What are the different kinds of lock modes? Shared lock Exclusive lock. Extended exclusive list. 71. How can a lock object be called in the transaction? By calling Enqueue<lock object> and Dequeue<lock object> in the transaction. 72. What are the events by which we can program “help texts” and display “possible value lists”? -PROCESS ON HELP-REQUEST (POH). -PROCESS ON VALUE-REQUEST (POV). 73. What is a matchcode? A matchcode is an aid to finding records stored in the system whenever an object key is required in an input field but the user only knows other (non-key) information about the object. 74. In what ways we can get the context sensitive F1 help on a field? - Data element documentation. - Data element additional text in screen painter. - Using the process on help request event. 75. What is roll area? A roll area contains the program’s runtime context. In addition to the runtime stack and other structures, all local variables and any data known to the program are stored here. 76. How does the system handle roll areas for external program components? - Transactions run in their own roll areas. - Reports run in their own roll areas. - Dialog modules run in their own roll areas - Function modules run in the roll area of their callers.

Function modules run in the same SAP LUW as the caller. This second SAP LUW runs parallel to the SAP LUW for the calling transaction. To do this. How can we pass selection and parameter data to a report? There are three options for passing selection and parameter data to the report. . function module can have four types of parameters: .Using a report variant. 79. by reference (that is.Dialog modules run in the same SAP LUW as the caller . 82. There are two ways to use SPA/GPA parmeters: By setting field attributes in the Screen Painter. What are the types of parameters in the function modules? In general.Using SUBMIT…WITH .Reports run with a separate SAP LUW. How can we send data to external programs? Using SPA/GPA parameters(SAP memory). . by address). What is the difference between Leave Transaction and Call Transaction? In contrast to LEAVE TO TRANSACTION.IMPORTING: for receiving data returned from the function module. Using EXPORT/IMPORT data (ABAP/4 memory) 84. What are function modules? Function modules are general-purpose library routines that are available system-wide.CHANGING: for passing parameters to and from the function. The only exceptions to the above rules are function modules called with IN UPDATE TASK (V2 function only) or IN BACKGROUND TASK (ALE applications). or in a separate one? . . . Does the external program run in the same SAP LUW as the caller. By using the SET PARAMETER or GET PARAMETER statements.Transactions run with a separate SAP LUW . What are SPA/GPA parameters (SAP memory) SPA/GPA parameters are field values saved globally in memory. 83. . the CALL TRANSACTION statement causes the system to start a new SAP LUW. . 80. use the keywords TO SAPSPOOL: SUBMIT RSFLFIND…TO SAP-SPOOL DESTINATION ‘LT50’. 78. How to send a report to the printer instead of displaying it on the screen? We can send a report to the printer instead of diplaying it on the screen. the latest notification Click here to see our Latest Tweets .TABLES: for passing internal tables only.EXPORTING: for passing data to the called function. These always run in their own (separate) update transactions.Using a range table.77. 81.

Sign up to vote on this title
UsefulNot useful

Master Your Semester with Scribd & The New York Times

Special offer for students: Only $4.99/month.

Master Your Semester with a Special Offer from Scribd & The New York Times

Cancel anytime.