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

Changing Standard Code

Former Member
0 Likes
432

Hi All,

I need a help. I'm trying to change the class in TOP INCLUDE of the GOS_EXECUTE_SERVICE. I press the insert and then trying to add my code here. But it is not allowing to edit. If i switch off the modification assistant then it is allowing to edit. I think the changes will be available in future upgradations, if modification assistant is on. Could you please clarify.

CLASS lcl_receiver DEFINITION.

PUBLIC SECTION.

DATA: gp_icon TYPE sgs_icon,

gp_status TYPE sgs_status,

gp_event TYPE i.

METHODS: on_service_changed

FOR EVENT service_changed

OF cl_gos_service

IMPORTING ep_status eo_service ep_icon,

on_service_succeeded

FOR EVENT service_succeeded

OF cl_gos_service

IMPORTING eo_service.

*{ INSERT R3DK934487 1

  • --> here i need to add my code.

*} INSERT

ENDCLASS.

2 REPLIES 2
Read only

Former Member
0 Likes
370

Hi,

check is there any one previously chnaged it?

then in that case it will allow you.

or else it will not let you do that..

Regards

vijay

Read only

abdul_hakim
Active Contributor
0 Likes
370

hi sampath,

welcome to sdn.

you plz do it with modification assitant as it would be very helpful while upgrading.

Just check with your basis if there is any problem in activating the modification assistant..

Cheers,

Abdul Hakim

Mark all useful answers..