‎2012 Sep 17 2:59 PM
Hello All,
I have to implement the user exit EXIT_SAPLKAUF_001 (For KO01/KO02) and inside the Userexit i'm trying to implement BAPI BAPI_OBJCL_CHANGE.(Based on the changes i have to make changes to other T-code)
I 'm getting below dump,
Short text of error message:
Nested call of PERFORM ON COMMIT: NESTED_PERFORM_ON_COMMIT caller: SAPLC
FM program: SAPLCLFM form: INSERT_CLASSIFICATION
Long text of error message:
Diagnosis
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.
System Response
Procedure
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:".
Procedure for System Administration
Technical information about the message:
Message class....... 00
Number.............. 081
Variable 1.......... "NESTED_PERFORM_ON_COMMIT"
Variable 2.......... "caller: SAPLCLFM"
Variable 3.......... "program: SAPLCLFM"
Variable 4.......... "form: INSERT_CLASSIFICATION"
Anyhelp would be really appericiated
Thanks
Venkat
‎2012 Sep 17 6:36 PM
Short dump is generated because of nesting of PERFORM ON COMMIT which is not allowed as of Release 4.6. Enhancement EXIT_SAPLKAUF_001 is called from a sub-routine registered with PERFORM ON COMMIT.
(Call sequence FM : KAUF_ORDER_SAVE (Line no 356) -> Include : LKAUFF07 (Line No : 47) -> FM : KAUF_ORDER_CUSTOMER_EXIT(Line 19) ).BAPI "BAPI_OBJCL_CHANGE" also include a sub-routine registered with PERFORM ON COMMIT (Sub-routine INSERT_CLASSIFICATION in function module CLAP_DDB_SALVE_CLASSIFICATION). Since you are calling BAPI_OBJCL_CHANGE within the above enhancement component, this will result in PERFORM ON COMMIT nesting.
See SAP documentation ABAP Keyword Documentation for more details
Regards, Vinod
‎2014 Mar 07 5:16 PM
Hi Venki,
I am Getting the same dump in OCR2 while working inside the Userexit i'm trying to implement BAPI BAPI_OBJCL_CHANGE.
how to solve .
Ashish
‎2014 Mar 07 6:28 PM
Hello Venki,
After calling the BAPI "BAPI_OBJCL_CHANGE", Are you doing the COMMIT WORK, if yes have you written like COMMIT WORK staement or have you used any subroutine call like PERFORM COMMIT WORK.
If you would have used subroutine, remove it and write like COMMIT WORK.
Regards,
Thanga
‎2014 Mar 07 7:55 PM
‎2014 Mar 08 5:21 AM
Hi Sujeet /Thanga Prakash,
not solve .BAPI_OBJCL_CHANGE has sub-routine registered with PERFORM ON COMMIT.
ashish