Welcome to SAP Central
Would you like to react to this message? Create an account in a few clicks or log in to continue.

declaring static and instance components in ABAP Objects

Go down

declaring static and instance components in ABAP Objects Empty declaring static and instance components in ABAP Objects

Post  Uma_ABAP Sat Mar 31, 2012 11:41 pm

To declare instance components we declare them as follows:

CLASS test DEFINITION.
PUBLIC SECTION.
METHODS:……………………. “***/instance method
……………………….
DATA : ……………………….. “***/instance attribute
……………………………
EVENTS:……………………….. “***/instance events
…………………………..
ENDCLASS.
To declare static components we declare them as follows:
CLASS test DEFINITION.
PUBLIC SECTION.
CLASS-METHODS:………………………….. “****/static method
…………………………….
CLASS-DATA:……………………………………. “***/static attribute
…………………………………….
CLASS-EVENTS:………………………………….”***/static events.
ENDCLASS.

Uma_ABAP

Posts : 56
Join date : 2012-03-31

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum