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

Enhancement error in class definition

Former Member
0 Likes
859

Hi,

created enhacement point in include LMEGUICD2, at this point: lcl_po_item_table_view_01.

In activation, error is : 'you can not use the current statement between Class .. definition and endclass'.

i want to stop the deletion of pr item with out 'reason of item text' in text tab.

where can i create enhancement point or please suggest me

srinu .

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
794

Hi Srinu,

hope your requirement is related to megui screens, that code is in classes and methods, so you need not to press check button.

can you check this enhancement point to your requirement: incl. zmeguicim, spot : es_saplmegui, enhancement :EHP604_EXECUTE_01. customize this one and write your code.

hari

Hi,

created enhacement point in include LMEGUICD2, at this point: lcl_po_item_table_view_01.

In activation, error is : 'you can not use the current statement between Class .. definition and endclass'.

i want to stop the deletion of pr item with out 'reason of item text' in text tab.

where can i create enhancement point or please suggest me

srinu .

4 REPLIES 4
Read only

Former Member
0 Likes
794

hai , i guess u r creating in class defintion

instead chose implicit enhacnements it will be at start and end of ur include

an du can create there

m.a

Read only

Former Member
0 Likes
794

Hi Mohammad,

I am creating enhancement pt in include:LMEGUICD2, and i place the cursor on enhancement point1: lcl_po_item_table_view_01.

and click on show implementation from menu and i tried to create enhancement point. just i put break point and activated it. it is showing the above error. i am new to enhancement points, please elaborate more

thank you

srinu

Read only

Former Member
0 Likes
795

Hi Srinu,

hope your requirement is related to megui screens, that code is in classes and methods, so you need not to press check button.

can you check this enhancement point to your requirement: incl. zmeguicim, spot : es_saplmegui, enhancement :EHP604_EXECUTE_01. customize this one and write your code.

hari

Read only

0 Likes
794

Hi Hari,

This enhancement point is working fine. thank you.

Srinu