Skip to Content
0
Former Member
Feb 16, 2013 at 06:52 AM

Implicit Enhancement Data Declaration

736 Views

Hello all,

I want to add 3 more field at the data declaration level to standard Include structure and that include structure referring from an standard TYPE-GROUP (GLT0) .

I am following below steps :

1) For that i have created a structure in SE11 with the required 3 fields.

2) Then I went to the Data Declaration section and right clicked and choose 'Enhancement Implementation'->Create.

3) Then I added that structure using INCLUDE STRUCTURE syntax

it is not giving any syntax error and it is activated

When i try to extend the structure the Implicit Enhancement name shows in RED color.

and when i run any Transaction which is using this this standard type group it is giving TYPE mismatch dump.

Below is the piece of code.

Types : begin of glt0_s_kdftab,

bukrs type bukrs,

saknr type saknr,

hkont type hkont,

gsber type gsber,

bupla type bupla,

""""""""*""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(1 ) Struct.

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

ENHANCEMENT 3 ZGLT0. "active version

INCLUDE STRUCTURE YSTRUCT. -----> which contains my required 3 fields

ENDENHANCEMENT.

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

end of glt0_s_kdftab.

glt0_t_kdftab type glt0_s_kdftab. -------> The text in bold shows in red color.

Please help me out in solving this .

Thanks,

Jeevan