Saturday, April 21, 2012

SAP Various Interview Questions

Dear ABAPers, This post gives the list of Interview questions on SAP ABAP. The list includes the real time interview questions asked by the top MNC'S in their interviews. For more details refer this post. 



Re: what is sap package ? Answer

A Package is Type of Development object which act as a container to store a development objects such as screens , menus, function , transactions


Re: How to debugg script? Answer

go to se71

specify the form name,

utilities

under that activate debugger

sap scripts was debugger.

go to me23n

click on print preview,

one popup will display like sap script was debugger 

click on ok button

here it will display the form painter,

here we can debug the form


Re: Hi To all ABAP Guru's while transporting any report program do we need to trasnport the text elements seprately or not reuired ? if it is so how do u transport the text elemtns ? Thanks in Advance for ur answers Answer


Text elements or any GUI elements get stored in a separate
repository called MIME in ABAP. If you want to transport
text elements or GUI elements of your report, the only thing
you have to take care is - Transport your report in a
specific package, Go to the Object navigator and make sure
you transport the relevant text and GUI objects via the same
package.

Transporting / not transporting purely depends on the requirement.



Re: how can we print both side in smartforms? what connects smartform to it's driver program? in which event validation is done? Answer

We can print page in both sides , By setting print mode as 'DUPLEX' in Print attributes of page node.

FUNCTION MODULE connects Smart form to its driver program.


Re: u r running a report .it is taking a long time for execution .what steps will u do to reduce the execution time? Answer

If the report is taking time to fetch data from the database
server we have to make sure that there is an optimized
"query". In order to have an optimized query we need to
write an optimized "where" conditions. That's database part.

Coming to the Programming part.

Say example. Our program has the usage of 95% and the
database usage of 5 % then we have to see the program's
performance. Try to reduce the number of LOOP's in a program
and also try to use the logical operators where ever
necessary to reduce the size of the program . that could
solve the problem.
Performance of reports could be increased by avaioind nested
select statements. Instead use Select ... FOR ALL ENTRIES.

Restrict the use of Select... Endselect, instead go for
select .. inot table itab and then loop at itab.

Avoid nested loop statement, Do not use select within loop.

Do not call function module within loop statement.


Re: How to compare the two tables between the two systems? what is the process if anyone tell me please give me the answer? Answer

You can use the Transaction SCMP to compare table or view of two different systems. For this you need to have R/3 connection.


Re: we can write the select query or any code after the end of selection Answer

yes ,we can write.



Re: what is the use of lock object?? Answer

Lock objects are use in SAP to avoid the inconsistency at the time of data is being insert/change into database.

SAP Provide three type of Lock objects.

- Read Lock(Shared Locked)

protects read access to an object. The read lock allows other transactions read access but not write access to the locked area of the table


- Write Lock(exclusive lock)

protects write access to an object. The write lock allows other transactions neither read nor write access to the locked area of the table.

You can create a lock on a object of SAP thorugh transaction SE11 and enter any meaningful name start with EZ Example EZTEST_LOCK.


Technicaly:

When you create a lock object System automatically creat two function module.

1. ENQUEUE_<Lockobject name>. 

To insert the object in a queue.


2. DEQUEUE_<Lockobject name>. 

To remove the object is being queued through above FM.

You have to use these function module in your program



Re: If we put Top of Page in between Start-of-selection and End-of-selection and what happens Answer

Nothing will happen! the run time system picks up the events always in its pre-defined order.eventough you code any event in any order always right event is picked and processed.



Re: What is a difference between - RETURN, EXIT, CHECK, STOP & REJECT - To leave the processing blocks Answer

STOP: This terminates the block and executes end-of selection.

EXIT: It terminates the loop processing and process the next statements.

CHECK: It evaluates the subsequent logical expression if it is true the processing continue with the next statement.

CONTINUE: terminates the current loop pass, returns the processing to the beginning of the loop and starts the next loop pass,

REJECT: it terminates the current event, even from loops or
subroutines.



Re: How to get the table name from a field? NOTE:if only the field name is given in a flat file. Answer

we can find the table for a specific field from table DD03L which will contain all table names for corresponding fields.


Re: how many times a main window can be placed on placed on the same page in a layout Answer

99 main windows we can place in same page Main00, Main01..... Main98


The Session method in BDC utilizes the Function Modules:

BDC_OPEN_GROUP

BDC_INSERT

BDC_CLOSE_GROUP

The data is present in the session is not updated in the tables until & unless the session is processed by the transaction SM35. It also updates the data synchronously. It has an inbuilt error log.

Call Transaction method:Update the records faster.It should return the value.



Re: How to deactivate the sort button from the alv output Answer

goto  "reuse_alv_grid_display"

there sort option is there

give status ' '



Re: diff way of handling errors in call trans ans session methods Answer

