classZCL_POINTdefinitionpublicfinalcreate public.public section.dataXtypeI.methodsCONSTRUCTORimporting!IV_XtypeI!IV_YtypeI.private section.dataYtypeI.class-dataCOUNTtypeI.ENDCLASS.CLASSZCL_POINTIMPLEMENTATION.methodCONSTRUCTOR.me->x=iv_x.me->y=iv_y.count=count+1.endmethod.ENDCLASS. In this class...
METHOD class_constructor. a1 = 'c2'. ENDMETHOD. ENDCLASS. DATA v1 TYPE string. START-OF-SELECTION. v1 = c2=>m1( ). This example shows how a subclass is used to change a static attribute of a superclass, and how the change is visible in a subclass of a different path in the in...
SAP Managed Tags: ABAP Development, ABAP Testing and Analysis ABAP static analysis tool SQF is a static code analysis tool developed in package SUPPORT_QUERY_FRAMEWORK in software component SAP_BASIS. It contains lots of handy tool or short cut to other system utility tools. The most attractive...
Static Next Screen In the Screen Painter tool, a screen attributeNext Screenis defined for every screen. This attribute gives the number of the screen that is to follow the current screen statically. However, the static attribute is always bypassed if you specify a next screendynamicallywhile the...
SAP Managed Tags: ABAP Development Hi Chaudhury, Interface are like methods, for example scn is an interface where we post our doubts and we get back our result. So when to create static methods if you feel like the methods can be called even when object is not created then go for it...
1-) Static classes are implicitly loaded first time they are used, and the corresponding static constructor -of available- is executed. They remain in the memory as long as the current internal session exists. Therefore, if you use static classes, you cannot actually control the time of initia...
Favorite Download PDF ShareWas this page helpful? YesNoCopyright Disclaimer Privacy Statement Legal Disclosure Trademark Terms of Use System Status Ask a question about the SAP Help Portal Find us on Share