Accenture Questions

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 10

ACCENTURE QUESTIONS:

1.) as a developer how u will decided which internal table we


will
use for requirement?
A.) Most of the time we go for standard internal table. However, where main
operation is key access, Hashed internal table is most appropriate. Hashed
internal tables are useful if you want to construct and use an internal table which
resembles a database table or for processing large amount of table. If you are not
sure about it, then go for standard internal table. 

2.) what is 'X' parameter in BAPI?


A.) to make a changes in BAPI Parameter we will be using staemt 'X". 

3.) in which situation we use user-exits and badi's?? with example


A.) in more elaborative way...i can say that
user exit has a single implementation , badi has multiple implimentations , the more
added advantage of badi compared to exit is , we can deactivate particular
implementation in the production server, if the particular implimentation need not be
executed.but for such opportunity lacks. 

B.) User exit allows to add only one extra functionality in standard SAP program but
BADI allows multiple functionality through implementations and methods. 

4.) How can we create Search Help, without using table field?
for example I have two fields in one table and I required
one more field in search help how?
A.) create first a view of the two table in SE11 transaction.
Then create the search help based on that view. 

5.) How will you add search help in a program


A.) first create search help in se11
and then write below code in report
parameters: p_bukrs type bukrs matchcode <search help name>
B.) one way is to create search help in DDIC and use matchcode.
Another is by calling the function module 'F41F_INT_TABLE_VALUE_REQUEST' ,U
CAN ADD search help to a field. 

6.) How can we display multiple alv's without using containers?


A.)Using BLOCKED ALVS.

7.) I have 250 records in an internal table, tell me how to


randomly delete the each 5th record...i,e 5,10,15,20 like
this.
A.) Do.
T = sy-index * 5.
Read table itab index T.
If sy-subrc = 0.
Delete itab index T.
Else
EXIT.
ENDDO. 

8.) Can we use instance attributes inside a static attributes?


say yes or no ?
A.) no we can't use because static attributes are created when a class is declared and
we can use before instance created to that class but the instance attributes are get
initialized and activated only after the class is instantiated. 

9.) Can a function group share its subroutine with all its
function modules?
A.) yes...i think it is better to keep the function modules which will share the same
data into a function group..then function group shares all the sub routines to the
function modules.. 

10.) 1.In Change pointers ,


Using BD61 I activate globally and I enable the MATMAS
message type
When I Ran the "RBDMIDOC" SYSTEM GIVES information
messagge 253 MASTER IDOCS CREATED.
MY Question IS :1.what is 253
2.PlZ explain internal PROCESS ,HOW ITS
GENERATE 253 MASTER IDOcs?

A.) 253 - is number of master idocs created..it means system found changes in 253
material masters. Master Idocs are Idocs without receiver and sender details in
it....they are only created in memory and not in database..based on configuration
of distribution model / Partner Profile the receiver details are put into idocs and as
many communication idocs are creates based on number of recipients.
Communication idocs are stored into the database 

11.) what is the difference between interface and global


diffinations in smartforms?
A.) Main Diffrence between Form Interface and Global Definition 
is

Form Interface is the interface between your driver program 


and Smartform. You are passing the necesssary value of 
tables or fields from your Driver program to Smartform in 
runtime.

Global Definition is used the variables which can be used 


in Smartform only. Where you do processing and using the 
output.
Simple example is Global and Local Varialbles which can be 
used in a simple report.

Hope, it clear your doubts. For more clarification ,please 


reply other appreciate for the same. 

12.) How to add more than one message to one idoc?


Tell me Process
A.) WE82 is the transaction code to assign message type to Idoc.
we can assign more than one message type to a single IDOC
1.message type1 - IDOC - version
2.message type2 - IDOC - version 

13.) What is update task


