Showing posts with label abap interview questions. Show all posts
Showing posts with label abap interview questions. Show all posts

Tuesday, October 30, 2007

coldfusion interview questions and answers

1. Which path is used in the template attribute in the tag?

A. physical path
B. calling template relative path
C. web document root relative path
D. any directory under Cfusion\CustomTags

The correct answer is B.

2. Which of the following would be the last one to capture an exception?

A.
B.
C.
D. site-wide error handler specified in the ColdFusion Administrator

The correct answer is D.

3. Of these tags with errors, which could NOT be caught with a block?

A.
B.
C.
D. where file.cfm is NOT found

The correct answer is B.

4. If you have the following variable definition in the Application.cfm file, what is the scope of the variable after it is created?



A. Variables (local)
B. Application
C. Session
D. Request

The correct answer is A.

5. What is the purpose of the GetAuthUser() function?

A. To log in a specified user
B. To return the name of a logged in user who is requesting the page on which the function is used
C. To retrieve user details from a specified data source
D. To assign roles to the user who is requesting the page on which the function is used

The correct answer is B.

6. Which of the following variable types requires the use of the scope when referencing the variable? (Choose two)

A. request
B. form
C. local
D. application
E. URL

The correct answer is A and D.

7. Which function is necessary when using CACHEDWITHIN attribute with the tag?

A. CreateDateTime()
B. ParseDateTime()
C. CreateTimeSpan()

The correct answer is C.

8. What is missing from the following tag’s SELECT statement if you want to return the count?


SELECT Count(*)
FROM TestTable


A. SELECT Count(CountVar)
B. SELECT Count(*) AS CountVar
C. SELECT Count(*) INTO CountVar
D. SELECT Count(*)

The correct answer is B.

9. Which of the following ANSI standard WHERE clauses will return all rows where City begins with the letter ‘S’?

A. WHERE City LIKE “S”
B. WHERE City = ‘S*’
C. WHERE City LIKE ‘S_’
D. WHERE City LIKE ‘S%’

The correct answer is D.

10. Which one of the following tags is used for server-side validation? (Choose one.)

A. input type =”text”
B. input type=”hidden”
C. input value=”hidden”
D. input value=”text”

The correct answer is B.

11. When will the cookie created by the following tag expire?



A. never
B. after one day
C. when the last browser window is closed
D. after the timeout period for session variables has elapsed

The correct answer is C.
ColdFusion Interview Questions - Part I
15

04

2007
How would you loop through a SQL result set stored in the CF variable named my “results” and output the result set columns named “cola” and “colb” in an html table?








#cola##colb#


Given the url http://localhost/test.cfm?printmesg=yes How would you write an if statement which would echo the message “hello world!” if the url parameter printmesg equals “yes”.


hellol world!


When is it appropriate to use versus ?

allows you to set a default parameter if that variable does not have a value bound to it.
merely sets the value of a given variable.

Given the datasource named “mydb” and a SQL stored procedure named “mystoredproc” which takes the following two parameters one VARCHAR param and one INTEGER parameter respectively, how would you declare this using the cold fusion tags , , and ?





value=”#param1#”>
value=”#param1#”>



How do you call a module named “testmod.cfm” with the parameters param1=”yes” and param2=5?

param1=”yes”
param2=5>

When is it appropriate to use versus ?

Given two tables:

movie
——————
| id |
|—————-|
| title |
| rating |
| length |
| country |
——————

actor
——————
| id |
|—————-|
| movie_id |
| name |
——————

How would you write a SQL statement to find the names of all the actors associated with a movie titled “fight club”?

SELECT actor.name
FROM movie INNER JOIN actor ON movie.id = actor.movie_id
WHERE movie.title = ‘Fight Club’

movie
——————
| id |
|—————-|
| title |
| rating |
| length |
| country |
——————

director
——————
| id |
|—————-|
| movie_id |
| name |
——————

How would you write a LEFT JOIN statement to return a result set of movie.title’s and director.name’s?

SELECT
movie.title,
director.name
FROM movie LEFT JOIN director ON movie.id = director.movie_id

If there are no indices defined on any of the columns in the above two tables, which columns would you index to speed up the LEFT JOIN query?

movie_id

How would you write a simple stored procedure in TSQL which takes a movie_id and returns all the directors associated with it?

SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO

CREATE procedure [dbo].getDirector (
@movie_id INT
)

SELECT name FROM directors WHERE movie_id = @movie_id

SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO

