Message type: E = Error
Message class: OL - Workflow object types: Run-time system
Message number: 543
Message text: Statement 'INCLUDE &.' is not permitted in BOR object type programs
You have tried to reference an include with the INCLUDE statement.
No includes are allowed in BOR object type programs, since code
fragments could make their way into the program, which would jeopardize
the object encapsulation (in particular by including DATA statements).
The only statements allowed in such an include could be TYPES and
CONSTANTS. But these can also be implemented using a type group.
Define your constants and types using a type group and include it via
the statement TYPE-POOLS. For new data, use attributes.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Error message extract from SAP system. Copyright SAP SE.
OL543
- Statement 'INCLUDE &.' is not permitted in BOR object type programs ?The SAP error message OL543 indicates that there is an issue with the use of the INCLUDE statement in a Business Object Repository (BOR) object type program. This error typically arises when you are trying to include a program or a piece of code that is not allowed in the context of BOR object types.
Cause: The primary cause of this error is that the BOR object type programs are designed to be modular and should not contain certain types of statements, including INCLUDE statements. The BOR framework has specific rules and restrictions to ensure that the object types are defined correctly and can be used effectively within the SAP system.
Solution: To resolve the OL543 error, you can take the following steps: Remove the INCLUDE Statement: If you have control over the code, the simplest solution is to remove the INCLUDE statement from the BOR object type program. Instead, you can copy the necessary
Get instant SAP help. Sign up for our Free Essentials Plan.
OL542
No methods defined
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
OL541
Organizational object type '&' not defined
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
OL544
Numeric constant expected as exception
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
OL545
Literal expected as parameter or attribute name
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.