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

Program includes locked by SAP*

Former Member
0 Likes
1,269

Dear All,

Our ABAPers are trying to hash out few lines in a include of a Function group. But when trying to open the include in edit mode, they get a system message that it has been locked by SAP*.

Any solution for this ? other lines of the include are required, hence it cannot be totally removed.

Warm Regards

Mazdul

1 ACCEPTED SOLUTION
Read only

ThomasZloch
Active Contributor
0 Likes
1,230

Raymond hit the nail on the head. Why on earth do you want to comment out lines in a ...T00 include of a maintenance dialog function group? Which ones exactly?

You should rather delete unnecessary dialogs via SE54, then the corresponding lines will disappear as well.

Thomas

P.S. the message you see is caused by the editor lock in the program attributes, which SAP sets for good reason

10 REPLIES 10
Read only

jaideepsharma
Active Contributor
0 Likes
1,230

Hi,

Can you please let us know the program name they are trying to modify?

KR Jaideep,

Read only

0 Likes
1,230

Function group is SAPLYFPS and the name of the include is LYFPST00.

Few portions of the include has to be hashed out.

Read only

0 Likes
1,230

>

> Function group is SAPLYFPS and the name of the include is LYFPST00.

> Few portions of the include has to be hashed out.

Hi,

You cannot edit standard SAP program, you need to take a Zcopy or get access key for that object.

Regards

Karthik D

Read only

0 Likes
1,230

We have access keys. The system asks for access key in the beginning whenever it is tried to modified. This message here is somewhat different. There is a similar post in sdn, but the user didnt specify how he did it.

Read only

0 Likes
1,230

Hi,

Have you checked SM12, there is no chance for a lock entry there, but its worth a check...

Regards

Karthik D

Read only

0 Likes
1,230

yes..checked lock entires in SM12-no locks there. Checked system change options-its modifiable as its our development system.

But still it says that locked by SAP*

Read only

0 Likes
1,230

Hi,

What system release you are working on, iam in ECC 6.0 and i cannot find that function group.

Cant you create a zcopy? How many FM's are there in that Function Group?

Regards

Karthik D

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,230

SAPLYFPS is the main program of the function group YFPS, so it is not a SAP report (Function group begins with Y or Z), i suppose you used this FG to generate dialog maintenance and SAP generated some includes.

If i am true,

- The includes T00 and F00 in this case contains the source "GENERATED" from the maintenance views to read update the database or identify text. (can you use another include for your definitions in LYFPSTOP ?)

- Be aware that your modification may be overwritten when SE54 may (and will from [Murphy's law|http://en.wikipedia.org/wiki/Murphy%27s_law]) re-genarate the maintenance dialog if a field is added someday.

- Also don't touch to include like lsvim* which are used in each and every dialog maintenance.

Regards

Read only

ThomasZloch
Active Contributor
0 Likes
1,231

Raymond hit the nail on the head. Why on earth do you want to comment out lines in a ...T00 include of a maintenance dialog function group? Which ones exactly?

You should rather delete unnecessary dialogs via SE54, then the corresponding lines will disappear as well.

Thomas

P.S. the message you see is caused by the editor lock in the program attributes, which SAP sets for good reason

Read only

0 Likes
1,230

Thanks for the help. It got solved.