‎2009 Jun 22 3:11 PM
Hi,
I wanted to know that after creating a report if we go in the code and change the report name from there (the first line which has report name e.g- REPORT Ztest MESSAGE-ID Zts.) why doesn't it give compile time or run time error.
‎2009 Jun 22 3:30 PM
Welcome to SCN!
It is not mandatory to give the report name in this line, only strongly recommended.
Rob
‎2009 Jun 22 3:16 PM
Hi,
REPORT rep.
REPORT is the first statement in a program. rep can be any name, but you are recommended to use
the name of the ABAP program.Its not mandatory to have report name same as the actual Abap program name
KR Jaideep,
‎2009 Jun 22 3:22 PM
Then whats the use of this command ??. to give message class or other parameters why do we need to specify this report name when it can have any value
‎2009 Jun 22 3:24 PM
It's required to be the first line of an executable program. That's it. No deeper reason. It's the way it ABAP was designed.
‎2009 Jun 22 3:30 PM
Welcome to SCN!
It is not mandatory to give the report name in this line, only strongly recommended.
Rob
‎2009 Jun 22 3:34 PM
Giving report name is mandatory because if you comment it out it throws error .
‎2009 Jun 22 3:39 PM
>
> Giving report name is mandatory because if you comment it out it throws error .
In ECC 6, you need the report keyword, but you do not actually have to supply the report name:
report line-size 132 message-id 00 line-count 65.Seems to work.
Rob