A.) The IN UPDATE TASK statement allows you to call a function
module but it will not be executed until an update task is
initiated by the 'COMMIT WORK' statement. This means that
the program logic after calling the FM will immediately
continue with the next line of ABAP code and the FM will sit
and wait for the commit work. This also allows you to
execute several sections of code asynchronously by calling
the ABAP function module with the IN UPDATE TASK statement
then performing the commit work command. See example below!

Execute FM in update task with separate unit of work

CALL FUNCTION 'Z_FMODULE' IN UPDATE TASK


EXPORTING
P_UNAME = sy-uname.

commit work. "Commits all work to database and also starts


all FM's running in update task

"loop at it_ekko. "program continues with next line of ABAP


without waiting for update and FM to finish
"...
"endloop. 

14.)What is Idoc Archiving?

A.)

15.) How to Reprocess an Idoc ?

A.)Goto WE02->Open ur idoc and expand the status records->Now double click on page like

Option for the segment->Select display change icon->Now perform changes in the value and
Select save option->Now goto BD87->Provide idoc number->F8

16.) What is the relation between Badi and Bapi ?

A.)

17.) 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 ?
A.) 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. 

18.) if i want to take some matter from a smart form to another


smart form .then how is it possible?
A.) open smartform select node or text --> utilities --> download form -->save it by
providing the location .
then,
open another smartform where you want paste that object 
put curser on the target 
then utilities --> upload -->save smartform.

if clipboard space issue is there then download clipboard software for more space
so, that u can copy larger containt . 

19.) why do you selected sap abap as your career as there are many technical modules are
there?

A.)Interesting in coding.

20.) explain the role of CTUPARAMS structure in call transaction?

a.)

21.) Why is smart form more preferred printing utility than sap
script ?
A.)

22.) difference between step loop and table control?


A.) Table Controls: A table control is used to pass the data 
into the table at the runtime of the system. By using the 
loop at statement in both PAI and PBO events. It is treated 
like a loop in the both of the statements.You can scroll 
the both vertically and horizentally.

Step loops: It is also called the screen table. But the


major difference between the step loop is used to repeat the
block of the fields of the screen . These fields are 
repeated each and every time of the screen. But you can 
scroll vertically but not horizentally.

TABLE CONTROLS are simply enhanced STEP LOOPS that display 


data 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 that in STEP LOOPS, their table rows can span more than 
one line on the screen. By contrast the rows in a TABLE 
CONTROL are always single lines, but can be very long. ( 
Table control rows are scrollable ). The structure of table 
controls 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.

23.)How to put PAGE BREAKS in smartforms?

A.) in smartfoms under loop statement in data tab select event 


on sort end checkbox .then one event on sort end node will 
be displayes just right click on this node & select 
command option . then in command select go to new page 
checkbox & give new page name . 

24.)Diff b/w SY-CPROG AND SY-REPID.

A.)Sy-cprog – MAIN PROGRAM

Sy-repid – Current program

25.) How to add background picture/graphics in alv report?

A.)

a.) How to test a script?how to find versions in scripts?


A.) To test a script, goto menu utilities -> printing test
to find versions of the script goto menu utilities -> 
vesions .

26.) as a tem leader whats tools u have used in sap


A.) During SAP projects, there are several tools that are 
forgotten or not very well known, but which helped us to 
create better custom solutions that you can take advantage 
of. In many cases, these tools help to avoid generating new 
proprietary code. A too-high percentage of consultants does 
not know all of these tools, or does not use them because 
of lack of knowledge or because of some myths or false 
assumptions about them. Without going into a deep and 
detailed analysis, I will mention some of the most 
important tools we should consider for our project: 
Reporting: 
• Report Writer, Report Painter, and ABAP-Queries, the 
three report generators available in R/3, very powerful, 
and relatively easy to use. 
• Business Warehouse, the data warehousing tool included in 
the SAP licenses: highly configurable and with easy data-
extraction functionalities to all other SAP solutions and 
integration with almost all standard architectures 
(Crystal, Ascential). 
• Information Systems, the standard reporting structures in 
some SAP solutions (R/3). 
• ABAP List Viewer, a set of ABAP-Objects available to 
develop highly configurable reports (lots of standard SAP 
reports are developed with these objects). 
• IViews/MiniApps, standard solutions which include 
standard SAP data, graphics, and transactions into a 
browser environment (mySAP Workplace/mySAP Portal). 