What are the advantages and disadvantages of using stored procedures versus calling SQL inline in Cold Fusion?

Stored procedures abstract database logic from server side code. They also offer performance benefits in pushing application logic to the database side.

The disadvantage is that if they are poorly written then they can hinder database performance and make development a little more obfuscated.

How would you format some text using css to be verdana and bold?

.myfontclass {
font-family: Verdana;
font-weight: bold;
}

What is the difference between absolute and relative div positioning?

Absolute is from the absolute 0,0 position in the top left corner of the browser window. Relative is relative from the positioning of where the div is declared within the html body.

How would you declare an inline css to format the table with a background color of “yellow” and give the table cell a right margin of 10 pixels?







Hello world

Thursday, September 27, 2007

Sap abap simple interview questions

What is the diffrence between watchpoint and breakpoint?
How many watchpoints and breakpoints can be used in each program?
Types of watchpoints and breakpoints?

How do you transfer file from application server to SAP R/3 system?
What is commit and rollback?
Using BDC when uploading the data to database, what are all the fields that the table (BDCDATA) will display?

21 Comments so far »
Tharani said,
How many watchpoints and breakpoints can be used in each program?
Answer:
Maximum of 30 breakpoints can be used in a program

Expecting more & more questions on SAP ABAP

Nina said,
# What is the diffrence between watchpoint and breakpoint?
# How many watchpoints and breakpoints can be used in each program?
# Types of watchpoints and breakpoints?
# How do you transfer file from application server to SAP R/3 system?
# What is commit and rollback?
# Using BDC when uploading the data to database, what are all the fields that the table (BDCDATA) will display?

Gopal said,
what is the difference between LSMW and BDC?
what is the difference between Append Structure and include structure?

ravo said,
hw do u transfer a file from application server to SAP R/3 system ??
-> are u refering to presentation server with sapR/3 .If u are the answer is using function module gui_download.

yajuvendrasinh said,
# What is the final entry in BDC Table ?
# how can i get output on same page ?
# why Transaction Varient need ?
# if i have table control, what is the same code in PBO and PAI ?
# who take care of data while passing to application server ?
# what is output : if i click on no: 3.
do 5 times.
hide sy-index.
write / sy-index.
enddo.

at selection-screen.
write / sy-index.
endat.

# Why BAPI need then BDC ?
# what happen if i use controll break statement in between select & endselect ?
# What is lock Object ?
# Select option work like _____________on Selection Screen ?
# which sysgtem variable have current value during execution ?
# What is the main point while using controll bareak in internal table ?
# Waht is Field sysmbol ?
# Smartform uses wisely then selection screen, why ?
# Which one is not an exit comand ? (Exit, cencle, stop, back)
# Which component gives you better visibility ? (pritty Printer)
# Explain about roll area , Dispatcher, ABAP-Processor.

vijayendran said,
hi all,

can any one tell wat is the actual difference between lsms and bdc othere than auto field mapping,user interactice steps …..on wat scenario we go for lsmw since bdc also doing the same job.
because of some drawback and benefit client shift to lsmw.it will b thankful if anyone give me the solution for this.can mail to me

thankx and regards
vijai

pavani said,
what is meant by R/3 arcitecture?

what are the applications of SAP?

why SAP is writen in ABAP, why not in other programing languages?

how does SaP differs from other softwares?

Vishnu said,
maximum 5 watchpoints we can use

Prasad said,
hi,
What is the roll-area and dispatcher ?

Sheikh said,
what is the difference between occurs 0 and occurs 100.

basavaraj said,
what is the difference between occurs 0 and occurs 100.

Ans: occurs 0 will create a page of 8kb where as Occurs 100 allows maximum 100 entries..

PRIYA said,
1.How can we bring data in the last page by using end-of-page?

sharath said,
What is the main point while using controll bareak in internal table ?
Sort the table before controll break

srinivasarao said,
How many are Watch points and Break points in ABAP debugging?

Watch points : 10
Break points : 30

any other queries contact me.

roopa said,
how do u transfer file from application server to SAP R/3 system?

if u want to transfer file from presentation server to SAP R/3 u have to use either the ‘WS_UPLOAD’ function module, or the ‘GUI_UPLOAD’ function module. u can find these function modules in the T.C SE37.
Anyway it is better to go for the later becoz the ‘ws_upload’ will not be used in the coming days.

Or if u want to transfer a file from application server to SAp R/3 system, u have to use the concept of DATA SET.

ramkumar said,
R/3 architecture
Real time 3 tier architecture, wherein 3 tier includes 3 layers of systems. i.e. Presentation server(for visual), Application server(for processing the business logic) and Database server(for handling the database of SAP).

ramkumar said,
occurs 0 and occurs 100:

occurs 0:
here the size of the internal table is unknown and the abap processor allocates the sufficient memory to hold the runtime data dynamically at the time of execution.

occurs 100:
here the size of the internal table if fixed to 100 rows and the same is allocated in case of more rows in the internal table at the time of execution

phani naidu said,
can u create without main window in smartforms
i want in report disply pages like 1 of 10,2 of 10 is it possible?
in which table lsmw objects are stored?
can u migrate smart forms to script?

in which table sap scripts stored?
how to print two side of page in scripts?

vinod said,
1.can u create without main window in smartforms
ans.yes it is possible.
2.i want in report disply pages like 1 of 10,2 of 10 is it possible?
3.in which table lsmw objects are stored?
4.can u migrate smart forms to script?
ans.we cant because smartforms is an advanced concept than scripts we migrte to smartforms from scripts but viceversa is not possible
5.in which table sap scripts stored?
ans.TNAPR.
6.how to print two side of page in scripts?
ans.IN scripts (pages->printmode) we have option DUPLEX from this page can be printed in two side.

Shivakumar said,
What is the difference between internal table and structure?

I know that internal table has occurs and structure doesnt have occurs.

Then where do we use structure and where do we define internal please be specific

chetan said,
pls tell me following
1>diff between append structure and include structure.
2>what kind of data we transfer using bdc. master data
or transaction data

Sap interview questions

What is ERP? - ERP is a package with the techniques and concepts for the integrated management of business as a whole, for effective use of management resources, to improve the efficiency of an enterprise. Initially, ERP was targeted for manufacturing industry mainly for planning and managing core business like production and financial market. As the growth and merits of ERP package ERP software is designed for basic process of a company from manufacturing to small shops with a target of integrating information across the company.
Different types of ERP? - SAP, BAAN, JD Edwards, Oracle Financials, Siebel, PeopleSoft. Among all the ERP’s most of the companies implemented or trying to implement SAP because of number of advantages aver other ERP packages.
What is SAP? - SAP is the name of the company founded in 1972 under the German name (Systems, Applications, and Products in Data Processing) is the leading ERP (Enterprise Resource Planning) software package.

