Message type: E = Error
Message class:  ED - ABAP/4 Editor messages 
Message number: 155
Message text: Phase has already been modified at beginning or end
Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.
To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.
Unfortunately, there isn't any extra information in this error notice.
First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).
Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.
You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.
The SAP error message ED155, which states "Phase has already been modified at beginning or end," typically occurs in the context of data processing or data transfer, particularly when dealing with IDocs (Intermediate Documents) or other data transfer mechanisms in SAP.
Cause: This error usually arises when there is an attempt to modify a phase (or segment) of an IDoc or data structure that has already been altered. This can happen due to: Concurrent Modifications: If multiple processes or transactions are trying to modify the same IDoc or data segment simultaneously. Incorrect Processing Logic: If the logic in the program or function module is attempting to change the same phase more than once without proper checks. Data Integrity Issues: If the data being processed has already been flagged for modification, and another process tries to modify it again.
Solution: To resolve the ED155 error, consider the following steps: Check for Concurrent Processes: Ensure that no other processes are
Get instant SAP help. Sign up for our Free Essentials Plan. 
ED154 No documentation exists
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
ED153 Hit is in compressed area
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
ED156 Function not supported when modifying structures
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
ED157 Function only supported for modifying structures
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.