10-10-2007 6:01 AM
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?
10-10-2007 6:07 AM
Hi Shen,
Both are same. There is no difference.
Thanks.
Reward If Helpful.
10-10-2007 6:08 AM
Koffer,
There's no difference...The PROGRAM statement is equivalent to the REPORT statement.
10-10-2007 6:18 AM
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>
10-10-2007 6:48 AM
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.
12-25-2007 1:35 AM
01-12-2010 6:33 AM