‎2006 Feb 23 9:06 AM
CLASS LCL_EVENT_RECEIVER DEFINITION DEFERRED.
Please let me know the meaning of the statement in declaring the class.
Reward is compulsary.
‎2006 Feb 23 9:12 AM
hi,
if you specify it definition deffered then
You can define it and implement it later.
Regards
vijay
‎2006 Feb 23 9:07 AM
Hi,
that means that you will discribe the class lcl... but latter.
Rgd
Frédéric
‎2006 Feb 23 9:12 AM
hi,
if you specify it definition deffered then
You can define it and implement it later.
Regards
vijay
‎2006 Feb 23 9:14 AM
Hi vijay,
1. Usually the class along with the
definition, should be coded FIRST.
2. but some times,
due to some reasons,
we want to write the code
for definition,
after some lines ,ie ... below.
3. So that syntax error is not recevied,
WE HAVE TO TELL ABAP ABOUT THIS .
4. so, as the name suggests,
DEFINITION DEFERRED,
we use like this.
regards,
amit m.
‎2006 Feb 23 9:14 AM
Hello Vijay,
It means u are saying to compiler that there is a class with LCL_EVENT_RECEIVER and it will be defined later on.
U better find the meaning of of deferred.then u will understand very well.
Regards,
Lisa.
‎2006 Feb 23 9:52 AM
To allow the declaration of o_event_receiver before the lcl_event_receiver class is defined, declare it as deferred in the
start of the program
<b>CLASS lcl_event_receiver DEFINITION DEFERRED.</b>