Skip to Content
0
Former Member
Dec 14, 2007 at 04:16 AM

SAP object enhancement using abap objects

12 Views

Hi

I am enhancing a standard SAP object using ABAP objects.

I need to add 2 more fields to the struct in that object.

My qn is : how to redefine the parameter type of a method in standard class?

the code is

***********************************

DATA: lt_list TYPE RCF_T_LIST_MASS_PROC_ACT_X.

CHECK me->start_selection EQ true.

CHECK exist_exception( ) EQ false.

*

DATA lo_ex TYPE REF TO cx_hrrcf.

*

TRY.

CALL METHOD me->ref_mass_proc_bl->get_mproc_cor_list_info

EXPORTING

mass_proc_cor_list = me->sel_mass_proc_cor

IMPORTING

mass_proc_list_info = lt_list.

*

CATCH cx_hrrcf INTO lo_ex.

add_exception( lo_ex ).

ENDTRY.

plz help me

if anyone provides code for this is appreciable.

Thanks