Explain the concept of “Business Content” in SAP Business Information Warehouse? - Business Content is a pre-configured set of role and task-relevant information models based on consistent Metadata in the SAP Business Information Warehouse. Business Content provides selected roles within a company with the information they need to carry out their tasks. These information models essentially contain roles, workbooks, queries, InfoSources, InfoCubes, key figures, characteristics, update rules and extractors for SAP R/3, mySAP.com Business Applications and other selected applications.
Why do you usually choose to implement SAP? - There are number of technical reasons numbers of companies are planning to implement SAP. It’s highly configurable, highly secure data handling, min data redundancy, max data consistency, you can capitalize on economics of sales like purchasing, tight integration-cross function.
Can BW run without a SAP R/3 implementation? - Certainly. You can run BW without R/3 implementation. You can use pre-defined business content in BW using your non-SAP data. Here you simply need to map the transfer structures associated with BW data sources (InfoCubes, ODS tables) to the inbound data files or use 3rd part tool to connect your flat files and other data sources and load data in BW. Several third party ETL products such as Acta, Infomatica, DataStage and others will have been certified to load data in BW.
What is IDES? - International Demonstration and Education System. A sample application provided for faster learning and implementation.
What is WF and its importance? - Business Work Flow: Tool for automatic control and execution of cross-application processes. This involves coordinating the persons involved, the work steps required, the data, which needs to be processed (business objects). The main advantage is reduction in throughput times and the costs involved in managing business processes. Transparency and quality are enhanced by its use.
What is SAP R/3? - A third generation set of highly integrated software modules that performs common business function based on multinational leading practice. Takes care of any enterprise however diverse in operation, spread over the world. In R/3 system all the three servers like presentation, application server and database server are located at different system.
What are presentation, application and database servers in SAP R/3? - The application layer of an R/3 System is made up of the application servers and the message server. Application programs in an R/3 System are run on application servers. The application servers communicate with the presentation components, the database, and also with each other, using the message server. All the data are stored in a centralized server. This server is called database server.
What should be the approach for writing a BDC program? - Convert the legacy system data to a flat file and convert flat file into internal table. Transfer the flat file into sap system called “sap data transfer”. Call transaction(Write the program explicitly) or create sessions (sessions are created and processed ,if success data will transfer).
Explain open SQL vs native SQL? - ABAP Native SQL allows you to include database-specific SQL statements in an ABAP program. Most ABAP programs containing database-specific SQL statements do not run with different databases. If different databases are involved, use Open SQL. To execute ABAP Native SQL in an ABAP program, use the statement EXEC. Open SQL (Subset of standard SQL statements), allows you to access all database tables available in the R/3 System, regardless of the manufacturer. To avoid conflicts between database tables and to keep ABAP programs independent from the database system used, SAP has generated its own set of SQL statements known as Open SQL.
What are datasets? - The sequential files (processed on application server) are called datasets. They are used for file handling in SAP.
What are internal tables check table, value table, and transparent table? - Internal table: It is a standard data type object, which exists only during the runtime of the program. Check table: Check table will be at field level checking. Value table: Value table will be at domain level checking ex: scarr table is check table for carrid. Transparent table: - Exists with the same structure both in dictionary as well as in database exactly with the same data and fields.
What are the major benefits of reporting with BW over R/3? Would it be sufficient just to Web-enable R/3 Reports? - Performance — Heavy reporting along with regular OLTP transactions can produce a lot of load both on the R/3 and the database (cpu, memory, disks, etc). Just take a look at the load put on your system during a month end, quarter end, or year-end — now imagine that occurring even more frequently. Data analysis — BW uses a Data Warehouse and OLAP concepts for storing and analyzing data, where R/3 was designed for transaction processing. With a lot of work you can get the same analysis out of R/3 but most likely would be easier from a BW.
How can an ERP such as SAP help a business owner learn more about how business operates? - In order to use an ERP system, a
business person must understand the business processes and how they work together from one functional area to the other. This knowledge gives the student a much deeper understanding of how a business operates. Using SAP as a tool to learn about ERP systems will require that the
people understand the business processes and how they integrate.
What is the difference between OLAP and Data Mining? - OLAP - On line Analytical processing is a reporting tool configured to understand your database schema ,composition facts and dimensions . By simple point-n-clicking, a user can run any number of canned or user-designed reports without having to know anything of SQL or the schema. Because of that prior configuration, the OLAP engine “builds” and executes the appropriate SQL. Mining is to build the application to specifically look at detailed analyses, often algorithmic; even more often misappropriate called “reporting.
What is “Extended Star Schema” and how did it emerge? - The Star Schema consists of the Dimension Tables and the Fact Table. The Master Data related tables are kept in separate tables, which has reference to the characteristics in the dimension table(s). These separate tables for master data is termed as the Extended Star Schema.
Define Meta data, Master data and Transaction data - Meta Data: Data that describes the structure of data or MetaObjects is called Metadata. In other words data about data is known as Meta Data. Master Data: Master data is data that remains unchanged over a long period of time. It contains information that is always needed in the same way. Characteristics can bear master data in BW. With master data you are dealing with attributes, texts or hierarchies. Transaction data: Data relating to the day-to-day transactions is the Transaction data.
Name some drawbacks of SAP - Interfaces are huge problem, Determine where master data resides, Expensive, very complex, demands highly trained staff, lengthy implementation time.
What is Bex? - Bex stands for Business Explorer. Bex enables end user to locate reports, view reports, analyze information and can execute queries. The queries in workbook can be saved to there respective roles in the Bex browser. Bex has the following components: Bex Browser, Bex analyzer, Bex Map, Bex Web.
What are variables? - Variables are parameters of a query that are set in the parameter query definition and are not filled with values until the queries are inserted into workbooks. There are different types of variables which are used in different application: Characteristics variables, Hierarchies and hierarchy node, Texts, Formulas, Processing types, User entry/Default type, Replacment Path.
What is AWB?. What is its purpose? - AWB stands for Administrator WorkBench. AWB is a tool for controlling, monitoring and maintaining all the processes connected with data staging and processing in the business information whearhousing.
What is the significance of ODS in BIW? - An ODS Object serves to store consolidated and debugged transaction data on a document level (atomic level). It describes a consolidated dataset from one or more InfoSources. This dataset can be analyzed with a BEx Query or InfoSet Query. The data of an ODS Object can be updated with a delta update into InfoCubes and/or other ODS Objects in the same system or across systems. In contrast to multi-dimensional data storage with InfoCubes, the data in ODS Objects is stored in transparent, flat database tables.
What are the different types of source system? - SAP R/3 Source Systems, SAP BW, Flat Files and External Systems.
What is Extractor? - Extractors is a data retrieval mechanisms in the SAP source system. Which can fill the extract structure of a data source with the data from the SAP source system datasets. The extractor may be able to supply data to more fields than exist in the extract structure.

