Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

DIALOG PROGRAMMING

Former Member
0 Likes
742

Hi All,

The same output we can see in both dialog programming and reports,then why we sometimes go for dialog programming?

7 REPLIES 7
Read only

Former Member
0 Likes
679

Dialogues are generally used when database tables need updating.

Rob

Read only

Former Member
0 Likes
679

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

Read only

Former Member
0 Likes
679

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.

Read only

Former Member
0 Likes
679

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.

Read only

0 Likes
679

This message was moderated.

Read only

Former Member
0 Likes
679

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

Read only

0 Likes
679

You have been learning Dialog programming for the past 2 years?