Do you have any question about this error?
Message type: E = Error
Message class: 00 -
Message number: 081
Message text: Nested call of PERFORM ON COMMIT: & & & &
During processing of a routine called using PERFORM ... ON COMMIT, the
system attempted to call PERFORM ... ON COMMIT again. Nesting of this
is not allowed.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
The program indicated after "Caller:" must be changed. This is the
program that calls the routine indicated after "Form:" during COMMIT
processing. This routine is part of the program indicated after
"Program:".
Error message extract from SAP system. Copyright SAP SE.
00081
- Nested call of PERFORM ON COMMIT: & & & & ?The SAP error message "00081 Nested call of PERFORM ON COMMIT: & & & &" typically occurs in ABAP programs when there is an attempt to call a
PERFORM
statement within aCOMMIT WORK
block, which is not allowed. This error indicates that a nested call to a subroutine (PERFORM) is being attempted while a database commit is in progress.Cause:
- Nested PERFORM Calls: The error arises when a subroutine is called (using
PERFORM
) while anotherPERFORM
is already being executed in the context of aCOMMIT WORK
.- Improper Transaction Handling: The program may not be handling database transactions correctly, leading to nested calls during a commit.
- Program Logic: The logic of the program may inadvertently lead to a situation where a
PERFORM
is called during a commit.Solution:
- Review Program Logic: Check the program for any
PERFORM
statements that are executed during aCOMMIT WORK
. Ensure that no subroutine is called while a commit is in progress.- Refactor Code: If necessary, refactor the code to separate the logic that requires a commit from the logic that calls subroutines. You can do this by:
- Moving the
PERFORM
calls outside of the transaction block.- Using function modules or methods instead of
PERFORM
if they need to be called during a commit.- Use Function Modules: If you need to perform actions that require a commit, consider using function modules that encapsulate the logic and can be called without causing nested
PERFORM
calls.- Debugging: Use debugging tools to trace the execution flow and identify where the nested call is occurring. This can help pinpoint the exact location in the code that needs to be modified.
Related Information:
COMMIT WORK
and ROLLBACK WORK
.By addressing the nested call issue and ensuring proper transaction management, you should be able to resolve the error message "00081 Nested call of PERFORM ON COMMIT: & & & &".
Get instant SAP help. Start your 7-day free trial now.
00080
Conflict check &
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
00079
Internal error with matchcode selection (notify person responsible)
What causes this issue? An internal error was found during matchcode selection. The possible causes are : RESET N1 There was no key field transferred...
00082
Cannot display screen with plug-ins
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
00083
CALL SUBSCREEN: & & &
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.