‎2007 Oct 15 4:41 PM
Hi All,
The same output we can see in both dialog programming and reports,then why we sometimes go for dialog programming?
‎2007 Oct 15 4:44 PM
Dialogues are generally used when database tables need updating.
Rob
‎2007 Oct 15 4:45 PM
hi
Here is that difference
Report Programs:
1. Reports are stand alone programs.
2. We use reports to read data base tables & represent results in Lists
3. Reports are collection of processing blocks, controlled by System calls depending on events.
4. Reports can use LDBs or SELECT STATEMENTS
defined by DEVELOPER.
5.Reports can call Dialogue programs and vice versa.
Dialog Programming
1.Dialogue programs are not stand alone programs. (we
have to link the dialogue programs to at least one or
more SCREENS & TRANSACTION CODES)
2. We use Dialogue Programs to read & change
Database tables.
3.Dialogue programs are controlled by Screen flow logic.
4.Dialogue program is also called as Module pool program
or TRANSACTION.
5.These module pools are separated in to PBO and PAI
events.
Hope this helps.
regards
ashish
‎2007 Oct 15 4:46 PM
Reports:
As you have previously explored, a report is a program that typically reads and analyzes data in database tables without changing the database.
Dialog Programs:
A dialog program allows you to work interactively with the system and to change the contents of the database tables. Each dialog program has a certain sequence of screens that are processed by the system one after the other.
From the view of a user, a dialog step consists of receiving a screen for entering data, then after the users clicks a button or selects a menu entry, processing is started. From the view of the SAP system, the screen is prepared and sent. After this, the user receives it and fills it out. Then the system analyzes and processes the data contained on the screen after receiving it from the user.
A dialog program must offer:
a user-friendly user interface
format and consistency checks for the data entered by the user
easy correction of input errors
access to data by storing it in the database.
ABAP/4 offers a variety of tools and language elements to meet the requirements for creating and running dialog programs.
‎2007 Dec 17 7:02 AM
Hi Sirisha,
A dialog is any form of interaction between the user and the program :
1)Entering data
2)Choosing a menu item
3)Clicking a button
4)Clicking or double clicking an entry
It is also used when we need to navigate back and forth between screens
where as in report programming we cannot navigate between the screen, a program is written which processes and result is shown.Dialog programs are created with type as M Module Pool. They cannot be executed independently and must be attached to at least one transaction code in which you specify an initial screen.though the output is the same the difference is in the interaction levels.
to say simply report programming is unidirectional whereas dialog programming is birectional.(direcition is between program and database)get back to me or mail me your id so that i can send you the needed material.
reward if helpful.
‎2010 Feb 20 4:15 AM
‎2009 Dec 04 5:47 PM
This question is solved.
Thanks to all the members of SDN who helped me to solve this issue.
Thank once again to one and all.
--Sirisha
‎2009 Dec 04 6:01 PM
You have been learning Dialog programming for the past 2 years?