Tuesday, 11 September 2012

INTERVIEW QUESTION ON SAP ABAP R/3 ARCHITECTURE- 3



What are the roll and page areas?
Roll and page areas are SAP R/3 buffers used to store user contexts (process requests). The SAP-Dispatcher assigns process requests to work processes as they are received. If the work process is unavailable the process requests are queued in the roll and page areas. Paging area holds data from the application programs. Roll area holds data from previous dialog steps and data that characterizes user.

Name various work processes of R/3 system?
1. Dialog or Online (processes only one request at a time)
2. Background (started at a specified time)
3. Update (primary or secondary)
4. Enque (lock mechanism)
5. Spool (generated online or during back ground processing for printing)

Each dispatcher requires __________ Dialog process & Background process, __________Update process & Spool process and __________ Enque process.
At least two, At least one, only one.

By default what is the maximum time for a dialog step is allowed to remain in a dialog Work process?
300 seconds

By default what is the maximum time for the execution of job to remain in a background Work process?
60 seconds

Which parameter sets the maximum time a dialog step is allowed to remain in the dialog Work process?
Rdisp/max_wprun_time.

Which parameter sets the maximum time for the execution of job to remain in a background work  process?
Rdisp/btctime.

What is a Spool request?
Spool requests are generated during dialog or background processing and placed in the spool database with information about the printer and print format. The actual data is placed in the Tem Se (Temporary Sequential objects).

What are different ABAP/4 editors? What are the differences?
The two editors are SE38 and SE80 both have the ABAP editor in place. In SE38 you can go create programs and view online reports and basically do all the development of objects in this editor. In SE80 (object navigator) there are additional features such as creating packages, module pool , function group ,classes, programs (where you can create your programs) and BSP applications. SE39 should also be one as it is the split screen attribute where you can edit two programs at a time.

How to lock a user defined transaction for some time during which no user can access the same?
 Use transaction SM01. Scroll through the transactions and check against the transaction to be locked. And after the maintenance is over, go back to SM01 and uncheck the same to unlock.




 How to lock a user defined transaction for some time during which no user can access the same?
 Use transaction SM01. Scroll through the transactions and check against the transaction to be locked. And after the maintenance is over, go back to SM01 and uncheck the same to unlock.

What is a transaction?

A transaction is a dialog program that changes database objects in a consistent way. In SAP terminology, a transaction is series of logically connected dialog steps. SAP offers more than one way of running an application which may be the existing standard SAP application such as SE11, LSMW etc or, developer-definedapplication to which a transaction code has been assigned. Using transaction codes we can run an application directly without consuming time in locating the program or application through Object Navigator (SE80) or ABAP/4 Editor (SE38).
Transaction code have maximum of four digits. First two digits are allocated for individual module in SAP. i.e., For ABAP people it will start with SE, for BW people it is SM. A transaction code may contain only letters such as LSMW or a combination of letters and numbers such as SE11.
You are writing a transaction to update a database table.



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.


Dialog-task updates are ___________ updates and Update-task updates are ___________ updates.
Synchronous, Asynchronous

Name the display and update modes in the case of call transaction.
        Display all (A).
        Display none (N).
        Display error only (E).
        Synchronous Update (S).
       Asynchronous Update (N).

What are the types of Update requests?
An update request can be divided into one primary (V1) and several Secondary update components (V2).
Time-critical operations are placed in V1 component and those whose timing is less critical are placed in V2 components. If a V1 update fails, V2 components will not be processed.

What are the main reasons for using update techniques?
   To collect database change requests from several dialog steps in order to process them or delete them together.
   To create reusable modules for database changes.
   To relieve the load on the dialog work processes.

What are the types of Update requests?
An update request can be divided into one primary (V1) and several Secondary update components (V2).
Time-critical operations are placed in V1 component and those whose timing is less critical are placed in V2 components. If a V1 update fails, V2 components will not be processed.

What is the maximum number of SAP Session per user? Which parameter sets this and how?
The default maximum no. of sessions in 4.6x is set as 6 session per user. Most company will reduced the number of session per user but not increase it.
      You set this Parameter rdisp/max_alt_modes in transaction RZ10.
     Add in the above parameter in the Instance Profile - > Options Extended Maintenance.
     Restart the R/3 instance.


Which work process triggers database changes?
Update work process.














Monday, 10 September 2012