Interfaces: 
• BAPIs (Business Applications Programming Interfaces), a 
set of standard RFCs (Remote Function Calls) to access and 
enter SAP data without the typical maintenance problems of 
custom developments (SAP maintains these BAPIs). 
• IDOCs, the EDI objects for connecting on-line with other 
systems/solutions. 
• DCOM Connector, a development kit to simplify the 
development of interfaces to SAP solutions from COM+ 
applications. 
• SAPGUI Off-line entry tools, a set of different tools to 
enter or access SAP data with standard tools like the 
Microsoft Office Suite. 
• SAP Console, a small server to convert graphic screens 
from SAP into text screens (typically used to access SAP 
transactions with a text-enabled wireless device like some 
barcode readers). 
• LSMW, an R/3 transaction for developing interfaces. 
Programming screens and logic: 
• GuiXT, non-proprietary SAP software included in the 
standard SAPGUI. It provides the ability to change the 
appearance of screens without changing the standard SAP 
code. (It works on the front-end level.) 
• Input Assistance, just like GuiXT. It works on the front-
end level, and permits users to change some logic of the 
SAP transactions without changing the standard SAP coding. 
(It needs an additional license from the manufacturer.) 
• SAP Console (already stated above). 
• BAPIs (already stated above). 
• SAPGUI Off-line entry tools. 
• User-Exits, predefined places in the SAP code where some 
proprietary code can be included. (SAP guarantees to 
maintain this code for subsequent versions without 
alteration of the logic.) 
• Field-Exits, a possibility to include some code to 
control or change the content of input fields. 
• match codes, a way to add or change available filters and 
queries to search for the content of particular fields. 
• Workflow/Webflow, the workflow functionality found across 
every solution/module of SAP, to trigger automatic events 
when a specific situation occurs. 
• Validations and substitutions, customizing tools to avoid 
codification of controls and substitutions of fields found 
in some areas/modules of SAP Solutions. 
• IViews/Miniapps (already stated above under Reporting). 

Forms: 
SAPScript and SAPForms, two different tools to develop 
output forms and to avoid using ABAP code. SAPForms is much 
more user friendly and the new (and recommended) tool to be 
used. 
Today, with the new NetWeaver™ technology, there are 
additional tools that should be analyzed: 
• XI (Exchange Infrastructure – The EAI Solution of SAP). 
• SAP Enterprise Portal for e-collaboration, knowledge 
management, etc. 
• MDM (Master Data Management to ensure information 
integrity and harmonization across the business network). 
• SAP Web AS (Web Application Server for Web services). 

1 . Explain the working procedure of binary search? How it will improve performance.
2.suppose AT New placed on third field on IT, How it will work.Explain the scenario,what about
right hand side fields and left hand side fields.

3.what is folder option in smartforms.

4.In script,how to print the output in different languages.suppose in will develop in EN, now the
output will convert into DE, FR how will do it?

5 The smart form developed in EN ,I wrote the subroutine in EN,now I want convert into
DE(German),ihe subroutine it will works otherwise I will write another subroutine.

6.The internal table exceeds its capacity,now I will execute the program it goes to dump?How will
rectify it?

7.If I want update a custom table ,what will be the prerequisites ?Explan the procedure?what are
the parameters to pass?

8.smart form is clint independent or not?what about so10?

9.What are the prerequisites to apply modify keyword?

10.what is size category?

11.what are prerequisites to use for all entries?

12.smart form is moved to production ,the same function module is used or it will generate another
one.

13.Explan your current project .

