Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Implicit Enhancement for Data Declaration

former_member188001
Active Participant
0 Likes
452

Hello all,

I want to add one more field at the data declaration level.

I am following below steps :

1) I went to report and clicked on 'Enhance' button.

2) Then I went to Edit->Enhance Operations->Show Implicit Enhancement Options

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

4) Then I declared my variable.

5) When I checked the syntax, it gave me error.

Below is the piece of code.

[code]

data: begin of austab occurs 100,

ikone TYPE c,

lgtyp like lagp-lgtyp,

lgpla like lagp-lgpla,

kreuz type c, "ind. to be invented

kzpmi type c, "ind. Plus Minus Initial

idatu like lagp-idatu,

werks like lqua-werks,

matnr like lqua-matnr,

charg like lqua-charg,

flg_aktiv type c, "ind.

nidat like lagp-idatu, "New Inventory date

ttext(25) type c, "Textfield

sperr type c, "ind. blocked due to transfer

kzmmq type c, "ind. bin with several quants

iverz(1) type c,

linno like sy-linno,

pagno like sy-pagno,

lqnum like lqua-lqnum, "new

lgnum like lqua-lgnum, "new

plpos like lqua-plpos, "new

""""""""*""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(7 ) Struct. AUSTAB, End S

$$-Start: (7 )----


$$

ENHANCEMENT 3 CYCLE_COUNTING. "inactive version

abcin type abcin,

ENDENHANCEMENT.

$$-End: (7 )----


$$

end of austab.

[/code]

The error I am getting is "Comma without preceding colon (after ABCIN ?).

Please help me out in solving this .

Thanks,

Salil

2 REPLIES 2
Read only

former_member188001
Active Participant
0 Likes
398

sovled on my own

Read only

0 Likes
398

Hi Salil

Congrats on solving ur problem

Whenver you solve somthing n ur own please leave a note as to how u did it.

It will be very helpful to people looking 4 a solution 4 the same problem .

Rgds

Sameer