2010 Oct 27 10:50 AM
Hello Experts
I am new to sap oops trying to write alv using oops concept but i am unable to create a object .i.e what are the key to create a object of a class.
CREATE OBJECT t_cust
EXPORTING
* parent =
container_name = 'ZALV01'
* style =
* lifetime = lifetime_default
* repid =
* dynnr =
* no_autodef_progid_dynnr =
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5
OTHERS = 6
.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
i.e what are are key to create a object.
please plaese help me because i have no other avenue to learn. => Unfortunately, SCN is not a training forum. You might want to join a Classroom training as an alternative avenue.
Thanks in advance.
Chitta Ranjan Mahato.
Edited by: kishan P on Oct 27, 2010 3:35 PM
2010 Oct 27 10:53 AM
This is very basic question, you will be able to find the answer without any problems by searching term like cl_gui_custom_container and/or cl_gui_alv_grid .
Regards
Marcin