Вы находитесь на странице: 1из 5

class:template for object.collection of components. types of classes:local se38,global se24 object:instance of class.

types of objects:instance,static components of class:attributes,methods,events attributes:data,constants methods:normal,special normal:instance,static special:instance constructor,static constructor events:instance,static me keyword final keyword abstarct class,final class,interfaces class inheritance:single level,multiple polymorphism:method overloading,method overriding encapsulation:public,protected,priavte class <classname> definition create public. public section. endclass. class <classname> definition create protected. endclass. class <classname> definition create private. endclass. methods <methodname> impoting exporting changing returning method name endmethod. class name definition abstract. methods name abstract. end class. interface <name>. components. endinterface. interfaces name. interfacename~component. aliases. calss <name> definition. endclass. class <name> implementation. endclass. class <name> definition inheriting from <superclass name>.

methods <name> redefinition. endclass. class <name> implementation. endclass. data refname type ref to classname/interface. create object refname. class-data refname type ref to classname. create object refname. methods constructor. class-methods class_constructor. final class cann't be inherited.cann't have subclass. final methods can't redefined. if class is final implictly methods also final. if method is abstaract class is also abstarct.we can't craete object for abstarc t class. components of interface is by default public.we can cretae object for that class .interface class is pure abstract class. class <friend class name> definition differed. class <name> definition friends <friend class name>. end class. class <name> implementation. method name. cretae object for private,protected classes. endmethod. endclass. events <eventname> exporting parameter. methods <name> for event <eventname> of classname importing parameter. method <name> implementation. endmethod. set handler <handlername> for instance. set handler <handlername> for all instance. set handler <handlername>. raise event <name> exporting parameterlist. me keyword:attribute name and parameter name of method same by using me keyword we can differntiate attribute of the class. super keyword:calling a super class method in subclass using super keyword.

super class:instance,static constructor subclass:instance,static constructor first object:static constructor,instance constructor execcuted. static is executed only once in the life time of class. instance executed once per every object. constructor does n't return any value. instance constructor has importing parameters static does n't has any parameters . singleton class:creating single object. persistance service:by using guid and bussiness key identity. ................................................................................ ......................................................................... alv oops ................................................................................ ......................................................................... cl_gui_alv_grid cl_gui_custom_container cl_gui_container cl_gui_splitter_container cl_gui_docking_container cl_gui_simple_tree hotspot_click double_click button_click node_double_click e_row_id e_row es_col_id node_key e_column_id es_row_no e_column es_row_no es_row_no

data_changed event er_data_changed parameter mc_evt_enter mc_evt_modified register_edit_event mt_mod_cells mt_good_cells cl_alv_changed_data_protocol lvt_t_modi lvc_s_modi toolbar e_object cl_alv_event_toolbar_set mt_toolbar ttb_button stb_button function icon quick_info button_type disabled checked text------7 parameters abdemo node node_key is_folder is_expander relatkey add_nodes cl_gui_simple_tree node_double_click node_key set_registered_events cntl_simple_events event_id

top_of_page e_dyndoc_id cl_dd_document list_processing_events i_event_name i_dyndoc_id add_text display_document dp_publish_www_url load_picture_from_url

cl_gui_picture

stylefname info_fname excp_fname take aditional field in the internal table before display loop final internal table as part of grid disply give aditional field name drop down table aditional field genarate fieldcatalog for that field drdn_hndl numeric value edit to x set_drop_down_table handle=drdn_handle value value="anilkumar"

toolbar excluding ................... fcode of tool bar buttons mc_fc_ attributes of cl_gui_alv_grid set_table_for_first_disply it_tool_bar_excluding = ui_functions ui_func lvc_t_fcat lvc_s_fcat lvc_s_layo ................................................................................ ................................................................................ .......

Вам также может понравиться