14.I moved a transport request from development to quality, once I would check it ,it will perfectly
executed and now I moved to production, it does n’t moved.To do this what areas you will check it?

15.we can generate maximum 20 secondary lists in reports.Now I want generarte 21secondary
list.what will happen.

16.Difference between databaseview and maintenance view.

1. why do you selected sap abap as your career as there are many technical modules are
there?
2. explain the role of CTUPARAMS structure in call transaction
3. Why is smart form more preferred printing utility than sap script ?
4. difference between step loop and table control?
5. How to put page-breaks in smartforms?
6. Difference between SY-CPROG and SY-REPID?
7. How to add background picture/graphics in alv report?
8. How to test a script?how to find versions in scripts?
9. How to find user exit
10. 
11. how we can modify a internal table without using modify statement
12. By using which single table i can get all the detail from sale order to billing not used
vbak, vbap, vbrk & vbrp.
13. Can any tell me some std BAPI's which r used regularly....and they use and means of
it?
14. In alv Reports,how the Output is displayed ad editable and how i can edit the same
and how it will reflect the DB?
15. What is Project management?I was asked weather u worked on This?
16. We have 100 records in table how to fetch 10 th record?
17. How to create hashed tables?and its purpose
a.) Standard table:
The key access to a standard table uses a sequential search. The time required for an access is linearly
dependent on the number of entries in the internal table.
 
You should usually access a standard table with index operations.
 
Sorted table:
The table is always stored internally sorted by its key. Key access to a sorted table can therefore use a binary
search. If the key is not unique, the entry with the lowest index is accessed. The time required for an access is
logarithmically dependent on the number of entries in the internal table.
 
Index accesses to sorted tables are also allowed. You should usually access a sorted table using its key.
 
Hash table:
The table is internally managed with a hash procedure. All the entries must have a unique key. The time required
for a key access is constant, that is it does not depend on the number of entries in the internal table.
 
You cannot access a hash table with an index. Accesses must use generic key operations (SORT, LOOP, etc.).
Hashed tables
This is the most appropriate type for any table where the main operation is key access. You cannot access a
hashed table using its index.
The response time for key access remains constant, regardless of the number of table entries. Like database
tables, hashed tables always
have a unique key. Hashed tables are useful if you want to construct and use an internal table which resembles a
database table or for
processing large amounts of data.
 
TYPES VECTOR TYPE HASHED TABLE OF I WITH UNIQUE KEY TABLE LINE.
 
TYPES: BEGIN OF LINE,
COLUMN1 TYPE I,
COLUMN2 TYPE I,
COLUMN3 TYPE I,
END OF LINE.
 
DATA ITAB TYPE HASHED TABLE OF SPFLI
WITH UNIQUE KEY CARRID CONNID.
2.
18. What is cardinality?
A.) The cardinality (n:m) describes the foreign key relationship with regard to the number of possible
dependent records (records of the foreign key table) or referenced records (records of the check
table).
The left side (n) of the cardinality is defined as follows:
 n=1
There is exactly one record assigned to the check table for each record of the foreign key table.
 n=C
The foreign key table can contain records that do not correspond to any record of the check table because the
foreign key field is empty. This can occur, for example, if the field of the foreign key table is optional, in
which case it does not have to be filled.
The right side (m) of the cardinality is defined as follows:
 m=1
There is exactly one dependent record (record of the foreign key table) for each record of the check table.
 m=C
There is at most one dependent record for each record of the check table.
 m=N
There is at least one dependent record for each record of the check table.
 m=CN
There can be any number of dependent records for each record of the check table.
3.
19. What in script controlling? what are the events in maintenance view:
20. What is the difference between open sql & native sql ?
21. How BAPI is Different from call Transaction/Session
22. I want to display the different data on the multiple main windows of the form in
Sapscript. Is it possible ?
23. How we can assign the value of field in select-options to the text-field in dialog
module?

You might also like