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

Program VS Report

Former Member
0 Likes
4,588

As we all know we can use both Program and report at the beginning of a ABAP program, I want to ask is there any difference between them?

When to use program and when to use report?

6 REPLIES 6
Read only

Former Member
0 Likes
2,433

Hi Shen,

Both are same. There is no difference.

Thanks.

Reward If Helpful.

Read only

former_member189629
Active Contributor
0 Likes
2,433

Koffer,

There's no difference...The PROGRAM statement is equivalent to the REPORT statement.

Read only

Former Member
2,433

Hi

Report is the key word used to display some output on the list

So we can say that Executable program which displays a list is a REPORT

Program is a general word that to be used for any type of program like Module pool, Executable, Classpool, Function Module pool, Include, Typepool etc

<b>Reward if usefull</b>

Read only

varma_narayana
Active Contributor
2,433

Hi Koffer..

There is a difference between PROGRAM and REPORT.

REPORT is only used for Executable programs:

1. They will trigger the EVENTS like INITIALIZATION, START-OF-SELECTION

2. They can be schedule in Background also using sm36.

3. They can be executed standalone.

PROGRAM is used incase of Module pool , Function group.

1. They will only trigger the EVENT called LOAD-of-PROGRAM

2. They cant be schedule in background.

REWARD IF HELPFUL.

Read only

Former Member
0 Likes
2,433

great description

Read only

0 Likes
2,433

great. thanks.

varun