How To Fix ED152 - Generated BOR programs can only be edited in BOR


SAP Error Message - Details

  • Message type: E = Error

  • Message class: ED - ABAP/4 Editor messages

  • Message number: 152

  • Message text: Generated BOR programs can only be edited in BOR

  • Show details Hide details
  • What causes this issue?

    The program includes the implementation of a business object type.
    These programs may only be maintained via the Business Object
    Repository (Transaction SWO1).
    The object type name can be seen as a comment in the first line of the
    object type implementation.

    System Response

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    How to fix this error?


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message ED152 - Generated BOR programs can only be edited in BOR ?
    The SAP error message ED152, which states "Generated BOR programs can only be edited in BOR," typically occurs when you attempt to edit a Business Object Repository (BOR) program directly in the ABAP Workbench or other development tools, rather than through the appropriate BOR interface.
    
    Cause: Editing Restrictions: The error indicates that the program you are trying to edit is a generated program from the BOR, which means it is automatically created based on the definitions in the BOR. These generated programs are not meant to be edited directly in the ABAP Workbench. Incorrect Access Method: You may be trying to access or modify the program using the wrong transaction or tool, which does not support direct editing of BOR-generated programs.
    Solution: Use the BOR Interface: To edit the generated BOR programs, you need to use the Business Object Builder (transaction code SWO1). This is the correct interface for managing and modifying business objects. Open transaction

    Already have an account? Login here!


Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker