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

Unable to write, type anything in source code of a function module.

Former Member
0 Likes
2,579

Hi all,

We have a registered name space for our client called /ABCD/EFG.

I need to create a function module in the name space.

So first I created a Function Group called /ABCD/EFG_FG in /ABCD/EFG. I activated it in se80.

Then I created a Function Module called /ABCD/EFG_FM in /ABCD/EFG. I declared the import and export paramters and now I am trying to add the code in source code and the editor does not let me change the source code donu2019t know why.. and every thing is in grey color.

Can some one tell me what is going wrong? Cant we write any logic in the function module that we create in registered name spaces? When I created the same function module as a local object in $TMP package I dint have any problem. Similarly I created the function module in a Z package and I dint have any problem but if I try to create the same function module in a registered name space it is getting created but it doesnu2019t not let me type anything in the source code of the function module.

Did any body encounter this problem earlier? Kindly please help.

Regards,

Jessica Sam

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,381

Here is a little background on the Modification Assistant as well.

http://help.sap.com/saphelp_nw70/helpdata/en/60/d6ba5aceda11d1953a0000e82de14a/frameset.htm

Regards,

Rich Heilman

9 REPLIES 9
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,381

Lets try to turn the modification assistant off. In Se37, go to menu Edit -> Modification Operations -> Switch Off Assistant. This should open up the editor for input.

Regards,

Rich Heilman

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,382

Here is a little background on the Modification Assistant as well.

http://help.sap.com/saphelp_nw70/helpdata/en/60/d6ba5aceda11d1953a0000e82de14a/frameset.htm

Regards,

Rich Heilman

Read only

0 Likes
1,381

Rich,

Thanks a lot, that worked. Now it lets me type and change the source code of the editor.

But while i was turing off the assistant it showed me 2-3 messages saying that "i cannot track the changes" and that "during upgrade i cant track the changes " etc.

So now i can type in source code and i am able to change in source code..but will the trurning of this assistant cause any problmes in future or during upgrade?

Regards,

Jessica Sam

Read only

0 Likes
1,381

As I guess, there would be not effect.... during upgrade...

Mod assistance, is mostly used to track the changes done by different developers with different transport requests. if its ON , to make any changes you need to use the button Insert , delete etc.. which are on the top when the assistant is ON.

Read only

0 Likes
1,381

I agree with J@Y.

Read only

0 Likes
1,381

Ok, thanks Rich, SAP Abaper and J@y.

so next time i create a function module in registered name space i can either turn the assistant off or if i turn it on i need to use delete and insert buttons to change the code...

Please let me know if i am infering it in a wrong way..

Regards,

Jessica Sam

Read only

0 Likes
1,381

Yes, that's right. Basically when you have objects outside of the customer namespace in a customer system, you will have the modification assistant turned on by default.

Regards,

Rich Heilman

Read only

0 Likes
1,381

Thanks Rich.

Regards,

Jessica Sam.

Read only

former_member156446
Active Contributor
0 Likes
1,381

it should be some thing to do with modification assistant, turn it off