INTERVIEW QUESTION ON SAP ABAP R/3 ARCHITECTURE-2


What is the meaning of "R" in R/3 systems?
R/3 stands for real-time three tier architecture. R/3 means three layers are installed in Different System/server and they are connected with each other.

Which interface controls what is shown on the PC?
Presentation Interface.

For which tasks is the database interface responsible?
1.       Conversion of Open SQL statement from ABAP statements into the corresponding database statements.
      2. Database independence of application programs.
      3. Usage of the SAP buffers.

What are presentation and application servers in SAP?
Presentation server is actually a program named SAPGUI.exe. It is usually installed on a user’s Workstation. Application server is a set of executables that collectively interpret the ABAP/4 programs and manage the input & output for them.

Where does an ABAP program get stored after save?
SAP program is stored in Application server and SAP kernel.

Who take care of data while passing to Application server?
Database interpreter.

What guarantees the integration of all application modules?
The R/3 basis system guarantees the integration of all application modules. The R/3 basis software provides the run time Environment for the R/3 applications, ensures optimal integration, defines a stable architectural frame for system Enhancements, and contains the administration tools for the entire system. One of the main tasks of the Basis system is to guarantee the portability of the complete system.

What is a Server & Client in SAP terminology?
ServerA component can consist of one process or a group of processes and is then called the server for the respective Service.
ClientA software component that uses the service (offered by a software component) is called a client. At the same time these clients may also be servers for other services.
A single R/3 system can manage the application data for several separate areas of business. Each of these commercially separate areas in the R/3 system is called a client. Every client has a unique number, and when a user Logon to R/3 System they specify that client number. Both client and server is self-contained organization unit in the system.

What are R/3 Basis configurations?
1. A central system with centrally installed presentation software.
2. Two-level client/server system with rolled out presentation software.
3. two-level client/server system. Presentation and Application run on the same computer.
4. three-level client server system. Presentation, application and database each run on separate computers.
5. from hardware perspective, every information system can be divided into three task areas
Presentation, Application Logic and Data storage. The R/3 Basis software is highly suitable for use in multi-level client/server architectures.

What is a SAP System?
The union of all software components that are assigned to the same database is called as a SAP system.

Does SAP handle multiple currencies?
Yes.

SAP system configuration includes _______ tasks and ________ tasks.
Dialog, Update.

Define Instance.
An instance is an administrative unit in which components of an R/3 system providing one or more services are grouped together. The services offered by an instance are started and stopped at random. All components are parameterized using a joint instance profile. A central R/3 system consists of a single instance in which all necessary SAP services are offered. Each instance uses a separate buffer areas.

Which SAP GUI types are there?
SAP GUI for Windows.
SAP GUI for HTML.
SAP GUI for Java.

Explain how SAP GUI handles output screen for the user.
The SAP front-end software can either run on the same computer or on different computers provided for that purpose. User terminal input is accepted by the SAP terminal program SAP GUI, converted to SAP proprietary format and sent to the SAP dispatcher. The dispatcher co-ordinates the information exchange between the SAP GUIs and the work processes. The dispatcher first places the processing request in request queues which it then processes. The dispatcher dispatches the requests one after another, to the available work process. The actual processing takes place in the work process. When processing is complete, the result of a work process is returned via the dispatcher to the SAP GUI. The SAP GUI interprets the received data and generates the output screen for the user.

What is SAP dispatcher?
SAP dispatcher is the control agent which manages the resources for the R/3 applications.

What are the functions of dispatcher?
Functions of dispatcher are:
1. Equal distribution of transaction load to the work process.
2. Management of buffer areas in main memory.
3. Integration of the presentation levels.
4. Organization of communication activities.

Which component of an application server controls the data traffic between work process and presentation server?
Dispatcher.

What is a work process?
A work process is where individual dialog steps are actually processed and the work is done. Each work process handles one type of request. Dialog work processes perform only one dialog step and then available for the next request.

INTERVIEW QUESTION ON SAP ABAP R/3 ARCHITECTURE- 1

ABAP R/3 ARCHITECTURE

What is SAP?
Systems Applications and Products in Data processing which is an ERP S/W to integrate the different Segments of an enterprise and ABAP forms an integrated development workbench for the R/3 System.

