Académique Documents
Professionnel Documents
Culture Documents
Explain the
Functionality?
What is the typical structure of an ABAP/4 program?
Ans. = Declarative elements, Operational, control, events.
What are field symbols and field groups? Have you used component idx of
structure clause with fields groups?
Ans.: place holder for existing fields similar to fields point to point
. Exceptions.
End function
25.
26.
27.
How are the date and time fields values stored in SAP?
Ans: As character fields of length 8 and 8 as NUMC.
28.
29.
Name a few data dictionary objects? Ans: Tables Views Structure Domains
Data elements Match codes Lock objects type groups.
30.
31.
32.
34.
35.
36.
What are select options and what is the different from parameters?
- Select options are used to select a range of values where as in Parameters only one
value can be given
- Select option generates a line on selection screen, the first part of which contains a
text, followed by a range for input possibilities.
37.
How do you validate the selection criteria of a report? And how do you display initial
values in a selection screen?
- Validation - AT SELECTION-SCREEN event
- Initial Values by default statement in select options / parameters
38.
39.
What is CTS and What do you know about it? [ CTS is Correction and Transport
Systems ]
- Correction system manages the internal system components like objects like only
original version of the object exists. It stores all changes made to the object.
- Transport system allows to transports the object from on SAP system to another
(Development system to Production system). It allows to over write or delete
existing object in target system and import new objects to target systems.
- During development work we start by opening a task (correction) to which we can
assign new and changed objects. Once changes have been made, transport new or
changed objects to other SAP system by means of transport (Change) request.
40.
41.
42.
43.
Name a few system global variables you can use in ABAP program?
- SY-TEXT SY-TVARD SY-TVAR1 SY-TVAR2
44.
What are internal tables? How do you get number of lines in an internal table? How to
use a specific numbers occur statement?
- Data structure that exists only at program runtime. Internal tables are one of two
structured data types in ABAP. They can contain any number of identically
structured rows, with or without a header line.
- Internal Tables are temporary tables which used to store values at run time no. of
lines in Internal tables DESCRIBE TABLE ITAB LINES LIN.
- Use a Specific nos. OCCURS statement.
45.
46.
47.
48.
49.
50.
What are the Techniques involved in using SAP supplied programs? Do you prefer to
write your own programs to load master data? Why?
- Identify relevant fields
- Maintain transfer structure (Predefined first one is always session record)
- Session record structure, Header Data, Item (STYPE record type )
- Fields in session structure STYPE, GROUP, MANDT, USERNAME, NO DATA
- Fields in header structure consists of transaction code also STYPE, BMM00,
TCODE, MATNR and Fields in Item - ITEMS
52.
What specific statements do you using when writing a drill down report?
- GET CURSOR
- AT LINE SELECTION
- AT USER COMMAND
- HIDE
- SY-LISEL
53.
What are different Tools to report data in SAP? What all have you used?
- ABAP QUERY
54.
55.
What are the functional areas? User groups? And how does ABAP/4 query work in
relation to these?
- Functional areas = provide the user with a framework for defining a query quickly.
- Select a logical database from application system.
User groups = used to set up appropriate environment for the user or authorization for
using query. By creating fun. Areas and assigning them to user groups. System
administrator determines the range of reports the individual application depts. Or end
users can generate using ABAP query.
56.
57.
58.
What are Change header / detail tables? Have you used them?
- The change header contains both fields that define and describe the change and
administrative data on the change master. The administrative data is updated by the
system.
59.
What do you do when the system crashes in the middle of a BDC batch session?
-Check no. of records already updated and delete them from input file and run BDC
again.
60.
61.
How do you set up background jobs in SAP? What are the steps? What are events
driven batch jobs?
- Create a job using function module JOB-OPEN
- Collect the job specifications.
- Add a job step to the job with the function module JOB-SUBMIT.
- Close the job and pass it to Background processing system for execution with the
function module JOB-CLOSE
- EVENT DRIVEN BATCH JOBS :- Types = System events triggered when activation of new operation mode takes
place
- User events - Triggered from ABAP/4 or external program.
- Triggering an event notifies the background processing that named condition has
been reached. The Background system reacts by starting any jobs that were
waiting for the event.
Transaction codes related to background jobs creation and processing are :SM36(Job creation)
SM37(Job selection and execution).
62.
Is It possible to run host command from SAP environment? How do you run?
-
63.
What kind of financial periods exist in SAP? What is the relevant Table for that?
-NA.
64.
65.
66.
How do you document ABAP/4 programs? Do you use program documentation menu
option?
Ans -Headings under which documentation is created are TITLE, PURPOSE,
68.
69.
ALE: communication between logical systems. Logical systems can be R/3, R/2
or non-SAP system. ALE distribution models are based on message types that
indicate the appropriate IDoc types.
EDI: communication between an R/3 or R/2 system and a non-SAP system.
What are Screen Painters? Menu Painter? GUI Status? etc
- Screen Painters: - Arranging or creating elements of the screen.
- Menu Painters: - Designing and creating menu bar.
- GUI Status: - Interface between user and SAP program (PF STATUS).
What is screen flow logic? What are the selections in it? Explain PAI and PBO?
Ans - Screen flow logic contains the procedural part of a screen. The screen flow
logic is like an ABAP program in that it serves as a container for processing blocks.
There are four event blocks, each of which is introduced with the screen keyword
PROCESS:
PROCESS BEFORE OUTPUT.
...
PROCESS AFTER INPUT.
...
PROCESS ON HELP-REQUEST.
...
PROCESS ON VALUE-REQUEST.
...
- Selections are performed in PAI.
- PROCESS BEFORE OUTPUT (PBO) is automatically triggered after the PAI
processing of the previous screen and before the current screen is displayed.
You can program the PBO processing of the screen in this block. At the end of
the PBO processing, the screen is displayed.
- PROCESS AFTER INPUT (PAI) is triggered when the user chooses a function on
the screen. You can program the PAI processing of the screen in this block. At
the end of the PAI processing, the system either calls the next screen or carries
on processing at the point from which the screen was called.
- PROCESS ON HELP-REQUEST (POH) and PROCESS ON VALUE-REQUEST
(POV) are triggered when the user requests field help (F1) or possible values
help (F4) respectively. You can program the appropriate coding in the
corresponding event blocks. At the end of processing, the system carries on
processing the current screen.
Overall how do you write transaction program in SAP?
- Create the transaction using object browser (SE80)
- Define the objects e.g. screen, Transactions. Modules PBO, PAI.
Does SAP has a GUI screen painter? If yes What operating systems is it available
on? What is the other type of screen painter called?
- Yes
- On what OS is it available Window based.
- Other type of screen painter alpha numeric screen painter.
What are step loops? How do you program page down page up in step loop?
- Step loops: Method of displaying a set of records.
- Page down & Page up: decrement / increment base counter
- Index = base + sy-step1 1
Is ABAP a GUI language?
- Yes
Normally how many and what files get created when a transaction program is
written? What is top XXXXXXTOP program?
can
call
remote
function
using
the
CALL
Character (C), Numeric character (N), Date (D), and Time (T).
One hexadecimal type:
Byte field (X).
Three numeric types:
Integer (I), Floating-point number (F) and Packed number (P).
1.
DICTIONARY
1.
What is a dictionary?
- Dictionary contains Meta data or information for the data in data management
system.
- It supports redundancy free data storage and data integrity.
2.
3.
4.
5.
Define Structures ?
7.
8.
9.
10.
between
ABAP/4
11.
12.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
Type of versions
- Versions in ABAP Dictionary active or partially active / revised
- Temporary versions
- Historical versions
Type of status
- New newly created , not activated
- Activated activated version of object used by other components during runtime
- Partially active not yet been fully activated
- Revised version changed after activation, but not yet re-activated
- Deactivated match code Id is not proposed for selection by F4 help function
Function provided
- Display old versions
- Retrieving historical or temporary versions
- Comparing versions in same system
- Comparing versions in different systems
Table spaces and extents: Table space - physical storage area in the
database.
Database determines in which table space the table is stored when it is created
in the database.
Size category describes the probable space requirement of the table in the
database.
correction
and
repairs
Special
development
system:
used
for
programming critical paths of development
projects.
Integration system: - developing applications and
testing systems.
Consolidated (production) system: - receives
transports from integration system. It contains
released versions.
Recipient system: - receive transportable change
requests as soon as they are imported
successfully into consolidation system.
Memory
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
1.
2.
3.
5.
6.
wf_age(3) type C,
Move myname to wf_name
Answer: data: wf_name (25) type C.
wf_ age (3) type n.
move 'myname' to wf_name.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
How do the field-symbol and assign statements work with each other?
Ans :- Field-symbol statement inherits technical attributes of data objects.
- Assign statement assigns attributes of ITAB to FS.
17.
18.
A Johannesville
A MartinMarietta
A Rockville
B Littleton
B Sr.Charles
Ans :- PROGRAM Program
TABLES: TABA.
SELECT
FROM
TABA.
ON CHANGE OF TABA-COUNTRY.
WRITE: /TABA-COUNTRY, TABA_CITY.
ENDON.
ENDSELECT.
B Littleton.
What do CHECK, EXITS do in a program?
- CHECK terminates the current loop or subroutine if logical expression is not
fulfilled;Outside of a loop structure , subsequent statements in the current
processing block are not executed (Syntax CHECK FLAG NE SPACE)
- EXIT-terminates the current loop or subroutine; outside of a loop structure,
subsequent statements in the current processing block are not executed.
What is the difference between a field string and an internal table?
Ans :- The declaration of an internal table includes an OCCURS parameter
(the number of entries in the main storage roll area)
field string-corresponds to one record
internal table-corresponds to many records
non-ABAP/4 subroutines.
What is the difference between internal and external calls?
Ans :- INTERNAL-within program.
EXTERNAL-outside program.
Explain pass by value, reference and changing value?
Ans :- By Value:When the subroutine is called ,the formal parameters are copies of
the actual parameters(with their own storage location)
By Value and Result : the formal parameters have a separate storage location .At the
end of subroutine the value of the formal parameter is passed to the storage location
of the actual parameter
Assigned
By Reference: when called the formal parameters are not allocated separate storage
locations. Instead the address of the actual parameter is passed. Changes to the
values of the formal parameters therefore have a direct effect on the assigned main
program fields.
What is the syntax of perform, include and function modules?
Perform:
PERFORM USING
FORM [TABLES
] USING VALUE () CHANGING VALUE ()
Include:
INCLUDE
Function modules:
CALL FUNCTION function name
EXPORTING
IMPORTING
How is data passed to a function module?
Ans :- Using the EXPORTING clause.
What are exceptions?
Ans :- The EXCEPTIONS parameter is a section in the CALL FUNCTION
statement where exceptional situations can be processed.
How are they called and handled in the code?
CALL FUNCTION function name
EXPORTING
IMPORTING
EXCEPTIONS NOT_FOUND = 3D1
NOT_VALID = 3D2
OTHERS = 3D3
CASE SY-SUBRC
WHEN 1
WHEN 2
How can internal tables be passed to forms and function modules?
Ans :- Internal tables are passed by reference in function modules and forms.
(For PERFORM FORM statements use the TABLES parameter.)Valid for old
version only.
What is global Vs local data?
Ans :- Local data data relevant only within a subroutine
Global data data relevant within the entire program.
Pooled table :- In R/3 has many-to-one relationship in the database. The table in
database has a different name and fields than the tables in DDIC.
Cluster table :- A cluster is similar to table pool. It holds tables within it. Table
clusters contain fewer tables than table pools and unlike table pools, the primary
key of each table within the table cluster begins with the same field or fields.
Cluster table are combined into a single row in the table cluster based on primary
key.
What event is executed when START OF SELECTION event exits?
Ans :- The statement END-OF-SELECTION is executed. This is different from
STOP statement, which terminates report processing all together .
How is the GET LATE command utilized?
Ans : - It occurs when all subordinate segments have been processed and before the
system requests the next table entry of the same table (hierarchy)
How do you use the STOP command?
Ans :- The STOP is specified within the processing block END-OF-SELECTION,
report processing is terminated immediately and the list is displayed.
Explain the select-options statement.
Ans :- It generates a line on the selection screen, the first part of which contains a
text, followed by a range for the input possibilities. Parameter name specified in
select options defines as Internal table with same name having structure(seltab) as
follows :Sign,option,low,high. Syntex SELECT-OPTIONS FOR .
What is the syntax to declare default values?
Ans : - SELECT-OPTIONS
Variable_name FOR table_ element DEFAULT range TO range
Set 1:
1.
2.
Direction for the use of check box and radio buttons in screen painter?
Ans :Creating Radio Button and Check Boxes on the screen
1) Go to the full screen editor.
2) Place an underscore at the point where you want to place the field.
3) Define the name of the field using
4) Place the cursor on the field and press
5) Then press or depending on which graphic element you want
6) Then you group related check boxes and radio boxes.
3.
When table in data dictionary is created , the relationship between cardinality factor and table
Cardinality?
Ans :- The following values are allowed when inserting data:
C - 1 To 1 (Optional)
CN - 1 To M (Optional)
N - 1 To M (Mandatory)
I - 1 To 1 (Mandatory)
Dependency factor:
This defines the foreign key relationship when applying updates.
5.
When an internal table is created, the settings criteria for the value of occurs?
Ans :- The objective of setting the value of an occurs for an internal table is a question of
optimization. The following facts should be taken into account when making such decision.
1) The complete data area of a program is 64000 bytes.
2) The initial size declared is kept in roll area (quicker access to program)
3) Data entered that exceeds the initial size stores in the roll file (Slower access to program)
You should also analyze the expected volume and access rates before making the decision.
6.
When entering values on table related with foreign key using on-line program (using insert), why
checking on possible entries on foreign key is not carried out?
Ans :-
7.
As a transaction except for the part that is defined by the screen painter component.
Details of the Area menu screen :
Title : Workbench : Maintain area menu initial screen
Transaction : SE43
Path : Tools ->CASE->Development->Maintain area menu
Creating an area menu:
1) Enter the name of the new area menu.
Since there are no SAP area menus starting with "Z, an appropriate naming convention would be for
all user created area menus to start with "Z".
2)Hit
3)Enter:
-Maintain Language (must be "E")
-Short text (description of area menu)
-Hit
4) You should be now in the area menu editor.
The fields that you can maintain are as follows:
-Title : Text at the top of your area menu
-Menu bar: Text for pulldown menu options & functions or sub menus.
-Push button settings: - Number(s) of the corresponding function key(s) defined.
-Function key settings: - Text and associated definitions for function keys.
8.
It is possible to delete data entered with ABA/4 program in table maintenance. However, deletion of
data uploaded from SAM file in table maintenance is not possible.
Definitions: I am not sure if I understand this question. Are you asking if it is possible to delete data
from a SAP table using information stored on a Unix file or are you asking me if the contents of a
SAP file can be deleted before a Unix file is loaded? I need more information to be able to answer
this question.
2.
The difference between two SYNTAX. Insert table name & insert table name, commit work.
The difference can be demonstrated by the examples below.
Start of Program I.
Database update statements
Run-time error occurs here
End of program 1= 20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=20.
Start of program 2.
Database update statements.
Commit work statements =20
Run time error occurs here
=20
End of program 2=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=20=20
Program I will not update the database & program 2 will.
Structured Logic
1. What is the difference between Structure & Internal table?
Ans :- Structure exists in ABAP Dictionary and programs but contains no data.
- Internal table exists only in program and can contain data only at runtime.
4
What is the difference when use fields in Chain, End Chain and when use in Subroutine?
Ans :9
modules:
PBO (Process Before Output)
PAI (Process After Input)
17 Transaction for MM creation?
Ans :18 Transaction for Sales Order (S /D) - Create, Display & Change?
Ans :19 Transaction for Delivery Challan S / D) - Create, Display & Change?
Ans :21 If you want to run two programs , within one program how you run another program instead of
opening another session?
Ans :- SUBMIT program.
23 Example of nested "Select " statement syntax?
Ans :27 What is the difference between Move & assign statement?
Ans :Move :- To assign the value of a data object to a variable , use the following statement:
MOVE TO .
or the equivalent statement
=.
The contents of remain unchanged. does not have to be a variable - it can also be a literal, a text
symbol, or a constant. You must always specify decimal points with a period (.), regardless of the
users personal settings.
Type it can be of any type and any length depending on the field you assign at the runtime.
Ex. FIELD_SYMBOLS
ASSIGN LFAI - NAMEI TO
7. What is Menu painter? And How do use it in your application?
Ans :- Menu painter is tool to create Menus, Push Buttons assignments and from Screens. During run
time you can assign any menu status to a screen.
You assign a four-character function code for each function and you use OK-CODE to identify
which function need to be run. You write code in PAI module for each function.
8. What are the variables that start with SY-?
Ans :- These are system variables like
SY-DATUM System Date
SY-SUBRC System Return Code 0- Success, 4 - failure
These are the System Fields, you use this to generate a list
SY-Title
SY-pagct
SY-Srows
SY-scols
These are used for interactive reporting
SY-Curow
SY-CUCOL
9. What is Logical database and Explain about GET and PUT modules?
Ans :- Faster Way of executing for selecting records.
Logical database is not a physical database. It is logical database structure of tables where you
specify the relationship between a set of related tables. Every logical database has root table & child
nodes. If you want to use GET table command in your program you need to declare that related
structure as a logical database. Once you specify the structure you set SELECT-OPTIONS and then
Database Program and modify the code for PUT Forms. This PUT forms are executed whenever you
use GET function in the code.
12. What is Screen Painter? And How do you write a script for command Button?
Ans :- Screen Painter is a tool to create a screens which can have User Input fields, Command
buttons, Frames, Radio Buttons, Combo boxes, and Check boxes. Key point here is you need to
specify OK-CODE (you can give any name but normally you use OK-CODE) For OK function and
you declare same variable in Module Pool also. In PAI module using Case statements to determine
which key was pressed.
CASE OK-CODE
WHEN DELE
MODULE Delete _ Function.
RHO Consulting
3. HIDE Statement, how it works?
Ans :- Detail lists allow you to present more information than is contained in the basic list. The user
can, for example, select a line of the basic list for which he or she wants to see more detailed
information. You then display the extra information in a detail list.
This method requires that you have previously stored the contents of the selected line within the
program.
To do this, you use the ABAP statement HIDE, which saves the field contents for the current line.
When you start a detail list for a list line that has HIDE fields, the system places their values into the
corresponding variables in the program.
In the program code, insert the HIDE statement directly after the WRITE statement for the current
line.
HIDE: WA-CONNID, WA-CARRID.
4. Define RANGES statements, why you use in ABAP/4 programming?
Ans :- In addition to selection tables that you create using SELECT-OPTIONS, you can use the
RANGES statement to create internal tables that have the structure of selection tables. You can use
these tables with certain restrictions the same way you use actual selection tables.
6. What kind of Transaction did you use? Where did you use? Why did you use?
Ans :- SE38 ABAP Editor
SE16 Data dictionary
7. What are the commands, which can be used only in screen, flow logic but not in ABAP?
Ans :8. How do you change the text (description which normally appears as non-editable on the screen) of
the Table field?
Ans :-You can change the text for Data element. For data element you have three different
description text (short, medium and long). You can use any one of the texts.
9.
What do you know about profiles? How can you give an authorization to particular user?
Ans :- A Profile is made up authorization. There are two types ;of Profiles single and composite.
10.
11.
12.
13.
What did you do in Account Assignment in material management? And also about valuation class.
Ans :-
14.
15.
16.
What are infotypes? How did you use it? Do you remember any info types you used?
Ans :- In HR module tables are calles Infotypes which contains data for employees and applicants.
Infotypes used :0002 = Personal data.
0006 = Address.
17.
What are the logical databases and tables did you use in MM and SD?
Ans :EMM Purchasing documents for material
EKKO (Purchase Document Header)
EKPO (Purchase document item)
EKET (Delivery Schedules)
EKPB (Material provided item in purchasing document)
EKKN (Account assignment)
EKBE (History of purchasing document)
MSM Material Master
MARAV View tabelle fuer die logische DB MGM
MARM Quantity unit
MBEWV View f=FCr logische Datebanken
MVKE Material Master : Sales Data
MARCV View f=FCr logische Datebanken MSM
PROPF Forecast parameters
MARD Material master : storage location / batch segment
MCHB Batch stocks
MKOL Special Stocks from vendor
MLGN Material data for storage number
20.
21.
Data elements (Specific data types) A data element is an elementary type. It describes the
type attributes (data type, field length and possibly the number of decimal places) and screen
information (explanatory text or field help) about unstructured data objects (table fields and
structure fields or variables).
Table fields and structure fields with the same contents should refer to the same data element.
This ensures that the attributes of these fields are always consistent.
A data element can be referenced in ABAP programs with TYPE. This permits you to define
variables that take on the type attributes of the data element in an ABAP program.
22.
23.
24.
25.
a finishing point).
The shipping point is defined for each order item
The route groups legs together.
Shipping Delivery Order (create and save) Picking transfer orders (create & confirm)
26.
27.
In your experience programming ABAP/4, What guidelines do you follow as best practices?
Ans: - a) Store data in internal tables to reduce duplicate processing.
b) Copy an existing process and changes it.
c) Follow prescribed naming conventions for programs.
d) Use an include statement (ZIU0001) from the main documentation block.
e) For describing the content of the program, such as date, program author, purpose, list of
parameters and specifies, list SAP tables used, and list external input/output, tables/files are
used.
28.
What are some of the SAP ABAP/4 control statements that you used to write one of your more
complicated programs.
Ans :AT END OFEND AT
AT NEWENDAT
CALL
CASE...WHENENDCASE
CHECK
DOENDDO
EXIT
FORMENDFORM
IF...ELSE...ENDLOOP
LEAVE
LOOP...ENDLOOP
MODULE...ENDMODULE
ON CHANGE OF...ENDON
PERFORMUSING
SELECTENDSELECT
STOP
WHILEENDWHILE
29.
Have you ever done any transaction program/development using ABAP/4, screen painter, and menu
painter? If so, describe the steps or technique used to develop transactions?
Ans: - The following list outlines the general steps that should be followed when developing a new
SAP R/3 transaction. I do not have to be performed specifically to this sequence, but these
topics/steps should be performed.
1. Preliminary work: Design the transaction, specify the transaction code in the system and enter the
transaction attributes.
2. Define global data in the data dictionary. Determine which domains, data elements, and tables you
want to use.
3. Create an ABAP/4 module pool. Create a module pool for the transaction and assign a name and
attributes according to the customer naming conventions.
4. Define screens (Screen Painter): Paint your screens, that defines the positions and texts of the
fields on the screen and assign appropriate names. In doing this, you point the Data Dictionary
fields you have defined in the Data Dictionary, Define the attributes of all screens.
5. Define menus, windows, and function keys (Menu Painter): Define the interface for your
transaction with menus, pop-up windows and function keys for each individual screen. Assign
function code to each function that the user can execute.
6. Define screen flow logic.
7. Program the individual modules: Write the detailed processing logic, program and modules called
in the screen flow logic, pass the data between the module pool and SAP memory, process the
function codes from the interface and process the reports.
8. Create and program on-line messages: Create on-line messages and document them (in the form of
texts) Call the messages in the appropriate modules. Observe the rules for error dialog.
9. Test the transaction. Test the transaction with the on-line debugging facility.
Transport transaction programs : Transport your completed transaction to the production system
Instance.
30.
Have you ever created a user-defined database in SAP/R3? If so how did you go about adding a userdefined database to the system?
Ans :To add a user-defined database to the system, the following steps are required.
1) Define the structure in the data dictionary.
A. Go to the Data dictionary Maintenance screen. Fill in the name of the database you are defining
B. Define the database structure
To do this, select the object class tables for editing. In the resulting screen, fill in the necessary
information about the database.
C. Provide the database fields. Go to the fields screen so those new fields can be entered into the
system. You must atleast enter MANDT, RELID, SRTFD, SRTF2, CLUSTR and CLUSTD.
When you have entered all the required fields save the record structure.
D. Active the table. The table is now defined in the Data Dictionary and known to the system at
large.
Add the database to the system by going to the Database Create screen.
There select processing method of in -line, so that the database has been created, you can now create
database clusters with the EXPORT command or access the database records using SQL.
31.
32.
33.
What is the difference between a step-loop using internal table and a transparent table?
Ans :-
Section A
Please circle T(rue) or F(alse) for each of the following questions:Move Corresponding is an effective way to move fields with like names from a DB table record
to an internal table header line. (T / F). T
An append will add a record to a database table. (T / F). F
The COLLECT statement will total up all P, I and F fields in a database table. (T / F). F
The SELECT statement allows processing of an internal table. (T / F). F
The Loop at command allows you to use the WHERE clause. (T / F). T
An internal table can be deleted. Modified, or inserted without the use of index. (T / F).T
The SELECT command performs its own authorization check. (T / F).F
The WHERE clause in the SELECT SINGLE command is optional. (T / F).F
When using the GET and SET PARAMETER ID command the memory id must be defined to the
Data Dictionary?. F
The SET PARAMETER commands function is to create a storage location in memory and
retrieve its contents?T
Section B
There is only (1) correct answer for each of the following questions. Please circle the letter, which you
think corresponds to the correct answer.
A LIKE statement is used to:
(a) Move similar fields between the header areas of internal tables.
(b) Set declared data fields to the same characteristics as a different data field.
(c) Assign a default value to a parameter.
(d) Pass parameters to a subroutine.
Ans :- b.
All are examples of SAP events except:
(a) Start of Selection.
(b) End of Selection.
(c) Top of Page.
(d) New Page.
Ans :- d
The best definition of the ABAP.4 workbench is:
(a) A method of finding fields within the data dictionary.
(b) A method of navigating between SAP objects and a method of establishing a hierarchy
between related SAP objects.
(c) A screen that contains the attributes for screens, programs, transactions, etc.
(d) An easy way of creating objects in SAP.
Ans :- b
Which is correct for reading an entire table, DBTAB, into an internal table, ITAB, structure that
was previously defined?
(a) SELECT * FROM DBTAB INTO ITAB.
(b) SELECT SINGLE * FROM DBTAB INTO TABLE ITAB.
(c) SELECT * FROM DBTAB INTO TABLE ITAB.
to
complete
the
syntax:
PARAMETERS:
C____________0000111008=20
(a) Value.
(b) Default.
(c) Initial.
(d) Like.
Ans :- a
Which of the following does not have an END associated with it?
(a) LOOP.
(b) DO.
(c) GET.
(d) SELECT.
Ansc :- c
11.23 Which is the best example of a foreign key?
(a) Data element.
CUSTNO(10)
TYPE
(b) Domain.
(c) A VALUES statement within the PAI module of the flow logic.
(d) A check table.
Ans :- d
12.
13.24 PBOs:
(a) Are events performed in the screen after the user has entered some data?
(b) Is a module pool for an on-line screen?
(c) Is an on-line event?
(d) Contains all logic for error messaging.
14.25 All of the following are examples of automatic screen field checks except for:
(a) Data formatting.
(b) Check tables.
(c) Values table.
(d) VALUES statement in the PAI of the flow logic.
15.26 A COMMIT WORK command:
(a) Reads in a logical database.
(b) Closes a logical unit of work and confirms the changes in the database.
(c) Cancels a logical unit of work and rolls back all changes made with the
UPDATE.
(d) Is automatically performs at each UPDATE dbtab command line
Ans :- b
16.
Provide short answers for each of the following questions in the space provided:1.
How is data passed from the screen fields to the ABAP/4 program?
Ans :- GET PARAMETER ID.
9.
10.
11.
Where are the module statements declared? Where is the logic within each module?
12.
13.
Describe the fields on the screen attributes screen. Screen types, follow up screens,
cursor position, etc.
14.
What is gained by using the Dictionary Fields menu option when creating your
screen?
15.
How do you assign an OK_CODE for a push button? How is it used in your ABAP?
16.
What are the two effects of a foreign key from a user standpoint?
Ans :- Foreign keys are used to check input on screens, and to define the
relationships netween the tables in a view, matchcode object, or lock object.
17.
18.
Does the VALUES command in the flow logic go in the PAI or the PBO event?
19.
If an error occurs in the module pool, which fields are available for entry and which
are display only fields?
20.
Which table stores the one-line messages? What is the message class and what is its
significance?
Ans :-
21.
Ans :22.
What effect does the FIELD statement have within the flow logic?
23.
Is the SET PARAMETER statement to be issued in the PBO or the PAI module?
Why?
24.
Where does the GET PARAMETER statement get its values? Which field gets
populated with the new value?
25.
Where can the SET CURSOR command be executed? What is its effect?
26.
What are matchcodes and how do they effect a screen field? Where are they
specified in the on-line program?
27.
28.
29.
How can you check if the changes to the database were successful?
Ans :- SY-SUBRC = 0.
How is data passed from the screen fields to the ABAP/4 program?
Ans :- GET PARAMETER ID.
9.
10.
11.
Where are the module statements declared? Where is the logic within each module?
12.
ENDMODULE.
13.
Describe the fields on the screen attributes screen. Screen types, follow up screens,
cursor position, etc.
14.
What is gained by using the Dictionary Fields menu option when creating your
screen?
15.
How do you assign an OK_CODE for a push button? How is it used in your ABAP?
16.
What are the two effects of a foreign key from a user standpoint?
Ans :- Foreign keys are used to check input on screens, and to define the
relationships netween the tables in a view, matchcode object, or lock object.
17.
18.
Does the VALUES command in the flow logic go in the PAI or the PBO event?
19.
If an error occurs in the module pool, which fields are available for entry and which
are display only fields?
20.
Which table stores the one-line messages? What is the message class and what is its
significance?
Ans :-
21.
22.
What effect does the FIELD statement have within the flow logic?
23.
Is the SET PARAMETER statement to be issued in the PBO or the PAI module?
Why?
24.
Where does the GET PARAMETER statement get its values? Which field gets
populated with the new value?
25.
Where can the SET CURSOR command be executed? What is its effect?
26.
What are matchcodes and how do they effect a screen field? Where are they
specified in the on-line program?
27.
28.
29.
How can you check if the changes to the database were successful?
Ans :- SY-SUBRC = 0.
What is the difference between the long form and the short form of making database
changes?
What is the advantage of using the SAP long form over the short form of database
changes?
Can Where clause be used when updating database entries?
Ans :- Yes.
Describe array operations and their advantages?
Why is it so important for a programmer to check the lock entries in the database?
How can you find a lock entry for a database table?
What steps are necessary to set a lock on a record within a database table?
How do you unlock the entry? Why is this necessary?
What is the difference between SET SCREEN ### and SET SCREEN ###.
LEAVE SCREEN.?
After a CALL SCREEN ### command, where does the processing return after the
screen has been executed?
Which is more similar to a call with return, the SET SCREEN or the CALL
SCREEN?
What function is performed by the SET SCREEN 0 command?
Where must you place the SET PF-STATUS. Command in your on-line program?
Why it is a good idea to clear the ok_code after deciding which action to take?
How do you specify that a function is an exit type command?
What are screen groups?
What is the correct syntax for dynamically modifying a large number of screen
fields?
What is the purpose of the MODIFY command when performing dynamic screen
modifications?
Various Event for a screen?
Ans :- Clicking Push Button, Function Key, Menu Option.
How do you run a report for a row in table?
Ans :- Using Graphics Multiplexer. There is an option some thing similar to screen
capture which captures data only. Using that data you can draw graphs (3D and 2D).
This option is available all the time from Menu! -> Generate Graphics which
captures the data then you need to drag and select the data you want to draw a graph
on. Once you select you can click on Graphics, which launches graphics multiplexer.
What are user Exits and transactions?
Ans :- Generally, user exits are the forms defined within SAP standard code (usually
starting with user exit). These predefined areas in the code allow programmers to
insert custom defined code into the standard processing of a transaction (e.g. allow
resorting of the batch sequence in VA01 batch processing). There are many specific
examples if you are interested, but usually user exits are searched for when a specific
use is being analysed.
How do you import a UNIX program using BDC?
66.
67.
True/False
68.
SAP offers standard batch interface programs with dynamic record layout capability?
69.
SAP standard batch input programs structure descriptions are in the Data Dictionary?
70.
71.
All data conversion must take place prior to the data transfer?T
72.
73.
The BDC table has a different layout for the CALL TRANSACTION?F
74.
1.
2.
There are five specialized work processes. What are they? And which task do they
control?
Ans :a) Online Processes one dialog step and then is available for next request.
b) Enqueue A locking mechanism to prevent the applications from interfering with
each other when accessing data.
c) Update To trigger database changes.
d) Background Used to plan the start of ABAP/4 programs.
e) Spool Spool requests are generated online or during background processing and
placed in a spool database with information about the printer a print format.
3.
4.
What enables communications between R2, R3, and external applications using the
CPI-C protocol?
A) SAP Gateway.
5.
How Internal table lines can be changed while looping on the same table?
Ans :- To change a single line in an internal table, use the MODIFY statement. This
modifies the current line of the LOOP statement.
However, before using the MODIFY statement, you must first make the required
changes to the current line in the work area of the internal table. Then, you can assign
the contents of the work area to the current table line using:
MODIFY FROM .
loop at mtab.
select single * from t001 where bukrs = mtab-bukrs.
if sy-subrc ne 0.
message a398 with