Transactions Solved Questions Answers PDF
Transactions Solved Questions Answers PDF
Transactions Solved Questions Answers PDF
1. What is a transaction?
- A transaction is dialog program that change data objects in a consistant way.
7..Can we use WRITE statements in screen fields?if not how is data transferred from field
data to screen fields?
-We cannot write field data to the screen using the WRITE statement.The system instead transfers data by
comparing screen fields names with ABAP/4 variable names.If both names are the same,it
transfers screen fields values to ABAP/4 programs fields and Vice Versa.This happens immediately after
displaying the screen.
8.Can we use flow logic control key words in ABAP/4 and vice-versa?
- The flow control of a dynpro consists os a few statements that syntactically ressemble ABAP/4
statements .However ,We cannot use flow control keywords in ABAP/4 and vice-versa.
To create and edit GUI status and GUI title,we use the Menu Painter.
10. How does the interection between the Dynpro and the ABAP/4 Modules takes place?
-A transaction is a collection os screens and ABAP/4 routines ,controlled and executed by a Dialog
processor.The Dilaog processor processes screen after the screen ,thereby triggering the appropriate
ABAP/4 processing of each screen .For each screen,the system executes the flow logic that contains the
corresponding ABAP/4 processing.The controls passes from screen flow logic to ABAP/4 code and back.
12. What is to be defined for a push button fields in the screen attributes?
- A function code has to be defined in the screen attributes for the push buttons in a screen.
22. Which Function type has to be used for using “at exit-command” ?
- To Use AT EXIT – COMMAND ,We must assign a function Type “E” to the relevant function in
the MENU Painter OR Screen Painter .
23. What are the different message types available in the ABAP/4 ?
- There are 5 types of message types available.
- E: ERROR
- W-WARNING
- I –INFORMATION
- A-ABNORMAL TERMINATION.
- S-SUCCESS
24. Of the two “ next screen “ attributes the attributes that has more priority is -------------------.
Dynamic.
26. Dynamic screen sequence for a screen can be set using ------------- and ----------------- commands
27. The commands through Which an ABAP/4 Module can “branch to “ or “call” the next screen are
1.------------,2--------------,3---------------,4------------.
- Set screen<scr no>,Call screen<scr no> ,Leave screen, Leave to screen <scr no>.
- With SET SCREEN the current screen simply specifies the next screen in the chain , control
branches to this next screen as sonn as th e current screen has been processed .Return from next
screen to current screen is not automatic .It does not interrupt processing of the current screen.If
we want to branch to the next screen without finishing the current one ,use LEAVE SCREEN.
- With CALL SCREEN , the current (calling) chain is suspended , and a next screen (screen chain)
is called .The called can then return to the suspended chain with the statement LEAVE SCREEN
TO SCREEN 0 .Sometime we might want to let an user call a pop up screen from the main
application screen to let him enter secondary information.After they have completed their enteries,
the users should be able to close the popup and return directly to the place where they left off in
the main screen.Here comes CALL SCREEN into picture .This statement lets us insert such a
sequence intp the current one.
29. Can we specify the next screen number with a variable (*Yes/No)?
- Yes
32. The Syntex used to call a screen as dialog box (pop up)is---------
34. The max number of calling modes stacked at one time is?
- NINE
- A “LUW”(logical unit of work) is the span of time during which any database updates must be
performed in an “all or nothing” manner .Either they are all performed (committed),or they are all
thrown away (rolled back).In the ABAP/4 world , LUWs and
- Transactions can have several meanings:
This is the set of updates terminated by a database commit. A LUW lasts ,at most , from one screen
change to the next (because the SAP system triggers database commits automatically at every screen
change).
37. What happens if only one of the commands SET SCREEN and LEAVE SCREEN is used without
using the other?
If we use SET SCREEN without LEAVE SCREEN, the program finishes processing for the current
screen before branching to <scr no>. If we use LEAVE SCREEN without a SET SCREEN before it,
the current screen process will be terminated and branch directly to the screen specified as the default
next-screen in the screen attributes.
42. Why grouping of fields is required? What is the max no of modification groups for each field?
If the same attribute need to be changed for several fields at the same time these fields can be grouped
together. We can specify up to four modification groups for each field.
43. What are the attributes of a field that can be activated or deactivated during runtime?
Input, Output, Mandatory, Active, Highlighted, Invisible.
48. What are the differences between TABLE CONTROLS and STEP LOOPS?
TABLE CONTROLS are simply enhanced STEP LOOPS that display 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 in STEP LOOPS their table rows can span more than one time on the screen. By
contrast the rows in a TABLE CONTROLS are always single lines, but can be very long. (Table
control rows are scrollable). The structure of table control 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.
51. The field SY-STEPL refers to the index of the screen table row that is currently being processed.
The system variable SY-stepl only has a meaning within the confines of LOOP….ENDLOOP
processing. Outside the loop, it has no valid value.
Using the syntax controls <table control name> type tableview using screen <scr no>.
54. What are the two ways of producing a list within a transaction?
By submitting a separate report.
By using leave to list-processing.
59. How the transaction that are programmed by the user can be protected?
By implementing an authority check.
60. What are the modes in which any update tasks work?
Synchronous and Asynchronous.
62. SAP system configuration incluedes Dialog tasks and Update tasks.
63. Dialog-task updates are Synchronous updates.
64. Update –task updates are Asynchronous updates.
65. What is the difference between Commit-work and Rollback-Work tasks?
Commit-Work statement “performs” many functions relevant to synchronized execution of tasks.
Rollback-work statement “cancels: all reuests relevant to synchronized execution of tasks.
72. What are the events by which we can program “help texts” and display “possible value lists”?
-PROCESS ON HELP-REQUEST (POH).
-PROCESS ON VALUE-REQUEST (POV).
74. In what ways we can get the context sensitive F1 help on a field?
- Data element documentation.
- Data element additional text in screen painter.
- Using the process on help request event.
76. How does the system handle roll areas for external program components?
- Transactions run in their own roll areas.
- Reports run in their own roll areas.
- Dialog modules run in their own roll areas
- Function modules run in the roll area of their callers.
77. Does the external program run in the same SAP LUW as the caller, or in a separate one?
- Transactions run with a separate SAP LUW
- Reports run with a separate SAP LUW.
- Dialog modules run in the same SAP LUW as the caller
- Function modules run in the same SAP LUW as the caller.
The only exceptions to the above rules are function modules called with IN UPDATE TASK (V2
function only) or IN BACKGROUND TASK (ALE applications). These always run in their own
(separate) update transactions.
80. What is the difference between Leave Transaction and Call Transaction?
In contrast to LEAVE TO TRANSACTION, the CALL TRANSACTION statement causes the system
to start a new SAP LUW. This second SAP LUW runs parallel to the SAP LUW for the calling
transaction.