Saturday, April 21, 2012

Interview Questions for SAP ABAP Beginers

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 companies in their interviews. For more details refer this post. SAP Interview Questions 7.




  
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.


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.


What are the events in ABAP/4 language?

- Initialization, At selection-screen, Start-of-selection, end-of-selection, top-of-page, end-of-page, At line-selection, At user-command, At PF, Get, At New, At LAST, AT END, AT FIRST.


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.


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


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.


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.


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.


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.


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.


Re: Difference between GET and GET Late? Answer

Get node.

Read the first record from the database for corresponding
node(table).

Get node Late.

Read the first record from the database for corresponding
node(table) after processing all child nodes.



Re: How would you debug custom programs at runtime? Answer

Give /h to go to debug when executing.
This is also applicable for standard code. But system
debugging has to be switched on.



Re: How to validate the entry in Screen & dialog proframming?? Is there any way to send the error?? Answer

at PAI of screen write
   
CHAIN.
   FIELD <field name > MODULE module_name.
   ENDCHAIN

double click on module name and write the code with error message. it'll through the message and will give the chance to correct it.



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: Types of updating in call tr? Answer

In BDC's Call transaction method there are three types of
updation modes:

1) Asynchronous - A

2) Synchronous - S

3) Local -  L


Re: if u write a write statement after end of selection ,will that be triggered? Answer

Without Stop statement also it will trigger.
End-of-selection normally triggers when all the records
have been read from database.

start-of-selection.
end-of-selection.
write : / 'endofselection'

1)
In Smartforms also have standard Forms.
Goto Smartform-> Form -> F4
You can find all the standard smartforms.


2)
Whenever you copied standard script you have to change the
configuration in NACE then it will work.


Re: what are the events in sap script print progam. Answer

as SAPscript print program itself is a report program and
it does not create any secondary lists, all the events for
Basic List will be applicable here.

Initialization.
At selection-screen.
start-of-selection.
end-of-selection.


Re: How you will catch errors in call transaction? Answer

We will catch errors in the call transcation explicitly by
using Structure BDCMSGCOLL. and FUNCTION MODULE 'WRITE_FORMAT'.

Ex:
Data  :  bdc_msg type table of bdcmsgcoll with header line,
   bdc_tab type table of bdcdata with header line.

CALL TRANSACTION  'MM01' using Bdc_tab mode N
                                      updte S
                         messages into bdc_msg.
if sy-subrc = 0.
   perform  Error.
  clear bdc_msg.
  refresh bdc_msg.
endif.
 Read table bdc_msg with key msgtype = 'E'.

 if sy-subrc = 0.
 call function 'FORMAT_MESSAGE'.
...
..
..


 Re: how to run bdc program in background? Answer

1.If your using call transaction method the on the syntax for call transaction as shown below put "N" as the option which stands for no screens.

CALL TRANSACTION 'MM01' USING BDCDATA MODE A/E/N UPDATE A/S
MESSAGE INTO MESSTAB.

Mode A/E/N stands for A - All screens
                      E - Error screens
                      N - No screens
Update A/S stands for A - Asynchronous
                      S - Synchronous

2. If you use session method go to SM36 to schedule a
Back ground job.


                            Click Here for SAP Interview Questions 8



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.