What does ABAP stands for?
ABAP stood originally for "Allgemeiner Berichts Analyse Prozessor". Then, when the company turned International, they created an English "acronym" for ABAP - Advanced Business Application Programming, as we know it. So far, so good, this is not uncommon. The interesting thing is that the original German name translates to "Common Report Analysis Processor".


3.What are the differences between SAP R/3 version 4.6C and SAP R/3 version 4.7?

Partner determination in SD Module.


4. What are the main advantages of SAP ECC6.0 over 4.7 EE ?

E.C.C 6.0 is said to be the advanced version right now, in order to reduce the more code and use more  Functionality, and for high performance testing we go with E.C.C 6.0. It is said to support all type of functionalities in any conditions. More standard reports & tables, etc are available. Advantage of 64 bits is in the amount of memory that your system will be able to use. 32 bits systems are limited to 4 GB of memory. With 64 bits systems you can virtually use 18 millions TB of memory (almost limitless).So it's better for systems with high number of users, high need of memory for buffers, etc., to be in 64 bits kernel.

What is SAP IDES (Internet Demonstration and Evaluation System)?
SAP IDES is a normal R/3 but with lots of DEMO data. The system that contains several sample companies typifying relevant business processes. It is simple to use and has a variety of master and transaction data, and is used for demos, online/classroom training, and presentations. Potential customers use IDES to trial and test software via Internet.
SAP IDES – the "Internet Demonstration and Evaluation System" in the R/3 System, represents a model company. It consists of an international group with subsidiaries in several countries. IDES contains application data for various business scenarios that can be run in the SAP System. The business processes in the IDES system are designed to reflectReal-life business requirements, and have access to many realistic characteristics. IDES uses easy-to-Follow business scenarios to show you the comprehensive functions of the R/3 System. The focal point of IDES, however, is not the functionality itself, but the business processes and their integration.
IDES is managed by SAP just as any regular business enterprise. SAP regularly updates the IDES data (Master data, transaction data, and customizing). IDES not only covers the Logistics area, but also Financials, and Human Resources, it also demonstrates how the R/3 System is able to support practically all types of industries, from discrete production through to process Industries, from Engineering-to-order to repetitive manufacturing. However, IDES is not a sector-oriented model Company. The individual Processes are based on practice-oriented data for sectors such as Retailing or Banking. The IDES group Manufactures, Products as diverse as elevators, motorcycles, and paints.

What are the central interfaces of the R/3 system?
Presentation interface, Database interface & Operating system interface.

                                                                                                                                CONTD..



Tuesday, 4 September 2012

Introduction to SAP ABAP


ABAP (Advanced Business Application Programming, originally Allgemeiner Berichts-Aufbereitungs-Prozessor, German for "general report creation processor"[1]) is a high-level programming language created by the German software company SAP. It is currently positioned, alongside the more recently introduced Java, as the language for programming the SAP Application Server, part of its NetWeaver platform for building business applications.

ABAP is one of the many application-specific fourth-generation languages (4GLs) first developed in the 1980s. It was originally the report language for SAP R/2, a platform that enabled large corporations to build mainframe business applications for materials management and financial and management accounting. 
ABAP used to be an abbreviation of Allgemeiner Berichts Aufbereitungs Prozessor, German for "generic report preparation processor", but was later renamed to the English Advanced Business Application Programming. ABAP was one of the first languages to include the concept of Logical Databases (LDBs), which provides a high level of abstraction from the basic database level(s).

The ABAP programming language was originally used by developers to develop the SAP R/3 platform. It was also intended to be used by SAP customers to enhance SAP applications – customers can develop custom reports and interfaces with ABAP programming. The language is fairly easy to learn[opinion] for programmers but it is not a tool for direct use by non-programmers. Knowledge of relational database design and preferably also of object-oriented concepts is necessary to create ABAP programs.
ABAP remains as the language for creating programs for the client-server R/3 system, which SAP first released in 1992. As computer hardware evolved through the 1990s, more and more of SAP's applications and systems were written in ABAP. By 2001, all but the most basic functions were written in ABAP. In 1999, SAP released an object-oriented extension to ABAP called ABAP Objects, along with R/3 release 4.6. SAP's current development platform Net Weaver supports both ABAP and Java.

(source-www.wikipedia.com)

ABAP is one of the most interesting programming language I have ever known. I'll try my level best to solve all your SAP ABAP queries through my blog. 

Thank you.