25 Comments so far »
sunnie domasin said,
what is the difference between the storage needs of .tiff, .gif, .jpg, .doc, video, and wave files

kuppireddy said,
i hope we need to install IGS product which has to be linked with WAS

Rahul said,
What are the different types of delta mechanisms in SAP Business Warehouse?

HUSSAIN ASKARI said,
WHAT IS THE MEANING OF R IN R/3.

sathish said,
what is meant by buffering concept ?

how many types of index?

Krushna said,
WHAT IS THE MEANING OF R IN R/3.

R stands for Real-time data processing. The number 3 relates to the three tier application architecture

pethal said,
What is the difference between update rules and transfer rules

S Kumar said,
How cash is used to improve performance in BW.

How ODS uses 0recordmode to update delat. Is this process automatic?

Padma said,
R in SAP R3 is Release 3.0

swanitha said,
SAPR/3 means System Application Products Release/3 Tier architechture

Selvakumar said,
Difference between Transfer Rules and Update Rules ?

Transfer Rules : Which specifies how the mapping between the Data Source fields with the Infosource fields (So called Communication Structure).

Update Rules : Which specifies how data will be updated into the Data Targets (ODS or InfoCube). (Which internally does some techinical name mapping)

Hope this helps … Please revert back if this is not suffice …

Regards,
Selva

srinivas.k said,
R/3 means Realtime three tire Architechture. that means sap r/3 architecture will contain presentation, application and database layers. it used to be two layer (R/2)i.e presentation layer , application+database layers.

Prashant said,
Why the R/3 System is divided into three different servers?
What is the purpose of having 3 tire architecute ?

vasudev Dikshith.G. said,
What is the difference between Internal number range and external number range? and explain where exactly this number ranges will be used?

vasudev Dikshith.G. said,
1) What is the difference between Internal number range and external number range? and explain where exactly this number ranges will be used in sap sd?

2) Whether billing document uses external no range or internal no range in sap sd?

santhoshkumari said,
different types of indexes

facttable consists of single bitmap indexes, if the fact table consist of lineitem dimension then it will have a non unique b tree index
dimension table consist of unique b tree index

santhoshkumari said,
different types of delta

delta type F from flatfiles
delta type A from ALE
delta type D this is determined by the application
delta type E this is determined by the extractor

M Tyagi said,
Hi

1) What is the difference between Internal number range and external number range? and explain where exactly this number ranges will be used in sap sd?

— We are using number range to generate the number for different type of documents, Like for sales order, delivery, billing & we use them also to generate the number for master data like customer master.
The differnece between internal number range(INR) and external number range(ENR) is

In INR, System generate the Number.
In ENR, User has to give the number manually.

2) Whether billing document uses external no range or internal no range in sap sd?

—Thats depend upon the company requirement but preferably in billing document company using internal number range.Because If ur company daily create 1000 order and billing document then this is not possible that end user give the billing No for every document.

pollution said,
hey swanitha, wat is R/3?do u mean 2 say dis…

swanitha said,
SAPR/3 means System Application Products Release/3 Tier architechture

chk out wat shud b…
R stands for Real-time data processing. The number 3 relates to the three tier application architecture.
that means sap r/3 architecture will contain presentation, application and database layers. it is used to be two layer (R/2)i.e presentation layer , application+database layers.

abhijeet said,
what is the difference between open SQL and native SQL

sagar said,
1: when we go for correlation in sap xi in BPM concept?
2. what is meant by global container?
3. what is automated mail generator in xi how to create that?
4.what is the diffrece b/w RFC and IDOC adapters?

dhina said,
Open SQL statements can used with any data base irrespective of the manufactures where as Native sql statements are databse specific which could be understood only by the0 specific database

dhina said,
The Purpose of having a 3 tier archietecture is to improve the scalability. The load on the servers are also reduced as we use three different servers for presentation, application and database.

Niaz Hasnath said,
what is the difference between Open Sql & Native Sql?

Nasir Khan said,
How would you debug the security issues?