Message type: E = Error
Message class: EU - Development Environment
Message number: 357
Message text: Method &1 of the class &2 is not public
Start methods for a transaction must always be public methods.
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.
The SAP error message EU357 indicates that there is an issue with the visibility of a method in an ABAP class. Specifically, it means that the method you are trying to access is not declared as public, which restricts its visibility and accessibility from outside the class.
Cause: Method Visibility: The method you are trying to call is defined with a visibility level that does not allow it to be accessed from the context in which you are trying to use it. In ABAP, methods can be declared as PUBLIC, PROTECTED, or PRIVATE. If a method is declared as PROTECTED or PRIVATE, it cannot be accessed from outside the class or from subclasses (in the case of PROTECTED). Incorrect Class Reference: You might be trying to call a method from an instance of a class that does not have the method defined as public.
Solution: Change Method Visibility: If you have access to the class
Get instant SAP help. Sign up for our Free Essentials Plan.
EU356
Cannot determine initial class; Select correct transaction type
What causes this issue? In an object orientation transaction the start object is the method of a class. No class is specified in the transaction.Syst...
EU355
Method &1 of the class &2 is not an instance method
What causes this issue? The object orientation transaction model must have an instance method as a start method. The given method is a class method a...
EU358
&1 is an automatically defined parameter
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
EU359
&1 are not supported for BSP applications
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.