Skip to Content
avatar image
Former Member

what is deferred. OOPs

Hi all,

I have seen may times the key word deferred in standatd programs . What is the meaning of deferred in OOPs. Can anybody pelase say it with example.

Thanks in Advance

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Feb 14, 2008 at 09:03 AM

    Hi guys --you really should press F1 before posting these types of questions --however I'm feeling kind today as Everton football club won their UEFA cup match last night.

    Definition deferred means that you can refer to objects in your program which haven't yet been defined but will be later on in your code.

    You could have two classes in an abap say and data elements / types in the first class refer to the 2nd class such as obj1 type ref to zclass2 definition deferred.

    The zclass2 definition will appear later in your abap.

    If you don't put definition deferred then when you check the program it will give a syntax error of zclass2 not found.

    Cheers

    jimbo

    Add comment
    10|10000 characters needed characters exceeded