Skip to Content
0
Former Member
Jun 27, 2008 at 01:26 PM

Function module enhancement giving error?

17 Views

Hi All,

I need to enhance the standard FM for that first i enhanced parameter interface and added a field for exporting parameters.

and i enhanced the source code and added that field to the internal table which is in an include .but its throwing a error "data object employee_wa does not have a component called 'plans'."

please go through the code and give me a solution?

TYPES:

BEGIN OF step_obj_data_type,

step_obj TYPE asr_guid,

isr_scenario TYPE qscenario,

END OF step_obj_data_type.

TYPES:

BEGIN OF employee_tab,

pernr TYPE pernr_d,

ename TYPE emnam,

""*""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(1 ) Typ EMPLOYEE_TAB, End S

$$-Start: (1 )----


$$

ENHANCEMENT 2 ZZGET_CAND_POSITION. "inactive version

types : position type plans.

ENDENHANCEMENT.

$$-End: (1 )----


$$

END OF employee_tab.

TYPES:

BEGIN OF ename_tab,

ename TYPE emnam,

END OF ename_tab.

DATA indx_wa TYPE indx.

DATA employee_wa TYPE employee_tab.

DATA employee_tab TYPE STANDARD TABLE OF employee_tab.

DATA ename_wa TYPE ename_tab.

DATA ename_tab TYPE STANDARD TABLE OF ename_tab.

DATA step_isr_tab TYPE TABLE OF step_obj_data_type.

DATA step_isr_wa TYPE step_obj_data_type.

DATA edit_dpf_allowed_store TYPE boole_d.

DATA pernr_mem_id_int TYPE text5.

DATA pobj_tab TYPE STANDARD TABLE OF hrasr00consumer_attributes.

DATA pobj_wa TYPE hrasr00consumer_attributes.