In call transaction, the errors can be handled by BDCMSGCOLL Structure and its fm format_messages to display the appropriate messages.


In Session Method, we have generated error logs to locate the errors wherein we can find errors on a particular line. After that , error log analysis report will be generated to update errors.   


In call transaction we handle the the errors explicitly Where as in session method errors will be implicitly in error logs.



Re: can please tell me the differences b/w Bapi & bdc? Answer

Bapi's are procedural and object oriented.the main advantage of bapi's is they are also used for the migration of data from one non-sap to sap system.

Bapi's are useful for certain taransactions where bdc's
can't be used like nace transactions.


Re: wat is RFC?wat r the RFC types? Answer

A remote function call is a call to a function module running in system different from the caller's. the remote function can also be called from with in the system , but usually caller and called will be in different system. 

RFC are three type

1.asyncharnous

2.syncharnous

3.transaction


                                        Click Here For SAP Interview Questions II


For More Real Time Interview Questions See Below Posts

















"You found the information helpful and want to say thanks? Your donation is enough to inspire us to do more. Thanks a bunch!"

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Categories

ABAP (1) ABAP Interview Questions (112) ABAP Open SQL Statements (1) ABAP Syntax Rules (6) ABAP WORKBENCH (2) ABAP-Interview-Questions (52) ALE IDOC (6) ALE IDOC Interview Questions (6) ale-idoc (6) ALE-IDOC-Interview-Questions (19) ALV Interview Questions (5) ALV-Interview-Questions (22) BADI (2) BAPI (1) BAPI Interview Questions (1) BAPI-Interview-Questions (14) BDC (6) BDC Interview Questions (6) BDC-Interview-Questions (9) big data (2) big data interview questions (1) Classical Reports Interview Question (3) Classical-Reports-Interview-Questions (22) Conditional Statements (1) Cross Applications (3) Cross-Applications (14) Data Dictionary (22) Data Type Questins (1) Data types (1) Data-Dictionary (48) Data-Type-Questins (6) Dialog programming (5) Dialog Programming Interview Questions (4) Dialog-Programming (30) DOMAIN Interview Questions (1) Domain-Interview-Questions (8) Function Module (2) hadoop (2) hadoop interview questions (2) hdfs (1) IDoc Tutorials (6) Interactive Report Interview Questions (4) Interactive-Reports-Interview-Questions (22) Internal Tables (1) interview questions (1) Lock Object Interview Questions (1) Lock-Objects-Interview-Questions (10) Logical Database (1) Modularization Interview Questions (4) Modularization-Interview-Questions (25) Module Pool Programming (5) Module-Pool-Programming (39) modules in sap (1) Object Oriented ABAP (19) Object Oriented ABAP Interview Questions (15) object-oriented-abap (2) Object-Oriented-ABAP-Interview-Questions (34) OOABAP (9) Reports (14) Reports Interview Questions (9) Reports-Interview-Questions (19) RFC (1) RFC Interview Questions (1) RFC-Interview-Questions (14) RICEF (1) RICEF Objects (1) SAP (4) SAP ABAP (4) SAP ABAP Interview Questions (42) SAP ABAP Introduction (46) SAP ABAP Message Types (2) SAP BADI Interview Questions (2) SAP Basics (71) SAP Books (2) SAP Certification (1) SAP CONSULTANTS (5) SAP CRM (1) SAP ENHANCEMENTS (3) SAP EXITS (2) SAP EXITS ( SAP ENHANCEMENTS ) Interview Questions (1) SAP Free Books (1) SAP HR (2) SAP Lock Object (1) sap modules (2) SAP Open SQL Statements (1) SAP R/3 Architecture (4) SAP Search help (1) SAP Smartforms (1) SAP Smartforms Interview Questions (2) SAP Tables (5) SAP Tcodes (10) SAP Views (1) SAP Webdynpro ABAP (12) SAP Work Processors (2) SAP Workflow (3) SAP-BADI-Interview-Questions (11) SAP-Enhancements (39) SAP-Exits (39) SAP-Exits-Enhancements-Interview Questions (3) SAP-HANA (1) SAP-HANA-Interview-Questions (1) SAP-Smartforms-Interview-Questions (2) SAP-Workflow (3) Scripts (3) Scripts Interview Questions (2) Scripts-Interview-Questions (32) Search Help Interview Questions (1) Search-Help-Interview-Questions (9) Smartforms (1) Table Maintenance Generator (1) Table-Maintenance-Generator (4) Tables in SAP (2) Tables Interview Questions (3) Tables-Interview-Questions (3) Type Group Interview Questions (1) Type-Group-Interview-Questions (7) Variable Declaration (1) Views Interview Questions (1) Views-Interview-Questions (5) Webdynpro (12) what is big data (1)

Protected Blog

 
This blog is not affiliated to SAP AG |SAP is trademark of SAP AG |The information collected from various sources use information with your own risk.