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

SAPLink - Error by Function Group activating

Private_Member_19084
Active Contributor
0 Likes
1,686

Hi experrts,

I've transferred functions Groups via saplink.

But now I get two Errors by activating, I hope somebody can give me a solution for this.

The first error I get by a lot of Groups at activating:

"Each ABAP program can contain only one "Report", "Program", or "Function-Pool" Statement"


Does anyone know, how to solve this respectively what is the Problem?

Because in the include in which I get this error, I don't have any Statement like this and I've transferred the same coding like we already have it active in an other System, and there we don't get this error.

The second error I get also by a lot of Groups:

"Changes to LZ<function Group Name>T00 are forbidden by SAP*".

However, it is an Z-Development and I get this error on Groups, which are developed by us.

What is this include good for and how to activate/generate them?

Thank you

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,467

Changes to LZ<function Group Name>T00 are forbidden by SAP

For this error, Kindly check the function module part of the document...

Might be you are facing this issue because of Editor Lock..I am not sure.

11 REPLIES 11
Read only

Former Member
0 Likes
1,468

Changes to LZ<function Group Name>T00 are forbidden by SAP

For this error, Kindly check the function module part of the document...

Might be you are facing this issue because of Editor Lock..I am not sure.

Read only

0 Likes
1,467

Yes, Editor-Lock is active.

But as it is active, I can not Change the Lock, because I can't do any Change.

however, I don't want to Change anything, I just want to activate it.

BTW, why does SAP* lock this program, as it is an Z-Development?

Regarding Error one.

I've solved this issue now, I activated and ignorred the error and it works fine.

Read only

0 Likes
1,467

SAP* didn't locked this program, its locked by the person who activated that Editor locked thing.

Look at the Last Changed by property and ask the same person, who changed it last, to activate it .

Read only

0 Likes
1,467
Read only

0 Likes
1,467

I know, but this was the user SAP*.

So I don't understand where this is coming from?

Read only

0 Likes
1,467

So now your problem solved ?? or still have some issue..

Read only

0 Likes
1,467

No, I still have the Problem.

So I've an editor-lock through user SAP*.

The last Change was with SAP* and also in the popup I get the Information, that changes are only allowed with user SAP*.

So, therefore I logon with user SAP* and there I get the error, that user SAP* is not allowed to Change anything in repository......

Any idea?

Read only

0 Likes
1,467

Hmm.. Then in this case catch some basis person, they can login by Admin account and can remove the lock. and can make changes also.

Last try,

Read only

0 Likes
1,467

I am from Basis, which user can I use for the unlock?

It is not working with user SAP*.

Read only

0 Likes
1,467

Actually, I am ABAP Developer, i am not aware of this kinda things too much, Still you must having some account like admin/ BP_admin .. which have all admin access. try with that.

Read only

0 Likes
1,467

hmmm.... I knów what you mean and thx for help.

Btw, I've now started an OSS-message at SAP.

Let's wait on there answer.