‎2009 Jun 12 9:11 AM
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
‎2009 Jun 12 10:08 AM
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
‎2009 Jun 12 9:15 AM
Hi,
Can you please let us know the program name they are trying to modify?
KR Jaideep,
‎2009 Jun 12 9:20 AM
Function group is SAPLYFPS and the name of the include is LYFPST00.
Few portions of the include has to be hashed out.
‎2009 Jun 12 9:25 AM
>
> 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
‎2009 Jun 12 9:31 AM
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.
‎2009 Jun 12 9:37 AM
Hi,
Have you checked SM12, there is no chance for a lock entry there, but its worth a check...
Regards
Karthik D
‎2009 Jun 12 9:45 AM
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*
‎2009 Jun 12 9:52 AM
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
‎2009 Jun 12 9:53 AM
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
‎2009 Jun 12 10:08 AM
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
‎2009 Jul 29 7:42 AM