‎2008 Mar 14 12:18 PM
I have created an implicit enhancement at the top of a Func module where I declare an internal table.
I create another implict enhancement at the bottom of the func module to use this table. It will not activate, tells me the table has not been declared.
I have tried
Same implementation name for both enhancements
I have tried
top one as type declaration
bottom as type code
Any suggestions
‎2008 Mar 14 12:27 PM
Hi
Try first activating the top one and after that the bottom one.
Can you paste the sample code?
Rgds
Mat
‎2008 Mar 14 12:33 PM
‎2008 Mar 14 12:36 PM
ENHANCEMENT 1 ZEPM_STATUS_UPDATE_01. "inactive version
*declaration
data: t_jest_ins type standard table of jest_upd with header line.
t_jest_ins[] = jest_ins[].
ENDENHANCEMENT.
ENHANCEMENT 2 ZEPM_STATUS_UPDATE_01. "inactive version
*
if sy-tCode = 'IW31' or SY-TCODE = 'IW32'.
data: wrepid type sy-repid.
wrepid = 'ZEPM_CREATE_STATUS_XI'.
PERFORM CREATE_XI_DATA IN PROGRAM (WREPID)
TABLES t_jest_ins
IF FOUND.
ENDIF.
ENDENHANCEMENT.
‎2008 Mar 14 1:15 PM
solved. I created the declaration in the top include of the function group.