‎2007 Mar 09 11:05 PM
Hi all,
What happens if we give some other name after the word "REPORT" in a program eg if the program is za and we say REPORT zb.
I ran it. Nothing happened. The prog ran fine. What is then the use of such a statement?
Charles.
‎2007 Mar 10 7:41 AM
Hi charles,
when we specify the name of the report when creating that willbe considered.
And it will be copied into our program.
Even we wont specify the name also it will accept as:
1. report (blank).
It will even accept as:
2. Program (blank) or
3.program ran (some name) or
4.report ran.
it will accept 1,2,3,4 cases .
means it wont considered thenames and all ,just it will check whether it is report or program.
‎2007 Mar 09 11:25 PM
‎2007 Mar 10 12:31 AM
For Reports ie programs set as executable in the attributes, the first keyword that is allowed is the REPORT statement. I guess this is what diferentiates between a report/include/module pool when you do a syntax check or press F8.
~Suresh
‎2007 Mar 10 7:29 AM
hi
you can replace the key word REPORT with the key word PROGRAM. In executable programs, PROGRAM means the same as REPORT and can be used with the latter's additions.
Although you do not absolutely need to specify the name rep, you should always use the name of the ABAP program from the Repository. even if u dnt specify the report name or program name it stilll executes but report statement has 2 be the first sattement.even if the first statement is simply
REPORT.
it works.
regards,
kiran kumar k
‎2007 Mar 10 7:41 AM
Hi charles,
when we specify the name of the report when creating that willbe considered.
And it will be copied into our program.
Even we wont specify the name also it will accept as:
1. report (blank).
It will even accept as:
2. Program (blank) or
3.program ran (some name) or
4.report ran.
it will accept 1,2,3,4 cases .
means it wont considered thenames and all ,just it will check whether it is report or program.
‎2007 Mar 11 8:19 PM